Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32a04fd24f | ||
|
|
009461f564 | ||
|
|
00cb2ef875 | ||
|
|
fed0d5bf0d | ||
|
|
53e9305f41 | ||
|
|
2ca9da3304 | ||
|
|
7a4d32710c | ||
|
|
15c8859b06 | ||
|
|
e0e9829417 | ||
|
|
00bc5c818b | ||
|
|
f43600d773 | ||
|
|
fc112988f0 | ||
|
|
a9fa603ad8 | ||
|
|
d86bff91a7 | ||
|
|
26b5303c2d | ||
|
|
b4ebdc29a1 | ||
|
|
6e4dc0b52d | ||
|
|
02ec613def | ||
|
|
a83e1da941 | ||
|
|
c4e8270b45 | ||
|
|
ddb9b44460 | ||
|
|
887812eeaa | ||
|
|
6415eb6515 | ||
|
|
06c829d30f | ||
|
|
efd6ba9a4c | ||
|
|
a1f2473fb4 | ||
|
|
9e53fc060d | ||
|
|
364001f287 | ||
|
|
5bcd56d6c3 | ||
|
|
5b3f18e6fd | ||
|
|
8ab79958f0 | ||
|
|
1343aa4651 | ||
|
|
a311fed87e | ||
|
|
c0590bc5fe | ||
|
|
d650744984 | ||
|
|
7baf2ecf7a |
@@ -11,8 +11,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
YARN_ENABLE_SCRIPTS: false
|
YARN_ENABLE_SCRIPTS: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
- uses: denoland/setup-deno@v1
|
- uses: denoland/setup-deno@v1
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ jobs:
|
|||||||
GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT_BOT }}
|
GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT_BOT }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ secrets.GH_PAT_BOT }}
|
token: ${{ secrets.GH_PAT_BOT }}
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
- name: ${{ matrix.step }}
|
- name: ${{ matrix.step }}
|
||||||
|
|||||||
@@ -1,5 +1,51 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 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
|
||||||
|
|
||||||
|
- Fix type for TAssetConversion in Polkadot Asset hub
|
||||||
|
|
||||||
|
|
||||||
|
## 11.0.1 Apr 23, 2024
|
||||||
|
|
||||||
|
Breaking Changes:
|
||||||
|
|
||||||
|
Note! The following breaking changes only refer to `@polkadot/api-derive` calls under `api.derive.staking.*` due to the most recent breaking changes in runtime version v1.2. Please refer to the link next to the bullet points for more information.
|
||||||
|
|
||||||
|
- Update` api.derive.staking` calls with breaking changes ([#5860](https://github.com/polkadot-js/api/pull/5860))
|
||||||
|
- Add `claimedRewardsEra` to api.derive.staking.query for compatibility with legacyClaimedRewards ([#5862](https://github.com/polkadot-js/api/pull/5862))
|
||||||
|
|
||||||
|
Contributed:
|
||||||
|
|
||||||
|
- Bump @substrate/connect to 0.8.10 (Thanks to https://github.com/kratico)
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Update polkadot types-known for latest runtime upgrades
|
||||||
|
|
||||||
|
|
||||||
|
## 10.13.1 Apr 16, 2024
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Update CI actions and setup_node to v4
|
||||||
|
- Update substrate metadata to latest
|
||||||
|
- Support ParachainHost runtime api v6, 7, 8, 9, 10
|
||||||
|
- Resolve correct module for council derive
|
||||||
|
- Update westend types-known for 1010000
|
||||||
|
- Update kusama types-known for 1001003
|
||||||
|
|
||||||
|
|
||||||
## 10.12.6 Apr 2, 2024
|
## 10.12.6 Apr 2, 2024
|
||||||
|
|
||||||
**NOTE**: Because of a broken CI build for 10.12.5 -> 10.12.6 is a replacement
|
**NOTE**: Because of a broken CI build for 10.12.5 -> 10.12.6 is a replacement
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
3512 Jaco Bump deps (#5785)
|
3512 Jaco Bump deps (#5785)
|
||||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||||
|
43 Tarik Gul 11.0.3 (#5873)
|
||||||
37 Keith Ingram Update contract types and rpc (#4541)
|
37 Keith Ingram Update contract types and rpc (#4541)
|
||||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||||
26 Tarik Gul 10.12.6 (#5842)
|
|
||||||
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
||||||
19 Xiliang Chen no warm for unknown signed extensions (#5601)
|
19 Xiliang Chen no warm for unknown signed extensions (#5601)
|
||||||
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
||||||
@@ -13,11 +13,11 @@
|
|||||||
5 Chevdor Fix metadata package link (#3458)
|
5 Chevdor Fix metadata package link (#3458)
|
||||||
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
||||||
5 Julien Eluard General WsProvider extensibility improvements (#5467)
|
5 Julien Eluard General WsProvider extensibility improvements (#5467)
|
||||||
|
5 Matias Volpe Bump @substrate/connect to 0.8.10 (#5863)
|
||||||
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
||||||
4 Alex Wang fix issue that creates duplicate providers (#983)
|
4 Alex Wang fix issue that creates duplicate providers (#983)
|
||||||
4 Alexander Popiak Add asset id in signing (#4009)
|
4 Alexander Popiak Add asset id in signing (#4009)
|
||||||
4 Joshy Orndorff spelling; efect -> effect (#2295)
|
4 Joshy Orndorff spelling; efect -> effect (#2295)
|
||||||
4 Matias Volpe Bump @substrate/connect to 0.8.8 (#5817)
|
|
||||||
4 Nantian fix bigint type (#3869)
|
4 Nantian fix bigint type (#3869)
|
||||||
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
|
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
|
||||||
4 Thibaut Sardan no subscription for http (#3127)
|
4 Thibaut Sardan no subscription for http (#3127)
|
||||||
|
|||||||
+3
-3
@@ -14,10 +14,10 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"versions": {
|
"versions": {
|
||||||
"git": "10.12.6",
|
"git": "11.0.3",
|
||||||
"npm": "10.12.6"
|
"npm": "11.0.3"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api-base": "10.12.6",
|
"@polkadot/api-base": "11.0.3",
|
||||||
"@polkadot/rpc-augment": "10.12.6",
|
"@polkadot/rpc-augment": "11.0.3",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-augment": "10.12.6",
|
"@polkadot/types-augment": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
import '@polkadot/api-base/types/calls';
|
import '@polkadot/api-base/types/calls';
|
||||||
|
|
||||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
||||||
import type { Bytes, Null, Option, Result, U64, Vec, u32 } from '@polkadot/types-codec';
|
import type { Bytes, Null, Option, Result, U64, Vec, bool, u32 } from '@polkadot/types-codec';
|
||||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
||||||
import type { BeefyAuthoritySet, BeefyEquivocationProof, BeefyNextAuthoritySet, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
import type { BeefyAuthoritySet, BeefyEquivocationProof, BeefyNextAuthoritySet, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
|
||||||
@@ -19,8 +19,11 @@ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/t
|
|||||||
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||||
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
|
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
|
||||||
import type { NpPoolId } from '@polkadot/types/interfaces/nompools';
|
import type { NpPoolId } from '@polkadot/types/interfaces/nompools';
|
||||||
|
import type { ApprovalVotingParams, AsyncBackingParams, BackingState, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, NodeFeatures, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
||||||
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
||||||
import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, Weight } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
|
||||||
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
||||||
|
import type { ValidatorIndex } from '@polkadot/types/interfaces/staking';
|
||||||
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
||||||
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
||||||
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
||||||
@@ -278,6 +281,129 @@ declare module '@polkadot/api-base/types/calls' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: DecoratedCallBase<ApiType>;
|
[key: string]: DecoratedCallBase<ApiType>;
|
||||||
};
|
};
|
||||||
|
/** 0xaf2c0297a23e6d3d/10 */
|
||||||
|
parachainHost: {
|
||||||
|
/**
|
||||||
|
* Approval voting configuration parameters
|
||||||
|
**/
|
||||||
|
approvalVotingParams: AugmentedCall<ApiType, () => Observable<ApprovalVotingParams>>;
|
||||||
|
/**
|
||||||
|
* Returns the persisted validation data for the given `ParaId` along with the corresponding validation code hash.
|
||||||
|
**/
|
||||||
|
assumedValidationData: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, hash: Hash | string | Uint8Array) => Observable<Option<ITuple<[PersistedValidationData, ValidationCodeHash]>>>>;
|
||||||
|
/**
|
||||||
|
* Returns candidate's acceptance limitations for asynchronous backing for a relay parent
|
||||||
|
**/
|
||||||
|
asyncBackingParams: AugmentedCall<ApiType, () => Observable<AsyncBackingParams>>;
|
||||||
|
/**
|
||||||
|
* Yields information on all availability cores as relevant to the child block.
|
||||||
|
**/
|
||||||
|
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<CoreState>>>;
|
||||||
|
/**
|
||||||
|
* Get a vector of events concerning candidates that occurred within a block.
|
||||||
|
**/
|
||||||
|
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<CandidateEvent>>>;
|
||||||
|
/**
|
||||||
|
* Get the receipt of a candidate pending availability.
|
||||||
|
**/
|
||||||
|
candidatePendingAvailability: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Option<CommittedCandidateReceipt>>>;
|
||||||
|
/**
|
||||||
|
* Checks if the given validation outputs pass the acceptance criteria.
|
||||||
|
**/
|
||||||
|
checkValidationOutputs: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, outputs: CandidateCommitments | { upwardMessages?: any; horizontalMessages?: any; newValidationCode?: any; headData?: any; processedDownwardMessages?: any; hrmpWatermark?: any } | string | Uint8Array) => Observable<bool>>;
|
||||||
|
/**
|
||||||
|
* Returns a list of all disabled validators at the given block
|
||||||
|
**/
|
||||||
|
disabledValidators: AugmentedCall<ApiType, () => Observable<ValidatorIndex>>;
|
||||||
|
/**
|
||||||
|
* Returns all onchain disputes.
|
||||||
|
**/
|
||||||
|
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[SessionIndex, CandidateHash, DisputeState]>>>>;
|
||||||
|
/**
|
||||||
|
* Get all the pending inbound messages in the downward message queue for a para.
|
||||||
|
**/
|
||||||
|
dmqContents: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Vec<InboundDownwardMessage>>>;
|
||||||
|
/**
|
||||||
|
* Get the contents of all channels addressed to the given recipient.
|
||||||
|
**/
|
||||||
|
inboundHrmpChannelsContents: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Vec<InboundHrmpMessage>>>;
|
||||||
|
/**
|
||||||
|
* Returns a merkle proof of a validator session key
|
||||||
|
**/
|
||||||
|
keyOwnershipProof: AugmentedCall<ApiType, (validatorId: ValidatorId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
|
||||||
|
/**
|
||||||
|
* Get the minimum number of backing votes for a parachain candidate. This is a staging method! Do not use on production runtimes!
|
||||||
|
**/
|
||||||
|
minimumBackingVotes: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||||
|
/**
|
||||||
|
* Get node features. This is a staging method! Do not use on production runtimes!
|
||||||
|
**/
|
||||||
|
nodeFeatures: AugmentedCall<ApiType, () => Observable<NodeFeatures>>;
|
||||||
|
/**
|
||||||
|
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
|
||||||
|
**/
|
||||||
|
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<ScrapedOnChainVotes>>>;
|
||||||
|
/**
|
||||||
|
* Returns the state of parachain backing for a given para
|
||||||
|
**/
|
||||||
|
paraBackingState: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Option<BackingState>>>;
|
||||||
|
/**
|
||||||
|
* Yields the persisted validation data for the given `ParaId` along with an assumption that should be used if the para currently occupies a core.
|
||||||
|
**/
|
||||||
|
persistedValidationData: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, assumption: OccupiedCoreAssumption | 'Included,' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<PersistedValidationData>>>;
|
||||||
|
/**
|
||||||
|
* Returns code hashes of PVFs that require pre-checking by validators in the active set.
|
||||||
|
**/
|
||||||
|
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<ValidationCodeHash>>>;
|
||||||
|
/**
|
||||||
|
* Returns execution parameters for the session.
|
||||||
|
**/
|
||||||
|
sessionExecutorParams: AugmentedCall<ApiType, (sessionIndex: SessionIndex | AnyNumber | Uint8Array) => Observable<Option<ExecutorParams>>>;
|
||||||
|
/**
|
||||||
|
* Returns the session index expected at a child of the block.
|
||||||
|
**/
|
||||||
|
sessionIndexForChild: AugmentedCall<ApiType, () => Observable<SessionIndex>>;
|
||||||
|
/**
|
||||||
|
* Get the session info for the given session, if stored.
|
||||||
|
**/
|
||||||
|
sessionInfo: AugmentedCall<ApiType, (index: SessionIndex | AnyNumber | Uint8Array) => Observable<Option<SessionInfo>>>;
|
||||||
|
/**
|
||||||
|
* Submits a PVF pre-checking statement into the transaction pool.
|
||||||
|
**/
|
||||||
|
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: ValidatorSignature | string | Uint8Array) => Observable<Null>>;
|
||||||
|
/**
|
||||||
|
* Submit an unsigned extrinsic to slash validators who lost a dispute about a candidate of a past session
|
||||||
|
**/
|
||||||
|
submitReportDisputeLost: AugmentedCall<ApiType, (disputeProof: DisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnershipProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
||||||
|
/**
|
||||||
|
* Returns a list of validators that lost a past session dispute and need to be slashed
|
||||||
|
**/
|
||||||
|
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[SessionIndex, CandidateHash, PendingSlashes]>>>>;
|
||||||
|
/**
|
||||||
|
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
||||||
|
**/
|
||||||
|
validationCode: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, assumption: OccupiedCoreAssumption | 'Included,' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<ValidationCode>>>;
|
||||||
|
/**
|
||||||
|
* Get the validation code from its hash.
|
||||||
|
**/
|
||||||
|
validationCodeByHash: AugmentedCall<ApiType, (hash: ValidationCodeHash | string | Uint8Array) => Observable<Option<ValidationCode>>>;
|
||||||
|
/**
|
||||||
|
* Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
||||||
|
**/
|
||||||
|
validationCodeHash: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, assumption: OccupiedCoreAssumption | 'Included,' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<ValidationCodeHash>>>;
|
||||||
|
/**
|
||||||
|
* Returns the validator groups and rotation info localized based on the hypothetical child of a block whose state this is invoked on
|
||||||
|
**/
|
||||||
|
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<ParaValidatorIndex>>, GroupRotationInfo]>>>;
|
||||||
|
/**
|
||||||
|
* Get the current validators.
|
||||||
|
**/
|
||||||
|
validators: AugmentedCall<ApiType, () => Observable<Vec<ValidatorId>>>;
|
||||||
|
/**
|
||||||
|
* Generic call
|
||||||
|
**/
|
||||||
|
[key: string]: DecoratedCallBase<ApiType>;
|
||||||
|
};
|
||||||
/** 0xab3c0572291feb8b/1 */
|
/** 0xab3c0572291feb8b/1 */
|
||||||
sessionKeys: {
|
sessionKeys: {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -357,7 +357,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
||||||
**/
|
**/
|
||||||
validationCode: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, assumption: OccupiedCoreAssumption | 'Included,' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<ValidationCode>>;
|
validationCode: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, assumption: OccupiedCoreAssumption | 'Included,' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<ValidationCode>>>;
|
||||||
/**
|
/**
|
||||||
* Get the validation code from its hash.
|
* Get the validation code from its hash.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -170,10 +170,14 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* The maximum number of locks that should exist on an account.
|
* The maximum number of locks that should exist on an account.
|
||||||
* Not strictly enforced, but used for weight estimation.
|
* Not strictly enforced, but used for weight estimation.
|
||||||
|
*
|
||||||
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
maxLocks: u32 & AugmentedConst<ApiType>;
|
maxLocks: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The maximum number of named reserves that can exist on an account.
|
* The maximum number of named reserves that can exist on an account.
|
||||||
|
*
|
||||||
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
maxReserves: u32 & AugmentedConst<ApiType>;
|
maxReserves: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -534,18 +538,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
* this value.
|
* this value.
|
||||||
**/
|
**/
|
||||||
signedMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
signedMaxWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||||
/**
|
|
||||||
* Duration of the signed phase.
|
|
||||||
**/
|
|
||||||
signedPhase: u32 & AugmentedConst<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* Base reward for a signed solution
|
* Base reward for a signed solution
|
||||||
**/
|
**/
|
||||||
signedRewardBase: u128 & AugmentedConst<ApiType>;
|
signedRewardBase: u128 & AugmentedConst<ApiType>;
|
||||||
/**
|
|
||||||
* Duration of the unsigned phase.
|
|
||||||
**/
|
|
||||||
unsignedPhase: u32 & AugmentedConst<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -659,7 +655,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
byteDeposit: u128 & AugmentedConst<ApiType>;
|
byteDeposit: u128 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Maxmimum number of registrars allowed in the system. Needed to bound the complexity
|
* Maximum number of registrars allowed in the system. Needed to bound the complexity
|
||||||
* of, e.g., updating judgements.
|
* of, e.g., updating judgements.
|
||||||
**/
|
**/
|
||||||
maxRegistrars: u32 & AugmentedConst<ApiType>;
|
maxRegistrars: u32 & AugmentedConst<ApiType>;
|
||||||
@@ -742,6 +738,14 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
||||||
**/
|
**/
|
||||||
heapSize: u32 & AugmentedConst<ApiType>;
|
heapSize: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
|
||||||
|
* should be provided to the message queue for servicing enqueued items `on_idle`.
|
||||||
|
* Useful for parachains to process messages at the same block they are received.
|
||||||
|
*
|
||||||
|
* If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
|
||||||
|
**/
|
||||||
|
idleMaxServiceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
||||||
* can happen. Once there are more stale pages than this, then historical pages may be
|
* can happen. Once there are more stale pages than this, then historical pages may be
|
||||||
@@ -750,10 +754,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
maxStale: u32 & AugmentedConst<ApiType>;
|
maxStale: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount of weight (if any) which should be provided to the message queue for
|
* The amount of weight (if any) which should be provided to the message queue for
|
||||||
* servicing enqueued items.
|
* servicing enqueued items `on_initialize`.
|
||||||
*
|
*
|
||||||
* This may be legitimately `None` in the case that you will call
|
* This may be legitimately `None` in the case that you will call
|
||||||
* `ServiceQueues::service_queues` manually.
|
* `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
|
||||||
|
* it run in `on_idle`.
|
||||||
**/
|
**/
|
||||||
serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
serviceWeight: Option<SpWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -265,6 +265,28 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: AugmentedError<ApiType>;
|
[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: {
|
assetRate: {
|
||||||
/**
|
/**
|
||||||
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
* 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.
|
* The configuration could not be applied because it is invalid.
|
||||||
**/
|
**/
|
||||||
InvalidConfig: AugmentedError<ApiType>;
|
InvalidConfig: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The revenue must be claimed for 1 or more timeslices.
|
||||||
|
**/
|
||||||
|
NoClaimTimeslices: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The history item does not exist.
|
* The history item does not exist.
|
||||||
**/
|
**/
|
||||||
@@ -725,7 +751,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
DuplicateContract: AugmentedError<ApiType>;
|
DuplicateContract: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* An indetermistic code was used in a context where this is not permitted.
|
* An indeterministic code was used in a context where this is not permitted.
|
||||||
**/
|
**/
|
||||||
Indeterministic: AugmentedError<ApiType>;
|
Indeterministic: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -1105,7 +1131,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
OcwCallWrongEra: AugmentedError<ApiType>;
|
OcwCallWrongEra: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Sumission was prepared for a different round.
|
* Submission was prepared for a different round.
|
||||||
**/
|
**/
|
||||||
PreDispatchDifferentRound: AugmentedError<ApiType>;
|
PreDispatchDifferentRound: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -1846,7 +1872,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
DurationTooSmall: AugmentedError<ApiType>;
|
DurationTooSmall: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The operation would result in a receipt worth an insignficant value.
|
* The operation would result in a receipt worth an insignificant value.
|
||||||
**/
|
**/
|
||||||
MakesDust: AugmentedError<ApiType>;
|
MakesDust: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -2280,6 +2306,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The preimage does not exist.
|
* The preimage does not exist.
|
||||||
**/
|
**/
|
||||||
PreimageNotExist: AugmentedError<ApiType>;
|
PreimageNotExist: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The preimage is stored with a different length than the one provided.
|
||||||
|
**/
|
||||||
|
PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The queue of the track is empty.
|
* The queue of the track is empty.
|
||||||
**/
|
**/
|
||||||
@@ -2408,6 +2438,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The preimage does not exist.
|
* The preimage does not exist.
|
||||||
**/
|
**/
|
||||||
PreimageNotExist: AugmentedError<ApiType>;
|
PreimageNotExist: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The preimage is stored with a different length than the one provided.
|
||||||
|
**/
|
||||||
|
PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The queue of the track is empty.
|
* The queue of the track is empty.
|
||||||
**/
|
**/
|
||||||
@@ -2743,6 +2777,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
||||||
**/
|
**/
|
||||||
CannotChillOther: AugmentedError<ApiType>;
|
CannotChillOther: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Cannot reset a ledger.
|
||||||
|
**/
|
||||||
|
CannotRestoreLedger: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Commission is too low. Must be at least `MinCommission`.
|
* Commission is too low. Must be at least `MinCommission`.
|
||||||
**/
|
**/
|
||||||
@@ -2801,6 +2839,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Not a controller account.
|
* Not a controller account.
|
||||||
**/
|
**/
|
||||||
NotController: AugmentedError<ApiType>;
|
NotController: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Not enough funds available to withdraw.
|
||||||
|
**/
|
||||||
|
NotEnoughFunds: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Items are not sorted and unique.
|
* Items are not sorted and unique.
|
||||||
**/
|
**/
|
||||||
@@ -2813,6 +2855,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Can not rebond without unlocking chunks.
|
* Can not rebond without unlocking chunks.
|
||||||
**/
|
**/
|
||||||
NoUnlockChunk: AugmentedError<ApiType>;
|
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
|
* There are too many nominators in the system. Governance needs to adjust the staking
|
||||||
* settings to keep things safe for the runtime.
|
* settings to keep things safe for the runtime.
|
||||||
@@ -3058,7 +3104,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
MissingProof: AugmentedError<ApiType>;
|
MissingProof: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Unable to verify proof becasue state data is missing.
|
* Unable to verify proof because state data is missing.
|
||||||
**/
|
**/
|
||||||
MissingStateData: AugmentedError<ApiType>;
|
MissingStateData: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill], { who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill }>;
|
LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill], { who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill }>;
|
||||||
/**
|
/**
|
||||||
* A successful call of the `CretaPool` extrinsic will create this event.
|
* A successful call of the `CreatePool` extrinsic will create this event.
|
||||||
**/
|
**/
|
||||||
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, poolAccount: AccountId32, lpToken: u32], { creator: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, poolAccount: AccountId32, lpToken: u32 }>;
|
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, poolAccount: AccountId32, lpToken: u32], { creator: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, poolAccount: AccountId32, lpToken: u32 }>;
|
||||||
/**
|
/**
|
||||||
@@ -131,6 +131,20 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* and `SwapTokenForExactToken` will generate this event.
|
* 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]>> }>;
|
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
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -533,7 +547,7 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Ownership of a Region has been transferred.
|
* 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
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -772,7 +786,7 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], { proposalIndex: u32, deposit: u128 }>;
|
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32, deposit: u128], { proposalIndex: u32, deposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account has secconded a proposal
|
* An account has seconded a proposal
|
||||||
**/
|
**/
|
||||||
Seconded: AugmentedEvent<ApiType, [seconder: AccountId32, propIndex: u32], { seconder: AccountId32, propIndex: u32 }>;
|
Seconded: AugmentedEvent<ApiType, [seconder: AccountId32, propIndex: u32], { seconder: AccountId32, propIndex: u32 }>;
|
||||||
/**
|
/**
|
||||||
@@ -827,7 +841,7 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A solution was stored with the given compute.
|
* A solution was stored with the given compute.
|
||||||
*
|
*
|
||||||
* The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
|
* The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
|
||||||
* the stored solution was submited in the signed phase by a miner with the `AccountId`.
|
* the stored solution was submitted in the signed phase by a miner with the `AccountId`.
|
||||||
* Otherwise, the solution was stored either during the unsigned phase or by
|
* Otherwise, the solution was stored either during the unsigned phase or by
|
||||||
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
||||||
* room for this one.
|
* room for this one.
|
||||||
@@ -1371,7 +1385,7 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
Thawed: AugmentedEvent<ApiType, [index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool], { index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool }>;
|
Thawed: AugmentedEvent<ApiType, [index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool], { index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool }>;
|
||||||
/**
|
/**
|
||||||
* A receipt was transfered.
|
* A receipt was transferred.
|
||||||
**/
|
**/
|
||||||
Transferred: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, index: u32], { from: AccountId32, to: AccountId32, index: u32 }>;
|
Transferred: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, index: u32], { from: AccountId32, to: AccountId32, index: u32 }>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The prime member that helps determine the default vote behavior in case of absentations.
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
||||||
**/
|
**/
|
||||||
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
@@ -317,10 +317,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Any liquidity locks on some account balances.
|
* Any liquidity locks on some account balances.
|
||||||
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
||||||
|
*
|
||||||
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Named reserves on some account balances.
|
* Named reserves on some account balances.
|
||||||
|
*
|
||||||
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||||
/**
|
/**
|
||||||
@@ -421,7 +425,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
leases: AugmentedQuery<ApiType, () => Observable<Vec<PalletBrokerLeaseRecordItem>>, []> & QueryableStorageEntry<ApiType, []>;
|
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]>;
|
regions: AugmentedQuery<ApiType, (arg: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array) => Observable<Option<PalletBrokerRegionRecord>>, [PalletBrokerRegionId]> & QueryableStorageEntry<ApiType, [PalletBrokerRegionId]>;
|
||||||
/**
|
/**
|
||||||
@@ -579,7 +583,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The prime member that helps determine the default vote behavior in case of absentations.
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
||||||
**/
|
**/
|
||||||
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
@@ -1395,11 +1399,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: QueryableStorageEntry<ApiType>;
|
[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: {
|
parameters: {
|
||||||
/**
|
/**
|
||||||
* Stored 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
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1857,6 +1871,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
counterForValidators: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
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.
|
* The current era index.
|
||||||
*
|
*
|
||||||
@@ -2090,6 +2108,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* and slash value of the era.
|
* 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]>;
|
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
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -2244,7 +2271,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
members: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The prime member that helps determine the default vote behavior in case of absentations.
|
* The prime member that helps determine the default vote behavior in case of abstentions.
|
||||||
**/
|
**/
|
||||||
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
prime: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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 { 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 { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { 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, 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, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||||
@@ -274,6 +274,33 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* for a quote.
|
* 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]>;
|
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
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -936,7 +963,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
||||||
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
||||||
* possibililty of churn).
|
* possibility of churn).
|
||||||
**/
|
**/
|
||||||
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
||||||
/**
|
/**
|
||||||
@@ -1109,13 +1136,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
/**
|
/**
|
||||||
* Claim the revenue owed from inclusion in the Instantaneous Coretime Pool.
|
* 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.
|
* - `region_id`: The Region which was assigned to the Pool.
|
||||||
* - `max_timeslices`: The maximum number of timeslices which should be processed. This may
|
* - `max_timeslices`: The maximum number of timeslices which should be processed. This
|
||||||
* effect the weight of the call but should be ideally made equivalant to the length of
|
* must be greater than 0. This may affect the weight of the call but should be ideally
|
||||||
* the Region `region_id`. If it is less than this, then further dispatches will be
|
* made equivalent to the length of the Region `region_id`. If less, further dispatches
|
||||||
* required with the `region_id` which makes up any remainders of the region to be
|
* will be required with the same `region_id` to claim revenue for the remainder.
|
||||||
* collected.
|
|
||||||
**/
|
**/
|
||||||
claimRevenue: AugmentedSubmittable<(regionId: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array, maxTimeslices: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, u32]>;
|
claimRevenue: AugmentedSubmittable<(regionId: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array, maxTimeslices: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, u32]>;
|
||||||
/**
|
/**
|
||||||
@@ -1240,9 +1266,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - `origin`: Must be Root or pass `AdminOrigin`.
|
* - `origin`: Must be Root or pass `AdminOrigin`.
|
||||||
* - `initial_price`: The price of Bulk Coretime in the first sale.
|
* - `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.
|
* Transfer a Bulk Coretime Region to a new owner.
|
||||||
*
|
*
|
||||||
@@ -3808,7 +3839,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* In the case of `origin != other`, `origin` can only bond extra pending rewards of
|
* In the case of `origin != other`, `origin` can only bond extra pending rewards of
|
||||||
* `other` members assuming set_claim_permission for the given member is
|
* `other` members assuming set_claim_permission for the given member is
|
||||||
* `PermissionlessAll` or `PermissionlessCompound`.
|
* `PermissionlessCompound` or `PermissionlessAll`.
|
||||||
**/
|
**/
|
||||||
bondExtraOther: AugmentedSubmittable<(member: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, extra: PalletNominationPoolsBondExtra | { FreeBalance: any } | { Rewards: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletNominationPoolsBondExtra]>;
|
bondExtraOther: AugmentedSubmittable<(member: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, extra: PalletNominationPoolsBondExtra | { FreeBalance: any } | { Rewards: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletNominationPoolsBondExtra]>;
|
||||||
/**
|
/**
|
||||||
@@ -3846,14 +3877,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* The member will earn rewards pro rata based on the members stake vs the sum of the
|
* The member will earn rewards pro rata based on the members stake vs the sum of the
|
||||||
* members in the pools stake. Rewards do not "expire".
|
* members in the pools stake. Rewards do not "expire".
|
||||||
*
|
*
|
||||||
* See `claim_payout_other` to caim rewards on bahalf of some `other` pool member.
|
* See `claim_payout_other` to claim rewards on behalf of some `other` pool member.
|
||||||
**/
|
**/
|
||||||
claimPayout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
claimPayout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||||
/**
|
/**
|
||||||
* `origin` can claim payouts on some pool member `other`'s behalf.
|
* `origin` can claim payouts on some pool member `other`'s behalf.
|
||||||
*
|
*
|
||||||
* Pool member `other` must have a `PermissionlessAll` or `PermissionlessWithdraw` in order
|
* Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
|
||||||
* for this call to be successful.
|
* permission for this call to be successful.
|
||||||
**/
|
**/
|
||||||
claimPayoutOther: AugmentedSubmittable<(other: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
claimPayoutOther: AugmentedSubmittable<(other: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
||||||
/**
|
/**
|
||||||
@@ -3926,15 +3957,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Allows a pool member to set a claim permission to allow or disallow permissionless
|
* Allows a pool member to set a claim permission to allow or disallow permissionless
|
||||||
* bonding and withdrawing.
|
* bonding and withdrawing.
|
||||||
*
|
*
|
||||||
* By default, this is `Permissioned`, which implies only the pool member themselves can
|
|
||||||
* claim their pending rewards. If a pool member wishes so, they can set this to
|
|
||||||
* `PermissionlessAll` to allow any account to claim their rewards and bond extra to the
|
|
||||||
* pool.
|
|
||||||
*
|
|
||||||
* # Arguments
|
* # Arguments
|
||||||
*
|
*
|
||||||
* * `origin` - Member of a pool.
|
* * `origin` - Member of a pool.
|
||||||
* * `actor` - Account to claim reward. // improve this
|
* * `permission` - The permission to be applied.
|
||||||
**/
|
**/
|
||||||
setClaimPermission: AugmentedSubmittable<(permission: PalletNominationPoolsClaimPermission | 'Permissioned' | 'PermissionlessCompound' | 'PermissionlessWithdraw' | 'PermissionlessAll' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsClaimPermission]>;
|
setClaimPermission: AugmentedSubmittable<(permission: PalletNominationPoolsClaimPermission | 'Permissioned' | 'PermissionlessCompound' | 'PermissionlessWithdraw' | 'PermissionlessAll' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsClaimPermission]>;
|
||||||
/**
|
/**
|
||||||
@@ -3956,7 +3982,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Set or remove a pool's commission claim permission.
|
* Set or remove a pool's commission claim permission.
|
||||||
*
|
*
|
||||||
* Determines who can claim the pool's pending commission. Only the `Root` role of the pool
|
* Determines who can claim the pool's pending commission. Only the `Root` role of the pool
|
||||||
* is able to conifigure commission claim permissions.
|
* is able to configure commission claim permissions.
|
||||||
**/
|
**/
|
||||||
setCommissionClaimPermission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, permission: Option<PalletNominationPoolsCommissionClaimPermission> | null | Uint8Array | PalletNominationPoolsCommissionClaimPermission | { Permissionless: any } | { Account: any } | string) => SubmittableExtrinsic<ApiType>, [u32, Option<PalletNominationPoolsCommissionClaimPermission>]>;
|
setCommissionClaimPermission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, permission: Option<PalletNominationPoolsCommissionClaimPermission> | null | Uint8Array | PalletNominationPoolsCommissionClaimPermission | { Permissionless: any } | { Account: any } | string) => SubmittableExtrinsic<ApiType>, [u32, Option<PalletNominationPoolsCommissionClaimPermission>]>;
|
||||||
/**
|
/**
|
||||||
@@ -3969,7 +3995,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
|
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
|
* Update configurations for the nomination pools. The origin for this call must be
|
||||||
* Root.
|
* [`Config::AdminOrigin`].
|
||||||
*
|
*
|
||||||
* # Arguments
|
* # Arguments
|
||||||
*
|
*
|
||||||
@@ -4079,7 +4105,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
|
||||||
* deleted by setting them to `None`.
|
* 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
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -5854,7 +5880,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Increments the ideal number of validators upto maximum of
|
* Increments the ideal number of validators up to maximum of
|
||||||
* `ElectionProviderBase::MaxWinners`.
|
* `ElectionProviderBase::MaxWinners`.
|
||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* The dispatch origin must be Root.
|
||||||
@@ -5957,7 +5983,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Scale up the ideal number of validators by a factor upto maximum of
|
* Restores the state of a ledger which is in an inconsistent state.
|
||||||
|
*
|
||||||
|
* The requirements to restore a ledger are the following:
|
||||||
|
* * The stash is bonded; or
|
||||||
|
* * The stash is not bonded but it has a staking lock left behind; or
|
||||||
|
* * If the stash has an associated ledger and its state is inconsistent; or
|
||||||
|
* * If the ledger is not corrupted *but* its staking lock is out of sync.
|
||||||
|
*
|
||||||
|
* The `maybe_*` input parameters will overwrite the corresponding data and metadata of the
|
||||||
|
* ledger associated with the stash. If the input parameters are not set, the ledger will
|
||||||
|
* be reset values from on-chain state.
|
||||||
|
**/
|
||||||
|
restoreLedger: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, maybeController: Option<AccountId32> | null | Uint8Array | AccountId32 | string, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PalletStakingUnlockChunk>> | null | Uint8Array | Vec<PalletStakingUnlockChunk> | (PalletStakingUnlockChunk | { value?: any; era?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<AccountId32>, Option<u128>, Option<Vec<PalletStakingUnlockChunk>>]>;
|
||||||
|
/**
|
||||||
|
* Scale up the ideal number of validators by a factor up to maximum of
|
||||||
* `ElectionProviderBase::MaxWinners`.
|
* `ElectionProviderBase::MaxWinners`.
|
||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* The dispatch origin must be Root.
|
||||||
@@ -6097,7 +6137,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* this call results in a complete removal of all the data related to the stash account.
|
* this call results in a complete removal of all the data related to the stash account.
|
||||||
* In this case, the `num_slashing_spans` must be larger or equal to the number of
|
* In this case, the `num_slashing_spans` must be larger or equal to the number of
|
||||||
* slashing spans associated with the stash account in the [`SlashingSpans`] storage type,
|
* slashing spans associated with the stash account in the [`SlashingSpans`] storage type,
|
||||||
* otherwise the call will fail. The call weight is directly propotional to
|
* otherwise the call will fail. The call weight is directly proportional to
|
||||||
* `num_slashing_spans`.
|
* `num_slashing_spans`.
|
||||||
*
|
*
|
||||||
* ## Complexity
|
* ## Complexity
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-core": "10.12.6",
|
"@polkadot/rpc-core": "11.0.3",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,22 +18,22 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "10.12.6",
|
"@polkadot/api": "11.0.3",
|
||||||
"@polkadot/api-augment": "10.12.6",
|
"@polkadot/api-augment": "11.0.3",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/types-create": "10.12.6",
|
"@polkadot/types-create": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"@polkadot/util-crypto": "^12.6.2",
|
"@polkadot/util-crypto": "^12.6.2",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "10.12.6",
|
"@polkadot/api-augment": "11.0.3",
|
||||||
"@polkadot/keyring": "^12.6.2",
|
"@polkadot/keyring": "^12.6.2",
|
||||||
"@polkadot/types-support": "10.12.6"
|
"@polkadot/types-support": "11.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,25 +18,25 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "10.12.6",
|
"@polkadot/api": "11.0.3",
|
||||||
"@polkadot/api-augment": "10.12.6",
|
"@polkadot/api-augment": "11.0.3",
|
||||||
"@polkadot/api-base": "10.12.6",
|
"@polkadot/api-base": "11.0.3",
|
||||||
"@polkadot/rpc-core": "10.12.6",
|
"@polkadot/rpc-core": "11.0.3",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"@polkadot/util-crypto": "^12.6.2",
|
"@polkadot/util-crypto": "^12.6.2",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "10.12.6",
|
"@polkadot/api": "11.0.3",
|
||||||
"@polkadot/api-augment": "10.12.6",
|
"@polkadot/api-augment": "11.0.3",
|
||||||
"@polkadot/rpc-augment": "10.12.6",
|
"@polkadot/rpc-augment": "11.0.3",
|
||||||
"@polkadot/rpc-provider": "10.12.6",
|
"@polkadot/rpc-provider": "11.0.3",
|
||||||
"@polkadot/types-support": "10.12.6"
|
"@polkadot/types-support": "11.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,8 +67,11 @@ function getModules (api: DeriveApi): [string, string | null] {
|
|||||||
: api.query.elections
|
: api.query.elections
|
||||||
? 'elections'
|
? 'elections'
|
||||||
: null;
|
: null;
|
||||||
|
// In some cases council here can refer to `generalCouncil` depending on what the chain specific override is.
|
||||||
|
// Therefore, we check to see if it exists in the query field. If it does not we default to `council`.
|
||||||
|
const resolvedCouncil = api.query[council] ? council : 'council';
|
||||||
|
|
||||||
return [council, elections];
|
return [resolvedCouncil, elections];
|
||||||
}
|
}
|
||||||
|
|
||||||
function queryAll (api: DeriveApi, council: string, elections: string): Observable<[AccountId32[], Candidate[], Member[], Member[]]> {
|
function queryAll (api: DeriveApi, council: string, elections: string): Observable<[AccountId32[], Candidate[], Member[], Member[]]> {
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -17,11 +17,11 @@ function combineAccounts (nextElected: AccountId[], validators: AccountId[]): Ac
|
|||||||
return arrayFlatten([nextElected, validators.filter((v) => !nextElected.find((n) => n.eq(v)))]);
|
return arrayFlatten([nextElected, validators.filter((v) => !nextElected.find((n) => n.eq(v)))]);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function electedInfo (instanceId: string, api: DeriveApi): (flags?: StakingQueryFlags) => Observable<DeriveStakingElected> {
|
export function electedInfo (instanceId: string, api: DeriveApi): (flags?: StakingQueryFlags, page?: number) => Observable<DeriveStakingElected> {
|
||||||
return memo(instanceId, (flags: StakingQueryFlags = DEFAULT_FLAGS): Observable<DeriveStakingElected> =>
|
return memo(instanceId, (flags: StakingQueryFlags = DEFAULT_FLAGS, page = 0): Observable<DeriveStakingElected> =>
|
||||||
api.derive.staking.validators().pipe(
|
api.derive.staking.validators().pipe(
|
||||||
switchMap(({ nextElected, validators }): Observable<DeriveStakingElected> =>
|
switchMap(({ nextElected, validators }): Observable<DeriveStakingElected> =>
|
||||||
api.derive.staking.queryMulti(combineAccounts(nextElected, validators), flags).pipe(
|
api.derive.staking.queryMulti(combineAccounts(nextElected, validators), flags, page).pipe(
|
||||||
map((info): DeriveStakingElected => ({
|
map((info): DeriveStakingElected => ({
|
||||||
info,
|
info,
|
||||||
nextElected,
|
nextElected,
|
||||||
|
|||||||
@@ -2,7 +2,10 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import type { Observable } from 'rxjs';
|
import type { Observable } from 'rxjs';
|
||||||
|
import type { Option, u32 } from '@polkadot/types';
|
||||||
import type { EraIndex } from '@polkadot/types/interfaces';
|
import type { EraIndex } from '@polkadot/types/interfaces';
|
||||||
|
import type { SpStakingExposure, SpStakingExposurePage, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
||||||
|
import type { AnyNumber } from '@polkadot/types-codec/types';
|
||||||
import type { DeriveApi, DeriveOwnExposure } from '../types.js';
|
import type { DeriveApi, DeriveOwnExposure } from '../types.js';
|
||||||
|
|
||||||
import { combineLatest, map, of } from 'rxjs';
|
import { combineLatest, map, of } from 'rxjs';
|
||||||
@@ -10,24 +13,42 @@ import { combineLatest, map, of } from 'rxjs';
|
|||||||
import { firstMemo, memo } from '../util/index.js';
|
import { firstMemo, memo } from '../util/index.js';
|
||||||
import { erasHistoricApplyAccount } from './util.js';
|
import { erasHistoricApplyAccount } from './util.js';
|
||||||
|
|
||||||
export function _ownExposures (instanceId: string, api: DeriveApi): (accountId: Uint8Array | string, eras: EraIndex[], withActive: boolean) => Observable<DeriveOwnExposure[]> {
|
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): Observable<DeriveOwnExposure[]> =>
|
return memo(instanceId, (accountId: Uint8Array | string, eras: EraIndex[], _withActive: boolean, page: u32 | AnyNumber): Observable<DeriveOwnExposure[]> => {
|
||||||
eras.length
|
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([
|
? combineLatest([
|
||||||
combineLatest(eras.map((e) => api.query.staking.erasStakersClipped(e, accountId))),
|
// Backwards and forward compat for historical integrity when using `erasHistoricApplyAccount`
|
||||||
combineLatest(eras.map((e) => api.query.staking.erasStakers(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(
|
]).pipe(
|
||||||
map(([clp, exp]): DeriveOwnExposure[] =>
|
map(([clp, exp, paged, expMeta]): DeriveOwnExposure[] =>
|
||||||
eras.map((era, index) => ({ clipped: clp[index], era, exposure: exp[index] }))
|
eras.map((era, index) => ({ clipped: clp[index], era, exposure: exp[index], exposureMeta: expMeta[index], exposurePaged: paged[index] }))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
: of([])
|
: of([]);
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export const ownExposure = /*#__PURE__*/ firstMemo(
|
export const ownExposure = /*#__PURE__*/ firstMemo(
|
||||||
(api: DeriveApi, accountId: Uint8Array | string, era: EraIndex) =>
|
(api: DeriveApi, accountId: Uint8Array | string, era: EraIndex, page?: u32 | AnyNumber) =>
|
||||||
api.derive.staking._ownExposures(accountId, [era], true)
|
api.derive.staking._ownExposures(accountId, [era], true, page || 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
export const ownExposures = /*#__PURE__*/ erasHistoricApplyAccount('_ownExposures');
|
export const ownExposures = /*#__PURE__*/ erasHistoricApplyAccount('_ownExposures');
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import type { Observable } from 'rxjs';
|
import type { Observable } from 'rxjs';
|
||||||
import type { Option } from '@polkadot/types';
|
import type { Option, StorageKey, u32, Vec } from '@polkadot/types';
|
||||||
import type { AccountId, EraIndex } from '@polkadot/types/interfaces';
|
import type { AccountId, EraIndex } from '@polkadot/types/interfaces';
|
||||||
import type { PalletStakingNominations, PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposure } 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';
|
import type { DeriveApi, DeriveStakingQuery, StakingQueryFlags } from '../types.js';
|
||||||
|
|
||||||
import { combineLatest, map, of, switchMap } from 'rxjs';
|
import { combineLatest, map, of, switchMap } from 'rxjs';
|
||||||
@@ -19,11 +20,70 @@ function rewardDestinationCompat (rewardDestination: PalletStakingRewardDestinat
|
|||||||
: (rewardDestination as PalletStakingRewardDestination);
|
: (rewardDestination as PalletStakingRewardDestination);
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseDetails (stashId: AccountId, controllerIdOpt: Option<AccountId> | null, nominatorsOpt: Option<PalletStakingNominations>, rewardDestinationOpts: Option<PalletStakingRewardDestination> | PalletStakingRewardDestination, validatorPrefs: PalletStakingValidatorPrefs, exposure: SpStakingExposure, stakingLedgerOpt: Option<PalletStakingStakingLedger>): DeriveStakingQuery {
|
function filterClaimedRewards (api: DeriveApi, cl: number[]): Vec<u32> {
|
||||||
|
return api.registry.createType('Vec<u32>', cl.filter((c) => c !== -1));
|
||||||
|
}
|
||||||
|
|
||||||
|
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 {
|
return {
|
||||||
accountId: stashId,
|
accountId: stashId,
|
||||||
|
claimedRewardsEras: filterClaimedRewards(api, claimedRewards),
|
||||||
controllerId: controllerIdOpt?.unwrapOr(null) || null,
|
controllerId: controllerIdOpt?.unwrapOr(null) || null,
|
||||||
exposure,
|
exposureEraStakers,
|
||||||
|
exposureMeta,
|
||||||
|
exposurePaged: exposure,
|
||||||
nominators: nominatorsOpt.isSome
|
nominators: nominatorsOpt.isSome
|
||||||
? nominatorsOpt.unwrap().targets
|
? nominatorsOpt.unwrap().targets
|
||||||
: [],
|
: [],
|
||||||
@@ -57,11 +117,25 @@ function getLedgers (api: DeriveApi, optIds: (Option<AccountId> | null)[], { wit
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraIndex, { withController, withDestination, withExposure, withLedger, withNominations, withPrefs }: StakingQueryFlags): Observable<[(Option<AccountId> | null)[], Option<PalletStakingNominations>[], Option<PalletStakingRewardDestination>[], PalletStakingValidatorPrefs[], SpStakingExposure[]]> {
|
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 emptyNoms = api.registry.createType<Option<PalletStakingNominations>>('Option<Nominations>');
|
||||||
const emptyRewa = api.registry.createType<Option<PalletStakingRewardDestination>>('RewardDestination');
|
const emptyRewa = api.registry.createType<Option<PalletStakingRewardDestination>>('RewardDestination');
|
||||||
const emptyExpo = api.registry.createType<SpStakingExposure>('Exposure');
|
const emptyExpoEraStakers = api.registry.createType<SpStakingExposure>('Exposure');
|
||||||
const emptyPrefs = api.registry.createType<PalletStakingValidatorPrefs>('ValidatorPrefs');
|
const emptyPrefs = api.registry.createType<PalletStakingValidatorPrefs>('ValidatorPrefs');
|
||||||
|
// 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());
|
||||||
|
const eras = new Array(depth).fill(0).map((_, idx) => {
|
||||||
|
if (idx === 0) {
|
||||||
|
return activeEra.toNumber() - 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
return activeEra.toNumber() - idx - 1;
|
||||||
|
});
|
||||||
|
|
||||||
return combineLatest([
|
return combineLatest([
|
||||||
withController || withLedger
|
withController || withLedger
|
||||||
@@ -76,19 +150,33 @@ function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraInde
|
|||||||
withPrefs
|
withPrefs
|
||||||
? combineLatest(stashIds.map((s) => api.query.staking.validators(s)))
|
? combineLatest(stashIds.map((s) => api.query.staking.validators(s)))
|
||||||
: of(stashIds.map(() => emptyPrefs)),
|
: 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 && api.query.staking.erasStakersOverview
|
||||||
|
? combineLatest(stashIds.map((s) => api.query.staking.erasStakersOverview(activeEra, s)))
|
||||||
|
: of(stashIds.map(() => emptyExpoMeta)),
|
||||||
|
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)),
|
||||||
|
withExposureErasStakersLegacy && api.query.staking.erasStakers
|
||||||
? combineLatest(stashIds.map((s) => api.query.staking.erasStakers(activeEra, s)))
|
? combineLatest(stashIds.map((s) => api.query.staking.erasStakers(activeEra, s)))
|
||||||
: of(stashIds.map(() => emptyExpo))
|
: of(stashIds.map(() => emptyExpoEraStakers))
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getBatch (api: DeriveApi, activeEra: EraIndex, stashIds: AccountId[], flags: StakingQueryFlags): Observable<DeriveStakingQuery[]> {
|
function getBatch (api: DeriveApi, activeEra: EraIndex, stashIds: AccountId[], flags: StakingQueryFlags, page: u32 | AnyNumber): Observable<DeriveStakingQuery[]> {
|
||||||
return getStashInfo(api, stashIds, activeEra, flags).pipe(
|
return getStashInfo(api, stashIds, activeEra, flags, page).pipe(
|
||||||
switchMap(([controllerIdOpt, nominatorsOpt, rewardDestination, validatorPrefs, exposure]): Observable<DeriveStakingQuery[]> =>
|
switchMap(([controllerIdOpt, nominatorsOpt, rewardDestination, validatorPrefs, exposure, exposureMeta, claimedRewardsEras, exposureEraStakers]): Observable<DeriveStakingQuery[]> =>
|
||||||
getLedgers(api, controllerIdOpt, flags).pipe(
|
getLedgers(api, controllerIdOpt, flags).pipe(
|
||||||
map((stakingLedgerOpts) =>
|
map((stakingLedgerOpts) =>
|
||||||
stashIds.map((stashId, index) =>
|
stashIds.map((stashId, index) =>
|
||||||
parseDetails(stashId, controllerIdOpt[index], nominatorsOpt[index], rewardDestination[index], validatorPrefs[index], exposure[index], stakingLedgerOpts[index])
|
parseDetails(api, stashId, controllerIdOpt[index], nominatorsOpt[index], rewardDestination[index], validatorPrefs[index], exposure[index], stakingLedgerOpts[index], exposureMeta[index], claimedRewardsEras[index], exposureEraStakers[index])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -101,18 +189,19 @@ function getBatch (api: DeriveApi, activeEra: EraIndex, stashIds: AccountId[], f
|
|||||||
* @description From a stash, retrieve the controllerId and all relevant details
|
* @description From a stash, retrieve the controllerId and all relevant details
|
||||||
*/
|
*/
|
||||||
export const query = /*#__PURE__*/ firstMemo(
|
export const query = /*#__PURE__*/ firstMemo(
|
||||||
(api: DeriveApi, accountId: Uint8Array | string, flags: StakingQueryFlags) =>
|
(api: DeriveApi, accountId: Uint8Array | string, flags: StakingQueryFlags, page?: u32) =>
|
||||||
api.derive.staking.queryMulti([accountId], flags)
|
api.derive.staking.queryMulti([accountId], flags, page)
|
||||||
);
|
);
|
||||||
|
|
||||||
export function queryMulti (instanceId: string, api: DeriveApi): (accountIds: (Uint8Array | string)[], flags: StakingQueryFlags) => Observable<DeriveStakingQuery[]> {
|
export function queryMulti (instanceId: string, api: DeriveApi): (accountIds: (Uint8Array | string)[], flags: StakingQueryFlags, page?: u32 | AnyNumber) => Observable<DeriveStakingQuery[]> {
|
||||||
return memo(instanceId, (accountIds: (Uint8Array | string)[], flags: StakingQueryFlags): Observable<DeriveStakingQuery[]> =>
|
return memo(instanceId, (accountIds: (Uint8Array | string)[], flags: StakingQueryFlags, page?: u32 | AnyNumber): Observable<DeriveStakingQuery[]> =>
|
||||||
api.derive.session.indexes().pipe(
|
api.derive.session.indexes().pipe(
|
||||||
switchMap(({ activeEra }): Observable<DeriveStakingQuery[]> => {
|
switchMap(({ activeEra }): Observable<DeriveStakingQuery[]> => {
|
||||||
const stashIds = accountIds.map((a) => api.registry.createType('AccountId', a));
|
const stashIds = accountIds.map((a) => api.registry.createType('AccountId', a));
|
||||||
|
const p = page || 0;
|
||||||
|
|
||||||
return stashIds.length
|
return stashIds.length
|
||||||
? getBatch(api, activeEra, stashIds, flags)
|
? getBatch(api, activeEra, stashIds, flags, p)
|
||||||
: of([]);
|
: of([]);
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -18,13 +18,15 @@ import { firstMemo, memo } from '../util/index.js';
|
|||||||
type ErasResult = [DeriveEraPoints[], DeriveEraPrefs[], DeriveEraRewards[]];
|
type ErasResult = [DeriveEraPoints[], DeriveEraPrefs[], DeriveEraRewards[]];
|
||||||
|
|
||||||
// handle compatibility between generations of structures
|
// handle compatibility between generations of structures
|
||||||
function extractCompatRewards (ledger?: PalletStakingStakingLedger): u32[] {
|
function extractCompatRewards (claimedRewardsEras: Vec<u32>, ledger?: PalletStakingStakingLedger): u32[] {
|
||||||
return ledger
|
const l = ledger
|
||||||
? (
|
? (
|
||||||
ledger.legacyClaimedRewards ||
|
ledger.legacyClaimedRewards ||
|
||||||
(ledger as PalletStakingStakingLedger & { claimedRewards: Vec<u32> }).claimedRewards
|
(ledger as PalletStakingStakingLedger & { claimedRewards: Vec<u32> }).claimedRewards
|
||||||
)
|
).toArray()
|
||||||
: [];
|
: [] as unknown as Vec<u32>;
|
||||||
|
|
||||||
|
return claimedRewardsEras.toArray().concat(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseRewards (api: DeriveApi, stashId: AccountId, [erasPoints, erasPrefs, erasRewards]: ErasResult, exposures: DeriveStakerExposure[]): DeriveStakerReward[] {
|
function parseRewards (api: DeriveApi, stashId: AccountId, [erasPoints, erasPrefs, erasRewards]: ErasResult, exposures: DeriveStakerExposure[]): DeriveStakerReward[] {
|
||||||
@@ -111,7 +113,7 @@ function allUniqValidators (rewards: DeriveStakerReward[][]): [string[], string[
|
|||||||
}, [[], []]);
|
}, [[], []]);
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeClaimed (validators: string[], queryValidators: DeriveStakingQuery[], reward: DeriveStakerReward): void {
|
function removeClaimed (validators: string[], queryValidators: DeriveStakingQuery[], reward: DeriveStakerReward, claimedRewardsEras: Vec<u32>): void {
|
||||||
const rm: string[] = [];
|
const rm: string[] = [];
|
||||||
|
|
||||||
Object.keys(reward.validators).forEach((validatorId): void => {
|
Object.keys(reward.validators).forEach((validatorId): void => {
|
||||||
@@ -120,7 +122,7 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
|
|||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
const valLedger = queryValidators[index].stakingLedger;
|
const valLedger = queryValidators[index].stakingLedger;
|
||||||
|
|
||||||
if (extractCompatRewards(valLedger).some((e) => reward.era.eq(e))) {
|
if (extractCompatRewards(claimedRewardsEras, valLedger).some((e) => reward.era.eq(e))) {
|
||||||
rm.push(validatorId);
|
rm.push(validatorId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -131,8 +133,8 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][], { rewards, stakingLedger }: { rewards: DeriveStakerReward[]; stakingLedger: PalletStakingStakingLedger }): DeriveStakerReward[] {
|
function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][], { claimedRewardsEras, rewards, stakingLedger }: { rewards: DeriveStakerReward[]; stakingLedger: PalletStakingStakingLedger, claimedRewardsEras: Vec<u32> }): DeriveStakerReward[] {
|
||||||
const filter = eras.filter((e) => !extractCompatRewards(stakingLedger).some((s) => s.eq(e)));
|
const filter = eras.filter((e) => !extractCompatRewards(claimedRewardsEras, stakingLedger).some((s) => s.eq(e)));
|
||||||
const validators = valInfo.map(([v]) => v);
|
const validators = valInfo.map(([v]) => v);
|
||||||
const queryValidators = valInfo.map(([, q]) => q);
|
const queryValidators = valInfo.map(([, q]) => q);
|
||||||
|
|
||||||
@@ -143,7 +145,7 @@ function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
removeClaimed(validators, queryValidators, reward);
|
removeClaimed(validators, queryValidators, reward, claimedRewardsEras);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
})
|
})
|
||||||
@@ -168,13 +170,13 @@ export function _stakerRewardsEras (instanceId: string, api: DeriveApi): (eras:
|
|||||||
export function _stakerRewards (instanceId: string, api: DeriveApi): (accountIds: (Uint8Array | string)[], eras: EraIndex[], withActive?: boolean) => Observable<DeriveStakerReward[][]> {
|
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[][]> =>
|
return memo(instanceId, (accountIds: (Uint8Array | string)[], eras: EraIndex[], withActive = false): Observable<DeriveStakerReward[][]> =>
|
||||||
combineLatest([
|
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._stakerExposures(accountIds, eras, withActive),
|
||||||
api.derive.staking._stakerRewardsEras(eras, withActive)
|
api.derive.staking._stakerRewardsEras(eras, withActive)
|
||||||
]).pipe(
|
]).pipe(
|
||||||
switchMap(([queries, exposures, erasResult]): Observable<DeriveStakerReward[][]> => {
|
switchMap(([queries, exposures, erasResult]): Observable<DeriveStakerReward[][]> => {
|
||||||
const allRewards = queries.map(({ stakingLedger, stashId }, index): DeriveStakerReward[] =>
|
const allRewards = queries.map(({ claimedRewardsEras, stakingLedger, stashId }, index): DeriveStakerReward[] =>
|
||||||
(!stashId || !stakingLedger)
|
(!stashId || (!stakingLedger && !claimedRewardsEras))
|
||||||
? []
|
? []
|
||||||
: parseRewards(api, stashId, erasResult, exposures[index])
|
: parseRewards(api, stashId, erasResult, exposures[index])
|
||||||
);
|
);
|
||||||
@@ -185,9 +187,9 @@ export function _stakerRewards (instanceId: string, api: DeriveApi): (accountIds
|
|||||||
|
|
||||||
const [allValidators, stashValidators] = allUniqValidators(allRewards);
|
const [allValidators, stashValidators] = allUniqValidators(allRewards);
|
||||||
|
|
||||||
return api.derive.staking.queryMulti(allValidators, { withLedger: true }).pipe(
|
return api.derive.staking.queryMulti(allValidators, { withClaimedRewardsEras: true, withLedger: true }).pipe(
|
||||||
map((queriedVals): DeriveStakerReward[][] =>
|
map((queriedVals): DeriveStakerReward[][] =>
|
||||||
queries.map(({ stakingLedger }, index): DeriveStakerReward[] =>
|
queries.map(({ claimedRewardsEras, stakingLedger }, index): DeriveStakerReward[] =>
|
||||||
filterRewards(
|
filterRewards(
|
||||||
eras,
|
eras,
|
||||||
stashValidators[index]
|
stashValidators[index]
|
||||||
@@ -197,6 +199,7 @@ export function _stakerRewards (instanceId: string, api: DeriveApi): (accountIds
|
|||||||
])
|
])
|
||||||
.filter((v): v is [string, DeriveStakingQuery] => !!v[1]),
|
.filter((v): v is [string, DeriveStakingQuery] => !!v[1]),
|
||||||
{
|
{
|
||||||
|
claimedRewardsEras,
|
||||||
rewards: allRewards[index],
|
rewards: allRewards[index],
|
||||||
stakingLedger
|
stakingLedger
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
// Copyright 2017-2024 @polkadot/api-derive authors & contributors
|
// Copyright 2017-2024 @polkadot/api-derive authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
import type { Option, u32, Vec } from '@polkadot/types';
|
||||||
import type { AccountId, Balance, EraIndex, RewardPoint } from '@polkadot/types/interfaces';
|
import type { AccountId, Balance, EraIndex, RewardPoint } from '@polkadot/types/interfaces';
|
||||||
import type { PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposure, SpStakingExposurePage } from '@polkadot/types/lookup';
|
import type { PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposure, SpStakingExposurePage, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
||||||
import type { BN } from '@polkadot/util';
|
import type { BN } from '@polkadot/util';
|
||||||
import type { DeriveSessionIndexes } from '../session/types.js';
|
import type { DeriveSessionIndexes } from '../session/types.js';
|
||||||
|
|
||||||
@@ -42,8 +43,10 @@ export interface DeriveStakerPoints {
|
|||||||
|
|
||||||
export interface DeriveOwnExposure {
|
export interface DeriveOwnExposure {
|
||||||
clipped: SpStakingExposure;
|
clipped: SpStakingExposure;
|
||||||
|
exposurePaged: Option<SpStakingExposurePage>;
|
||||||
era: EraIndex;
|
era: EraIndex;
|
||||||
exposure: SpStakingExposure;
|
exposure: SpStakingExposure;
|
||||||
|
exposureMeta: Option<SpStakingPagedExposureMetadata>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DeriveEraExposureNominating {
|
export interface DeriveEraExposureNominating {
|
||||||
@@ -115,11 +118,15 @@ export interface DeriveStakingValidators {
|
|||||||
|
|
||||||
export interface DeriveStakingStash {
|
export interface DeriveStakingStash {
|
||||||
controllerId: AccountId | null;
|
controllerId: AccountId | null;
|
||||||
exposure: SpStakingExposure;
|
// Legacy Support for erasStakers
|
||||||
|
exposureEraStakers: SpStakingExposure;
|
||||||
|
exposurePaged: Option<SpStakingExposurePage>;
|
||||||
|
exposureMeta: Option<SpStakingPagedExposureMetadata>;
|
||||||
nominators: AccountId[];
|
nominators: AccountId[];
|
||||||
rewardDestination: PalletStakingRewardDestination | null;
|
rewardDestination: PalletStakingRewardDestination | null;
|
||||||
stashId: AccountId;
|
stashId: AccountId;
|
||||||
validatorPrefs: PalletStakingValidatorPrefs;
|
validatorPrefs: PalletStakingValidatorPrefs;
|
||||||
|
claimedRewardsEras: Vec<u32>
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface DeriveStakingQuery extends DeriveStakingStash {
|
export interface DeriveStakingQuery extends DeriveStakingStash {
|
||||||
@@ -157,7 +164,10 @@ export interface StakingQueryFlags {
|
|||||||
withController?: boolean;
|
withController?: boolean;
|
||||||
withDestination?: boolean;
|
withDestination?: boolean;
|
||||||
withExposure?: boolean;
|
withExposure?: boolean;
|
||||||
|
withExposureErasStakersLegacy?: boolean,
|
||||||
withLedger?: boolean;
|
withLedger?: boolean;
|
||||||
withNominations?: boolean;
|
withNominations?: boolean;
|
||||||
withPrefs?: boolean;
|
withPrefs?: boolean;
|
||||||
|
withExposureMeta?: boolean;
|
||||||
|
withClaimedRewardsEras?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
import type { Observable } from 'rxjs';
|
import type { Observable } from 'rxjs';
|
||||||
import type { ObsInnerType } from '@polkadot/api-base/types';
|
import type { ObsInnerType } from '@polkadot/api-base/types';
|
||||||
|
import type { u32 } from '@polkadot/types';
|
||||||
import type { EraIndex } from '@polkadot/types/interfaces';
|
import type { EraIndex } from '@polkadot/types/interfaces';
|
||||||
|
import type { AnyNumber } from '@polkadot/types-codec/types';
|
||||||
import type { ExactDerive } from '../derive.js';
|
import type { ExactDerive } from '../derive.js';
|
||||||
import type { DeriveApi } from '../types.js';
|
import type { DeriveApi } from '../types.js';
|
||||||
|
|
||||||
@@ -60,9 +62,9 @@ export function erasHistoricApplyAccount <F extends '_ownExposures' | '_ownSlash
|
|||||||
return (instanceId: string, api: DeriveApi) =>
|
return (instanceId: string, api: DeriveApi) =>
|
||||||
// Cannot quite get the typing right, but it is right in the code
|
// Cannot quite get the typing right, but it is right in the code
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||||
memo(instanceId, (accountId: string | Uint8Array, withActive = false) =>
|
memo(instanceId, (accountId: string | Uint8Array, withActive = false, page?: u32 | AnyNumber) =>
|
||||||
api.derive.staking.erasHistoric(withActive).pipe(
|
api.derive.staking.erasHistoric(withActive).pipe(
|
||||||
switchMap((e) => api.derive.staking[fn](accountId, e, withActive))
|
switchMap((e) => api.derive.staking[fn](accountId, e, withActive, page || 0))
|
||||||
)
|
)
|
||||||
) as any;
|
) as any;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,14 +11,22 @@ import { memo } from '../util/index.js';
|
|||||||
|
|
||||||
export function nextElected (instanceId: string, api: DeriveApi): () => Observable<AccountId[]> {
|
export function nextElected (instanceId: string, api: DeriveApi): () => Observable<AccountId[]> {
|
||||||
return memo(instanceId, (): Observable<AccountId[]> =>
|
return memo(instanceId, (): Observable<AccountId[]> =>
|
||||||
api.query.staking.erasStakers
|
// Compatibility for future generation changes in staking.
|
||||||
|
api.query.staking.erasStakersPaged
|
||||||
? api.derive.session.indexes().pipe(
|
? api.derive.session.indexes().pipe(
|
||||||
// only populate for next era in the last session, so track both here - entries are not
|
// 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
|
// subscriptions, so we need a trigger - currentIndex acts as that trigger to refresh
|
||||||
switchMap(({ currentEra }) => api.query.staking.erasStakers.keys(currentEra)),
|
switchMap(({ currentEra }) => api.query.staking.erasStakersPaged.keys(currentEra)),
|
||||||
map((keys) => keys.map(({ args: [, accountId] }) => accountId))
|
map((keys) => keys.map(({ args: [, accountId] }) => accountId))
|
||||||
)
|
)
|
||||||
: 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)),
|
||||||
|
map((keys) => keys.map(({ args: [, accountId] }) => accountId))
|
||||||
|
)
|
||||||
|
: api.query.staking['currentElected']<AccountId[]>()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+14
-14
@@ -18,21 +18,21 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api-augment": "10.12.6",
|
"@polkadot/api-augment": "11.0.3",
|
||||||
"@polkadot/api-base": "10.12.6",
|
"@polkadot/api-base": "11.0.3",
|
||||||
"@polkadot/api-derive": "10.12.6",
|
"@polkadot/api-derive": "11.0.3",
|
||||||
"@polkadot/keyring": "^12.6.2",
|
"@polkadot/keyring": "^12.6.2",
|
||||||
"@polkadot/rpc-augment": "10.12.6",
|
"@polkadot/rpc-augment": "11.0.3",
|
||||||
"@polkadot/rpc-core": "10.12.6",
|
"@polkadot/rpc-core": "11.0.3",
|
||||||
"@polkadot/rpc-provider": "10.12.6",
|
"@polkadot/rpc-provider": "11.0.3",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-augment": "10.12.6",
|
"@polkadot/types-augment": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/types-create": "10.12.6",
|
"@polkadot/types-create": "11.0.3",
|
||||||
"@polkadot/types-known": "10.12.6",
|
"@polkadot/types-known": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"@polkadot/util-crypto": "^12.6.2",
|
"@polkadot/util-crypto": "^12.6.2",
|
||||||
"eventemitter3": "^5.0.1",
|
"eventemitter3": "^5.0.1",
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "10.12.6",
|
"@polkadot/api-augment": "11.0.3",
|
||||||
"@polkadot/types-support": "10.12.6"
|
"@polkadot/types-support": "11.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-core": "10.12.6",
|
"@polkadot/rpc-core": "11.0.3",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,18 +18,18 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-augment": "10.12.6",
|
"@polkadot/rpc-augment": "11.0.3",
|
||||||
"@polkadot/rpc-provider": "10.12.6",
|
"@polkadot/rpc-provider": "11.0.3",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^12.6.2",
|
"@polkadot/keyring": "^12.6.2",
|
||||||
"@polkadot/rpc-augment": "10.12.6"
|
"@polkadot/rpc-augment": "11.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/keyring": "^12.6.2",
|
"@polkadot/keyring": "^12.6.2",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-support": "10.12.6",
|
"@polkadot/types-support": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"@polkadot/util-crypto": "^12.6.2",
|
"@polkadot/util-crypto": "^12.6.2",
|
||||||
"@polkadot/x-fetch": "^12.6.2",
|
"@polkadot/x-fetch": "^12.6.2",
|
||||||
@@ -35,9 +35,9 @@
|
|||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@substrate/connect": "0.8.8"
|
"@substrate/connect": "0.8.10"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@substrate/connect": "0.8.8"
|
"@substrate/connect": "0.8.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||||
@@ -28,15 +28,15 @@
|
|||||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "10.12.6",
|
"@polkadot/api": "11.0.3",
|
||||||
"@polkadot/api-augment": "10.12.6",
|
"@polkadot/api-augment": "11.0.3",
|
||||||
"@polkadot/rpc-augment": "10.12.6",
|
"@polkadot/rpc-augment": "11.0.3",
|
||||||
"@polkadot/rpc-provider": "10.12.6",
|
"@polkadot/rpc-provider": "11.0.3",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-augment": "10.12.6",
|
"@polkadot/types-augment": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/types-create": "10.12.6",
|
"@polkadot/types-create": "11.0.3",
|
||||||
"@polkadot/types-support": "10.12.6",
|
"@polkadot/types-support": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"@polkadot/util-crypto": "^12.6.2",
|
"@polkadot/util-crypto": "^12.6.2",
|
||||||
"@polkadot/x-ws": "^12.6.2",
|
"@polkadot/x-ws": "^12.6.2",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
/* eslint-disable sort-keys */
|
/* eslint-disable sort-keys */
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
/**
|
||||||
|
* Lookup54: sp_core::ed25519::Public
|
||||||
|
**/
|
||||||
|
SpCoreEd25519Public: '[u8;32]',
|
||||||
/**
|
/**
|
||||||
* Lookup56: polkadot_runtime_common::impls::VersionedLocatableAsset
|
* Lookup56: polkadot_runtime_common::impls::VersionedLocatableAsset
|
||||||
**/
|
**/
|
||||||
@@ -345,6 +349,10 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* Lookup107: sp_core::sr25519::Public
|
||||||
|
**/
|
||||||
|
SpCoreSr25519Public: '[u8;32]',
|
||||||
/**
|
/**
|
||||||
* Lookup130: polkadot_runtime::SessionKeys
|
* Lookup130: polkadot_runtime::SessionKeys
|
||||||
**/
|
**/
|
||||||
@@ -364,6 +372,14 @@ export default {
|
|||||||
* Lookup132: polkadot_primitives::v6::assignment_app::Public
|
* Lookup132: polkadot_primitives::v6::assignment_app::Public
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV6AssignmentAppPublic: 'SpCoreSr25519Public',
|
PolkadotPrimitivesV6AssignmentAppPublic: 'SpCoreSr25519Public',
|
||||||
|
/**
|
||||||
|
* Lookup135: sp_core::ecdsa::Public
|
||||||
|
**/
|
||||||
|
SpCoreEcdsaPublic: '[u8;33]',
|
||||||
|
/**
|
||||||
|
* Lookup143: sp_core::ed25519::Signature
|
||||||
|
**/
|
||||||
|
SpCoreEd25519Signature: '[u8;64]',
|
||||||
/**
|
/**
|
||||||
* Lookup157: polkadot_runtime::OriginCaller
|
* Lookup157: polkadot_runtime::OriginCaller
|
||||||
**/
|
**/
|
||||||
@@ -537,6 +553,14 @@ export default {
|
|||||||
PolkadotRuntimeCommonClaimsStatementKind: {
|
PolkadotRuntimeCommonClaimsStatementKind: {
|
||||||
_enum: ['Regular', 'Saft']
|
_enum: ['Regular', 'Saft']
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* Lookup221: sp_core::sr25519::Signature
|
||||||
|
**/
|
||||||
|
SpCoreSr25519Signature: '[u8;64]',
|
||||||
|
/**
|
||||||
|
* Lookup222: sp_core::ecdsa::Signature
|
||||||
|
**/
|
||||||
|
SpCoreEcdsaSignature: '[u8;65]',
|
||||||
/**
|
/**
|
||||||
* Lookup226: polkadot_runtime::ProxyType
|
* Lookup226: polkadot_runtime::ProxyType
|
||||||
**/
|
**/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -11,6 +11,9 @@ import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|||||||
import type { AccountId32, H256, PerU16, Perbill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256, PerU16, Perbill } from '@polkadot/types/interfaces/runtime';
|
||||||
|
|
||||||
declare module '@polkadot/types/lookup' {
|
declare module '@polkadot/types/lookup' {
|
||||||
|
/** @name SpCoreEd25519Public (54) */
|
||||||
|
interface SpCoreEd25519Public extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonImplsVersionedLocatableAsset (56) */
|
/** @name PolkadotRuntimeCommonImplsVersionedLocatableAsset (56) */
|
||||||
interface PolkadotRuntimeCommonImplsVersionedLocatableAsset extends Enum {
|
interface PolkadotRuntimeCommonImplsVersionedLocatableAsset extends Enum {
|
||||||
readonly isV3: boolean;
|
readonly isV3: boolean;
|
||||||
@@ -387,6 +390,9 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
|
readonly type: 'Voice' | 'Members' | 'Fraction' | 'AtLeastProportion' | 'MoreThanProportion';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name SpCoreSr25519Public (107) */
|
||||||
|
interface SpCoreSr25519Public extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeSessionKeys (130) */
|
/** @name PolkadotRuntimeSessionKeys (130) */
|
||||||
interface PolkadotRuntimeSessionKeys extends Struct {
|
interface PolkadotRuntimeSessionKeys extends Struct {
|
||||||
readonly grandpa: SpConsensusGrandpaAppPublic;
|
readonly grandpa: SpConsensusGrandpaAppPublic;
|
||||||
@@ -403,6 +409,12 @@ declare module '@polkadot/types/lookup' {
|
|||||||
/** @name PolkadotPrimitivesV6AssignmentAppPublic (132) */
|
/** @name PolkadotPrimitivesV6AssignmentAppPublic (132) */
|
||||||
interface PolkadotPrimitivesV6AssignmentAppPublic extends SpCoreSr25519Public {}
|
interface PolkadotPrimitivesV6AssignmentAppPublic extends SpCoreSr25519Public {}
|
||||||
|
|
||||||
|
/** @name SpCoreEcdsaPublic (135) */
|
||||||
|
interface SpCoreEcdsaPublic extends U8aFixed {}
|
||||||
|
|
||||||
|
/** @name SpCoreEd25519Signature (143) */
|
||||||
|
interface SpCoreEd25519Signature extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeOriginCaller (157) */
|
/** @name PolkadotRuntimeOriginCaller (157) */
|
||||||
interface PolkadotRuntimeOriginCaller extends Enum {
|
interface PolkadotRuntimeOriginCaller extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
@@ -496,6 +508,12 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Regular' | 'Saft';
|
readonly type: 'Regular' | 'Saft';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name SpCoreSr25519Signature (221) */
|
||||||
|
interface SpCoreSr25519Signature extends U8aFixed {}
|
||||||
|
|
||||||
|
/** @name SpCoreEcdsaSignature (222) */
|
||||||
|
interface SpCoreEcdsaSignature extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeProxyType (226) */
|
/** @name PolkadotRuntimeProxyType (226) */
|
||||||
interface PolkadotRuntimeProxyType extends Enum {
|
interface PolkadotRuntimeProxyType extends Enum {
|
||||||
readonly isAny: boolean;
|
readonly isAny: boolean;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ import type { NftCollectionId, NftItemId } from '@polkadot/types/interfaces/nfts
|
|||||||
import type { NpApiError, NpPoolId } from '@polkadot/types/interfaces/nompools';
|
import type { NpApiError, NpPoolId } from '@polkadot/types/interfaces/nompools';
|
||||||
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
|
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
|
||||||
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
|
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
|
||||||
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
|
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, ApprovalVotingParams, AssignmentId, AssignmentKind, AsyncBackingParams, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, BackingState, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, Constraints, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpLimitations, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, NodeFeatures, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpChannelLimitations, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
|
||||||
import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment';
|
import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment';
|
||||||
import type { Approvals } from '@polkadot/types/interfaces/poll';
|
import type { Approvals } from '@polkadot/types/interfaces/poll';
|
||||||
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
|
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
|
||||||
@@ -112,6 +112,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6;
|
ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6;
|
||||||
ApprovalFlag: ApprovalFlag;
|
ApprovalFlag: ApprovalFlag;
|
||||||
Approvals: Approvals;
|
Approvals: Approvals;
|
||||||
|
ApprovalVotingParams: ApprovalVotingParams;
|
||||||
ArithmeticError: ArithmeticError;
|
ArithmeticError: ArithmeticError;
|
||||||
AssetApproval: AssetApproval;
|
AssetApproval: AssetApproval;
|
||||||
AssetApprovalKey: AssetApprovalKey;
|
AssetApprovalKey: AssetApprovalKey;
|
||||||
@@ -127,6 +128,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
AssetOptions: AssetOptions;
|
AssetOptions: AssetOptions;
|
||||||
AssignmentId: AssignmentId;
|
AssignmentId: AssignmentId;
|
||||||
AssignmentKind: AssignmentKind;
|
AssignmentKind: AssignmentKind;
|
||||||
|
AsyncBackingParams: AsyncBackingParams;
|
||||||
AttestedCandidate: AttestedCandidate;
|
AttestedCandidate: AttestedCandidate;
|
||||||
AuctionIndex: AuctionIndex;
|
AuctionIndex: AuctionIndex;
|
||||||
AuthIndex: AuthIndex;
|
AuthIndex: AuthIndex;
|
||||||
@@ -149,6 +151,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
BabeGenesisConfigurationV1: BabeGenesisConfigurationV1;
|
BabeGenesisConfigurationV1: BabeGenesisConfigurationV1;
|
||||||
BabeWeight: BabeWeight;
|
BabeWeight: BabeWeight;
|
||||||
BackedCandidate: BackedCandidate;
|
BackedCandidate: BackedCandidate;
|
||||||
|
BackingState: BackingState;
|
||||||
Balance: Balance;
|
Balance: Balance;
|
||||||
BalanceLock: BalanceLock;
|
BalanceLock: BalanceLock;
|
||||||
BalanceLockTo212: BalanceLockTo212;
|
BalanceLockTo212: BalanceLockTo212;
|
||||||
@@ -251,6 +254,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
ConfigData: ConfigData;
|
ConfigData: ConfigData;
|
||||||
Consensus: Consensus;
|
Consensus: Consensus;
|
||||||
ConsensusEngineId: ConsensusEngineId;
|
ConsensusEngineId: ConsensusEngineId;
|
||||||
|
Constraints: Constraints;
|
||||||
ConsumedWeight: ConsumedWeight;
|
ConsumedWeight: ConsumedWeight;
|
||||||
ContractCallFlags: ContractCallFlags;
|
ContractCallFlags: ContractCallFlags;
|
||||||
ContractCallRequest: ContractCallRequest;
|
ContractCallRequest: ContractCallRequest;
|
||||||
@@ -585,6 +589,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
ImmortalEra: ImmortalEra;
|
ImmortalEra: ImmortalEra;
|
||||||
ImportedAux: ImportedAux;
|
ImportedAux: ImportedAux;
|
||||||
InboundDownwardMessage: InboundDownwardMessage;
|
InboundDownwardMessage: InboundDownwardMessage;
|
||||||
|
InboundHrmpLimitations: InboundHrmpLimitations;
|
||||||
InboundHrmpMessage: InboundHrmpMessage;
|
InboundHrmpMessage: InboundHrmpMessage;
|
||||||
InboundHrmpMessages: InboundHrmpMessages;
|
InboundHrmpMessages: InboundHrmpMessages;
|
||||||
InboundLaneData: InboundLaneData;
|
InboundLaneData: InboundLaneData;
|
||||||
@@ -730,6 +735,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
NextConfigDescriptorV1: NextConfigDescriptorV1;
|
NextConfigDescriptorV1: NextConfigDescriptorV1;
|
||||||
NftCollectionId: NftCollectionId;
|
NftCollectionId: NftCollectionId;
|
||||||
NftItemId: NftItemId;
|
NftItemId: NftItemId;
|
||||||
|
NodeFeatures: NodeFeatures;
|
||||||
NodeRole: NodeRole;
|
NodeRole: NodeRole;
|
||||||
Nominations: Nominations;
|
Nominations: Nominations;
|
||||||
NominatorIndex: NominatorIndex;
|
NominatorIndex: NominatorIndex;
|
||||||
@@ -763,6 +769,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
OriginKindV0: OriginKindV0;
|
OriginKindV0: OriginKindV0;
|
||||||
OriginKindV1: OriginKindV1;
|
OriginKindV1: OriginKindV1;
|
||||||
OriginKindV2: OriginKindV2;
|
OriginKindV2: OriginKindV2;
|
||||||
|
OutboundHrmpChannelLimitations: OutboundHrmpChannelLimitations;
|
||||||
OutboundHrmpMessage: OutboundHrmpMessage;
|
OutboundHrmpMessage: OutboundHrmpMessage;
|
||||||
OutboundLaneData: OutboundLaneData;
|
OutboundLaneData: OutboundLaneData;
|
||||||
OutboundMessageFee: OutboundMessageFee;
|
OutboundMessageFee: OutboundMessageFee;
|
||||||
|
|||||||
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"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
@@ -26,9 +26,9 @@
|
|||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-augment": "10.12.6",
|
"@polkadot/types-augment": "11.0.3",
|
||||||
"@polkadot/types-support": "10.12.6",
|
"@polkadot/types-support": "11.0.3",
|
||||||
"@polkadot/util-crypto": "^12.6.2"
|
"@polkadot/util-crypto": "^12.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "10.12.6"
|
"@polkadot/types": "11.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/networks": "^12.6.2",
|
"@polkadot/networks": "^12.6.2",
|
||||||
"@polkadot/types": "10.12.6",
|
"@polkadot/types": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/types-create": "10.12.6",
|
"@polkadot/types-create": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "10.12.6"
|
"@polkadot/api": "11.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -47,11 +47,17 @@ export const versioned: OverrideVersionedType[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
// metadata V14
|
// metadata V14
|
||||||
minmax: [500, undefined],
|
minmax: [500, 1001003],
|
||||||
types: {
|
types: {
|
||||||
Weight: 'WeightV1',
|
Weight: 'WeightV1',
|
||||||
TAssetConversion: 'Option<AssetId>'
|
TAssetConversion: 'Option<AssetId>'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
minmax: [1002000, undefined],
|
||||||
|
types: {
|
||||||
|
Weight: 'WeightV1'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// ,
|
// ,
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -4778,5 +4778,87 @@ export const upgrades: ChainUpgradesExpanded = [
|
|||||||
1
|
1
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
[
|
||||||
|
22515962,
|
||||||
|
1001003,
|
||||||
|
[
|
||||||
|
[
|
||||||
|
"0xdf6acb689907609b",
|
||||||
|
4
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x37e397fc7c91f5e4",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x40fe3ad401f8959a",
|
||||||
|
6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xd2bc9897eed08f15",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xf78b278be53f454c",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xaf2c0297a23e6d3d",
|
||||||
|
7
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"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
|
||||||
|
]
|
||||||
|
]
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -3216,5 +3216,169 @@ export const upgrades: ChainUpgradesExpanded = [
|
|||||||
1
|
1
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
[
|
||||||
|
20181758,
|
||||||
|
1001003,
|
||||||
|
[
|
||||||
|
[
|
||||||
|
"0xdf6acb689907609b",
|
||||||
|
4
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x37e397fc7c91f5e4",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x40fe3ad401f8959a",
|
||||||
|
6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x17a6bc0d0062aeb3",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x18ef58a3b67ba770",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xd2bc9897eed08f15",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xf78b278be53f454c",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xaf2c0297a23e6d3d",
|
||||||
|
5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x49eaaf1b548a0cb0",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x91d5df18b0d2cf58",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x2a5e924655399e60",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xed99c5acb25eedf5",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xcbca25e39f142387",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x687ad44ad37f03c2",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xab3c0572291feb8b",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xbc9d89904f5b923f",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x37c8bb1350a9a2a8",
|
||||||
|
4
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xf3ff14d5ab527059",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xfbc577b9d747efd6",
|
||||||
|
1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
],
|
||||||
|
[
|
||||||
|
20438530,
|
||||||
|
1002000,
|
||||||
|
[
|
||||||
|
[
|
||||||
|
"0xdf6acb689907609b",
|
||||||
|
4
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x37e397fc7c91f5e4",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x40fe3ad401f8959a",
|
||||||
|
6
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x17a6bc0d0062aeb3",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x18ef58a3b67ba770",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xd2bc9897eed08f15",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xf78b278be53f454c",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xaf2c0297a23e6d3d",
|
||||||
|
10
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x49eaaf1b548a0cb0",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x91d5df18b0d2cf58",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x2a5e924655399e60",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xed99c5acb25eedf5",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xcbca25e39f142387",
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x687ad44ad37f03c2",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xab3c0572291feb8b",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xbc9d89904f5b923f",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x37c8bb1350a9a2a8",
|
||||||
|
4
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xf3ff14d5ab527059",
|
||||||
|
3
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xfbc577b9d747efd6",
|
||||||
|
1
|
||||||
|
]
|
||||||
|
]
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -5416,5 +5416,91 @@ export const upgrades: ChainUpgradesExpanded = [
|
|||||||
1
|
1
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
[
|
||||||
|
20368318,
|
||||||
|
1010000,
|
||||||
|
[
|
||||||
|
[
|
||||||
|
"0xdf6acb689907609b",
|
||||||
|
5
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"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
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x6ff52ee858e6c5bd",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x17a6bc0d0062aeb3",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x18ef58a3b67ba770",
|
||||||
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0xfbc577b9d747efd6",
|
||||||
|
1
|
||||||
|
]
|
||||||
|
]
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -20,5 +20,6 @@ export const upgrades: ChainUpgradesRaw = [
|
|||||||
[14248044, 9271], [14433840, 9280], [14645900, 9291], [15048375, 9300], [15426015, 9320],
|
[14248044, 9271], [14433840, 9280], [14645900, 9291], [15048375, 9300], [15426015, 9320],
|
||||||
// we have 9340 via system.setStorage (whitelist.WhitelistedCallDispatched event)
|
// we have 9340 via system.setStorage (whitelist.WhitelistedCallDispatched event)
|
||||||
[15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381],
|
[15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381],
|
||||||
[18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002]
|
[18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002],
|
||||||
|
[22515962, 1001003]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -14,5 +14,6 @@ export const upgrades: ChainUpgradesRaw = [
|
|||||||
[10458576, 9200], [10655116, 9220], [10879371, 9230], [11328884, 9250], [11532856, 9260],
|
[10458576, 9200], [10655116, 9220], [10879371, 9230], [11328884, 9250], [11532856, 9260],
|
||||||
[11933818, 9270], [12217535, 9280], [12245277, 9281], [12532644, 9291], [12876189, 9300],
|
[11933818, 9270], [12217535, 9280], [12245277, 9281], [12532644, 9291], [12876189, 9300],
|
||||||
[13800015, 9340], [14188833, 9360], [14543918, 9370], [15978362, 9420], [16450000, 9430],
|
[13800015, 9340], [14188833, 9360], [14543918, 9370], [15978362, 9420], [16450000, 9430],
|
||||||
[17840000, 9431], [18407475, 1000001], [19551000, 1001002]
|
[17840000, 9431], [18407475, 1000001], [19551000, 1001002], [20181758, 1001003],
|
||||||
|
[20438530, 1002000]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -20,5 +20,6 @@ export const upgrades: ChainUpgradesRaw = [
|
|||||||
[13649433, 9340], [13761100, 9350], [13847400, 9360], [14249200, 9370], [14576855, 9380],
|
[13649433, 9340], [13761100, 9350], [13847400, 9360], [14249200, 9370], [14576855, 9380],
|
||||||
[14849830, 9390], [15146832, 9400], [15332317, 9401], [15661793, 9420], [16165469, 9430],
|
[14849830, 9390], [15146832, 9400], [15332317, 9401], [15661793, 9420], [16165469, 9430],
|
||||||
[18293984, 102000], [18293991, 103000], [18451783, 104000], [18679741, 1005000], [19166695, 1006000],
|
[18293984, 102000], [18293991, 103000], [18451783, 104000], [18679741, 1005000], [19166695, 1006000],
|
||||||
[19234157, 1006001], [19542944, 1007000], [19621258, 1007001], [19761406, 1008000], [20056997, 1009000]
|
[19234157, 1006001], [19542944, 1007000], [19621258, 1007001], [19761406, 1008000], [20056997, 1009000],
|
||||||
|
[20368318, 1010000]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -21,15 +21,15 @@ export default {
|
|||||||
"beefy_getFinalizedHead",
|
"beefy_getFinalizedHead",
|
||||||
"beefy_subscribeJustifications",
|
"beefy_subscribeJustifications",
|
||||||
"beefy_unsubscribeJustifications",
|
"beefy_unsubscribeJustifications",
|
||||||
"chainHead_unstable_body",
|
"chainHead_v1_body",
|
||||||
"chainHead_unstable_call",
|
"chainHead_v1_call",
|
||||||
"chainHead_unstable_continue",
|
"chainHead_v1_continue",
|
||||||
"chainHead_unstable_follow",
|
"chainHead_v1_follow",
|
||||||
"chainHead_unstable_header",
|
"chainHead_v1_header",
|
||||||
"chainHead_unstable_stopOperation",
|
"chainHead_v1_stopOperation",
|
||||||
"chainHead_unstable_storage",
|
"chainHead_v1_storage",
|
||||||
"chainHead_unstable_unfollow",
|
"chainHead_v1_unfollow",
|
||||||
"chainHead_unstable_unpin",
|
"chainHead_v1_unpin",
|
||||||
"chainSpec_v1_chainName",
|
"chainSpec_v1_chainName",
|
||||||
"chainSpec_v1_genesisHash",
|
"chainSpec_v1_genesisHash",
|
||||||
"chainSpec_v1_properties",
|
"chainSpec_v1_properties",
|
||||||
@@ -125,8 +125,10 @@ export default {
|
|||||||
"system_syncState",
|
"system_syncState",
|
||||||
"system_unstable_networkState",
|
"system_unstable_networkState",
|
||||||
"system_version",
|
"system_version",
|
||||||
"transactionWatch_unstable_submitAndWatch",
|
"transactionWatch_v1_submitAndWatch",
|
||||||
"transactionWatch_unstable_unwatch",
|
"transactionWatch_v1_unwatch",
|
||||||
|
"transaction_v1_broadcast",
|
||||||
|
"transaction_v1_stop",
|
||||||
"unsubscribe_newHead"
|
"unsubscribe_newHead"
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -18,13 +18,13 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "10.12.6",
|
"version": "11.0.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/keyring": "^12.6.2",
|
"@polkadot/keyring": "^12.6.2",
|
||||||
"@polkadot/types-augment": "10.12.6",
|
"@polkadot/types-augment": "11.0.3",
|
||||||
"@polkadot/types-codec": "10.12.6",
|
"@polkadot/types-codec": "11.0.3",
|
||||||
"@polkadot/types-create": "10.12.6",
|
"@polkadot/types-create": "11.0.3",
|
||||||
"@polkadot/util": "^12.6.2",
|
"@polkadot/util": "^12.6.2",
|
||||||
"@polkadot/util-crypto": "^12.6.2",
|
"@polkadot/util-crypto": "^12.6.2",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
@@ -32,6 +32,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^12.6.2",
|
"@polkadot/keyring": "^12.6.2",
|
||||||
"@polkadot/types-support": "10.12.6"
|
"@polkadot/types-support": "11.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,6 +130,9 @@ export default {
|
|||||||
totalSize: 'u32',
|
totalSize: 'u32',
|
||||||
mqcHead: 'Option<Hash>'
|
mqcHead: 'Option<Hash>'
|
||||||
},
|
},
|
||||||
|
ApprovalVotingParams: {
|
||||||
|
maxApprovalCoalesceCount: 'u32'
|
||||||
|
},
|
||||||
AssignmentId: 'AccountId',
|
AssignmentId: 'AccountId',
|
||||||
AssignmentKind: {
|
AssignmentKind: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -137,6 +140,10 @@ export default {
|
|||||||
Parathread: '(CollatorId, u32)'
|
Parathread: '(CollatorId, u32)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
AsyncBackingParams: {
|
||||||
|
maxCandidateDepth: 'u32',
|
||||||
|
allowedAncestryLen: 'u32'
|
||||||
|
},
|
||||||
AttestedCandidate: {
|
AttestedCandidate: {
|
||||||
candidate: 'AbridgedCandidateReceipt',
|
candidate: 'AbridgedCandidateReceipt',
|
||||||
validityVotes: 'Vec<ValidityAttestation>',
|
validityVotes: 'Vec<ValidityAttestation>',
|
||||||
@@ -153,6 +160,10 @@ export default {
|
|||||||
validityVotes: 'Vec<ValidityAttestation>',
|
validityVotes: 'Vec<ValidityAttestation>',
|
||||||
validatorIndices: 'BitVec'
|
validatorIndices: 'BitVec'
|
||||||
},
|
},
|
||||||
|
BackingState: {
|
||||||
|
constraints: 'Constraints',
|
||||||
|
pendingAvailability: 'Vec<CandidatePendingAvailability>'
|
||||||
|
},
|
||||||
BufferedSessionChange: {
|
BufferedSessionChange: {
|
||||||
applyAt: 'BlockNumber',
|
applyAt: 'BlockNumber',
|
||||||
validators: 'Vec<ValidatorId>',
|
validators: 'Vec<ValidatorId>',
|
||||||
@@ -215,6 +226,22 @@ export default {
|
|||||||
descriptor: 'CandidateDescriptor',
|
descriptor: 'CandidateDescriptor',
|
||||||
commitments: 'CandidateCommitments'
|
commitments: 'CandidateCommitments'
|
||||||
},
|
},
|
||||||
|
Constraints: {
|
||||||
|
minRelayParentNumber: 'BlockNumber',
|
||||||
|
maxPovSize: 'u32',
|
||||||
|
maxCodeSize: 'u32',
|
||||||
|
umpRemaining: 'u32',
|
||||||
|
umpRemainingBytes: 'u32',
|
||||||
|
maxUmpNumPerCandidate: 'u32',
|
||||||
|
dmpRemainingMessages: 'Vec<BlockNumber>',
|
||||||
|
hrmpInbound: 'InboundHrmpLimitations',
|
||||||
|
hrmpChannelsOut: 'HashMap<ParaId, OutboundHrmpChannelLimitations>',
|
||||||
|
maxHrmpNumPerCandidate: 'u32',
|
||||||
|
requiredParent: 'HeadData',
|
||||||
|
validationCodeHash: 'ValidationCodeHash',
|
||||||
|
upgradeRestriction: 'Option<UpgradeRestriction>',
|
||||||
|
futureValidationCode: 'Option<(BlockNumber, ValidationCodeHash)>'
|
||||||
|
},
|
||||||
CoreAssignment: {
|
CoreAssignment: {
|
||||||
core: 'CoreIndex',
|
core: 'CoreIndex',
|
||||||
paraId: 'ParaId',
|
paraId: 'ParaId',
|
||||||
@@ -315,6 +342,9 @@ export default {
|
|||||||
sentAt: 'BlockNumber',
|
sentAt: 'BlockNumber',
|
||||||
data: 'Bytes'
|
data: 'Bytes'
|
||||||
},
|
},
|
||||||
|
InboundHrmpLimitations: {
|
||||||
|
validWatermarks: 'Vec<BlockNumber>'
|
||||||
|
},
|
||||||
InboundHrmpMessages: 'Vec<InboundHrmpMessage>',
|
InboundHrmpMessages: 'Vec<InboundHrmpMessage>',
|
||||||
LocalValidationData: {
|
LocalValidationData: {
|
||||||
parentHead: 'HeadData',
|
parentHead: 'HeadData',
|
||||||
@@ -326,6 +356,7 @@ export default {
|
|||||||
horizontalMessages: 'BTreeMap<ParaId, InboundHrmpMessages>'
|
horizontalMessages: 'BTreeMap<ParaId, InboundHrmpMessages>'
|
||||||
},
|
},
|
||||||
MessageQueueChain: 'RelayChainHash',
|
MessageQueueChain: 'RelayChainHash',
|
||||||
|
NodeFeatures: 'BitVec',
|
||||||
OccupiedCore: {
|
OccupiedCore: {
|
||||||
nextUpOnAvailable: 'Option<ScheduledCore>',
|
nextUpOnAvailable: 'Option<ScheduledCore>',
|
||||||
occupiedSince: 'BlockNumber',
|
occupiedSince: 'BlockNumber',
|
||||||
@@ -339,6 +370,10 @@ export default {
|
|||||||
OccupiedCoreAssumption: {
|
OccupiedCoreAssumption: {
|
||||||
_enum: ['Included,', 'TimedOut', 'Free']
|
_enum: ['Included,', 'TimedOut', 'Free']
|
||||||
},
|
},
|
||||||
|
OutboundHrmpChannelLimitations: {
|
||||||
|
bytesRemaining: 'u32',
|
||||||
|
messagesRemaining: 'u32'
|
||||||
|
},
|
||||||
OutboundHrmpMessage: {
|
OutboundHrmpMessage: {
|
||||||
recipient: 'u32',
|
recipient: 'u32',
|
||||||
data: 'Bytes'
|
data: 'Bytes'
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ const PH_V1_TO_V2: DefinitionsCallEntry['methods'] = {
|
|||||||
type: 'OccupiedCoreAssumption'
|
type: 'OccupiedCoreAssumption'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
type: 'ValidationCode'
|
type: 'Option<ValidationCode>'
|
||||||
},
|
},
|
||||||
validation_code_by_hash: {
|
validation_code_by_hash: {
|
||||||
description: 'Get the validation code from its hash.',
|
description: 'Get the validation code from its hash.',
|
||||||
@@ -231,8 +231,123 @@ const PH_V5: DefinitionsCallEntry['methods'] = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const PH_V6: DefinitionsCallEntry['methods'] = {
|
||||||
|
minimum_backing_votes: {
|
||||||
|
description: 'Get the minimum number of backing votes for a parachain candidate. This is a staging method! Do not use on production runtimes!',
|
||||||
|
params: [],
|
||||||
|
type: 'u32'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const PH_V7: DefinitionsCallEntry['methods'] = {
|
||||||
|
async_backing_params: {
|
||||||
|
description: 'Returns candidate\'s acceptance limitations for asynchronous backing for a relay parent',
|
||||||
|
params: [],
|
||||||
|
type: 'AsyncBackingParams'
|
||||||
|
},
|
||||||
|
para_backing_state: {
|
||||||
|
description: 'Returns the state of parachain backing for a given para',
|
||||||
|
params: [
|
||||||
|
{
|
||||||
|
name: 'paraId',
|
||||||
|
type: 'ParaId'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
type: 'Option<BackingState>'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const PH_V8: DefinitionsCallEntry['methods'] = {
|
||||||
|
disabled_validators: {
|
||||||
|
description: 'Returns a list of all disabled validators at the given block',
|
||||||
|
params: [],
|
||||||
|
type: 'ValidatorIndex'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const PH_V9: DefinitionsCallEntry['methods'] = {
|
||||||
|
node_features: {
|
||||||
|
description: 'Get node features. This is a staging method! Do not use on production runtimes!',
|
||||||
|
params: [],
|
||||||
|
type: 'NodeFeatures'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const PH_V10: DefinitionsCallEntry['methods'] = {
|
||||||
|
approval_voting_params: {
|
||||||
|
description: 'Approval voting configuration parameters',
|
||||||
|
params: [],
|
||||||
|
type: 'ApprovalVotingParams'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
export const runtime: DefinitionsCall = {
|
export const runtime: DefinitionsCall = {
|
||||||
ParachainHost: [
|
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
|
||||||
|
},
|
||||||
|
version: 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
methods: {
|
||||||
|
...PH_V1_TO_V2,
|
||||||
|
...PH_V2_TO_V3,
|
||||||
|
...PH_V3,
|
||||||
|
...PH_V4,
|
||||||
|
...PH_V5,
|
||||||
|
...PH_V6,
|
||||||
|
...PH_V7,
|
||||||
|
...PH_V8,
|
||||||
|
...PH_V9
|
||||||
|
},
|
||||||
|
version: 9
|
||||||
|
},
|
||||||
|
{
|
||||||
|
methods: {
|
||||||
|
...PH_V1_TO_V2,
|
||||||
|
...PH_V2_TO_V3,
|
||||||
|
...PH_V3,
|
||||||
|
...PH_V4,
|
||||||
|
...PH_V5,
|
||||||
|
...PH_V6,
|
||||||
|
...PH_V7,
|
||||||
|
...PH_V8
|
||||||
|
},
|
||||||
|
version: 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
methods: {
|
||||||
|
...PH_V1_TO_V2,
|
||||||
|
...PH_V2_TO_V3,
|
||||||
|
...PH_V3,
|
||||||
|
...PH_V4,
|
||||||
|
...PH_V5,
|
||||||
|
...PH_V6,
|
||||||
|
...PH_V7
|
||||||
|
},
|
||||||
|
version: 7
|
||||||
|
},
|
||||||
|
{
|
||||||
|
methods: {
|
||||||
|
...PH_V1_TO_V2,
|
||||||
|
...PH_V2_TO_V3,
|
||||||
|
...PH_V3,
|
||||||
|
...PH_V4,
|
||||||
|
...PH_V5,
|
||||||
|
...PH_V6
|
||||||
|
},
|
||||||
|
version: 6
|
||||||
|
},
|
||||||
{
|
{
|
||||||
methods: {
|
methods: {
|
||||||
...PH_V1_TO_V2,
|
...PH_V1_TO_V2,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { BTreeMap, BitVec, Bytes, Enum, Option, Struct, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types-codec';
|
import type { BTreeMap, BitVec, Bytes, Enum, HashMap, Option, Struct, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types-codec';
|
||||||
import type { ITuple } from '@polkadot/types-codec/types';
|
import type { ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { Signature } from '@polkadot/types/interfaces/extrinsics';
|
import type { Signature } from '@polkadot/types/interfaces/extrinsics';
|
||||||
import type { AccountId, Balance, BalanceOf, BlockNumber, H256, Hash, Header, StorageProof, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId, Balance, BalanceOf, BlockNumber, H256, Hash, Header, StorageProof, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
|
||||||
@@ -42,6 +42,11 @@ export interface AbridgedHrmpChannel extends Struct {
|
|||||||
readonly mqcHead: Option<Hash>;
|
readonly mqcHead: Option<Hash>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name ApprovalVotingParams */
|
||||||
|
export interface ApprovalVotingParams extends Struct {
|
||||||
|
readonly maxApprovalCoalesceCount: u32;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name AssignmentId */
|
/** @name AssignmentId */
|
||||||
export interface AssignmentId extends AccountId {}
|
export interface AssignmentId extends AccountId {}
|
||||||
|
|
||||||
@@ -53,6 +58,12 @@ export interface AssignmentKind extends Enum {
|
|||||||
readonly type: 'Parachain' | 'Parathread';
|
readonly type: 'Parachain' | 'Parathread';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name AsyncBackingParams */
|
||||||
|
export interface AsyncBackingParams extends Struct {
|
||||||
|
readonly maxCandidateDepth: u32;
|
||||||
|
readonly allowedAncestryLen: u32;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name AttestedCandidate */
|
/** @name AttestedCandidate */
|
||||||
export interface AttestedCandidate extends Struct {
|
export interface AttestedCandidate extends Struct {
|
||||||
readonly candidate: AbridgedCandidateReceipt;
|
readonly candidate: AbridgedCandidateReceipt;
|
||||||
@@ -82,6 +93,12 @@ export interface BackedCandidate extends Struct {
|
|||||||
readonly validatorIndices: BitVec;
|
readonly validatorIndices: BitVec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name BackingState */
|
||||||
|
export interface BackingState extends Struct {
|
||||||
|
readonly constraints: Constraints;
|
||||||
|
readonly pendingAvailability: Vec<CandidatePendingAvailability>;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name Bidder */
|
/** @name Bidder */
|
||||||
export interface Bidder extends Enum {
|
export interface Bidder extends Enum {
|
||||||
readonly isNew: boolean;
|
readonly isNew: boolean;
|
||||||
@@ -172,6 +189,24 @@ export interface CommittedCandidateReceipt extends Struct {
|
|||||||
readonly commitments: CandidateCommitments;
|
readonly commitments: CandidateCommitments;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name Constraints */
|
||||||
|
export interface Constraints extends Struct {
|
||||||
|
readonly minRelayParentNumber: BlockNumber;
|
||||||
|
readonly maxPovSize: u32;
|
||||||
|
readonly maxCodeSize: u32;
|
||||||
|
readonly umpRemaining: u32;
|
||||||
|
readonly umpRemainingBytes: u32;
|
||||||
|
readonly maxUmpNumPerCandidate: u32;
|
||||||
|
readonly dmpRemainingMessages: Vec<BlockNumber>;
|
||||||
|
readonly hrmpInbound: InboundHrmpLimitations;
|
||||||
|
readonly hrmpChannelsOut: HashMap<ParaId, OutboundHrmpChannelLimitations>;
|
||||||
|
readonly maxHrmpNumPerCandidate: u32;
|
||||||
|
readonly requiredParent: HeadData;
|
||||||
|
readonly validationCodeHash: ValidationCodeHash;
|
||||||
|
readonly upgradeRestriction: Option<UpgradeRestriction>;
|
||||||
|
readonly futureValidationCode: Option<ITuple<[BlockNumber, ValidationCodeHash]>>;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name CoreAssignment */
|
/** @name CoreAssignment */
|
||||||
export interface CoreAssignment extends Struct {
|
export interface CoreAssignment extends Struct {
|
||||||
readonly core: CoreIndex;
|
readonly core: CoreIndex;
|
||||||
@@ -401,6 +436,11 @@ export interface InboundDownwardMessage extends Struct {
|
|||||||
readonly pubMsg: DownwardMessage;
|
readonly pubMsg: DownwardMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name InboundHrmpLimitations */
|
||||||
|
export interface InboundHrmpLimitations extends Struct {
|
||||||
|
readonly validWatermarks: Vec<BlockNumber>;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name InboundHrmpMessage */
|
/** @name InboundHrmpMessage */
|
||||||
export interface InboundHrmpMessage extends Struct {
|
export interface InboundHrmpMessage extends Struct {
|
||||||
readonly sentAt: BlockNumber;
|
readonly sentAt: BlockNumber;
|
||||||
@@ -480,6 +520,9 @@ export interface NewBidder extends Struct {
|
|||||||
readonly sub: SubId;
|
readonly sub: SubId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name NodeFeatures */
|
||||||
|
export interface NodeFeatures extends BitVec {}
|
||||||
|
|
||||||
/** @name OccupiedCore */
|
/** @name OccupiedCore */
|
||||||
export interface OccupiedCore extends Struct {
|
export interface OccupiedCore extends Struct {
|
||||||
readonly nextUpOnAvailable: Option<ScheduledCore>;
|
readonly nextUpOnAvailable: Option<ScheduledCore>;
|
||||||
@@ -514,6 +557,12 @@ export interface OldV1SessionInfo extends Struct {
|
|||||||
readonly neededApprovals: u32;
|
readonly neededApprovals: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name OutboundHrmpChannelLimitations */
|
||||||
|
export interface OutboundHrmpChannelLimitations extends Struct {
|
||||||
|
readonly bytesRemaining: u32;
|
||||||
|
readonly messagesRemaining: u32;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name OutboundHrmpMessage */
|
/** @name OutboundHrmpMessage */
|
||||||
export interface OutboundHrmpMessage extends Struct {
|
export interface OutboundHrmpMessage extends Struct {
|
||||||
readonly recipient: u32;
|
readonly recipient: u32;
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.12.6' };
|
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '11.0.3' };
|
||||||
|
|||||||
@@ -380,90 +380,90 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1":
|
||||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
version: 0.0.1
|
||||||
resolution: "@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1"
|
||||||
|
checksum: 10/6ee0916504ab702ac40eb1f983c21246738c1cd8624b35886a075430271800543d32ba5a7f9e6a0cb078880f9756db1bdc83cb86c42b39d326e780a8cf9bf22a
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@polkadot-api/json-rpc-provider@npm:0.0.1":
|
||||||
|
version: 0.0.1
|
||||||
|
resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1"
|
||||||
|
checksum: 10/1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@polkadot-api/metadata-builders@npm:0.0.1":
|
||||||
|
version: 0.0.1
|
||||||
|
resolution: "@polkadot-api/metadata-builders@npm:0.0.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot-api/metadata-builders": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
"@polkadot-api/substrate-bindings": "npm:0.0.1"
|
||||||
"@polkadot-api/substrate-bindings": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
"@polkadot-api/utils": "npm:0.0.1"
|
||||||
"@polkadot-api/substrate-client": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
checksum: 10/e7bf0ad10cbddf75012eaaa1b30060fb1eb142c02f7dfd8edc5a1d78a40ef078b09c85d36bf9f2ac4ab309970ba01dc648ef46745412b006e62e4ddf4f334339
|
||||||
"@polkadot-api/utils": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@polkadot-api/observable-client@npm:0.1.0":
|
||||||
|
version: 0.1.0
|
||||||
|
resolution: "@polkadot-api/observable-client@npm:0.1.0"
|
||||||
|
dependencies:
|
||||||
|
"@polkadot-api/metadata-builders": "npm:0.0.1"
|
||||||
|
"@polkadot-api/substrate-bindings": "npm:0.0.1"
|
||||||
|
"@polkadot-api/substrate-client": "npm:0.0.1"
|
||||||
|
"@polkadot-api/utils": "npm:0.0.1"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
rxjs: ">=7.8.0"
|
rxjs: ">=7.8.0"
|
||||||
checksum: 10/cc9cc2e54cbb6956290f07ecede3c086455147fc84b5668482655b6e5e3726e408157bbe92747dd5a551ab42604df93f35bab45e78f28489dc998a75586f855b
|
checksum: 10/822b4b24e8b2522fa2b0d88d68d098862d36e9ef285dba7468a6ac9084a37670ef0782a9b8a00c2c4d5510a0af90b3611ea097f530bdad1b07bef63234341bf5
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
"@polkadot-api/substrate-bindings@npm:0.0.1":
|
||||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
version: 0.0.1
|
||||||
resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
resolution: "@polkadot-api/substrate-bindings@npm:0.0.1"
|
||||||
checksum: 10/bdcdf34feefd9b7f4b29e4fe212ca2609455fce53aeac5b3df9bba4cf714022d3266877e00fbdf5d2d24090cfbcd5139d859295e4e2bb15d055e2fb2704b79ec
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
|
||||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
|
||||||
resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
|
||||||
checksum: 10/00d4e1f7900a1739e1ba7a3b13d399e5540a27d5c026c985aa4afdf865fb37da4aa4029a3a740932615482cdf18e657011ef05e7e61c2de04016f68fbb343ae7
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
|
||||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
|
||||||
resolution: "@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
|
||||||
dependencies:
|
|
||||||
"@polkadot-api/substrate-bindings": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
|
||||||
"@polkadot-api/utils": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
|
||||||
checksum: 10/0dc59527415b51b9741e95842505cfca788e9fb0e6666be971000b9fe522b7d1a81265d4cab1712c2cc564e14ae8f0e1ef8f32f4023be1261f366edaa1936cc9
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
|
||||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
|
||||||
resolution: "@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
|
||||||
dependencies:
|
dependencies:
|
||||||
"@noble/hashes": "npm:^1.3.1"
|
"@noble/hashes": "npm:^1.3.1"
|
||||||
"@polkadot-api/utils": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
"@polkadot-api/utils": "npm:0.0.1"
|
||||||
"@scure/base": "npm:^1.1.1"
|
"@scure/base": "npm:^1.1.1"
|
||||||
scale-ts: "npm:^1.6.0"
|
scale-ts: "npm:^1.6.0"
|
||||||
checksum: 10/e14a81197b86314aa8887d7e81cbf3f0c3b9eec0267b128c81bb3bf6d26d93ac75bd113177861789a066b215a72ac03c940d590e769ca3f33a2ac4480c752538
|
checksum: 10/9a1a70bd571f1cf262796b445c7a005b425e8e6f855b11757442c6bbe398d4a90575cd3973c9b1918202d3c7ff7162675c349c014677a31cc70cd84f7f973f90
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
"@polkadot-api/substrate-client@npm:0.0.1":
|
||||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
version: 0.0.1
|
||||||
resolution: "@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
resolution: "@polkadot-api/substrate-client@npm:0.0.1"
|
||||||
checksum: 10/af1dce32d1b52bba5494daef387dcb15694ee57ed394e8ac905430ade7cdbae1c44ef5cdb7d777096ee0a0d8a58d3409e9c0c464f780bbd0286cb06d46390c3c
|
checksum: 10/a00521dbda6e87a2d0e860c1608dc164269c62748d60a51326452d3573abfa1d01ed79644f103f1d989c49e8c61169ed04b155d466ec9e6f09f6e424572dea48
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
"@polkadot-api/utils@npm:0.0.1":
|
||||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
version: 0.0.1
|
||||||
resolution: "@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
resolution: "@polkadot-api/utils@npm:0.0.1"
|
||||||
checksum: 10/99d8c233ad4fe58f5ee993cf76b99689e6d34bc239e24785c60d2bd7cd74e4cc2bb8e0704a041c20bff8866a8151126d04c1be01ba5c1d51b1086cd7a5b55814
|
checksum: 10/4bf89955ccf4dafb2ef34f007fc0a12bd6d983a10c4219464a6b1c07e7bfe80ff26f156fa201b3f11ad53adca0abb261fc7ee43b86dcdc10fa0f5325788359ae
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/api-augment@npm:10.12.6, @polkadot/api-augment@workspace:packages/api-augment":
|
"@polkadot/api-augment@npm:11.0.3, @polkadot/api-augment@workspace:packages/api-augment":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api-base": "npm:10.12.6"
|
"@polkadot/api-base": "npm:11.0.3"
|
||||||
"@polkadot/rpc-augment": "npm:10.12.6"
|
"@polkadot/rpc-augment": "npm:11.0.3"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-augment": "npm:10.12.6"
|
"@polkadot/types-augment": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
tslib: "npm:^2.6.2"
|
tslib: "npm:^2.6.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/api-base@npm:10.12.6, @polkadot/api-base@workspace:packages/api-base":
|
"@polkadot/api-base@npm:11.0.3, @polkadot/api-base@workspace:packages/api-base":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/rpc-core": "npm:10.12.6"
|
"@polkadot/rpc-core": "npm:11.0.3"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
tslib: "npm:^2.6.2"
|
tslib: "npm:^2.6.2"
|
||||||
@@ -474,13 +474,13 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api": "npm:10.12.6"
|
"@polkadot/api": "npm:11.0.3"
|
||||||
"@polkadot/api-augment": "npm:10.12.6"
|
"@polkadot/api-augment": "npm:11.0.3"
|
||||||
"@polkadot/keyring": "npm:^12.6.2"
|
"@polkadot/keyring": "npm:^12.6.2"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/types-create": "npm:10.12.6"
|
"@polkadot/types-create": "npm:11.0.3"
|
||||||
"@polkadot/types-support": "npm:10.12.6"
|
"@polkadot/types-support": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
@@ -488,19 +488,19 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/api-derive@npm:10.12.6, @polkadot/api-derive@workspace:packages/api-derive":
|
"@polkadot/api-derive@npm:11.0.3, @polkadot/api-derive@workspace:packages/api-derive":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api": "npm:10.12.6"
|
"@polkadot/api": "npm:11.0.3"
|
||||||
"@polkadot/api-augment": "npm:10.12.6"
|
"@polkadot/api-augment": "npm:11.0.3"
|
||||||
"@polkadot/api-base": "npm:10.12.6"
|
"@polkadot/api-base": "npm:11.0.3"
|
||||||
"@polkadot/rpc-augment": "npm:10.12.6"
|
"@polkadot/rpc-augment": "npm:11.0.3"
|
||||||
"@polkadot/rpc-core": "npm:10.12.6"
|
"@polkadot/rpc-core": "npm:11.0.3"
|
||||||
"@polkadot/rpc-provider": "npm:10.12.6"
|
"@polkadot/rpc-provider": "npm:11.0.3"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/types-support": "npm:10.12.6"
|
"@polkadot/types-support": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
@@ -508,23 +508,23 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/api@npm:10.12.6, @polkadot/api@workspace:packages/api":
|
"@polkadot/api@npm:11.0.3, @polkadot/api@workspace:packages/api":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api@workspace:packages/api"
|
resolution: "@polkadot/api@workspace:packages/api"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api-augment": "npm:10.12.6"
|
"@polkadot/api-augment": "npm:11.0.3"
|
||||||
"@polkadot/api-base": "npm:10.12.6"
|
"@polkadot/api-base": "npm:11.0.3"
|
||||||
"@polkadot/api-derive": "npm:10.12.6"
|
"@polkadot/api-derive": "npm:11.0.3"
|
||||||
"@polkadot/keyring": "npm:^12.6.2"
|
"@polkadot/keyring": "npm:^12.6.2"
|
||||||
"@polkadot/rpc-augment": "npm:10.12.6"
|
"@polkadot/rpc-augment": "npm:11.0.3"
|
||||||
"@polkadot/rpc-core": "npm:10.12.6"
|
"@polkadot/rpc-core": "npm:11.0.3"
|
||||||
"@polkadot/rpc-provider": "npm:10.12.6"
|
"@polkadot/rpc-provider": "npm:11.0.3"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-augment": "npm:10.12.6"
|
"@polkadot/types-augment": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/types-create": "npm:10.12.6"
|
"@polkadot/types-create": "npm:11.0.3"
|
||||||
"@polkadot/types-known": "npm:10.12.6"
|
"@polkadot/types-known": "npm:11.0.3"
|
||||||
"@polkadot/types-support": "npm:10.12.6"
|
"@polkadot/types-support": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||||
eventemitter3: "npm:^5.0.1"
|
eventemitter3: "npm:^5.0.1"
|
||||||
@@ -654,45 +654,45 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/rpc-augment@npm:10.12.6, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
"@polkadot/rpc-augment@npm:11.0.3, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/rpc-core": "npm:10.12.6"
|
"@polkadot/rpc-core": "npm:11.0.3"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
tslib: "npm:^2.6.2"
|
tslib: "npm:^2.6.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/rpc-core@npm:10.12.6, @polkadot/rpc-core@workspace:packages/rpc-core":
|
"@polkadot/rpc-core@npm:11.0.3, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/keyring": "npm:^12.6.2"
|
"@polkadot/keyring": "npm:^12.6.2"
|
||||||
"@polkadot/rpc-augment": "npm:10.12.6"
|
"@polkadot/rpc-augment": "npm:11.0.3"
|
||||||
"@polkadot/rpc-provider": "npm:10.12.6"
|
"@polkadot/rpc-provider": "npm:11.0.3"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
tslib: "npm:^2.6.2"
|
tslib: "npm:^2.6.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/rpc-provider@npm:10.12.6, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
"@polkadot/rpc-provider@npm:11.0.3, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/keyring": "npm:^12.6.2"
|
"@polkadot/keyring": "npm:^12.6.2"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-support": "npm:10.12.6"
|
"@polkadot/types-support": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||||
"@polkadot/x-fetch": "npm:^12.6.2"
|
"@polkadot/x-fetch": "npm:^12.6.2"
|
||||||
"@polkadot/x-global": "npm:^12.6.2"
|
"@polkadot/x-global": "npm:^12.6.2"
|
||||||
"@polkadot/x-ws": "npm:^12.6.2"
|
"@polkadot/x-ws": "npm:^12.6.2"
|
||||||
"@substrate/connect": "npm:0.8.8"
|
"@substrate/connect": "npm:0.8.10"
|
||||||
eventemitter3: "npm:^5.0.1"
|
eventemitter3: "npm:^5.0.1"
|
||||||
mock-socket: "npm:^9.3.1"
|
mock-socket: "npm:^9.3.1"
|
||||||
nock: "npm:^13.5.0"
|
nock: "npm:^13.5.0"
|
||||||
@@ -707,15 +707,15 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api": "npm:10.12.6"
|
"@polkadot/api": "npm:11.0.3"
|
||||||
"@polkadot/api-augment": "npm:10.12.6"
|
"@polkadot/api-augment": "npm:11.0.3"
|
||||||
"@polkadot/rpc-augment": "npm:10.12.6"
|
"@polkadot/rpc-augment": "npm:11.0.3"
|
||||||
"@polkadot/rpc-provider": "npm:10.12.6"
|
"@polkadot/rpc-provider": "npm:11.0.3"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-augment": "npm:10.12.6"
|
"@polkadot/types-augment": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/types-create": "npm:10.12.6"
|
"@polkadot/types-create": "npm:11.0.3"
|
||||||
"@polkadot/types-support": "npm:10.12.6"
|
"@polkadot/types-support": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||||
"@polkadot/x-ws": "npm:^12.6.2"
|
"@polkadot/x-ws": "npm:^12.6.2"
|
||||||
@@ -732,24 +732,24 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-augment@npm:10.12.6, @polkadot/types-augment@workspace:packages/types-augment":
|
"@polkadot/types-augment@npm:11.0.3, @polkadot/types-augment@workspace:packages/types-augment":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
tslib: "npm:^2.6.2"
|
tslib: "npm:^2.6.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-codec@npm:10.12.6, @polkadot/types-codec@workspace:packages/types-codec":
|
"@polkadot/types-codec@npm:11.0.3, @polkadot/types-codec@workspace:packages/types-codec":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-augment": "npm:10.12.6"
|
"@polkadot/types-augment": "npm:11.0.3"
|
||||||
"@polkadot/types-support": "npm:10.12.6"
|
"@polkadot/types-support": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||||
"@polkadot/x-bigint": "npm:^12.6.2"
|
"@polkadot/x-bigint": "npm:^12.6.2"
|
||||||
@@ -757,32 +757,32 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-create@npm:10.12.6, @polkadot/types-create@workspace:packages/types-create":
|
"@polkadot/types-create@npm:11.0.3, @polkadot/types-create@workspace:packages/types-create":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
tslib: "npm:^2.6.2"
|
tslib: "npm:^2.6.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-known@npm:10.12.6, @polkadot/types-known@workspace:packages/types-known":
|
"@polkadot/types-known@npm:11.0.3, @polkadot/types-known@workspace:packages/types-known":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api": "npm:10.12.6"
|
"@polkadot/api": "npm:11.0.3"
|
||||||
"@polkadot/networks": "npm:^12.6.2"
|
"@polkadot/networks": "npm:^12.6.2"
|
||||||
"@polkadot/types": "npm:10.12.6"
|
"@polkadot/types": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/types-create": "npm:10.12.6"
|
"@polkadot/types-create": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
tslib: "npm:^2.6.2"
|
tslib: "npm:^2.6.2"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-support@npm:10.12.6, @polkadot/types-support@workspace:packages/types-support":
|
"@polkadot/types-support@npm:11.0.3, @polkadot/types-support@workspace:packages/types-support":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -791,15 +791,15 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types@npm:10.12.6, @polkadot/types@workspace:packages/types":
|
"@polkadot/types@npm:11.0.3, @polkadot/types@workspace:packages/types":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types@workspace:packages/types"
|
resolution: "@polkadot/types@workspace:packages/types"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/keyring": "npm:^12.6.2"
|
"@polkadot/keyring": "npm:^12.6.2"
|
||||||
"@polkadot/types-augment": "npm:10.12.6"
|
"@polkadot/types-augment": "npm:11.0.3"
|
||||||
"@polkadot/types-codec": "npm:10.12.6"
|
"@polkadot/types-codec": "npm:11.0.3"
|
||||||
"@polkadot/types-create": "npm:10.12.6"
|
"@polkadot/types-create": "npm:11.0.3"
|
||||||
"@polkadot/types-support": "npm:10.12.6"
|
"@polkadot/types-support": "npm:11.0.3"
|
||||||
"@polkadot/util": "npm:^12.6.2"
|
"@polkadot/util": "npm:^12.6.2"
|
||||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
@@ -1224,39 +1224,39 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@substrate/connect-known-chains@npm:^1.1.1":
|
"@substrate/connect-known-chains@npm:^1.1.4":
|
||||||
version: 1.1.1
|
version: 1.1.4
|
||||||
resolution: "@substrate/connect-known-chains@npm:1.1.1"
|
resolution: "@substrate/connect-known-chains@npm:1.1.4"
|
||||||
checksum: 10/98a1b55b6f6b04e2e30737454f5da703a1bb09e569c2165dcae8c5a98663b2e1c7891d34b809f9ec79394df007fa8f7111f3d2c74a9960700c2905b11be00acb
|
checksum: 10/17fdce09bf2ba042371910a5e1c701d7db7e40b7c021eb67f36ed2d28175b8846e01eb2438be03827e2cd2654d35be5a1a248c36e9588ccdbe4545da0bee5047
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@substrate/connect@npm:0.8.8":
|
"@substrate/connect@npm:0.8.10":
|
||||||
version: 0.8.8
|
version: 0.8.10
|
||||||
resolution: "@substrate/connect@npm:0.8.8"
|
resolution: "@substrate/connect@npm:0.8.10"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@substrate/connect-extension-protocol": "npm:^2.0.0"
|
"@substrate/connect-extension-protocol": "npm:^2.0.0"
|
||||||
"@substrate/connect-known-chains": "npm:^1.1.1"
|
"@substrate/connect-known-chains": "npm:^1.1.4"
|
||||||
"@substrate/light-client-extension-helpers": "npm:^0.0.4"
|
"@substrate/light-client-extension-helpers": "npm:^0.0.6"
|
||||||
smoldot: "npm:2.0.22"
|
smoldot: "npm:2.0.22"
|
||||||
checksum: 10/056908d641bdbf4a7d8f429e915a7a0519cd9417b6fa46db8591af49f3ac04a631b4a084a30d05a7ae9cfbb70905dc7698452eb252f4e1101c86e82eb4d8ca04
|
checksum: 10/078c08d12eb12b55b2c8ee0e0c335284db07d13b48cc5329db68a6376173f1fb6b2357fb47f8ec4da7b66f4230d9bc2c3873beb66d755c475969d1cdbbec316f
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@substrate/light-client-extension-helpers@npm:^0.0.4":
|
"@substrate/light-client-extension-helpers@npm:^0.0.6":
|
||||||
version: 0.0.4
|
version: 0.0.6
|
||||||
resolution: "@substrate/light-client-extension-helpers@npm:0.0.4"
|
resolution: "@substrate/light-client-extension-helpers@npm:0.0.6"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot-api/client": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
"@polkadot-api/json-rpc-provider": "npm:0.0.1"
|
||||||
"@polkadot-api/json-rpc-provider": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
"@polkadot-api/json-rpc-provider-proxy": "npm:0.0.1"
|
||||||
"@polkadot-api/json-rpc-provider-proxy": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
"@polkadot-api/observable-client": "npm:0.1.0"
|
||||||
"@polkadot-api/substrate-client": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
"@polkadot-api/substrate-client": "npm:0.0.1"
|
||||||
"@substrate/connect-extension-protocol": "npm:^2.0.0"
|
"@substrate/connect-extension-protocol": "npm:^2.0.0"
|
||||||
"@substrate/connect-known-chains": "npm:^1.1.1"
|
"@substrate/connect-known-chains": "npm:^1.1.4"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
smoldot: 2.x
|
smoldot: 2.x
|
||||||
checksum: 10/f9a3c7775e41223b4e6f2020b4fe17efefebbdd2e7354ded73cac885181e101e7b22e36d47f0f40aec108b5142a9ca895433c51fccae026160a92ed9dbdae600
|
checksum: 10/1a3576019538c8150dd56ddae3ec6ed7b6272af72cd6d17cbb5de76d6ae554af2a0bf72bbb9ffd4b9c64c9eb9ee3f13caaad57e01c5173e35a0cb799fd27574a
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user