Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b9f1544a3 | ||
|
|
9943bda41f | ||
|
|
b99e7a3cdb | ||
|
|
1e491579c1 | ||
|
|
ef83cfbdc1 | ||
|
|
d10407a44f | ||
|
|
068af8b2ab | ||
|
|
d9f4d3e08b | ||
|
|
fa79f35ec2 | ||
|
|
8c2c2afc37 | ||
|
|
5157d8c3f0 | ||
|
|
bb303361e2 | ||
|
|
ad587b0673 | ||
|
|
ae5cf270f0 | ||
|
|
9fc33ac53a | ||
|
|
60d4da934a | ||
|
|
550d17d349 | ||
|
|
ce8a2b5e4f | ||
|
|
4c4994e63c | ||
|
|
df9b6959d1 | ||
|
|
6a583ee594 | ||
|
|
affa6ab1bd | ||
|
|
407aca37c1 | ||
|
|
246dfaf943 | ||
|
|
a05fff302f | ||
|
|
d45a9cfe58 | ||
|
|
32881d73a0 | ||
|
|
e568ffe23f |
@@ -1,5 +1,23 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 6.3.1 Oct 9, 2021
|
||||||
|
|
||||||
|
Upgrade priority: Low. Recoemmended for Kusama & Polkadot runtime 9100+
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Mark `api.query.*.*.at` as deprecated (use `api.at`)
|
||||||
|
- Expose `queryMulti`, `findError` and `findCall` on `api.at`
|
||||||
|
- Optimize parallel metadata retrieval/decoration
|
||||||
|
- Rework derive `.at` to ensure no additional metadata calls
|
||||||
|
- Adjust Xcm types for Kusama, Polkadot, Westend (V1 & V2 usage)
|
||||||
|
- Fix Xcm Fungibility type
|
||||||
|
- Add upgrade blocks for Westend
|
||||||
|
- Prepare for v14 metadata swap in Kusama/Polkadot (9110 runtime)
|
||||||
|
- Adjust metadata wilcard path matching (event extraction)
|
||||||
|
- Bump static metadata for latest Substrate, Polkadot & Kusama
|
||||||
|
|
||||||
|
|
||||||
## 6.2.1 Oct 4, 2021
|
## 6.2.1 Oct 4, 2021
|
||||||
|
|
||||||
Upgrade priority: Low. Maintenance updates.
|
Upgrade priority: Low. Maintenance updates.
|
||||||
|
|||||||
+3
-3
@@ -26,15 +26,15 @@
|
|||||||
"test:watch": "polkadot-dev-run-test --watch"
|
"test:watch": "polkadot-dev-run-test --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.15.5",
|
"@babel/core": "^7.15.8",
|
||||||
"@babel/register": "^7.15.3",
|
"@babel/register": "^7.15.3",
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/dev": "^0.62.68",
|
"@polkadot/dev": "^0.62.70",
|
||||||
"@polkadot/ts": "^0.4.8",
|
"@polkadot/ts": "^0.4.8",
|
||||||
"@polkadot/typegen": "workspace:packages/typegen",
|
"@polkadot/typegen": "workspace:packages/typegen",
|
||||||
"@types/jest": "^27.0.2",
|
"@types/jest": "^27.0.2",
|
||||||
"copyfiles": "^2.4.1"
|
"copyfiles": "^2.4.1"
|
||||||
},
|
},
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"packageManager": "yarn@3.0.1"
|
"packageManager": "yarn@3.0.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/api-contract",
|
"name": "@polkadot/api-contract",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,9 +20,9 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/api": "6.2.1",
|
"@polkadot/api": "6.3.1",
|
||||||
"@polkadot/types": "6.2.1",
|
"@polkadot/types": "6.3.1",
|
||||||
"@polkadot/util": "^7.4.1",
|
"@polkadot/util": "^7.4.1",
|
||||||
"rxjs": "^7.3.0"
|
"rxjs": "^7.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-contract', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/api-contract', version: '6.3.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/api-derive",
|
"name": "@polkadot/api-derive",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,15 +20,15 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/api": "6.2.1",
|
"@polkadot/api": "6.3.1",
|
||||||
"@polkadot/rpc-core": "6.2.1",
|
"@polkadot/rpc-core": "6.3.1",
|
||||||
"@polkadot/types": "6.2.1",
|
"@polkadot/types": "6.3.1",
|
||||||
"@polkadot/util": "^7.4.1",
|
"@polkadot/util": "^7.4.1",
|
||||||
"@polkadot/util-crypto": "^7.4.1",
|
"@polkadot/util-crypto": "^7.4.1",
|
||||||
"rxjs": "^7.3.0"
|
"rxjs": "^7.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^7.4.1",
|
"@polkadot/keyring": "^7.4.1",
|
||||||
"@polkadot/rpc-provider": "6.2.1"
|
"@polkadot/rpc-provider": "6.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import type { Observable } from 'rxjs';
|
|||||||
import type { ApiInterfaceRx } from '@polkadot/api/types';
|
import type { ApiInterfaceRx } from '@polkadot/api/types';
|
||||||
import type { SignedBlockExtended } from '../type/types';
|
import type { SignedBlockExtended } from '../type/types';
|
||||||
|
|
||||||
import { catchError, combineLatest, map, of } from 'rxjs';
|
import { catchError, combineLatest, map, of, switchMap } from 'rxjs';
|
||||||
|
|
||||||
import { createSignedBlockExtended } from '../type';
|
import { createSignedBlockExtended } from '../type';
|
||||||
import { memo } from '../util';
|
import { memo } from '../util';
|
||||||
@@ -24,15 +24,18 @@ import { memo } from '../util';
|
|||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
export function getBlock (instanceId: string, api: ApiInterfaceRx): (hash: Uint8Array | string) => Observable<SignedBlockExtended | undefined> {
|
export function getBlock (instanceId: string, api: ApiInterfaceRx): (hash: Uint8Array | string) => Observable<SignedBlockExtended | undefined> {
|
||||||
return memo(instanceId, (hash: Uint8Array | string): Observable<SignedBlockExtended | undefined> =>
|
return memo(instanceId, (blockHash: Uint8Array | string): Observable<SignedBlockExtended | undefined> =>
|
||||||
|
api.queryAt(blockHash).pipe(
|
||||||
|
switchMap((queryAt) =>
|
||||||
combineLatest([
|
combineLatest([
|
||||||
api.rpc.chain.getBlock(hash),
|
api.rpc.chain.getBlock(blockHash),
|
||||||
api.query.system.events.at(hash),
|
queryAt.system.events(),
|
||||||
api.query.session
|
queryAt.session
|
||||||
? api.query.session.validators.at(hash)
|
? queryAt.session.validators()
|
||||||
: of([])
|
: of([])
|
||||||
]).pipe(
|
])
|
||||||
map(([signedBlock, events, validators]): SignedBlockExtended =>
|
),
|
||||||
|
map(([signedBlock, events, validators]) =>
|
||||||
createSignedBlockExtended(api.registry, signedBlock, events, validators)
|
createSignedBlockExtended(api.registry, signedBlock, events, validators)
|
||||||
),
|
),
|
||||||
catchError((): Observable<undefined> =>
|
catchError((): Observable<undefined> =>
|
||||||
|
|||||||
@@ -3,9 +3,10 @@
|
|||||||
|
|
||||||
import type { Observable } from 'rxjs';
|
import type { Observable } from 'rxjs';
|
||||||
import type { ApiInterfaceRx } from '@polkadot/api/types';
|
import type { ApiInterfaceRx } from '@polkadot/api/types';
|
||||||
|
import type { AccountId } from '@polkadot/types/interfaces';
|
||||||
import type { HeaderExtended } from '../type/types';
|
import type { HeaderExtended } from '../type/types';
|
||||||
|
|
||||||
import { catchError, combineLatest, map, of } from 'rxjs';
|
import { catchError, combineLatest, map, of, switchMap } from 'rxjs';
|
||||||
|
|
||||||
import { createHeaderExtended } from '../type';
|
import { createHeaderExtended } from '../type';
|
||||||
import { memo } from '../util';
|
import { memo } from '../util';
|
||||||
@@ -26,13 +27,16 @@ import { memo } from '../util';
|
|||||||
*/
|
*/
|
||||||
export function getHeader (instanceId: string, api: ApiInterfaceRx): (hash: Uint8Array | string) => Observable<HeaderExtended | undefined> {
|
export function getHeader (instanceId: string, api: ApiInterfaceRx): (hash: Uint8Array | string) => Observable<HeaderExtended | undefined> {
|
||||||
return memo(instanceId, (hash: Uint8Array | string): Observable<HeaderExtended | undefined> =>
|
return memo(instanceId, (hash: Uint8Array | string): Observable<HeaderExtended | undefined> =>
|
||||||
|
api.queryAt(hash).pipe(
|
||||||
|
switchMap((queryAt) =>
|
||||||
combineLatest([
|
combineLatest([
|
||||||
api.rpc.chain.getHeader(hash),
|
api.rpc.chain.getHeader(hash),
|
||||||
api.query.session
|
queryAt.session
|
||||||
? api.query.session.validators.at(hash)
|
? queryAt.session.validators()
|
||||||
: of([])
|
: of([] as AccountId[])
|
||||||
]).pipe(
|
])
|
||||||
map(([header, validators]): HeaderExtended =>
|
),
|
||||||
|
map(([header, validators]) =>
|
||||||
createHeaderExtended(header.registry, header, validators)
|
createHeaderExtended(header.registry, header, validators)
|
||||||
),
|
),
|
||||||
catchError((): Observable<undefined> =>
|
catchError((): Observable<undefined> =>
|
||||||
|
|||||||
@@ -3,9 +3,7 @@
|
|||||||
|
|
||||||
import type { Observable } from 'rxjs';
|
import type { Observable } from 'rxjs';
|
||||||
import type { ApiInterfaceRx } from '@polkadot/api/types';
|
import type { ApiInterfaceRx } from '@polkadot/api/types';
|
||||||
import type { Vec } from '@polkadot/types';
|
import type { SignedBlockExtended } from '../type/types';
|
||||||
import type { EventRecord, SignedBlock } from '@polkadot/types/interfaces';
|
|
||||||
import type { HeaderExtended, SignedBlockExtended } from '../type/types';
|
|
||||||
|
|
||||||
import { combineLatest, map, of, switchMap } from 'rxjs';
|
import { combineLatest, map, of, switchMap } from 'rxjs';
|
||||||
|
|
||||||
@@ -19,16 +17,21 @@ import { memo } from '../util';
|
|||||||
export function subscribeNewBlocks (instanceId: string, api: ApiInterfaceRx): () => Observable<SignedBlockExtended> {
|
export function subscribeNewBlocks (instanceId: string, api: ApiInterfaceRx): () => Observable<SignedBlockExtended> {
|
||||||
return memo(instanceId, (): Observable<SignedBlockExtended> =>
|
return memo(instanceId, (): Observable<SignedBlockExtended> =>
|
||||||
api.derive.chain.subscribeNewHeads().pipe(
|
api.derive.chain.subscribeNewHeads().pipe(
|
||||||
switchMap((header): Observable<[SignedBlock, Vec<EventRecord>, HeaderExtended]> => {
|
switchMap((header) => {
|
||||||
const blockHash = header.createdAtHash || header.hash;
|
const blockHash = header.createdAtHash || header.hash;
|
||||||
|
|
||||||
return combineLatest(
|
// we get the block first, setting up the registry
|
||||||
|
return api.queryAt(blockHash).pipe(
|
||||||
|
switchMap((queryAt) =>
|
||||||
|
combineLatest([
|
||||||
|
of(header),
|
||||||
api.rpc.chain.getBlock(blockHash),
|
api.rpc.chain.getBlock(blockHash),
|
||||||
api.query.system.events.at(blockHash),
|
queryAt.system.events()
|
||||||
of(header)
|
])
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
map(([block, events, header]) =>
|
map(([header, block, events]) =>
|
||||||
createSignedBlockExtended(block.registry, block, events, header.validators)
|
createSignedBlockExtended(block.registry, block, events, header.validators)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-derive', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/api-derive', version: '6.3.1' };
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import type { Observable } from 'rxjs';
|
|||||||
import type { ApiInterfaceRx } from '@polkadot/api/types';
|
import type { ApiInterfaceRx } from '@polkadot/api/types';
|
||||||
import type { EventRecord, Hash, SignedBlock } from '@polkadot/types/interfaces';
|
import type { EventRecord, Hash, SignedBlock } from '@polkadot/types/interfaces';
|
||||||
|
|
||||||
import { combineLatest, map } from 'rxjs';
|
import { combineLatest, map, switchMap } from 'rxjs';
|
||||||
|
|
||||||
import { memo } from '../util';
|
import { memo } from '../util';
|
||||||
|
|
||||||
@@ -15,15 +15,15 @@ interface Result {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function events (instanceId: string, api: ApiInterfaceRx): (at: Hash) => Observable<Result> {
|
export function events (instanceId: string, api: ApiInterfaceRx): (at: Hash) => Observable<Result> {
|
||||||
return memo(instanceId, (at: Hash): Observable<Result> =>
|
return memo(instanceId, (blockHash: Hash) =>
|
||||||
|
api.queryAt(blockHash).pipe(
|
||||||
|
switchMap((queryAt) =>
|
||||||
combineLatest([
|
combineLatest([
|
||||||
api.query.system.events.at(at),
|
api.rpc.chain.getBlock(blockHash),
|
||||||
api.rpc.chain.getBlock(at)
|
queryAt.system.events()
|
||||||
]).pipe(
|
])
|
||||||
map(([events, block]) => ({
|
),
|
||||||
block,
|
map(([block, events]): Result => ({ block, events }))
|
||||||
events
|
|
||||||
}))
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/api",
|
"name": "@polkadot/api",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,15 +20,15 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/api-derive": "6.2.1",
|
"@polkadot/api-derive": "6.3.1",
|
||||||
"@polkadot/keyring": "^7.4.1",
|
"@polkadot/keyring": "^7.4.1",
|
||||||
"@polkadot/rpc-core": "6.2.1",
|
"@polkadot/rpc-core": "6.3.1",
|
||||||
"@polkadot/rpc-provider": "6.2.1",
|
"@polkadot/rpc-provider": "6.3.1",
|
||||||
"@polkadot/types": "6.2.1",
|
"@polkadot/types": "6.3.1",
|
||||||
"@polkadot/types-known": "6.2.1",
|
"@polkadot/types-known": "6.3.1",
|
||||||
"@polkadot/util": "^7.4.1",
|
"@polkadot/util": "^7.4.1",
|
||||||
"@polkadot/util-crypto": "^7.4.1",
|
"@polkadot/util-crypto": "^7.4.1",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"rxjs": "^7.3.0"
|
"rxjs": "^7.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { ApiTypes } from '@polkadot/api/types';
|
import type { ApiTypes } from '@polkadot/api/types';
|
||||||
import type { U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
|
import type { U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
|
||||||
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
||||||
import type { Codec } from '@polkadot/types/types';
|
import type { Codec } from '@polkadot/types/types';
|
||||||
@@ -396,11 +396,6 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
* Must be no greater than `MaxQueueLen`.
|
* Must be no greater than `MaxQueueLen`.
|
||||||
**/
|
**/
|
||||||
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
|
||||||
* The issuance to ignore. This is subtracted from the `Currency`'s `total_issuance` to get
|
|
||||||
* the issuance by which we inflate or deflate the gilt.
|
|
||||||
**/
|
|
||||||
ignoredIssuance: u128 & AugmentedConst<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* The number of blocks between consecutive attempts to issue more gilts in an effort to
|
* The number of blocks between consecutive attempts to issue more gilts in an effort to
|
||||||
* get to the target amount to be frozen.
|
* get to the target amount to be frozen.
|
||||||
@@ -796,6 +791,30 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
[key: string]: Codec;
|
[key: string]: Codec;
|
||||||
};
|
};
|
||||||
transactionPayment: {
|
transactionPayment: {
|
||||||
|
/**
|
||||||
|
* A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
||||||
|
* `priority`
|
||||||
|
*
|
||||||
|
* This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
|
||||||
|
* added to a tip component in regular `priority` calculations.
|
||||||
|
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
||||||
|
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
||||||
|
*
|
||||||
|
* ```rust,ignore
|
||||||
|
* // For `Normal`
|
||||||
|
* let priority = priority_calc(tip);
|
||||||
|
*
|
||||||
|
* // For `Operational`
|
||||||
|
* let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
|
||||||
|
* let priority = priority_calc(tip + virtual_tip);
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* Note that since we use `final_fee` the multiplier applies also to the regular `tip`
|
||||||
|
* sent with the transaction. So, not only does the transaction get a priority bump based
|
||||||
|
* on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
|
||||||
|
* transactions.
|
||||||
|
**/
|
||||||
|
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The fee to be paid for making a transaction; the per-byte portion.
|
* The fee to be paid for making a transaction; the per-byte portion.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -604,7 +604,7 @@ declare module '@polkadot/api/types/storage' {
|
|||||||
**/
|
**/
|
||||||
keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* For each session index, we keep a mapping of 'SessionIndex` and `AuthIndex` to
|
* For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to
|
||||||
* `WrapperOpaque<BoundedOpaqueNetworkState>`.
|
* `WrapperOpaque<BoundedOpaqueNetworkState>`.
|
||||||
**/
|
**/
|
||||||
receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<WrapperOpaque<PalletImOnlineBoundedOpaqueNetworkState>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<WrapperOpaque<PalletImOnlineBoundedOpaqueNetworkState>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
@@ -787,7 +787,9 @@ declare module '@polkadot/api/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Indices of disabled validators.
|
* Indices of disabled validators.
|
||||||
*
|
*
|
||||||
* The set is cleared when `on_session_ending` returns a new set of identities.
|
* The vec is always kept sorted so that we can find whether a given validator is
|
||||||
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||||
|
* a new set of identities.
|
||||||
**/
|
**/
|
||||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
@@ -1055,6 +1057,18 @@ declare module '@polkadot/api/types/storage' {
|
|||||||
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
||||||
**/
|
**/
|
||||||
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
||||||
|
/**
|
||||||
|
* Indices of validators that have offended in the active era and whether they are currently
|
||||||
|
* disabled.
|
||||||
|
*
|
||||||
|
* This value should be a superset of disabled validators since not all offences lead to the
|
||||||
|
* validator being disabled (if there was no slash). This is needed to track the percentage of
|
||||||
|
* validators that have offended in the current era, ensuring a new era is forced if
|
||||||
|
* `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find
|
||||||
|
* whether a given validator has previously offended using binary search. It gets cleared when
|
||||||
|
* the era ends.
|
||||||
|
**/
|
||||||
|
offendingValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, bool]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Where the reward payment should be made. Keyed by stash.
|
* Where the reward payment should be made. Keyed by stash.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ import type { Option, Raw, StorageKey, Text, u64 } from '@polkadot/types';
|
|||||||
import type { Call, Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
import type { Call, Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
||||||
import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
|
import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
|
||||||
import type { StorageEntry } from '@polkadot/types/primitive/types';
|
import type { StorageEntry } from '@polkadot/types/primitive/types';
|
||||||
import type { AnyFunction, AnyTuple, CallFunction, Codec, DefinitionRpc, DefinitionRpcSub, DetectCodec, IMethod, IStorageKey, Registry, RegistryTypes } from '@polkadot/types/types';
|
import type { AnyFunction, AnyTuple, CallFunction, Codec, DefinitionRpc, DefinitionRpcSub, DetectCodec, IMethod, IStorageKey, Registry, RegistryError, RegistryTypes } from '@polkadot/types/types';
|
||||||
import type { SubmittableExtrinsic } from '../submittable/types';
|
import type { SubmittableExtrinsic } from '../submittable/types';
|
||||||
import type { ApiDecoration, ApiInterfaceRx, ApiOptions, ApiTypes, DecoratedErrors, DecoratedEvents, DecoratedRpc, DecoratedRpcSection, DecorateMethod, PaginationOptions, QueryableConsts, QueryableModuleStorage, QueryableModuleStorageAt, QueryableStorage, QueryableStorageAt, QueryableStorageEntry, QueryableStorageEntryAt, QueryableStorageMulti, QueryableStorageMultiArg, SubmittableExtrinsicFunction, SubmittableExtrinsics, SubmittableModuleExtrinsics } from '../types';
|
import type { ApiDecoration, ApiInterfaceRx, ApiOptions, ApiTypes, AugmentedQuery, DecoratedErrors, DecoratedEvents, DecoratedRpc, DecoratedRpcSection, DecorateMethod, GenericStorageEntryFunction, PaginationOptions, QueryableConsts, QueryableModuleStorage, QueryableModuleStorageAt, QueryableStorage, QueryableStorageAt, QueryableStorageEntry, QueryableStorageEntryAt, QueryableStorageMulti, QueryableStorageMultiArg, SubmittableExtrinsicFunction, SubmittableExtrinsics, SubmittableModuleExtrinsics } from '../types';
|
||||||
import type { VersionedRegistry } from './types';
|
import type { VersionedRegistry } from './types';
|
||||||
|
|
||||||
import { BehaviorSubject, combineLatest, from, map, of, switchMap, tap, toArray } from 'rxjs';
|
import { BehaviorSubject, combineLatest, from, map, of, switchMap, tap, toArray } from 'rxjs';
|
||||||
@@ -25,6 +25,7 @@ import { augmentObject } from '../util/augmentObject';
|
|||||||
import { decorateSections, DeriveAllSections } from '../util/decorate';
|
import { decorateSections, DeriveAllSections } from '../util/decorate';
|
||||||
import { extractStorageArgs } from '../util/validate';
|
import { extractStorageArgs } from '../util/validate';
|
||||||
import { Events } from './Events';
|
import { Events } from './Events';
|
||||||
|
import { findCall, findError } from './find';
|
||||||
|
|
||||||
interface MetaDecoration {
|
interface MetaDecoration {
|
||||||
callIndex?: Uint8Array;
|
callIndex?: Uint8Array;
|
||||||
@@ -47,6 +48,12 @@ const l = logger('api/init');
|
|||||||
|
|
||||||
let instanceCounter = 0;
|
let instanceCounter = 0;
|
||||||
|
|
||||||
|
function getAtQueryFn<ApiType extends ApiTypes> (api: ApiDecoration<ApiType>, { method, section }: StorageEntry): AugmentedQuery<'rxjs', GenericStorageEntryFunction, AnyTuple> {
|
||||||
|
assert(api.rx.query[section] && api.rx.query[section][method], () => `query.${section}.${method} is not available in this version of the metadata`);
|
||||||
|
|
||||||
|
return api.rx.query[section][method];
|
||||||
|
}
|
||||||
|
|
||||||
export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
||||||
readonly #instanceId: string;
|
readonly #instanceId: string;
|
||||||
|
|
||||||
@@ -138,6 +145,8 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
|
|
||||||
this.#instanceId = `${++instanceCounter}`;
|
this.#instanceId = `${++instanceCounter}`;
|
||||||
this.#registry = options.source?.registry || options.registry || new TypeRegistry();
|
this.#registry = options.source?.registry || options.registry || new TypeRegistry();
|
||||||
|
this._rx.queryAt = (blockHash: Uint8Array | string) =>
|
||||||
|
from(this.at(blockHash)).pipe(map((a) => a.rx.query));
|
||||||
this._rx.registry = this.#registry;
|
this._rx.registry = this.#registry;
|
||||||
|
|
||||||
const thisProvider = options.source
|
const thisProvider = options.source
|
||||||
@@ -224,6 +233,14 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
augmentObject('query', storage, decoratedApi.query, fromEmpty);
|
augmentObject('query', storage, decoratedApi.query, fromEmpty);
|
||||||
augmentObject('query', storageRx, decoratedApi.rx.query, fromEmpty);
|
augmentObject('query', storageRx, decoratedApi.rx.query, fromEmpty);
|
||||||
|
|
||||||
|
decoratedApi.findCall = (callIndex: Uint8Array | string): CallFunction =>
|
||||||
|
findCall(registry.registry, callIndex);
|
||||||
|
decoratedApi.findError = (errorIndex: Uint8Array | string): RegistryError =>
|
||||||
|
findError(registry.registry, errorIndex);
|
||||||
|
decoratedApi.queryMulti = blockHash
|
||||||
|
? this._decorateMultiAt(decoratedApi, this._decorateMethod, blockHash)
|
||||||
|
: this._decorateMulti(this._decorateMethod);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
decoratedApi,
|
decoratedApi,
|
||||||
decoratedMeta: registry.decoratedMeta
|
decoratedMeta: registry.decoratedMeta
|
||||||
@@ -381,6 +398,26 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
: [args.creator])));
|
: [args.creator])));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected _decorateMultiAt<ApiType extends ApiTypes> (atApi: ApiDecoration<ApiType>, decorateMethod: DecorateMethod<ApiType>, blockHash: Uint8Array | string): QueryableStorageMulti<ApiType> {
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||||
|
return decorateMethod((calls: QueryableStorageMultiArg<ApiType>[]): Observable<Codec[]> =>
|
||||||
|
this._rpcCore.state.queryStorageAt(
|
||||||
|
calls.map((args: QueryableStorageMultiArg<ApiType>) => {
|
||||||
|
if (Array.isArray(args)) {
|
||||||
|
const { creator } = getAtQueryFn(atApi, args[0].creator);
|
||||||
|
|
||||||
|
return creator.meta.type.isPlain
|
||||||
|
? [creator]
|
||||||
|
: creator.meta.type.asMap.hashers.length === 1
|
||||||
|
? [creator, args.slice(1)]
|
||||||
|
: [creator, ...args.slice(1)];
|
||||||
|
}
|
||||||
|
|
||||||
|
return [getAtQueryFn(atApi, args.creator).creator];
|
||||||
|
}),
|
||||||
|
blockHash));
|
||||||
|
}
|
||||||
|
|
||||||
protected _decorateExtrinsics<ApiType extends ApiTypes> ({ tx }: DecoratedMeta, decorateMethod: DecorateMethod<ApiType>): SubmittableExtrinsics<ApiType> {
|
protected _decorateExtrinsics<ApiType extends ApiTypes> ({ tx }: DecoratedMeta, decorateMethod: DecorateMethod<ApiType>): SubmittableExtrinsics<ApiType> {
|
||||||
const creator = createSubmittable(this._type, this._rx, decorateMethod);
|
const creator = createSubmittable(this._type, this._rx, decorateMethod);
|
||||||
|
|
||||||
@@ -432,8 +469,12 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private _decorateStorageEntry<ApiType extends ApiTypes> (creator: StorageEntry, decorateMethod: DecorateMethod<ApiType>): QueryableStorageEntry<ApiType> {
|
private _decorateStorageEntry<ApiType extends ApiTypes> (creator: StorageEntry, decorateMethod: DecorateMethod<ApiType>): QueryableStorageEntry<ApiType> {
|
||||||
// get the storage arguments, with DoubleMap as an array entry, otherwise spread
|
const getArgs = (args: unknown[], registry?: Registry) =>
|
||||||
const getArgs = (args: unknown[]) => extractStorageArgs(this.#registry, creator, args);
|
extractStorageArgs(registry || this.#registry, creator, args);
|
||||||
|
|
||||||
|
const getQueryAt = (blockHash: Hash | Uint8Array | string): Observable<AugmentedQuery<'rxjs', GenericStorageEntryFunction, AnyTuple>> =>
|
||||||
|
from(this.at(blockHash)).pipe(
|
||||||
|
map((api) => getAtQueryFn(api, creator)));
|
||||||
|
|
||||||
// Disable this where it occurs for each field we are decorating
|
// Disable this where it occurs for each field we are decorating
|
||||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-assignment */
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-assignment */
|
||||||
@@ -442,14 +483,9 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
|
|
||||||
decorated.creator = creator;
|
decorated.creator = creator;
|
||||||
|
|
||||||
decorated.at = decorateMethod((hash: Hash, ...args: unknown[]): Observable<Codec> =>
|
decorated.at = decorateMethod((blockHash: Hash, ...args: unknown[]): Observable<Codec> =>
|
||||||
from(this.at(hash)).pipe(
|
getQueryAt(blockHash).pipe(
|
||||||
switchMap((api): Observable<Codec> => {
|
switchMap((q) => q(...args))));
|
||||||
assert(api.rx.query[creator.section] && api.rx.query[creator.section][creator.method], () => `query.${creator.section}.${creator.method} is not available in this version of the metadata`);
|
|
||||||
|
|
||||||
return api.rx.query[creator.section][creator.method](...args);
|
|
||||||
})
|
|
||||||
));
|
|
||||||
|
|
||||||
decorated.hash = decorateMethod((...args: unknown[]): Observable<Hash> =>
|
decorated.hash = decorateMethod((...args: unknown[]): Observable<Hash> =>
|
||||||
this._rpcCore.state.getStorageHash(getArgs(args)));
|
this._rpcCore.state.getStorageHash(getArgs(args)));
|
||||||
@@ -470,8 +506,10 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
decorated.size = decorateMethod((...args: unknown[]): Observable<u64> =>
|
decorated.size = decorateMethod((...args: unknown[]): Observable<u64> =>
|
||||||
this._rpcCore.state.getStorageSize(getArgs(args)));
|
this._rpcCore.state.getStorageSize(getArgs(args)));
|
||||||
|
|
||||||
decorated.sizeAt = decorateMethod((hash: Hash | Uint8Array | string, ...args: unknown[]): Observable<u64> =>
|
decorated.sizeAt = decorateMethod((blockHash: Hash | Uint8Array | string, ...args: unknown[]): Observable<u64> =>
|
||||||
this._rpcCore.state.getStorageSize(getArgs(args), hash));
|
getQueryAt(blockHash).pipe(
|
||||||
|
switchMap((q) =>
|
||||||
|
this._rpcCore.state.getStorageSize(getArgs(args, q.creator.meta.registry), blockHash))));
|
||||||
|
|
||||||
// .keys() & .entries() only available on map types
|
// .keys() & .entries() only available on map types
|
||||||
if (creator.iterKey && creator.meta.type.isMap) {
|
if (creator.iterKey && creator.meta.type.isMap) {
|
||||||
@@ -480,8 +518,9 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
this._retrieveMapEntries(creator, null, args)));
|
this._retrieveMapEntries(creator, null, args)));
|
||||||
|
|
||||||
decorated.entriesAt = decorateMethod(
|
decorated.entriesAt = decorateMethod(
|
||||||
memo(this.#instanceId, (hash: Hash | Uint8Array | string, ...args: unknown[]): Observable<[StorageKey, Codec][]> =>
|
memo(this.#instanceId, (blockHash: Hash | Uint8Array | string, ...args: unknown[]): Observable<[StorageKey, Codec][]> =>
|
||||||
this._retrieveMapEntries(creator, hash, args)));
|
getQueryAt(blockHash).pipe(
|
||||||
|
switchMap((q) => this._retrieveMapEntries(q.creator, blockHash, args)))));
|
||||||
|
|
||||||
decorated.entriesPaged = decorateMethod(
|
decorated.entriesPaged = decorateMethod(
|
||||||
memo(this.#instanceId, (opts: PaginationOptions): Observable<[StorageKey, Codec][]> =>
|
memo(this.#instanceId, (opts: PaginationOptions): Observable<[StorageKey, Codec][]> =>
|
||||||
@@ -492,8 +531,9 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
this._retrieveMapKeys(creator, null, args)));
|
this._retrieveMapKeys(creator, null, args)));
|
||||||
|
|
||||||
decorated.keysAt = decorateMethod(
|
decorated.keysAt = decorateMethod(
|
||||||
memo(this.#instanceId, (hash: Hash | Uint8Array | string, ...args: unknown[]): Observable<StorageKey[]> =>
|
memo(this.#instanceId, (blockHash: Hash | Uint8Array | string, ...args: unknown[]): Observable<StorageKey[]> =>
|
||||||
this._retrieveMapKeys(creator, hash, args)));
|
getQueryAt(blockHash).pipe(
|
||||||
|
switchMap((q) => this._retrieveMapKeys(q.creator, blockHash, args)))));
|
||||||
|
|
||||||
decorated.keysPaged = decorateMethod(
|
decorated.keysPaged = decorateMethod(
|
||||||
memo(this.#instanceId, (opts: PaginationOptions): Observable<StorageKey[]> =>
|
memo(this.#instanceId, (opts: PaginationOptions): Observable<StorageKey[]> =>
|
||||||
@@ -515,7 +555,6 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private _decorateStorageEntryAt<ApiType extends ApiTypes> (registry: Registry, creator: StorageEntry, decorateMethod: DecorateMethod<ApiType>, blockHash: Uint8Array): QueryableStorageEntryAt<ApiType> {
|
private _decorateStorageEntryAt<ApiType extends ApiTypes> (registry: Registry, creator: StorageEntry, decorateMethod: DecorateMethod<ApiType>, blockHash: Uint8Array): QueryableStorageEntryAt<ApiType> {
|
||||||
// get the storage arguments, with DoubleMap as an array entry, otherwise spread
|
|
||||||
const getArgs = (args: unknown[]): unknown[] => extractStorageArgs(registry, creator, args);
|
const getArgs = (args: unknown[]): unknown[] => extractStorageArgs(registry, creator, args);
|
||||||
|
|
||||||
// Disable this where it occurs for each field we are decorating
|
// Disable this where it occurs for each field we are decorating
|
||||||
@@ -546,7 +585,6 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
decorated.size = decorateMethod((...args: unknown[]): Observable<u64> =>
|
decorated.size = decorateMethod((...args: unknown[]): Observable<u64> =>
|
||||||
this._rpcCore.state.getStorageSize(getArgs(args), blockHash));
|
this._rpcCore.state.getStorageSize(getArgs(args), blockHash));
|
||||||
|
|
||||||
// FIXME NMap support
|
|
||||||
// .keys() & .entries() only available on map types
|
// .keys() & .entries() only available on map types
|
||||||
if (creator.iterKey && creator.meta.type.isMap) {
|
if (creator.iterKey && creator.meta.type.isMap) {
|
||||||
decorated.entries = decorateMethod(
|
decorated.entries = decorateMethod(
|
||||||
@@ -678,7 +716,7 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
const specName = this._runtimeVersion?.specName.toString();
|
const specName = this._runtimeVersion?.specName.toString();
|
||||||
const derives = {
|
const derives = {
|
||||||
...this._options.derives,
|
...this._options.derives,
|
||||||
...(this._options.typesBundle?.spec?.[specName ?? '']?.derives || {})
|
...(this._options.typesBundle?.spec?.[specName || '']?.derives || {})
|
||||||
};
|
};
|
||||||
|
|
||||||
// Pull in derive from api-derive
|
// Pull in derive from api-derive
|
||||||
|
|||||||
@@ -5,11 +5,13 @@ import type { RpcInterface } from '@polkadot/rpc-core/types';
|
|||||||
import type { Text } from '@polkadot/types';
|
import type { Text } from '@polkadot/types';
|
||||||
import type { Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
import type { Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
||||||
import type { Metadata } from '@polkadot/types/metadata';
|
import type { Metadata } from '@polkadot/types/metadata';
|
||||||
|
import type { CallFunction, RegistryError } from '@polkadot/types/types';
|
||||||
import type { ApiDecoration, ApiInterfaceRx, ApiTypes, DecoratedErrors, DecoratedEvents, DecoratedRpc, QueryableConsts, QueryableStorage, QueryableStorageMulti, SubmittableExtrinsics } from '../types';
|
import type { ApiDecoration, ApiInterfaceRx, ApiTypes, DecoratedErrors, DecoratedEvents, DecoratedRpc, QueryableConsts, QueryableStorage, QueryableStorageMulti, SubmittableExtrinsics } from '../types';
|
||||||
|
|
||||||
import { assertReturn } from '@polkadot/util';
|
import { assertReturn } from '@polkadot/util';
|
||||||
|
|
||||||
import { packageInfo } from '../packageInfo';
|
import { packageInfo } from '../packageInfo';
|
||||||
|
import { findCall, findError } from './find';
|
||||||
import { Init } from './Init';
|
import { Init } from './Init';
|
||||||
|
|
||||||
interface PkgJson {
|
interface PkgJson {
|
||||||
@@ -210,4 +212,18 @@ export abstract class Getters<ApiType extends ApiTypes> extends Init<ApiType> im
|
|||||||
public get tx (): SubmittableExtrinsics<ApiType> {
|
public get tx (): SubmittableExtrinsics<ApiType> {
|
||||||
return assertResult(this._extrinsics);
|
return assertResult(this._extrinsics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description Finds the definition for a specific [[CallFunction]] based on the index supplied
|
||||||
|
*/
|
||||||
|
public findCall (callIndex: Uint8Array | string): CallFunction {
|
||||||
|
return findCall(this.registry, callIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description Finds the definition for a specific [[RegistryError]] based on the index supplied
|
||||||
|
*/
|
||||||
|
public findError (errorIndex: Uint8Array | string): RegistryError {
|
||||||
|
return findError(this.registry, errorIndex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import { firstValueFrom, map, of, switchMap } from 'rxjs';
|
|||||||
|
|
||||||
import { Metadata, TypeRegistry } from '@polkadot/types';
|
import { Metadata, TypeRegistry } from '@polkadot/types';
|
||||||
import { getSpecAlias, getSpecExtensions, getSpecHasher, getSpecRpc, getSpecTypes, getUpgradeVersion } from '@polkadot/types-known';
|
import { getSpecAlias, getSpecExtensions, getSpecHasher, getSpecRpc, getSpecTypes, getUpgradeVersion } from '@polkadot/types-known';
|
||||||
import { assert, BN_ZERO, logger, stringify, u8aEq, u8aToHex, u8aToU8a } from '@polkadot/util';
|
import { assert, BN_ZERO, isUndefined, logger, stringify, u8aEq, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||||
import { cryptoWaitReady } from '@polkadot/util-crypto';
|
import { cryptoWaitReady } from '@polkadot/util-crypto';
|
||||||
|
|
||||||
import { detectedCapabilities } from './capabilities';
|
import { detectedCapabilities } from './capabilities';
|
||||||
@@ -31,6 +31,8 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
|
|||||||
|
|
||||||
#updateSub?: Subscription | null = null;
|
#updateSub?: Subscription | null = null;
|
||||||
|
|
||||||
|
#waitingRegistries: Record<string, Promise<VersionedRegistry<ApiType>>> = {};
|
||||||
|
|
||||||
constructor (options: ApiOptions, type: ApiTypes, decorateMethod: DecorateMethod<ApiType>) {
|
constructor (options: ApiOptions, type: ApiTypes, decorateMethod: DecorateMethod<ApiType>) {
|
||||||
super(options, type, decorateMethod);
|
super(options, type, decorateMethod);
|
||||||
|
|
||||||
@@ -118,18 +120,7 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
|
|||||||
return this._createDecorated(registry, true, u8aHash).decoratedApi;
|
return this._createDecorated(registry, true, u8aHash).decoratedApi;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
private async _getBlockRegistry (blockHash: Uint8Array): Promise<VersionedRegistry<ApiType>> {
|
||||||
* @description Sets up a registry based on the block hash defined
|
|
||||||
*/
|
|
||||||
public async getBlockRegistry (blockHash: Uint8Array): Promise<VersionedRegistry<ApiType>> {
|
|
||||||
const existingViaHash = this.#registries.find(({ lastBlockHash }) =>
|
|
||||||
lastBlockHash && u8aEq(lastBlockHash, blockHash)
|
|
||||||
);
|
|
||||||
|
|
||||||
if (existingViaHash) {
|
|
||||||
return existingViaHash;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ensure we have everything required
|
// ensure we have everything required
|
||||||
assert(this._genesisHash && this._runtimeVersion, 'Cannot retrieve data on an uninitialized chain');
|
assert(this._genesisHash && this._runtimeVersion, 'Cannot retrieve data on an uninitialized chain');
|
||||||
|
|
||||||
@@ -177,12 +168,39 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
|
|||||||
|
|
||||||
this.#registries.push(result);
|
this.#registries.push(result);
|
||||||
|
|
||||||
// TODO This could be useful for historic, disabled due to cross-looping, i.e. .at queries
|
|
||||||
// this._detectCapabilities(registry, blockHash);
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description Sets up a registry based on the block hash defined
|
||||||
|
*/
|
||||||
|
public async getBlockRegistry (blockHash: Uint8Array): Promise<VersionedRegistry<ApiType>> {
|
||||||
|
const existingViaHash = this.#registries.find(({ lastBlockHash }) =>
|
||||||
|
lastBlockHash && u8aEq(lastBlockHash, blockHash)
|
||||||
|
);
|
||||||
|
|
||||||
|
if (existingViaHash) {
|
||||||
|
return existingViaHash;
|
||||||
|
}
|
||||||
|
|
||||||
|
const blockHashHex = u8aToHex(blockHash);
|
||||||
|
let waiting = this.#waitingRegistries[blockHashHex];
|
||||||
|
|
||||||
|
if (isUndefined(waiting)) {
|
||||||
|
waiting = this._getBlockRegistry(blockHash);
|
||||||
|
this.#waitingRegistries[blockHashHex] = waiting;
|
||||||
|
|
||||||
|
// when we have resolved, remove this from the waiting list
|
||||||
|
waiting
|
||||||
|
.then((): void => {
|
||||||
|
delete this.#waitingRegistries[blockHashHex];
|
||||||
|
})
|
||||||
|
.catch(() => undefined);
|
||||||
|
}
|
||||||
|
|
||||||
|
return waiting;
|
||||||
|
}
|
||||||
|
|
||||||
protected async _loadMeta (): Promise<boolean> {
|
protected async _loadMeta (): Promise<boolean> {
|
||||||
// on re-connection to the same chain, we don't want to re-do everything from chain again
|
// on re-connection to the same chain, we don't want to re-do everything from chain again
|
||||||
if (this._isReady) {
|
if (this._isReady) {
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
// Copyright 2017-2021 @polkadot/api authors & contributors
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
import type { CallFunction, Registry, RegistryError } from '@polkadot/types/types';
|
||||||
|
|
||||||
|
import { u8aToU8a } from '@polkadot/util';
|
||||||
|
|
||||||
|
export function findCall (registry: Registry, callIndex: Uint8Array | string): CallFunction {
|
||||||
|
return registry.findMetaCall(u8aToU8a(callIndex));
|
||||||
|
}
|
||||||
|
|
||||||
|
export function findError (registry: Registry, errorIndex: Uint8Array | string): RegistryError {
|
||||||
|
return registry.findMetaError(u8aToU8a(errorIndex));
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
// Copyright 2017-2021 @polkadot/api authors & contributors
|
// Copyright 2017-2021 @polkadot/api authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import type { CallFunction, RegistryError, SignerPayloadRawBase } from '@polkadot/types/types';
|
import type { SignerPayloadRawBase } from '@polkadot/types/types';
|
||||||
import type { ApiOptions, ApiTypes, DecorateMethod, Signer } from '../types';
|
import type { ApiOptions, ApiTypes, DecorateMethod, Signer } from '../types';
|
||||||
|
|
||||||
import { assert, isString, u8aToHex, u8aToU8a } from '@polkadot/util';
|
import { assert, isString, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||||
@@ -55,20 +55,6 @@ export abstract class ApiBase<ApiType extends ApiTypes> extends Getters<ApiType>
|
|||||||
return this._rpcCore.disconnect();
|
return this._rpcCore.disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @description Finds the definition for a specific [[CallFunction]] based on the index supplied
|
|
||||||
*/
|
|
||||||
public findCall (callIndex: Uint8Array | string): CallFunction {
|
|
||||||
return this.registry.findMetaCall(u8aToU8a(callIndex));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @description Finds the definition for a specific [[RegistryError]] based on the index supplied
|
|
||||||
*/
|
|
||||||
public findError (errorIndex: Uint8Array | string): RegistryError {
|
|
||||||
return this.registry.findMetaError(u8aToU8a(errorIndex));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Set an external signer which will be used to sign extrinsic when account passed in is not KeyringPair
|
* @description Set an external signer which will be used to sign extrinsic when account passed in is not KeyringPair
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -80,11 +80,11 @@ async function query (api: ApiPromise, pairs: TestKeyringMap): Promise<void> {
|
|||||||
const bal2 = await api.query.balances.totalIssuance('WRONG_ARG'); // bal2 is Codec (wrong args)
|
const bal2 = await api.query.balances.totalIssuance('WRONG_ARG'); // bal2 is Codec (wrong args)
|
||||||
const override = await api.query.balances.totalIssuance<Header>(); // override is still available
|
const override = await api.query.balances.totalIssuance<Header>(); // override is still available
|
||||||
const oldBal = await api.query.balances.totalIssuance.at('abcd');
|
const oldBal = await api.query.balances.totalIssuance.at('abcd');
|
||||||
// It's hard to correctly type .multi. Expected: `Balance[]`, actual: Codec[].
|
// For older queries we can cast with `<Balance>` (newer chain have multi typed)
|
||||||
// In the meantime, we can case with `<Balance>` (this is not available on recent chains)
|
const multia = await api.query.balances.freeBalance.multi<Balance>([pairs.alice.address, pairs.bob.address]);
|
||||||
const multi = await api.query.balances.freeBalance.multi([pairs.alice.address, pairs.bob.address]);
|
const multib = await api.query.system.account.multi([pairs.alice.address, pairs.bob.address]);
|
||||||
|
|
||||||
console.log('query types:', bar, bal, bal2, override, oldBal, multi);
|
console.log('query types:', bar, bal, bal2, override, oldBal, multia, multib);
|
||||||
|
|
||||||
// check multi for unsub
|
// check multi for unsub
|
||||||
const multiUnsub = await api.queryMulti([
|
const multiUnsub = await api.queryMulti([
|
||||||
@@ -104,6 +104,16 @@ async function query (api: ApiPromise, pairs: TestKeyringMap): Promise<void> {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
console.log(multiRes);
|
console.log(multiRes);
|
||||||
|
|
||||||
|
// check multi, via at
|
||||||
|
const apiAt = await api.at('0x12345678');
|
||||||
|
const multiResAt = await apiAt.queryMulti([
|
||||||
|
api.query.timestamp.now,
|
||||||
|
[apiAt.query.staking.validators],
|
||||||
|
[apiAt.query.system.account, pairs.eve.address]
|
||||||
|
]);
|
||||||
|
|
||||||
|
console.log(multiResAt);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function queryExtra (api: ApiPromise, pairs: TestKeyringMap): Promise<void> {
|
async function queryExtra (api: ApiPromise, pairs: TestKeyringMap): Promise<void> {
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/api', version: '6.3.1' };
|
||||||
|
|||||||
@@ -4,13 +4,14 @@
|
|||||||
// Augment the modules
|
// Augment the modules
|
||||||
import '@polkadot/api/augment';
|
import '@polkadot/api/augment';
|
||||||
|
|
||||||
|
import type { Observable } from 'rxjs';
|
||||||
import type { DeriveCustom, ExactDerive } from '@polkadot/api-derive';
|
import type { DeriveCustom, ExactDerive } from '@polkadot/api-derive';
|
||||||
import type { RpcInterface } from '@polkadot/rpc-core/types';
|
import type { RpcInterface } from '@polkadot/rpc-core/types';
|
||||||
import type { ProviderInterface, ProviderInterfaceEmitted } from '@polkadot/rpc-provider/types';
|
import type { ProviderInterface, ProviderInterfaceEmitted } from '@polkadot/rpc-provider/types';
|
||||||
import type { ExtDef } from '@polkadot/types/extrinsic/signedExtensions/types';
|
import type { ExtDef } from '@polkadot/types/extrinsic/signedExtensions/types';
|
||||||
import type { Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
import type { Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
||||||
import type { Metadata } from '@polkadot/types/metadata';
|
import type { Metadata } from '@polkadot/types/metadata';
|
||||||
import type { DefinitionRpc, DefinitionRpcSub, RegisteredTypes, Registry, SignatureOptions, Signer } from '@polkadot/types/types';
|
import type { CallFunction, DefinitionRpc, DefinitionRpcSub, RegisteredTypes, Registry, RegistryError, SignatureOptions, Signer } from '@polkadot/types/types';
|
||||||
import type { BN } from '@polkadot/util';
|
import type { BN } from '@polkadot/util';
|
||||||
import type { ApiBase } from '../base';
|
import type { ApiBase } from '../base';
|
||||||
import type { DeriveAllSections } from '../util/decorate';
|
import type { DeriveAllSections } from '../util/decorate';
|
||||||
@@ -94,6 +95,7 @@ export interface ApiInterfaceRx {
|
|||||||
runtimeMetadata: Metadata;
|
runtimeMetadata: Metadata;
|
||||||
runtimeVersion: RuntimeVersion;
|
runtimeVersion: RuntimeVersion;
|
||||||
query: QueryableStorage<'rxjs'>;
|
query: QueryableStorage<'rxjs'>;
|
||||||
|
queryAt: (blockHash: Uint8Array | string) => Observable<QueryableStorage<'rxjs'>>;
|
||||||
queryMulti: QueryableStorageMulti<'rxjs'>;
|
queryMulti: QueryableStorageMulti<'rxjs'>;
|
||||||
rpc: DecoratedRpc<'rxjs', RpcInterface>;
|
rpc: DecoratedRpc<'rxjs', RpcInterface>;
|
||||||
tx: SubmittableExtrinsics<'rxjs'>;
|
tx: SubmittableExtrinsics<'rxjs'>;
|
||||||
@@ -116,4 +118,8 @@ export interface ApiDecoration<ApiType extends ApiTypes> {
|
|||||||
rx: {
|
rx: {
|
||||||
query: QueryableStorage<'rxjs'>;
|
query: QueryableStorage<'rxjs'>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
findCall (callIndex: Uint8Array | string): CallFunction;
|
||||||
|
findError (errorIndex: Uint8Array | string): RegistryError;
|
||||||
|
queryMulti: QueryableStorageMulti<ApiType>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export interface StorageEntryPromiseOverloadsAt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This is the most generic typings we can have for a storage entry function
|
// This is the most generic typings we can have for a storage entry function
|
||||||
type GenericStorageEntryFunction = (...args: unknown[]) => Observable<Codec>
|
export type GenericStorageEntryFunction = (...args: unknown[]) => Observable<Codec>
|
||||||
|
|
||||||
export type QueryableStorageEntry<ApiType extends ApiTypes, A extends AnyTuple = AnyTuple> =
|
export type QueryableStorageEntry<ApiType extends ApiTypes, A extends AnyTuple = AnyTuple> =
|
||||||
ApiType extends 'rxjs'
|
ApiType extends 'rxjs'
|
||||||
@@ -59,14 +59,28 @@ export interface QueryableStorageAt<ApiType extends ApiTypes> extends AugmentedQ
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface StorageEntryBase<ApiType extends ApiTypes, F extends AnyFunction, A extends AnyTuple = AnyTuple> extends StorageEntryBaseAt<ApiType, F, A> {
|
export interface StorageEntryBase<ApiType extends ApiTypes, F extends AnyFunction, A extends AnyTuple = AnyTuple> extends StorageEntryBaseAt<ApiType, F, A> {
|
||||||
|
/**
|
||||||
|
* @deprecated Use api.at(<blockHash>)
|
||||||
|
*/
|
||||||
at: <T extends Codec | any = ReturnCodec<F>>(hash: Hash | Uint8Array | string, ...args: Parameters<F>) => PromiseOrObs<ApiType, T>;
|
at: <T extends Codec | any = ReturnCodec<F>>(hash: Hash | Uint8Array | string, ...args: Parameters<F>) => PromiseOrObs<ApiType, T>;
|
||||||
creator: StorageEntry;
|
creator: StorageEntry;
|
||||||
|
/**
|
||||||
|
* @deprecated Use api.at(<blockHash>)
|
||||||
|
*/
|
||||||
entriesAt: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(hash: Hash | Uint8Array | string, ...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>;
|
entriesAt: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(hash: Hash | Uint8Array | string, ...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>;
|
||||||
entriesPaged: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>;
|
entriesPaged: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>;
|
||||||
|
/**
|
||||||
|
* @deprecated Use api.at(<blockHash>)
|
||||||
|
*/
|
||||||
keysAt: <K extends AnyTuple = A> (hash: Hash | Uint8Array | string, ...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, StorageKey<K>[]>;
|
keysAt: <K extends AnyTuple = A> (hash: Hash | Uint8Array | string, ...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, StorageKey<K>[]>;
|
||||||
keysPaged: <K extends AnyTuple = A> (opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, StorageKey<K>[]>;
|
keysPaged: <K extends AnyTuple = A> (opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, StorageKey<K>[]>;
|
||||||
// @deprecated The underlying RPC this been marked unsafe and is generally not exposed
|
/**
|
||||||
|
* @deprecated The underlying RPC this been marked unsafe and is generally not exposed
|
||||||
|
*/
|
||||||
range: <T extends Codec | any = ReturnCodec<F>>([from, to]: [Hash | Uint8Array | string, Hash | Uint8Array | string | undefined] | [Hash | Uint8Array | string], ...args: Parameters<F>) => PromiseOrObs<ApiType, [Hash, T][]>;
|
range: <T extends Codec | any = ReturnCodec<F>>([from, to]: [Hash | Uint8Array | string, Hash | Uint8Array | string | undefined] | [Hash | Uint8Array | string], ...args: Parameters<F>) => PromiseOrObs<ApiType, [Hash, T][]>;
|
||||||
|
/**
|
||||||
|
* @deprecated Use api.at(<blockHash>)
|
||||||
|
*/
|
||||||
sizeAt: (hash: Hash | Uint8Array | string, ...args: Parameters<F>) => PromiseOrObs<ApiType, u64>;
|
sizeAt: (hash: Hash | Uint8Array | string, ...args: Parameters<F>) => PromiseOrObs<ApiType, u64>;
|
||||||
multi: ApiType extends 'rxjs'
|
multi: ApiType extends 'rxjs'
|
||||||
? StorageEntryObservableMulti<ReturnCodec<F>>
|
? StorageEntryObservableMulti<ReturnCodec<F>>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/rpc-core",
|
"name": "@polkadot/rpc-core",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,10 +20,10 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/rpc-provider": "6.2.1",
|
"@polkadot/rpc-provider": "6.3.1",
|
||||||
"@polkadot/types": "6.2.1",
|
"@polkadot/types": "6.3.1",
|
||||||
"@polkadot/util": "^7.4.1",
|
"@polkadot/util": "^7.4.1",
|
||||||
"rxjs": "^7.3.0"
|
"rxjs": "^7.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^7.4.1"
|
"@polkadot/keyring": "^7.4.1"
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-core', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/rpc-core', version: '6.3.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/rpc-provider",
|
"name": "@polkadot/rpc-provider",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Transport providers for the API",
|
"description": "Transport providers for the API",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/types": "6.2.1",
|
"@polkadot/types": "6.3.1",
|
||||||
"@polkadot/util": "^7.4.1",
|
"@polkadot/util": "^7.4.1",
|
||||||
"@polkadot/util-crypto": "^7.4.1",
|
"@polkadot/util-crypto": "^7.4.1",
|
||||||
"@polkadot/x-fetch": "^7.4.1",
|
"@polkadot/x-fetch": "^7.4.1",
|
||||||
@@ -30,8 +30,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^7.4.1",
|
"@polkadot/keyring": "^7.4.1",
|
||||||
"@polkadot/types": "6.2.1",
|
"@polkadot/types": "6.3.1",
|
||||||
"mock-socket": "^9.0.3",
|
"mock-socket": "^9.0.5",
|
||||||
"nock": "^13.1.3"
|
"nock": "^13.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-provider', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/rpc-provider', version: '6.3.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/typegen",
|
"name": "@polkadot/typegen",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Type generation scripts",
|
"description": "Type generation scripts",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -26,13 +26,13 @@
|
|||||||
"bugs": "https://github.com/polkadot-js/api/issues",
|
"bugs": "https://github.com/polkadot-js/api/issues",
|
||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.15.5",
|
"@babel/core": "^7.15.8",
|
||||||
"@babel/register": "^7.15.3",
|
"@babel/register": "^7.15.3",
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/api": "6.2.1",
|
"@polkadot/api": "6.3.1",
|
||||||
"@polkadot/rpc-provider": "6.2.1",
|
"@polkadot/rpc-provider": "6.3.1",
|
||||||
"@polkadot/types": "6.2.1",
|
"@polkadot/types": "6.3.1",
|
||||||
"@polkadot/types-support": "6.2.1",
|
"@polkadot/types-support": "6.3.1",
|
||||||
"@polkadot/util": "^7.4.1",
|
"@polkadot/util": "^7.4.1",
|
||||||
"handlebars": "^4.7.7",
|
"handlebars": "^4.7.7",
|
||||||
"websocket": "^1.0.34",
|
"websocket": "^1.0.34",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/typegen', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/typegen', version: '6.3.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/types-known",
|
"name": "@polkadot/types-known",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Known type definitions",
|
"description": "Known type definitions",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/networks": "^7.4.1",
|
"@polkadot/networks": "^7.4.1",
|
||||||
"@polkadot/types": "6.2.1",
|
"@polkadot/types": "6.3.1",
|
||||||
"@polkadot/util": "^7.4.1"
|
"@polkadot/util": "^7.4.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-known', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/types-known', version: '6.3.1' };
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
import type { OverrideVersionedType } from '@polkadot/types/types';
|
import type { OverrideVersionedType } from '@polkadot/types/types';
|
||||||
|
|
||||||
|
import { mapXcm } from '@polkadot/types/interfaces/xcm/definitions';
|
||||||
|
|
||||||
const sharedTypes = {
|
const sharedTypes = {
|
||||||
CompactAssignments: 'CompactAssignmentsWith24',
|
CompactAssignments: 'CompactAssignmentsWith24',
|
||||||
RawSolution: 'RawSolutionWith24',
|
RawSolution: 'RawSolutionWith24',
|
||||||
@@ -191,15 +193,25 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minmax: [9010, undefined],
|
minmax: [9010, 9099],
|
||||||
types: {
|
types: {
|
||||||
...sharedTypes,
|
...sharedTypes,
|
||||||
AssetInstance: 'AssetInstanceV0',
|
...mapXcm('V0')
|
||||||
MultiAsset: 'MultiAssetV0',
|
}
|
||||||
MultiLocation: 'MultiLocationV0',
|
},
|
||||||
Response: 'ResponseV0',
|
{
|
||||||
Xcm: 'XcmV0',
|
// jump from 9100 to 9110, however align with Rococo
|
||||||
XcmOrder: 'XcmOrderV0'
|
minmax: [9100, 9105],
|
||||||
|
types: {
|
||||||
|
...sharedTypes,
|
||||||
|
...mapXcm('V1')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// metadata v14
|
||||||
|
minmax: [9106, undefined],
|
||||||
|
types: {
|
||||||
|
...sharedTypes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -74,7 +74,14 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minmax: [30, undefined],
|
minmax: [30, 9109],
|
||||||
|
types: {
|
||||||
|
...sharedTypes
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// metadata v14
|
||||||
|
minmax: [9110, undefined],
|
||||||
types: {
|
types: {
|
||||||
...sharedTypes
|
...sharedTypes
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
import type { OverrideVersionedType } from '@polkadot/types/types';
|
import type { OverrideVersionedType } from '@polkadot/types/types';
|
||||||
|
|
||||||
|
import { mapXcm } from '@polkadot/types/interfaces/xcm/definitions';
|
||||||
|
|
||||||
// structs need to be in order
|
// structs need to be in order
|
||||||
/* eslint-disable sort-keys */
|
/* eslint-disable sort-keys */
|
||||||
|
|
||||||
@@ -38,15 +40,24 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minmax: [229, undefined],
|
minmax: [229, 9099],
|
||||||
types: {
|
types: {
|
||||||
...sharedTypes,
|
...sharedTypes,
|
||||||
AssetInstance: 'AssetInstanceV0',
|
...mapXcm('V0')
|
||||||
MultiAsset: 'MultiAssetV0',
|
}
|
||||||
MultiLocation: 'MultiLocationV0',
|
},
|
||||||
Response: 'ResponseV0',
|
{
|
||||||
Xcm: 'XcmV0',
|
minmax: [9100, 9105],
|
||||||
XcmOrder: 'XcmOrderV0'
|
types: {
|
||||||
|
...sharedTypes,
|
||||||
|
...mapXcm('V1')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// metadata v14
|
||||||
|
minmax: [9106, undefined],
|
||||||
|
types: {
|
||||||
|
...sharedTypes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
import type { OverrideVersionedType } from '@polkadot/types/types';
|
import type { OverrideVersionedType } from '@polkadot/types/types';
|
||||||
|
|
||||||
|
import { mapXcm } from '@polkadot/types/interfaces/xcm/definitions';
|
||||||
|
|
||||||
const sharedTypes = {
|
const sharedTypes = {
|
||||||
// 16 validators
|
// 16 validators
|
||||||
CompactAssignments: 'CompactAssignmentsWith16',
|
CompactAssignments: 'CompactAssignmentsWith16',
|
||||||
@@ -89,15 +91,24 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minmax: [50, undefined],
|
minmax: [50, 9099],
|
||||||
types: {
|
types: {
|
||||||
...sharedTypes,
|
...sharedTypes,
|
||||||
AssetInstance: 'AssetInstanceV0',
|
...mapXcm('V0')
|
||||||
MultiAsset: 'MultiAssetV0',
|
}
|
||||||
MultiLocation: 'MultiLocationV0',
|
},
|
||||||
Response: 'ResponseV0',
|
{
|
||||||
Xcm: 'XcmV0',
|
minmax: [9100, 9105],
|
||||||
XcmOrder: 'XcmOrderV0'
|
types: {
|
||||||
|
...sharedTypes,
|
||||||
|
...mapXcm('V1')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// metadata v14
|
||||||
|
minmax: [9106, undefined],
|
||||||
|
types: {
|
||||||
|
...sharedTypes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const upgrades: ChainUpgradesRaw = [
|
|||||||
[2549864, 45], [3925782, 46], [3925843, 47], [4207800, 48], [4627944, 49],
|
[2549864, 45], [3925782, 46], [3925843, 47], [4207800, 48], [4627944, 49],
|
||||||
[5124076, 50], [5478664, 900], [5482450, 9000], [5584305, 9010], [5784566, 9030],
|
[5124076, 50], [5478664, 900], [5482450, 9000], [5584305, 9010], [5784566, 9030],
|
||||||
[5879822, 9031], [5896856, 9032], [5897316, 9033], [6117927, 9050], [6210274, 9070],
|
[5879822, 9031], [5896856, 9032], [5897316, 9033], [6117927, 9050], [6210274, 9070],
|
||||||
[6379314, 9080], [6979141, 9090]
|
[6379314, 9080], [6979141, 9090], [7568453, 9100]
|
||||||
];
|
];
|
||||||
|
|
||||||
export default upgrades;
|
export default upgrades;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/types-support",
|
"name": "@polkadot/types-support",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Supporting files for types, mostly for testing",
|
"description": "Supporting files for types, mostly for testing",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -888,6 +888,34 @@
|
|||||||
" The fee to be paid for making a transaction; the per-byte portion."
|
" The fee to be paid for making a transaction; the per-byte portion."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "OperationalFeeMultiplier",
|
||||||
|
"type": 2,
|
||||||
|
"value": "0x05",
|
||||||
|
"docs": [
|
||||||
|
" A fee mulitplier for `Operational` extrinsics to compute \"virtual tip\" to boost their",
|
||||||
|
" `priority`",
|
||||||
|
"",
|
||||||
|
" This value is multipled by the `final_fee` to obtain a \"virtual tip\" that is later",
|
||||||
|
" added to a tip component in regular `priority` calculations.",
|
||||||
|
" It means that a `Normal` transaction can front-run a similarly-sized `Operational`",
|
||||||
|
" extrinsic (with no tip), by including a tip value greater than the virtual tip.",
|
||||||
|
"",
|
||||||
|
" ```rust,ignore",
|
||||||
|
" // For `Normal`",
|
||||||
|
" let priority = priority_calc(tip);",
|
||||||
|
"",
|
||||||
|
" // For `Operational`",
|
||||||
|
" let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;",
|
||||||
|
" let priority = priority_calc(tip + virtual_tip);",
|
||||||
|
" ```",
|
||||||
|
"",
|
||||||
|
" Note that since we use `final_fee` the multiplier applies also to the regular `tip`",
|
||||||
|
" sent with the transaction. So, not only does the transaction get a priority bump based",
|
||||||
|
" on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`",
|
||||||
|
" transactions."
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "WeightToFee",
|
"name": "WeightToFee",
|
||||||
"type": 331,
|
"type": 331,
|
||||||
@@ -1760,11 +1788,30 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "StorageVersion",
|
"name": "OffendingValidators",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 361
|
"plain": 361
|
||||||
},
|
},
|
||||||
|
"fallback": "0x00",
|
||||||
|
"docs": [
|
||||||
|
" Indices of validators that have offended in the active era and whether they are currently",
|
||||||
|
" disabled.",
|
||||||
|
"",
|
||||||
|
" This value should be a superset of disabled validators since not all offences lead to the",
|
||||||
|
" validator being disabled (if there was no slash). This is needed to track the percentage of",
|
||||||
|
" validators that have offended in the current era, ensuring a new era is forced if",
|
||||||
|
" `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find",
|
||||||
|
" whether a given validator has previously offended using binary search. It gets cleared when",
|
||||||
|
" the era ends."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "StorageVersion",
|
||||||
|
"modifier": "Default",
|
||||||
|
"type": {
|
||||||
|
"plain": 363
|
||||||
|
},
|
||||||
"fallback": "0x07",
|
"fallback": "0x07",
|
||||||
"docs": [
|
"docs": [
|
||||||
" True if network has been upgraded to this version.",
|
" True if network has been upgraded to this version.",
|
||||||
@@ -1841,7 +1888,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 362
|
"type": 364
|
||||||
},
|
},
|
||||||
"index": 9
|
"index": 9
|
||||||
},
|
},
|
||||||
@@ -1888,7 +1935,7 @@
|
|||||||
"name": "QueuedKeys",
|
"name": "QueuedKeys",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 363
|
"plain": 365
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1906,7 +1953,9 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" Indices of disabled validators.",
|
" Indices of disabled validators.",
|
||||||
"",
|
"",
|
||||||
" The set is cleared when `on_session_ending` returns a new set of identities."
|
" The vec is always kept sorted so that we can find whether a given validator is",
|
||||||
|
" disabled using binary search. It gets cleared when `on_session_ending` returns",
|
||||||
|
" a new set of identities."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1934,7 +1983,7 @@
|
|||||||
"hashers": [
|
"hashers": [
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 365,
|
"key": 367,
|
||||||
"value": 0
|
"value": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1953,7 +2002,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 367
|
"type": 369
|
||||||
},
|
},
|
||||||
"index": 10
|
"index": 10
|
||||||
},
|
},
|
||||||
@@ -1977,7 +2026,7 @@
|
|||||||
"name": "PublicProps",
|
"name": "PublicProps",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 368
|
"plain": 370
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1993,7 +2042,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 370
|
"value": 372
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2012,7 +2061,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 371
|
"value": 373
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2053,7 +2102,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 372
|
"value": 374
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2072,7 +2121,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 375
|
"value": 377
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
@@ -2119,7 +2168,7 @@
|
|||||||
"name": "NextExternal",
|
"name": "NextExternal",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 380
|
"plain": 382
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2138,7 +2187,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 381
|
"value": 383
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2168,7 +2217,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 382
|
"plain": 384
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2288,7 +2337,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 383
|
"type": 385
|
||||||
},
|
},
|
||||||
"index": 11
|
"index": 11
|
||||||
},
|
},
|
||||||
@@ -2301,7 +2350,7 @@
|
|||||||
"name": "Proposals",
|
"name": "Proposals",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 384
|
"plain": 386
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2334,7 +2383,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 385
|
"value": 387
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2385,7 +2434,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 386
|
"type": 388
|
||||||
},
|
},
|
||||||
"index": 12
|
"index": 12
|
||||||
},
|
},
|
||||||
@@ -2398,7 +2447,7 @@
|
|||||||
"name": "Proposals",
|
"name": "Proposals",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 387
|
"plain": 389
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2431,7 +2480,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 385
|
"value": 387
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2482,7 +2531,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 388
|
"type": 390
|
||||||
},
|
},
|
||||||
"index": 13
|
"index": 13
|
||||||
},
|
},
|
||||||
@@ -2495,7 +2544,7 @@
|
|||||||
"name": "Members",
|
"name": "Members",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 389
|
"plain": 391
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2508,7 +2557,7 @@
|
|||||||
"name": "RunnersUp",
|
"name": "RunnersUp",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 389
|
"plain": 391
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2554,7 +2603,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 391
|
"value": 393
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000",
|
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
@@ -2636,7 +2685,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 392
|
"type": 394
|
||||||
},
|
},
|
||||||
"index": 14
|
"index": 14
|
||||||
},
|
},
|
||||||
@@ -2677,7 +2726,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 393
|
"type": 395
|
||||||
},
|
},
|
||||||
"index": 15
|
"index": 15
|
||||||
},
|
},
|
||||||
@@ -2690,7 +2739,7 @@
|
|||||||
"name": "State",
|
"name": "State",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 394
|
"plain": 396
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2701,7 +2750,7 @@
|
|||||||
"name": "PendingChange",
|
"name": "PendingChange",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 395
|
"plain": 397
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2781,7 +2830,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 397
|
"type": 399
|
||||||
},
|
},
|
||||||
"index": 16
|
"index": 16
|
||||||
},
|
},
|
||||||
@@ -2810,7 +2859,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 398
|
"value": 400
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2822,7 +2871,7 @@
|
|||||||
"name": "Approvals",
|
"name": "Approvals",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 399
|
"plain": 401
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2840,7 +2889,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "ProposalBond",
|
"name": "ProposalBond",
|
||||||
"type": 400,
|
"type": 402,
|
||||||
"value": "0x50c30000",
|
"value": "0x50c30000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Fraction of a proposal's value that should be bonded in order to place the proposal.",
|
" Fraction of a proposal's value that should be bonded in order to place the proposal.",
|
||||||
@@ -2865,7 +2914,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Burn",
|
"name": "Burn",
|
||||||
"type": 400,
|
"type": 402,
|
||||||
"value": "0x20a10700",
|
"value": "0x20a10700",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Percentage of spare funds (if any) that are burnt per spend period."
|
" Percentage of spare funds (if any) that are burnt per spend period."
|
||||||
@@ -2873,7 +2922,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "PalletId",
|
"name": "PalletId",
|
||||||
"type": 401,
|
"type": 403,
|
||||||
"value": "0x70792f7472737279",
|
"value": "0x70792f7472737279",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The treasury's pallet id, used for deriving its sovereign account ID."
|
" The treasury's pallet id, used for deriving its sovereign account ID."
|
||||||
@@ -2889,7 +2938,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 402
|
"type": 404
|
||||||
},
|
},
|
||||||
"index": 17
|
"index": 17
|
||||||
},
|
},
|
||||||
@@ -2924,7 +2973,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 403
|
"value": 405
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2952,7 +3001,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 405
|
"value": 407
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -2966,7 +3015,7 @@
|
|||||||
"name": "DeletionQueue",
|
"name": "DeletionQueue",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 406
|
"plain": 408
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2987,7 +3036,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "Schedule",
|
"name": "Schedule",
|
||||||
"type": 408,
|
"type": 410,
|
||||||
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000a4150000f03200004a3d0000280f0000ce220000f4150000180b0000521c00000000000046c10200a8030400c80f000000050000c0080000000000009a15000052170000241300009b684a028e1200008e1200008e1200007012000000000000000000002a120000a410000086100000640f00001e0f0000b00e00005e100000ae10000072100000fe100000d61000006810000004100000d20f0000a6270000be1e000072290000141e0000d61000000e1000005a0f0000320f0000ae100000500f0000140f0000dc0f0000f425130000000000de3113000000000068f81200000000001a1e360000000000be38130000000000d616130000000000043e1300000000005411130000000000281a13000000000040572c000000000018ad0800000000001a531000000000007301000000000000d8f563000000000068020000000000000072a4200000000038093c0000000000aa696900000000007e4ebd07000000005306000000000000d81c0b0000000000fc4b1b0600000000bf02000000000000001e180600000000faf6d001000000004704000000000000caeb080a000000007a612d1f000000005aced709000000006c02000000000000e0030000000000002ef30132000000006b02000000000000d703000000000000b1070000000000005e6a1400000000000b1300000000000040781500000000003c0d0000000000005855110000000000420600000000000012461100000000004206000000000000c22a500900000000",
|
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000a4150000f03200004a3d0000280f0000ce220000f4150000180b0000521c00000000000046c10200a8030400c80f000000050000c0080000000000009a15000052170000241300009b684a028e1200008e1200008e1200007012000000000000000000002a120000a410000086100000640f00001e0f0000b00e00005e100000ae10000072100000fe100000d61000006810000004100000d20f0000a6270000be1e000072290000141e0000d61000000e1000005a0f0000320f0000ae100000500f0000140f0000dc0f0000f425130000000000de3113000000000068f81200000000001a1e360000000000be38130000000000d616130000000000043e1300000000005411130000000000281a13000000000040572c000000000018ad0800000000001a531000000000007301000000000000d8f563000000000068020000000000000072a4200000000038093c0000000000aa696900000000007e4ebd07000000005306000000000000d81c0b0000000000fc4b1b0600000000bf02000000000000001e180600000000faf6d001000000004704000000000000caeb080a000000007a612d1f000000005aced709000000006c02000000000000e0030000000000002ef30132000000006b02000000000000d703000000000000b1070000000000005e6a1400000000000b1300000000000040781500000000003c0d0000000000005855110000000000420600000000000012461100000000004206000000000000c22a500900000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Cost schedule and limits."
|
" Cost schedule and limits."
|
||||||
@@ -3022,7 +3071,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 412
|
"type": 414
|
||||||
},
|
},
|
||||||
"index": 18
|
"index": 18
|
||||||
},
|
},
|
||||||
@@ -3052,7 +3101,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 413
|
"type": 415
|
||||||
},
|
},
|
||||||
"index": 19
|
"index": 19
|
||||||
},
|
},
|
||||||
@@ -3086,7 +3135,7 @@
|
|||||||
"name": "Keys",
|
"name": "Keys",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 414
|
"plain": 416
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3103,12 +3152,12 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 73,
|
"key": 73,
|
||||||
"value": 416
|
"value": 418
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" For each session index, we keep a mapping of 'SessionIndex` and `AuthIndex` to",
|
" For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to",
|
||||||
" `WrapperOpaque<BoundedOpaqueNetworkState>`."
|
" `WrapperOpaque<BoundedOpaqueNetworkState>`."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -3153,7 +3202,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 421
|
"type": 423
|
||||||
},
|
},
|
||||||
"index": 20
|
"index": 20
|
||||||
},
|
},
|
||||||
@@ -3180,7 +3229,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 422
|
"value": 424
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3197,7 +3246,7 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 423,
|
"key": 425,
|
||||||
"value": 95
|
"value": 95
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3287,7 +3336,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 424
|
"value": 426
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3324,7 +3373,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 428
|
"value": 430
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000000000000000000000000000",
|
"fallback": "0x0000000000000000000000000000000000",
|
||||||
@@ -3340,7 +3389,7 @@
|
|||||||
"name": "Registrars",
|
"name": "Registrars",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 430
|
"plain": 432
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3413,7 +3462,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 434
|
"type": 436
|
||||||
},
|
},
|
||||||
"index": 25
|
"index": 25
|
||||||
},
|
},
|
||||||
@@ -3449,7 +3498,7 @@
|
|||||||
"name": "Candidates",
|
"name": "Candidates",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 435
|
"plain": 437
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3465,7 +3514,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 438
|
"value": 440
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3527,7 +3576,7 @@
|
|||||||
"name": "Bids",
|
"name": "Bids",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 435
|
"plain": 437
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3543,7 +3592,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 439
|
"value": 441
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3560,7 +3609,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 440
|
"value": 442
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3594,8 +3643,8 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 442,
|
"key": 444,
|
||||||
"value": 443
|
"value": 445
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3623,7 +3672,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 443
|
"value": 445
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3653,7 +3702,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "PalletId",
|
"name": "PalletId",
|
||||||
"type": 401,
|
"type": 403,
|
||||||
"value": "0x70792f736f636965",
|
"value": "0x70792f736f636965",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The societies's pallet id"
|
" The societies's pallet id"
|
||||||
@@ -3727,7 +3776,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 444
|
"type": 446
|
||||||
},
|
},
|
||||||
"index": 26
|
"index": 26
|
||||||
},
|
},
|
||||||
@@ -3745,7 +3794,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 445
|
"value": 447
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3762,8 +3811,8 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 442,
|
"key": 444,
|
||||||
"value": 446
|
"value": 448
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3849,7 +3898,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 447
|
"type": 449
|
||||||
},
|
},
|
||||||
"index": 27
|
"index": 27
|
||||||
},
|
},
|
||||||
@@ -3867,7 +3916,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 448
|
"value": 450
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3879,7 +3928,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 450
|
"plain": 452
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3913,7 +3962,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 451
|
"type": 453
|
||||||
},
|
},
|
||||||
"index": 28
|
"index": 28
|
||||||
},
|
},
|
||||||
@@ -3931,7 +3980,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 452
|
"value": 454
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3960,7 +4009,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 460
|
"plain": 462
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -3998,7 +4047,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 461
|
"type": 463
|
||||||
},
|
},
|
||||||
"index": 29
|
"index": 29
|
||||||
},
|
},
|
||||||
@@ -4016,7 +4065,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 462
|
"value": 464
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000000000000000000000000000",
|
"fallback": "0x0000000000000000000000000000000000",
|
||||||
@@ -4034,7 +4083,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 466
|
"value": 468
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000000000000000000000000000",
|
"fallback": "0x0000000000000000000000000000000000",
|
||||||
@@ -4114,7 +4163,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 470
|
"type": 472
|
||||||
},
|
},
|
||||||
"index": 30
|
"index": 30
|
||||||
},
|
},
|
||||||
@@ -4132,8 +4181,8 @@
|
|||||||
"Twox64Concat",
|
"Twox64Concat",
|
||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 471,
|
"key": 473,
|
||||||
"value": 472
|
"value": 474
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4150,7 +4199,7 @@
|
|||||||
"Identity"
|
"Identity"
|
||||||
],
|
],
|
||||||
"key": 1,
|
"key": 1,
|
||||||
"value": 473
|
"value": 475
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4198,7 +4247,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 474
|
"type": 476
|
||||||
},
|
},
|
||||||
"index": 31
|
"index": 31
|
||||||
},
|
},
|
||||||
@@ -4227,7 +4276,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 475
|
"value": 477
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4298,7 +4347,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BountyCuratorDeposit",
|
"name": "BountyCuratorDeposit",
|
||||||
"type": 400,
|
"type": 402,
|
||||||
"value": "0x20a10700",
|
"value": "0x20a10700",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Percentage of the curator fee that will be reserved upfront as deposit for bounty",
|
" Percentage of the curator fee that will be reserved upfront as deposit for bounty",
|
||||||
@@ -4331,7 +4380,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 477
|
"type": 479
|
||||||
},
|
},
|
||||||
"index": 32
|
"index": 32
|
||||||
},
|
},
|
||||||
@@ -4349,7 +4398,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 9,
|
"key": 9,
|
||||||
"value": 478
|
"value": 480
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4428,7 +4477,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 479
|
"type": 481
|
||||||
},
|
},
|
||||||
"index": 33
|
"index": 33
|
||||||
},
|
},
|
||||||
@@ -4446,7 +4495,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 480
|
"value": 482
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4464,7 +4513,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 350,
|
"key": 350,
|
||||||
"value": 481
|
"value": 483
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00000000000000000000",
|
"fallback": "0x00000000000000000000",
|
||||||
@@ -4482,8 +4531,8 @@
|
|||||||
"Blake2_128Concat",
|
"Blake2_128Concat",
|
||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 482,
|
"key": 484,
|
||||||
"value": 483
|
"value": 485
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4502,7 +4551,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 484
|
"value": 486
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000000000000000000000000000000000",
|
"fallback": "0x0000000000000000000000000000000000000000",
|
||||||
@@ -4562,7 +4611,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 485
|
"type": 487
|
||||||
},
|
},
|
||||||
"index": 34
|
"index": 34
|
||||||
},
|
},
|
||||||
@@ -4639,7 +4688,7 @@
|
|||||||
"name": "Lottery",
|
"name": "Lottery",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 486
|
"plain": 488
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -4655,7 +4704,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 487
|
"value": 489
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000",
|
"fallback": "0x0000000000",
|
||||||
@@ -4698,7 +4747,7 @@
|
|||||||
"name": "CallIndices",
|
"name": "CallIndices",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 488
|
"plain": 490
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -4717,7 +4766,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "PalletId",
|
"name": "PalletId",
|
||||||
"type": 401,
|
"type": 403,
|
||||||
"value": "0x70792f6c6f74746f",
|
"value": "0x70792f6c6f74746f",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The Lottery's pallet id"
|
" The Lottery's pallet id"
|
||||||
@@ -4743,7 +4792,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 489
|
"type": 491
|
||||||
},
|
},
|
||||||
"index": 36
|
"index": 36
|
||||||
},
|
},
|
||||||
@@ -4756,7 +4805,7 @@
|
|||||||
"name": "QueueTotals",
|
"name": "QueueTotals",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 440
|
"plain": 442
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -4776,7 +4825,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 490
|
"value": 492
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4788,7 +4837,7 @@
|
|||||||
"name": "ActiveTotal",
|
"name": "ActiveTotal",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 492
|
"plain": 494
|
||||||
},
|
},
|
||||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000",
|
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -4804,7 +4853,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 493
|
"value": 495
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4821,15 +4870,6 @@
|
|||||||
"type": 85
|
"type": 85
|
||||||
},
|
},
|
||||||
"constants": [
|
"constants": [
|
||||||
{
|
|
||||||
"name": "IgnoredIssuance",
|
|
||||||
"type": 6,
|
|
||||||
"value": "0x00000000000000000000000000000000",
|
|
||||||
"docs": [
|
|
||||||
" The issuance to ignore. This is subtracted from the `Currency`'s `total_issuance` to get",
|
|
||||||
" the issuance by which we inflate or deflate the gilt."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "QueueCount",
|
"name": "QueueCount",
|
||||||
"type": 4,
|
"type": 4,
|
||||||
@@ -4903,7 +4943,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 494
|
"type": 496
|
||||||
},
|
},
|
||||||
"index": 37
|
"index": 37
|
||||||
},
|
},
|
||||||
@@ -4921,7 +4961,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 495
|
"value": 497
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4939,7 +4979,7 @@
|
|||||||
"Blake2_128Concat",
|
"Blake2_128Concat",
|
||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 496,
|
"key": 498,
|
||||||
"value": 42
|
"value": 42
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -4959,7 +4999,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 73,
|
"key": 73,
|
||||||
"value": 497
|
"value": 499
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4976,7 +5016,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 498
|
"value": 500
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -4994,7 +5034,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 73,
|
"key": 73,
|
||||||
"value": 499
|
"value": 501
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -5012,8 +5052,8 @@
|
|||||||
"Blake2_128Concat",
|
"Blake2_128Concat",
|
||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 500,
|
"key": 502,
|
||||||
"value": 501
|
"value": 503
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -5097,7 +5137,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 502
|
"type": 504
|
||||||
},
|
},
|
||||||
"index": 38
|
"index": 38
|
||||||
},
|
},
|
||||||
@@ -5115,7 +5155,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 503
|
"value": 505
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -5200,7 +5240,7 @@
|
|||||||
"name": "BlockTransactions",
|
"name": "BlockTransactions",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 503
|
"plain": 505
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": []
|
"docs": []
|
||||||
@@ -5226,7 +5266,7 @@
|
|||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 505
|
"type": 507
|
||||||
},
|
},
|
||||||
"index": 39
|
"index": 39
|
||||||
},
|
},
|
||||||
@@ -5255,7 +5295,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 506
|
"value": 508
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -5274,7 +5314,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 8,
|
"key": 8,
|
||||||
"value": 507
|
"value": 509
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -5295,7 +5335,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "BagThresholds",
|
"name": "BagThresholds",
|
||||||
"type": 508,
|
"type": 510,
|
||||||
"value": "0x210300407a10f35a00006a70ccd4a96000009ef3397fbc660000a907ccd5306d00003d9a67fb0c740000a9bfa275577b0000a6fdf73217830000034f5d91538b0000132445651494000078081001629d00000302f63c45a70000392e6f7fc7b10000f59c23c6f2bc00004ae76aafd1c80000598a64846fd50000129fb243d8e200003f22e1ac18f1000033a4844c3e000100e2e51b895710010076a2c0b0732101006789b407a3330100793ed8d7f646010078131b81815b01000c1cf38a567101004437eeb68a8801009eb56d1434a10100335e9f156abb010067c3c7a545d701003218f340e1f40100de0b230d59140200699c11f5ca350200ad50a2c4565902009ae41c471e7f0200d0244e6745a70200f984ad51f2d10200ace7a7984dff0200a118325b822f0300ffa4c76dbe620300580bfd8532990300a9afce6812d30300109ad81b95100400d9caa519f551040038df488970970400bee1727949e10400cc73401fc62f0500b304f91831830500828bffb4d9db05001235383d143a0600a5b42a473a9e060036662d09ab080700f73aeab4cb790700b87e93d707f20700ffec23c0d1710800b84b0beca2f90800c9dcae7afc89090091752ba867230a0064f1cd4f76c60a003609be76c3730b0078655fdff32b0c00a407f5a5b6ef0c0052f61be7c5bf0d00da71bb70e79c0e000de9127eed870f001477987fb7811000ebee65ef328b11001269fe325ca5120033f8428b3fd113008ba57a13fa0f15001b2b60d0ba6216000d1d37d0c3ca17006c64fa5c6b4919002622c7411de01a00045bb9245c901c00233d83f6c25b1e00c8771c79064420003013fddef64a2200aa8b6e848172240082c096c4b2bc260016a3faebb72b29008296524ae1c12b00a636a865a4812e00d0e2d4509e6d31009c0a9a2796883400e4faafb27fd53700e6e64d367e573b000e4bd66de7113f0088b17db746084300b07def72603e470034de249635b84b00d48bd57b077a5000d0bd20ef5b885500b8f0467801e85a0010f88aee139e60003892925301b066009c95e4fc8e236d00b4126d10dffe730028b43e5976487b00a08a1c7a42078300b09ab083a0428b002846b2f463029400c861a42ade4e9d0050d23d4ae630a700805101a7e1b1b10038e501b2ccdbbc002016527844b9c800388924ba9055d50070ca35a4aebce200805fb1355cfbf0008035685d241f0001a0c3dcd96b361001d07862e87e50210160e852d09f7d330190662c5816cf460110274c3340575b01804be277a22971013082b92dfc5a880180d276075a01a101b0f511592b34bb014031745f580cd701802f6cee59a4f40140ff799b521814026075607d2986350260fde999a60d590200e5e71c91d07e02c0df2575cff2a602a07fd975899ad102a067009d4cf0fe0220dc29a1321f2f0320ff526b0a5562038088caa383c29803e05683fb5c9bd203401dd75d9516100400317e39a06e5104c0b071129de1960480b48c9192b1e00480e8124aad242f05c007ca7082858205007c13c45623db0540836fe869523906c0700f81466c9d0640f09c5017d00707c0e624b301e37807c0332ac78510f10780074ca1e4ca700800d5a9eb8c8bf80800a849588ed3880900804254142c220a80a25170e826c50a00e8d5fafc5e720b801df64e00792a0c80d4fe64f923ee0c006dd038ee19be0d001e90a494209b0e0010bf570e0a860f00da6a9db0b57f1000bf64afd810891100bb5b60cd17a31200f963f3aed6ce1300d5f004766a0d1500e099770202601600103d663bdfc71700de3e2d4158461900ecdbadb2d8dc1a0045c70007e38c1c00b8bde0fc11581e00ba5c2a211a402000407de46dcb462200dea55b03136e2400aaf1f3fcfcb7260014226f63b62629006492803e8fbc2b008486a6c7fc7b2e002cf05fc09b673100da63f7ed32823400f0b13fbdb5ce3700f291c41047503b00422a1a3c3c0a3f002c24212f20004300ac9342d4b6354700cc6ed7a400af4b00c4d022773e70500020017d89f57d5500f86387cef3dc5a008c4c7f7e54926000206207f284a36600cc1e05cb49166d00b42a7a70c4f07300d43a90e278397b0038f461ec53f78200a07264b9b1318b0048c9b3d464f09300007fe998bd3b9d0010058f17921ca70000dfaf7f469cb100e80c880bd6c4bc0058bdcb7ddca0c80038d18d37a03bd50030d55bf01ca1e200704ac01a0fdef0ffffffffffffffff",
|
"value": "0x210300407a10f35a00006a70ccd4a96000009ef3397fbc660000a907ccd5306d00003d9a67fb0c740000a9bfa275577b0000a6fdf73217830000034f5d91538b0000132445651494000078081001629d00000302f63c45a70000392e6f7fc7b10000f59c23c6f2bc00004ae76aafd1c80000598a64846fd50000129fb243d8e200003f22e1ac18f1000033a4844c3e000100e2e51b895710010076a2c0b0732101006789b407a3330100793ed8d7f646010078131b81815b01000c1cf38a567101004437eeb68a8801009eb56d1434a10100335e9f156abb010067c3c7a545d701003218f340e1f40100de0b230d59140200699c11f5ca350200ad50a2c4565902009ae41c471e7f0200d0244e6745a70200f984ad51f2d10200ace7a7984dff0200a118325b822f0300ffa4c76dbe620300580bfd8532990300a9afce6812d30300109ad81b95100400d9caa519f551040038df488970970400bee1727949e10400cc73401fc62f0500b304f91831830500828bffb4d9db05001235383d143a0600a5b42a473a9e060036662d09ab080700f73aeab4cb790700b87e93d707f20700ffec23c0d1710800b84b0beca2f90800c9dcae7afc89090091752ba867230a0064f1cd4f76c60a003609be76c3730b0078655fdff32b0c00a407f5a5b6ef0c0052f61be7c5bf0d00da71bb70e79c0e000de9127eed870f001477987fb7811000ebee65ef328b11001269fe325ca5120033f8428b3fd113008ba57a13fa0f15001b2b60d0ba6216000d1d37d0c3ca17006c64fa5c6b4919002622c7411de01a00045bb9245c901c00233d83f6c25b1e00c8771c79064420003013fddef64a2200aa8b6e848172240082c096c4b2bc260016a3faebb72b29008296524ae1c12b00a636a865a4812e00d0e2d4509e6d31009c0a9a2796883400e4faafb27fd53700e6e64d367e573b000e4bd66de7113f0088b17db746084300b07def72603e470034de249635b84b00d48bd57b077a5000d0bd20ef5b885500b8f0467801e85a0010f88aee139e60003892925301b066009c95e4fc8e236d00b4126d10dffe730028b43e5976487b00a08a1c7a42078300b09ab083a0428b002846b2f463029400c861a42ade4e9d0050d23d4ae630a700805101a7e1b1b10038e501b2ccdbbc002016527844b9c800388924ba9055d50070ca35a4aebce200805fb1355cfbf0008035685d241f0001a0c3dcd96b361001d07862e87e50210160e852d09f7d330190662c5816cf460110274c3340575b01804be277a22971013082b92dfc5a880180d276075a01a101b0f511592b34bb014031745f580cd701802f6cee59a4f40140ff799b521814026075607d2986350260fde999a60d590200e5e71c91d07e02c0df2575cff2a602a07fd975899ad102a067009d4cf0fe0220dc29a1321f2f0320ff526b0a5562038088caa383c29803e05683fb5c9bd203401dd75d9516100400317e39a06e5104c0b071129de1960480b48c9192b1e00480e8124aad242f05c007ca7082858205007c13c45623db0540836fe869523906c0700f81466c9d0640f09c5017d00707c0e624b301e37807c0332ac78510f10780074ca1e4ca700800d5a9eb8c8bf80800a849588ed3880900804254142c220a80a25170e826c50a00e8d5fafc5e720b801df64e00792a0c80d4fe64f923ee0c006dd038ee19be0d001e90a494209b0e0010bf570e0a860f00da6a9db0b57f1000bf64afd810891100bb5b60cd17a31200f963f3aed6ce1300d5f004766a0d1500e099770202601600103d663bdfc71700de3e2d4158461900ecdbadb2d8dc1a0045c70007e38c1c00b8bde0fc11581e00ba5c2a211a402000407de46dcb462200dea55b03136e2400aaf1f3fcfcb7260014226f63b62629006492803e8fbc2b008486a6c7fc7b2e002cf05fc09b673100da63f7ed32823400f0b13fbdb5ce3700f291c41047503b00422a1a3c3c0a3f002c24212f20004300ac9342d4b6354700cc6ed7a400af4b00c4d022773e70500020017d89f57d5500f86387cef3dc5a008c4c7f7e54926000206207f284a36600cc1e05cb49166d00b42a7a70c4f07300d43a90e278397b0038f461ec53f78200a07264b9b1318b0048c9b3d464f09300007fe998bd3b9d0010058f17921ca70000dfaf7f469cb100e80c880bd6c4bc0058bdcb7ddca0c80038d18d37a03bd50030d55bf01ca1e200704ac01a0fdef0ffffffffffffffff",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The list of thresholds separating the various bags.",
|
" The list of thresholds separating the various bags.",
|
||||||
@@ -5349,42 +5389,42 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"extrinsic": {
|
"extrinsic": {
|
||||||
"type": 509,
|
"type": 511,
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"signedExtensions": [
|
"signedExtensions": [
|
||||||
{
|
{
|
||||||
"identifier": "CheckSpecVersion",
|
"identifier": "CheckSpecVersion",
|
||||||
"type": 514,
|
"type": 516,
|
||||||
"additionalSigned": 4
|
"additionalSigned": 4
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identifier": "CheckTxVersion",
|
"identifier": "CheckTxVersion",
|
||||||
"type": 515,
|
"type": 517,
|
||||||
"additionalSigned": 4
|
"additionalSigned": 4
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identifier": "CheckGenesis",
|
"identifier": "CheckGenesis",
|
||||||
"type": 516,
|
"type": 518,
|
||||||
"additionalSigned": 9
|
"additionalSigned": 9
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identifier": "CheckMortality",
|
"identifier": "CheckMortality",
|
||||||
"type": 517,
|
"type": 519,
|
||||||
"additionalSigned": 9
|
"additionalSigned": 9
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identifier": "CheckNonce",
|
"identifier": "CheckNonce",
|
||||||
"type": 519,
|
"type": 521,
|
||||||
"additionalSigned": 42
|
"additionalSigned": 42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identifier": "CheckWeight",
|
"identifier": "CheckWeight",
|
||||||
"type": 520,
|
"type": 522,
|
||||||
"additionalSigned": 42
|
"additionalSigned": 42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identifier": "ChargeTransactionPayment",
|
"identifier": "ChargeTransactionPayment",
|
||||||
"type": 521,
|
"type": 523,
|
||||||
"additionalSigned": 42
|
"additionalSigned": 42
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-support', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/types-support', version: '6.3.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/types",
|
"name": "@polkadot/types",
|
||||||
"version": "6.2.1",
|
"version": "6.3.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Implementation of the Parity codec",
|
"description": "Implementation of the Parity codec",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -22,11 +22,11 @@
|
|||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@polkadot/util": "^7.4.1",
|
"@polkadot/util": "^7.4.1",
|
||||||
"@polkadot/util-crypto": "^7.4.1",
|
"@polkadot/util-crypto": "^7.4.1",
|
||||||
"rxjs": "^7.3.0"
|
"rxjs": "^7.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^7.4.1",
|
"@polkadot/keyring": "^7.4.1",
|
||||||
"@polkadot/types-support": "6.2.1",
|
"@polkadot/types-support": "6.3.1",
|
||||||
"@types/bn.js": "^4.11.6",
|
"@types/bn.js": "^4.11.6",
|
||||||
"bn.js": "^4.12.0"
|
"bn.js": "^4.12.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -418,7 +418,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup239: kusama_runtime::SessionKeys
|
* Lookup241: kusama_runtime::SessionKeys
|
||||||
**/
|
**/
|
||||||
KusamaRuntimeSessionKeys: {
|
KusamaRuntimeSessionKeys: {
|
||||||
grandpa: 'SpFinalityGrandpaAppPublic',
|
grandpa: 'SpFinalityGrandpaAppPublic',
|
||||||
@@ -429,7 +429,7 @@ export default {
|
|||||||
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
|
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup369: kusama_runtime::NposCompactSolution24
|
* Lookup371: kusama_runtime::NposCompactSolution24
|
||||||
**/
|
**/
|
||||||
KusamaRuntimeNposCompactSolution24: {
|
KusamaRuntimeNposCompactSolution24: {
|
||||||
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
|
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
|
||||||
@@ -458,7 +458,7 @@ export default {
|
|||||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup502: xcm::VersionedXcm<Call>
|
* Lookup504: xcm::VersionedXcm<Call>
|
||||||
**/
|
**/
|
||||||
XcmVersionedXcm: {
|
XcmVersionedXcm: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -468,7 +468,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup503: xcm::v0::Xcm<Call>
|
* Lookup505: xcm::v0::Xcm<Call>
|
||||||
**/
|
**/
|
||||||
XcmV0Xcm: {
|
XcmV0Xcm: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -522,7 +522,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup505: xcm::v0::order::Order<Call>
|
* Lookup507: xcm::v0::order::Order<Call>
|
||||||
**/
|
**/
|
||||||
XcmV0Order: {
|
XcmV0Order: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -565,7 +565,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup507: xcm::v0::Response
|
* Lookup509: xcm::v0::Response
|
||||||
**/
|
**/
|
||||||
XcmV0Response: {
|
XcmV0Response: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -573,7 +573,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup508: xcm::v1::Xcm<Call>
|
* Lookup510: xcm::v1::Xcm<Call>
|
||||||
**/
|
**/
|
||||||
XcmV1Xcm: {
|
XcmV1Xcm: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -632,7 +632,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup510: xcm::v1::order::Order<Call>
|
* Lookup512: xcm::v1::order::Order<Call>
|
||||||
**/
|
**/
|
||||||
XcmV1Order: {
|
XcmV1Order: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -677,7 +677,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup512: xcm::v1::Response
|
* Lookup514: xcm::v1::Response
|
||||||
**/
|
**/
|
||||||
XcmV1Response: {
|
XcmV1Response: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -686,7 +686,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup573: kusama_runtime::OriginCaller
|
* Lookup575: kusama_runtime::OriginCaller
|
||||||
**/
|
**/
|
||||||
KusamaRuntimeOriginCaller: {
|
KusamaRuntimeOriginCaller: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -793,7 +793,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup578: pallet_xcm::pallet::Origin
|
* Lookup580: pallet_xcm::pallet::Origin
|
||||||
**/
|
**/
|
||||||
PalletXcmOrigin: {
|
PalletXcmOrigin: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -802,7 +802,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup682: pallet_xcm::pallet::QueryStatus<BlockNumber>
|
* Lookup689: pallet_xcm::pallet::QueryStatus<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletXcmQueryStatus: {
|
PalletXcmQueryStatus: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -822,7 +822,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup685: xcm::VersionedResponse
|
* Lookup692: xcm::VersionedResponse
|
||||||
**/
|
**/
|
||||||
XcmVersionedResponse: {
|
XcmVersionedResponse: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -832,7 +832,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup691: pallet_xcm::pallet::VersionMigrationStage
|
* Lookup698: pallet_xcm::pallet::VersionMigrationStage
|
||||||
**/
|
**/
|
||||||
PalletXcmVersionMigrationStage: {
|
PalletXcmVersionMigrationStage: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -843,7 +843,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup703: kusama_runtime::Runtime
|
* Lookup710: kusama_runtime::Runtime
|
||||||
**/
|
**/
|
||||||
KusamaRuntimeRuntime: 'Null'
|
KusamaRuntimeRuntime: 'Null'
|
||||||
} as DefinitionsTypes;
|
} as DefinitionsTypes;
|
||||||
|
|||||||
@@ -328,7 +328,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup506: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
|
* Lookup508: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
|
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
|
||||||
maxCodeSize: 'u32',
|
maxCodeSize: 'u32',
|
||||||
@@ -373,14 +373,14 @@ export default {
|
|||||||
umpMaxIndividualWeight: 'u64'
|
umpMaxIndividualWeight: 'u64'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup510: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
|
* Lookup512: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: {
|
PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: {
|
||||||
bitfield: 'BitVec',
|
bitfield: 'BitVec',
|
||||||
submittedAt: 'u32'
|
submittedAt: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup511: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
|
* Lookup513: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -396,32 +396,40 @@ export default {
|
|||||||
backingGroup: 'u32'
|
backingGroup: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup515: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
|
* Lookup515: polkadot_primitives::v1::ScrapedOnChainVotes<primitive_types::H256>
|
||||||
|
**/
|
||||||
|
PolkadotPrimitivesV1ScrapedOnChainVotes: {
|
||||||
|
session: 'u32',
|
||||||
|
backingValidatorsPerCandidate: 'Vec<(PolkadotPrimitivesV1CandidateReceipt,Vec<(u32,PolkadotPrimitivesV0ValidityAttestation)>)>',
|
||||||
|
disputes: 'Vec<PolkadotPrimitivesV1DisputeStatementSet>'
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Lookup522: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: {
|
PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: {
|
||||||
queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>',
|
queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>',
|
||||||
nextCoreOffset: 'u32'
|
nextCoreOffset: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup517: polkadot_runtime_parachains::scheduler::QueuedParathread
|
* Lookup524: polkadot_runtime_parachains::scheduler::QueuedParathread
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsSchedulerQueuedParathread: {
|
PolkadotRuntimeParachainsSchedulerQueuedParathread: {
|
||||||
claim: 'PolkadotPrimitivesV1ParathreadEntry',
|
claim: 'PolkadotPrimitivesV1ParathreadEntry',
|
||||||
coreOffset: 'u32'
|
coreOffset: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup518: polkadot_primitives::v1::ParathreadEntry
|
* Lookup525: polkadot_primitives::v1::ParathreadEntry
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV1ParathreadEntry: {
|
PolkadotPrimitivesV1ParathreadEntry: {
|
||||||
claim: 'PolkadotPrimitivesV1ParathreadClaim',
|
claim: 'PolkadotPrimitivesV1ParathreadClaim',
|
||||||
retries: 'u32'
|
retries: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup519: polkadot_primitives::v1::ParathreadClaim
|
* Lookup526: polkadot_primitives::v1::ParathreadClaim
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV1ParathreadClaim: '(u32,PolkadotPrimitivesV0CollatorAppPublic)',
|
PolkadotPrimitivesV1ParathreadClaim: '(u32,PolkadotPrimitivesV0CollatorAppPublic)',
|
||||||
/**
|
/**
|
||||||
* Lookup522: polkadot_primitives::v1::CoreOccupied
|
* Lookup529: polkadot_primitives::v1::CoreOccupied
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV1CoreOccupied: {
|
PolkadotPrimitivesV1CoreOccupied: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -430,7 +438,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup525: polkadot_runtime_parachains::scheduler::CoreAssignment
|
* Lookup532: polkadot_runtime_parachains::scheduler::CoreAssignment
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsSchedulerCoreAssignment: {
|
PolkadotRuntimeParachainsSchedulerCoreAssignment: {
|
||||||
core: 'u32',
|
core: 'u32',
|
||||||
@@ -439,7 +447,7 @@ export default {
|
|||||||
groupIdx: 'u32'
|
groupIdx: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup526: polkadot_runtime_parachains::scheduler::AssignmentKind
|
* Lookup533: polkadot_runtime_parachains::scheduler::AssignmentKind
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsSchedulerAssignmentKind: {
|
PolkadotRuntimeParachainsSchedulerAssignmentKind: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -448,39 +456,39 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup527: polkadot_runtime_parachains::paras::ParaLifecycle
|
* Lookup534: polkadot_runtime_parachains::paras::ParaLifecycle
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasParaLifecycle: {
|
PolkadotRuntimeParachainsParasParaLifecycle: {
|
||||||
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
|
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup529: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
|
* Lookup536: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
|
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
|
||||||
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
|
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
|
||||||
lastPruned: 'Option<u32>'
|
lastPruned: 'Option<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup531: polkadot_runtime_parachains::paras::ReplacementTimes<N>
|
* Lookup538: polkadot_runtime_parachains::paras::ReplacementTimes<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasReplacementTimes: {
|
PolkadotRuntimeParachainsParasReplacementTimes: {
|
||||||
expectedAt: 'u32',
|
expectedAt: 'u32',
|
||||||
activatedAt: 'u32'
|
activatedAt: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup533: polkadot_primitives::v1::UpgradeGoAhead
|
* Lookup540: polkadot_primitives::v1::UpgradeGoAhead
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV1UpgradeGoAhead: {
|
PolkadotPrimitivesV1UpgradeGoAhead: {
|
||||||
_enum: ['Abort', 'GoAhead']
|
_enum: ['Abort', 'GoAhead']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup534: polkadot_primitives::v1::UpgradeRestriction
|
* Lookup541: polkadot_primitives::v1::UpgradeRestriction
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV1UpgradeRestriction: {
|
PolkadotPrimitivesV1UpgradeRestriction: {
|
||||||
_enum: ['Present']
|
_enum: ['Present']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup535: polkadot_runtime_parachains::paras::ParaGenesisArgs
|
* Lookup542: polkadot_runtime_parachains::paras::ParaGenesisArgs
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasParaGenesisArgs: {
|
PolkadotRuntimeParachainsParasParaGenesisArgs: {
|
||||||
genesisHead: 'Bytes',
|
genesisHead: 'Bytes',
|
||||||
@@ -488,7 +496,7 @@ export default {
|
|||||||
parachain: 'bool'
|
parachain: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup538: polkadot_runtime_parachains::initializer::BufferedSessionChange
|
* Lookup545: polkadot_runtime_parachains::initializer::BufferedSessionChange
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
|
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
|
||||||
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
|
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
|
||||||
@@ -496,14 +504,14 @@ export default {
|
|||||||
sessionIndex: 'u32'
|
sessionIndex: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup540: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
|
* Lookup547: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotCorePrimitivesInboundDownwardMessage: {
|
PolkadotCorePrimitivesInboundDownwardMessage: {
|
||||||
sentAt: 'u32',
|
sentAt: 'u32',
|
||||||
msg: 'Bytes'
|
msg: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup543: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
|
* Lookup550: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
|
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
|
||||||
confirmed: 'bool',
|
confirmed: 'bool',
|
||||||
@@ -514,7 +522,7 @@ export default {
|
|||||||
maxTotalSize: 'u32'
|
maxTotalSize: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup545: polkadot_runtime_parachains::hrmp::HrmpChannel
|
* Lookup552: polkadot_runtime_parachains::hrmp::HrmpChannel
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsHrmpHrmpChannel: {
|
PolkadotRuntimeParachainsHrmpHrmpChannel: {
|
||||||
maxCapacity: 'u32',
|
maxCapacity: 'u32',
|
||||||
@@ -527,14 +535,14 @@ export default {
|
|||||||
recipientDeposit: 'u128'
|
recipientDeposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup548: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
|
* Lookup555: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotCorePrimitivesInboundHrmpMessage: {
|
PolkadotCorePrimitivesInboundHrmpMessage: {
|
||||||
sentAt: 'u32',
|
sentAt: 'u32',
|
||||||
data: 'Bytes'
|
data: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup553: polkadot_primitives::v1::SessionInfo
|
* Lookup560: polkadot_primitives::v1::SessionInfo
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV1SessionInfo: {
|
PolkadotPrimitivesV1SessionInfo: {
|
||||||
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
|
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
|
||||||
@@ -549,7 +557,7 @@ export default {
|
|||||||
neededApprovals: 'u32'
|
neededApprovals: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup555: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
|
* Lookup562: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonParasRegistrarParaInfo: {
|
PolkadotRuntimeCommonParasRegistrarParaInfo: {
|
||||||
manager: 'AccountId32',
|
manager: 'AccountId32',
|
||||||
@@ -557,7 +565,7 @@ export default {
|
|||||||
locked: 'bool'
|
locked: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup565: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
|
* Lookup572: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonCrowdloanFundInfo: {
|
PolkadotRuntimeCommonCrowdloanFundInfo: {
|
||||||
depositor: 'AccountId32',
|
depositor: 'AccountId32',
|
||||||
@@ -572,7 +580,7 @@ export default {
|
|||||||
trieIndex: 'u32'
|
trieIndex: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup566: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
|
* Lookup573: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonCrowdloanLastContribution: {
|
PolkadotRuntimeCommonCrowdloanLastContribution: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -582,11 +590,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup578: polkadot_runtime_common::claims::PrevalidateAttests<T>
|
* Lookup585: polkadot_runtime_common::claims::PrevalidateAttests<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
|
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup579: polkadot_runtime::Runtime
|
* Lookup586: polkadot_runtime::Runtime
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeRuntime: 'Null'
|
PolkadotRuntimeRuntime: 'Null'
|
||||||
} as DefinitionsTypes;
|
} as DefinitionsTypes;
|
||||||
|
|||||||
@@ -755,17 +755,17 @@ export default {
|
|||||||
paidOut: 'u128'
|
paidOut: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup361: pallet_staking::Releases
|
* Lookup363: pallet_staking::Releases
|
||||||
**/
|
**/
|
||||||
PalletStakingReleases: {
|
PalletStakingReleases: {
|
||||||
_enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V7_0_0', 'V8_0_0']
|
_enum: ['V1_0_0Ancient', 'V2_0_0', 'V3_0_0', 'V4_0_0', 'V5_0_0', 'V6_0_0', 'V7_0_0', 'V8_0_0']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup366: sp_core::crypto::KeyTypeId
|
* Lookup368: sp_core::crypto::KeyTypeId
|
||||||
**/
|
**/
|
||||||
SpCoreCryptoKeyTypeId: '[u8;4]',
|
SpCoreCryptoKeyTypeId: '[u8;4]',
|
||||||
/**
|
/**
|
||||||
* Lookup371: pallet_democracy::PreimageStatus<sp_core::crypto::AccountId32, Balance, BlockNumber>
|
* Lookup373: pallet_democracy::PreimageStatus<sp_core::crypto::AccountId32, Balance, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyPreimageStatus: {
|
PalletDemocracyPreimageStatus: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -780,7 +780,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup372: pallet_democracy::types::ReferendumInfo<BlockNumber, primitive_types::H256, Balance>
|
* Lookup374: pallet_democracy::types::ReferendumInfo<BlockNumber, primitive_types::H256, Balance>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyReferendumInfo: {
|
PalletDemocracyReferendumInfo: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -792,7 +792,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup373: pallet_democracy::types::ReferendumStatus<BlockNumber, primitive_types::H256, Balance>
|
* Lookup375: pallet_democracy::types::ReferendumStatus<BlockNumber, primitive_types::H256, Balance>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyReferendumStatus: {
|
PalletDemocracyReferendumStatus: {
|
||||||
end: 'u32',
|
end: 'u32',
|
||||||
@@ -802,7 +802,7 @@ export default {
|
|||||||
tally: 'PalletDemocracyTally'
|
tally: 'PalletDemocracyTally'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup374: pallet_democracy::types::Tally<Balance>
|
* Lookup376: pallet_democracy::types::Tally<Balance>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyTally: {
|
PalletDemocracyTally: {
|
||||||
ayes: 'u128',
|
ayes: 'u128',
|
||||||
@@ -810,7 +810,7 @@ export default {
|
|||||||
turnout: 'u128'
|
turnout: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup375: pallet_democracy::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
* Lookup377: pallet_democracy::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyVoteVoting: {
|
PalletDemocracyVoteVoting: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -829,24 +829,24 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup378: pallet_democracy::types::Delegations<Balance>
|
* Lookup380: pallet_democracy::types::Delegations<Balance>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyDelegations: {
|
PalletDemocracyDelegations: {
|
||||||
votes: 'u128',
|
votes: 'u128',
|
||||||
capital: 'u128'
|
capital: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup379: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
|
* Lookup381: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
|
||||||
**/
|
**/
|
||||||
PalletDemocracyVotePriorLock: '(u32,u128)',
|
PalletDemocracyVotePriorLock: '(u32,u128)',
|
||||||
/**
|
/**
|
||||||
* Lookup382: pallet_democracy::Releases
|
* Lookup384: pallet_democracy::Releases
|
||||||
**/
|
**/
|
||||||
PalletDemocracyReleases: {
|
PalletDemocracyReleases: {
|
||||||
_enum: ['V1']
|
_enum: ['V1']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup385: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
|
* Lookup387: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletCollectiveVotes: {
|
PalletCollectiveVotes: {
|
||||||
index: 'u32',
|
index: 'u32',
|
||||||
@@ -856,7 +856,7 @@ export default {
|
|||||||
end: 'u32'
|
end: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup390: pallet_elections_phragmen::SeatHolder<sp_core::crypto::AccountId32, Balance>
|
* Lookup392: pallet_elections_phragmen::SeatHolder<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletElectionsPhragmenSeatHolder: {
|
PalletElectionsPhragmenSeatHolder: {
|
||||||
who: 'AccountId32',
|
who: 'AccountId32',
|
||||||
@@ -864,7 +864,7 @@ export default {
|
|||||||
deposit: 'u128'
|
deposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup391: pallet_elections_phragmen::Voter<sp_core::crypto::AccountId32, Balance>
|
* Lookup393: pallet_elections_phragmen::Voter<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletElectionsPhragmenVoter: {
|
PalletElectionsPhragmenVoter: {
|
||||||
votes: 'Vec<AccountId32>',
|
votes: 'Vec<AccountId32>',
|
||||||
@@ -872,7 +872,7 @@ export default {
|
|||||||
deposit: 'u128'
|
deposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup394: pallet_grandpa::StoredState<N>
|
* Lookup396: pallet_grandpa::StoredState<N>
|
||||||
**/
|
**/
|
||||||
PalletGrandpaStoredState: {
|
PalletGrandpaStoredState: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -889,7 +889,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup395: pallet_grandpa::StoredPendingChange<N, Limit>
|
* Lookup397: pallet_grandpa::StoredPendingChange<N, Limit>
|
||||||
**/
|
**/
|
||||||
PalletGrandpaStoredPendingChange: {
|
PalletGrandpaStoredPendingChange: {
|
||||||
scheduledAt: 'u32',
|
scheduledAt: 'u32',
|
||||||
@@ -898,7 +898,7 @@ export default {
|
|||||||
forced: 'Option<u32>'
|
forced: 'Option<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup398: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
|
* Lookup400: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletTreasuryProposal: {
|
PalletTreasuryProposal: {
|
||||||
proposer: 'AccountId32',
|
proposer: 'AccountId32',
|
||||||
@@ -907,11 +907,11 @@ export default {
|
|||||||
bond: 'u128'
|
bond: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup401: frame_support::PalletId
|
* Lookup403: frame_support::PalletId
|
||||||
**/
|
**/
|
||||||
FrameSupportPalletId: '[u8;8]',
|
FrameSupportPalletId: '[u8;8]',
|
||||||
/**
|
/**
|
||||||
* Lookup403: pallet_contracts::wasm::PrefabWasmModule<T>
|
* Lookup405: pallet_contracts::wasm::PrefabWasmModule<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsWasmPrefabWasmModule: {
|
PalletContractsWasmPrefabWasmModule: {
|
||||||
instructionWeightsVersion: 'Compact<u32>',
|
instructionWeightsVersion: 'Compact<u32>',
|
||||||
@@ -923,7 +923,7 @@ export default {
|
|||||||
originalCodeLen: 'u32'
|
originalCodeLen: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup405: pallet_contracts::storage::RawContractInfo<primitive_types::H256>
|
* Lookup407: pallet_contracts::storage::RawContractInfo<primitive_types::H256>
|
||||||
**/
|
**/
|
||||||
PalletContractsStorageRawContractInfo: {
|
PalletContractsStorageRawContractInfo: {
|
||||||
trieId: 'Bytes',
|
trieId: 'Bytes',
|
||||||
@@ -931,13 +931,13 @@ export default {
|
|||||||
reserved: 'Option<Null>'
|
reserved: 'Option<Null>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup407: pallet_contracts::storage::DeletedContract
|
* Lookup409: pallet_contracts::storage::DeletedContract
|
||||||
**/
|
**/
|
||||||
PalletContractsStorageDeletedContract: {
|
PalletContractsStorageDeletedContract: {
|
||||||
trieId: 'Bytes'
|
trieId: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup408: pallet_contracts::schedule::Schedule<T>
|
* Lookup410: pallet_contracts::schedule::Schedule<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsSchedule: {
|
PalletContractsSchedule: {
|
||||||
limits: 'PalletContractsScheduleLimits',
|
limits: 'PalletContractsScheduleLimits',
|
||||||
@@ -945,7 +945,7 @@ export default {
|
|||||||
hostFnWeights: 'PalletContractsScheduleHostFnWeights'
|
hostFnWeights: 'PalletContractsScheduleHostFnWeights'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup409: pallet_contracts::schedule::Limits
|
* Lookup411: pallet_contracts::schedule::Limits
|
||||||
**/
|
**/
|
||||||
PalletContractsScheduleLimits: {
|
PalletContractsScheduleLimits: {
|
||||||
eventTopics: 'u32',
|
eventTopics: 'u32',
|
||||||
@@ -961,7 +961,7 @@ export default {
|
|||||||
codeLen: 'u32'
|
codeLen: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup410: pallet_contracts::schedule::InstructionWeights<T>
|
* Lookup412: pallet_contracts::schedule::InstructionWeights<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsScheduleInstructionWeights: {
|
PalletContractsScheduleInstructionWeights: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -1021,7 +1021,7 @@ export default {
|
|||||||
i64Rotr: 'u32'
|
i64Rotr: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup411: pallet_contracts::schedule::HostFnWeights<T>
|
* Lookup413: pallet_contracts::schedule::HostFnWeights<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsScheduleHostFnWeights: {
|
PalletContractsScheduleHostFnWeights: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -1073,21 +1073,21 @@ export default {
|
|||||||
ecdsaRecover: 'u64'
|
ecdsaRecover: 'u64'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup417: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
|
* Lookup419: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
|
||||||
**/
|
**/
|
||||||
PalletImOnlineBoundedOpaqueNetworkState: {
|
PalletImOnlineBoundedOpaqueNetworkState: {
|
||||||
peerId: 'Bytes',
|
peerId: 'Bytes',
|
||||||
externalAddresses: 'Vec<Bytes>'
|
externalAddresses: 'Vec<Bytes>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup422: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
|
* Lookup424: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
|
||||||
**/
|
**/
|
||||||
SpStakingOffenceOffenceDetails: {
|
SpStakingOffenceOffenceDetails: {
|
||||||
offender: '(AccountId32,PalletStakingExposure)',
|
offender: '(AccountId32,PalletStakingExposure)',
|
||||||
reporters: 'Vec<AccountId32>'
|
reporters: 'Vec<AccountId32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup424: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
|
* Lookup426: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
|
||||||
**/
|
**/
|
||||||
PalletIdentityRegistration: {
|
PalletIdentityRegistration: {
|
||||||
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
|
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
|
||||||
@@ -1095,7 +1095,7 @@ export default {
|
|||||||
info: 'PalletIdentityIdentityInfo'
|
info: 'PalletIdentityIdentityInfo'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup432: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
|
* Lookup434: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletIdentityRegistrarInfo: {
|
PalletIdentityRegistrarInfo: {
|
||||||
account: 'AccountId32',
|
account: 'AccountId32',
|
||||||
@@ -1103,7 +1103,7 @@ export default {
|
|||||||
fields: 'PalletIdentityBitFlags'
|
fields: 'PalletIdentityBitFlags'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup436: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
|
* Lookup438: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletSocietyBid: {
|
PalletSocietyBid: {
|
||||||
who: 'AccountId32',
|
who: 'AccountId32',
|
||||||
@@ -1111,7 +1111,7 @@ export default {
|
|||||||
value: 'u128'
|
value: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup437: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
|
* Lookup439: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletSocietyBidKind: {
|
PalletSocietyBidKind: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -1120,19 +1120,19 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup439: pallet_society::VouchingStatus
|
* Lookup441: pallet_society::VouchingStatus
|
||||||
**/
|
**/
|
||||||
PalletSocietyVouchingStatus: {
|
PalletSocietyVouchingStatus: {
|
||||||
_enum: ['Vouching', 'Banned']
|
_enum: ['Vouching', 'Banned']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup443: pallet_society::Vote
|
* Lookup445: pallet_society::Vote
|
||||||
**/
|
**/
|
||||||
PalletSocietyVote: {
|
PalletSocietyVote: {
|
||||||
_enum: ['Skeptic', 'Reject', 'Approve']
|
_enum: ['Skeptic', 'Reject', 'Approve']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup445: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
* Lookup447: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletRecoveryRecoveryConfig: {
|
PalletRecoveryRecoveryConfig: {
|
||||||
delayPeriod: 'u32',
|
delayPeriod: 'u32',
|
||||||
@@ -1141,7 +1141,7 @@ export default {
|
|||||||
threshold: 'u16'
|
threshold: 'u16'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup446: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
* Lookup448: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletRecoveryActiveRecovery: {
|
PalletRecoveryActiveRecovery: {
|
||||||
created: 'u32',
|
created: 'u32',
|
||||||
@@ -1149,13 +1149,13 @@ export default {
|
|||||||
friends: 'Vec<AccountId32>'
|
friends: 'Vec<AccountId32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup450: pallet_vesting::Releases
|
* Lookup452: pallet_vesting::Releases
|
||||||
**/
|
**/
|
||||||
PalletVestingReleases: {
|
PalletVestingReleases: {
|
||||||
_enum: ['V0', 'V1']
|
_enum: ['V0', 'V1']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup454: pallet_scheduler::ScheduledV2<node_runtime::Call, BlockNumber, node_runtime::OriginCaller, sp_core::crypto::AccountId32>
|
* Lookup456: pallet_scheduler::ScheduledV2<node_runtime::Call, BlockNumber, node_runtime::OriginCaller, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletSchedulerScheduledV2: {
|
PalletSchedulerScheduledV2: {
|
||||||
maybeId: 'Option<Bytes>',
|
maybeId: 'Option<Bytes>',
|
||||||
@@ -1165,7 +1165,7 @@ export default {
|
|||||||
origin: 'NodeRuntimeOriginCaller'
|
origin: 'NodeRuntimeOriginCaller'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup455: node_runtime::OriginCaller
|
* Lookup457: node_runtime::OriginCaller
|
||||||
**/
|
**/
|
||||||
NodeRuntimeOriginCaller: {
|
NodeRuntimeOriginCaller: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -1186,7 +1186,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup456: frame_system::RawOrigin<sp_core::crypto::AccountId32>
|
* Lookup458: frame_system::RawOrigin<sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
FrameSystemRawOrigin: {
|
FrameSystemRawOrigin: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -1196,7 +1196,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup457: pallet_collective::RawOrigin<sp_core::crypto::AccountId32, I>
|
* Lookup459: pallet_collective::RawOrigin<sp_core::crypto::AccountId32, I>
|
||||||
**/
|
**/
|
||||||
PalletCollectiveRawOrigin: {
|
PalletCollectiveRawOrigin: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -1206,17 +1206,17 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup459: sp_core::Void
|
* Lookup461: sp_core::Void
|
||||||
**/
|
**/
|
||||||
SpCoreVoid: 'Null',
|
SpCoreVoid: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup460: pallet_scheduler::Releases
|
* Lookup462: pallet_scheduler::Releases
|
||||||
**/
|
**/
|
||||||
PalletSchedulerReleases: {
|
PalletSchedulerReleases: {
|
||||||
_enum: ['V1', 'V2']
|
_enum: ['V1', 'V2']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup464: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, node_runtime::ProxyType, BlockNumber>
|
* Lookup466: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, node_runtime::ProxyType, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletProxyProxyDefinition: {
|
PalletProxyProxyDefinition: {
|
||||||
delegate: 'AccountId32',
|
delegate: 'AccountId32',
|
||||||
@@ -1224,7 +1224,7 @@ export default {
|
|||||||
delay: 'u32'
|
delay: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup468: pallet_proxy::Announcement<sp_core::crypto::AccountId32, primitive_types::H256, BlockNumber>
|
* Lookup470: pallet_proxy::Announcement<sp_core::crypto::AccountId32, primitive_types::H256, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletProxyAnnouncement: {
|
PalletProxyAnnouncement: {
|
||||||
real: 'AccountId32',
|
real: 'AccountId32',
|
||||||
@@ -1232,7 +1232,7 @@ export default {
|
|||||||
height: 'u32'
|
height: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup472: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
* Lookup474: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletMultisigMultisig: {
|
PalletMultisigMultisig: {
|
||||||
when: 'PalletMultisigTimepoint',
|
when: 'PalletMultisigTimepoint',
|
||||||
@@ -1241,7 +1241,7 @@ export default {
|
|||||||
approvals: 'Vec<AccountId32>'
|
approvals: 'Vec<AccountId32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup475: pallet_bounties::Bounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
|
* Lookup477: pallet_bounties::Bounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletBountiesBounty: {
|
PalletBountiesBounty: {
|
||||||
proposer: 'AccountId32',
|
proposer: 'AccountId32',
|
||||||
@@ -1252,7 +1252,7 @@ export default {
|
|||||||
status: 'PalletBountiesBountyStatus'
|
status: 'PalletBountiesBountyStatus'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup476: pallet_bounties::BountyStatus<sp_core::crypto::AccountId32, BlockNumber>
|
* Lookup478: pallet_bounties::BountyStatus<sp_core::crypto::AccountId32, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletBountiesBountyStatus: {
|
PalletBountiesBountyStatus: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -1274,7 +1274,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup478: pallet_tips::OpenTip<sp_core::crypto::AccountId32, Balance, BlockNumber, primitive_types::H256>
|
* Lookup480: pallet_tips::OpenTip<sp_core::crypto::AccountId32, Balance, BlockNumber, primitive_types::H256>
|
||||||
**/
|
**/
|
||||||
PalletTipsOpenTip: {
|
PalletTipsOpenTip: {
|
||||||
reason: 'H256',
|
reason: 'H256',
|
||||||
@@ -1286,7 +1286,7 @@ export default {
|
|||||||
findersFee: 'bool'
|
findersFee: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup480: pallet_assets::types::AssetDetails<Balance, sp_core::crypto::AccountId32, DepositBalance>
|
* Lookup482: pallet_assets::types::AssetDetails<Balance, sp_core::crypto::AccountId32, DepositBalance>
|
||||||
**/
|
**/
|
||||||
PalletAssetsAssetDetails: {
|
PalletAssetsAssetDetails: {
|
||||||
owner: 'AccountId32',
|
owner: 'AccountId32',
|
||||||
@@ -1303,7 +1303,7 @@ export default {
|
|||||||
isFrozen: 'bool'
|
isFrozen: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup481: pallet_assets::types::AssetBalance<Balance, Extra>
|
* Lookup483: pallet_assets::types::AssetBalance<Balance, Extra>
|
||||||
**/
|
**/
|
||||||
PalletAssetsAssetBalance: {
|
PalletAssetsAssetBalance: {
|
||||||
balance: 'u64',
|
balance: 'u64',
|
||||||
@@ -1312,14 +1312,14 @@ export default {
|
|||||||
extra: 'Null'
|
extra: 'Null'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup483: pallet_assets::types::Approval<Balance, DepositBalance>
|
* Lookup485: pallet_assets::types::Approval<Balance, DepositBalance>
|
||||||
**/
|
**/
|
||||||
PalletAssetsApproval: {
|
PalletAssetsApproval: {
|
||||||
amount: 'u64',
|
amount: 'u64',
|
||||||
deposit: 'u128'
|
deposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup484: pallet_assets::types::AssetMetadata<DepositBalance, frame_support::storage::bounded_vec::BoundedVec<T, S>>
|
* Lookup486: pallet_assets::types::AssetMetadata<DepositBalance, frame_support::storage::bounded_vec::BoundedVec<T, S>>
|
||||||
**/
|
**/
|
||||||
PalletAssetsAssetMetadata: {
|
PalletAssetsAssetMetadata: {
|
||||||
deposit: 'u128',
|
deposit: 'u128',
|
||||||
@@ -1329,7 +1329,7 @@ export default {
|
|||||||
isFrozen: 'bool'
|
isFrozen: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup486: pallet_lottery::LotteryConfig<BlockNumber, Balance>
|
* Lookup488: pallet_lottery::LotteryConfig<BlockNumber, Balance>
|
||||||
**/
|
**/
|
||||||
PalletLotteryLotteryConfig: {
|
PalletLotteryLotteryConfig: {
|
||||||
price: 'u128',
|
price: 'u128',
|
||||||
@@ -1339,14 +1339,14 @@ export default {
|
|||||||
repeat: 'bool'
|
repeat: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup491: pallet_gilt::pallet::GiltBid<Balance, sp_core::crypto::AccountId32>
|
* Lookup493: pallet_gilt::pallet::GiltBid<Balance, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletGiltGiltBid: {
|
PalletGiltGiltBid: {
|
||||||
amount: 'u128',
|
amount: 'u128',
|
||||||
who: 'AccountId32'
|
who: 'AccountId32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup492: pallet_gilt::pallet::ActiveGiltsTotal<Balance>
|
* Lookup494: pallet_gilt::pallet::ActiveGiltsTotal<Balance>
|
||||||
**/
|
**/
|
||||||
PalletGiltActiveGiltsTotal: {
|
PalletGiltActiveGiltsTotal: {
|
||||||
frozen: 'u128',
|
frozen: 'u128',
|
||||||
@@ -1355,7 +1355,7 @@ export default {
|
|||||||
target: 'Perquintill'
|
target: 'Perquintill'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup493: pallet_gilt::pallet::ActiveGilt<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
* Lookup495: pallet_gilt::pallet::ActiveGilt<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletGiltActiveGilt: {
|
PalletGiltActiveGilt: {
|
||||||
proportion: 'Perquintill',
|
proportion: 'Perquintill',
|
||||||
@@ -1364,7 +1364,7 @@ export default {
|
|||||||
expiry: 'u32'
|
expiry: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup495: pallet_uniques::types::ClassDetails<sp_core::crypto::AccountId32, DepositBalance>
|
* Lookup497: pallet_uniques::types::ClassDetails<sp_core::crypto::AccountId32, DepositBalance>
|
||||||
**/
|
**/
|
||||||
PalletUniquesClassDetails: {
|
PalletUniquesClassDetails: {
|
||||||
owner: 'AccountId32',
|
owner: 'AccountId32',
|
||||||
@@ -1379,7 +1379,7 @@ export default {
|
|||||||
isFrozen: 'bool'
|
isFrozen: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup497: pallet_uniques::types::InstanceDetails<sp_core::crypto::AccountId32, DepositBalance>
|
* Lookup499: pallet_uniques::types::InstanceDetails<sp_core::crypto::AccountId32, DepositBalance>
|
||||||
**/
|
**/
|
||||||
PalletUniquesInstanceDetails: {
|
PalletUniquesInstanceDetails: {
|
||||||
owner: 'AccountId32',
|
owner: 'AccountId32',
|
||||||
@@ -1388,7 +1388,7 @@ export default {
|
|||||||
deposit: 'u128'
|
deposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup498: pallet_uniques::types::ClassMetadata<DepositBalance, StringLimit>
|
* Lookup500: pallet_uniques::types::ClassMetadata<DepositBalance, StringLimit>
|
||||||
**/
|
**/
|
||||||
PalletUniquesClassMetadata: {
|
PalletUniquesClassMetadata: {
|
||||||
deposit: 'u128',
|
deposit: 'u128',
|
||||||
@@ -1396,7 +1396,7 @@ export default {
|
|||||||
isFrozen: 'bool'
|
isFrozen: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup499: pallet_uniques::types::InstanceMetadata<DepositBalance, StringLimit>
|
* Lookup501: pallet_uniques::types::InstanceMetadata<DepositBalance, StringLimit>
|
||||||
**/
|
**/
|
||||||
PalletUniquesInstanceMetadata: {
|
PalletUniquesInstanceMetadata: {
|
||||||
deposit: 'u128',
|
deposit: 'u128',
|
||||||
@@ -1404,7 +1404,7 @@ export default {
|
|||||||
isFrozen: 'bool'
|
isFrozen: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup504: pallet_transaction_storage::TransactionInfo
|
* Lookup506: pallet_transaction_storage::TransactionInfo
|
||||||
**/
|
**/
|
||||||
PalletTransactionStorageTransactionInfo: {
|
PalletTransactionStorageTransactionInfo: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -1416,7 +1416,7 @@ export default {
|
|||||||
blockChunks: 'u32'
|
blockChunks: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup506: pallet_bags_list::list::Node<T>
|
* Lookup508: pallet_bags_list::list::Node<T>
|
||||||
**/
|
**/
|
||||||
PalletBagsListListNode: {
|
PalletBagsListListNode: {
|
||||||
id: 'AccountId32',
|
id: 'AccountId32',
|
||||||
@@ -1425,14 +1425,14 @@ export default {
|
|||||||
bagUpper: 'u64'
|
bagUpper: 'u64'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup507: pallet_bags_list::list::Bag<T>
|
* Lookup509: pallet_bags_list::list::Bag<T>
|
||||||
**/
|
**/
|
||||||
PalletBagsListListBag: {
|
PalletBagsListListBag: {
|
||||||
head: 'Option<AccountId32>',
|
head: 'Option<AccountId32>',
|
||||||
tail: 'Option<AccountId32>'
|
tail: 'Option<AccountId32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup510: sp_runtime::MultiSignature
|
* Lookup512: sp_runtime::MultiSignature
|
||||||
**/
|
**/
|
||||||
SpRuntimeMultiSignature: {
|
SpRuntimeMultiSignature: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -1442,35 +1442,35 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup511: sp_core::ecdsa::Signature
|
* Lookup513: sp_core::ecdsa::Signature
|
||||||
**/
|
**/
|
||||||
SpCoreEcdsaSignature: '[u8;65]',
|
SpCoreEcdsaSignature: '[u8;65]',
|
||||||
/**
|
/**
|
||||||
* Lookup514: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
|
* Lookup516: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
|
||||||
**/
|
**/
|
||||||
FrameSystemExtensionsCheckSpecVersion: 'Null',
|
FrameSystemExtensionsCheckSpecVersion: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup515: frame_system::extensions::check_tx_version::CheckTxVersion<T>
|
* Lookup517: frame_system::extensions::check_tx_version::CheckTxVersion<T>
|
||||||
**/
|
**/
|
||||||
FrameSystemExtensionsCheckTxVersion: 'Null',
|
FrameSystemExtensionsCheckTxVersion: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup516: frame_system::extensions::check_genesis::CheckGenesis<T>
|
* Lookup518: frame_system::extensions::check_genesis::CheckGenesis<T>
|
||||||
**/
|
**/
|
||||||
FrameSystemExtensionsCheckGenesis: 'Null',
|
FrameSystemExtensionsCheckGenesis: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup519: frame_system::extensions::check_nonce::CheckNonce<T>
|
* Lookup521: frame_system::extensions::check_nonce::CheckNonce<T>
|
||||||
**/
|
**/
|
||||||
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
|
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
|
||||||
/**
|
/**
|
||||||
* Lookup520: frame_system::extensions::check_weight::CheckWeight<T>
|
* Lookup522: frame_system::extensions::check_weight::CheckWeight<T>
|
||||||
**/
|
**/
|
||||||
FrameSystemExtensionsCheckWeight: 'Null',
|
FrameSystemExtensionsCheckWeight: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup521: pallet_transaction_payment::ChargeTransactionPayment<T>
|
* Lookup523: pallet_transaction_payment::ChargeTransactionPayment<T>
|
||||||
**/
|
**/
|
||||||
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
|
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
|
||||||
/**
|
/**
|
||||||
* Lookup522: node_runtime::Runtime
|
* Lookup524: node_runtime::Runtime
|
||||||
**/
|
**/
|
||||||
NodeRuntimeRuntime: 'Null'
|
NodeRuntimeRuntime: 'Null'
|
||||||
} as DefinitionsTypes;
|
} as DefinitionsTypes;
|
||||||
|
|||||||
@@ -454,7 +454,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asV1: XcmV1MultiLocation;
|
readonly asV1: XcmV1MultiLocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name KusamaRuntimeSessionKeys (239) */
|
/** @name KusamaRuntimeSessionKeys (241) */
|
||||||
export interface KusamaRuntimeSessionKeys extends Struct {
|
export interface KusamaRuntimeSessionKeys extends Struct {
|
||||||
readonly grandpa: SpFinalityGrandpaAppPublic;
|
readonly grandpa: SpFinalityGrandpaAppPublic;
|
||||||
readonly babe: SpConsensusBabeAppPublic;
|
readonly babe: SpConsensusBabeAppPublic;
|
||||||
@@ -464,7 +464,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
|
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name KusamaRuntimeNposCompactSolution24 (369) */
|
/** @name KusamaRuntimeNposCompactSolution24 (371) */
|
||||||
export interface KusamaRuntimeNposCompactSolution24 extends Struct {
|
export interface KusamaRuntimeNposCompactSolution24 extends Struct {
|
||||||
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
|
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
|
||||||
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
|
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
|
||||||
@@ -492,7 +492,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmVersionedXcm (502) */
|
/** @name XcmVersionedXcm (504) */
|
||||||
export interface XcmVersionedXcm extends Enum {
|
export interface XcmVersionedXcm extends Enum {
|
||||||
readonly isV0: boolean;
|
readonly isV0: boolean;
|
||||||
readonly asV0: XcmV0Xcm;
|
readonly asV0: XcmV0Xcm;
|
||||||
@@ -502,7 +502,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asV2: XcmV2Xcm;
|
readonly asV2: XcmV2Xcm;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmV0Xcm (503) */
|
/** @name XcmV0Xcm (505) */
|
||||||
export interface XcmV0Xcm extends Enum {
|
export interface XcmV0Xcm extends Enum {
|
||||||
readonly isWithdrawAsset: boolean;
|
readonly isWithdrawAsset: boolean;
|
||||||
readonly asWithdrawAsset: {
|
readonly asWithdrawAsset: {
|
||||||
@@ -564,7 +564,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmV0Order (505) */
|
/** @name XcmV0Order (507) */
|
||||||
export interface XcmV0Order extends Enum {
|
export interface XcmV0Order extends Enum {
|
||||||
readonly isNull: boolean;
|
readonly isNull: boolean;
|
||||||
readonly isDepositAsset: boolean;
|
readonly isDepositAsset: boolean;
|
||||||
@@ -611,13 +611,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmV0Response (507) */
|
/** @name XcmV0Response (509) */
|
||||||
export interface XcmV0Response extends Enum {
|
export interface XcmV0Response extends Enum {
|
||||||
readonly isAssets: boolean;
|
readonly isAssets: boolean;
|
||||||
readonly asAssets: Vec<XcmV0MultiAsset>;
|
readonly asAssets: Vec<XcmV0MultiAsset>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmV1Xcm (508) */
|
/** @name XcmV1Xcm (510) */
|
||||||
export interface XcmV1Xcm extends Enum {
|
export interface XcmV1Xcm extends Enum {
|
||||||
readonly isWithdrawAsset: boolean;
|
readonly isWithdrawAsset: boolean;
|
||||||
readonly asWithdrawAsset: {
|
readonly asWithdrawAsset: {
|
||||||
@@ -685,7 +685,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isUnsubscribeVersion: boolean;
|
readonly isUnsubscribeVersion: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmV1Order (510) */
|
/** @name XcmV1Order (512) */
|
||||||
export interface XcmV1Order extends Enum {
|
export interface XcmV1Order extends Enum {
|
||||||
readonly isNoop: boolean;
|
readonly isNoop: boolean;
|
||||||
readonly isDepositAsset: boolean;
|
readonly isDepositAsset: boolean;
|
||||||
@@ -734,7 +734,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmV1Response (512) */
|
/** @name XcmV1Response (514) */
|
||||||
export interface XcmV1Response extends Enum {
|
export interface XcmV1Response extends Enum {
|
||||||
readonly isAssets: boolean;
|
readonly isAssets: boolean;
|
||||||
readonly asAssets: XcmV1MultiassetMultiAssets;
|
readonly asAssets: XcmV1MultiassetMultiAssets;
|
||||||
@@ -742,7 +742,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asVersion: u32;
|
readonly asVersion: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name KusamaRuntimeOriginCaller (573) */
|
/** @name KusamaRuntimeOriginCaller (575) */
|
||||||
export interface KusamaRuntimeOriginCaller extends Enum {
|
export interface KusamaRuntimeOriginCaller extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSystemRawOrigin;
|
readonly asSystem: FrameSystemRawOrigin;
|
||||||
@@ -851,7 +851,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asXcmPallet: PalletXcmOrigin;
|
readonly asXcmPallet: PalletXcmOrigin;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmOrigin (578) */
|
/** @name PalletXcmOrigin (580) */
|
||||||
export interface PalletXcmOrigin extends Enum {
|
export interface PalletXcmOrigin extends Enum {
|
||||||
readonly isXcm: boolean;
|
readonly isXcm: boolean;
|
||||||
readonly asXcm: XcmV1MultiLocation;
|
readonly asXcm: XcmV1MultiLocation;
|
||||||
@@ -859,7 +859,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asResponse: XcmV1MultiLocation;
|
readonly asResponse: XcmV1MultiLocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmQueryStatus (682) */
|
/** @name PalletXcmQueryStatus (689) */
|
||||||
export interface PalletXcmQueryStatus extends Enum {
|
export interface PalletXcmQueryStatus extends Enum {
|
||||||
readonly isPending: boolean;
|
readonly isPending: boolean;
|
||||||
readonly asPending: {
|
readonly asPending: {
|
||||||
@@ -879,7 +879,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmVersionedResponse (685) */
|
/** @name XcmVersionedResponse (692) */
|
||||||
export interface XcmVersionedResponse extends Enum {
|
export interface XcmVersionedResponse extends Enum {
|
||||||
readonly isV0: boolean;
|
readonly isV0: boolean;
|
||||||
readonly asV0: XcmV0Response;
|
readonly asV0: XcmV0Response;
|
||||||
@@ -889,7 +889,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asV2: XcmV2Response;
|
readonly asV2: XcmV2Response;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmVersionMigrationStage (691) */
|
/** @name PalletXcmVersionMigrationStage (698) */
|
||||||
export interface PalletXcmVersionMigrationStage extends Enum {
|
export interface PalletXcmVersionMigrationStage extends Enum {
|
||||||
readonly isMigrateSupportedVersion: boolean;
|
readonly isMigrateSupportedVersion: boolean;
|
||||||
readonly isMigrateVersionNotifiers: boolean;
|
readonly isMigrateVersionNotifiers: boolean;
|
||||||
@@ -898,7 +898,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isMigrateAndNotifyOldTargets: boolean;
|
readonly isMigrateAndNotifyOldTargets: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name KusamaRuntimeRuntime (703) */
|
/** @name KusamaRuntimeRuntime (710) */
|
||||||
export type KusamaRuntimeRuntime = Null;
|
export type KusamaRuntimeRuntime = Null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asParachain: u32;
|
readonly asParachain: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (506) */
|
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (508) */
|
||||||
export interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
|
export interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
|
||||||
readonly maxCodeSize: u32;
|
readonly maxCodeSize: u32;
|
||||||
readonly maxHeadDataSize: u32;
|
readonly maxHeadDataSize: u32;
|
||||||
@@ -351,13 +351,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly umpMaxIndividualWeight: u64;
|
readonly umpMaxIndividualWeight: u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (510) */
|
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (512) */
|
||||||
export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
|
export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
|
||||||
readonly bitfield: BitVec;
|
readonly bitfield: BitVec;
|
||||||
readonly submittedAt: u32;
|
readonly submittedAt: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (511) */
|
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (513) */
|
||||||
export interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
|
export interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
|
||||||
readonly core: u32;
|
readonly core: u32;
|
||||||
readonly hash_: H256;
|
readonly hash_: H256;
|
||||||
@@ -369,35 +369,42 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly backingGroup: u32;
|
readonly backingGroup: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (515) */
|
/** @name PolkadotPrimitivesV1ScrapedOnChainVotes (515) */
|
||||||
|
export interface PolkadotPrimitivesV1ScrapedOnChainVotes extends Struct {
|
||||||
|
readonly session: u32;
|
||||||
|
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesV1CandidateReceipt, Vec<ITuple<[u32, PolkadotPrimitivesV0ValidityAttestation]>>]>>;
|
||||||
|
readonly disputes: Vec<PolkadotPrimitivesV1DisputeStatementSet>;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (522) */
|
||||||
export interface PolkadotRuntimeParachainsSchedulerParathreadClaimQueue extends Struct {
|
export interface PolkadotRuntimeParachainsSchedulerParathreadClaimQueue extends Struct {
|
||||||
readonly queue: Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>;
|
readonly queue: Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>;
|
||||||
readonly nextCoreOffset: u32;
|
readonly nextCoreOffset: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (517) */
|
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (524) */
|
||||||
export interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct {
|
export interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct {
|
||||||
readonly claim: PolkadotPrimitivesV1ParathreadEntry;
|
readonly claim: PolkadotPrimitivesV1ParathreadEntry;
|
||||||
readonly coreOffset: u32;
|
readonly coreOffset: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV1ParathreadEntry (518) */
|
/** @name PolkadotPrimitivesV1ParathreadEntry (525) */
|
||||||
export interface PolkadotPrimitivesV1ParathreadEntry extends Struct {
|
export interface PolkadotPrimitivesV1ParathreadEntry extends Struct {
|
||||||
readonly claim: PolkadotPrimitivesV1ParathreadClaim;
|
readonly claim: PolkadotPrimitivesV1ParathreadClaim;
|
||||||
readonly retries: u32;
|
readonly retries: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV1ParathreadClaim (519) */
|
/** @name PolkadotPrimitivesV1ParathreadClaim (526) */
|
||||||
export interface PolkadotPrimitivesV1ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV0CollatorAppPublic]> {}
|
export interface PolkadotPrimitivesV1ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV0CollatorAppPublic]> {}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV1CoreOccupied (522) */
|
/** @name PolkadotPrimitivesV1CoreOccupied (529) */
|
||||||
export interface PolkadotPrimitivesV1CoreOccupied extends Enum {
|
export interface PolkadotPrimitivesV1CoreOccupied extends Enum {
|
||||||
readonly isParathread: boolean;
|
readonly isParathread: boolean;
|
||||||
readonly asParathread: PolkadotPrimitivesV1ParathreadEntry;
|
readonly asParathread: PolkadotPrimitivesV1ParathreadEntry;
|
||||||
readonly isParachain: boolean;
|
readonly isParachain: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (525) */
|
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (532) */
|
||||||
export interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct {
|
export interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct {
|
||||||
readonly core: u32;
|
readonly core: u32;
|
||||||
readonly paraId: u32;
|
readonly paraId: u32;
|
||||||
@@ -405,14 +412,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly groupIdx: u32;
|
readonly groupIdx: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (526) */
|
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (533) */
|
||||||
export interface PolkadotRuntimeParachainsSchedulerAssignmentKind extends Enum {
|
export interface PolkadotRuntimeParachainsSchedulerAssignmentKind extends Enum {
|
||||||
readonly isParachain: boolean;
|
readonly isParachain: boolean;
|
||||||
readonly isParathread: boolean;
|
readonly isParathread: boolean;
|
||||||
readonly asParathread: ITuple<[PolkadotPrimitivesV0CollatorAppPublic, u32]>;
|
readonly asParathread: ITuple<[PolkadotPrimitivesV0CollatorAppPublic, u32]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasParaLifecycle (527) */
|
/** @name PolkadotRuntimeParachainsParasParaLifecycle (534) */
|
||||||
export interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
|
export interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
|
||||||
readonly isOnboarding: boolean;
|
readonly isOnboarding: boolean;
|
||||||
readonly isParathread: boolean;
|
readonly isParathread: boolean;
|
||||||
@@ -423,50 +430,50 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isOffboardingParachain: boolean;
|
readonly isOffboardingParachain: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (529) */
|
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (536) */
|
||||||
export interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
|
export interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
|
||||||
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
|
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
|
||||||
readonly lastPruned: Option<u32>;
|
readonly lastPruned: Option<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasReplacementTimes (531) */
|
/** @name PolkadotRuntimeParachainsParasReplacementTimes (538) */
|
||||||
export interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
|
export interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
|
||||||
readonly expectedAt: u32;
|
readonly expectedAt: u32;
|
||||||
readonly activatedAt: u32;
|
readonly activatedAt: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV1UpgradeGoAhead (533) */
|
/** @name PolkadotPrimitivesV1UpgradeGoAhead (540) */
|
||||||
export interface PolkadotPrimitivesV1UpgradeGoAhead extends Enum {
|
export interface PolkadotPrimitivesV1UpgradeGoAhead extends Enum {
|
||||||
readonly isAbort: boolean;
|
readonly isAbort: boolean;
|
||||||
readonly isGoAhead: boolean;
|
readonly isGoAhead: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV1UpgradeRestriction (534) */
|
/** @name PolkadotPrimitivesV1UpgradeRestriction (541) */
|
||||||
export interface PolkadotPrimitivesV1UpgradeRestriction extends Enum {
|
export interface PolkadotPrimitivesV1UpgradeRestriction extends Enum {
|
||||||
readonly isPresent: boolean;
|
readonly isPresent: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (535) */
|
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (542) */
|
||||||
export interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
|
export interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
|
||||||
readonly genesisHead: Bytes;
|
readonly genesisHead: Bytes;
|
||||||
readonly validationCode: Bytes;
|
readonly validationCode: Bytes;
|
||||||
readonly parachain: bool;
|
readonly parachain: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (538) */
|
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (545) */
|
||||||
export interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
|
export interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
|
||||||
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
||||||
readonly queued: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
readonly queued: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
||||||
readonly sessionIndex: u32;
|
readonly sessionIndex: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotCorePrimitivesInboundDownwardMessage (540) */
|
/** @name PolkadotCorePrimitivesInboundDownwardMessage (547) */
|
||||||
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
|
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
|
||||||
readonly sentAt: u32;
|
readonly sentAt: u32;
|
||||||
readonly msg: Bytes;
|
readonly msg: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (543) */
|
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (550) */
|
||||||
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
|
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
|
||||||
readonly confirmed: bool;
|
readonly confirmed: bool;
|
||||||
readonly age: u32;
|
readonly age: u32;
|
||||||
@@ -476,7 +483,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly maxTotalSize: u32;
|
readonly maxTotalSize: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (545) */
|
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (552) */
|
||||||
export interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
|
export interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
|
||||||
readonly maxCapacity: u32;
|
readonly maxCapacity: u32;
|
||||||
readonly maxTotalSize: u32;
|
readonly maxTotalSize: u32;
|
||||||
@@ -488,13 +495,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly recipientDeposit: u128;
|
readonly recipientDeposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotCorePrimitivesInboundHrmpMessage (548) */
|
/** @name PolkadotCorePrimitivesInboundHrmpMessage (555) */
|
||||||
export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
|
export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
|
||||||
readonly sentAt: u32;
|
readonly sentAt: u32;
|
||||||
readonly data: Bytes;
|
readonly data: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV1SessionInfo (553) */
|
/** @name PolkadotPrimitivesV1SessionInfo (560) */
|
||||||
export interface PolkadotPrimitivesV1SessionInfo extends Struct {
|
export interface PolkadotPrimitivesV1SessionInfo extends Struct {
|
||||||
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
|
||||||
readonly discoveryKeys: Vec<SpAuthorityDiscoveryAppPublic>;
|
readonly discoveryKeys: Vec<SpAuthorityDiscoveryAppPublic>;
|
||||||
@@ -508,14 +515,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly neededApprovals: u32;
|
readonly neededApprovals: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (555) */
|
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (562) */
|
||||||
export interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
|
export interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
|
||||||
readonly manager: AccountId32;
|
readonly manager: AccountId32;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly locked: bool;
|
readonly locked: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (565) */
|
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (572) */
|
||||||
export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
|
export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
|
||||||
readonly depositor: AccountId32;
|
readonly depositor: AccountId32;
|
||||||
readonly verifier: Option<SpRuntimeMultiSigner>;
|
readonly verifier: Option<SpRuntimeMultiSigner>;
|
||||||
@@ -529,7 +536,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly trieIndex: u32;
|
readonly trieIndex: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (566) */
|
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (573) */
|
||||||
export interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
|
export interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
|
||||||
readonly isNever: boolean;
|
readonly isNever: boolean;
|
||||||
readonly isPreEnding: boolean;
|
readonly isPreEnding: boolean;
|
||||||
@@ -538,10 +545,10 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asEnding: u32;
|
readonly asEnding: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (578) */
|
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (585) */
|
||||||
export type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
|
export type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
|
||||||
|
|
||||||
/** @name PolkadotRuntimeRuntime (579) */
|
/** @name PolkadotRuntimeRuntime (586) */
|
||||||
export type PolkadotRuntimeRuntime = Null;
|
export type PolkadotRuntimeRuntime = Null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -826,7 +826,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly paidOut: u128;
|
readonly paidOut: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStakingReleases (361) */
|
/** @name PalletStakingReleases (363) */
|
||||||
export interface PalletStakingReleases extends Enum {
|
export interface PalletStakingReleases extends Enum {
|
||||||
readonly isV100Ancient: boolean;
|
readonly isV100Ancient: boolean;
|
||||||
readonly isV200: boolean;
|
readonly isV200: boolean;
|
||||||
@@ -838,10 +838,10 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isV800: boolean;
|
readonly isV800: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpCoreCryptoKeyTypeId (366) */
|
/** @name SpCoreCryptoKeyTypeId (368) */
|
||||||
export interface SpCoreCryptoKeyTypeId extends U8aFixed {}
|
export interface SpCoreCryptoKeyTypeId extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PalletDemocracyPreimageStatus (371) */
|
/** @name PalletDemocracyPreimageStatus (373) */
|
||||||
export interface PalletDemocracyPreimageStatus extends Enum {
|
export interface PalletDemocracyPreimageStatus extends Enum {
|
||||||
readonly isMissing: boolean;
|
readonly isMissing: boolean;
|
||||||
readonly asMissing: u32;
|
readonly asMissing: u32;
|
||||||
@@ -855,7 +855,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyReferendumInfo (372) */
|
/** @name PalletDemocracyReferendumInfo (374) */
|
||||||
export interface PalletDemocracyReferendumInfo extends Enum {
|
export interface PalletDemocracyReferendumInfo extends Enum {
|
||||||
readonly isOngoing: boolean;
|
readonly isOngoing: boolean;
|
||||||
readonly asOngoing: PalletDemocracyReferendumStatus;
|
readonly asOngoing: PalletDemocracyReferendumStatus;
|
||||||
@@ -866,7 +866,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyReferendumStatus (373) */
|
/** @name PalletDemocracyReferendumStatus (375) */
|
||||||
export interface PalletDemocracyReferendumStatus extends Struct {
|
export interface PalletDemocracyReferendumStatus extends Struct {
|
||||||
readonly end: u32;
|
readonly end: u32;
|
||||||
readonly proposalHash: H256;
|
readonly proposalHash: H256;
|
||||||
@@ -875,14 +875,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly tally: PalletDemocracyTally;
|
readonly tally: PalletDemocracyTally;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyTally (374) */
|
/** @name PalletDemocracyTally (376) */
|
||||||
export interface PalletDemocracyTally extends Struct {
|
export interface PalletDemocracyTally extends Struct {
|
||||||
readonly ayes: u128;
|
readonly ayes: u128;
|
||||||
readonly nays: u128;
|
readonly nays: u128;
|
||||||
readonly turnout: u128;
|
readonly turnout: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyVoteVoting (375) */
|
/** @name PalletDemocracyVoteVoting (377) */
|
||||||
export interface PalletDemocracyVoteVoting extends Enum {
|
export interface PalletDemocracyVoteVoting extends Enum {
|
||||||
readonly isDirect: boolean;
|
readonly isDirect: boolean;
|
||||||
readonly asDirect: {
|
readonly asDirect: {
|
||||||
@@ -900,21 +900,21 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyDelegations (378) */
|
/** @name PalletDemocracyDelegations (380) */
|
||||||
export interface PalletDemocracyDelegations extends Struct {
|
export interface PalletDemocracyDelegations extends Struct {
|
||||||
readonly votes: u128;
|
readonly votes: u128;
|
||||||
readonly capital: u128;
|
readonly capital: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletDemocracyVotePriorLock (379) */
|
/** @name PalletDemocracyVotePriorLock (381) */
|
||||||
export interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {}
|
export interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {}
|
||||||
|
|
||||||
/** @name PalletDemocracyReleases (382) */
|
/** @name PalletDemocracyReleases (384) */
|
||||||
export interface PalletDemocracyReleases extends Enum {
|
export interface PalletDemocracyReleases extends Enum {
|
||||||
readonly isV1: boolean;
|
readonly isV1: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletCollectiveVotes (385) */
|
/** @name PalletCollectiveVotes (387) */
|
||||||
export interface PalletCollectiveVotes extends Struct {
|
export interface PalletCollectiveVotes extends Struct {
|
||||||
readonly index: u32;
|
readonly index: u32;
|
||||||
readonly threshold: u32;
|
readonly threshold: u32;
|
||||||
@@ -923,21 +923,21 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly end: u32;
|
readonly end: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionsPhragmenSeatHolder (390) */
|
/** @name PalletElectionsPhragmenSeatHolder (392) */
|
||||||
export interface PalletElectionsPhragmenSeatHolder extends Struct {
|
export interface PalletElectionsPhragmenSeatHolder extends Struct {
|
||||||
readonly who: AccountId32;
|
readonly who: AccountId32;
|
||||||
readonly stake: u128;
|
readonly stake: u128;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionsPhragmenVoter (391) */
|
/** @name PalletElectionsPhragmenVoter (393) */
|
||||||
export interface PalletElectionsPhragmenVoter extends Struct {
|
export interface PalletElectionsPhragmenVoter extends Struct {
|
||||||
readonly votes: Vec<AccountId32>;
|
readonly votes: Vec<AccountId32>;
|
||||||
readonly stake: u128;
|
readonly stake: u128;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGrandpaStoredState (394) */
|
/** @name PalletGrandpaStoredState (396) */
|
||||||
export interface PalletGrandpaStoredState extends Enum {
|
export interface PalletGrandpaStoredState extends Enum {
|
||||||
readonly isLive: boolean;
|
readonly isLive: boolean;
|
||||||
readonly isPendingPause: boolean;
|
readonly isPendingPause: boolean;
|
||||||
@@ -953,7 +953,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGrandpaStoredPendingChange (395) */
|
/** @name PalletGrandpaStoredPendingChange (397) */
|
||||||
export interface PalletGrandpaStoredPendingChange extends Struct {
|
export interface PalletGrandpaStoredPendingChange extends Struct {
|
||||||
readonly scheduledAt: u32;
|
readonly scheduledAt: u32;
|
||||||
readonly delay: u32;
|
readonly delay: u32;
|
||||||
@@ -961,7 +961,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly forced: Option<u32>;
|
readonly forced: Option<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTreasuryProposal (398) */
|
/** @name PalletTreasuryProposal (400) */
|
||||||
export interface PalletTreasuryProposal extends Struct {
|
export interface PalletTreasuryProposal extends Struct {
|
||||||
readonly proposer: AccountId32;
|
readonly proposer: AccountId32;
|
||||||
readonly value: u128;
|
readonly value: u128;
|
||||||
@@ -969,10 +969,10 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly bond: u128;
|
readonly bond: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSupportPalletId (401) */
|
/** @name FrameSupportPalletId (403) */
|
||||||
export interface FrameSupportPalletId extends U8aFixed {}
|
export interface FrameSupportPalletId extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PalletContractsWasmPrefabWasmModule (403) */
|
/** @name PalletContractsWasmPrefabWasmModule (405) */
|
||||||
export interface PalletContractsWasmPrefabWasmModule extends Struct {
|
export interface PalletContractsWasmPrefabWasmModule extends Struct {
|
||||||
readonly instructionWeightsVersion: Compact<u32>;
|
readonly instructionWeightsVersion: Compact<u32>;
|
||||||
readonly initial: Compact<u32>;
|
readonly initial: Compact<u32>;
|
||||||
@@ -983,26 +983,26 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly originalCodeLen: u32;
|
readonly originalCodeLen: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsStorageRawContractInfo (405) */
|
/** @name PalletContractsStorageRawContractInfo (407) */
|
||||||
export interface PalletContractsStorageRawContractInfo extends Struct {
|
export interface PalletContractsStorageRawContractInfo extends Struct {
|
||||||
readonly trieId: Bytes;
|
readonly trieId: Bytes;
|
||||||
readonly codeHash: H256;
|
readonly codeHash: H256;
|
||||||
readonly reserved: Option<Null>;
|
readonly reserved: Option<Null>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsStorageDeletedContract (407) */
|
/** @name PalletContractsStorageDeletedContract (409) */
|
||||||
export interface PalletContractsStorageDeletedContract extends Struct {
|
export interface PalletContractsStorageDeletedContract extends Struct {
|
||||||
readonly trieId: Bytes;
|
readonly trieId: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsSchedule (408) */
|
/** @name PalletContractsSchedule (410) */
|
||||||
export interface PalletContractsSchedule extends Struct {
|
export interface PalletContractsSchedule extends Struct {
|
||||||
readonly limits: PalletContractsScheduleLimits;
|
readonly limits: PalletContractsScheduleLimits;
|
||||||
readonly instructionWeights: PalletContractsScheduleInstructionWeights;
|
readonly instructionWeights: PalletContractsScheduleInstructionWeights;
|
||||||
readonly hostFnWeights: PalletContractsScheduleHostFnWeights;
|
readonly hostFnWeights: PalletContractsScheduleHostFnWeights;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsScheduleLimits (409) */
|
/** @name PalletContractsScheduleLimits (411) */
|
||||||
export interface PalletContractsScheduleLimits extends Struct {
|
export interface PalletContractsScheduleLimits extends Struct {
|
||||||
readonly eventTopics: u32;
|
readonly eventTopics: u32;
|
||||||
readonly stackHeight: u32;
|
readonly stackHeight: u32;
|
||||||
@@ -1017,7 +1017,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly codeLen: u32;
|
readonly codeLen: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsScheduleInstructionWeights (410) */
|
/** @name PalletContractsScheduleInstructionWeights (412) */
|
||||||
export interface PalletContractsScheduleInstructionWeights extends Struct {
|
export interface PalletContractsScheduleInstructionWeights extends Struct {
|
||||||
readonly version: u32;
|
readonly version: u32;
|
||||||
readonly i64Const: u32;
|
readonly i64Const: u32;
|
||||||
@@ -1073,7 +1073,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly i64Rotr: u32;
|
readonly i64Rotr: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsScheduleHostFnWeights (411) */
|
/** @name PalletContractsScheduleHostFnWeights (413) */
|
||||||
export interface PalletContractsScheduleHostFnWeights extends Struct {
|
export interface PalletContractsScheduleHostFnWeights extends Struct {
|
||||||
readonly caller: u64;
|
readonly caller: u64;
|
||||||
readonly address: u64;
|
readonly address: u64;
|
||||||
@@ -1121,40 +1121,40 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly ecdsaRecover: u64;
|
readonly ecdsaRecover: u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletImOnlineBoundedOpaqueNetworkState (417) */
|
/** @name PalletImOnlineBoundedOpaqueNetworkState (419) */
|
||||||
export interface PalletImOnlineBoundedOpaqueNetworkState extends Struct {
|
export interface PalletImOnlineBoundedOpaqueNetworkState extends Struct {
|
||||||
readonly peerId: Bytes;
|
readonly peerId: Bytes;
|
||||||
readonly externalAddresses: Vec<Bytes>;
|
readonly externalAddresses: Vec<Bytes>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpStakingOffenceOffenceDetails (422) */
|
/** @name SpStakingOffenceOffenceDetails (424) */
|
||||||
export interface SpStakingOffenceOffenceDetails extends Struct {
|
export interface SpStakingOffenceOffenceDetails extends Struct {
|
||||||
readonly offender: ITuple<[AccountId32, PalletStakingExposure]>;
|
readonly offender: ITuple<[AccountId32, PalletStakingExposure]>;
|
||||||
readonly reporters: Vec<AccountId32>;
|
readonly reporters: Vec<AccountId32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityRegistration (424) */
|
/** @name PalletIdentityRegistration (426) */
|
||||||
export interface PalletIdentityRegistration extends Struct {
|
export interface PalletIdentityRegistration extends Struct {
|
||||||
readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
|
readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly info: PalletIdentityIdentityInfo;
|
readonly info: PalletIdentityIdentityInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityRegistrarInfo (432) */
|
/** @name PalletIdentityRegistrarInfo (434) */
|
||||||
export interface PalletIdentityRegistrarInfo extends Struct {
|
export interface PalletIdentityRegistrarInfo extends Struct {
|
||||||
readonly account: AccountId32;
|
readonly account: AccountId32;
|
||||||
readonly fee: u128;
|
readonly fee: u128;
|
||||||
readonly fields: PalletIdentityBitFlags;
|
readonly fields: PalletIdentityBitFlags;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyBid (436) */
|
/** @name PalletSocietyBid (438) */
|
||||||
export interface PalletSocietyBid extends Struct {
|
export interface PalletSocietyBid extends Struct {
|
||||||
readonly who: AccountId32;
|
readonly who: AccountId32;
|
||||||
readonly kind: PalletSocietyBidKind;
|
readonly kind: PalletSocietyBidKind;
|
||||||
readonly value: u128;
|
readonly value: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyBidKind (437) */
|
/** @name PalletSocietyBidKind (439) */
|
||||||
export interface PalletSocietyBidKind extends Enum {
|
export interface PalletSocietyBidKind extends Enum {
|
||||||
readonly isDeposit: boolean;
|
readonly isDeposit: boolean;
|
||||||
readonly asDeposit: u128;
|
readonly asDeposit: u128;
|
||||||
@@ -1162,20 +1162,20 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asVouch: ITuple<[AccountId32, u128]>;
|
readonly asVouch: ITuple<[AccountId32, u128]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyVouchingStatus (439) */
|
/** @name PalletSocietyVouchingStatus (441) */
|
||||||
export interface PalletSocietyVouchingStatus extends Enum {
|
export interface PalletSocietyVouchingStatus extends Enum {
|
||||||
readonly isVouching: boolean;
|
readonly isVouching: boolean;
|
||||||
readonly isBanned: boolean;
|
readonly isBanned: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyVote (443) */
|
/** @name PalletSocietyVote (445) */
|
||||||
export interface PalletSocietyVote extends Enum {
|
export interface PalletSocietyVote extends Enum {
|
||||||
readonly isSkeptic: boolean;
|
readonly isSkeptic: boolean;
|
||||||
readonly isReject: boolean;
|
readonly isReject: boolean;
|
||||||
readonly isApprove: boolean;
|
readonly isApprove: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRecoveryRecoveryConfig (445) */
|
/** @name PalletRecoveryRecoveryConfig (447) */
|
||||||
export interface PalletRecoveryRecoveryConfig extends Struct {
|
export interface PalletRecoveryRecoveryConfig extends Struct {
|
||||||
readonly delayPeriod: u32;
|
readonly delayPeriod: u32;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
@@ -1183,20 +1183,20 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly threshold: u16;
|
readonly threshold: u16;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRecoveryActiveRecovery (446) */
|
/** @name PalletRecoveryActiveRecovery (448) */
|
||||||
export interface PalletRecoveryActiveRecovery extends Struct {
|
export interface PalletRecoveryActiveRecovery extends Struct {
|
||||||
readonly created: u32;
|
readonly created: u32;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly friends: Vec<AccountId32>;
|
readonly friends: Vec<AccountId32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletVestingReleases (450) */
|
/** @name PalletVestingReleases (452) */
|
||||||
export interface PalletVestingReleases extends Enum {
|
export interface PalletVestingReleases extends Enum {
|
||||||
readonly isV0: boolean;
|
readonly isV0: boolean;
|
||||||
readonly isV1: boolean;
|
readonly isV1: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSchedulerScheduledV2 (454) */
|
/** @name PalletSchedulerScheduledV2 (456) */
|
||||||
export interface PalletSchedulerScheduledV2 extends Struct {
|
export interface PalletSchedulerScheduledV2 extends Struct {
|
||||||
readonly maybeId: Option<Bytes>;
|
readonly maybeId: Option<Bytes>;
|
||||||
readonly priority: u8;
|
readonly priority: u8;
|
||||||
@@ -1205,7 +1205,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly origin: NodeRuntimeOriginCaller;
|
readonly origin: NodeRuntimeOriginCaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name NodeRuntimeOriginCaller (455) */
|
/** @name NodeRuntimeOriginCaller (457) */
|
||||||
export interface NodeRuntimeOriginCaller extends Enum {
|
export interface NodeRuntimeOriginCaller extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSystemRawOrigin;
|
readonly asSystem: FrameSystemRawOrigin;
|
||||||
@@ -1226,7 +1226,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asTechnicalCommittee: PalletCollectiveRawOrigin;
|
readonly asTechnicalCommittee: PalletCollectiveRawOrigin;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSystemRawOrigin (456) */
|
/** @name FrameSystemRawOrigin (458) */
|
||||||
export interface FrameSystemRawOrigin extends Enum {
|
export interface FrameSystemRawOrigin extends Enum {
|
||||||
readonly isRoot: boolean;
|
readonly isRoot: boolean;
|
||||||
readonly isSigned: boolean;
|
readonly isSigned: boolean;
|
||||||
@@ -1234,7 +1234,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isNone: boolean;
|
readonly isNone: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletCollectiveRawOrigin (457) */
|
/** @name PalletCollectiveRawOrigin (459) */
|
||||||
export interface PalletCollectiveRawOrigin extends Enum {
|
export interface PalletCollectiveRawOrigin extends Enum {
|
||||||
readonly isMembers: boolean;
|
readonly isMembers: boolean;
|
||||||
readonly asMembers: ITuple<[u32, u32]>;
|
readonly asMembers: ITuple<[u32, u32]>;
|
||||||
@@ -1243,30 +1243,30 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isPhantom: boolean;
|
readonly isPhantom: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpCoreVoid (459) */
|
/** @name SpCoreVoid (461) */
|
||||||
export type SpCoreVoid = Null;
|
export type SpCoreVoid = Null;
|
||||||
|
|
||||||
/** @name PalletSchedulerReleases (460) */
|
/** @name PalletSchedulerReleases (462) */
|
||||||
export interface PalletSchedulerReleases extends Enum {
|
export interface PalletSchedulerReleases extends Enum {
|
||||||
readonly isV1: boolean;
|
readonly isV1: boolean;
|
||||||
readonly isV2: boolean;
|
readonly isV2: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletProxyProxyDefinition (464) */
|
/** @name PalletProxyProxyDefinition (466) */
|
||||||
export interface PalletProxyProxyDefinition extends Struct {
|
export interface PalletProxyProxyDefinition extends Struct {
|
||||||
readonly delegate: AccountId32;
|
readonly delegate: AccountId32;
|
||||||
readonly proxyType: NodeRuntimeProxyType;
|
readonly proxyType: NodeRuntimeProxyType;
|
||||||
readonly delay: u32;
|
readonly delay: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletProxyAnnouncement (468) */
|
/** @name PalletProxyAnnouncement (470) */
|
||||||
export interface PalletProxyAnnouncement extends Struct {
|
export interface PalletProxyAnnouncement extends Struct {
|
||||||
readonly real: AccountId32;
|
readonly real: AccountId32;
|
||||||
readonly callHash: H256;
|
readonly callHash: H256;
|
||||||
readonly height: u32;
|
readonly height: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletMultisigMultisig (472) */
|
/** @name PalletMultisigMultisig (474) */
|
||||||
export interface PalletMultisigMultisig extends Struct {
|
export interface PalletMultisigMultisig extends Struct {
|
||||||
readonly when: PalletMultisigTimepoint;
|
readonly when: PalletMultisigTimepoint;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
@@ -1274,7 +1274,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly approvals: Vec<AccountId32>;
|
readonly approvals: Vec<AccountId32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBountiesBounty (475) */
|
/** @name PalletBountiesBounty (477) */
|
||||||
export interface PalletBountiesBounty extends Struct {
|
export interface PalletBountiesBounty extends Struct {
|
||||||
readonly proposer: AccountId32;
|
readonly proposer: AccountId32;
|
||||||
readonly value: u128;
|
readonly value: u128;
|
||||||
@@ -1284,7 +1284,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly status: PalletBountiesBountyStatus;
|
readonly status: PalletBountiesBountyStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBountiesBountyStatus (476) */
|
/** @name PalletBountiesBountyStatus (478) */
|
||||||
export interface PalletBountiesBountyStatus extends Enum {
|
export interface PalletBountiesBountyStatus extends Enum {
|
||||||
readonly isProposed: boolean;
|
readonly isProposed: boolean;
|
||||||
readonly isApproved: boolean;
|
readonly isApproved: boolean;
|
||||||
@@ -1306,7 +1306,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTipsOpenTip (478) */
|
/** @name PalletTipsOpenTip (480) */
|
||||||
export interface PalletTipsOpenTip extends Struct {
|
export interface PalletTipsOpenTip extends Struct {
|
||||||
readonly reason: H256;
|
readonly reason: H256;
|
||||||
readonly who: AccountId32;
|
readonly who: AccountId32;
|
||||||
@@ -1317,7 +1317,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly findersFee: bool;
|
readonly findersFee: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAssetsAssetDetails (480) */
|
/** @name PalletAssetsAssetDetails (482) */
|
||||||
export interface PalletAssetsAssetDetails extends Struct {
|
export interface PalletAssetsAssetDetails extends Struct {
|
||||||
readonly owner: AccountId32;
|
readonly owner: AccountId32;
|
||||||
readonly issuer: AccountId32;
|
readonly issuer: AccountId32;
|
||||||
@@ -1333,7 +1333,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isFrozen: bool;
|
readonly isFrozen: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAssetsAssetBalance (481) */
|
/** @name PalletAssetsAssetBalance (483) */
|
||||||
export interface PalletAssetsAssetBalance extends Struct {
|
export interface PalletAssetsAssetBalance extends Struct {
|
||||||
readonly balance: u64;
|
readonly balance: u64;
|
||||||
readonly isFrozen: bool;
|
readonly isFrozen: bool;
|
||||||
@@ -1341,13 +1341,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly extra: Null;
|
readonly extra: Null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAssetsApproval (483) */
|
/** @name PalletAssetsApproval (485) */
|
||||||
export interface PalletAssetsApproval extends Struct {
|
export interface PalletAssetsApproval extends Struct {
|
||||||
readonly amount: u64;
|
readonly amount: u64;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAssetsAssetMetadata (484) */
|
/** @name PalletAssetsAssetMetadata (486) */
|
||||||
export interface PalletAssetsAssetMetadata extends Struct {
|
export interface PalletAssetsAssetMetadata extends Struct {
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly name: Bytes;
|
readonly name: Bytes;
|
||||||
@@ -1356,7 +1356,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isFrozen: bool;
|
readonly isFrozen: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletLotteryLotteryConfig (486) */
|
/** @name PalletLotteryLotteryConfig (488) */
|
||||||
export interface PalletLotteryLotteryConfig extends Struct {
|
export interface PalletLotteryLotteryConfig extends Struct {
|
||||||
readonly price: u128;
|
readonly price: u128;
|
||||||
readonly start: u32;
|
readonly start: u32;
|
||||||
@@ -1365,13 +1365,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly repeat: bool;
|
readonly repeat: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGiltGiltBid (491) */
|
/** @name PalletGiltGiltBid (493) */
|
||||||
export interface PalletGiltGiltBid extends Struct {
|
export interface PalletGiltGiltBid extends Struct {
|
||||||
readonly amount: u128;
|
readonly amount: u128;
|
||||||
readonly who: AccountId32;
|
readonly who: AccountId32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGiltActiveGiltsTotal (492) */
|
/** @name PalletGiltActiveGiltsTotal (494) */
|
||||||
export interface PalletGiltActiveGiltsTotal extends Struct {
|
export interface PalletGiltActiveGiltsTotal extends Struct {
|
||||||
readonly frozen: u128;
|
readonly frozen: u128;
|
||||||
readonly proportion: Perquintill;
|
readonly proportion: Perquintill;
|
||||||
@@ -1379,7 +1379,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly target: Perquintill;
|
readonly target: Perquintill;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGiltActiveGilt (493) */
|
/** @name PalletGiltActiveGilt (495) */
|
||||||
export interface PalletGiltActiveGilt extends Struct {
|
export interface PalletGiltActiveGilt extends Struct {
|
||||||
readonly proportion: Perquintill;
|
readonly proportion: Perquintill;
|
||||||
readonly amount: u128;
|
readonly amount: u128;
|
||||||
@@ -1387,7 +1387,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly expiry: u32;
|
readonly expiry: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletUniquesClassDetails (495) */
|
/** @name PalletUniquesClassDetails (497) */
|
||||||
export interface PalletUniquesClassDetails extends Struct {
|
export interface PalletUniquesClassDetails extends Struct {
|
||||||
readonly owner: AccountId32;
|
readonly owner: AccountId32;
|
||||||
readonly issuer: AccountId32;
|
readonly issuer: AccountId32;
|
||||||
@@ -1401,7 +1401,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isFrozen: bool;
|
readonly isFrozen: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletUniquesInstanceDetails (497) */
|
/** @name PalletUniquesInstanceDetails (499) */
|
||||||
export interface PalletUniquesInstanceDetails extends Struct {
|
export interface PalletUniquesInstanceDetails extends Struct {
|
||||||
readonly owner: AccountId32;
|
readonly owner: AccountId32;
|
||||||
readonly approved: Option<AccountId32>;
|
readonly approved: Option<AccountId32>;
|
||||||
@@ -1409,21 +1409,21 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletUniquesClassMetadata (498) */
|
/** @name PalletUniquesClassMetadata (500) */
|
||||||
export interface PalletUniquesClassMetadata extends Struct {
|
export interface PalletUniquesClassMetadata extends Struct {
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly data: Bytes;
|
readonly data: Bytes;
|
||||||
readonly isFrozen: bool;
|
readonly isFrozen: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletUniquesInstanceMetadata (499) */
|
/** @name PalletUniquesInstanceMetadata (501) */
|
||||||
export interface PalletUniquesInstanceMetadata extends Struct {
|
export interface PalletUniquesInstanceMetadata extends Struct {
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly data: Bytes;
|
readonly data: Bytes;
|
||||||
readonly isFrozen: bool;
|
readonly isFrozen: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionStorageTransactionInfo (504) */
|
/** @name PalletTransactionStorageTransactionInfo (506) */
|
||||||
export interface PalletTransactionStorageTransactionInfo extends Struct {
|
export interface PalletTransactionStorageTransactionInfo extends Struct {
|
||||||
readonly chunkRoot: H256;
|
readonly chunkRoot: H256;
|
||||||
readonly contentHash: H256;
|
readonly contentHash: H256;
|
||||||
@@ -1431,7 +1431,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly blockChunks: u32;
|
readonly blockChunks: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBagsListListNode (506) */
|
/** @name PalletBagsListListNode (508) */
|
||||||
export interface PalletBagsListListNode extends Struct {
|
export interface PalletBagsListListNode extends Struct {
|
||||||
readonly id: AccountId32;
|
readonly id: AccountId32;
|
||||||
readonly prev: Option<AccountId32>;
|
readonly prev: Option<AccountId32>;
|
||||||
@@ -1439,13 +1439,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly bagUpper: u64;
|
readonly bagUpper: u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBagsListListBag (507) */
|
/** @name PalletBagsListListBag (509) */
|
||||||
export interface PalletBagsListListBag extends Struct {
|
export interface PalletBagsListListBag extends Struct {
|
||||||
readonly head: Option<AccountId32>;
|
readonly head: Option<AccountId32>;
|
||||||
readonly tail: Option<AccountId32>;
|
readonly tail: Option<AccountId32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpRuntimeMultiSignature (510) */
|
/** @name SpRuntimeMultiSignature (512) */
|
||||||
export interface SpRuntimeMultiSignature extends Enum {
|
export interface SpRuntimeMultiSignature extends Enum {
|
||||||
readonly isEd25519: boolean;
|
readonly isEd25519: boolean;
|
||||||
readonly asEd25519: SpCoreEd25519Signature;
|
readonly asEd25519: SpCoreEd25519Signature;
|
||||||
@@ -1455,28 +1455,28 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asEcdsa: SpCoreEcdsaSignature;
|
readonly asEcdsa: SpCoreEcdsaSignature;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpCoreEcdsaSignature (511) */
|
/** @name SpCoreEcdsaSignature (513) */
|
||||||
export interface SpCoreEcdsaSignature extends U8aFixed {}
|
export interface SpCoreEcdsaSignature extends U8aFixed {}
|
||||||
|
|
||||||
/** @name FrameSystemExtensionsCheckSpecVersion (514) */
|
/** @name FrameSystemExtensionsCheckSpecVersion (516) */
|
||||||
export type FrameSystemExtensionsCheckSpecVersion = Null;
|
export type FrameSystemExtensionsCheckSpecVersion = Null;
|
||||||
|
|
||||||
/** @name FrameSystemExtensionsCheckTxVersion (515) */
|
/** @name FrameSystemExtensionsCheckTxVersion (517) */
|
||||||
export type FrameSystemExtensionsCheckTxVersion = Null;
|
export type FrameSystemExtensionsCheckTxVersion = Null;
|
||||||
|
|
||||||
/** @name FrameSystemExtensionsCheckGenesis (516) */
|
/** @name FrameSystemExtensionsCheckGenesis (518) */
|
||||||
export type FrameSystemExtensionsCheckGenesis = Null;
|
export type FrameSystemExtensionsCheckGenesis = Null;
|
||||||
|
|
||||||
/** @name FrameSystemExtensionsCheckNonce (519) */
|
/** @name FrameSystemExtensionsCheckNonce (521) */
|
||||||
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
|
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
|
||||||
|
|
||||||
/** @name FrameSystemExtensionsCheckWeight (520) */
|
/** @name FrameSystemExtensionsCheckWeight (522) */
|
||||||
export type FrameSystemExtensionsCheckWeight = Null;
|
export type FrameSystemExtensionsCheckWeight = Null;
|
||||||
|
|
||||||
/** @name PalletTransactionPaymentChargeTransactionPayment (521) */
|
/** @name PalletTransactionPaymentChargeTransactionPayment (523) */
|
||||||
export interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
|
export interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
|
||||||
|
|
||||||
/** @name NodeRuntimeRuntime (522) */
|
/** @name NodeRuntimeRuntime (524) */
|
||||||
export type NodeRuntimeRuntime = Null;
|
export type NodeRuntimeRuntime = Null;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ import type { Multiplier } from '@polkadot/types/interfaces/txpayment';
|
|||||||
import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
|
import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
|
||||||
import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
|
import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
|
||||||
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
|
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
|
||||||
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, BodyId, BodyPart, DoubleEncodedCall, Fungibility, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildMultiAsset, WildMultiAssetV1, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
|
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
|
||||||
|
|
||||||
declare module '@polkadot/types/types/registry' {
|
declare module '@polkadot/types/types/registry' {
|
||||||
export interface InterfaceTypes {
|
export interface InterfaceTypes {
|
||||||
@@ -104,6 +104,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
AssetInstance: AssetInstance;
|
AssetInstance: AssetInstance;
|
||||||
AssetInstanceV0: AssetInstanceV0;
|
AssetInstanceV0: AssetInstanceV0;
|
||||||
AssetInstanceV1: AssetInstanceV1;
|
AssetInstanceV1: AssetInstanceV1;
|
||||||
|
AssetInstanceV2: AssetInstanceV2;
|
||||||
AssetMetadata: AssetMetadata;
|
AssetMetadata: AssetMetadata;
|
||||||
AssetOptions: AssetOptions;
|
AssetOptions: AssetOptions;
|
||||||
AssignmentId: AssignmentId;
|
AssignmentId: AssignmentId;
|
||||||
@@ -406,6 +407,9 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
FundIndex: FundIndex;
|
FundIndex: FundIndex;
|
||||||
FundInfo: FundInfo;
|
FundInfo: FundInfo;
|
||||||
Fungibility: Fungibility;
|
Fungibility: Fungibility;
|
||||||
|
FungibilityV0: FungibilityV0;
|
||||||
|
FungibilityV1: FungibilityV1;
|
||||||
|
FungibilityV2: FungibilityV2;
|
||||||
Gas: Gas;
|
Gas: Gas;
|
||||||
GiltBid: GiltBid;
|
GiltBid: GiltBid;
|
||||||
GlobalValidationData: GlobalValidationData;
|
GlobalValidationData: GlobalValidationData;
|
||||||
@@ -1020,8 +1024,12 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
WeightPerClass: WeightPerClass;
|
WeightPerClass: WeightPerClass;
|
||||||
WeightToFeeCoefficient: WeightToFeeCoefficient;
|
WeightToFeeCoefficient: WeightToFeeCoefficient;
|
||||||
WildFungibility: WildFungibility;
|
WildFungibility: WildFungibility;
|
||||||
|
WildFungibilityV0: WildFungibilityV0;
|
||||||
|
WildFungibilityV1: WildFungibilityV1;
|
||||||
|
WildFungibilityV2: WildFungibilityV2;
|
||||||
WildMultiAsset: WildMultiAsset;
|
WildMultiAsset: WildMultiAsset;
|
||||||
WildMultiAssetV1: WildMultiAssetV1;
|
WildMultiAssetV1: WildMultiAssetV1;
|
||||||
|
WildMultiAssetV2: WildMultiAssetV2;
|
||||||
WinnersData: WinnersData;
|
WinnersData: WinnersData;
|
||||||
WinnersDataTuple: WinnersDataTuple;
|
WinnersDataTuple: WinnersDataTuple;
|
||||||
WinningData: WinningData;
|
WinningData: WinningData;
|
||||||
@@ -1036,6 +1044,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
XcmOrder: XcmOrder;
|
XcmOrder: XcmOrder;
|
||||||
XcmOrderV0: XcmOrderV0;
|
XcmOrderV0: XcmOrderV0;
|
||||||
XcmOrderV1: XcmOrderV1;
|
XcmOrderV1: XcmOrderV1;
|
||||||
|
XcmOrderV2: XcmOrderV2;
|
||||||
XcmOrigin: XcmOrigin;
|
XcmOrigin: XcmOrigin;
|
||||||
XcmOriginKind: XcmOriginKind;
|
XcmOriginKind: XcmOriginKind;
|
||||||
XcmpMessageFormat: XcmpMessageFormat;
|
XcmpMessageFormat: XcmpMessageFormat;
|
||||||
|
|||||||
@@ -327,10 +327,17 @@ export class TypeRegistry implements Registry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public getClassName (Type: Constructor): string | undefined {
|
public getClassName (Type: Constructor): string | undefined {
|
||||||
const entry = [...this.#classes.entries()].find(([, Clazz]) => Type === Clazz);
|
// we cannot rely on export order (anymore, since babel/core 7.15.8), so in the case of
|
||||||
|
// items such as u32 & U32, we get the lowercase versions here... not quite as optimal
|
||||||
|
// (previously this used to be a simple find & return)
|
||||||
|
const names = [...this.#classes.entries()]
|
||||||
|
.filter(([, Clazz]) => Type === Clazz)
|
||||||
|
.map(([name]) => name)
|
||||||
|
.sort()
|
||||||
|
.reverse();
|
||||||
|
|
||||||
return entry
|
return names.length
|
||||||
? entry[0]
|
? names[0]
|
||||||
: undefined;
|
: undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,12 +57,25 @@ function matchParts (first: string[], second: (string | Text)[]): boolean {
|
|||||||
return first.length === second.length && first.every((a, index) => {
|
return first.length === second.length && first.every((a, index) => {
|
||||||
const b = second[index].toString();
|
const b = second[index].toString();
|
||||||
|
|
||||||
return (a === '*') || (a === b) || (
|
if ((a === '*') || (a === b)) {
|
||||||
a.includes('*') &&
|
return true;
|
||||||
a.includes('_') &&
|
}
|
||||||
b.includes('_') &&
|
|
||||||
matchParts(a.split('_'), b.split('_'))
|
if (a.includes('*') && a.includes('_') && b.includes('_')) {
|
||||||
);
|
const suba = a.split('_');
|
||||||
|
const subb = b.split('_');
|
||||||
|
|
||||||
|
if (suba[0] === '*') {
|
||||||
|
// the first parts where the length is greater is always a match
|
||||||
|
while (suba.length < subb.length) {
|
||||||
|
subb.shift();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return matchParts(suba, subb);
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,19 +1,28 @@
|
|||||||
// 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 */
|
||||||
|
|
||||||
export * from './runtime/types';
|
|
||||||
export * from './assets/types';
|
export * from './assets/types';
|
||||||
export * from './authorship/types';
|
export * from './attestations/types';
|
||||||
export * from './aura/types';
|
export * from './aura/types';
|
||||||
|
export * from './author/types';
|
||||||
|
export * from './authorship/types';
|
||||||
export * from './babe/types';
|
export * from './babe/types';
|
||||||
export * from './balances/types';
|
export * from './balances/types';
|
||||||
export * from './beefy/types';
|
export * from './beefy/types';
|
||||||
|
export * from './bridges/types';
|
||||||
|
export * from './chain/types';
|
||||||
|
export * from './childstate/types';
|
||||||
|
export * from './claims/types';
|
||||||
export * from './collective/types';
|
export * from './collective/types';
|
||||||
export * from './consensus/types';
|
export * from './consensus/types';
|
||||||
export * from './contracts/types';
|
export * from './contracts/types';
|
||||||
|
export * from './contractsAbi/types';
|
||||||
|
export * from './crowdloan/types';
|
||||||
|
export * from './cumulus/types';
|
||||||
export * from './democracy/types';
|
export * from './democracy/types';
|
||||||
export * from './elections/types';
|
export * from './elections/types';
|
||||||
export * from './engine/types';
|
export * from './engine/types';
|
||||||
|
export * from './eth/types';
|
||||||
export * from './evm/types';
|
export * from './evm/types';
|
||||||
export * from './extrinsics/types';
|
export * from './extrinsics/types';
|
||||||
export * from './genericAsset/types';
|
export * from './genericAsset/types';
|
||||||
@@ -22,14 +31,24 @@ export * from './grandpa/types';
|
|||||||
export * from './identity/types';
|
export * from './identity/types';
|
||||||
export * from './imOnline/types';
|
export * from './imOnline/types';
|
||||||
export * from './lottery/types';
|
export * from './lottery/types';
|
||||||
|
export * from './metadata/types';
|
||||||
export * from './mmr/types';
|
export * from './mmr/types';
|
||||||
|
export * from './offchain/types';
|
||||||
export * from './offences/types';
|
export * from './offences/types';
|
||||||
|
export * from './parachains/types';
|
||||||
|
export * from './payment/types';
|
||||||
|
export * from './poll/types';
|
||||||
export * from './proxy/types';
|
export * from './proxy/types';
|
||||||
|
export * from './purchase/types';
|
||||||
export * from './recovery/types';
|
export * from './recovery/types';
|
||||||
|
export * from './rpc/types';
|
||||||
|
export * from './runtime/types';
|
||||||
|
export * from './scaleInfo/types';
|
||||||
export * from './scheduler/types';
|
export * from './scheduler/types';
|
||||||
export * from './session/types';
|
export * from './session/types';
|
||||||
export * from './society/types';
|
export * from './society/types';
|
||||||
export * from './staking/types';
|
export * from './staking/types';
|
||||||
|
export * from './state/types';
|
||||||
export * from './support/types';
|
export * from './support/types';
|
||||||
export * from './syncstate/types';
|
export * from './syncstate/types';
|
||||||
export * from './system/types';
|
export * from './system/types';
|
||||||
@@ -38,23 +57,4 @@ export * from './txpayment/types';
|
|||||||
export * from './uniques/types';
|
export * from './uniques/types';
|
||||||
export * from './utility/types';
|
export * from './utility/types';
|
||||||
export * from './vesting/types';
|
export * from './vesting/types';
|
||||||
export * from './attestations/types';
|
|
||||||
export * from './bridges/types';
|
|
||||||
export * from './claims/types';
|
|
||||||
export * from './crowdloan/types';
|
|
||||||
export * from './cumulus/types';
|
|
||||||
export * from './parachains/types';
|
|
||||||
export * from './poll/types';
|
|
||||||
export * from './purchase/types';
|
|
||||||
export * from './xcm/types';
|
export * from './xcm/types';
|
||||||
export * from './contractsAbi/types';
|
|
||||||
export * from './scaleInfo/types';
|
|
||||||
export * from './eth/types';
|
|
||||||
export * from './metadata/types';
|
|
||||||
export * from './rpc/types';
|
|
||||||
export * from './author/types';
|
|
||||||
export * from './chain/types';
|
|
||||||
export * from './childstate/types';
|
|
||||||
export * from './offchain/types';
|
|
||||||
export * from './payment/types';
|
|
||||||
export * from './state/types';
|
|
||||||
|
|||||||
@@ -10,44 +10,39 @@ import { v0 } from './v0';
|
|||||||
import { v1 } from './v1';
|
import { v1 } from './v1';
|
||||||
import { v2 } from './v2';
|
import { v2 } from './v2';
|
||||||
|
|
||||||
|
export const XCM_MAPPINGS = ['AssetInstance', 'Fungibility', 'Junction', 'Junctions', 'MultiAsset', 'MultiAssetFilter', 'MultiLocation', 'Response', 'WildFungibility', 'WildMultiAsset', 'Xcm', 'XcmError', 'XcmOrder'];
|
||||||
|
|
||||||
|
const XCM_LATEST = 'V2';
|
||||||
|
|
||||||
|
export function mapXcm (version: 'V0' | 'V1' | 'V2'): Record<string, string> {
|
||||||
|
return XCM_MAPPINGS.reduce<Record<string, string>>((all, key) => ({
|
||||||
|
...all,
|
||||||
|
[key]: `${key}${version}`
|
||||||
|
}), {});
|
||||||
|
}
|
||||||
|
|
||||||
const xcm = {
|
const xcm = {
|
||||||
XcmOrigin: {
|
XcmOrigin: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Xcm: 'MultiLocation'
|
Xcm: 'MultiLocation'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Xcm: 'XcmV1',
|
|
||||||
XcmpMessageFormat: {
|
XcmpMessageFormat: {
|
||||||
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
|
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
|
||||||
},
|
},
|
||||||
XcmError: 'XcmErrorV1',
|
|
||||||
XcmOrder: 'XcmOrderV1',
|
|
||||||
XcmAssetId: {
|
XcmAssetId: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Concrete: 'MultiLocation',
|
Concrete: 'MultiLocation',
|
||||||
Abstract: 'Bytes'
|
Abstract: 'Bytes'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
AssetInstance: 'AssetInstanceV1',
|
|
||||||
Fungibility: {
|
|
||||||
_enum: {
|
|
||||||
Fungible: 'u128',
|
|
||||||
NonFungible: 'AssetInstance'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
InboundStatus: {
|
InboundStatus: {
|
||||||
_enum: ['Ok', 'Suspended']
|
_enum: ['Ok', 'Suspended']
|
||||||
},
|
},
|
||||||
OutboundStatus: {
|
OutboundStatus: {
|
||||||
_enum: ['Ok', 'Suspended']
|
_enum: ['Ok', 'Suspended']
|
||||||
},
|
},
|
||||||
MultiAssetFilter: 'MultiAssetFilterV1',
|
MultiAssets: 'Vec<MultiAsset>'
|
||||||
MultiAsset: 'MultiAssetV1',
|
|
||||||
MultiAssets: 'Vec<MultiAsset>',
|
|
||||||
WildFungibility: {
|
|
||||||
_enum: ['Fungible', 'NonFungible']
|
|
||||||
},
|
|
||||||
WildMultiAsset: 'WildMultiAssetV1'
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const location = {
|
const location = {
|
||||||
@@ -81,9 +76,6 @@ const location = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
InteriorMultiLocation: 'Junctions',
|
InteriorMultiLocation: 'Junctions',
|
||||||
Junction: 'JunctionV1',
|
|
||||||
Junctions: 'JunctionsV1',
|
|
||||||
MultiLocation: 'MultiLocationV1',
|
|
||||||
NetworkId: {
|
NetworkId: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Any: 'Null',
|
Any: 'Null',
|
||||||
@@ -102,13 +94,13 @@ export default {
|
|||||||
...v0,
|
...v0,
|
||||||
...v1,
|
...v1,
|
||||||
...v2,
|
...v2,
|
||||||
|
...mapXcm(XCM_LATEST),
|
||||||
DoubleEncodedCall: {
|
DoubleEncodedCall: {
|
||||||
encoded: 'Vec<u8>'
|
encoded: 'Vec<u8>'
|
||||||
},
|
},
|
||||||
XcmOriginKind: {
|
XcmOriginKind: {
|
||||||
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
|
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
|
||||||
},
|
},
|
||||||
Response: 'ResponseV1',
|
|
||||||
Outcome: {
|
Outcome: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Complete: 'Weight',
|
Complete: 'Weight',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import type { AccountId, BlockNumber, Weight } from '@polkadot/types/interfaces/
|
|||||||
import type { ITuple } from '@polkadot/types/types';
|
import type { ITuple } from '@polkadot/types/types';
|
||||||
|
|
||||||
/** @name AssetInstance */
|
/** @name AssetInstance */
|
||||||
export interface AssetInstance extends AssetInstanceV1 {}
|
export interface AssetInstance extends AssetInstanceV2 {}
|
||||||
|
|
||||||
/** @name AssetInstanceV0 */
|
/** @name AssetInstanceV0 */
|
||||||
export interface AssetInstanceV0 extends Enum {
|
export interface AssetInstanceV0 extends Enum {
|
||||||
@@ -50,6 +50,9 @@ export interface AssetInstanceV1 extends Enum {
|
|||||||
readonly asBlob: Bytes;
|
readonly asBlob: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name AssetInstanceV2 */
|
||||||
|
export interface AssetInstanceV2 extends AssetInstanceV1 {}
|
||||||
|
|
||||||
/** @name BodyId */
|
/** @name BodyId */
|
||||||
export interface BodyId extends Enum {
|
export interface BodyId extends Enum {
|
||||||
readonly isUnit: boolean;
|
readonly isUnit: boolean;
|
||||||
@@ -91,13 +94,22 @@ export interface DoubleEncodedCall extends Struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @name Fungibility */
|
/** @name Fungibility */
|
||||||
export interface Fungibility extends Enum {
|
export interface Fungibility extends FungibilityV2 {}
|
||||||
|
|
||||||
|
/** @name FungibilityV0 */
|
||||||
|
export interface FungibilityV0 extends FungibilityV1 {}
|
||||||
|
|
||||||
|
/** @name FungibilityV1 */
|
||||||
|
export interface FungibilityV1 extends Enum {
|
||||||
readonly isFungible: boolean;
|
readonly isFungible: boolean;
|
||||||
readonly asFungible: u128;
|
readonly asFungible: Compact<u128>;
|
||||||
readonly isNonFungible: boolean;
|
readonly isNonFungible: boolean;
|
||||||
readonly asNonFungible: AssetInstance;
|
readonly asNonFungible: AssetInstanceV1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name FungibilityV2 */
|
||||||
|
export interface FungibilityV2 extends FungibilityV1 {}
|
||||||
|
|
||||||
/** @name InboundStatus */
|
/** @name InboundStatus */
|
||||||
export interface InboundStatus extends Enum {
|
export interface InboundStatus extends Enum {
|
||||||
readonly isOk: boolean;
|
readonly isOk: boolean;
|
||||||
@@ -221,10 +233,10 @@ export interface InstructionV2 extends Enum {
|
|||||||
export interface InteriorMultiLocation extends Junctions {}
|
export interface InteriorMultiLocation extends Junctions {}
|
||||||
|
|
||||||
/** @name Junction */
|
/** @name Junction */
|
||||||
export interface Junction extends JunctionV1 {}
|
export interface Junction extends JunctionV2 {}
|
||||||
|
|
||||||
/** @name Junctions */
|
/** @name Junctions */
|
||||||
export interface Junctions extends JunctionsV1 {}
|
export interface Junctions extends JunctionsV2 {}
|
||||||
|
|
||||||
/** @name JunctionsV1 */
|
/** @name JunctionsV1 */
|
||||||
export interface JunctionsV1 extends Enum {
|
export interface JunctionsV1 extends Enum {
|
||||||
@@ -321,10 +333,10 @@ export interface JunctionV1 extends Enum {
|
|||||||
export interface JunctionV2 extends JunctionV1 {}
|
export interface JunctionV2 extends JunctionV1 {}
|
||||||
|
|
||||||
/** @name MultiAsset */
|
/** @name MultiAsset */
|
||||||
export interface MultiAsset extends MultiAssetV1 {}
|
export interface MultiAsset extends MultiAssetV2 {}
|
||||||
|
|
||||||
/** @name MultiAssetFilter */
|
/** @name MultiAssetFilter */
|
||||||
export interface MultiAssetFilter extends MultiAssetFilterV1 {}
|
export interface MultiAssetFilter extends MultiAssetFilterV2 {}
|
||||||
|
|
||||||
/** @name MultiAssetFilterV1 */
|
/** @name MultiAssetFilterV1 */
|
||||||
export interface MultiAssetFilterV1 extends Enum {
|
export interface MultiAssetFilterV1 extends Enum {
|
||||||
@@ -385,14 +397,14 @@ export interface MultiAssetV0 extends Enum {
|
|||||||
/** @name MultiAssetV1 */
|
/** @name MultiAssetV1 */
|
||||||
export interface MultiAssetV1 extends Struct {
|
export interface MultiAssetV1 extends Struct {
|
||||||
readonly id: XcmAssetId;
|
readonly id: XcmAssetId;
|
||||||
readonly fungibility: Fungibility;
|
readonly fungibility: FungibilityV1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name MultiAssetV2 */
|
/** @name MultiAssetV2 */
|
||||||
export interface MultiAssetV2 extends MultiAssetV1 {}
|
export interface MultiAssetV2 extends MultiAssetV1 {}
|
||||||
|
|
||||||
/** @name MultiLocation */
|
/** @name MultiLocation */
|
||||||
export interface MultiLocation extends MultiLocationV1 {}
|
export interface MultiLocation extends MultiLocationV2 {}
|
||||||
|
|
||||||
/** @name MultiLocationV0 */
|
/** @name MultiLocationV0 */
|
||||||
export interface MultiLocationV0 extends Enum {
|
export interface MultiLocationV0 extends Enum {
|
||||||
@@ -491,7 +503,7 @@ export interface QueueConfigData extends Struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @name Response */
|
/** @name Response */
|
||||||
export interface Response extends ResponseV1 {}
|
export interface Response extends ResponseV2 {}
|
||||||
|
|
||||||
/** @name ResponseV0 */
|
/** @name ResponseV0 */
|
||||||
export interface ResponseV0 extends Enum {
|
export interface ResponseV0 extends Enum {
|
||||||
@@ -592,13 +604,22 @@ export interface WeightLimitV2 extends Enum {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @name WildFungibility */
|
/** @name WildFungibility */
|
||||||
export interface WildFungibility extends Enum {
|
export interface WildFungibility extends WildFungibilityV2 {}
|
||||||
|
|
||||||
|
/** @name WildFungibilityV0 */
|
||||||
|
export interface WildFungibilityV0 extends WildFungibilityV1 {}
|
||||||
|
|
||||||
|
/** @name WildFungibilityV1 */
|
||||||
|
export interface WildFungibilityV1 extends Enum {
|
||||||
readonly isFungible: boolean;
|
readonly isFungible: boolean;
|
||||||
readonly isNonFungible: boolean;
|
readonly isNonFungible: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name WildFungibilityV2 */
|
||||||
|
export interface WildFungibilityV2 extends WildFungibilityV1 {}
|
||||||
|
|
||||||
/** @name WildMultiAsset */
|
/** @name WildMultiAsset */
|
||||||
export interface WildMultiAsset extends WildMultiAssetV1 {}
|
export interface WildMultiAsset extends WildMultiAssetV2 {}
|
||||||
|
|
||||||
/** @name WildMultiAssetV1 */
|
/** @name WildMultiAssetV1 */
|
||||||
export interface WildMultiAssetV1 extends Enum {
|
export interface WildMultiAssetV1 extends Enum {
|
||||||
@@ -606,12 +627,15 @@ export interface WildMultiAssetV1 extends Enum {
|
|||||||
readonly isAllOf: boolean;
|
readonly isAllOf: boolean;
|
||||||
readonly asAllOf: {
|
readonly asAllOf: {
|
||||||
readonly id: XcmAssetId;
|
readonly id: XcmAssetId;
|
||||||
readonly fungibility: WildFungibility;
|
readonly fungibility: WildFungibilityV1;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name WildMultiAssetV2 */
|
||||||
|
export interface WildMultiAssetV2 extends WildMultiAssetV1 {}
|
||||||
|
|
||||||
/** @name Xcm */
|
/** @name Xcm */
|
||||||
export interface Xcm extends XcmV1 {}
|
export interface Xcm extends XcmV2 {}
|
||||||
|
|
||||||
/** @name XcmAssetId */
|
/** @name XcmAssetId */
|
||||||
export interface XcmAssetId extends Enum {
|
export interface XcmAssetId extends Enum {
|
||||||
@@ -622,7 +646,7 @@ export interface XcmAssetId extends Enum {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmError */
|
/** @name XcmError */
|
||||||
export interface XcmError extends XcmErrorV1 {}
|
export interface XcmError extends XcmErrorV2 {}
|
||||||
|
|
||||||
/** @name XcmErrorV0 */
|
/** @name XcmErrorV0 */
|
||||||
export interface XcmErrorV0 extends Enum {
|
export interface XcmErrorV0 extends Enum {
|
||||||
@@ -734,7 +758,7 @@ export interface XcmErrorV2 extends Enum {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmOrder */
|
/** @name XcmOrder */
|
||||||
export interface XcmOrder extends XcmOrderV1 {}
|
export interface XcmOrder extends XcmOrderV2 {}
|
||||||
|
|
||||||
/** @name XcmOrderV0 */
|
/** @name XcmOrderV0 */
|
||||||
export interface XcmOrderV0 extends Enum {
|
export interface XcmOrderV0 extends Enum {
|
||||||
@@ -833,6 +857,9 @@ export interface XcmOrderV1 extends Enum {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name XcmOrderV2 */
|
||||||
|
export interface XcmOrderV2 extends XcmOrderV1 {}
|
||||||
|
|
||||||
/** @name XcmOrigin */
|
/** @name XcmOrigin */
|
||||||
export interface XcmOrigin extends Enum {
|
export interface XcmOrigin extends Enum {
|
||||||
readonly isXcm: boolean;
|
readonly isXcm: boolean;
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
import type { DefinitionsTypes } from '../../types';
|
import type { DefinitionsTypes } from '../../types';
|
||||||
|
|
||||||
export const v0: DefinitionsTypes = {
|
export const v0: DefinitionsTypes = {
|
||||||
|
FungibilityV0: 'FungibilityV1',
|
||||||
|
WildFungibilityV0: 'WildFungibilityV1',
|
||||||
AssetInstanceV0: {
|
AssetInstanceV0: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Undefined: 'Null',
|
Undefined: 'Null',
|
||||||
|
|||||||
@@ -18,6 +18,12 @@ export const v1: DefinitionsTypes = {
|
|||||||
Blob: 'Bytes'
|
Blob: 'Bytes'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
FungibilityV1: {
|
||||||
|
_enum: {
|
||||||
|
Fungible: 'Compact<u128>',
|
||||||
|
NonFungible: 'AssetInstanceV1'
|
||||||
|
}
|
||||||
|
},
|
||||||
JunctionV1: {
|
JunctionV1: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Parachain: 'Compact<u32>',
|
Parachain: 'Compact<u32>',
|
||||||
@@ -59,7 +65,7 @@ export const v1: DefinitionsTypes = {
|
|||||||
MultiAssetsV1: 'Vec<MultiAssetV1>',
|
MultiAssetsV1: 'Vec<MultiAssetV1>',
|
||||||
MultiAssetV1: {
|
MultiAssetV1: {
|
||||||
id: 'XcmAssetId',
|
id: 'XcmAssetId',
|
||||||
fungibility: 'Fungibility'
|
fungibility: 'FungibilityV1'
|
||||||
},
|
},
|
||||||
MultiAssetFilterV1: {
|
MultiAssetFilterV1: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -77,12 +83,15 @@ export const v1: DefinitionsTypes = {
|
|||||||
Assets: 'MultiAssetsV1'
|
Assets: 'MultiAssetsV1'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
WildFungibilityV1: {
|
||||||
|
_enum: ['Fungible', 'NonFungible']
|
||||||
|
},
|
||||||
WildMultiAssetV1: {
|
WildMultiAssetV1: {
|
||||||
_enum: {
|
_enum: {
|
||||||
All: 'Null',
|
All: 'Null',
|
||||||
AllOf: {
|
AllOf: {
|
||||||
id: 'XcmAssetId',
|
id: 'XcmAssetId',
|
||||||
fungibility: 'WildFungibility'
|
fungibility: 'WildFungibilityV1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
import type { DefinitionsTypes } from '../../types';
|
import type { DefinitionsTypes } from '../../types';
|
||||||
|
|
||||||
export const v2: DefinitionsTypes = {
|
export const v2: DefinitionsTypes = {
|
||||||
|
AssetInstanceV2: 'AssetInstanceV1',
|
||||||
|
FungibilityV2: 'FungibilityV1',
|
||||||
JunctionV2: 'JunctionV1',
|
JunctionV2: 'JunctionV1',
|
||||||
JunctionsV2: 'JunctionsV1',
|
JunctionsV2: 'JunctionsV1',
|
||||||
MultiAssetsV2: 'MultiAssetsV1',
|
MultiAssetsV2: 'MultiAssetsV1',
|
||||||
@@ -14,6 +16,7 @@ export const v2: DefinitionsTypes = {
|
|||||||
MultiAssetFilterV2: 'MultiAssetFilterV1',
|
MultiAssetFilterV2: 'MultiAssetFilterV1',
|
||||||
MultiLocationV2: 'MultiLocationV1',
|
MultiLocationV2: 'MultiLocationV1',
|
||||||
OriginKindV2: 'OriginKindV1',
|
OriginKindV2: 'OriginKindV1',
|
||||||
|
WildFungibilityV2: 'WildFungibilityV1',
|
||||||
ResponseV2: {
|
ResponseV2: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Null: 'Null',
|
Null: 'Null',
|
||||||
@@ -119,6 +122,7 @@ export const v2: DefinitionsTypes = {
|
|||||||
Trap: 'u64'
|
Trap: 'u64'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
WildMultiAssetV2: 'WildMultiAssetV1',
|
||||||
XcmV2: 'Vec<InstructionV2>',
|
XcmV2: 'Vec<InstructionV2>',
|
||||||
XcmErrorV2: {
|
XcmErrorV2: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -157,5 +161,6 @@ export const v2: DefinitionsTypes = {
|
|||||||
UnknownClaim: 'Null',
|
UnknownClaim: 'Null',
|
||||||
InvalidLocation: 'Null'
|
InvalidLocation: 'Null'
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
XcmOrderV2: 'XcmOrderV1'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types', version: '6.2.1' };
|
export const packageInfo = { name: '@polkadot/types', version: '6.3.1' };
|
||||||
|
|||||||
Reference in New Issue
Block a user