Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a437f98b31 | ||
|
|
8666d580df | ||
|
|
651bb35acf | ||
|
|
f78a00cd7f | ||
|
|
e55c9d248c | ||
|
|
986355b56f | ||
|
|
dd9123f790 | ||
|
|
d28d2b5f48 | ||
|
|
0b3cad94bc | ||
|
|
2b29dda2ad | ||
|
|
3d3af779c1 | ||
|
|
d04cc7b940 | ||
|
|
2ef84c5dcd | ||
|
|
36c24826ec | ||
|
|
184f702efd | ||
|
|
b392c19922 | ||
|
|
38de00d8d8 | ||
|
|
f9c58203a0 | ||
|
|
baaa27ba9e | ||
|
|
365fde895a | ||
|
|
b17a6d3920 | ||
|
|
0d8df6380e | ||
|
|
52cd797488 | ||
|
|
a71d401f1d | ||
|
|
61b68393e7 | ||
|
|
7d6933ed39 | ||
|
|
32a04fd24f | ||
|
|
009461f564 | ||
|
|
00cb2ef875 | ||
|
|
fed0d5bf0d | ||
|
|
53e9305f41 | ||
|
|
2ca9da3304 | ||
|
|
7a4d32710c | ||
|
|
15c8859b06 |
+295
-294
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.1.1.cjs
|
||||
yarnPath: .yarn/releases/yarn-4.2.2.cjs
|
||||
|
||||
@@ -1,5 +1,40 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 11.2.1 May 28, 2024
|
||||
|
||||
Contributed:
|
||||
|
||||
- fix: Re-subscribe to chain updates on reconnection if not a clone (Thanks to https://github.com/F-OBrien)
|
||||
|
||||
Changes:
|
||||
|
||||
- Add support for AuraUnincludedSegmentApi (Thanks to https://github.com/bee344)
|
||||
- Add support for ParachainHost v11 Api
|
||||
- Update Kusama and Westend block upgrades
|
||||
- Update Substrate metadata to latest
|
||||
|
||||
|
||||
## 11.1.1 May 21, 2024
|
||||
|
||||
Changes
|
||||
|
||||
- Dedupe nextElected accountIds in `api.derive.staking.nextElected`
|
||||
- Bump @polkadot/dev to 0.79.1 w/ topo sort
|
||||
- Bump yarn to 4.2.2
|
||||
- fix: updated extrinsics' assetId `toHuman` (Thanks to https://github.com/bee344)
|
||||
- fix `api.derive.accounts.{info && identity}`
|
||||
- feat: Add support for `CheckMetadataHash` signedExtension (Thanks to https://github.com/bee344)
|
||||
|
||||
|
||||
## 11.0.3 May 8, 2024
|
||||
|
||||
Changes
|
||||
|
||||
- Make `api.derive.staking.*` backwards compatible
|
||||
- Fix `claimedRewards` regression in `api.derive.staking.queryMulti`
|
||||
- Update Substrate to latest
|
||||
|
||||
|
||||
## 11.0.2 Apr 24, 2024
|
||||
|
||||
Changes
|
||||
|
||||
+3
-2
@@ -1,6 +1,6 @@
|
||||
3512 Jaco Bump deps (#5785)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
39 Tarik Gul 11.0.2 (#5866)
|
||||
53 Tarik Gul 11.2.1 (#5897)
|
||||
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)
|
||||
@@ -14,6 +14,7 @@
|
||||
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
||||
5 Julien Eluard General WsProvider extensibility improvements (#5467)
|
||||
5 Matias Volpe Bump @substrate/connect to 0.8.10 (#5863)
|
||||
4 Alberto Nicolas Penayo fix: add support for `AuraUnincludedSegmentApi` (#5891)
|
||||
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
||||
4 Alex Wang fix issue that creates duplicate providers (#983)
|
||||
4 Alexander Popiak Add asset id in signing (#4009)
|
||||
@@ -33,7 +34,6 @@
|
||||
3 Miguel Hervas Adding RT4 Types (#3007)
|
||||
3 Shawn Tabrizi Add `isReadyOrError` when connecting to API (#2577)
|
||||
3 YJ feat: Vote interface as U8a (#1061)
|
||||
2 Alberto Nicolas Penayo updated remaining assetId for ChargeAssetTxPayment (#5763)
|
||||
2 Alexander Krupenkin Add [u8; 33] type width for U8aFixed type (#2391)
|
||||
2 Branan Riley Add proxy type for Centrifuge (#3940)
|
||||
2 Caio Add `Range` and `RangeInclusive` types (#3791)
|
||||
@@ -75,6 +75,7 @@
|
||||
1 Ermal Kaleci fix cache key (rpc-provider) (#5745)
|
||||
1 flex Change BeefySignedCommitment signatures type to EcdsaSignature (#4204)
|
||||
1 Florian Franzen metadataMd: use endpoint for rpc and runtime details too (#5628)
|
||||
1 Francis O'Brien fix: Re-subscribe to chain updates on reconnection if not a clone (#5794)
|
||||
1 Furqan A fix: fixed 404 to the docs from the api readme (#3985)
|
||||
1 Gérard Dethier Fix LRUCache memory leak. (#4520)
|
||||
1 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329)
|
||||
|
||||
+5
-5
@@ -6,7 +6,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api#readme",
|
||||
"license": "Apache-2.0",
|
||||
"packageManager": "yarn@4.1.1",
|
||||
"packageManager": "yarn@4.2.2",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"versions": {
|
||||
"git": "11.0.2",
|
||||
"npm": "11.0.2"
|
||||
"git": "11.2.1",
|
||||
"npm": "11.2.1"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
@@ -40,7 +40,7 @@
|
||||
"test:one": "polkadot-dev-run-test --env node"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.78.9",
|
||||
"@polkadot/dev": "^0.79.1",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/node": "^20.11.6"
|
||||
},
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "11.0.2",
|
||||
"@polkadot/rpc-augment": "11.0.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-augment": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/api-base": "11.2.1",
|
||||
"@polkadot/rpc-augment": "11.2.1",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-augment": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -265,6 +265,28 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
assetConversionMigration: {
|
||||
/**
|
||||
* Provided asset pair is not supported for pool.
|
||||
**/
|
||||
InvalidAssetPair: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Indicates a partial transfer of balance to the new account during a migration.
|
||||
**/
|
||||
PartialTransfer: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The pool doesn't exist.
|
||||
**/
|
||||
PoolNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Pool's balance cannot be zero.
|
||||
**/
|
||||
ZeroBalance: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
assetRate: {
|
||||
/**
|
||||
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
||||
@@ -547,6 +569,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The configuration could not be applied because it is invalid.
|
||||
**/
|
||||
InvalidConfig: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The revenue must be claimed for 1 or more timeslices.
|
||||
**/
|
||||
NoClaimTimeslices: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The history item does not exist.
|
||||
**/
|
||||
@@ -2813,6 +2839,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.
|
||||
**/
|
||||
@@ -2825,6 +2855,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.
|
||||
@@ -2839,6 +2873,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
|
||||
**/
|
||||
|
||||
@@ -131,6 +131,20 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* and `SwapTokenForExactToken` will generate this event.
|
||||
**/
|
||||
SwapExecuted: AugmentedEvent<ApiType, [who: AccountId32, sendTo: AccountId32, amountIn: u128, amountOut: u128, path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>>], { who: AccountId32, sendTo: AccountId32, amountIn: u128, amountOut: u128, path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>> }>;
|
||||
/**
|
||||
* Pool has been touched in order to fulfill operational requirements.
|
||||
**/
|
||||
Touched: AugmentedEvent<ApiType, [poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, who: AccountId32], { poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, who: AccountId32 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
assetConversionMigration: {
|
||||
/**
|
||||
* Indicates that a pool has been migrated to the new account ID.
|
||||
**/
|
||||
MigratedToNewAccount: AugmentedEvent<ApiType, [poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, priorAccount: AccountId32, newAccount: AccountId32], { poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, priorAccount: AccountId32, newAccount: AccountId32 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -205,6 +219,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Some asset class was created.
|
||||
**/
|
||||
Created: AugmentedEvent<ApiType, [assetId: u32, creator: AccountId32, owner: AccountId32], { assetId: u32, creator: AccountId32, owner: AccountId32 }>;
|
||||
/**
|
||||
* Some assets were deposited (e.g. for transaction fees).
|
||||
**/
|
||||
Deposited: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], { assetId: u32, who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An asset class was destroyed.
|
||||
**/
|
||||
@@ -258,6 +276,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* the approved `delegate`.
|
||||
**/
|
||||
TransferredApproved: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
||||
**/
|
||||
Withdrawn: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], { assetId: u32, who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -533,7 +555,7 @@ declare module '@polkadot/api-base/types/events' {
|
||||
/**
|
||||
* Ownership of a Region has been transferred.
|
||||
**/
|
||||
Transferred: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32, oldOwner: AccountId32, owner: AccountId32], { regionId: PalletBrokerRegionId, duration: u32, oldOwner: AccountId32, owner: AccountId32 }>;
|
||||
Transferred: AugmentedEvent<ApiType, [regionId: PalletBrokerRegionId, duration: u32, oldOwner: Option<AccountId32>, owner: Option<AccountId32>], { regionId: PalletBrokerRegionId, duration: u32, oldOwner: Option<AccountId32>, owner: Option<AccountId32> }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -1544,6 +1566,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Some asset class was created.
|
||||
**/
|
||||
Created: AugmentedEvent<ApiType, [assetId: u32, creator: AccountId32, owner: AccountId32], { assetId: u32, creator: AccountId32, owner: AccountId32 }>;
|
||||
/**
|
||||
* Some assets were deposited (e.g. for transaction fees).
|
||||
**/
|
||||
Deposited: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], { assetId: u32, who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An asset class was destroyed.
|
||||
**/
|
||||
@@ -1597,6 +1623,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* the approved `delegate`.
|
||||
**/
|
||||
TransferredApproved: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
||||
**/
|
||||
Withdrawn: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, amount: u128], { assetId: u32, who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
|
||||
@@ -425,7 +425,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
leases: AugmentedQuery<ApiType, () => Observable<Vec<PalletBrokerLeaseRecordItem>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The current (unassigned) Regions.
|
||||
* The current (unassigned or provisionally assigend) Regions.
|
||||
**/
|
||||
regions: AugmentedQuery<ApiType, (arg: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array) => Observable<Option<PalletBrokerRegionRecord>>, [PalletBrokerRegionId]> & QueryableStorageEntry<ApiType, [PalletBrokerRegionId]>;
|
||||
/**
|
||||
@@ -1399,11 +1399,21 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
palletExampleMbms: {
|
||||
/**
|
||||
* Define a storage item to illustrate multi-block migrations.
|
||||
**/
|
||||
myMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
parameters: {
|
||||
/**
|
||||
* Stored parameters.
|
||||
**/
|
||||
parameters: AugmentedQuery<ApiType, (arg: KitchensinkRuntimeRuntimeParametersKey | { Storage: any } | { Contract: any } | string | Uint8Array) => Observable<Option<KitchensinkRuntimeRuntimeParametersValue>>, [KitchensinkRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [KitchensinkRuntimeRuntimeParametersKey]>;
|
||||
parameters: AugmentedQuery<ApiType, (arg: KitchensinkRuntimeRuntimeParametersKey | { Storage: any } | { Contracts: any } | string | Uint8Array) => Observable<Option<KitchensinkRuntimeRuntimeParametersValue>>, [KitchensinkRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [KitchensinkRuntimeRuntimeParametersKey]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -1861,6 +1871,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.
|
||||
*
|
||||
@@ -1874,6 +1888,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.
|
||||
@@ -2042,18 +2066,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.
|
||||
*
|
||||
@@ -2094,6 +2106,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
|
||||
**/
|
||||
|
||||
@@ -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, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, 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, SpConsensusBeefyEquivocationProof, 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, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, 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';
|
||||
|
||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||
@@ -274,6 +274,33 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* for a quote.
|
||||
**/
|
||||
swapTokensForExactTokens: AugmentedSubmittable<(path: Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId> | (FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array)[], amountOut: u128 | AnyNumber | Uint8Array, amountInMax: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId>, u128, u128, AccountId32, bool]>;
|
||||
/**
|
||||
* Touch an existing pool to fulfill prerequisites before providing liquidity, such as
|
||||
* ensuring that the pool's accounts are in place. It is typically useful when a pool
|
||||
* creator removes the pool's accounts and does not provide a liquidity. This action may
|
||||
* involve holding assets from the caller as a deposit for creating the pool's accounts.
|
||||
*
|
||||
* The origin must be Signed.
|
||||
*
|
||||
* - `asset1`: The asset ID of an existing pool with a pair (asset1, asset2).
|
||||
* - `asset2`: The asset ID of an existing pool with a pair (asset1, asset2).
|
||||
*
|
||||
* Emits `Touched` event when successful.
|
||||
**/
|
||||
touch: AugmentedSubmittable<(asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
assetConversionMigration: {
|
||||
/**
|
||||
* Migrates an existing pool to a new account ID derivation method for a given asset pair.
|
||||
* If the migration is successful, transaction fees are refunded to the caller.
|
||||
*
|
||||
* Must be signed.
|
||||
**/
|
||||
migrateToNewAccount: AugmentedSubmittable<(asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -866,6 +893,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
balances: {
|
||||
/**
|
||||
* Burn the specified liquid free balance from the origin account.
|
||||
*
|
||||
* If the origin's account ends up below the existential deposit as a result
|
||||
* of the burn and `keep_alive` is false, the account will be reaped.
|
||||
*
|
||||
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
||||
* this `burn` operation will reduce total issuance by the amount _burned_.
|
||||
**/
|
||||
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
||||
/**
|
||||
* Adjust the total issuance in a saturating way.
|
||||
*
|
||||
@@ -951,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: SpConsensusBeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
|
||||
reportEquivocation: 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
|
||||
@@ -963,7 +1000,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* if the block author is defined it will be defined as the equivocation
|
||||
* reporter.
|
||||
**/
|
||||
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
|
||||
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyDoubleVotingProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyDoubleVotingProof, SpSessionMembershipProof]>;
|
||||
/**
|
||||
* Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
|
||||
* future.
|
||||
@@ -1109,13 +1146,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
/**
|
||||
* Claim the revenue owed from inclusion in the Instantaneous Coretime Pool.
|
||||
*
|
||||
* - `origin`: Must be a Signed origin of the account which owns the Region `region_id`.
|
||||
* - `origin`: Must be a Signed origin.
|
||||
* - `region_id`: The Region which was assigned to the Pool.
|
||||
* - `max_timeslices`: The maximum number of timeslices which should be processed. This may
|
||||
* effect the weight of the call but should be ideally made equivalent to the length of
|
||||
* the Region `region_id`. If it is less than this, then further dispatches will be
|
||||
* required with the `region_id` which makes up any remainders of the region to be
|
||||
* collected.
|
||||
* - `max_timeslices`: The maximum number of timeslices which should be processed. This
|
||||
* must be greater than 0. This may affect the weight of the call but should be ideally
|
||||
* made equivalent to the length of the Region `region_id`. If less, further dispatches
|
||||
* will be required with the same `region_id` to claim revenue for the remainder.
|
||||
**/
|
||||
claimRevenue: AugmentedSubmittable<(regionId: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array, maxTimeslices: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, u32]>;
|
||||
/**
|
||||
@@ -1240,9 +1276,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* - `origin`: Must be Root or pass `AdminOrigin`.
|
||||
* - `initial_price`: The price of Bulk Coretime in the first sale.
|
||||
* - `core_count`: The number of cores which can be allocated.
|
||||
* - `extra_cores`: Number of extra cores that should be requested on top of the cores
|
||||
* required for `Reservations` and `Leases`.
|
||||
*
|
||||
* This will call [`Self::request_core_count`] internally to set the correct core count on
|
||||
* the relay chain.
|
||||
**/
|
||||
startSales: AugmentedSubmittable<(initialPrice: u128 | AnyNumber | Uint8Array, coreCount: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u16]>;
|
||||
startSales: AugmentedSubmittable<(initialPrice: u128 | AnyNumber | Uint8Array, extraCores: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u16]>;
|
||||
swapLeases: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, other: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
||||
/**
|
||||
* Transfer a Bulk Coretime Region to a new owner.
|
||||
@@ -3965,7 +4005,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
|
||||
/**
|
||||
* Update configurations for the nomination pools. The origin for this call must be
|
||||
* Root.
|
||||
* [`Config::AdminOrigin`].
|
||||
*
|
||||
* # Arguments
|
||||
*
|
||||
@@ -4075,7 +4115,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
||||
* deleted by setting them to `None`.
|
||||
**/
|
||||
setParameter: AugmentedSubmittable<(keyValue: KitchensinkRuntimeRuntimeParameters | { Storage: any } | { Contract: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeRuntimeParameters]>;
|
||||
setParameter: AugmentedSubmittable<(keyValue: KitchensinkRuntimeRuntimeParameters | { Storage: any } | { Contracts: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeRuntimeParameters]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -5707,7 +5747,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - Three extra DB entries.
|
||||
*
|
||||
* NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
|
||||
* unless the `origin` falls below _existential deposit_ and gets removed as dust.
|
||||
* unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed
|
||||
* as dust.
|
||||
**/
|
||||
bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PalletStakingRewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PalletStakingRewardDestination]>;
|
||||
/**
|
||||
@@ -5928,6 +5969,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* 1. the `total_balance` of the stash is below existential deposit.
|
||||
* 2. or, the `ledger.total` of the stash is below existential deposit.
|
||||
* 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.
|
||||
*
|
||||
* The former can happen in cases like a slash; the latter when a fully unbonded account
|
||||
* is still receiving staking rewards in `RewardDestination::Staked`.
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "11.0.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/rpc-core": "11.2.1",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { AccountId, Address, ApplyExtrinsicResult, BlockNumber, Call, DispatchError, DispatchInfo, EventRecord, Extrinsic, ExtrinsicStatus, Hash, RuntimeDispatchInfo } from '@polkadot/types/interfaces';
|
||||
import type { AnyFunction, AnyNumber, AnyTuple, Callback, CallBase, Codec, IExtrinsicEra, IKeyringPair, ISubmittableResult, Signer } from '@polkadot/types/types';
|
||||
import type { AnyFunction, AnyNumber, AnyTuple, AnyU8a, Callback, CallBase, Codec, IExtrinsicEra, IKeyringPair, ISubmittableResult, Signer } from '@polkadot/types/types';
|
||||
import type { ApiTypes, EmptyBase, PromiseOrObs } from './base.js';
|
||||
|
||||
export type AugmentedSubmittable<T extends AnyFunction, A extends AnyTuple = AnyTuple> = T & CallBase<A>;
|
||||
@@ -17,6 +17,8 @@ export interface SignerOptions {
|
||||
signer?: Signer;
|
||||
tip?: AnyNumber;
|
||||
assetId?: AnyNumber | object;
|
||||
mode?: AnyNumber;
|
||||
metadataHash?: AnyU8a;
|
||||
}
|
||||
|
||||
export type SubmittableDryRunResult<ApiType extends ApiTypes> =
|
||||
|
||||
@@ -18,22 +18,22 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "11.0.2",
|
||||
"@polkadot/api-augment": "11.0.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/types-create": "11.0.2",
|
||||
"@polkadot/api": "11.2.1",
|
||||
"@polkadot/api-augment": "11.2.1",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/types-create": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "11.0.2",
|
||||
"@polkadot/api-augment": "11.2.1",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-support": "11.0.2"
|
||||
"@polkadot/types-support": "11.2.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: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,25 +18,25 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "11.0.2",
|
||||
"@polkadot/api-augment": "11.0.2",
|
||||
"@polkadot/api-base": "11.0.2",
|
||||
"@polkadot/rpc-core": "11.0.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/api": "11.2.1",
|
||||
"@polkadot/api-augment": "11.2.1",
|
||||
"@polkadot/api-base": "11.2.1",
|
||||
"@polkadot/rpc-core": "11.2.1",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "11.0.2",
|
||||
"@polkadot/api-augment": "11.0.2",
|
||||
"@polkadot/rpc-augment": "11.0.2",
|
||||
"@polkadot/rpc-provider": "11.0.2",
|
||||
"@polkadot/types-support": "11.0.2"
|
||||
"@polkadot/api": "11.2.1",
|
||||
"@polkadot/api-augment": "11.2.1",
|
||||
"@polkadot/rpc-augment": "11.2.1",
|
||||
"@polkadot/rpc-provider": "11.2.1",
|
||||
"@polkadot/types-support": "11.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { Bytes, Data } from '@polkadot/types';
|
||||
import type { AccountId } from '@polkadot/types/interfaces';
|
||||
import type { Bytes, Data, Struct } from '@polkadot/types';
|
||||
import type { AccountId, H160 } from '@polkadot/types/interfaces';
|
||||
import type { PalletIdentityLegacyIdentityInfo, PalletIdentityRegistration } from '@polkadot/types/lookup';
|
||||
import type { Option } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
@@ -17,9 +17,26 @@ import { firstMemo, memo } from '../util/index.js';
|
||||
|
||||
type IdentityInfoAdditional = PalletIdentityLegacyIdentityInfo['additional'][0];
|
||||
|
||||
interface PeopleIdentityInfo extends Struct {
|
||||
display: Data;
|
||||
legal: Data;
|
||||
web: Data;
|
||||
matrix: Data;
|
||||
email: Data;
|
||||
pgpFingerprint: Option<H160>;
|
||||
image: Data;
|
||||
twitter: Data;
|
||||
github: Data;
|
||||
discord: Data;
|
||||
}
|
||||
|
||||
const UNDEF_HEX = { toHex: () => undefined };
|
||||
|
||||
function dataAsString (data: Data): string | undefined {
|
||||
if (!data) {
|
||||
return data;
|
||||
}
|
||||
|
||||
return data.isRaw
|
||||
? u8aToString(data.asRaw.toU8a(true))
|
||||
: data.isNone
|
||||
@@ -58,13 +75,16 @@ function extractIdentity (identityOfOpt?: Option<ITuple<[PalletIdentityRegistrat
|
||||
const topDisplay = dataAsString(info.display);
|
||||
|
||||
return {
|
||||
discord: dataAsString((info as unknown as PeopleIdentityInfo).discord),
|
||||
display: (superOf && dataAsString(superOf[1])) || topDisplay,
|
||||
displayParent: superOf && topDisplay,
|
||||
email: dataAsString(info.email),
|
||||
github: dataAsString((info as unknown as PeopleIdentityInfo).github),
|
||||
image: dataAsString(info.image),
|
||||
judgements,
|
||||
legal: dataAsString(info.legal),
|
||||
other: extractOther(info.additional),
|
||||
matrix: dataAsString((info as unknown as PeopleIdentityInfo).matrix),
|
||||
other: info.additional ? extractOther(info.additional) : {},
|
||||
parent: superOf?.[0],
|
||||
pgp: info.pgpFingerprint.unwrapOr(UNDEF_HEX).toHex(),
|
||||
riot: dataAsString(info.riot),
|
||||
|
||||
@@ -8,11 +8,14 @@ export type AccountIdAndIndex = [AccountId | undefined, AccountIndex | undefined
|
||||
export type AccountIndexes = Record<string, AccountIndex>;
|
||||
|
||||
export interface DeriveAccountRegistration {
|
||||
discord?: string | undefined;
|
||||
display?: string | undefined;
|
||||
displayParent?: string | undefined;
|
||||
email?: string | undefined;
|
||||
github?: string | undefined;
|
||||
image?: string | undefined;
|
||||
legal?: string | undefined;
|
||||
matrix?: string | undefined;
|
||||
other?: Record<string, string> | undefined;
|
||||
parent?: AccountId | undefined;
|
||||
pgp?: string | undefined;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { Option, u32 } from '@polkadot/types';
|
||||
import type { EraIndex } from '@polkadot/types/interfaces';
|
||||
import type { SpStakingExposurePage } from '@polkadot/types/lookup';
|
||||
import type { SpStakingExposure, SpStakingExposurePage, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
||||
import type { AnyNumber } from '@polkadot/types-codec/types';
|
||||
import type { DeriveApi, DeriveOwnExposure } from '../types.js';
|
||||
|
||||
@@ -15,13 +15,27 @@ import { erasHistoricApplyAccount } from './util.js';
|
||||
|
||||
export function _ownExposures (instanceId: string, api: DeriveApi): (accountId: Uint8Array | string, eras: EraIndex[], withActive: boolean, page: u32 | AnyNumber) => Observable<DeriveOwnExposure[]> {
|
||||
return memo(instanceId, (accountId: Uint8Array | string, eras: EraIndex[], _withActive: boolean, page: u32 | AnyNumber): Observable<DeriveOwnExposure[]> => {
|
||||
const emptyStakingExposure = api.registry.createType<SpStakingExposure>('Exposure');
|
||||
// The reason we don't explicitly make the actual types is for compatibility. If the chain doesn't have the noted type it will fail
|
||||
// on construction. Therefore we just make an empty option.
|
||||
const emptyOptionPage = api.registry.createType<Option<SpStakingExposurePage>>('Option<Null>');
|
||||
const emptyOptionMeta = api.registry.createType<Option<SpStakingPagedExposureMetadata>>('Option<Null>');
|
||||
|
||||
return eras.length
|
||||
? combineLatest([
|
||||
// Backwards and forward compat for historical integrity when using `erasHistoricApplyAccount`
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakersClipped(e, accountId))),
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakers(e, accountId))),
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakersPaged<Option<SpStakingExposurePage>>(e, accountId, page))),
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakersOverview(e, accountId)))
|
||||
api.query.staking.erasStakersClipped
|
||||
? combineLatest(eras.map((e) => api.query.staking.erasStakersClipped(e, accountId)))
|
||||
: of(eras.map((_) => emptyStakingExposure)),
|
||||
api.query.staking.erasStakers
|
||||
? combineLatest(eras.map((e) => api.query.staking.erasStakers(e, accountId)))
|
||||
: of(eras.map((_) => emptyStakingExposure)),
|
||||
api.query.staking.erasStakersPaged
|
||||
? combineLatest(eras.map((e) => api.query.staking.erasStakersPaged<Option<SpStakingExposurePage>>(e, accountId, page)))
|
||||
: of(eras.map((_) => emptyOptionPage)),
|
||||
api.query.staking.erasStakersOverview
|
||||
? combineLatest(eras.map((e) => api.query.staking.erasStakersOverview(e, accountId)))
|
||||
: of(eras.map((_) => emptyOptionMeta))
|
||||
]).pipe(
|
||||
map(([clp, exp, paged, expMeta]): DeriveOwnExposure[] =>
|
||||
eras.map((era, index) => ({ clipped: clp[index], era, exposure: exp[index], exposureMeta: expMeta[index], exposurePaged: paged[index] }))
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { Option, u32, Vec } from '@polkadot/types';
|
||||
import type { Option, StorageKey, u32, Vec } from '@polkadot/types';
|
||||
import type { AccountId, EraIndex } from '@polkadot/types/interfaces';
|
||||
import type { PalletStakingNominations, PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposurePage, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
||||
import type { PalletStakingNominations, PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposure, SpStakingExposurePage, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
||||
import type { AnyNumber } from '@polkadot/types-codec/types';
|
||||
import type { DeriveApi, DeriveStakingQuery, StakingQueryFlags } from '../types.js';
|
||||
|
||||
@@ -24,11 +24,64 @@ function filterClaimedRewards (api: DeriveApi, cl: number[]): Vec<u32> {
|
||||
return api.registry.createType('Vec<u32>', cl.filter((c) => c !== -1));
|
||||
}
|
||||
|
||||
function parseDetails (api: DeriveApi, stashId: AccountId, controllerIdOpt: Option<AccountId> | null, nominatorsOpt: Option<PalletStakingNominations>, rewardDestinationOpts: Option<PalletStakingRewardDestination> | PalletStakingRewardDestination, validatorPrefs: PalletStakingValidatorPrefs, exposure: Option<SpStakingExposurePage>, stakingLedgerOpt: Option<PalletStakingStakingLedger>, exposureMeta: Option<SpStakingPagedExposureMetadata>, claimedRewards: number[]): DeriveStakingQuery {
|
||||
function filterRewards (stashIds: AccountId[], eras: number[], claimedRewards: [StorageKey<[u32, AccountId]>, Vec<u32>][], stakersOverview: [StorageKey<[u32, AccountId]>, Option<SpStakingPagedExposureMetadata>][]): number[][] {
|
||||
const claimedData: Record<string, Map<number, u32[]>> = {};
|
||||
const overviewData: Record<string, Map<number, u32>> = {};
|
||||
const ids = stashIds.map((i) => i.toString());
|
||||
|
||||
claimedRewards.forEach(([keys, rewards]) => {
|
||||
const id = keys.args[1].toString();
|
||||
const era = keys.args[0].toNumber();
|
||||
|
||||
if (ids.includes(id)) {
|
||||
if (claimedData[id]) {
|
||||
claimedData[id].set(era, rewards.toArray());
|
||||
} else {
|
||||
claimedData[id] = new Map();
|
||||
claimedData[id].set(era, rewards.toArray());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
stakersOverview.forEach(([keys, overview]) => {
|
||||
const id = keys.args[1].toString();
|
||||
const era = keys.args[0].toNumber();
|
||||
|
||||
if (ids.includes(id) && overview.isSome) {
|
||||
if (overviewData[id]) {
|
||||
overviewData[id].set(era, overview.unwrap().pageCount);
|
||||
} else {
|
||||
overviewData[id] = new Map();
|
||||
overviewData[id].set(era, overview.unwrap().pageCount);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return stashIds.map((id) => {
|
||||
const rewardsPerEra = claimedData[id.toString()];
|
||||
const overviewPerEra = overviewData[id.toString()];
|
||||
|
||||
return eras.map((era) => {
|
||||
if (rewardsPerEra && rewardsPerEra.has(era) && overviewPerEra && overviewPerEra.has(era)) {
|
||||
const rewards = rewardsPerEra.get(era) as unknown as u32[];
|
||||
const pageCount = overviewPerEra.get(era) as unknown as u32;
|
||||
|
||||
return rewards.length === pageCount.toNumber()
|
||||
? era
|
||||
: -1;
|
||||
}
|
||||
|
||||
return -1;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function parseDetails (api: DeriveApi, stashId: AccountId, controllerIdOpt: Option<AccountId> | null, nominatorsOpt: Option<PalletStakingNominations>, rewardDestinationOpts: Option<PalletStakingRewardDestination> | PalletStakingRewardDestination, validatorPrefs: PalletStakingValidatorPrefs, exposure: Option<SpStakingExposurePage>, stakingLedgerOpt: Option<PalletStakingStakingLedger>, exposureMeta: Option<SpStakingPagedExposureMetadata>, claimedRewards: number[], exposureEraStakers: SpStakingExposure): DeriveStakingQuery {
|
||||
return {
|
||||
accountId: stashId,
|
||||
claimedRewardsEras: filterClaimedRewards(api, claimedRewards),
|
||||
controllerId: controllerIdOpt?.unwrapOr(null) || null,
|
||||
exposureEraStakers,
|
||||
exposureMeta,
|
||||
exposurePaged: exposure,
|
||||
nominators: nominatorsOpt.isSome
|
||||
@@ -64,12 +117,15 @@ function getLedgers (api: DeriveApi, optIds: (Option<AccountId> | null)[], { wit
|
||||
);
|
||||
}
|
||||
|
||||
function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraIndex, { withClaimedRewardsEras, withController, withDestination, withExposure, withExposureMeta, withLedger, withNominations, withPrefs }: StakingQueryFlags, page: u32 | AnyNumber): Observable<[(Option<AccountId> | null)[], Option<PalletStakingNominations>[], Option<PalletStakingRewardDestination>[], PalletStakingValidatorPrefs[], Option<SpStakingExposurePage>[], Option<SpStakingPagedExposureMetadata>[], number[][]]> {
|
||||
function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraIndex, { withClaimedRewardsEras, withController, withDestination, withExposure, withExposureErasStakersLegacy, withExposureMeta, withLedger, withNominations, withPrefs }: StakingQueryFlags, page: u32 | AnyNumber): Observable<[(Option<AccountId> | null)[], Option<PalletStakingNominations>[], Option<PalletStakingRewardDestination>[], PalletStakingValidatorPrefs[], Option<SpStakingExposurePage>[], Option<SpStakingPagedExposureMetadata>[], number[][], SpStakingExposure[]]> {
|
||||
const emptyNoms = api.registry.createType<Option<PalletStakingNominations>>('Option<Nominations>');
|
||||
const emptyRewa = api.registry.createType<Option<PalletStakingRewardDestination>>('RewardDestination');
|
||||
const emptyExpo = api.registry.createType<Option<SpStakingExposurePage>>('Option<SpStakingExposurePage>');
|
||||
const emptyExpoEraStakers = api.registry.createType<SpStakingExposure>('Exposure');
|
||||
const emptyPrefs = api.registry.createType<PalletStakingValidatorPrefs>('ValidatorPrefs');
|
||||
const emptyExpoMeta = api.registry.createType<Option<SpStakingPagedExposureMetadata>>('Option<SpStakingPagedExposureMetadata>');
|
||||
// The reason we don't explicitly make the actual types is for compatibility. If the chain doesn't have the noted type it will fail
|
||||
// on construction. Therefore we just make an empty option.
|
||||
const emptyExpo = api.registry.createType<Option<SpStakingExposurePage>>('Option<Null>');
|
||||
const emptyExpoMeta = api.registry.createType<Option<SpStakingPagedExposureMetadata>>('Option<Null>');
|
||||
const emptyClaimedRewards = [-1];
|
||||
|
||||
const depth = Number(api.consts.staking.historyDepth.toNumber());
|
||||
@@ -94,45 +150,33 @@ function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraInde
|
||||
withPrefs
|
||||
? combineLatest(stashIds.map((s) => api.query.staking.validators(s)))
|
||||
: of(stashIds.map(() => emptyPrefs)),
|
||||
withExposure
|
||||
withExposure && api.query.staking.erasStakersPaged
|
||||
? combineLatest(stashIds.map((s) => api.query.staking.erasStakersPaged<Option<SpStakingExposurePage>>(activeEra, s, page)))
|
||||
: of(stashIds.map(() => emptyExpo)),
|
||||
withExposureMeta
|
||||
withExposureMeta && api.query.staking.erasStakersOverview
|
||||
? combineLatest(stashIds.map((s) => api.query.staking.erasStakersOverview(activeEra, s)))
|
||||
: of(stashIds.map(() => emptyExpoMeta)),
|
||||
withClaimedRewardsEras
|
||||
? combineLatest(stashIds.map((s) =>
|
||||
combineLatest([
|
||||
combineLatest(eras.map((e) => api.query.staking.claimedRewards(e, s))),
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakersOverview(e, s)))
|
||||
]))
|
||||
).pipe(
|
||||
map((r) => {
|
||||
return r.map(([stashClaimedEras, overview]) => {
|
||||
// stashClaimedEras length will match the length of eras
|
||||
return stashClaimedEras.map((claimedReward, idx) => {
|
||||
const o = overview[idx].isSome && overview[idx].unwrap();
|
||||
|
||||
if (claimedReward.length === (o && o.pageCount.toNumber())) {
|
||||
return eras[idx];
|
||||
}
|
||||
|
||||
return -1;
|
||||
});
|
||||
});
|
||||
})
|
||||
withClaimedRewardsEras && api.query.staking.claimedRewards
|
||||
? combineLatest([
|
||||
api.query.staking.claimedRewards.entries<Vec<u32>>(),
|
||||
api.query.staking.erasStakersOverview.entries<Option<SpStakingPagedExposureMetadata>>()
|
||||
]).pipe(
|
||||
map(([rewardsStorageVec, overviewStorageVec]) => filterRewards(stashIds, eras, rewardsStorageVec, overviewStorageVec))
|
||||
)
|
||||
: of(stashIds.map(() => emptyClaimedRewards))
|
||||
: of(stashIds.map(() => emptyClaimedRewards)),
|
||||
withExposureErasStakersLegacy && api.query.staking.erasStakers
|
||||
? combineLatest(stashIds.map((s) => api.query.staking.erasStakers(activeEra, s)))
|
||||
: of(stashIds.map(() => emptyExpoEraStakers))
|
||||
]);
|
||||
}
|
||||
|
||||
function getBatch (api: DeriveApi, activeEra: EraIndex, stashIds: AccountId[], flags: StakingQueryFlags, page: u32 | AnyNumber): Observable<DeriveStakingQuery[]> {
|
||||
return getStashInfo(api, stashIds, activeEra, flags, page).pipe(
|
||||
switchMap(([controllerIdOpt, nominatorsOpt, rewardDestination, validatorPrefs, exposure, exposureMeta, claimedRewardsEras]): Observable<DeriveStakingQuery[]> =>
|
||||
switchMap(([controllerIdOpt, nominatorsOpt, rewardDestination, validatorPrefs, exposure, exposureMeta, claimedRewardsEras, exposureEraStakers]): Observable<DeriveStakingQuery[]> =>
|
||||
getLedgers(api, controllerIdOpt, flags).pipe(
|
||||
map((stakingLedgerOpts) =>
|
||||
stashIds.map((stashId, index) =>
|
||||
parseDetails(api, stashId, controllerIdOpt[index], nominatorsOpt[index], rewardDestination[index], validatorPrefs[index], exposure[index], stakingLedgerOpts[index], exposureMeta[index], claimedRewardsEras[index])
|
||||
parseDetails(api, stashId, controllerIdOpt[index], nominatorsOpt[index], rewardDestination[index], validatorPrefs[index], exposure[index], stakingLedgerOpts[index], exposureMeta[index], claimedRewardsEras[index], exposureEraStakers[index])
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -170,7 +170,7 @@ export function _stakerRewardsEras (instanceId: string, api: DeriveApi): (eras:
|
||||
export function _stakerRewards (instanceId: string, api: DeriveApi): (accountIds: (Uint8Array | string)[], eras: EraIndex[], withActive?: boolean) => Observable<DeriveStakerReward[][]> {
|
||||
return memo(instanceId, (accountIds: (Uint8Array | string)[], eras: EraIndex[], withActive = false): Observable<DeriveStakerReward[][]> =>
|
||||
combineLatest([
|
||||
api.derive.staking.queryMulti(accountIds, { withLedger: true }),
|
||||
api.derive.staking.queryMulti(accountIds, { withClaimedRewardsEras: true, withLedger: true }),
|
||||
api.derive.staking._stakerExposures(accountIds, eras, withActive),
|
||||
api.derive.staking._stakerRewardsEras(eras, withActive)
|
||||
]).pipe(
|
||||
|
||||
@@ -118,6 +118,8 @@ export interface DeriveStakingValidators {
|
||||
|
||||
export interface DeriveStakingStash {
|
||||
controllerId: AccountId | null;
|
||||
// Legacy Support for erasStakers
|
||||
exposureEraStakers: SpStakingExposure;
|
||||
exposurePaged: Option<SpStakingExposurePage>;
|
||||
exposureMeta: Option<SpStakingPagedExposureMetadata>;
|
||||
nominators: AccountId[];
|
||||
@@ -162,6 +164,7 @@ export interface StakingQueryFlags {
|
||||
withController?: boolean;
|
||||
withDestination?: boolean;
|
||||
withExposure?: boolean;
|
||||
withExposureErasStakersLegacy?: boolean,
|
||||
withLedger?: boolean;
|
||||
withNominations?: boolean;
|
||||
withPrefs?: boolean;
|
||||
|
||||
@@ -11,14 +11,24 @@ import { memo } from '../util/index.js';
|
||||
|
||||
export function nextElected (instanceId: string, api: DeriveApi): () => Observable<AccountId[]> {
|
||||
return memo(instanceId, (): Observable<AccountId[]> =>
|
||||
// Compatibility for future generation changes in staking.
|
||||
api.query.staking.erasStakersPaged
|
||||
? api.derive.session.indexes().pipe(
|
||||
// only populate for next era in the last session, so track both here - entries are not
|
||||
// subscriptions, so we need a trigger - currentIndex acts as that trigger to refresh
|
||||
switchMap(({ currentEra }) => api.query.staking.erasStakersPaged.keys(currentEra)),
|
||||
map((keys) => keys.map(({ args: [, accountId] }) => accountId))
|
||||
// Dedupe any duplicates
|
||||
map((keys) => [...new Set(keys.map(({ args: [, accountId] }) => accountId.toString()))].map((a) => api.registry.createType('AccountId', a)))
|
||||
)
|
||||
: api.query.staking['currentElected']<AccountId[]>()
|
||||
: api.query.staking.erasStakers
|
||||
? api.derive.session.indexes().pipe(
|
||||
// only populate for next era in the last session, so track both here - entries are not
|
||||
// subscriptions, so we need a trigger - currentIndex acts as that trigger to refresh
|
||||
switchMap(({ currentEra }) => api.query.staking.erasStakers.keys(currentEra)),
|
||||
// Dedupe any duplicates
|
||||
map((keys) => [...new Set(keys.map(({ args: [, accountId] }) => accountId.toString()))].map((a) => api.registry.createType('AccountId', a)))
|
||||
)
|
||||
: api.query.staking['currentElected']<AccountId[]>()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
+14
-14
@@ -18,21 +18,21 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "11.0.2",
|
||||
"@polkadot/api-base": "11.0.2",
|
||||
"@polkadot/api-derive": "11.0.2",
|
||||
"@polkadot/api-augment": "11.2.1",
|
||||
"@polkadot/api-base": "11.2.1",
|
||||
"@polkadot/api-derive": "11.2.1",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/rpc-augment": "11.0.2",
|
||||
"@polkadot/rpc-core": "11.0.2",
|
||||
"@polkadot/rpc-provider": "11.0.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-augment": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/types-create": "11.0.2",
|
||||
"@polkadot/types-known": "11.0.2",
|
||||
"@polkadot/rpc-augment": "11.2.1",
|
||||
"@polkadot/rpc-core": "11.2.1",
|
||||
"@polkadot/rpc-provider": "11.2.1",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-augment": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/types-create": "11.2.1",
|
||||
"@polkadot/types-known": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"eventemitter3": "^5.0.1",
|
||||
@@ -40,7 +40,7 @@
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "11.0.2",
|
||||
"@polkadot/types-support": "11.0.2"
|
||||
"@polkadot/api-augment": "11.2.1",
|
||||
"@polkadot/types-support": "11.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -244,6 +244,11 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
|
||||
protected async _loadMeta (): Promise<boolean> {
|
||||
// on re-connection to the same chain, we don't want to re-do everything from chain again
|
||||
if (this._isReady) {
|
||||
// on re-connection only re-subscribe to chain updates if we are not a clone
|
||||
if (!this._options.source) {
|
||||
this._subscribeUpdates();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "11.0.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/rpc-core": "11.2.1",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "11.0.2",
|
||||
"@polkadot/rpc-provider": "11.0.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/rpc-augment": "11.2.1",
|
||||
"@polkadot/rpc-provider": "11.2.1",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/rpc-augment": "11.0.2"
|
||||
"@polkadot/rpc-augment": "11.2.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: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-support": "11.0.2",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-support": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/x-fetch": "^12.6.2",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,15 +28,15 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "11.0.2",
|
||||
"@polkadot/api-augment": "11.0.2",
|
||||
"@polkadot/rpc-augment": "11.0.2",
|
||||
"@polkadot/rpc-provider": "11.0.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-augment": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/types-create": "11.0.2",
|
||||
"@polkadot/types-support": "11.0.2",
|
||||
"@polkadot/api": "11.2.1",
|
||||
"@polkadot/api-augment": "11.2.1",
|
||||
"@polkadot/rpc-augment": "11.2.1",
|
||||
"@polkadot/rpc-provider": "11.2.1",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-augment": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/types-create": "11.2.1",
|
||||
"@polkadot/types-support": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/x-ws": "^12.6.2",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -2261,6 +2261,13 @@ export default {
|
||||
Para: 'u32'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup451: sp_consensus_beefy::EquivocationProof<Number, sp_consensus_beefy::ecdsa_crypto::Public, sp_consensus_beefy::ecdsa_crypto::Signature>
|
||||
**/
|
||||
SpConsensusBeefyEquivocationProof: {
|
||||
first: 'SpConsensusBeefyVoteMessage',
|
||||
second: 'SpConsensusBeefyVoteMessage'
|
||||
},
|
||||
/**
|
||||
* Lookup466: polkadot_runtime_common::claims::pallet::Event<T>
|
||||
**/
|
||||
|
||||
@@ -1467,7 +1467,17 @@ export default {
|
||||
},
|
||||
Blocked: {
|
||||
assetId: 'u32',
|
||||
who: 'AccountId32'
|
||||
who: 'AccountId32',
|
||||
},
|
||||
Deposited: {
|
||||
assetId: 'u32',
|
||||
who: 'AccountId32',
|
||||
amount: 'u128',
|
||||
},
|
||||
Withdrawn: {
|
||||
assetId: 'u32',
|
||||
who: 'AccountId32',
|
||||
amount: 'u128'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2511,7 +2521,11 @@ export default {
|
||||
},
|
||||
force_adjust_total_issuance: {
|
||||
direction: 'PalletBalancesAdjustmentDirection',
|
||||
delta: 'Compact<u128>'
|
||||
delta: 'Compact<u128>',
|
||||
},
|
||||
burn: {
|
||||
value: 'Compact<u128>',
|
||||
keepAlive: 'bool'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3900,11 +3914,11 @@ export default {
|
||||
PalletBeefyCall: {
|
||||
_enum: {
|
||||
report_equivocation: {
|
||||
equivocationProof: 'SpConsensusBeefyEquivocationProof',
|
||||
equivocationProof: 'SpConsensusBeefyDoubleVotingProof',
|
||||
keyOwnerProof: 'SpSessionMembershipProof',
|
||||
},
|
||||
report_equivocation_unsigned: {
|
||||
equivocationProof: 'SpConsensusBeefyEquivocationProof',
|
||||
equivocationProof: 'SpConsensusBeefyDoubleVotingProof',
|
||||
keyOwnerProof: 'SpSessionMembershipProof',
|
||||
},
|
||||
set_new_genesis: {
|
||||
@@ -3913,9 +3927,9 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup334: sp_consensus_beefy::EquivocationProof<Number, sp_consensus_beefy::ecdsa_crypto::Public, sp_consensus_beefy::ecdsa_crypto::Signature>
|
||||
* Lookup334: sp_consensus_beefy::DoubleVotingProof<Number, sp_consensus_beefy::ecdsa_crypto::Public, sp_consensus_beefy::ecdsa_crypto::Signature>
|
||||
**/
|
||||
SpConsensusBeefyEquivocationProof: {
|
||||
SpConsensusBeefyDoubleVotingProof: {
|
||||
first: 'SpConsensusBeefyVoteMessage',
|
||||
second: 'SpConsensusBeefyVoteMessage'
|
||||
},
|
||||
@@ -5136,7 +5150,11 @@ export default {
|
||||
amountOut: 'u128',
|
||||
amountInMax: 'u128',
|
||||
sendTo: 'AccountId32',
|
||||
keepAlive: 'bool'
|
||||
keepAlive: 'bool',
|
||||
},
|
||||
touch: {
|
||||
asset1: 'FrameSupportTokensFungibleUnionOfNativeOrWithId',
|
||||
asset2: 'FrameSupportTokensFungibleUnionOfNativeOrWithId'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -5289,7 +5307,7 @@ export default {
|
||||
},
|
||||
start_sales: {
|
||||
initialPrice: 'u128',
|
||||
coreCount: 'u16',
|
||||
extraCores: 'u16',
|
||||
},
|
||||
purchase: {
|
||||
priceLimit: 'u128',
|
||||
@@ -5527,7 +5545,7 @@ export default {
|
||||
KitchensinkRuntimeRuntimeParameters: {
|
||||
_enum: {
|
||||
Storage: 'KitchensinkRuntimeDynamicParamsStorageParameters',
|
||||
Contract: 'KitchensinkRuntimeDynamicParamsContractsParameters'
|
||||
Contracts: 'KitchensinkRuntimeDynamicParamsContractsParameters'
|
||||
}
|
||||
},
|
||||
/**
|
||||
@@ -5570,11 +5588,22 @@ export default {
|
||||
**/
|
||||
KitchensinkRuntimeDynamicParamsContractsDefaultDepositLimit: 'Null',
|
||||
/**
|
||||
* Lookup454: sp_runtime::traits::BlakeTwo256
|
||||
* Lookup454: pallet_asset_conversion_ops::pallet::Call<T>
|
||||
**/
|
||||
PalletAssetConversionOpsCall: {
|
||||
_enum: {
|
||||
migrate_to_new_account: {
|
||||
asset1: 'FrameSupportTokensFungibleUnionOfNativeOrWithId',
|
||||
asset2: 'FrameSupportTokensFungibleUnionOfNativeOrWithId'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup455: sp_runtime::traits::BlakeTwo256
|
||||
**/
|
||||
SpRuntimeBlakeTwo256: 'Null',
|
||||
/**
|
||||
* Lookup455: pallet_conviction_voting::types::Tally<Votes, Total>
|
||||
* Lookup456: pallet_conviction_voting::types::Tally<Votes, Total>
|
||||
**/
|
||||
PalletConvictionVotingTally: {
|
||||
ayes: 'u128',
|
||||
@@ -5582,7 +5611,7 @@ export default {
|
||||
support: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup456: pallet_remark::pallet::Event<T>
|
||||
* Lookup457: pallet_remark::pallet::Event<T>
|
||||
**/
|
||||
PalletRemarkEvent: {
|
||||
_enum: {
|
||||
@@ -5593,13 +5622,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup457: pallet_root_testing::pallet::Event<T>
|
||||
* Lookup458: pallet_root_testing::pallet::Event<T>
|
||||
**/
|
||||
PalletRootTestingEvent: {
|
||||
_enum: ['DefensiveTestCall']
|
||||
},
|
||||
/**
|
||||
* Lookup458: pallet_conviction_voting::pallet::Event<T, I>
|
||||
* Lookup459: pallet_conviction_voting::pallet::Event<T, I>
|
||||
**/
|
||||
PalletConvictionVotingEvent: {
|
||||
_enum: {
|
||||
@@ -5608,7 +5637,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup459: pallet_whitelist::pallet::Event<T>
|
||||
* Lookup460: pallet_whitelist::pallet::Event<T>
|
||||
**/
|
||||
PalletWhitelistEvent: {
|
||||
_enum: {
|
||||
@@ -5625,21 +5654,21 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup461: frame_support::dispatch::PostDispatchInfo
|
||||
* Lookup462: frame_support::dispatch::PostDispatchInfo
|
||||
**/
|
||||
FrameSupportDispatchPostDispatchInfo: {
|
||||
actualWeight: 'Option<SpWeightsWeightV2Weight>',
|
||||
paysFee: 'FrameSupportDispatchPays'
|
||||
},
|
||||
/**
|
||||
* Lookup463: sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>
|
||||
* Lookup464: sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>
|
||||
**/
|
||||
SpRuntimeDispatchErrorWithPostInfo: {
|
||||
postInfo: 'FrameSupportDispatchPostDispatchInfo',
|
||||
error: 'SpRuntimeDispatchError'
|
||||
},
|
||||
/**
|
||||
* Lookup465: pallet_alliance::pallet::Event<T, I>
|
||||
* Lookup466: pallet_alliance::pallet::Event<T, I>
|
||||
**/
|
||||
PalletAllianceEvent: {
|
||||
_enum: {
|
||||
@@ -5692,7 +5721,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup466: pallet_nomination_pools::pallet::Event<T>
|
||||
* Lookup467: pallet_nomination_pools::pallet::Event<T>
|
||||
**/
|
||||
PalletNominationPoolsEvent: {
|
||||
_enum: {
|
||||
@@ -5780,7 +5809,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup468: pallet_ranked_collective::Tally<T, I, M>
|
||||
* Lookup469: pallet_ranked_collective::Tally<T, I, M>
|
||||
**/
|
||||
PalletRankedCollectiveTally: {
|
||||
bareAyes: 'u32',
|
||||
@@ -5788,7 +5817,7 @@ export default {
|
||||
nays: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup469: pallet_ranked_collective::pallet::Event<T, I>
|
||||
* Lookup470: pallet_ranked_collective::pallet::Event<T, I>
|
||||
**/
|
||||
PalletRankedCollectiveEvent: {
|
||||
_enum: {
|
||||
@@ -5816,7 +5845,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup470: pallet_ranked_collective::VoteRecord
|
||||
* Lookup471: pallet_ranked_collective::VoteRecord
|
||||
**/
|
||||
PalletRankedCollectiveVoteRecord: {
|
||||
_enum: {
|
||||
@@ -5825,7 +5854,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup471: pallet_asset_conversion::pallet::Event<T>
|
||||
* Lookup472: pallet_asset_conversion::pallet::Event<T>
|
||||
**/
|
||||
PalletAssetConversionEvent: {
|
||||
_enum: {
|
||||
@@ -5864,12 +5893,16 @@ export default {
|
||||
SwapCreditExecuted: {
|
||||
amountIn: 'u128',
|
||||
amountOut: 'u128',
|
||||
path: 'Vec<(FrameSupportTokensFungibleUnionOfNativeOrWithId,u128)>'
|
||||
path: 'Vec<(FrameSupportTokensFungibleUnionOfNativeOrWithId,u128)>',
|
||||
},
|
||||
Touched: {
|
||||
poolId: '(FrameSupportTokensFungibleUnionOfNativeOrWithId,FrameSupportTokensFungibleUnionOfNativeOrWithId)',
|
||||
who: 'AccountId32'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup476: pallet_fast_unstake::pallet::Event<T>
|
||||
* Lookup477: pallet_fast_unstake::pallet::Event<T>
|
||||
**/
|
||||
PalletFastUnstakeEvent: {
|
||||
_enum: {
|
||||
@@ -5894,7 +5927,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup477: pallet_message_queue::pallet::Event<T>
|
||||
* Lookup478: pallet_message_queue::pallet::Event<T>
|
||||
**/
|
||||
PalletMessageQueueEvent: {
|
||||
_enum: {
|
||||
@@ -5922,7 +5955,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup478: frame_support::traits::messages::ProcessMessageError
|
||||
* Lookup479: frame_support::traits::messages::ProcessMessageError
|
||||
**/
|
||||
FrameSupportMessagesProcessMessageError: {
|
||||
_enum: {
|
||||
@@ -5930,17 +5963,18 @@ export default {
|
||||
Corrupt: 'Null',
|
||||
Unsupported: 'Null',
|
||||
Overweight: 'SpWeightsWeightV2Weight',
|
||||
Yield: 'Null'
|
||||
Yield: 'Null',
|
||||
StackLimitReached: 'Null'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup479: frame_benchmarking_pallet_pov::pallet::Event<T>
|
||||
* Lookup480: frame_benchmarking_pallet_pov::pallet::Event<T>
|
||||
**/
|
||||
FrameBenchmarkingPalletPovEvent: {
|
||||
_enum: ['TestEvent']
|
||||
},
|
||||
/**
|
||||
* Lookup480: pallet_tx_pause::pallet::Event<T>
|
||||
* Lookup481: pallet_tx_pause::pallet::Event<T>
|
||||
**/
|
||||
PalletTxPauseEvent: {
|
||||
_enum: {
|
||||
@@ -5953,7 +5987,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup481: pallet_safe_mode::pallet::Event<T>
|
||||
* Lookup482: pallet_safe_mode::pallet::Event<T>
|
||||
**/
|
||||
PalletSafeModeEvent: {
|
||||
_enum: {
|
||||
@@ -5983,13 +6017,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup482: pallet_safe_mode::pallet::ExitReason
|
||||
* Lookup483: pallet_safe_mode::pallet::ExitReason
|
||||
**/
|
||||
PalletSafeModeExitReason: {
|
||||
_enum: ['Timeout', 'Force']
|
||||
},
|
||||
/**
|
||||
* Lookup483: pallet_statement::pallet::Event<T>
|
||||
* Lookup484: pallet_statement::pallet::Event<T>
|
||||
**/
|
||||
PalletStatementEvent: {
|
||||
_enum: {
|
||||
@@ -6000,7 +6034,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup484: sp_statement_store::Statement
|
||||
* Lookup485: sp_statement_store::Statement
|
||||
**/
|
||||
SpStatementStoreStatement: {
|
||||
proof: 'Option<SpStatementStoreProof>',
|
||||
@@ -6012,7 +6046,7 @@ export default {
|
||||
data: 'Option<Bytes>'
|
||||
},
|
||||
/**
|
||||
* Lookup486: sp_statement_store::Proof
|
||||
* Lookup487: sp_statement_store::Proof
|
||||
**/
|
||||
SpStatementStoreProof: {
|
||||
_enum: {
|
||||
@@ -6036,7 +6070,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup488: pallet_migrations::pallet::Event<T>
|
||||
* Lookup489: pallet_migrations::pallet::Event<T>
|
||||
**/
|
||||
PalletMigrationsEvent: {
|
||||
_enum: {
|
||||
@@ -6066,7 +6100,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup489: pallet_broker::pallet::Event<T>
|
||||
* Lookup490: pallet_broker::pallet::Event<T>
|
||||
**/
|
||||
PalletBrokerEvent: {
|
||||
_enum: {
|
||||
@@ -6094,8 +6128,8 @@ export default {
|
||||
Transferred: {
|
||||
regionId: 'PalletBrokerRegionId',
|
||||
duration: 'u32',
|
||||
oldOwner: 'AccountId32',
|
||||
owner: 'AccountId32',
|
||||
oldOwner: 'Option<AccountId32>',
|
||||
owner: 'Option<AccountId32>',
|
||||
},
|
||||
Partitioned: {
|
||||
oldRegionId: 'PalletBrokerRegionId',
|
||||
@@ -6205,7 +6239,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup494: pallet_parameters::pallet::Event<T>
|
||||
* Lookup495: pallet_parameters::pallet::Event<T>
|
||||
**/
|
||||
PalletParametersEvent: {
|
||||
_enum: {
|
||||
@@ -6217,37 +6251,37 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup495: kitchensink_runtime::RuntimeParametersKey
|
||||
* Lookup496: kitchensink_runtime::RuntimeParametersKey
|
||||
**/
|
||||
KitchensinkRuntimeRuntimeParametersKey: {
|
||||
_enum: {
|
||||
Storage: 'KitchensinkRuntimeDynamicParamsStorageParametersKey',
|
||||
Contract: 'KitchensinkRuntimeDynamicParamsContractsParametersKey'
|
||||
Contracts: 'KitchensinkRuntimeDynamicParamsContractsParametersKey'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup496: kitchensink_runtime::dynamic_params::storage::ParametersKey
|
||||
* Lookup497: kitchensink_runtime::dynamic_params::storage::ParametersKey
|
||||
**/
|
||||
KitchensinkRuntimeDynamicParamsStorageParametersKey: {
|
||||
_enum: ['BaseDeposit', 'ByteDeposit']
|
||||
},
|
||||
/**
|
||||
* Lookup497: kitchensink_runtime::dynamic_params::contracts::ParametersKey
|
||||
* Lookup498: kitchensink_runtime::dynamic_params::contracts::ParametersKey
|
||||
**/
|
||||
KitchensinkRuntimeDynamicParamsContractsParametersKey: {
|
||||
_enum: ['DepositPerItem', 'DepositPerByte', 'DefaultDepositLimit']
|
||||
},
|
||||
/**
|
||||
* Lookup499: kitchensink_runtime::RuntimeParametersValue
|
||||
* Lookup500: kitchensink_runtime::RuntimeParametersValue
|
||||
**/
|
||||
KitchensinkRuntimeRuntimeParametersValue: {
|
||||
_enum: {
|
||||
Storage: 'KitchensinkRuntimeDynamicParamsStorageParametersValue',
|
||||
Contract: 'KitchensinkRuntimeDynamicParamsContractsParametersValue'
|
||||
Contracts: 'KitchensinkRuntimeDynamicParamsContractsParametersValue'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup500: kitchensink_runtime::dynamic_params::storage::ParametersValue
|
||||
* Lookup501: kitchensink_runtime::dynamic_params::storage::ParametersValue
|
||||
**/
|
||||
KitchensinkRuntimeDynamicParamsStorageParametersValue: {
|
||||
_enum: {
|
||||
@@ -6256,7 +6290,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup501: kitchensink_runtime::dynamic_params::contracts::ParametersValue
|
||||
* Lookup502: kitchensink_runtime::dynamic_params::contracts::ParametersValue
|
||||
**/
|
||||
KitchensinkRuntimeDynamicParamsContractsParametersValue: {
|
||||
_enum: {
|
||||
@@ -6266,7 +6300,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup502: pallet_skip_feeless_payment::pallet::Event<T>
|
||||
* Lookup503: pallet_skip_feeless_payment::pallet::Event<T>
|
||||
**/
|
||||
PalletSkipFeelessPaymentEvent: {
|
||||
_enum: {
|
||||
@@ -6276,7 +6310,19 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup503: frame_system::Phase
|
||||
* Lookup504: pallet_asset_conversion_ops::pallet::Event<T>
|
||||
**/
|
||||
PalletAssetConversionOpsEvent: {
|
||||
_enum: {
|
||||
MigratedToNewAccount: {
|
||||
poolId: '(FrameSupportTokensFungibleUnionOfNativeOrWithId,FrameSupportTokensFungibleUnionOfNativeOrWithId)',
|
||||
priorAccount: 'AccountId32',
|
||||
newAccount: 'AccountId32'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup505: frame_system::Phase
|
||||
**/
|
||||
FrameSystemPhase: {
|
||||
_enum: {
|
||||
@@ -6286,21 +6332,21 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup505: frame_system::LastRuntimeUpgradeInfo
|
||||
* Lookup507: frame_system::LastRuntimeUpgradeInfo
|
||||
**/
|
||||
FrameSystemLastRuntimeUpgradeInfo: {
|
||||
specVersion: 'Compact<u32>',
|
||||
specName: 'Text'
|
||||
},
|
||||
/**
|
||||
* Lookup507: frame_system::CodeUpgradeAuthorization<T>
|
||||
* Lookup509: frame_system::CodeUpgradeAuthorization<T>
|
||||
**/
|
||||
FrameSystemCodeUpgradeAuthorization: {
|
||||
codeHash: 'H256',
|
||||
checkVersion: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup508: frame_system::limits::BlockWeights
|
||||
* Lookup510: frame_system::limits::BlockWeights
|
||||
**/
|
||||
FrameSystemLimitsBlockWeights: {
|
||||
baseBlock: 'SpWeightsWeightV2Weight',
|
||||
@@ -6308,7 +6354,7 @@ export default {
|
||||
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
|
||||
},
|
||||
/**
|
||||
* Lookup509: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
|
||||
* Lookup511: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
|
||||
**/
|
||||
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
|
||||
normal: 'FrameSystemLimitsWeightsPerClass',
|
||||
@@ -6316,7 +6362,7 @@ export default {
|
||||
mandatory: 'FrameSystemLimitsWeightsPerClass'
|
||||
},
|
||||
/**
|
||||
* Lookup510: frame_system::limits::WeightsPerClass
|
||||
* Lookup512: frame_system::limits::WeightsPerClass
|
||||
**/
|
||||
FrameSystemLimitsWeightsPerClass: {
|
||||
baseExtrinsic: 'SpWeightsWeightV2Weight',
|
||||
@@ -6325,13 +6371,13 @@ export default {
|
||||
reserved: 'Option<SpWeightsWeightV2Weight>'
|
||||
},
|
||||
/**
|
||||
* Lookup511: frame_system::limits::BlockLength
|
||||
* Lookup513: frame_system::limits::BlockLength
|
||||
**/
|
||||
FrameSystemLimitsBlockLength: {
|
||||
max: 'FrameSupportDispatchPerDispatchClassU32'
|
||||
},
|
||||
/**
|
||||
* Lookup512: frame_support::dispatch::PerDispatchClass<T>
|
||||
* Lookup514: frame_support::dispatch::PerDispatchClass<T>
|
||||
**/
|
||||
FrameSupportDispatchPerDispatchClassU32: {
|
||||
normal: 'u32',
|
||||
@@ -6339,14 +6385,14 @@ export default {
|
||||
mandatory: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup513: sp_weights::RuntimeDbWeight
|
||||
* Lookup515: sp_weights::RuntimeDbWeight
|
||||
**/
|
||||
SpWeightsRuntimeDbWeight: {
|
||||
read: 'u64',
|
||||
write: 'u64'
|
||||
},
|
||||
/**
|
||||
* Lookup514: sp_version::RuntimeVersion
|
||||
* Lookup516: sp_version::RuntimeVersion
|
||||
**/
|
||||
SpVersionRuntimeVersion: {
|
||||
specName: 'Text',
|
||||
@@ -6359,19 +6405,19 @@ export default {
|
||||
stateVersion: 'u8'
|
||||
},
|
||||
/**
|
||||
* Lookup518: frame_system::pallet::Error<T>
|
||||
* Lookup520: frame_system::pallet::Error<T>
|
||||
**/
|
||||
FrameSystemError: {
|
||||
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'NothingAuthorized', 'Unauthorized']
|
||||
},
|
||||
/**
|
||||
* Lookup519: pallet_utility::pallet::Error<T>
|
||||
* Lookup521: pallet_utility::pallet::Error<T>
|
||||
**/
|
||||
PalletUtilityError: {
|
||||
_enum: ['TooManyCalls']
|
||||
},
|
||||
/**
|
||||
* Lookup526: sp_consensus_babe::digests::PreDigest
|
||||
* Lookup528: sp_consensus_babe::digests::PreDigest
|
||||
**/
|
||||
SpConsensusBabeDigestsPreDigest: {
|
||||
_enum: {
|
||||
@@ -6382,7 +6428,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup527: sp_consensus_babe::digests::PrimaryPreDigest
|
||||
* Lookup529: sp_consensus_babe::digests::PrimaryPreDigest
|
||||
**/
|
||||
SpConsensusBabeDigestsPrimaryPreDigest: {
|
||||
authorityIndex: 'u32',
|
||||
@@ -6390,21 +6436,21 @@ export default {
|
||||
vrfSignature: 'SpCoreSr25519VrfVrfSignature'
|
||||
},
|
||||
/**
|
||||
* Lookup528: sp_core::sr25519::vrf::VrfSignature
|
||||
* Lookup530: sp_core::sr25519::vrf::VrfSignature
|
||||
**/
|
||||
SpCoreSr25519VrfVrfSignature: {
|
||||
preOutput: '[u8;32]',
|
||||
proof: '[u8;64]'
|
||||
},
|
||||
/**
|
||||
* Lookup529: sp_consensus_babe::digests::SecondaryPlainPreDigest
|
||||
* Lookup531: sp_consensus_babe::digests::SecondaryPlainPreDigest
|
||||
**/
|
||||
SpConsensusBabeDigestsSecondaryPlainPreDigest: {
|
||||
authorityIndex: 'u32',
|
||||
slot: 'u64'
|
||||
},
|
||||
/**
|
||||
* Lookup530: sp_consensus_babe::digests::SecondaryVRFPreDigest
|
||||
* Lookup532: sp_consensus_babe::digests::SecondaryVRFPreDigest
|
||||
**/
|
||||
SpConsensusBabeDigestsSecondaryVRFPreDigest: {
|
||||
authorityIndex: 'u32',
|
||||
@@ -6412,26 +6458,26 @@ export default {
|
||||
vrfSignature: 'SpCoreSr25519VrfVrfSignature'
|
||||
},
|
||||
/**
|
||||
* Lookup531: sp_consensus_babe::BabeEpochConfiguration
|
||||
* Lookup533: sp_consensus_babe::BabeEpochConfiguration
|
||||
**/
|
||||
SpConsensusBabeBabeEpochConfiguration: {
|
||||
c: '(u64,u64)',
|
||||
allowedSlots: 'SpConsensusBabeAllowedSlots'
|
||||
},
|
||||
/**
|
||||
* Lookup535: pallet_babe::pallet::Error<T>
|
||||
* Lookup537: pallet_babe::pallet::Error<T>
|
||||
**/
|
||||
PalletBabeError: {
|
||||
_enum: ['InvalidEquivocationProof', 'InvalidKeyOwnershipProof', 'DuplicateOffenceReport', 'InvalidConfiguration']
|
||||
},
|
||||
/**
|
||||
* Lookup537: pallet_indices::pallet::Error<T>
|
||||
* Lookup539: pallet_indices::pallet::Error<T>
|
||||
**/
|
||||
PalletIndicesError: {
|
||||
_enum: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent']
|
||||
},
|
||||
/**
|
||||
* Lookup539: pallet_balances::types::BalanceLock<Balance>
|
||||
* Lookup541: pallet_balances::types::BalanceLock<Balance>
|
||||
**/
|
||||
PalletBalancesBalanceLock: {
|
||||
id: '[u8;8]',
|
||||
@@ -6439,27 +6485,27 @@ export default {
|
||||
reasons: 'PalletBalancesReasons'
|
||||
},
|
||||
/**
|
||||
* Lookup540: pallet_balances::types::Reasons
|
||||
* Lookup542: pallet_balances::types::Reasons
|
||||
**/
|
||||
PalletBalancesReasons: {
|
||||
_enum: ['Fee', 'Misc', 'All']
|
||||
},
|
||||
/**
|
||||
* Lookup543: pallet_balances::types::ReserveData<ReserveIdentifier, Balance>
|
||||
* Lookup545: pallet_balances::types::ReserveData<ReserveIdentifier, Balance>
|
||||
**/
|
||||
PalletBalancesReserveData: {
|
||||
id: '[u8;8]',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup546: pallet_balances::types::IdAmount<kitchensink_runtime::RuntimeHoldReason, Balance>
|
||||
* Lookup548: pallet_balances::types::IdAmount<kitchensink_runtime::RuntimeHoldReason, Balance>
|
||||
**/
|
||||
PalletBalancesIdAmountRuntimeHoldReason: {
|
||||
id: 'KitchensinkRuntimeRuntimeHoldReason',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup547: kitchensink_runtime::RuntimeHoldReason
|
||||
* Lookup549: kitchensink_runtime::RuntimeHoldReason
|
||||
**/
|
||||
KitchensinkRuntimeRuntimeHoldReason: {
|
||||
_enum: {
|
||||
@@ -6537,56 +6583,56 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup548: pallet_contracts::pallet::HoldReason
|
||||
* Lookup550: pallet_contracts::pallet::HoldReason
|
||||
**/
|
||||
PalletContractsHoldReason: {
|
||||
_enum: ['CodeUploadDepositReserve', 'StorageDepositReserve']
|
||||
},
|
||||
/**
|
||||
* Lookup549: pallet_preimage::pallet::HoldReason
|
||||
* Lookup551: pallet_preimage::pallet::HoldReason
|
||||
**/
|
||||
PalletPreimageHoldReason: {
|
||||
_enum: ['Preimage']
|
||||
},
|
||||
/**
|
||||
* Lookup550: pallet_nis::pallet::HoldReason
|
||||
* Lookup552: pallet_nis::pallet::HoldReason
|
||||
**/
|
||||
PalletNisHoldReason: {
|
||||
_enum: ['NftReceipt']
|
||||
},
|
||||
/**
|
||||
* Lookup551: pallet_nft_fractionalization::pallet::HoldReason
|
||||
* Lookup553: pallet_nft_fractionalization::pallet::HoldReason
|
||||
**/
|
||||
PalletNftFractionalizationHoldReason: {
|
||||
_enum: ['Fractionalized']
|
||||
},
|
||||
/**
|
||||
* Lookup552: pallet_transaction_storage::pallet::HoldReason
|
||||
* Lookup554: pallet_transaction_storage::pallet::HoldReason
|
||||
**/
|
||||
PalletTransactionStorageHoldReason: {
|
||||
_enum: ['StorageFeeHold']
|
||||
},
|
||||
/**
|
||||
* Lookup553: pallet_state_trie_migration::pallet::HoldReason
|
||||
* Lookup555: pallet_state_trie_migration::pallet::HoldReason
|
||||
**/
|
||||
PalletStateTrieMigrationHoldReason: {
|
||||
_enum: ['SlashForMigrate']
|
||||
},
|
||||
/**
|
||||
* Lookup554: pallet_safe_mode::pallet::HoldReason
|
||||
* Lookup556: pallet_safe_mode::pallet::HoldReason
|
||||
**/
|
||||
PalletSafeModeHoldReason: {
|
||||
_enum: ['EnterOrExtend']
|
||||
},
|
||||
/**
|
||||
* Lookup557: pallet_balances::types::IdAmount<kitchensink_runtime::RuntimeFreezeReason, Balance>
|
||||
* Lookup559: pallet_balances::types::IdAmount<kitchensink_runtime::RuntimeFreezeReason, Balance>
|
||||
**/
|
||||
PalletBalancesIdAmountRuntimeFreezeReason: {
|
||||
id: 'KitchensinkRuntimeRuntimeFreezeReason',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup558: kitchensink_runtime::RuntimeFreezeReason
|
||||
* Lookup560: kitchensink_runtime::RuntimeFreezeReason
|
||||
**/
|
||||
KitchensinkRuntimeRuntimeFreezeReason: {
|
||||
_enum: {
|
||||
@@ -6656,25 +6702,25 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup559: pallet_nomination_pools::pallet::FreezeReason
|
||||
* Lookup561: pallet_nomination_pools::pallet::FreezeReason
|
||||
**/
|
||||
PalletNominationPoolsFreezeReason: {
|
||||
_enum: ['PoolMinBalance']
|
||||
},
|
||||
/**
|
||||
* Lookup561: pallet_balances::pallet::Error<T, I>
|
||||
* Lookup563: pallet_balances::pallet::Error<T, I>
|
||||
**/
|
||||
PalletBalancesError: {
|
||||
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero']
|
||||
},
|
||||
/**
|
||||
* Lookup562: pallet_transaction_payment::Releases
|
||||
* Lookup564: pallet_transaction_payment::Releases
|
||||
**/
|
||||
PalletTransactionPaymentReleases: {
|
||||
_enum: ['V1Ancient', 'V2']
|
||||
},
|
||||
/**
|
||||
* Lookup563: pallet_election_provider_multi_phase::ReadySolution<AccountId, MaxWinners>
|
||||
* Lookup565: pallet_election_provider_multi_phase::ReadySolution<AccountId, MaxWinners>
|
||||
**/
|
||||
PalletElectionProviderMultiPhaseReadySolution: {
|
||||
supports: 'Vec<(AccountId32,SpNposElectionsSupport)>',
|
||||
@@ -6682,14 +6728,14 @@ export default {
|
||||
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
|
||||
},
|
||||
/**
|
||||
* Lookup565: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, DataProvider>
|
||||
* Lookup567: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, DataProvider>
|
||||
**/
|
||||
PalletElectionProviderMultiPhaseRoundSnapshot: {
|
||||
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
||||
targets: 'Vec<AccountId32>'
|
||||
},
|
||||
/**
|
||||
* Lookup572: pallet_election_provider_multi_phase::signed::SignedSubmission<sp_core::crypto::AccountId32, Balance, kitchensink_runtime::NposSolution16>
|
||||
* Lookup574: pallet_election_provider_multi_phase::signed::SignedSubmission<sp_core::crypto::AccountId32, Balance, kitchensink_runtime::NposSolution16>
|
||||
**/
|
||||
PalletElectionProviderMultiPhaseSignedSignedSubmission: {
|
||||
who: 'AccountId32',
|
||||
@@ -6698,13 +6744,13 @@ export default {
|
||||
callFee: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup573: pallet_election_provider_multi_phase::pallet::Error<T>
|
||||
* Lookup575: pallet_election_provider_multi_phase::pallet::Error<T>
|
||||
**/
|
||||
PalletElectionProviderMultiPhaseError: {
|
||||
_enum: ['PreDispatchEarlySubmission', 'PreDispatchWrongWinnerCount', 'PreDispatchWeakSubmission', 'SignedQueueFull', 'SignedCannotPayDeposit', 'SignedInvalidWitness', 'SignedTooMuchWeight', 'OcwCallWrongEra', 'MissingSnapshotMetadata', 'InvalidSubmissionIndex', 'CallNotAllowed', 'FallbackFailed', 'BoundNotMet', 'TooManyWinners', 'PreDispatchDifferentRound']
|
||||
},
|
||||
/**
|
||||
* Lookup574: pallet_staking::StakingLedger<T>
|
||||
* Lookup576: pallet_staking::StakingLedger<T>
|
||||
**/
|
||||
PalletStakingStakingLedger: {
|
||||
stash: 'AccountId32',
|
||||
@@ -6714,7 +6760,7 @@ export default {
|
||||
legacyClaimedRewards: 'Vec<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup576: pallet_staking::Nominations<T>
|
||||
* Lookup578: pallet_staking::Nominations<T>
|
||||
**/
|
||||
PalletStakingNominations: {
|
||||
targets: 'Vec<AccountId32>',
|
||||
@@ -6722,14 +6768,14 @@ export default {
|
||||
suppressed: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup577: pallet_staking::ActiveEraInfo
|
||||
* Lookup579: pallet_staking::ActiveEraInfo
|
||||
**/
|
||||
PalletStakingActiveEraInfo: {
|
||||
index: 'u32',
|
||||
start: 'Option<u64>'
|
||||
},
|
||||
/**
|
||||
* Lookup580: sp_staking::PagedExposureMetadata<Balance>
|
||||
* Lookup582: sp_staking::PagedExposureMetadata<Balance>
|
||||
**/
|
||||
SpStakingPagedExposureMetadata: {
|
||||
total: 'Compact<u128>',
|
||||
@@ -6738,21 +6784,21 @@ export default {
|
||||
pageCount: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup582: sp_staking::ExposurePage<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup584: sp_staking::ExposurePage<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
SpStakingExposurePage: {
|
||||
pageTotal: 'Compact<u128>',
|
||||
others: 'Vec<SpStakingIndividualExposure>'
|
||||
},
|
||||
/**
|
||||
* Lookup583: pallet_staking::EraRewardPoints<sp_core::crypto::AccountId32>
|
||||
* Lookup585: pallet_staking::EraRewardPoints<sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletStakingEraRewardPoints: {
|
||||
total: 'u32',
|
||||
individual: 'BTreeMap<AccountId32, u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup588: pallet_staking::UnappliedSlash<sp_core::crypto::AccountId32, Balance>
|
||||
* Lookup590: pallet_staking::UnappliedSlash<sp_core::crypto::AccountId32, Balance>
|
||||
**/
|
||||
PalletStakingUnappliedSlash: {
|
||||
validator: 'AccountId32',
|
||||
@@ -6762,7 +6808,7 @@ export default {
|
||||
payout: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup590: pallet_staking::slashing::SlashingSpans
|
||||
* Lookup592: pallet_staking::slashing::SlashingSpans
|
||||
**/
|
||||
PalletStakingSlashingSlashingSpans: {
|
||||
spanIndex: 'u32',
|
||||
@@ -6771,7 +6817,7 @@ export default {
|
||||
prior: 'Vec<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup591: pallet_staking::slashing::SpanRecord<Balance>
|
||||
* Lookup593: pallet_staking::slashing::SpanRecord<Balance>
|
||||
**/
|
||||
PalletStakingSlashingSpanRecord: {
|
||||
slashed: 'u128',
|
||||
@@ -6781,7 +6827,7 @@ export default {
|
||||
* Lookup594: pallet_staking::pallet::pallet::Error<T>
|
||||
**/
|
||||
PalletStakingPalletError: {
|
||||
_enum: ['NotController', 'NotStash', 'AlreadyBonded', 'AlreadyPaired', 'EmptyTargets', 'DuplicateIndex', 'InvalidSlashIndex', 'InsufficientBond', 'NoMoreChunks', 'NoUnlockChunk', 'FundedTarget', 'InvalidEraToReward', 'InvalidNumberOfNominations', 'NotSortedAndUnique', 'AlreadyClaimed', 'InvalidPage', 'IncorrectHistoryDepth', 'IncorrectSlashingSpans', 'BadState', 'TooManyTargets', 'BadTarget', 'CannotChillOther', 'TooManyNominators', 'TooManyValidators', 'CommissionTooLow', 'BoundNotMet', 'ControllerDeprecated', 'CannotRestoreLedger']
|
||||
_enum: ['NotController', 'NotStash', 'AlreadyBonded', 'AlreadyPaired', 'EmptyTargets', 'DuplicateIndex', 'InvalidSlashIndex', 'InsufficientBond', 'NoMoreChunks', 'NoUnlockChunk', 'FundedTarget', 'InvalidEraToReward', 'InvalidNumberOfNominations', 'NotSortedAndUnique', 'AlreadyClaimed', 'InvalidPage', 'IncorrectHistoryDepth', 'IncorrectSlashingSpans', 'BadState', 'TooManyTargets', 'BadTarget', 'CannotChillOther', 'TooManyNominators', 'TooManyValidators', 'CommissionTooLow', 'BoundNotMet', 'ControllerDeprecated', 'CannotRestoreLedger', 'RewardDestinationRestricted', 'NotEnoughFunds', 'VirtualStakerNotAllowed']
|
||||
},
|
||||
/**
|
||||
* Lookup598: sp_core::crypto::KeyTypeId
|
||||
@@ -8328,7 +8374,7 @@ export default {
|
||||
**/
|
||||
PalletBrokerRegionRecord: {
|
||||
end: 'u32',
|
||||
owner: 'AccountId32',
|
||||
owner: 'Option<AccountId32>',
|
||||
paid: 'Option<u128>'
|
||||
},
|
||||
/**
|
||||
@@ -8357,7 +8403,7 @@ export default {
|
||||
* Lookup923: pallet_broker::pallet::Error<T>
|
||||
**/
|
||||
PalletBrokerError: {
|
||||
_enum: ['UnknownRegion', 'NotOwner', 'PivotTooLate', 'PivotTooEarly', 'ExteriorPivot', 'VoidPivot', 'CompletePivot', 'CorruptWorkplan', 'NoSales', 'Overpriced', 'Unavailable', 'SoldOut', 'WrongTime', 'NotAllowed', 'Uninitialized', 'TooEarly', 'NothingToDo', 'TooManyReservations', 'TooManyLeases', 'UnknownRevenue', 'UnknownContribution', 'IncompleteAssignment', 'StillValid', 'NoHistory', 'UnknownReservation', 'UnknownRenewal', 'AlreadyExpired', 'InvalidConfig']
|
||||
_enum: ['UnknownRegion', 'NotOwner', 'PivotTooLate', 'PivotTooEarly', 'ExteriorPivot', 'VoidPivot', 'CompletePivot', 'CorruptWorkplan', 'NoSales', 'Overpriced', 'Unavailable', 'SoldOut', 'WrongTime', 'NotAllowed', 'Uninitialized', 'TooEarly', 'NothingToDo', 'TooManyReservations', 'TooManyLeases', 'UnknownRevenue', 'UnknownContribution', 'IncompleteAssignment', 'StillValid', 'NoHistory', 'UnknownReservation', 'UnknownRenewal', 'AlreadyExpired', 'InvalidConfig', 'NoClaimTimeslices']
|
||||
},
|
||||
/**
|
||||
* Lookup924: pallet_example_tasks::pallet::Error<T>
|
||||
@@ -8366,31 +8412,37 @@ export default {
|
||||
_enum: ['NotFound']
|
||||
},
|
||||
/**
|
||||
* Lookup927: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
|
||||
* Lookup925: pallet_asset_conversion_ops::pallet::Error<T>
|
||||
**/
|
||||
PalletAssetConversionOpsError: {
|
||||
_enum: ['InvalidAssetPair', 'PoolNotFound', 'ZeroBalance', 'PartialTransfer']
|
||||
},
|
||||
/**
|
||||
* Lookup928: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckNonZeroSender: 'Null',
|
||||
/**
|
||||
* Lookup928: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
|
||||
* Lookup929: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckSpecVersion: 'Null',
|
||||
/**
|
||||
* Lookup929: frame_system::extensions::check_tx_version::CheckTxVersion<T>
|
||||
* Lookup930: frame_system::extensions::check_tx_version::CheckTxVersion<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckTxVersion: 'Null',
|
||||
/**
|
||||
* Lookup930: frame_system::extensions::check_genesis::CheckGenesis<T>
|
||||
* Lookup931: frame_system::extensions::check_genesis::CheckGenesis<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckGenesis: 'Null',
|
||||
/**
|
||||
* Lookup933: frame_system::extensions::check_nonce::CheckNonce<T>
|
||||
* Lookup934: frame_system::extensions::check_nonce::CheckNonce<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
|
||||
/**
|
||||
* Lookup934: frame_system::extensions::check_weight::CheckWeight<T>
|
||||
* Lookup935: frame_system::extensions::check_weight::CheckWeight<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckWeight: 'Null',
|
||||
/**
|
||||
* Lookup935: pallet_asset_conversion_tx_payment::ChargeAssetTxPayment<T>
|
||||
* Lookup936: pallet_asset_conversion_tx_payment::ChargeAssetTxPayment<T>
|
||||
**/
|
||||
PalletAssetConversionTxPaymentChargeAssetTxPayment: {
|
||||
tip: 'Compact<u128>',
|
||||
|
||||
@@ -2248,6 +2248,12 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Para';
|
||||
}
|
||||
|
||||
/** @name SpConsensusBeefyEquivocationProof (451) */
|
||||
interface SpConsensusBeefyEquivocationProof extends Struct {
|
||||
readonly first: SpConsensusBeefyVoteMessage;
|
||||
readonly second: SpConsensusBeefyVoteMessage;
|
||||
}
|
||||
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletEvent (466) */
|
||||
interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
|
||||
readonly isClaimed: boolean;
|
||||
|
||||
@@ -1618,7 +1618,19 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly assetId: u32;
|
||||
readonly who: AccountId32;
|
||||
} & Struct;
|
||||
readonly type: 'Created' | 'Issued' | 'Transferred' | 'Burned' | 'TeamChanged' | 'OwnerChanged' | 'Frozen' | 'Thawed' | 'AssetFrozen' | 'AssetThawed' | 'AccountsDestroyed' | 'ApprovalsDestroyed' | 'DestructionStarted' | 'Destroyed' | 'ForceCreated' | 'MetadataSet' | 'MetadataCleared' | 'ApprovedTransfer' | 'ApprovalCancelled' | 'TransferredApproved' | 'AssetStatusChanged' | 'AssetMinBalanceChanged' | 'Touched' | 'Blocked';
|
||||
readonly isDeposited: boolean;
|
||||
readonly asDeposited: {
|
||||
readonly assetId: u32;
|
||||
readonly who: AccountId32;
|
||||
readonly amount: u128;
|
||||
} & Struct;
|
||||
readonly isWithdrawn: boolean;
|
||||
readonly asWithdrawn: {
|
||||
readonly assetId: u32;
|
||||
readonly who: AccountId32;
|
||||
readonly amount: u128;
|
||||
} & Struct;
|
||||
readonly type: 'Created' | 'Issued' | 'Transferred' | 'Burned' | 'TeamChanged' | 'OwnerChanged' | 'Frozen' | 'Thawed' | 'AssetFrozen' | 'AssetThawed' | 'AccountsDestroyed' | 'ApprovalsDestroyed' | 'DestructionStarted' | 'Destroyed' | 'ForceCreated' | 'MetadataSet' | 'MetadataCleared' | 'ApprovedTransfer' | 'ApprovalCancelled' | 'TransferredApproved' | 'AssetStatusChanged' | 'AssetMinBalanceChanged' | 'Touched' | 'Blocked' | 'Deposited' | 'Withdrawn';
|
||||
}
|
||||
|
||||
/** @name PalletLotteryEvent (108) */
|
||||
@@ -2700,7 +2712,12 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly direction: PalletBalancesAdjustmentDirection;
|
||||
readonly delta: Compact<u128>;
|
||||
} & Struct;
|
||||
readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance';
|
||||
readonly isBurn: boolean;
|
||||
readonly asBurn: {
|
||||
readonly value: Compact<u128>;
|
||||
readonly keepAlive: bool;
|
||||
} & Struct;
|
||||
readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance' | 'Burn';
|
||||
}
|
||||
|
||||
/** @name PalletBalancesAdjustmentDirection (168) */
|
||||
@@ -4199,12 +4216,12 @@ declare module '@polkadot/types/lookup' {
|
||||
interface PalletBeefyCall extends Enum {
|
||||
readonly isReportEquivocation: boolean;
|
||||
readonly asReportEquivocation: {
|
||||
readonly equivocationProof: SpConsensusBeefyEquivocationProof;
|
||||
readonly equivocationProof: SpConsensusBeefyDoubleVotingProof;
|
||||
readonly keyOwnerProof: SpSessionMembershipProof;
|
||||
} & Struct;
|
||||
readonly isReportEquivocationUnsigned: boolean;
|
||||
readonly asReportEquivocationUnsigned: {
|
||||
readonly equivocationProof: SpConsensusBeefyEquivocationProof;
|
||||
readonly equivocationProof: SpConsensusBeefyDoubleVotingProof;
|
||||
readonly keyOwnerProof: SpSessionMembershipProof;
|
||||
} & Struct;
|
||||
readonly isSetNewGenesis: boolean;
|
||||
@@ -4214,8 +4231,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'SetNewGenesis';
|
||||
}
|
||||
|
||||
/** @name SpConsensusBeefyEquivocationProof (334) */
|
||||
interface SpConsensusBeefyEquivocationProof extends Struct {
|
||||
/** @name SpConsensusBeefyDoubleVotingProof (334) */
|
||||
interface SpConsensusBeefyDoubleVotingProof extends Struct {
|
||||
readonly first: SpConsensusBeefyVoteMessage;
|
||||
readonly second: SpConsensusBeefyVoteMessage;
|
||||
}
|
||||
@@ -5547,7 +5564,12 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly sendTo: AccountId32;
|
||||
readonly keepAlive: bool;
|
||||
} & Struct;
|
||||
readonly type: 'CreatePool' | 'AddLiquidity' | 'RemoveLiquidity' | 'SwapExactTokensForTokens' | 'SwapTokensForExactTokens';
|
||||
readonly isTouch: boolean;
|
||||
readonly asTouch: {
|
||||
readonly asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
||||
readonly asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
||||
} & Struct;
|
||||
readonly type: 'CreatePool' | 'AddLiquidity' | 'RemoveLiquidity' | 'SwapExactTokensForTokens' | 'SwapTokensForExactTokens' | 'Touch';
|
||||
}
|
||||
|
||||
/** @name FrameSupportTokensFungibleUnionOfNativeOrWithId (413) */
|
||||
@@ -5700,7 +5722,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isStartSales: boolean;
|
||||
readonly asStartSales: {
|
||||
readonly initialPrice: u128;
|
||||
readonly coreCount: u16;
|
||||
readonly extraCores: u16;
|
||||
} & Struct;
|
||||
readonly isPurchase: boolean;
|
||||
readonly asPurchase: {
|
||||
@@ -5865,9 +5887,9 @@ declare module '@polkadot/types/lookup' {
|
||||
interface KitchensinkRuntimeRuntimeParameters extends Enum {
|
||||
readonly isStorage: boolean;
|
||||
readonly asStorage: KitchensinkRuntimeDynamicParamsStorageParameters;
|
||||
readonly isContract: boolean;
|
||||
readonly asContract: KitchensinkRuntimeDynamicParamsContractsParameters;
|
||||
readonly type: 'Storage' | 'Contract';
|
||||
readonly isContracts: boolean;
|
||||
readonly asContracts: KitchensinkRuntimeDynamicParamsContractsParameters;
|
||||
readonly type: 'Storage' | 'Contracts';
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeDynamicParamsStorageParameters (447) */
|
||||
@@ -5905,17 +5927,27 @@ declare module '@polkadot/types/lookup' {
|
||||
/** @name KitchensinkRuntimeDynamicParamsContractsDefaultDepositLimit (453) */
|
||||
type KitchensinkRuntimeDynamicParamsContractsDefaultDepositLimit = Null;
|
||||
|
||||
/** @name SpRuntimeBlakeTwo256 (454) */
|
||||
/** @name PalletAssetConversionOpsCall (454) */
|
||||
interface PalletAssetConversionOpsCall extends Enum {
|
||||
readonly isMigrateToNewAccount: boolean;
|
||||
readonly asMigrateToNewAccount: {
|
||||
readonly asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
||||
readonly asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId;
|
||||
} & Struct;
|
||||
readonly type: 'MigrateToNewAccount';
|
||||
}
|
||||
|
||||
/** @name SpRuntimeBlakeTwo256 (455) */
|
||||
type SpRuntimeBlakeTwo256 = Null;
|
||||
|
||||
/** @name PalletConvictionVotingTally (455) */
|
||||
/** @name PalletConvictionVotingTally (456) */
|
||||
interface PalletConvictionVotingTally extends Struct {
|
||||
readonly ayes: u128;
|
||||
readonly nays: u128;
|
||||
readonly support: u128;
|
||||
}
|
||||
|
||||
/** @name PalletRemarkEvent (456) */
|
||||
/** @name PalletRemarkEvent (457) */
|
||||
interface PalletRemarkEvent extends Enum {
|
||||
readonly isStored: boolean;
|
||||
readonly asStored: {
|
||||
@@ -5925,13 +5957,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Stored';
|
||||
}
|
||||
|
||||
/** @name PalletRootTestingEvent (457) */
|
||||
/** @name PalletRootTestingEvent (458) */
|
||||
interface PalletRootTestingEvent extends Enum {
|
||||
readonly isDefensiveTestCall: boolean;
|
||||
readonly type: 'DefensiveTestCall';
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingEvent (458) */
|
||||
/** @name PalletConvictionVotingEvent (459) */
|
||||
interface PalletConvictionVotingEvent extends Enum {
|
||||
readonly isDelegated: boolean;
|
||||
readonly asDelegated: ITuple<[AccountId32, AccountId32]>;
|
||||
@@ -5940,7 +5972,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Delegated' | 'Undelegated';
|
||||
}
|
||||
|
||||
/** @name PalletWhitelistEvent (459) */
|
||||
/** @name PalletWhitelistEvent (460) */
|
||||
interface PalletWhitelistEvent extends Enum {
|
||||
readonly isCallWhitelisted: boolean;
|
||||
readonly asCallWhitelisted: {
|
||||
@@ -5958,19 +5990,19 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'CallWhitelisted' | 'WhitelistedCallRemoved' | 'WhitelistedCallDispatched';
|
||||
}
|
||||
|
||||
/** @name FrameSupportDispatchPostDispatchInfo (461) */
|
||||
/** @name FrameSupportDispatchPostDispatchInfo (462) */
|
||||
interface FrameSupportDispatchPostDispatchInfo extends Struct {
|
||||
readonly actualWeight: Option<SpWeightsWeightV2Weight>;
|
||||
readonly paysFee: FrameSupportDispatchPays;
|
||||
}
|
||||
|
||||
/** @name SpRuntimeDispatchErrorWithPostInfo (463) */
|
||||
/** @name SpRuntimeDispatchErrorWithPostInfo (464) */
|
||||
interface SpRuntimeDispatchErrorWithPostInfo extends Struct {
|
||||
readonly postInfo: FrameSupportDispatchPostDispatchInfo;
|
||||
readonly error: SpRuntimeDispatchError;
|
||||
}
|
||||
|
||||
/** @name PalletAllianceEvent (465) */
|
||||
/** @name PalletAllianceEvent (466) */
|
||||
interface PalletAllianceEvent extends Enum {
|
||||
readonly isNewRuleSet: boolean;
|
||||
readonly asNewRuleSet: {
|
||||
@@ -6034,7 +6066,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NewRuleSet' | 'Announced' | 'AnnouncementRemoved' | 'MembersInitialized' | 'NewAllyJoined' | 'AllyElevated' | 'MemberRetirementPeriodStarted' | 'MemberRetired' | 'MemberKicked' | 'UnscrupulousItemAdded' | 'UnscrupulousItemRemoved' | 'AllianceDisbanded' | 'FellowAbdicated';
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsEvent (466) */
|
||||
/** @name PalletNominationPoolsEvent (467) */
|
||||
interface PalletNominationPoolsEvent extends Enum {
|
||||
readonly isCreated: boolean;
|
||||
readonly asCreated: {
|
||||
@@ -6138,14 +6170,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Created' | 'Bonded' | 'PaidOut' | 'Unbonded' | 'Withdrawn' | 'Destroyed' | 'StateChanged' | 'MemberRemoved' | 'RolesUpdated' | 'PoolSlashed' | 'UnbondingPoolSlashed' | 'PoolCommissionUpdated' | 'PoolMaxCommissionUpdated' | 'PoolCommissionChangeRateUpdated' | 'PoolCommissionClaimPermissionUpdated' | 'PoolCommissionClaimed' | 'MinBalanceDeficitAdjusted' | 'MinBalanceExcessAdjusted';
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveTally (468) */
|
||||
/** @name PalletRankedCollectiveTally (469) */
|
||||
interface PalletRankedCollectiveTally extends Struct {
|
||||
readonly bareAyes: u32;
|
||||
readonly ayes: u32;
|
||||
readonly nays: u32;
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveEvent (469) */
|
||||
/** @name PalletRankedCollectiveEvent (470) */
|
||||
interface PalletRankedCollectiveEvent extends Enum {
|
||||
readonly isMemberAdded: boolean;
|
||||
readonly asMemberAdded: {
|
||||
@@ -6176,7 +6208,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'MemberAdded' | 'RankChanged' | 'MemberRemoved' | 'Voted' | 'MemberExchanged';
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveVoteRecord (470) */
|
||||
/** @name PalletRankedCollectiveVoteRecord (471) */
|
||||
interface PalletRankedCollectiveVoteRecord extends Enum {
|
||||
readonly isAye: boolean;
|
||||
readonly asAye: u32;
|
||||
@@ -6185,7 +6217,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Aye' | 'Nay';
|
||||
}
|
||||
|
||||
/** @name PalletAssetConversionEvent (471) */
|
||||
/** @name PalletAssetConversionEvent (472) */
|
||||
interface PalletAssetConversionEvent extends Enum {
|
||||
readonly isPoolCreated: boolean;
|
||||
readonly asPoolCreated: {
|
||||
@@ -6229,10 +6261,15 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly amountOut: u128;
|
||||
readonly path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>>;
|
||||
} & Struct;
|
||||
readonly type: 'PoolCreated' | 'LiquidityAdded' | 'LiquidityRemoved' | 'SwapExecuted' | 'SwapCreditExecuted';
|
||||
readonly isTouched: boolean;
|
||||
readonly asTouched: {
|
||||
readonly poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
|
||||
readonly who: AccountId32;
|
||||
} & Struct;
|
||||
readonly type: 'PoolCreated' | 'LiquidityAdded' | 'LiquidityRemoved' | 'SwapExecuted' | 'SwapCreditExecuted' | 'Touched';
|
||||
}
|
||||
|
||||
/** @name PalletFastUnstakeEvent (476) */
|
||||
/** @name PalletFastUnstakeEvent (477) */
|
||||
interface PalletFastUnstakeEvent extends Enum {
|
||||
readonly isUnstaked: boolean;
|
||||
readonly asUnstaked: {
|
||||
@@ -6256,7 +6293,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Unstaked' | 'Slashed' | 'BatchChecked' | 'BatchFinished' | 'InternalError';
|
||||
}
|
||||
|
||||
/** @name PalletMessageQueueEvent (477) */
|
||||
/** @name PalletMessageQueueEvent (478) */
|
||||
interface PalletMessageQueueEvent extends Enum {
|
||||
readonly isProcessingFailed: boolean;
|
||||
readonly asProcessingFailed: {
|
||||
@@ -6286,7 +6323,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ProcessingFailed' | 'Processed' | 'OverweightEnqueued' | 'PageReaped';
|
||||
}
|
||||
|
||||
/** @name FrameSupportMessagesProcessMessageError (478) */
|
||||
/** @name FrameSupportMessagesProcessMessageError (479) */
|
||||
interface FrameSupportMessagesProcessMessageError extends Enum {
|
||||
readonly isBadFormat: boolean;
|
||||
readonly isCorrupt: boolean;
|
||||
@@ -6294,16 +6331,17 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isOverweight: boolean;
|
||||
readonly asOverweight: SpWeightsWeightV2Weight;
|
||||
readonly isYield: boolean;
|
||||
readonly type: 'BadFormat' | 'Corrupt' | 'Unsupported' | 'Overweight' | 'Yield';
|
||||
readonly isStackLimitReached: boolean;
|
||||
readonly type: 'BadFormat' | 'Corrupt' | 'Unsupported' | 'Overweight' | 'Yield' | 'StackLimitReached';
|
||||
}
|
||||
|
||||
/** @name FrameBenchmarkingPalletPovEvent (479) */
|
||||
/** @name FrameBenchmarkingPalletPovEvent (480) */
|
||||
interface FrameBenchmarkingPalletPovEvent extends Enum {
|
||||
readonly isTestEvent: boolean;
|
||||
readonly type: 'TestEvent';
|
||||
}
|
||||
|
||||
/** @name PalletTxPauseEvent (480) */
|
||||
/** @name PalletTxPauseEvent (481) */
|
||||
interface PalletTxPauseEvent extends Enum {
|
||||
readonly isCallPaused: boolean;
|
||||
readonly asCallPaused: {
|
||||
@@ -6316,7 +6354,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'CallPaused' | 'CallUnpaused';
|
||||
}
|
||||
|
||||
/** @name PalletSafeModeEvent (481) */
|
||||
/** @name PalletSafeModeEvent (482) */
|
||||
interface PalletSafeModeEvent extends Enum {
|
||||
readonly isEntered: boolean;
|
||||
readonly asEntered: {
|
||||
@@ -6350,14 +6388,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Entered' | 'Extended' | 'Exited' | 'DepositPlaced' | 'DepositReleased' | 'DepositSlashed' | 'CannotDeposit' | 'CannotRelease';
|
||||
}
|
||||
|
||||
/** @name PalletSafeModeExitReason (482) */
|
||||
/** @name PalletSafeModeExitReason (483) */
|
||||
interface PalletSafeModeExitReason extends Enum {
|
||||
readonly isTimeout: boolean;
|
||||
readonly isForce: boolean;
|
||||
readonly type: 'Timeout' | 'Force';
|
||||
}
|
||||
|
||||
/** @name PalletStatementEvent (483) */
|
||||
/** @name PalletStatementEvent (484) */
|
||||
interface PalletStatementEvent extends Enum {
|
||||
readonly isNewStatement: boolean;
|
||||
readonly asNewStatement: {
|
||||
@@ -6367,7 +6405,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NewStatement';
|
||||
}
|
||||
|
||||
/** @name SpStatementStoreStatement (484) */
|
||||
/** @name SpStatementStoreStatement (485) */
|
||||
interface SpStatementStoreStatement extends Struct {
|
||||
readonly proof: Option<SpStatementStoreProof>;
|
||||
readonly decryptionKey: Option<U8aFixed>;
|
||||
@@ -6378,7 +6416,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly data: Option<Bytes>;
|
||||
}
|
||||
|
||||
/** @name SpStatementStoreProof (486) */
|
||||
/** @name SpStatementStoreProof (487) */
|
||||
interface SpStatementStoreProof extends Enum {
|
||||
readonly isSr25519: boolean;
|
||||
readonly asSr25519: {
|
||||
@@ -6404,7 +6442,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Sr25519' | 'Ed25519' | 'Secp256k1Ecdsa' | 'OnChain';
|
||||
}
|
||||
|
||||
/** @name PalletMigrationsEvent (488) */
|
||||
/** @name PalletMigrationsEvent (489) */
|
||||
interface PalletMigrationsEvent extends Enum {
|
||||
readonly isUpgradeStarted: boolean;
|
||||
readonly asUpgradeStarted: {
|
||||
@@ -6438,7 +6476,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'UpgradeStarted' | 'UpgradeCompleted' | 'UpgradeFailed' | 'MigrationSkipped' | 'MigrationAdvanced' | 'MigrationCompleted' | 'MigrationFailed' | 'HistoricCleared';
|
||||
}
|
||||
|
||||
/** @name PalletBrokerEvent (489) */
|
||||
/** @name PalletBrokerEvent (490) */
|
||||
interface PalletBrokerEvent extends Enum {
|
||||
readonly isPurchased: boolean;
|
||||
readonly asPurchased: {
|
||||
@@ -6468,8 +6506,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asTransferred: {
|
||||
readonly regionId: PalletBrokerRegionId;
|
||||
readonly duration: u32;
|
||||
readonly oldOwner: AccountId32;
|
||||
readonly owner: AccountId32;
|
||||
readonly oldOwner: Option<AccountId32>;
|
||||
readonly owner: Option<AccountId32>;
|
||||
} & Struct;
|
||||
readonly isPartitioned: boolean;
|
||||
readonly asPartitioned: {
|
||||
@@ -6603,7 +6641,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Purchased' | 'Renewable' | 'Renewed' | 'Transferred' | 'Partitioned' | 'Interlaced' | 'Assigned' | 'Pooled' | 'CoreCountRequested' | 'CoreCountChanged' | 'ReservationMade' | 'ReservationCancelled' | 'SaleInitialized' | 'Leased' | 'LeaseEnding' | 'SalesStarted' | 'RevenueClaimBegun' | 'RevenueClaimItem' | 'RevenueClaimPaid' | 'CreditPurchased' | 'RegionDropped' | 'ContributionDropped' | 'HistoryInitialized' | 'HistoryDropped' | 'HistoryIgnored' | 'ClaimsReady' | 'CoreAssigned' | 'AllowedRenewalDropped';
|
||||
}
|
||||
|
||||
/** @name PalletParametersEvent (494) */
|
||||
/** @name PalletParametersEvent (495) */
|
||||
interface PalletParametersEvent extends Enum {
|
||||
readonly isUpdated: boolean;
|
||||
readonly asUpdated: {
|
||||
@@ -6614,23 +6652,23 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Updated';
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeRuntimeParametersKey (495) */
|
||||
/** @name KitchensinkRuntimeRuntimeParametersKey (496) */
|
||||
interface KitchensinkRuntimeRuntimeParametersKey extends Enum {
|
||||
readonly isStorage: boolean;
|
||||
readonly asStorage: KitchensinkRuntimeDynamicParamsStorageParametersKey;
|
||||
readonly isContract: boolean;
|
||||
readonly asContract: KitchensinkRuntimeDynamicParamsContractsParametersKey;
|
||||
readonly type: 'Storage' | 'Contract';
|
||||
readonly isContracts: boolean;
|
||||
readonly asContracts: KitchensinkRuntimeDynamicParamsContractsParametersKey;
|
||||
readonly type: 'Storage' | 'Contracts';
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeDynamicParamsStorageParametersKey (496) */
|
||||
/** @name KitchensinkRuntimeDynamicParamsStorageParametersKey (497) */
|
||||
interface KitchensinkRuntimeDynamicParamsStorageParametersKey extends Enum {
|
||||
readonly isBaseDeposit: boolean;
|
||||
readonly isByteDeposit: boolean;
|
||||
readonly type: 'BaseDeposit' | 'ByteDeposit';
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeDynamicParamsContractsParametersKey (497) */
|
||||
/** @name KitchensinkRuntimeDynamicParamsContractsParametersKey (498) */
|
||||
interface KitchensinkRuntimeDynamicParamsContractsParametersKey extends Enum {
|
||||
readonly isDepositPerItem: boolean;
|
||||
readonly isDepositPerByte: boolean;
|
||||
@@ -6638,16 +6676,16 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'DepositPerItem' | 'DepositPerByte' | 'DefaultDepositLimit';
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeRuntimeParametersValue (499) */
|
||||
/** @name KitchensinkRuntimeRuntimeParametersValue (500) */
|
||||
interface KitchensinkRuntimeRuntimeParametersValue extends Enum {
|
||||
readonly isStorage: boolean;
|
||||
readonly asStorage: KitchensinkRuntimeDynamicParamsStorageParametersValue;
|
||||
readonly isContract: boolean;
|
||||
readonly asContract: KitchensinkRuntimeDynamicParamsContractsParametersValue;
|
||||
readonly type: 'Storage' | 'Contract';
|
||||
readonly isContracts: boolean;
|
||||
readonly asContracts: KitchensinkRuntimeDynamicParamsContractsParametersValue;
|
||||
readonly type: 'Storage' | 'Contracts';
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeDynamicParamsStorageParametersValue (500) */
|
||||
/** @name KitchensinkRuntimeDynamicParamsStorageParametersValue (501) */
|
||||
interface KitchensinkRuntimeDynamicParamsStorageParametersValue extends Enum {
|
||||
readonly isBaseDeposit: boolean;
|
||||
readonly asBaseDeposit: u128;
|
||||
@@ -6656,7 +6694,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'BaseDeposit' | 'ByteDeposit';
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeDynamicParamsContractsParametersValue (501) */
|
||||
/** @name KitchensinkRuntimeDynamicParamsContractsParametersValue (502) */
|
||||
interface KitchensinkRuntimeDynamicParamsContractsParametersValue extends Enum {
|
||||
readonly isDepositPerItem: boolean;
|
||||
readonly asDepositPerItem: u128;
|
||||
@@ -6667,7 +6705,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'DepositPerItem' | 'DepositPerByte' | 'DefaultDepositLimit';
|
||||
}
|
||||
|
||||
/** @name PalletSkipFeelessPaymentEvent (502) */
|
||||
/** @name PalletSkipFeelessPaymentEvent (503) */
|
||||
interface PalletSkipFeelessPaymentEvent extends Enum {
|
||||
readonly isFeeSkipped: boolean;
|
||||
readonly asFeeSkipped: {
|
||||
@@ -6676,7 +6714,18 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'FeeSkipped';
|
||||
}
|
||||
|
||||
/** @name FrameSystemPhase (503) */
|
||||
/** @name PalletAssetConversionOpsEvent (504) */
|
||||
interface PalletAssetConversionOpsEvent extends Enum {
|
||||
readonly isMigratedToNewAccount: boolean;
|
||||
readonly asMigratedToNewAccount: {
|
||||
readonly poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
|
||||
readonly priorAccount: AccountId32;
|
||||
readonly newAccount: AccountId32;
|
||||
} & Struct;
|
||||
readonly type: 'MigratedToNewAccount';
|
||||
}
|
||||
|
||||
/** @name FrameSystemPhase (505) */
|
||||
interface FrameSystemPhase extends Enum {
|
||||
readonly isApplyExtrinsic: boolean;
|
||||
readonly asApplyExtrinsic: u32;
|
||||
@@ -6685,33 +6734,33 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
|
||||
}
|
||||
|
||||
/** @name FrameSystemLastRuntimeUpgradeInfo (505) */
|
||||
/** @name FrameSystemLastRuntimeUpgradeInfo (507) */
|
||||
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
|
||||
readonly specVersion: Compact<u32>;
|
||||
readonly specName: Text;
|
||||
}
|
||||
|
||||
/** @name FrameSystemCodeUpgradeAuthorization (507) */
|
||||
/** @name FrameSystemCodeUpgradeAuthorization (509) */
|
||||
interface FrameSystemCodeUpgradeAuthorization extends Struct {
|
||||
readonly codeHash: H256;
|
||||
readonly checkVersion: bool;
|
||||
}
|
||||
|
||||
/** @name FrameSystemLimitsBlockWeights (508) */
|
||||
/** @name FrameSystemLimitsBlockWeights (510) */
|
||||
interface FrameSystemLimitsBlockWeights extends Struct {
|
||||
readonly baseBlock: SpWeightsWeightV2Weight;
|
||||
readonly maxBlock: SpWeightsWeightV2Weight;
|
||||
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
|
||||
}
|
||||
|
||||
/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (509) */
|
||||
/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (511) */
|
||||
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
|
||||
readonly normal: FrameSystemLimitsWeightsPerClass;
|
||||
readonly operational: FrameSystemLimitsWeightsPerClass;
|
||||
readonly mandatory: FrameSystemLimitsWeightsPerClass;
|
||||
}
|
||||
|
||||
/** @name FrameSystemLimitsWeightsPerClass (510) */
|
||||
/** @name FrameSystemLimitsWeightsPerClass (512) */
|
||||
interface FrameSystemLimitsWeightsPerClass extends Struct {
|
||||
readonly baseExtrinsic: SpWeightsWeightV2Weight;
|
||||
readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
|
||||
@@ -6719,25 +6768,25 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly reserved: Option<SpWeightsWeightV2Weight>;
|
||||
}
|
||||
|
||||
/** @name FrameSystemLimitsBlockLength (511) */
|
||||
/** @name FrameSystemLimitsBlockLength (513) */
|
||||
interface FrameSystemLimitsBlockLength extends Struct {
|
||||
readonly max: FrameSupportDispatchPerDispatchClassU32;
|
||||
}
|
||||
|
||||
/** @name FrameSupportDispatchPerDispatchClassU32 (512) */
|
||||
/** @name FrameSupportDispatchPerDispatchClassU32 (514) */
|
||||
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
|
||||
readonly normal: u32;
|
||||
readonly operational: u32;
|
||||
readonly mandatory: u32;
|
||||
}
|
||||
|
||||
/** @name SpWeightsRuntimeDbWeight (513) */
|
||||
/** @name SpWeightsRuntimeDbWeight (515) */
|
||||
interface SpWeightsRuntimeDbWeight extends Struct {
|
||||
readonly read: u64;
|
||||
readonly write: u64;
|
||||
}
|
||||
|
||||
/** @name SpVersionRuntimeVersion (514) */
|
||||
/** @name SpVersionRuntimeVersion (516) */
|
||||
interface SpVersionRuntimeVersion extends Struct {
|
||||
readonly specName: Text;
|
||||
readonly implName: Text;
|
||||
@@ -6749,7 +6798,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly stateVersion: u8;
|
||||
}
|
||||
|
||||
/** @name FrameSystemError (518) */
|
||||
/** @name FrameSystemError (520) */
|
||||
interface FrameSystemError extends Enum {
|
||||
readonly isInvalidSpecName: boolean;
|
||||
readonly isSpecVersionNeedsToIncrease: boolean;
|
||||
@@ -6763,13 +6812,13 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered' | 'MultiBlockMigrationsOngoing' | 'NothingAuthorized' | 'Unauthorized';
|
||||
}
|
||||
|
||||
/** @name PalletUtilityError (519) */
|
||||
/** @name PalletUtilityError (521) */
|
||||
interface PalletUtilityError extends Enum {
|
||||
readonly isTooManyCalls: boolean;
|
||||
readonly type: 'TooManyCalls';
|
||||
}
|
||||
|
||||
/** @name SpConsensusBabeDigestsPreDigest (526) */
|
||||
/** @name SpConsensusBabeDigestsPreDigest (528) */
|
||||
interface SpConsensusBabeDigestsPreDigest extends Enum {
|
||||
readonly isPrimary: boolean;
|
||||
readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest;
|
||||
@@ -6780,39 +6829,39 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF';
|
||||
}
|
||||
|
||||
/** @name SpConsensusBabeDigestsPrimaryPreDigest (527) */
|
||||
/** @name SpConsensusBabeDigestsPrimaryPreDigest (529) */
|
||||
interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct {
|
||||
readonly authorityIndex: u32;
|
||||
readonly slot: u64;
|
||||
readonly vrfSignature: SpCoreSr25519VrfVrfSignature;
|
||||
}
|
||||
|
||||
/** @name SpCoreSr25519VrfVrfSignature (528) */
|
||||
/** @name SpCoreSr25519VrfVrfSignature (530) */
|
||||
interface SpCoreSr25519VrfVrfSignature extends Struct {
|
||||
readonly preOutput: U8aFixed;
|
||||
readonly proof: U8aFixed;
|
||||
}
|
||||
|
||||
/** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (529) */
|
||||
/** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (531) */
|
||||
interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct {
|
||||
readonly authorityIndex: u32;
|
||||
readonly slot: u64;
|
||||
}
|
||||
|
||||
/** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (530) */
|
||||
/** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (532) */
|
||||
interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct {
|
||||
readonly authorityIndex: u32;
|
||||
readonly slot: u64;
|
||||
readonly vrfSignature: SpCoreSr25519VrfVrfSignature;
|
||||
}
|
||||
|
||||
/** @name SpConsensusBabeBabeEpochConfiguration (531) */
|
||||
/** @name SpConsensusBabeBabeEpochConfiguration (533) */
|
||||
interface SpConsensusBabeBabeEpochConfiguration extends Struct {
|
||||
readonly c: ITuple<[u64, u64]>;
|
||||
readonly allowedSlots: SpConsensusBabeAllowedSlots;
|
||||
}
|
||||
|
||||
/** @name PalletBabeError (535) */
|
||||
/** @name PalletBabeError (537) */
|
||||
interface PalletBabeError extends Enum {
|
||||
readonly isInvalidEquivocationProof: boolean;
|
||||
readonly isInvalidKeyOwnershipProof: boolean;
|
||||
@@ -6821,7 +6870,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InvalidEquivocationProof' | 'InvalidKeyOwnershipProof' | 'DuplicateOffenceReport' | 'InvalidConfiguration';
|
||||
}
|
||||
|
||||
/** @name PalletIndicesError (537) */
|
||||
/** @name PalletIndicesError (539) */
|
||||
interface PalletIndicesError extends Enum {
|
||||
readonly isNotAssigned: boolean;
|
||||
readonly isNotOwner: boolean;
|
||||
@@ -6831,14 +6880,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotAssigned' | 'NotOwner' | 'InUse' | 'NotTransfer' | 'Permanent';
|
||||
}
|
||||
|
||||
/** @name PalletBalancesBalanceLock (539) */
|
||||
/** @name PalletBalancesBalanceLock (541) */
|
||||
interface PalletBalancesBalanceLock extends Struct {
|
||||
readonly id: U8aFixed;
|
||||
readonly amount: u128;
|
||||
readonly reasons: PalletBalancesReasons;
|
||||
}
|
||||
|
||||
/** @name PalletBalancesReasons (540) */
|
||||
/** @name PalletBalancesReasons (542) */
|
||||
interface PalletBalancesReasons extends Enum {
|
||||
readonly isFee: boolean;
|
||||
readonly isMisc: boolean;
|
||||
@@ -6846,19 +6895,19 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Fee' | 'Misc' | 'All';
|
||||
}
|
||||
|
||||
/** @name PalletBalancesReserveData (543) */
|
||||
/** @name PalletBalancesReserveData (545) */
|
||||
interface PalletBalancesReserveData extends Struct {
|
||||
readonly id: U8aFixed;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name PalletBalancesIdAmountRuntimeHoldReason (546) */
|
||||
/** @name PalletBalancesIdAmountRuntimeHoldReason (548) */
|
||||
interface PalletBalancesIdAmountRuntimeHoldReason extends Struct {
|
||||
readonly id: KitchensinkRuntimeRuntimeHoldReason;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeRuntimeHoldReason (547) */
|
||||
/** @name KitchensinkRuntimeRuntimeHoldReason (549) */
|
||||
interface KitchensinkRuntimeRuntimeHoldReason extends Enum {
|
||||
readonly isContracts: boolean;
|
||||
readonly asContracts: PalletContractsHoldReason;
|
||||
@@ -6877,69 +6926,69 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Contracts' | 'Preimage' | 'Nis' | 'NftFractionalization' | 'TransactionStorage' | 'StateTrieMigration' | 'SafeMode';
|
||||
}
|
||||
|
||||
/** @name PalletContractsHoldReason (548) */
|
||||
/** @name PalletContractsHoldReason (550) */
|
||||
interface PalletContractsHoldReason extends Enum {
|
||||
readonly isCodeUploadDepositReserve: boolean;
|
||||
readonly isStorageDepositReserve: boolean;
|
||||
readonly type: 'CodeUploadDepositReserve' | 'StorageDepositReserve';
|
||||
}
|
||||
|
||||
/** @name PalletPreimageHoldReason (549) */
|
||||
/** @name PalletPreimageHoldReason (551) */
|
||||
interface PalletPreimageHoldReason extends Enum {
|
||||
readonly isPreimage: boolean;
|
||||
readonly type: 'Preimage';
|
||||
}
|
||||
|
||||
/** @name PalletNisHoldReason (550) */
|
||||
/** @name PalletNisHoldReason (552) */
|
||||
interface PalletNisHoldReason extends Enum {
|
||||
readonly isNftReceipt: boolean;
|
||||
readonly type: 'NftReceipt';
|
||||
}
|
||||
|
||||
/** @name PalletNftFractionalizationHoldReason (551) */
|
||||
/** @name PalletNftFractionalizationHoldReason (553) */
|
||||
interface PalletNftFractionalizationHoldReason extends Enum {
|
||||
readonly isFractionalized: boolean;
|
||||
readonly type: 'Fractionalized';
|
||||
}
|
||||
|
||||
/** @name PalletTransactionStorageHoldReason (552) */
|
||||
/** @name PalletTransactionStorageHoldReason (554) */
|
||||
interface PalletTransactionStorageHoldReason extends Enum {
|
||||
readonly isStorageFeeHold: boolean;
|
||||
readonly type: 'StorageFeeHold';
|
||||
}
|
||||
|
||||
/** @name PalletStateTrieMigrationHoldReason (553) */
|
||||
/** @name PalletStateTrieMigrationHoldReason (555) */
|
||||
interface PalletStateTrieMigrationHoldReason extends Enum {
|
||||
readonly isSlashForMigrate: boolean;
|
||||
readonly type: 'SlashForMigrate';
|
||||
}
|
||||
|
||||
/** @name PalletSafeModeHoldReason (554) */
|
||||
/** @name PalletSafeModeHoldReason (556) */
|
||||
interface PalletSafeModeHoldReason extends Enum {
|
||||
readonly isEnterOrExtend: boolean;
|
||||
readonly type: 'EnterOrExtend';
|
||||
}
|
||||
|
||||
/** @name PalletBalancesIdAmountRuntimeFreezeReason (557) */
|
||||
/** @name PalletBalancesIdAmountRuntimeFreezeReason (559) */
|
||||
interface PalletBalancesIdAmountRuntimeFreezeReason extends Struct {
|
||||
readonly id: KitchensinkRuntimeRuntimeFreezeReason;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeRuntimeFreezeReason (558) */
|
||||
/** @name KitchensinkRuntimeRuntimeFreezeReason (560) */
|
||||
interface KitchensinkRuntimeRuntimeFreezeReason extends Enum {
|
||||
readonly isNominationPools: boolean;
|
||||
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
||||
readonly type: 'NominationPools';
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsFreezeReason (559) */
|
||||
/** @name PalletNominationPoolsFreezeReason (561) */
|
||||
interface PalletNominationPoolsFreezeReason extends Enum {
|
||||
readonly isPoolMinBalance: boolean;
|
||||
readonly type: 'PoolMinBalance';
|
||||
}
|
||||
|
||||
/** @name PalletBalancesError (561) */
|
||||
/** @name PalletBalancesError (563) */
|
||||
interface PalletBalancesError extends Enum {
|
||||
readonly isVestingBalance: boolean;
|
||||
readonly isLiquidityRestrictions: boolean;
|
||||
@@ -6956,27 +7005,27 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
||||
}
|
||||
|
||||
/** @name PalletTransactionPaymentReleases (562) */
|
||||
/** @name PalletTransactionPaymentReleases (564) */
|
||||
interface PalletTransactionPaymentReleases extends Enum {
|
||||
readonly isV1Ancient: boolean;
|
||||
readonly isV2: boolean;
|
||||
readonly type: 'V1Ancient' | 'V2';
|
||||
}
|
||||
|
||||
/** @name PalletElectionProviderMultiPhaseReadySolution (563) */
|
||||
/** @name PalletElectionProviderMultiPhaseReadySolution (565) */
|
||||
interface PalletElectionProviderMultiPhaseReadySolution extends Struct {
|
||||
readonly supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>;
|
||||
readonly score: SpNposElectionsElectionScore;
|
||||
readonly compute: PalletElectionProviderMultiPhaseElectionCompute;
|
||||
}
|
||||
|
||||
/** @name PalletElectionProviderMultiPhaseRoundSnapshot (565) */
|
||||
/** @name PalletElectionProviderMultiPhaseRoundSnapshot (567) */
|
||||
interface PalletElectionProviderMultiPhaseRoundSnapshot extends Struct {
|
||||
readonly voters: Vec<ITuple<[AccountId32, u64, Vec<AccountId32>]>>;
|
||||
readonly targets: Vec<AccountId32>;
|
||||
}
|
||||
|
||||
/** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (572) */
|
||||
/** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (574) */
|
||||
interface PalletElectionProviderMultiPhaseSignedSignedSubmission extends Struct {
|
||||
readonly who: AccountId32;
|
||||
readonly deposit: u128;
|
||||
@@ -6984,7 +7033,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly callFee: u128;
|
||||
}
|
||||
|
||||
/** @name PalletElectionProviderMultiPhaseError (573) */
|
||||
/** @name PalletElectionProviderMultiPhaseError (575) */
|
||||
interface PalletElectionProviderMultiPhaseError extends Enum {
|
||||
readonly isPreDispatchEarlySubmission: boolean;
|
||||
readonly isPreDispatchWrongWinnerCount: boolean;
|
||||
@@ -7004,7 +7053,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'PreDispatchEarlySubmission' | 'PreDispatchWrongWinnerCount' | 'PreDispatchWeakSubmission' | 'SignedQueueFull' | 'SignedCannotPayDeposit' | 'SignedInvalidWitness' | 'SignedTooMuchWeight' | 'OcwCallWrongEra' | 'MissingSnapshotMetadata' | 'InvalidSubmissionIndex' | 'CallNotAllowed' | 'FallbackFailed' | 'BoundNotMet' | 'TooManyWinners' | 'PreDispatchDifferentRound';
|
||||
}
|
||||
|
||||
/** @name PalletStakingStakingLedger (574) */
|
||||
/** @name PalletStakingStakingLedger (576) */
|
||||
interface PalletStakingStakingLedger extends Struct {
|
||||
readonly stash: AccountId32;
|
||||
readonly total: Compact<u128>;
|
||||
@@ -7013,20 +7062,20 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly legacyClaimedRewards: Vec<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingNominations (576) */
|
||||
/** @name PalletStakingNominations (578) */
|
||||
interface PalletStakingNominations extends Struct {
|
||||
readonly targets: Vec<AccountId32>;
|
||||
readonly submittedIn: u32;
|
||||
readonly suppressed: bool;
|
||||
}
|
||||
|
||||
/** @name PalletStakingActiveEraInfo (577) */
|
||||
/** @name PalletStakingActiveEraInfo (579) */
|
||||
interface PalletStakingActiveEraInfo extends Struct {
|
||||
readonly index: u32;
|
||||
readonly start: Option<u64>;
|
||||
}
|
||||
|
||||
/** @name SpStakingPagedExposureMetadata (580) */
|
||||
/** @name SpStakingPagedExposureMetadata (582) */
|
||||
interface SpStakingPagedExposureMetadata extends Struct {
|
||||
readonly total: Compact<u128>;
|
||||
readonly own: Compact<u128>;
|
||||
@@ -7034,19 +7083,19 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly pageCount: u32;
|
||||
}
|
||||
|
||||
/** @name SpStakingExposurePage (582) */
|
||||
/** @name SpStakingExposurePage (584) */
|
||||
interface SpStakingExposurePage extends Struct {
|
||||
readonly pageTotal: Compact<u128>;
|
||||
readonly others: Vec<SpStakingIndividualExposure>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingEraRewardPoints (583) */
|
||||
/** @name PalletStakingEraRewardPoints (585) */
|
||||
interface PalletStakingEraRewardPoints extends Struct {
|
||||
readonly total: u32;
|
||||
readonly individual: BTreeMap<AccountId32, u32>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingUnappliedSlash (588) */
|
||||
/** @name PalletStakingUnappliedSlash (590) */
|
||||
interface PalletStakingUnappliedSlash extends Struct {
|
||||
readonly validator: AccountId32;
|
||||
readonly own: u128;
|
||||
@@ -7055,7 +7104,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly payout: u128;
|
||||
}
|
||||
|
||||
/** @name PalletStakingSlashingSlashingSpans (590) */
|
||||
/** @name PalletStakingSlashingSlashingSpans (592) */
|
||||
interface PalletStakingSlashingSlashingSpans extends Struct {
|
||||
readonly spanIndex: u32;
|
||||
readonly lastStart: u32;
|
||||
@@ -7063,7 +7112,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly prior: Vec<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletStakingSlashingSpanRecord (591) */
|
||||
/** @name PalletStakingSlashingSpanRecord (593) */
|
||||
interface PalletStakingSlashingSpanRecord extends Struct {
|
||||
readonly slashed: u128;
|
||||
readonly paidOut: u128;
|
||||
@@ -7099,7 +7148,10 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isBoundNotMet: boolean;
|
||||
readonly isControllerDeprecated: boolean;
|
||||
readonly isCannotRestoreLedger: boolean;
|
||||
readonly type: 'NotController' | 'NotStash' | 'AlreadyBonded' | 'AlreadyPaired' | 'EmptyTargets' | 'DuplicateIndex' | 'InvalidSlashIndex' | 'InsufficientBond' | 'NoMoreChunks' | 'NoUnlockChunk' | 'FundedTarget' | 'InvalidEraToReward' | 'InvalidNumberOfNominations' | 'NotSortedAndUnique' | 'AlreadyClaimed' | 'InvalidPage' | 'IncorrectHistoryDepth' | 'IncorrectSlashingSpans' | 'BadState' | 'TooManyTargets' | 'BadTarget' | 'CannotChillOther' | 'TooManyNominators' | 'TooManyValidators' | 'CommissionTooLow' | 'BoundNotMet' | 'ControllerDeprecated' | 'CannotRestoreLedger';
|
||||
readonly isRewardDestinationRestricted: boolean;
|
||||
readonly isNotEnoughFunds: boolean;
|
||||
readonly isVirtualStakerNotAllowed: boolean;
|
||||
readonly type: 'NotController' | 'NotStash' | 'AlreadyBonded' | 'AlreadyPaired' | 'EmptyTargets' | 'DuplicateIndex' | 'InvalidSlashIndex' | 'InsufficientBond' | 'NoMoreChunks' | 'NoUnlockChunk' | 'FundedTarget' | 'InvalidEraToReward' | 'InvalidNumberOfNominations' | 'NotSortedAndUnique' | 'AlreadyClaimed' | 'InvalidPage' | 'IncorrectHistoryDepth' | 'IncorrectSlashingSpans' | 'BadState' | 'TooManyTargets' | 'BadTarget' | 'CannotChillOther' | 'TooManyNominators' | 'TooManyValidators' | 'CommissionTooLow' | 'BoundNotMet' | 'ControllerDeprecated' | 'CannotRestoreLedger' | 'RewardDestinationRestricted' | 'NotEnoughFunds' | 'VirtualStakerNotAllowed';
|
||||
}
|
||||
|
||||
/** @name SpCoreCryptoKeyTypeId (598) */
|
||||
@@ -9036,7 +9088,7 @@ declare module '@polkadot/types/lookup' {
|
||||
/** @name PalletBrokerRegionRecord (917) */
|
||||
interface PalletBrokerRegionRecord extends Struct {
|
||||
readonly end: u32;
|
||||
readonly owner: AccountId32;
|
||||
readonly owner: Option<AccountId32>;
|
||||
readonly paid: Option<u128>;
|
||||
}
|
||||
|
||||
@@ -9089,7 +9141,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isUnknownRenewal: boolean;
|
||||
readonly isAlreadyExpired: boolean;
|
||||
readonly isInvalidConfig: boolean;
|
||||
readonly type: 'UnknownRegion' | 'NotOwner' | 'PivotTooLate' | 'PivotTooEarly' | 'ExteriorPivot' | 'VoidPivot' | 'CompletePivot' | 'CorruptWorkplan' | 'NoSales' | 'Overpriced' | 'Unavailable' | 'SoldOut' | 'WrongTime' | 'NotAllowed' | 'Uninitialized' | 'TooEarly' | 'NothingToDo' | 'TooManyReservations' | 'TooManyLeases' | 'UnknownRevenue' | 'UnknownContribution' | 'IncompleteAssignment' | 'StillValid' | 'NoHistory' | 'UnknownReservation' | 'UnknownRenewal' | 'AlreadyExpired' | 'InvalidConfig';
|
||||
readonly isNoClaimTimeslices: boolean;
|
||||
readonly type: 'UnknownRegion' | 'NotOwner' | 'PivotTooLate' | 'PivotTooEarly' | 'ExteriorPivot' | 'VoidPivot' | 'CompletePivot' | 'CorruptWorkplan' | 'NoSales' | 'Overpriced' | 'Unavailable' | 'SoldOut' | 'WrongTime' | 'NotAllowed' | 'Uninitialized' | 'TooEarly' | 'NothingToDo' | 'TooManyReservations' | 'TooManyLeases' | 'UnknownRevenue' | 'UnknownContribution' | 'IncompleteAssignment' | 'StillValid' | 'NoHistory' | 'UnknownReservation' | 'UnknownRenewal' | 'AlreadyExpired' | 'InvalidConfig' | 'NoClaimTimeslices';
|
||||
}
|
||||
|
||||
/** @name PalletExampleTasksError (924) */
|
||||
@@ -9098,25 +9151,34 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotFound';
|
||||
}
|
||||
|
||||
/** @name FrameSystemExtensionsCheckNonZeroSender (927) */
|
||||
/** @name PalletAssetConversionOpsError (925) */
|
||||
interface PalletAssetConversionOpsError extends Enum {
|
||||
readonly isInvalidAssetPair: boolean;
|
||||
readonly isPoolNotFound: boolean;
|
||||
readonly isZeroBalance: boolean;
|
||||
readonly isPartialTransfer: boolean;
|
||||
readonly type: 'InvalidAssetPair' | 'PoolNotFound' | 'ZeroBalance' | 'PartialTransfer';
|
||||
}
|
||||
|
||||
/** @name FrameSystemExtensionsCheckNonZeroSender (928) */
|
||||
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckSpecVersion (928) */
|
||||
/** @name FrameSystemExtensionsCheckSpecVersion (929) */
|
||||
type FrameSystemExtensionsCheckSpecVersion = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckTxVersion (929) */
|
||||
/** @name FrameSystemExtensionsCheckTxVersion (930) */
|
||||
type FrameSystemExtensionsCheckTxVersion = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckGenesis (930) */
|
||||
/** @name FrameSystemExtensionsCheckGenesis (931) */
|
||||
type FrameSystemExtensionsCheckGenesis = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckNonce (933) */
|
||||
/** @name FrameSystemExtensionsCheckNonce (934) */
|
||||
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
|
||||
|
||||
/** @name FrameSystemExtensionsCheckWeight (934) */
|
||||
/** @name FrameSystemExtensionsCheckWeight (935) */
|
||||
type FrameSystemExtensionsCheckWeight = Null;
|
||||
|
||||
/** @name PalletAssetConversionTxPaymentChargeAssetTxPayment (935) */
|
||||
/** @name PalletAssetConversionTxPaymentChargeAssetTxPayment (936) */
|
||||
interface PalletAssetConversionTxPaymentChargeAssetTxPayment extends Struct {
|
||||
readonly tip: Compact<u128>;
|
||||
readonly assetId: Option<u32>;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^12.6.2",
|
||||
@@ -26,9 +26,9 @@
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-augment": "11.0.2",
|
||||
"@polkadot/types-support": "11.0.2",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-augment": "11.2.1",
|
||||
"@polkadot/types-support": "11.2.1",
|
||||
"@polkadot/util-crypto": "^12.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "11.0.2"
|
||||
"@polkadot/types": "11.2.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: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^12.6.2",
|
||||
"@polkadot/types": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/types-create": "11.0.2",
|
||||
"@polkadot/types": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/types-create": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "11.0.2"
|
||||
"@polkadot/api": "11.2.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: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -4860,5 +4860,169 @@ export const upgrades: ChainUpgradesExpanded = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
22790000,
|
||||
1002000,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"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
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
23176015,
|
||||
1002001,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"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
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
@@ -5502,5 +5502,91 @@ export const upgrades: ChainUpgradesExpanded = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
20649086,
|
||||
1011000,
|
||||
[
|
||||
[
|
||||
"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
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
@@ -21,5 +21,5 @@ export const upgrades: ChainUpgradesRaw = [
|
||||
// we have 9340 via system.setStorage (whitelist.WhitelistedCallDispatched event)
|
||||
[15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381],
|
||||
[18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002],
|
||||
[22515962, 1001003]
|
||||
[22515962, 1001003], [22790000, 1002000], [23176015, 1002001]
|
||||
];
|
||||
|
||||
@@ -21,5 +21,5 @@ 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]
|
||||
[20368318, 1010000], [20649086, 1011000]
|
||||
];
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^12.6.2",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -173,7 +173,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 13,
|
||||
"value": 504
|
||||
"value": 506
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -194,7 +194,7 @@
|
||||
"name": "LastRuntimeUpgrade",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 505
|
||||
"plain": 507
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -228,7 +228,7 @@
|
||||
"name": "ExecutionPhase",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 503
|
||||
"plain": 505
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -239,7 +239,7 @@
|
||||
"name": "AuthorizedUpgrade",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 507
|
||||
"plain": 509
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -257,15 +257,15 @@
|
||||
"constants": [
|
||||
{
|
||||
"name": "BlockWeights",
|
||||
"type": 508,
|
||||
"value": "0x025b1f5d000b00204aa9d10113ffffffffffffffffc2a0a91d00010bd05f9fa62e011366666666666666a6010b0098f73e5d0113ffffffffffffffbf010000c2a0a91d00010bd0e7f110a3011366666666666666e6010b00204aa9d10113ffffffffffffffff01070088526a74130000000000000040c2a0a91d00000000",
|
||||
"type": 510,
|
||||
"value": "0x624d186c000b00204aa9d10113ffffffffffffffff4247871900010b30f6a7a72e011366666666666666a6010b0098f73e5d0113ffffffffffffffbf0100004247871900010b307efa11a3011366666666666666e6010b00204aa9d10113ffffffffffffffff01070088526a741300000000000000404247871900000000",
|
||||
"docs": [
|
||||
" Block & extrinsics weights: base values and limits."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "BlockLength",
|
||||
"type": 511,
|
||||
"type": 513,
|
||||
"value": "0x00003c000000500000005000",
|
||||
"docs": [
|
||||
" The maximum length of a block (in bytes)."
|
||||
@@ -281,7 +281,7 @@
|
||||
},
|
||||
{
|
||||
"name": "DbWeight",
|
||||
"type": 513,
|
||||
"type": 515,
|
||||
"value": "0x40787d010000000000e1f50500000000",
|
||||
"docs": [
|
||||
" The weight of runtime database operations the runtime can invoke."
|
||||
@@ -289,7 +289,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Version",
|
||||
"type": 514,
|
||||
"type": 516,
|
||||
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000c010000000000005cdf6acb689907609b0500000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000be9fb0c91a8046cf01000000f78b278be53f454c02000000ed99c5acb25eedf50300000017a6bc0d0062aeb30100000018ef58a3b67ba77001000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f010000008453b50b222939770100000068b66ba122c93fa70200000037c8bb1350a9a2a8040000008a8047a53a8277ec01000000f3ff14d5ab52705903000000899a250cbe84f2500100000049eaaf1b548a0cb00300000091d5df18b0d2cf58020000006fd7c327202e4a8d01000000ab3c0572291feb8b01000000fbc577b9d747efd6010000000200000001",
|
||||
"docs": [
|
||||
" Get the chain's in-code version."
|
||||
@@ -309,7 +309,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 518
|
||||
"type": 520
|
||||
},
|
||||
"index": 0
|
||||
},
|
||||
@@ -333,7 +333,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 519
|
||||
"type": 521
|
||||
},
|
||||
"index": 1
|
||||
},
|
||||
@@ -357,7 +357,7 @@
|
||||
"name": "Authorities",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 520
|
||||
"plain": 522
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -433,7 +433,7 @@
|
||||
"name": "NextAuthorities",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 520
|
||||
"plain": 522
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -468,7 +468,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 523
|
||||
"value": 525
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -480,7 +480,7 @@
|
||||
"name": "Initialized",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 525
|
||||
"plain": 527
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -536,7 +536,7 @@
|
||||
"name": "EpochConfig",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 531
|
||||
"plain": 533
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -548,7 +548,7 @@
|
||||
"name": "NextEpochConfig",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 531
|
||||
"plain": 533
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -560,7 +560,7 @@
|
||||
"name": "SkippedEpochs",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 532
|
||||
"plain": 534
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -621,7 +621,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 535
|
||||
"type": 537
|
||||
},
|
||||
"index": 2
|
||||
},
|
||||
@@ -717,7 +717,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 536
|
||||
"value": 538
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -744,7 +744,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 537
|
||||
"type": 539
|
||||
},
|
||||
"index": 5
|
||||
},
|
||||
@@ -824,7 +824,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 538
|
||||
"value": 540
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -844,7 +844,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 542
|
||||
"value": 544
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -863,7 +863,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 545
|
||||
"value": 547
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -880,7 +880,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 556
|
||||
"value": 558
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -943,7 +943,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 561
|
||||
"type": 563
|
||||
},
|
||||
"index": 6
|
||||
},
|
||||
@@ -965,7 +965,7 @@
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 562
|
||||
"plain": 564
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": []
|
||||
@@ -1067,7 +1067,7 @@
|
||||
"name": "QueuedSolution",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 563
|
||||
"plain": 565
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1080,7 +1080,7 @@
|
||||
"name": "Snapshot",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 565
|
||||
"plain": 567
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1141,7 +1141,7 @@
|
||||
"name": "SignedSubmissionIndices",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 569
|
||||
"plain": 571
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1162,7 +1162,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 572
|
||||
"value": 574
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1244,7 +1244,7 @@
|
||||
{
|
||||
"name": "SignedMaxWeight",
|
||||
"type": 10,
|
||||
"value": "0x0b1089578f2e011366666666666666a6",
|
||||
"value": "0x0bd8e2a18c2e011366666666666666a6",
|
||||
"docs": [
|
||||
" Maximum weight of a signed solution.",
|
||||
"",
|
||||
@@ -1305,7 +1305,7 @@
|
||||
{
|
||||
"name": "MinerMaxWeight",
|
||||
"type": 10,
|
||||
"value": "0x0b1089578f2e011366666666666666a6",
|
||||
"value": "0x0bd8e2a18c2e011366666666666666a6",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -1322,7 +1322,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 573
|
||||
"type": 575
|
||||
},
|
||||
"index": 10
|
||||
},
|
||||
@@ -1440,7 +1440,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 574
|
||||
"value": 576
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1522,7 +1522,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 576
|
||||
"value": 578
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1559,6 +1559,39 @@
|
||||
"Counter for the related counted storage map"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "VirtualStakers",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"map": {
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 33
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" 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."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CounterForVirtualStakers",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 4
|
||||
},
|
||||
"fallback": "0x00000000",
|
||||
"docs": [
|
||||
"Counter for the related counted storage map"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxNominatorsCount",
|
||||
"modifier": "Optional",
|
||||
@@ -1590,7 +1623,7 @@
|
||||
"name": "ActiveEra",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 577
|
||||
"plain": 579
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1629,7 +1662,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 80
|
||||
}
|
||||
},
|
||||
@@ -1654,8 +1687,8 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"value": 580
|
||||
"key": 581,
|
||||
"value": 582
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1683,7 +1716,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 80
|
||||
}
|
||||
},
|
||||
@@ -1717,8 +1750,8 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 581,
|
||||
"value": 582
|
||||
"key": 583,
|
||||
"value": 584
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1740,7 +1773,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 114
|
||||
}
|
||||
},
|
||||
@@ -1763,7 +1796,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 50
|
||||
}
|
||||
},
|
||||
@@ -1804,7 +1837,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 583
|
||||
"value": 585
|
||||
}
|
||||
},
|
||||
"fallback": "0x0000000000",
|
||||
@@ -1889,7 +1922,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 587
|
||||
"value": 589
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1901,7 +1934,7 @@
|
||||
"name": "BondedEras",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 504
|
||||
"plain": 506
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1920,8 +1953,8 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"value": 589
|
||||
"key": 581,
|
||||
"value": 591
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1939,7 +1972,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
@@ -1957,7 +1990,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 590
|
||||
"value": 592
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1973,8 +2006,8 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 586,
|
||||
"value": 591
|
||||
"key": 588,
|
||||
"value": 593
|
||||
}
|
||||
},
|
||||
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
@@ -1997,22 +2030,20 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "OffendingValidators",
|
||||
"name": "DisabledValidators",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 592
|
||||
"plain": 114
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Indices of validators that have offended in the active era and whether they are currently",
|
||||
" disabled.",
|
||||
" 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.",
|
||||
"",
|
||||
" 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."
|
||||
" The vec is always kept sorted so that we can find whether a given validator has previously",
|
||||
" offended using binary search."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -3240,7 +3271,7 @@
|
||||
"constants": [
|
||||
{
|
||||
"name": "ProposalBond",
|
||||
"type": 473,
|
||||
"type": 474,
|
||||
"value": "0x50c30000",
|
||||
"docs": [
|
||||
" Fraction of a proposal's value that should be bonded in order to place the proposal.",
|
||||
@@ -3273,7 +3304,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Burn",
|
||||
"type": 473,
|
||||
"type": 474,
|
||||
"value": "0x20a10700",
|
||||
"docs": [
|
||||
" Percentage of spare funds (if any) that are burnt per spend period."
|
||||
@@ -3495,7 +3526,7 @@
|
||||
{
|
||||
"name": "Schedule",
|
||||
"type": 648,
|
||||
"value": "0x0400000010000000200000000040000000000008b109000042bc140018d2e3d706f1296eed0e07012a1eae1a0018bab30a000c7ac509000c5af5140018928116001872eb640018c65214001846bb1300182ed1130018ee21140018d64e3200388654100018c10f001afb9200b405050007e913de3801a6f604006ea64e00284e057c0028b2167f1e31274d08005ecb0d001c211000f25c571f9504490800210b048e23514849308ae5531f8504d50404b28c23078504000456fe3007a5041d0904a6c25b1fa504e1080492ede1256127ae2d4c77852a0aa1a1653529cad8d694ad51f90f003eb763f5ad2a0265cd1dd527810d0011110072fa160020511100021b3000205d3400ead21a0020c91200ca561b0020d112004ea1f60a3501e63cdf02a8dea0ea09c1014d5d048a310a000c360f1300a02a7e09000cd605691fbd28c6883d1f2128",
|
||||
"value": "0x0400000010000000200000000040000000000008b50900002e3c0f0000cef8c106e127ae84f406552982a81400001e4206000016f00400007a3d0f000072251100001a0368000046180e00006aa50e0000a67d0f0000161d0f0000b24f2b000082650a00002d1500d6a94c0000f90400075e1f773901a6f60400ca2e480000bebf6e0000d6c4681ead26490900b6100600005d0f008a4b131f5d028d0400a8045698d9479d2f2a71121f5d028501043eb60e075d02c10104ee0116075d02a50904f60e191f5d02010a04d288f325ad2622d2d3755929b6b5f1635d28e220754509369906008af6bdcda129fef4c41ed5271110005512000a35100000ad10001a2b290000013400ae13140000b11200dad3130000bd12001a23dd0a00f6c6c502006e7af40a007d480062220a000c2e120500003ab104000036a2121fe527b25ddf1e2128",
|
||||
"docs": [
|
||||
" Cost schedule and limits."
|
||||
]
|
||||
@@ -3610,7 +3641,7 @@
|
||||
{
|
||||
"name": "ApiVersion",
|
||||
"type": 659,
|
||||
"value": "0x0200",
|
||||
"value": "0x0300",
|
||||
"docs": [
|
||||
" The version of the HostFn APIs that are available in the runtime.",
|
||||
"",
|
||||
@@ -3717,7 +3748,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
@@ -4030,7 +4061,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 87,
|
||||
"value": 586
|
||||
"value": 588
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -4393,7 +4424,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 700
|
||||
}
|
||||
},
|
||||
@@ -5216,7 +5247,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CuratorDepositMultiplier",
|
||||
"type": 473,
|
||||
"type": 474,
|
||||
"value": "0x20a10700",
|
||||
"docs": [
|
||||
" The curator deposit is calculated as a percentage of the curator fee.",
|
||||
@@ -5411,7 +5442,7 @@
|
||||
"Blake2_128Concat",
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 749
|
||||
}
|
||||
},
|
||||
@@ -5564,7 +5595,7 @@
|
||||
"Blake2_128Concat",
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 749
|
||||
}
|
||||
},
|
||||
@@ -6268,7 +6299,7 @@
|
||||
"Blake2_128Concat",
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 586,
|
||||
"key": 588,
|
||||
"value": 33
|
||||
}
|
||||
},
|
||||
@@ -6533,7 +6564,7 @@
|
||||
"Blake2_128Concat",
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 586,
|
||||
"key": 588,
|
||||
"value": 33
|
||||
}
|
||||
},
|
||||
@@ -6552,7 +6583,7 @@
|
||||
"Blake2_128Concat",
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"key": 581,
|
||||
"value": 785
|
||||
}
|
||||
},
|
||||
@@ -7684,7 +7715,7 @@
|
||||
"type": 380
|
||||
},
|
||||
"events": {
|
||||
"type": 456
|
||||
"type": 457
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -7699,7 +7730,7 @@
|
||||
"type": 381
|
||||
},
|
||||
"events": {
|
||||
"type": 457
|
||||
"type": 458
|
||||
},
|
||||
"constants": [],
|
||||
"errors": null,
|
||||
@@ -7754,7 +7785,7 @@
|
||||
"type": 382
|
||||
},
|
||||
"events": {
|
||||
"type": 458
|
||||
"type": 459
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -7811,7 +7842,7 @@
|
||||
"type": 386
|
||||
},
|
||||
"events": {
|
||||
"type": 459
|
||||
"type": 460
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -7908,7 +7939,7 @@
|
||||
"type": 387
|
||||
},
|
||||
"events": {
|
||||
"type": 464
|
||||
"type": 465
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -8034,7 +8065,7 @@
|
||||
"type": 388
|
||||
},
|
||||
"events": {
|
||||
"type": 465
|
||||
"type": 466
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -8389,7 +8420,7 @@
|
||||
"type": 397
|
||||
},
|
||||
"events": {
|
||||
"type": 466
|
||||
"type": 467
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -8531,7 +8562,7 @@
|
||||
"type": 410
|
||||
},
|
||||
"events": {
|
||||
"type": 467
|
||||
"type": 468
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -8669,8 +8700,8 @@
|
||||
"Blake2_128Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 579,
|
||||
"value": 470
|
||||
"key": 581,
|
||||
"value": 471
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -8699,7 +8730,7 @@
|
||||
"type": 411
|
||||
},
|
||||
"events": {
|
||||
"type": 469
|
||||
"type": 470
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
@@ -8720,7 +8751,7 @@
|
||||
"hashers": [
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 472,
|
||||
"key": 473,
|
||||
"value": 892
|
||||
}
|
||||
},
|
||||
@@ -8748,7 +8779,7 @@
|
||||
"type": 412
|
||||
},
|
||||
"events": {
|
||||
"type": 471
|
||||
"type": 472
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -8777,7 +8808,7 @@
|
||||
},
|
||||
{
|
||||
"name": "LiquidityWithdrawalFee",
|
||||
"type": 473,
|
||||
"type": 474,
|
||||
"value": "0x00000000",
|
||||
"docs": [
|
||||
" A fee to withdraw the liquidity."
|
||||
@@ -8885,7 +8916,7 @@
|
||||
"type": 415
|
||||
},
|
||||
"events": {
|
||||
"type": 476
|
||||
"type": 477
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -8960,7 +8991,7 @@
|
||||
"type": 416
|
||||
},
|
||||
"events": {
|
||||
"type": 477
|
||||
"type": 478
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -8987,7 +9018,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ServiceWeight",
|
||||
"type": 462,
|
||||
"type": 463,
|
||||
"value": "0x010700a0db215d133333333333333333",
|
||||
"docs": [
|
||||
" The amount of weight (if any) which should be provided to the message queue for",
|
||||
@@ -9000,7 +9031,7 @@
|
||||
},
|
||||
{
|
||||
"name": "IdleMaxServiceWeight",
|
||||
"type": 462,
|
||||
"type": 463,
|
||||
"value": "0x00",
|
||||
"docs": [
|
||||
" The maximum amount of weight (if any) to be used from remaining weight `on_idle` which",
|
||||
@@ -9182,7 +9213,7 @@
|
||||
"type": 417
|
||||
},
|
||||
"events": {
|
||||
"type": 479
|
||||
"type": 480
|
||||
},
|
||||
"constants": [],
|
||||
"errors": null,
|
||||
@@ -9216,7 +9247,7 @@
|
||||
"type": 418
|
||||
},
|
||||
"events": {
|
||||
"type": 480
|
||||
"type": 481
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -9264,7 +9295,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 586,
|
||||
"key": 588,
|
||||
"value": 6
|
||||
}
|
||||
},
|
||||
@@ -9282,7 +9313,7 @@
|
||||
"type": 420
|
||||
},
|
||||
"events": {
|
||||
"type": 481
|
||||
"type": 482
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -9349,7 +9380,7 @@
|
||||
"storage": null,
|
||||
"calls": null,
|
||||
"events": {
|
||||
"type": 483
|
||||
"type": 484
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -9448,7 +9479,7 @@
|
||||
"type": 421
|
||||
},
|
||||
"events": {
|
||||
"type": 488
|
||||
"type": 489
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -9570,7 +9601,7 @@
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" The current (unassigned) Regions."
|
||||
" The current (unassigned or provisionally assigend) Regions."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -9675,7 +9706,7 @@
|
||||
"type": 430
|
||||
},
|
||||
"events": {
|
||||
"type": 489
|
||||
"type": 490
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -9937,8 +9968,8 @@
|
||||
"hashers": [
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 495,
|
||||
"value": 499
|
||||
"key": 496,
|
||||
"value": 500
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -9952,7 +9983,7 @@
|
||||
"type": 445
|
||||
},
|
||||
"events": {
|
||||
"type": 494
|
||||
"type": 495
|
||||
},
|
||||
"constants": [],
|
||||
"errors": null,
|
||||
@@ -9963,56 +9994,101 @@
|
||||
"storage": null,
|
||||
"calls": null,
|
||||
"events": {
|
||||
"type": 502
|
||||
"type": 503
|
||||
},
|
||||
"constants": [],
|
||||
"errors": null,
|
||||
"index": 77
|
||||
},
|
||||
{
|
||||
"name": "PalletExampleMbms",
|
||||
"storage": {
|
||||
"prefix": "PalletExampleMbms",
|
||||
"items": [
|
||||
{
|
||||
"name": "MyMap",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"map": {
|
||||
"hashers": [
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 12
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Define a storage item to illustrate multi-block migrations."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"calls": null,
|
||||
"events": null,
|
||||
"constants": [],
|
||||
"errors": null,
|
||||
"index": 78
|
||||
},
|
||||
{
|
||||
"name": "AssetConversionMigration",
|
||||
"storage": null,
|
||||
"calls": {
|
||||
"type": 454
|
||||
},
|
||||
"events": {
|
||||
"type": 504
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 925
|
||||
},
|
||||
"index": 79
|
||||
}
|
||||
],
|
||||
"extrinsic": {
|
||||
"type": 925,
|
||||
"type": 926,
|
||||
"version": 4,
|
||||
"signedExtensions": [
|
||||
{
|
||||
"identifier": "CheckNonZeroSender",
|
||||
"type": 927,
|
||||
"type": 928,
|
||||
"additionalSigned": 33
|
||||
},
|
||||
{
|
||||
"identifier": "CheckSpecVersion",
|
||||
"type": 928,
|
||||
"additionalSigned": 4
|
||||
},
|
||||
{
|
||||
"identifier": "CheckTxVersion",
|
||||
"type": 929,
|
||||
"additionalSigned": 4
|
||||
},
|
||||
{
|
||||
"identifier": "CheckGenesis",
|
||||
"identifier": "CheckTxVersion",
|
||||
"type": 930,
|
||||
"additionalSigned": 13
|
||||
"additionalSigned": 4
|
||||
},
|
||||
{
|
||||
"identifier": "CheckMortality",
|
||||
"identifier": "CheckGenesis",
|
||||
"type": 931,
|
||||
"additionalSigned": 13
|
||||
},
|
||||
{
|
||||
"identifier": "CheckNonce",
|
||||
"type": 933,
|
||||
"additionalSigned": 33
|
||||
"identifier": "CheckMortality",
|
||||
"type": 932,
|
||||
"additionalSigned": 13
|
||||
},
|
||||
{
|
||||
"identifier": "CheckWeight",
|
||||
"identifier": "CheckNonce",
|
||||
"type": 934,
|
||||
"additionalSigned": 33
|
||||
},
|
||||
{
|
||||
"identifier": "ChargeAssetTxPayment",
|
||||
"identifier": "CheckWeight",
|
||||
"type": 935,
|
||||
"additionalSigned": 33
|
||||
},
|
||||
{
|
||||
"identifier": "ChargeAssetTxPayment",
|
||||
"type": 936,
|
||||
"additionalSigned": 33
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -21,15 +21,15 @@ export default {
|
||||
"beefy_getFinalizedHead",
|
||||
"beefy_subscribeJustifications",
|
||||
"beefy_unsubscribeJustifications",
|
||||
"chainHead_unstable_body",
|
||||
"chainHead_unstable_call",
|
||||
"chainHead_unstable_continue",
|
||||
"chainHead_unstable_follow",
|
||||
"chainHead_unstable_header",
|
||||
"chainHead_unstable_stopOperation",
|
||||
"chainHead_unstable_storage",
|
||||
"chainHead_unstable_unfollow",
|
||||
"chainHead_unstable_unpin",
|
||||
"chainHead_v1_body",
|
||||
"chainHead_v1_call",
|
||||
"chainHead_v1_continue",
|
||||
"chainHead_v1_follow",
|
||||
"chainHead_v1_header",
|
||||
"chainHead_v1_stopOperation",
|
||||
"chainHead_v1_storage",
|
||||
"chainHead_v1_unfollow",
|
||||
"chainHead_v1_unpin",
|
||||
"chainSpec_v1_chainName",
|
||||
"chainSpec_v1_genesisHash",
|
||||
"chainSpec_v1_properties",
|
||||
@@ -125,10 +125,10 @@ export default {
|
||||
"system_syncState",
|
||||
"system_unstable_networkState",
|
||||
"system_version",
|
||||
"transactionWatch_unstable_submitAndWatch",
|
||||
"transactionWatch_unstable_unwatch",
|
||||
"transaction_unstable_broadcast",
|
||||
"transaction_unstable_stop",
|
||||
"transactionWatch_v1_submitAndWatch",
|
||||
"transactionWatch_v1_unwatch",
|
||||
"transaction_v1_broadcast",
|
||||
"transaction_v1_stop",
|
||||
"unsubscribe_newHead"
|
||||
]
|
||||
};
|
||||
|
||||
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-support', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "11.0.2",
|
||||
"version": "11.2.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-augment": "11.0.2",
|
||||
"@polkadot/types-codec": "11.0.2",
|
||||
"@polkadot/types-create": "11.0.2",
|
||||
"@polkadot/types-augment": "11.2.1",
|
||||
"@polkadot/types-codec": "11.2.1",
|
||||
"@polkadot/types-create": "11.2.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
@@ -32,6 +32,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-support": "11.0.2"
|
||||
"@polkadot/types-support": "11.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { AnyJson, AnyTuple, AnyU8a, ArgsDef, IMethod, Inspect, IOption } fr
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { EcdsaSignature, Ed25519Signature, ExtrinsicUnknown, ExtrinsicV4, Sr25519Signature } from '../interfaces/extrinsics/index.js';
|
||||
import type { FunctionMetadataLatest } from '../interfaces/metadata/index.js';
|
||||
import type { Address, Call, CodecHash } from '../interfaces/runtime/index.js';
|
||||
import type { Address, Call, CodecHash, Hash } from '../interfaces/runtime/index.js';
|
||||
import type { MultiLocation } from '../interfaces/types.js';
|
||||
import type { CallBase, ExtrinsicPayloadValue, ICompact, IExtrinsic, IKeyringPair, INumber, Registry, SignatureOptions } from '../types/index.js';
|
||||
import type { GenericExtrinsicEra } from './ExtrinsicEra.js';
|
||||
@@ -195,10 +195,17 @@ abstract class ExtrinsicBase<A extends AnyTuple> extends AbstractBase<ExtrinsicV
|
||||
/**
|
||||
* @description Forward compat
|
||||
*/
|
||||
public get assetId (): IOption<INumber> | IOption<MultiLocation> {
|
||||
public get assetId (): IOption<INumber | MultiLocation> {
|
||||
return this.inner.signature.assetId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Forward compat
|
||||
*/
|
||||
public get metadataHash (): IOption<Hash> {
|
||||
return this.inner.signature.metadataHash;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Returns the raw transaction version (not flagged with signing information)
|
||||
*/
|
||||
@@ -324,8 +331,9 @@ export class GenericExtrinsic<A extends AnyTuple = AnyTuple> extends ExtrinsicBa
|
||||
},
|
||||
this.isSigned
|
||||
? {
|
||||
assetId: this.assetId.toHuman(isExpanded, disableAscii),
|
||||
assetId: this.assetId ? this.assetId.toHuman(isExpanded, disableAscii) : null,
|
||||
era: this.era.toHuman(isExpanded, disableAscii),
|
||||
metadataHash: this.metadataHash ? this.metadataHash.toHex() : null,
|
||||
nonce: this.nonce.toHuman(isExpanded, disableAscii),
|
||||
signature: this.signature.toHex(),
|
||||
signer: this.signer.toHuman(isExpanded, disableAscii),
|
||||
|
||||
@@ -6,7 +6,7 @@ import type { AnyJson, BareOpts, Registry } from '@polkadot/types-codec/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { BlockHash } from '../interfaces/chain/index.js';
|
||||
import type { ExtrinsicPayloadV4 } from '../interfaces/extrinsics/index.js';
|
||||
import type { MultiLocation } from '../interfaces/types.js';
|
||||
import type { Hash, MultiLocation } from '../interfaces/types.js';
|
||||
import type { ExtrinsicPayloadValue, ICompact, IKeyringPair, INumber, IOption } from '../types/index.js';
|
||||
import type { GenericExtrinsicEra } from './ExtrinsicEra.js';
|
||||
|
||||
@@ -113,10 +113,17 @@ export class GenericExtrinsicPayload extends AbstractBase<ExtrinsicPayloadVx> {
|
||||
/**
|
||||
* @description The (optional) asset id as a [[u32]] or [[MultiLocation]] for this payload
|
||||
*/
|
||||
public get assetId (): IOption<INumber | IOption<MultiLocation>> {
|
||||
public get assetId (): IOption<INumber | MultiLocation> {
|
||||
return this.inner.assetId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description The (optional) [[Hash]] of the genesis metadata for this payload
|
||||
*/
|
||||
public get metadataHash (): IOption<Hash> {
|
||||
return this.inner.metadataHash;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Compares the value of the input to see if there is a match
|
||||
*/
|
||||
|
||||
@@ -17,11 +17,15 @@ registry.setMetadata(metadata);
|
||||
describe('SignerPayload', (): void => {
|
||||
const TEST = {
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
// eslint-disable-next-line sort-keys
|
||||
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
|
||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
||||
blockNumber: '0x00231d30',
|
||||
era: '0x0703',
|
||||
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
||||
metadataHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
||||
method: '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
|
||||
mode: 1,
|
||||
nonce: '0x00001234',
|
||||
signedExtensions: ['CheckNonce', 'CheckWeight'],
|
||||
specVersion: '0x00000006',
|
||||
@@ -34,11 +38,15 @@ describe('SignerPayload', (): void => {
|
||||
expect(
|
||||
new SignerPayload(registry, {
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
// eslint-disable-next-line sort-keys
|
||||
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
|
||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
||||
blockNumber: '0x231d30',
|
||||
era: registry.createType('ExtrinsicEra', { current: 2301232, period: 200 }),
|
||||
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
||||
metadataHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
||||
method: registry.createType('Call', '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c'),
|
||||
mode: 1,
|
||||
nonce: 0x1234,
|
||||
signedExtensions: ['CheckNonce'],
|
||||
tip: 0x5678,
|
||||
@@ -46,11 +54,15 @@ describe('SignerPayload', (): void => {
|
||||
}).toPayload()
|
||||
).toEqual({
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
// eslint-disable-next-line sort-keys
|
||||
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
|
||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
||||
blockNumber: '0x00231d30',
|
||||
era: '0x0703',
|
||||
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
||||
metadataHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
||||
method: '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
|
||||
mode: 1,
|
||||
nonce: '0x00001234',
|
||||
signedExtensions: ['CheckNonce'],
|
||||
specVersion: '0x00000000',
|
||||
@@ -71,25 +83,14 @@ describe('SignerPayload', (): void => {
|
||||
).toEqual(true);
|
||||
|
||||
expect(
|
||||
// @ts-expect-error We don't have getters for this field
|
||||
test.toPayload().assetId
|
||||
).toEqual({
|
||||
// eslint-disable-next-line sort-keys
|
||||
parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] }
|
||||
});
|
||||
).toEqual({ parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } });
|
||||
|
||||
expect(
|
||||
// @ts-expect-error We don't have getters for this field
|
||||
new SignerPayload(registry, { assetId: 0 }).toPayload().assetId
|
||||
).toEqual({
|
||||
// eslint-disable-next-line sort-keys
|
||||
parents: 0, interior: { here: null }
|
||||
});
|
||||
|
||||
expect(
|
||||
// @ts-expect-error We don't have getters for this field
|
||||
new SignerPayload(registry, TEST).toPayload().assetId
|
||||
).toBeUndefined();
|
||||
).toEqual({ parents: 0, interior: { here: null } });
|
||||
});
|
||||
|
||||
it('re-constructs from JSON', (): void => {
|
||||
@@ -126,11 +127,55 @@ 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);
|
||||
// @ts-expect-error assetId is of unknown type, so we don't know about "isSome"
|
||||
expect(payload.inner?.get('assetId')?.isSome && payload.inner?.get('assetId')
|
||||
expect(payload.assetId.isSome && payload.assetId
|
||||
?.eq(registry.createType('MultiLocation', {
|
||||
// eslint-disable-next-line sort-keys
|
||||
parents: 0, interior: { X2: [{ palletInstance: 50 }, { generalIndex: 123 }] }
|
||||
}))).toBe(true);
|
||||
});
|
||||
|
||||
const TEST_WITHOUT_CHECK = {
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
||||
blockNumber: '0x00231d30',
|
||||
era: '0x0703',
|
||||
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
||||
method: '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
|
||||
nonce: '0x00001234',
|
||||
signedExtensions: [],
|
||||
specVersion: '0x00000006',
|
||||
tip: '0x00000000000000000000000000005678',
|
||||
transactionVersion: '0x00000007',
|
||||
version: 4
|
||||
};
|
||||
|
||||
const PAYLOAD_WITHOUT_CHECK = {
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
assetId: null,
|
||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
||||
blockNumber: '0x00231d30',
|
||||
era: '0x0703',
|
||||
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
||||
metadataHash: null,
|
||||
method: '0x060000d7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
|
||||
mode: 0,
|
||||
nonce: '0x00001234',
|
||||
signedExtensions: [],
|
||||
specVersion: '0x00000006',
|
||||
tip: '0x00000000000000000000000000005678',
|
||||
transactionVersion: '0x00000007',
|
||||
version: 4
|
||||
};
|
||||
|
||||
it('can build SignerPayload without additional SignedExtensions', (): void => {
|
||||
expect(
|
||||
new SignerPayload(
|
||||
registry,
|
||||
{
|
||||
...TEST_WITHOUT_CHECK,
|
||||
runtimeVersion: { specVersion: 0x06, transactionVersion: 0x07 }
|
||||
}
|
||||
).toPayload()
|
||||
).toEqual(PAYLOAD_WITHOUT_CHECK);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -12,11 +12,14 @@ import { objectProperty, objectSpread, u8aToHex } from '@polkadot/util';
|
||||
|
||||
export interface SignerPayloadType extends Codec {
|
||||
address: Address;
|
||||
assetId: IOption<INumber | MultiLocation>;
|
||||
blockHash: Hash;
|
||||
blockNumber: INumber;
|
||||
era: ExtrinsicEra;
|
||||
genesisHash: Hash;
|
||||
metadataHash: IOption<Hash>;
|
||||
method: Call;
|
||||
mode: INumber;
|
||||
nonce: ICompact<INumber>;
|
||||
runtimeVersion: IRuntimeVersion;
|
||||
signedExtensions: Vec<Text>;
|
||||
@@ -26,11 +29,14 @@ export interface SignerPayloadType extends Codec {
|
||||
|
||||
const knownTypes: Record<string, string> = {
|
||||
address: 'Address',
|
||||
assetId: 'Option<TAssetConversion>',
|
||||
blockHash: 'Hash',
|
||||
blockNumber: 'BlockNumber',
|
||||
era: 'ExtrinsicEra',
|
||||
genesisHash: 'Hash',
|
||||
metadataHash: 'Option<[u8;32]>',
|
||||
method: 'Call',
|
||||
mode: 'u8',
|
||||
nonce: 'Compact<Index>',
|
||||
runtimeVersion: 'RuntimeVersion',
|
||||
signedExtensions: 'Vec<Text>',
|
||||
@@ -104,7 +110,7 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
|
||||
return this.getT('tip');
|
||||
}
|
||||
|
||||
get assetId (): IOption<INumber> | IOption<MultiLocation> {
|
||||
get assetId (): IOption<INumber | MultiLocation> {
|
||||
return this.getT('assetId');
|
||||
}
|
||||
|
||||
@@ -112,6 +118,14 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
|
||||
return this.getT('version');
|
||||
}
|
||||
|
||||
get mode (): INumber {
|
||||
return this.getT('mode');
|
||||
}
|
||||
|
||||
get metadataHash (): IOption<Hash> {
|
||||
return this.getT('metadataHash');
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Creates an representation of the structure as an ISignerPayload JSON
|
||||
*/
|
||||
@@ -139,11 +153,14 @@ 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,
|
||||
blockHash: this.blockHash.toHex(),
|
||||
blockNumber: this.blockNumber.toHex(),
|
||||
era: this.era.toHex(),
|
||||
genesisHash: this.genesisHash.toHex(),
|
||||
metadataHash: this.metadataHash.isSome ? this.metadataHash.toHex() : null,
|
||||
method: this.method.toHex(),
|
||||
mode: this.mode.toNumber(),
|
||||
nonce: this.nonce.toHex(),
|
||||
signedExtensions: this.signedExtensions.map((e) => e.toString()),
|
||||
specVersion: this.runtimeVersion.specVersion.toHex(),
|
||||
|
||||
@@ -5,6 +5,15 @@ import type { ExtDef, ExtInfo } from './types.js';
|
||||
|
||||
import { emptyCheck } from './emptyCheck.js';
|
||||
|
||||
const CheckMetadataHash: ExtInfo = {
|
||||
extrinsic: {
|
||||
mode: 'u8'
|
||||
},
|
||||
payload: {
|
||||
metadataHash: 'Option<[u8;32]>'
|
||||
}
|
||||
};
|
||||
|
||||
const CheckMortality: ExtInfo = {
|
||||
extrinsic: {
|
||||
era: 'ExtrinsicEra'
|
||||
@@ -31,6 +40,7 @@ export const substrate: ExtDef = {
|
||||
genesisHash: 'Hash'
|
||||
}
|
||||
},
|
||||
CheckMetadataHash,
|
||||
CheckMortality,
|
||||
CheckNonZeroSender: emptyCheck,
|
||||
CheckNonce: {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { SignOptions } from '@polkadot/keyring/types';
|
||||
import type { MultiLocation } from '@polkadot/types/interfaces';
|
||||
import type { Hash, MultiLocation } from '@polkadot/types/interfaces';
|
||||
import type { Bytes } from '@polkadot/types-codec';
|
||||
import type { Inspect, Registry } from '@polkadot/types-codec/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
@@ -105,10 +105,17 @@ export class GenericExtrinsicPayloadV4 extends Struct {
|
||||
/**
|
||||
* @description The (optional) asset id for this signature for chains that support transaction fees in assets
|
||||
*/
|
||||
public get assetId (): IOption<INumber | IOption<MultiLocation>> {
|
||||
public get assetId (): IOption<INumber | MultiLocation> {
|
||||
return this.getT('assetId');
|
||||
}
|
||||
|
||||
/**
|
||||
* @description The (optional) asset id for this signature for chains that support transaction fees in assets
|
||||
*/
|
||||
public get metadataHash (): IOption<Hash> {
|
||||
return this.getT('metadataHash');
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Sign the payload with the keypair
|
||||
*/
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { MultiLocation } from '@polkadot/types/interfaces';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { EcdsaSignature, Ed25519Signature, ExtrinsicEra, ExtrinsicSignature, Sr25519Signature } from '../../interfaces/extrinsics/index.js';
|
||||
import type { Address, Call } from '../../interfaces/runtime/index.js';
|
||||
import type { Address, Call, Hash } from '../../interfaces/runtime/index.js';
|
||||
import type { ExtrinsicPayloadValue, ICompact, IExtrinsicSignature, IKeyringPair, INumber, IOption, Registry, SignatureOptions } from '../../types/index.js';
|
||||
import type { ExtrinsicSignatureOptions } from '../types.js';
|
||||
|
||||
@@ -122,10 +122,17 @@ export class GenericExtrinsicSignatureV4 extends Struct implements IExtrinsicSig
|
||||
/**
|
||||
* @description The [[u32]] or [[MultiLocation]] assetId
|
||||
*/
|
||||
public get assetId (): IOption<INumber> | IOption<MultiLocation> {
|
||||
public get assetId (): IOption<INumber | MultiLocation> {
|
||||
return this.getT('assetId');
|
||||
}
|
||||
|
||||
/**
|
||||
* @description The [[Hash]] for the metadata
|
||||
*/
|
||||
public get metadataHash (): IOption<Hash> {
|
||||
return this.getT('metadataHash');
|
||||
}
|
||||
|
||||
protected _injectSignature (signer: Address, signature: ExtrinsicSignature, payload: GenericExtrinsicPayloadV4): IExtrinsicSignature {
|
||||
// use the fields exposed to guide the getters
|
||||
for (let i = 0, count = this.#signKeys.length; i < count; i++) {
|
||||
|
||||
@@ -4,6 +4,27 @@
|
||||
import type { DefinitionsCall } from '../../types/index.js';
|
||||
|
||||
export const runtime: DefinitionsCall = {
|
||||
AuraUnincludedSegmentApi: [
|
||||
{
|
||||
methods: {
|
||||
can_build_upon: {
|
||||
description: 'Whether it is legal to extend the chain',
|
||||
params: [
|
||||
{
|
||||
name: 'includedHash',
|
||||
type: 'BlockHash'
|
||||
},
|
||||
{
|
||||
name: 'slot',
|
||||
type: 'Slot'
|
||||
}
|
||||
],
|
||||
type: 'bool'
|
||||
}
|
||||
},
|
||||
version: 1
|
||||
}
|
||||
],
|
||||
CollectCollationInfo: [
|
||||
{
|
||||
methods: {
|
||||
|
||||
@@ -281,8 +281,32 @@ const PH_V10: DefinitionsCallEntry['methods'] = {
|
||||
}
|
||||
};
|
||||
|
||||
const PH_V11: DefinitionsCallEntry['methods'] = {
|
||||
claim_queue: {
|
||||
description: 'Claim queue',
|
||||
params: [],
|
||||
type: 'BTreeMap<CoreIndex, Vec<u32>>'
|
||||
}
|
||||
};
|
||||
|
||||
export const runtime: DefinitionsCall = {
|
||||
ParachainHost: [
|
||||
{
|
||||
methods: {
|
||||
...PH_V1_TO_V2,
|
||||
...PH_V2_TO_V3,
|
||||
...PH_V3,
|
||||
...PH_V4,
|
||||
...PH_V5,
|
||||
...PH_V6,
|
||||
...PH_V7,
|
||||
...PH_V8,
|
||||
...PH_V9,
|
||||
...PH_V10,
|
||||
...PH_V11
|
||||
},
|
||||
version: 11
|
||||
},
|
||||
{
|
||||
methods: {
|
||||
...PH_V1_TO_V2,
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '11.0.2' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '11.2.1' };
|
||||
|
||||
@@ -35,6 +35,11 @@ export interface SignerPayloadJSON {
|
||||
*/
|
||||
address: string;
|
||||
|
||||
/**
|
||||
* @description The id of the asset used to pay fees, in hex
|
||||
*/
|
||||
assetId?: number | object;
|
||||
|
||||
/**
|
||||
* @description The checkpoint hash of the block, in hex
|
||||
*/
|
||||
@@ -55,11 +60,21 @@ export interface SignerPayloadJSON {
|
||||
*/
|
||||
genesisHash: HexString;
|
||||
|
||||
/**
|
||||
* @description The metadataHash for the CheckMetadataHash SignedExtension, as hex
|
||||
*/
|
||||
metadataHash?: HexString;
|
||||
|
||||
/**
|
||||
* @description The encoded method (with arguments) in hex
|
||||
*/
|
||||
method: string;
|
||||
|
||||
/**
|
||||
* @description The mode for the CheckMetadataHash SignedExtension, in hex
|
||||
*/
|
||||
mode?: number;
|
||||
|
||||
/**
|
||||
* @description The nonce for this transaction, in hex
|
||||
*/
|
||||
@@ -164,6 +179,8 @@ export interface SignatureOptions {
|
||||
signer?: Signer;
|
||||
tip?: AnyNumber;
|
||||
assetId?: AnyNumber | object;
|
||||
mode?: AnyNumber;
|
||||
metadataHash?: Uint8Array | string;
|
||||
}
|
||||
|
||||
interface ExtrinsicSignatureBase {
|
||||
@@ -185,6 +202,8 @@ export interface ExtrinsicPayloadValue {
|
||||
tip: AnyNumber;
|
||||
transactionVersion: AnyNumber;
|
||||
assetId?: AnyNumber | object;
|
||||
mode?: AnyNumber;
|
||||
metadataHash?: AnyU8a;
|
||||
}
|
||||
|
||||
export interface IExtrinsicSignature extends ExtrinsicSignatureBase, Codec {
|
||||
|
||||
@@ -444,26 +444,26 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@npm:11.0.2, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@npm:11.2.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:11.0.2"
|
||||
"@polkadot/rpc-augment": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/types-augment": "npm:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/api-base": "npm:11.2.1"
|
||||
"@polkadot/rpc-augment": "npm:11.2.1"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-augment": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@npm:11.0.2, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@npm:11.2.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:11.0.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/rpc-core": "npm:11.2.1"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
@@ -474,13 +474,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:11.0.2"
|
||||
"@polkadot/api-augment": "npm:11.0.2"
|
||||
"@polkadot/api": "npm:11.2.1"
|
||||
"@polkadot/api-augment": "npm:11.2.1"
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/types-create": "npm:11.0.2"
|
||||
"@polkadot/types-support": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/types-create": "npm:11.2.1"
|
||||
"@polkadot/types-support": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -488,19 +488,19 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@npm:11.0.2, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@npm:11.2.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:11.0.2"
|
||||
"@polkadot/api-augment": "npm:11.0.2"
|
||||
"@polkadot/api-base": "npm:11.0.2"
|
||||
"@polkadot/rpc-augment": "npm:11.0.2"
|
||||
"@polkadot/rpc-core": "npm:11.0.2"
|
||||
"@polkadot/rpc-provider": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/types-support": "npm:11.0.2"
|
||||
"@polkadot/api": "npm:11.2.1"
|
||||
"@polkadot/api-augment": "npm:11.2.1"
|
||||
"@polkadot/api-base": "npm:11.2.1"
|
||||
"@polkadot/rpc-augment": "npm:11.2.1"
|
||||
"@polkadot/rpc-core": "npm:11.2.1"
|
||||
"@polkadot/rpc-provider": "npm:11.2.1"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/types-support": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -508,23 +508,23 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@npm:11.0.2, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@npm:11.2.1, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@polkadot/api-augment": "npm:11.0.2"
|
||||
"@polkadot/api-base": "npm:11.0.2"
|
||||
"@polkadot/api-derive": "npm:11.0.2"
|
||||
"@polkadot/api-augment": "npm:11.2.1"
|
||||
"@polkadot/api-base": "npm:11.2.1"
|
||||
"@polkadot/api-derive": "npm:11.2.1"
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/rpc-augment": "npm:11.0.2"
|
||||
"@polkadot/rpc-core": "npm:11.0.2"
|
||||
"@polkadot/rpc-provider": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/types-augment": "npm:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/types-create": "npm:11.0.2"
|
||||
"@polkadot/types-known": "npm:11.0.2"
|
||||
"@polkadot/types-support": "npm:11.0.2"
|
||||
"@polkadot/rpc-augment": "npm:11.2.1"
|
||||
"@polkadot/rpc-core": "npm:11.2.1"
|
||||
"@polkadot/rpc-provider": "npm:11.2.1"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-augment": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/types-create": "npm:11.2.1"
|
||||
"@polkadot/types-known": "npm:11.2.1"
|
||||
"@polkadot/types-support": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
@@ -533,34 +533,34 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/dev-test@npm:^0.78.9":
|
||||
version: 0.78.9
|
||||
resolution: "@polkadot/dev-test@npm:0.78.9"
|
||||
"@polkadot/dev-test@npm:^0.79.1":
|
||||
version: 0.79.1
|
||||
resolution: "@polkadot/dev-test@npm:0.79.1"
|
||||
dependencies:
|
||||
jsdom: "npm:^24.0.0"
|
||||
tslib: "npm:^2.6.2"
|
||||
checksum: 10/84d70e797a2d8c5cce12db044308548151cf4289e94ec9569f3852d7cf7ea545abaa595018e4cb14f57bab6c1b050792ed2b788c8d985ae8c594ae9b964a20ac
|
||||
checksum: 10/36bd5fcdf2e444cdd8054567d3d9ab6b53657df0b42e7e0e79097458172b3e60dcf13daa524874d718334d590f008813141a2752099d302c314f762ad30b4890
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/dev-ts@npm:^0.78.9":
|
||||
version: 0.78.9
|
||||
resolution: "@polkadot/dev-ts@npm:0.78.9"
|
||||
"@polkadot/dev-ts@npm:^0.79.1":
|
||||
version: 0.79.1
|
||||
resolution: "@polkadot/dev-ts@npm:0.79.1"
|
||||
dependencies:
|
||||
json5: "npm:^2.2.3"
|
||||
tslib: "npm:^2.6.2"
|
||||
typescript: "npm:^5.3.3"
|
||||
checksum: 10/04294e766f492e4eb0447e6516487be4643da8b70054ad925f360b8110c2549e0e55821e8ebaa9141cf7795fe1ea814fb6151a6c0d1967377704ab90974a9825
|
||||
checksum: 10/027a6570d19a54328e6ebca0ffe2cf532c6faebd75702abb3531a8b53168d1f35e0259b15e41760f601a912516ff46bd522f82127a0d475fb6c88e293e5449a5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/dev@npm:^0.78.9":
|
||||
version: 0.78.9
|
||||
resolution: "@polkadot/dev@npm:0.78.9"
|
||||
"@polkadot/dev@npm:^0.79.1":
|
||||
version: 0.79.1
|
||||
resolution: "@polkadot/dev@npm:0.79.1"
|
||||
dependencies:
|
||||
"@eslint/js": "npm:^8.56.0"
|
||||
"@polkadot/dev-test": "npm:^0.78.9"
|
||||
"@polkadot/dev-ts": "npm:^0.78.9"
|
||||
"@polkadot/dev-test": "npm:^0.79.1"
|
||||
"@polkadot/dev-ts": "npm:^0.79.1"
|
||||
"@rollup/plugin-alias": "npm:^5.1.0"
|
||||
"@rollup/plugin-commonjs": "npm:^25.0.7"
|
||||
"@rollup/plugin-dynamic-import-vars": "npm:^2.1.2"
|
||||
@@ -625,7 +625,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/0658fda631302a895e1fdf0a4cf60baba0fd52e78ebed4df5e3c2555ad6dd78e9982e9514ca54e8f5a0d85a6d7049c9684136012c8751ae30ec095d3fad72d00
|
||||
checksum: 10/2a7bbd5da088a091c64d5e6b1e9215d0a82058702bc93bca43b2be941af0eb1de515356df9609cb179e0729dfe287dfea935e243afb71cf10cc055877c6edd6e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -654,39 +654,39 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@npm:11.0.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@npm:11.2.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:11.0.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/rpc-core": "npm:11.2.1"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@npm:11.0.2, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@npm:11.2.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:^12.6.2"
|
||||
"@polkadot/rpc-augment": "npm:11.0.2"
|
||||
"@polkadot/rpc-provider": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/rpc-augment": "npm:11.2.1"
|
||||
"@polkadot/rpc-provider": "npm:11.2.1"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@npm:11.0.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@npm:11.2.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:^12.6.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/types-support": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-support": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-fetch": "npm:^12.6.2"
|
||||
@@ -707,15 +707,15 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:11.0.2"
|
||||
"@polkadot/api-augment": "npm:11.0.2"
|
||||
"@polkadot/rpc-augment": "npm:11.0.2"
|
||||
"@polkadot/rpc-provider": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/types-augment": "npm:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/types-create": "npm:11.0.2"
|
||||
"@polkadot/types-support": "npm:11.0.2"
|
||||
"@polkadot/api": "npm:11.2.1"
|
||||
"@polkadot/api-augment": "npm:11.2.1"
|
||||
"@polkadot/rpc-augment": "npm:11.2.1"
|
||||
"@polkadot/rpc-provider": "npm:11.2.1"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-augment": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/types-create": "npm:11.2.1"
|
||||
"@polkadot/types-support": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-ws": "npm:^12.6.2"
|
||||
@@ -732,24 +732,24 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@npm:11.0.2, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@npm:11.2.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:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@npm:11.0.2, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@npm:11.2.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:11.0.2"
|
||||
"@polkadot/types-augment": "npm:11.0.2"
|
||||
"@polkadot/types-support": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-augment": "npm:11.2.1"
|
||||
"@polkadot/types-support": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-bigint": "npm:^12.6.2"
|
||||
@@ -757,32 +757,32 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@npm:11.0.2, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@npm:11.2.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:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@npm:11.0.2, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@npm:11.2.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:11.0.2"
|
||||
"@polkadot/api": "npm:11.2.1"
|
||||
"@polkadot/networks": "npm:^12.6.2"
|
||||
"@polkadot/types": "npm:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/types-create": "npm:11.0.2"
|
||||
"@polkadot/types": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/types-create": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@npm:11.0.2, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@npm:11.2.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
@@ -791,15 +791,15 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@npm:11.0.2, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@npm:11.2.1, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/types-augment": "npm:11.0.2"
|
||||
"@polkadot/types-codec": "npm:11.0.2"
|
||||
"@polkadot/types-create": "npm:11.0.2"
|
||||
"@polkadot/types-support": "npm:11.0.2"
|
||||
"@polkadot/types-augment": "npm:11.2.1"
|
||||
"@polkadot/types-codec": "npm:11.2.1"
|
||||
"@polkadot/types-create": "npm:11.2.1"
|
||||
"@polkadot/types-support": "npm:11.2.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -7942,7 +7942,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "root-workspace-0b6124@workspace:."
|
||||
dependencies:
|
||||
"@polkadot/dev": "npm:^0.78.9"
|
||||
"@polkadot/dev": "npm:^0.79.1"
|
||||
"@polkadot/typegen": "workspace:packages/typegen"
|
||||
"@types/node": "npm:^20.11.6"
|
||||
languageName: unknown
|
||||
|
||||
Reference in New Issue
Block a user