Bump metadata (#2058)
* Bump metadata * Add missing @types/jest * Update tests for new metadata * CHANGELOG for linked map removals * expand re-added check
This commit is contained in:
+3
-1
@@ -1,7 +1,9 @@
|
||||
# 1.7.0-beta.x
|
||||
|
||||
- **Important** Current versions of Polkadot/Substrate has dropped linked maps, if you are using these, e.g. `staking.{nominators,validators}()` to retrieve all entries, and using an upgraded chain, you need to swap to retrieving values via `.entries()`
|
||||
- Support latest Substrate types & metadata
|
||||
- Add support for new Substrate `state_getKeysPaged` RPC
|
||||
- Re-add fixed (with tests) checks for query args
|
||||
- Re-add fixed (with tests) checks for query args, previously disabled in 1.6.2
|
||||
- Move `derive.staking.controllers` to `derive.staking.stashes`, reflecting actual content
|
||||
- Cater for adjusted storage (non-linked maps) for `derive.staking.stashes` (with old-compat)
|
||||
- Expanded `derive.staking.*` derives, including addition of `derive.staking.own*`
|
||||
|
||||
+3
-2
@@ -27,9 +27,10 @@
|
||||
"@babel/core": "^7.8.7",
|
||||
"@babel/register": "^7.8.6",
|
||||
"@babel/runtime": "^7.8.7",
|
||||
"@polkadot/dev": "^0.51.1",
|
||||
"@polkadot/ts": "^0.3.11",
|
||||
"@polkadot/dev": "^0.51.5",
|
||||
"@polkadot/ts": "^0.3.13",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/jest": "^25.1.4",
|
||||
"copyfiles": "^2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-empty-interface */
|
||||
|
||||
import { Codec } from '@polkadot/types/types';
|
||||
import { Bytes, u32, u64 } from '@polkadot/types/primitive';
|
||||
import { u32, u64 } from '@polkadot/types/primitive';
|
||||
import { Gas } from '@polkadot/types/interfaces/contracts';
|
||||
import { Balance, BalanceOf, BlockNumber, Moment, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
||||
import { SessionIndex } from '@polkadot/types/interfaces/session';
|
||||
@@ -160,14 +160,6 @@ declare module '@polkadot/metadata/Decorated/consts/types' {
|
||||
**/
|
||||
windowSize: AugmentedConst<BlockNumber>;
|
||||
};
|
||||
session: {
|
||||
[index: string]: AugmentedConst<object & Codec>;
|
||||
/**
|
||||
* Used as first key for `NextKeys` and `KeyOwner` to put all the data into the same branch
|
||||
* of the trie.
|
||||
**/
|
||||
dedupKeyPrefix: AugmentedConst<Bytes>;
|
||||
};
|
||||
society: {
|
||||
[index: string]: AugmentedConst<object & Codec>;
|
||||
/**
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-empty-interface */
|
||||
|
||||
import { AnyNumber, ITuple } from '@polkadot/types/types';
|
||||
import { Linkage, Option, U8aFixed, Vec } from '@polkadot/types/codec';
|
||||
import { Option, U8aFixed, Vec } from '@polkadot/types/codec';
|
||||
import { Bytes, Data, bool, u32, u64 } from '@polkadot/types/primitive';
|
||||
import { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
|
||||
import { BabeAuthorityWeight, MaybeVrf } from '@polkadot/types/interfaces/babe';
|
||||
@@ -21,7 +21,7 @@ import { AccountId, AccountIndex, Balance, BalanceOf, BlockNumber, Hash, KeyType
|
||||
import { Keys, SessionIndex } from '@polkadot/types/interfaces/session';
|
||||
import { Bid, BidKind, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
|
||||
import { ActiveEraInfo, EraIndex, EraRewardPoints, Exposure, Forcing, Nominations, ReleasesStaking, RewardDestination, SlashingSpans, SpanIndex, SpanRecord, StakingLedger, UnappliedSlash, ValidatorPrefs } from '@polkadot/types/interfaces/staking';
|
||||
import { AccountInfo, DigestOf, EventIndex, EventRecord } from '@polkadot/types/interfaces/system';
|
||||
import { AccountInfo, DigestOf, EventIndex, EventRecord, LastRuntimeUpgradeInfo } from '@polkadot/types/interfaces/system';
|
||||
import { OpenTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
|
||||
import { Multiplier } from '@polkadot/types/interfaces/txpayment';
|
||||
import { Multisig } from '@polkadot/types/interfaces/utility';
|
||||
@@ -194,7 +194,7 @@ declare module '@polkadot/api/types/storage' {
|
||||
/**
|
||||
* Get the account (and lock periods) to which another account is delegating vote.
|
||||
**/
|
||||
delegations: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<ITuple<[ITuple<[AccountId, Conviction]>, Linkage<AccountId>]>>> & QueryableStorageEntry<ApiType>;
|
||||
delegations: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<ITuple<[AccountId, Conviction]>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* Those who have locked a deposit.
|
||||
**/
|
||||
@@ -289,7 +289,7 @@ declare module '@polkadot/api/types/storage' {
|
||||
/**
|
||||
* Votes of a particular voter, with the round index of the votes.
|
||||
**/
|
||||
votesOf: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<ITuple<[Vec<AccountId>, Linkage<AccountId>]>>> & QueryableStorageEntry<ApiType>;
|
||||
votesOf: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Vec<AccountId>>> & QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
grandpa: {
|
||||
[index: string]: QueryableStorageEntry<ApiType>;
|
||||
@@ -313,7 +313,8 @@ declare module '@polkadot/api/types/storage' {
|
||||
**/
|
||||
pendingChange: AugmentedQuery<ApiType, () => Observable<Option<StoredPendingChange>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* A mapping from grandpa set ID to the index of the *most recent* session for which its members were responsible.
|
||||
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
||||
* members were responsible.
|
||||
**/
|
||||
setIdSession: AugmentedQuery<ApiType, (arg: SetId | AnyNumber | Uint8Array) => Observable<Option<SessionIndex>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
@@ -368,8 +369,8 @@ declare module '@polkadot/api/types/storage' {
|
||||
**/
|
||||
keys: AugmentedQuery<ApiType, () => Observable<Vec<AuthorityId>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* For each session index, we keep a mapping of `AuthIndex`
|
||||
* to `offchain::OpaqueNetworkState`.
|
||||
* For each session index, we keep a mapping of `AuthIndex` to
|
||||
* `offchain::OpaqueNetworkState`.
|
||||
**/
|
||||
receivedHeartbeats: AugmentedQueryDoubleMap<ApiType, (key1: SessionIndex | AnyNumber | Uint8Array, key2: AuthIndex | AnyNumber | Uint8Array) => Observable<Option<Bytes>>> & QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
@@ -437,17 +438,13 @@ declare module '@polkadot/api/types/storage' {
|
||||
**/
|
||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* The owner of a key. The second key is the `KeyTypeId` + the encoded key.
|
||||
* The first key is always `DEDUP_KEY_PREFIX` to have all the data in the same branch of
|
||||
* the trie. Having all data in the same branch should prevent slowing down other queries.
|
||||
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||
**/
|
||||
keyOwner: AugmentedQueryDoubleMap<ApiType, (key1: Bytes | string | Uint8Array, key2: ITuple<[KeyTypeId, Bytes]> | [KeyTypeId | AnyNumber | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<ValidatorId>>> & QueryableStorageEntry<ApiType>;
|
||||
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[KeyTypeId, Bytes]> | [KeyTypeId | AnyNumber | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<ValidatorId>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* The next session keys for a validator.
|
||||
* The first key is always `DEDUP_KEY_PREFIX` to have all the data in the same branch of
|
||||
* the trie. Having all data in the same branch should prevent slowing down other queries.
|
||||
**/
|
||||
nextKeys: AugmentedQueryDoubleMap<ApiType, (key1: Bytes | string | Uint8Array, key2: ValidatorId | string | Uint8Array) => Observable<Option<Keys>>> & QueryableStorageEntry<ApiType>;
|
||||
nextKeys: AugmentedQuery<ApiType, (arg: ValidatorId | string | Uint8Array) => Observable<Option<Keys>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* True if the underlying economic identities or weighting behind the validators
|
||||
* has changed in the queued validator set.
|
||||
@@ -580,6 +577,7 @@ declare module '@polkadot/api/types/storage' {
|
||||
* Clipped Exposure of validator at era.
|
||||
* This is similar to [`ErasStakers`] but number of nominators exposed is reduce to the
|
||||
* `T::MaxNominatorRewardedPerValidator` biggest stakers.
|
||||
* (Note: the field `total` and `own` of the exposure remains unchanged).
|
||||
* This is used to limit the i/o cost for the nominator payout.
|
||||
* This is keyed fist by the era index to allow bulk deletion and then the stash account.
|
||||
* Is it removed after `HISTORY_DEPTH` eras.
|
||||
@@ -597,7 +595,7 @@ declare module '@polkadot/api/types/storage' {
|
||||
erasTotalStake: AugmentedQuery<ApiType, (arg: EraIndex | AnyNumber | Uint8Array) => Observable<BalanceOf>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* Similarly to `ErasStakers` this holds the preferences of validators.
|
||||
* This is keyed fist by the era index to allow bulk deletion and then the stash account.
|
||||
* This is keyed first by the era index to allow bulk deletion and then the stash account.
|
||||
* Is it removed after `HISTORY_DEPTH` eras.
|
||||
**/
|
||||
erasValidatorPrefs: AugmentedQueryDoubleMap<ApiType, (key1: EraIndex | AnyNumber | Uint8Array, key2: AccountId | string | Uint8Array) => Observable<ValidatorPrefs>> & QueryableStorageEntry<ApiType>;
|
||||
@@ -635,7 +633,7 @@ declare module '@polkadot/api/types/storage' {
|
||||
/**
|
||||
* The map from nominator stash key to the set of stash keys of all validators to nominate.
|
||||
**/
|
||||
nominators: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<ITuple<[Option<Nominations>, Linkage<AccountId>]>>> & QueryableStorageEntry<ApiType>;
|
||||
nominators: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<Nominations>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
||||
**/
|
||||
@@ -674,7 +672,7 @@ declare module '@polkadot/api/types/storage' {
|
||||
/**
|
||||
* The map from (wannabe) validator stash key to the preferences of that validator.
|
||||
**/
|
||||
validators: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<ITuple<[ValidatorPrefs, Linkage<AccountId>]>>> & QueryableStorageEntry<ApiType>;
|
||||
validators: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<ValidatorPrefs>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* All slashing events on validators, mapped by era to the highest slash proportion
|
||||
* and slash value of the era.
|
||||
@@ -741,6 +739,10 @@ declare module '@polkadot/api/types/storage' {
|
||||
* Extrinsics root of the current block, also part of the block header.
|
||||
**/
|
||||
extrinsicsRoot: AugmentedQuery<ApiType, () => Observable<Hash>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
||||
**/
|
||||
lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<LastRuntimeUpgradeInfo>>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* The current block number being processed. Set by `execute_block`.
|
||||
**/
|
||||
@@ -749,10 +751,6 @@ declare module '@polkadot/api/types/storage' {
|
||||
* Hash of the previous block.
|
||||
**/
|
||||
parentHash: AugmentedQuery<ApiType, () => Observable<Hash>> & QueryableStorageEntry<ApiType>;
|
||||
/**
|
||||
* A bool to track if the runtime was upgraded last block.
|
||||
**/
|
||||
runtimeUpgraded: AugmentedQuery<ApiType, () => Observable<bool>> & QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
technicalCommittee: {
|
||||
[index: string]: QueryableStorageEntry<ApiType>;
|
||||
|
||||
@@ -1215,6 +1215,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* be the account that controls it.
|
||||
* `value` must be more than the `minimum_balance` specified by `T::Currency`.
|
||||
* The dispatch origin for this call must be _Signed_ by the stash account.
|
||||
* Emits `Bonded`.
|
||||
* # <weight>
|
||||
* - Independent of the arguments. Moderate complexity.
|
||||
* - O(1).
|
||||
@@ -1231,6 +1232,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* Unlike [`bond`] or [`unbond`] this function does not impose any limitation on the amount
|
||||
* that can be added.
|
||||
* The dispatch origin for this call must be _Signed_ by the stash, not the controller.
|
||||
* Emits `Bonded`.
|
||||
* # <weight>
|
||||
* - Independent of the arguments. Insignificant complexity.
|
||||
* - O(1).
|
||||
@@ -1300,7 +1302,10 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - `who` is the controller account of the nominator to pay out.
|
||||
* - `era` may not be lower than one following the most recently paid era. If it is higher,
|
||||
* then it indicates an instruction to skip the payout of all previous eras.
|
||||
* - `validators` is the list of all validators that `who` had exposure to during `era`.
|
||||
* - `validators` is the list of all validators that `who` had exposure to during `era`,
|
||||
* alongside the index of `who` in the clipped exposure of the validator.
|
||||
* I.e. each element is a tuple of
|
||||
* `(validator, index of `who` in clipped exposure of validator)`.
|
||||
* If it is incomplete, then less than the full reward will be paid out.
|
||||
* It must not exceed `MAX_NOMINATIONS`.
|
||||
* WARNING: once an era is payed for a validator such validator can't claim the payout of
|
||||
@@ -1392,6 +1397,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* can co-exists at the same time. In that case, [`Call::withdraw_unbonded`] need
|
||||
* to be called first to remove some of the chunks (if possible).
|
||||
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
||||
* Emits `Unbonded`.
|
||||
* See also [`Call::withdraw_unbonded`].
|
||||
* # <weight>
|
||||
* - Independent of the arguments. Limited but potentially exploitable complexity.
|
||||
@@ -1420,6 +1426,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* This essentially frees up that balance to be used by the stash account to do
|
||||
* whatever it wants.
|
||||
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
||||
* Emits `Withdrawn`.
|
||||
* See also [`Call::unbond`].
|
||||
* # <weight>
|
||||
* - Could be dependent on the `origin` argument and how much `unlocking` chunks exist.
|
||||
@@ -1481,6 +1488,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* Kill some items from storage.
|
||||
**/
|
||||
killStorage: AugmentedSubmittable<(keys: Vec<Key> | (Key | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
|
||||
migrateAccounts: AugmentedSubmittable<(accounts: Vec<AccountId> | (AccountId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Make some on-chain remark.
|
||||
**/
|
||||
|
||||
@@ -80,19 +80,20 @@ describe('extractStorageArgs', (): void => {
|
||||
).toThrow('staking.erasStakers(EraIndex, AccountId) is a doublemap, requiring 2 arguments, 1 found');
|
||||
});
|
||||
|
||||
it('validates linked map, no args', (): void => {
|
||||
// Linked maps have been removed
|
||||
it.skip('validates linked map, no args', (): void => {
|
||||
expect(
|
||||
extractStorageArgs(storage.staking.validators, [])
|
||||
).toEqual([storage.staking.validators]);
|
||||
});
|
||||
|
||||
it('validates linked map, single arg', (): void => {
|
||||
it.skip('validates linked map, single arg', (): void => {
|
||||
expect(
|
||||
extractStorageArgs(storage.staking.validators, [123])
|
||||
).toEqual([storage.staking.validators, 123]);
|
||||
});
|
||||
|
||||
it('validates linked map (failing with extra args)', (): void => {
|
||||
it.skip('validates linked map (failing with extra args)', (): void => {
|
||||
expect(
|
||||
(): any[] =>
|
||||
extractStorageArgs(storage.staking.validators, [123, 456])
|
||||
|
||||
@@ -18,7 +18,7 @@ describe('Decorated', () => {
|
||||
decorated.query.system.account('5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY')
|
||||
)
|
||||
).toEqual(
|
||||
'0x010126aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da92e3fb4c297a84c5cebc0e78257d213d0927ccc7596044c6ba013dd05522aacba'
|
||||
'0x410126aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9de1e86a9a8c739864cf3cc5ec2bea59fd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d'
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -19,7 +19,8 @@ describe('fromMetadata', (): void => {
|
||||
expect(consts.democracy.cooloffPeriod.toNumber()).toEqual(28 * 24 * 60 * (60 / 3));
|
||||
});
|
||||
|
||||
it('correctly handles bytes', (): void => {
|
||||
// removed from session
|
||||
it.skip('correctly handles bytes', (): void => {
|
||||
// 0x34 removes as the length prefix removed
|
||||
expect(consts.session.dedupKeyPrefix.toHex()).toEqual('0x3a73657373696f6e3a6b657973');
|
||||
});
|
||||
|
||||
@@ -31,8 +31,7 @@ describe('fromMetadata', (): void => {
|
||||
decorated.query.system.account(keyring.alice.address)
|
||||
)
|
||||
).toEqual(
|
||||
// new storage key format
|
||||
'0x010126aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da92e3fb4c297a84c5cebc0e78257d213d0927ccc7596044c6ba013dd05522aacba'
|
||||
'0x410126aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9de1e86a9a8c739864cf3cc5ec2bea59fd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "AccountInfo",
|
||||
"linked": false
|
||||
@@ -62,7 +62,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "BlockNumber",
|
||||
"value": "Hash",
|
||||
"linked": false
|
||||
@@ -160,7 +160,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "Hash",
|
||||
"value": "Vec<(BlockNumber,EventIndex)>",
|
||||
"linked": false
|
||||
@@ -181,14 +181,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "RuntimeUpgraded",
|
||||
"modifier": "Default",
|
||||
"name": "LastRuntimeUpgrade",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "bool"
|
||||
"Plain": "LastRuntimeUpgradeInfo"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" A bool to track if the runtime was upgraded last block."
|
||||
" Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened."
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -309,6 +309,16 @@
|
||||
" Kill the sending account, assuming there are no references outstanding and the composite",
|
||||
" data is equal to its default value."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "migrate_accounts",
|
||||
"args": [
|
||||
{
|
||||
"name": "accounts",
|
||||
"type": "Vec<AccountId>"
|
||||
}
|
||||
],
|
||||
"documentation": []
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
@@ -367,26 +377,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "SpecVersionNotAllowedToDecrease",
|
||||
"name": "SpecVersionNeedsToIncrease",
|
||||
"documentation": [
|
||||
" The specification version is not allowed to decrease between the current runtime",
|
||||
" and the new runtime."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ImplVersionNotAllowedToDecrease",
|
||||
"documentation": [
|
||||
" The implementation version is not allowed to decrease between the current runtime",
|
||||
" and the new runtime."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "SpecOrImplVersionNeedToIncrease",
|
||||
"documentation": [
|
||||
" The specification or the implementation version need to increase between the",
|
||||
" current runtime and the new runtime."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "FailedToExtractRuntimeVersion",
|
||||
"documentation": [
|
||||
@@ -899,7 +895,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "u32",
|
||||
"value": "Vec<[u8;32]>",
|
||||
"linked": false
|
||||
@@ -928,7 +924,7 @@
|
||||
{
|
||||
"name": "EpochDuration",
|
||||
"type": "u64",
|
||||
"value": "0x2800000000000000",
|
||||
"value": "0xc800000000000000",
|
||||
"documentation": [
|
||||
" The number of **slots** that an epoch takes. We couple sessions to",
|
||||
" epochs, i.e. we start a new session once the new epoch begins."
|
||||
@@ -1303,7 +1299,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "AccountData",
|
||||
"linked": false
|
||||
@@ -1324,7 +1320,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "Vec<BalanceLock>",
|
||||
"linked": false
|
||||
@@ -1585,7 +1581,7 @@
|
||||
{
|
||||
"name": "TransactionPayment",
|
||||
"storage": {
|
||||
"prefix": "Balances",
|
||||
"prefix": "TransactionPayment",
|
||||
"items": [
|
||||
{
|
||||
"name": "NextFeeMultiplier",
|
||||
@@ -1682,7 +1678,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "AccountId",
|
||||
"linked": false
|
||||
@@ -1698,7 +1694,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "StakingLedger",
|
||||
"linked": false
|
||||
@@ -1714,7 +1710,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "RewardDestination",
|
||||
"linked": false
|
||||
@@ -1730,10 +1726,10 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "ValidatorPrefs",
|
||||
"linked": true
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1746,10 +1742,10 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "Nominations",
|
||||
"linked": true
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -1790,7 +1786,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "EraIndex",
|
||||
"value": "SessionIndex",
|
||||
"linked": false
|
||||
@@ -1841,6 +1837,7 @@
|
||||
"",
|
||||
" This is similar to [`ErasStakers`] but number of nominators exposed is reduce to the",
|
||||
" `T::MaxNominatorRewardedPerValidator` biggest stakers.",
|
||||
" (Note: the field `total` and `own` of the exposure remains unchanged).",
|
||||
" This is used to limit the i/o cost for the nominator payout.",
|
||||
"",
|
||||
" This is keyed fist by the era index to allow bulk deletion and then the stash account.",
|
||||
@@ -1865,7 +1862,7 @@
|
||||
"documentation": [
|
||||
" Similarly to `ErasStakers` this holds the preferences of validators.",
|
||||
"",
|
||||
" This is keyed fist by the era index to allow bulk deletion and then the stash account.",
|
||||
" This is keyed first by the era index to allow bulk deletion and then the stash account.",
|
||||
"",
|
||||
" Is it removed after `HISTORY_DEPTH` eras."
|
||||
]
|
||||
@@ -1875,7 +1872,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "EraIndex",
|
||||
"value": "BalanceOf",
|
||||
"linked": false
|
||||
@@ -1893,7 +1890,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "EraIndex",
|
||||
"value": "EraRewardPoints",
|
||||
"linked": false
|
||||
@@ -1910,7 +1907,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "EraIndex",
|
||||
"value": "BalanceOf",
|
||||
"linked": false
|
||||
@@ -1963,7 +1960,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "EraIndex",
|
||||
"value": "Vec<UnappliedSlash>",
|
||||
"linked": false
|
||||
@@ -1993,11 +1990,11 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"DoubleMap": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key1": "EraIndex",
|
||||
"key2": "AccountId",
|
||||
"value": "(Perbill,BalanceOf)",
|
||||
"key2Hasher": "Twox128"
|
||||
"key2Hasher": "Twox64Concat"
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2011,11 +2008,11 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"DoubleMap": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key1": "EraIndex",
|
||||
"key2": "AccountId",
|
||||
"value": "BalanceOf",
|
||||
"key2Hasher": "Twox128"
|
||||
"key2Hasher": "Twox64Concat"
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -2028,7 +2025,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "SlashingSpans",
|
||||
"linked": false
|
||||
@@ -2044,7 +2041,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "(AccountId,SpanIndex)",
|
||||
"value": "SpanRecord",
|
||||
"linked": false
|
||||
@@ -2073,7 +2070,7 @@
|
||||
"type": {
|
||||
"Plain": "ReleasesStaking"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"fallback": "0x01",
|
||||
"documentation": [
|
||||
" Storage version of the pallet.",
|
||||
"",
|
||||
@@ -2107,6 +2104,8 @@
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_ by the stash account.",
|
||||
"",
|
||||
" Emits `Bonded`.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - Independent of the arguments. Moderate complexity.",
|
||||
" - O(1).",
|
||||
@@ -2135,6 +2134,8 @@
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
|
||||
"",
|
||||
" Emits `Bonded`.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - Independent of the arguments. Insignificant complexity.",
|
||||
" - O(1).",
|
||||
@@ -2164,6 +2165,8 @@
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_ by the controller, not the stash.",
|
||||
"",
|
||||
" Emits `Unbonded`.",
|
||||
"",
|
||||
" See also [`Call::withdraw_unbonded`].",
|
||||
"",
|
||||
" # <weight>",
|
||||
@@ -2188,6 +2191,8 @@
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_ by the controller, not the stash.",
|
||||
"",
|
||||
" Emits `Withdrawn`.",
|
||||
"",
|
||||
" See also [`Call::unbond`].",
|
||||
"",
|
||||
" # <weight>",
|
||||
@@ -2414,7 +2419,10 @@
|
||||
" - `who` is the controller account of the nominator to pay out.",
|
||||
" - `era` may not be lower than one following the most recently paid era. If it is higher,",
|
||||
" then it indicates an instruction to skip the payout of all previous eras.",
|
||||
" - `validators` is the list of all validators that `who` had exposure to during `era`.",
|
||||
" - `validators` is the list of all validators that `who` had exposure to during `era`,",
|
||||
" alongside the index of `who` in the clipped exposure of the validator.",
|
||||
" I.e. each element is a tuple of",
|
||||
" `(validator, index of `who` in clipped exposure of validator)`.",
|
||||
" If it is incomplete, then less than the full reward will be paid out.",
|
||||
" It must not exceed `MAX_NOMINATIONS`.",
|
||||
"",
|
||||
@@ -2540,6 +2548,40 @@
|
||||
" An old slashing report from a prior era was discarded because it could",
|
||||
" not be processed."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Bonded",
|
||||
"args": [
|
||||
"AccountId",
|
||||
"Balance"
|
||||
],
|
||||
"documentation": [
|
||||
" An account has bonded this amount.",
|
||||
"",
|
||||
" NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,",
|
||||
" it will not be emitted for staking rewards when they are added to stake."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Unbonded",
|
||||
"args": [
|
||||
"AccountId",
|
||||
"Balance"
|
||||
],
|
||||
"documentation": [
|
||||
" An account has unbonded this amount."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Withdrawn",
|
||||
"args": [
|
||||
"AccountId",
|
||||
"Balance"
|
||||
],
|
||||
"documentation": [
|
||||
" An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`",
|
||||
" from the unlocking queue."
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [
|
||||
@@ -2638,6 +2680,12 @@
|
||||
"documentation": [
|
||||
" Invalid number of nominations."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "NotSortedAndUnique",
|
||||
"documentation": [
|
||||
" Items are not sorted and unique."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -2709,40 +2757,32 @@
|
||||
"name": "NextKeys",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"DoubleMap": {
|
||||
"Map": {
|
||||
"hasher": "Twox64Concat",
|
||||
"key1": "Bytes",
|
||||
"key2": "ValidatorId",
|
||||
"key": "ValidatorId",
|
||||
"value": "Keys",
|
||||
"key2Hasher": "Blake2_256"
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" The next session keys for a validator.",
|
||||
"",
|
||||
" The first key is always `DEDUP_KEY_PREFIX` to have all the data in the same branch of",
|
||||
" the trie. Having all data in the same branch should prevent slowing down other queries."
|
||||
" The next session keys for a validator."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "KeyOwner",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"DoubleMap": {
|
||||
"Map": {
|
||||
"hasher": "Twox64Concat",
|
||||
"key1": "Bytes",
|
||||
"key2": "(KeyTypeId,Bytes)",
|
||||
"key": "(KeyTypeId,Bytes)",
|
||||
"value": "ValidatorId",
|
||||
"key2Hasher": "Blake2_256"
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" The owner of a key. The second key is the `KeyTypeId` + the encoded key.",
|
||||
"",
|
||||
" The first key is always `DEDUP_KEY_PREFIX` to have all the data in the same branch of",
|
||||
" the trie. Having all data in the same branch should prevent slowing down other queries."
|
||||
" The owner of a key. The key is the `KeyTypeId` + the encoded key."
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -2804,17 +2844,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [
|
||||
{
|
||||
"name": "DEDUP_KEY_PREFIX",
|
||||
"type": "Bytes",
|
||||
"value": "0x343a73657373696f6e3a6b657973",
|
||||
"documentation": [
|
||||
" Used as first key for `NextKeys` and `KeyOwner` to put all the data into the same branch",
|
||||
" of the trie."
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [],
|
||||
"errors": [
|
||||
{
|
||||
"name": "InvalidProof",
|
||||
@@ -2874,7 +2904,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "Hash",
|
||||
"value": "(Bytes,AccountId,BalanceOf,BlockNumber)",
|
||||
"linked": false
|
||||
@@ -2891,7 +2921,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "PropIndex",
|
||||
"value": "(BalanceOf,Vec<AccountId>)",
|
||||
"linked": false
|
||||
@@ -2930,7 +2960,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "ReferendumIndex",
|
||||
"value": "ReferendumInfo",
|
||||
"linked": false
|
||||
@@ -2957,7 +2987,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "ReferendumIndex",
|
||||
"value": "Vec<AccountId>",
|
||||
"linked": false
|
||||
@@ -2973,7 +3003,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "(ReferendumIndex,AccountId)",
|
||||
"value": "Vote",
|
||||
"linked": false
|
||||
@@ -2992,7 +3022,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "ProxyState",
|
||||
"linked": false
|
||||
@@ -3009,10 +3039,10 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "(AccountId,Conviction)",
|
||||
"linked": true
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000",
|
||||
@@ -3025,7 +3055,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "BlockNumber",
|
||||
"linked": false
|
||||
@@ -3068,7 +3098,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "Hash",
|
||||
"value": "(BlockNumber,Vec<AccountId>)",
|
||||
"linked": false
|
||||
@@ -3085,7 +3115,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "Hash",
|
||||
"value": "bool",
|
||||
"linked": false
|
||||
@@ -3260,7 +3290,7 @@
|
||||
" an external referendum.",
|
||||
"",
|
||||
" The dispatch of this call must be `ExternalMajorityOrigin`.",
|
||||
" ",
|
||||
"",
|
||||
" - `proposal_hash`: The preimage hash of the proposal.",
|
||||
"",
|
||||
" Unlike `external_propose`, blacklisting has no effect on this and it may replace a",
|
||||
@@ -3347,7 +3377,7 @@
|
||||
" Veto and blacklist the external proposal hash.",
|
||||
"",
|
||||
" The dispatch origin of this call must be `VetoOrigin`.",
|
||||
" ",
|
||||
"",
|
||||
" - `proposal_hash`: The preimage hash of the proposal to veto and blacklist.",
|
||||
"",
|
||||
" Emits `Vetoed`.",
|
||||
@@ -3543,7 +3573,7 @@
|
||||
" Emits `PreimageNoted`.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - Dependent on the size of `encoded_proposal` but protected by a ",
|
||||
" - Dependent on the size of `encoded_proposal` but protected by a",
|
||||
" required deposit.",
|
||||
" # </weight>"
|
||||
]
|
||||
@@ -4062,7 +4092,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "Hash",
|
||||
"value": "Proposal",
|
||||
"linked": false
|
||||
@@ -4078,7 +4108,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "Hash",
|
||||
"value": "Votes",
|
||||
"linked": false
|
||||
@@ -4377,7 +4407,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "Hash",
|
||||
"value": "Proposal",
|
||||
"linked": false
|
||||
@@ -4393,7 +4423,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "Hash",
|
||||
"value": "Votes",
|
||||
"linked": false
|
||||
@@ -4714,10 +4744,10 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "Vec<AccountId>",
|
||||
"linked": true
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -4730,7 +4760,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "BalanceOf",
|
||||
"linked": false
|
||||
@@ -5361,7 +5391,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "SetId",
|
||||
"value": "SessionIndex",
|
||||
"linked": false
|
||||
@@ -5369,7 +5399,8 @@
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" A mapping from grandpa set ID to the index of the *most recent* session for which its members were responsible."
|
||||
" A mapping from grandpa set ID to the index of the *most recent* session for which its",
|
||||
" members were responsible."
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -5464,7 +5495,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "ProposalIndex",
|
||||
"value": "TreasuryProposal",
|
||||
"linked": false
|
||||
@@ -5509,7 +5540,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Twox64Concat",
|
||||
"hasher": "Identity",
|
||||
"key": "Hash",
|
||||
"value": "Bytes",
|
||||
"linked": false
|
||||
@@ -5974,7 +6005,7 @@
|
||||
{
|
||||
"name": "Contracts",
|
||||
"storage": {
|
||||
"prefix": "Contract",
|
||||
"prefix": "Contracts",
|
||||
"items": [
|
||||
{
|
||||
"name": "GasSpent",
|
||||
@@ -6003,7 +6034,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "CodeHash",
|
||||
"value": "Bytes",
|
||||
"linked": false
|
||||
@@ -6019,7 +6050,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Identity",
|
||||
"key": "CodeHash",
|
||||
"value": "PrefabWasmModule",
|
||||
"linked": false
|
||||
@@ -6046,7 +6077,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "ContractInfo",
|
||||
"linked": false
|
||||
@@ -6616,17 +6647,17 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"DoubleMap": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key1": "SessionIndex",
|
||||
"key2": "AuthIndex",
|
||||
"value": "Bytes",
|
||||
"key2Hasher": "Blake2_256"
|
||||
"key2Hasher": "Twox64Concat"
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" For each session index, we keep a mapping of `AuthIndex`",
|
||||
" to `offchain::OpaqueNetworkState`."
|
||||
" For each session index, we keep a mapping of `AuthIndex` to",
|
||||
" `offchain::OpaqueNetworkState`."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -6634,11 +6665,11 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"DoubleMap": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key1": "SessionIndex",
|
||||
"key2": "ValidatorId",
|
||||
"value": "u32",
|
||||
"key2Hasher": "Blake2_256"
|
||||
"key2Hasher": "Twox64Concat"
|
||||
}
|
||||
},
|
||||
"fallback": "0x00000000",
|
||||
@@ -6726,7 +6757,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "ReportIdOf",
|
||||
"value": "OffenceDetails",
|
||||
"linked": false
|
||||
@@ -6742,11 +6773,11 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"DoubleMap": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key1": "Kind",
|
||||
"key2": "OpaqueTimeSlot",
|
||||
"value": "Vec<ReportIdOf>",
|
||||
"key2Hasher": "Blake2_256"
|
||||
"key2Hasher": "Twox64Concat"
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6759,7 +6790,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "Kind",
|
||||
"value": "Bytes",
|
||||
"linked": false
|
||||
@@ -6822,14 +6853,14 @@
|
||||
{
|
||||
"name": "Identity",
|
||||
"storage": {
|
||||
"prefix": "Sudo",
|
||||
"prefix": "Identity",
|
||||
"items": [
|
||||
{
|
||||
"name": "IdentityOf",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "Registration",
|
||||
"linked": false
|
||||
@@ -6845,7 +6876,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "(AccountId,Data)",
|
||||
"linked": false
|
||||
@@ -6862,7 +6893,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "(BalanceOf,Vec<AccountId>)",
|
||||
"linked": false
|
||||
@@ -7399,7 +7430,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "(BalanceOf,BidKind)",
|
||||
"linked": false
|
||||
@@ -7448,7 +7479,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "bool",
|
||||
"linked": false
|
||||
@@ -7475,7 +7506,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "VouchingStatus",
|
||||
"linked": false
|
||||
@@ -7491,7 +7522,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "Vec<(BlockNumber,BalanceOf)>",
|
||||
"linked": false
|
||||
@@ -7507,7 +7538,7 @@
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "StrikeCount",
|
||||
"linked": false
|
||||
@@ -8329,7 +8360,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Twox64Concat",
|
||||
"key": "AccountId",
|
||||
"value": "RecoveryConfig",
|
||||
"linked": false
|
||||
@@ -8365,7 +8396,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "AccountId",
|
||||
"linked": false
|
||||
@@ -8839,7 +8870,7 @@
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"hasher": "Blake2_256",
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "VestingInfo",
|
||||
"linked": false
|
||||
@@ -8912,7 +8943,7 @@
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
" Create a vested transfer. ",
|
||||
" Create a vested transfer.",
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_.",
|
||||
"",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -30,7 +30,7 @@ import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, Balanc
|
||||
import { FullIdentification, IdentificationTuple, Keys, SessionIndex, SessionKeys1, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6 } from '@polkadot/types/interfaces/session';
|
||||
import { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
|
||||
import { ActiveEraInfo, CompactAssignments, CompactScore, ElectionCompute, ElectionResult, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, PhragmenScore, Points, ReleasesStaking, RewardDestination, RewardPoint, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196 } from '@polkadot/types/interfaces/staking';
|
||||
import { AccountInfo, DigestOf, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, EventRecordTo76, Key, Phase, RefCount } from '@polkadot/types/interfaces/system';
|
||||
import { AccountInfo, DigestOf, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, EventRecordTo76, Key, LastRuntimeUpgradeInfo, Phase, RefCount } from '@polkadot/types/interfaces/system';
|
||||
import { OpenTip, OpenTipFinder, OpenTipTip, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
|
||||
import { Multiplier } from '@polkadot/types/interfaces/txpayment';
|
||||
import { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
|
||||
@@ -850,6 +850,9 @@ declare module '@polkadot/types/types/registry' {
|
||||
Key: Key;
|
||||
'Option<Key>': Option<Key>;
|
||||
'Vec<Key>': Vec<Key>;
|
||||
LastRuntimeUpgradeInfo: LastRuntimeUpgradeInfo;
|
||||
'Option<LastRuntimeUpgradeInfo>': Option<LastRuntimeUpgradeInfo>;
|
||||
'Vec<LastRuntimeUpgradeInfo>': Vec<LastRuntimeUpgradeInfo>;
|
||||
Phase: Phase;
|
||||
'Option<Phase>': Option<Phase>;
|
||||
'Vec<Phase>': Vec<Phase>;
|
||||
|
||||
@@ -42,6 +42,10 @@ export default {
|
||||
event: 'Event'
|
||||
},
|
||||
Key: 'Bytes',
|
||||
LastRuntimeUpgradeInfo: {
|
||||
specVersion: 'Compact<u32>',
|
||||
specName: 'Text'
|
||||
},
|
||||
Phase: {
|
||||
_enum: {
|
||||
ApplyExtrinsic: 'u32',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-empty-interface */
|
||||
|
||||
import { ITuple } from '@polkadot/types/types';
|
||||
import { Enum, Option, Result, Struct, U8aFixed, Vec } from '@polkadot/types/codec';
|
||||
import { Compact, Enum, Option, Result, Struct, U8aFixed, Vec } from '@polkadot/types/codec';
|
||||
import { GenericEvent } from '@polkadot/types/generic';
|
||||
import { Bytes, Text, u32, u8 } from '@polkadot/types/primitive';
|
||||
import { AccountData } from '@polkadot/types/interfaces/balances';
|
||||
@@ -83,6 +83,12 @@ export interface EventRecordTo76 extends Struct {
|
||||
/** @name Key */
|
||||
export interface Key extends Bytes {}
|
||||
|
||||
/** @name LastRuntimeUpgradeInfo */
|
||||
export interface LastRuntimeUpgradeInfo extends Struct {
|
||||
readonly specVersion: Compact<u32>;
|
||||
readonly specName: Text;
|
||||
}
|
||||
|
||||
/** @name Phase */
|
||||
export interface Phase extends Enum {
|
||||
readonly isApplyExtrinsic: boolean;
|
||||
|
||||
@@ -2582,9 +2582,9 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/dev@npm:^0.51.1":
|
||||
version: 0.51.1
|
||||
resolution: "@polkadot/dev@npm:0.51.1"
|
||||
"@polkadot/dev@npm:^0.51.5":
|
||||
version: 0.51.5
|
||||
resolution: "@polkadot/dev@npm:0.51.5"
|
||||
dependencies:
|
||||
"@babel/cli": ^7.8.4
|
||||
"@babel/core": ^7.8.7
|
||||
@@ -2606,12 +2606,9 @@ __metadata:
|
||||
"@babel/preset-typescript": ^7.8.3
|
||||
"@babel/register": ^7.8.6
|
||||
"@babel/runtime": ^7.8.7
|
||||
"@types/jest": ^25.1.4
|
||||
"@types/node": ^13.9.1
|
||||
"@typescript-eslint/eslint-plugin": 2.23.0
|
||||
"@typescript-eslint/parser": 2.23.0
|
||||
"@typescript-eslint/eslint-plugin": 2.24.0
|
||||
"@typescript-eslint/parser": 2.24.0
|
||||
"@vue/component-compiler-utils": ^3.1.1
|
||||
"@yarnpkg/pnpify": ^2.0.0-rc.19
|
||||
babel-core: ^7.0.0-bridge.0
|
||||
babel-jest: ^25.1.0
|
||||
babel-plugin-module-resolver: ^4.0.0
|
||||
@@ -2640,14 +2637,14 @@ __metadata:
|
||||
madge: ^3.8.0
|
||||
mkdirp: ^1.0.3
|
||||
rimraf: ^3.0.2
|
||||
typedoc: ^0.16.11
|
||||
typedoc: ^0.17.0
|
||||
typedoc-plugin-markdown: ^2.2.17
|
||||
typedoc-plugin-no-inherit: ^1.1.10
|
||||
typescript: ^3.8.3
|
||||
vuepress: ^1.3.1
|
||||
webpack: ^4.42.0
|
||||
webpack-cli: ^3.3.11
|
||||
yargs: ^15.3.0
|
||||
yargs: ^15.3.1
|
||||
bin:
|
||||
polkadot-ci-ghact-build: scripts/polkadot-ci-ghact-build.js
|
||||
polkadot-ci-ghact-docs: scripts/polkadot-ci-ghact-docs.js
|
||||
@@ -2667,7 +2664,7 @@ __metadata:
|
||||
polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.js
|
||||
polkadot-exec-vuepress: scripts/polkadot-exec-vuepress.js
|
||||
polkadot-exec-webpack: scripts/polkadot-exec-webpack.js
|
||||
checksum: 2/0419da3d3333764965d45c3d735c641dd8c6a355ba75e447bfbec4d2cf58648d1067984a9f7e84767a9a334e5d3b68aeb9cd9e575573bc96033834ceaa10d9d3
|
||||
checksum: 2/1177b4f9be3a66c40468fe5bba7aac2090495b5c541d4c4f06acca84289a20373ccee28c48e09408dc2e4bc9bcb17a1cbb0347093d65cceb29ac4f1fd97b1416
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2741,12 +2738,12 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/ts@npm:^0.3.11":
|
||||
version: 0.3.11
|
||||
resolution: "@polkadot/ts@npm:0.3.11"
|
||||
"@polkadot/ts@npm:^0.3.13":
|
||||
version: 0.3.13
|
||||
resolution: "@polkadot/ts@npm:0.3.13"
|
||||
dependencies:
|
||||
"@types/chrome": ^0.0.100
|
||||
checksum: 2/1d99c03b83d5de42b294b72cb4cc5fbb665174dd4e7abb451ad43bd8ae3a20ef8893601964d4ca1806b86180eac9f806d73852acac07f49094dccbd0d53d7a33
|
||||
checksum: 2/6211a917a49248638184ed565db4d82b30ab8ba6ccb3fbca35a05b4bd058614b5788303a473db97a7c4ba5c6b96e5c5249c8e3c85a336208ddb3ab7c0bb24446
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2928,13 +2925,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/emscripten@npm:^1.38.0":
|
||||
version: 1.39.3
|
||||
resolution: "@types/emscripten@npm:1.39.3"
|
||||
checksum: 2/dd6453e0de7e5ec31850e021749a2ea6c25af9477d41cc973b1d6ce6cd14da97301d13da7a75e6161064800b0fcfb6c8e4be4b1b730039f724d8decd4e3b8fff
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/eslint-visitor-keys@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "@types/eslint-visitor-keys@npm:1.0.0"
|
||||
@@ -3026,14 +3016,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/minimatch@npm:*, @types/minimatch@npm:3.0.3":
|
||||
"@types/minimatch@npm:*":
|
||||
version: 3.0.3
|
||||
resolution: "@types/minimatch@npm:3.0.3"
|
||||
checksum: 2/672ccdac197e8176eed1a9441d0caf8a29a90eb139b1cefdd4c9e71b1c48f5c749f5d101a2d85da15c6259214ebda95072835021407d60330a731a2672964b82
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/node@npm:*, @types/node@npm:>= 8, @types/node@npm:^13.9.1":
|
||||
"@types/node@npm:*, @types/node@npm:>= 8":
|
||||
version: 13.9.1
|
||||
resolution: "@types/node@npm:13.9.1"
|
||||
checksum: 2/578d73f0128266e9fe1a0ba0017ef37196b9c8e5ecd66f8b99c22ccc7b02591b76454dbd61e420983f5b347103c8f31d8bc4f313f03c47dd6e8e70ce997ff2fc
|
||||
@@ -3086,11 +3076,11 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/eslint-plugin@npm:2.23.0":
|
||||
version: 2.23.0
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:2.23.0"
|
||||
"@typescript-eslint/eslint-plugin@npm:2.24.0":
|
||||
version: 2.24.0
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:2.24.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/experimental-utils": 2.23.0
|
||||
"@typescript-eslint/experimental-utils": 2.24.0
|
||||
eslint-utils: ^1.4.3
|
||||
functional-red-black-tree: ^1.0.1
|
||||
regexpp: ^3.0.0
|
||||
@@ -3102,30 +3092,30 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 2/f8970f4fb5f1d1138bbee1bcf224612f214b2502ab3242dfabae475e2ce312b022b37ec0a16d3628aa53e0d780c0c4caa84fb79630fd9c964071b81b37c03401
|
||||
checksum: 2/f7975a4f5effe236413267350d4fdc6ad62508cbad9309abaa16fb63073d3cebefb0ad03809945f5123acab7f052e807f9b3e4d84b6b5054b6692afebad0d51b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/experimental-utils@npm:2.23.0":
|
||||
version: 2.23.0
|
||||
resolution: "@typescript-eslint/experimental-utils@npm:2.23.0"
|
||||
"@typescript-eslint/experimental-utils@npm:2.24.0":
|
||||
version: 2.24.0
|
||||
resolution: "@typescript-eslint/experimental-utils@npm:2.24.0"
|
||||
dependencies:
|
||||
"@types/json-schema": ^7.0.3
|
||||
"@typescript-eslint/typescript-estree": 2.23.0
|
||||
"@typescript-eslint/typescript-estree": 2.24.0
|
||||
eslint-scope: ^5.0.0
|
||||
peerDependencies:
|
||||
eslint: "*"
|
||||
checksum: 2/ea56a10bdac0ebd074b384ed3f5e0e4059f1d25364d4c0495cf97c58d75cba745fd5f4c92c56c2a29348ddb384821376cf338e9bf5b42c25a7653d4e05e333cc
|
||||
checksum: 2/2cdd8a5e204b67f9c4f30b6bb3dd2ebc7cf79ad0e48bcd504c6a6fa77195ac701930faf2e11b0d18ae2e6d2a03285a1547b28fa5f605c125b14efc2f5409a815
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/parser@npm:2.23.0":
|
||||
version: 2.23.0
|
||||
resolution: "@typescript-eslint/parser@npm:2.23.0"
|
||||
"@typescript-eslint/parser@npm:2.24.0":
|
||||
version: 2.24.0
|
||||
resolution: "@typescript-eslint/parser@npm:2.24.0"
|
||||
dependencies:
|
||||
"@types/eslint-visitor-keys": ^1.0.0
|
||||
"@typescript-eslint/experimental-utils": 2.23.0
|
||||
"@typescript-eslint/typescript-estree": 2.23.0
|
||||
"@typescript-eslint/experimental-utils": 2.24.0
|
||||
"@typescript-eslint/typescript-estree": 2.24.0
|
||||
eslint-visitor-keys: ^1.1.0
|
||||
peerDependencies:
|
||||
eslint: ^5.0.0 || ^6.0.0
|
||||
@@ -3133,11 +3123,31 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 2/0dfae7cea326389fb60ac4d2adf66cc82f075d5deb3b546996e62db366078d09f34fc389a25f7a76faebcb066bf3b88c94cef71ec8b87ceaf5fd68e5b976d8a9
|
||||
checksum: 2/61eef9ba53d5fd532557f598b1954e47c2b5b86c9b37fce9e5baa9506749f24765ff196e962c7536bf53bd48b2ac5f7a681a9445f568922842be4a4f679e5157
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/typescript-estree@npm:2.23.0, @typescript-eslint/typescript-estree@npm:^2.4.0":
|
||||
"@typescript-eslint/typescript-estree@npm:2.24.0":
|
||||
version: 2.24.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:2.24.0"
|
||||
dependencies:
|
||||
debug: ^4.1.1
|
||||
eslint-visitor-keys: ^1.1.0
|
||||
glob: ^7.1.6
|
||||
is-glob: ^4.0.1
|
||||
lodash: ^4.17.15
|
||||
semver: ^6.3.0
|
||||
tsutils: ^3.17.1
|
||||
peerDependencies:
|
||||
typescript: "*"
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 2/6683e7be617cc931da768e42d11af4685b71b75b5609e60a9da9355eac7c105a7bf1659000e714aed9a236efccf20d332ccc4d3003b4326d7160baea5339ee5d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/typescript-estree@npm:^2.4.0":
|
||||
version: 2.23.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:2.23.0"
|
||||
dependencies:
|
||||
@@ -3633,46 +3643,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/fslib@npm:^2.0.0-rc.17":
|
||||
version: 2.0.0-rc.17
|
||||
resolution: "@yarnpkg/fslib@npm:2.0.0-rc.17"
|
||||
dependencies:
|
||||
"@yarnpkg/libzip": ^2.0.0-rc.10
|
||||
checksum: 2/4e90a046f1645bac793c88811beb7da945af63cc9ce48930199714050c601adb52c7dab1dd3cac7d9fb200dbade4bcf15248925b98ccb3ed7546c339b9f66817
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/libzip@npm:^2.0.0-rc.10":
|
||||
version: 2.0.0-rc.10
|
||||
resolution: "@yarnpkg/libzip@npm:2.0.0-rc.10"
|
||||
dependencies:
|
||||
"@types/emscripten": ^1.38.0
|
||||
checksum: 2/95ae332b349eee4d53e0f098b7d1e4a399960d6661f33873f26cce47d32daa7e0cca7fbeb5f236aa17a20a1e5fd0d250e585267ec356df7732b6a835d934bd66
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/pnpify@npm:^2.0.0-rc.19":
|
||||
version: 2.0.0-rc.19
|
||||
resolution: "@yarnpkg/pnpify@npm:2.0.0-rc.19"
|
||||
dependencies:
|
||||
"@yarnpkg/fslib": ^2.0.0-rc.17
|
||||
chalk: ^3.0.0
|
||||
comment-json: ^2.2.0
|
||||
cross-spawn: 6.0.5
|
||||
peerDependencies:
|
||||
eslint: "*"
|
||||
typescript: "*"
|
||||
peerDependenciesMeta:
|
||||
eslint:
|
||||
optional: true
|
||||
typescript:
|
||||
optional: true
|
||||
bin:
|
||||
pnpify: ./lib/cli.js
|
||||
checksum: 2/5218e470931c16e4f891f1c7f0330e819ff81a5146afd992dd7360fd6a2faaf6ed97f93fdf51b9be3c05531f4893fc330bf442c7a086fd92692d2f2dc01ca1b8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@zkochan/cmd-shim@npm:^3.1.0":
|
||||
version: 3.1.0
|
||||
resolution: "@zkochan/cmd-shim@npm:3.1.0"
|
||||
@@ -5496,18 +5466,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"comment-json@npm:^2.2.0":
|
||||
version: 2.4.2
|
||||
resolution: "comment-json@npm:2.4.2"
|
||||
dependencies:
|
||||
core-util-is: ^1.0.2
|
||||
esprima: ^4.0.1
|
||||
has-own-prop: ^2.0.0
|
||||
repeat-string: ^1.6.1
|
||||
checksum: 2/80bc181741f7966946e09ba253e97a4709288acb65e8b30e641efbca0a1a2c79f31d4df6cd1412a17ddb3d1289f552ec13e1d3f983b42ac84de6344fd062cf3d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"commondir@npm:^1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "commondir@npm:1.0.1"
|
||||
@@ -5895,7 +5853,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"core-util-is@npm:1.0.2, core-util-is@npm:^1.0.2, core-util-is@npm:~1.0.0":
|
||||
"core-util-is@npm:1.0.2, core-util-is@npm:~1.0.0":
|
||||
version: 1.0.2
|
||||
resolution: "core-util-is@npm:1.0.2"
|
||||
checksum: 2/089015ee3c462dfceba70faa1df83b42a7bb35db26dae6af283247b06fe3216c65fccd9f00eebcaf98300dc31e981d56aae9f90b624f8f6ff1153e235ff88b65
|
||||
@@ -8944,13 +8902,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"has-own-prop@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "has-own-prop@npm:2.0.0"
|
||||
checksum: 2/8513ff905297afb7b65f4e22012a2c8e20ab006067841015bf338cfd23019b6c7cec89b5192b4cb7eaaa2a5370d2474dc9a0bcfdfd71100c45b8d3be9882f45b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"has-symbols@npm:^1.0.0, has-symbols@npm:^1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "has-symbols@npm:1.0.1"
|
||||
@@ -15297,9 +15248,10 @@ __metadata:
|
||||
"@babel/core": ^7.8.7
|
||||
"@babel/register": ^7.8.6
|
||||
"@babel/runtime": ^7.8.7
|
||||
"@polkadot/dev": ^0.51.1
|
||||
"@polkadot/ts": ^0.3.11
|
||||
"@polkadot/dev": ^0.51.5
|
||||
"@polkadot/ts": ^0.3.13
|
||||
"@polkadot/typegen": "workspace:packages/typegen"
|
||||
"@types/jest": ^25.1.4
|
||||
copyfiles: ^2.2.0
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -17078,15 +17030,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typedoc-default-themes@npm:^0.7.2":
|
||||
version: 0.7.2
|
||||
resolution: "typedoc-default-themes@npm:0.7.2"
|
||||
"typedoc-default-themes@npm:^0.8.0":
|
||||
version: 0.8.0
|
||||
resolution: "typedoc-default-themes@npm:0.8.0"
|
||||
dependencies:
|
||||
backbone: ^1.4.0
|
||||
jquery: ^3.4.1
|
||||
lunr: ^2.3.8
|
||||
underscore: ^1.9.1
|
||||
checksum: 2/c594a3d9a9d5afcc1cb128deade08214ecc126c05bee573652eb57452f1dc123420b4811e0f2d42a4ea04431cce7ac75ba0817351b0fac09fc0f869865b399cc
|
||||
underscore: ^1.9.2
|
||||
checksum: 2/f845d0c0f8c2f8e116869c0563a4a1daa8afada802f856594976c5acf9dc16696124fbd0024338d2b4e903166b884101080e9d44cadb52ba10c0de32f5ad33e0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -17111,11 +17063,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typedoc@npm:^0.16.11":
|
||||
version: 0.16.11
|
||||
resolution: "typedoc@npm:0.16.11"
|
||||
"typedoc@npm:^0.17.0":
|
||||
version: 0.17.0
|
||||
resolution: "typedoc@npm:0.17.0"
|
||||
dependencies:
|
||||
"@types/minimatch": 3.0.3
|
||||
fs-extra: ^8.1.0
|
||||
handlebars: ^4.7.2
|
||||
highlight.js: ^9.17.1
|
||||
@@ -17124,11 +17075,12 @@ __metadata:
|
||||
minimatch: ^3.0.0
|
||||
progress: ^2.0.3
|
||||
shelljs: ^0.8.3
|
||||
typedoc-default-themes: ^0.7.2
|
||||
typescript: 3.7.x
|
||||
typedoc-default-themes: ^0.8.0
|
||||
peerDependencies:
|
||||
typescript: ">=3.8.3"
|
||||
bin:
|
||||
typedoc: bin/typedoc
|
||||
checksum: 2/3715d2546aca4ab7c3d6b6d2eb772bb4df0a7cd1026e2ce047260caf0792e611f09f8555ef6831839648fd83e9b678d1617f86084dc12f286bb86e09c0944b02
|
||||
checksum: 2/2cf301bdcb0e20d396f30e1508b01c5c2818fd2e84758f45a92276de14d283feb66afe34632a1b3b008d4f6f750b5185947c9aa2e5fbd5b6f75d604c53ba6125
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -17187,7 +17139,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"underscore@npm:>=1.8.3, underscore@npm:^1.9.1":
|
||||
"underscore@npm:>=1.8.3, underscore@npm:^1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "underscore@npm:1.9.2"
|
||||
checksum: 2/732d9b449dec613695a3510a98483f8e08cb9b6680a4cb166a8e260dbe768e9ab5cdce4a075a8f6811f675409f13974f6e4bf402e8e648a363d646b072ae7e99
|
||||
@@ -18389,6 +18341,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs-parser@npm:^18.1.1":
|
||||
version: 18.1.1
|
||||
resolution: "yargs-parser@npm:18.1.1"
|
||||
dependencies:
|
||||
camelcase: ^5.0.0
|
||||
decamelize: ^1.2.0
|
||||
checksum: 2/8d857933ccbf63c542b46b57bc3c8fef28fcc209bfd386963c5d7922d459a159564c7a7f1d18948ae59dd945e83d9d39b7818e7aac5b7b94ef980f39bb3fb766
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs@npm:12.0.5":
|
||||
version: 12.0.5
|
||||
resolution: "yargs@npm:12.0.5"
|
||||
@@ -18484,6 +18446,25 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs@npm:^15.3.1":
|
||||
version: 15.3.1
|
||||
resolution: "yargs@npm:15.3.1"
|
||||
dependencies:
|
||||
cliui: ^6.0.0
|
||||
decamelize: ^1.2.0
|
||||
find-up: ^4.1.0
|
||||
get-caller-file: ^2.0.1
|
||||
require-directory: ^2.1.1
|
||||
require-main-filename: ^2.0.0
|
||||
set-blocking: ^2.0.0
|
||||
string-width: ^4.2.0
|
||||
which-module: ^2.0.0
|
||||
y18n: ^4.0.0
|
||||
yargs-parser: ^18.1.1
|
||||
checksum: 2/6504a0bb4e6f5933ebaaa52307943a9cdb44da6200cd1ca8794aaa1d18b70f0acd2f49f46630b07bd4d2aa12cb1fe666b186d367c36fa1b4998f7ce8bdc9ffdf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"zepto@npm:^1.2.0":
|
||||
version: 1.2.0
|
||||
resolution: "zepto@npm:1.2.0"
|
||||
|
||||
Reference in New Issue
Block a user