Compare commits

...
22 Commits
Author SHA1 Message Date
github-actions[bot] 6d94896764 [CI Skip] release/stable 6.10.3
skip-checks: true
2021-11-30 14:14:46 +00:00
Jaco bacb757d7d Fix ss58Prefix extraction (#4274)
* Fix ss58Prefix extraction

* allow fallback

* adjust
2021-11-30 16:07:50 +02:00
github-actions[bot] 7be3cc949f [CI Skip] release/stable 6.10.2
skip-checks: true
2021-11-30 05:32:43 +00:00
Jaco 41cc8b34aa Bump util (#4272)
* Bump util

* util 8.0.4

* 8.0.4
2021-11-30 07:25:50 +02:00
github-actions[bot] 4bbba5bb35 [CI Skip] release/beta 6.10.2-0
skip-checks: true
2021-11-29 15:48:19 +00:00
Jaco feae323f5c Adjust augmentation interface consistency (#4269)
* Adjust augmetation interface consistency

* spelling

* Remove useless eslint slience

* slience escapes

* rebuild

* Fix indent

* comment fix (again)

* Adjust

* Additional adjustments
2021-11-29 17:41:23 +02:00
github-actions[bot] b363833a9f [CI Skip] release/stable 6.10.1
skip-checks: true
2021-11-29 06:45:19 +00:00
Jaco f083ea3861 6.10.1 (#4267) 2021-11-29 08:38:21 +02:00
github-actions[bot] f62e7f8bf9 [CI Skip] release/beta 6.9.3-6
skip-checks: true
2021-11-29 05:55:26 +00:00
Jaco fedb0a3f09 Re-order augmentation imports (#4266) 2021-11-29 07:46:34 +02:00
github-actions[bot] 38928448bf [CI Skip] release/beta 6.9.3-5
skip-checks: true
2021-11-26 12:54:56 +00:00
Jaco cfbde5f6bd Fix RPC non-available section init (#4263) 2021-11-26 14:47:54 +02:00
github-actions[bot] 4b0e0bc6d3 [CI Skip] release/beta 6.9.3-4
skip-checks: true
2021-11-26 10:51:45 +00:00
Jaco 9acb79f500 Bump common (#4262)
* Bump common

* Adjust
2021-11-26 12:45:02 +02:00
Github Actions 5dc0b38881 [CI Skip] release/beta 6.9.3-3
skip-checks: true
2021-11-24 14:59:43 +00:00
Jaco fab6f7e883 Adjust stale schedule (#4257) 2021-11-24 16:52:40 +02:00
Github Actions 66e635e909 [CI Skip] release/beta 6.9.3-2
skip-checks: true
2021-11-23 08:08:38 +00:00
Jaco 6e496d5a3c Add missing types -> types-known dep (#4252)
* Add missing types -> types-known dep

* Run install :)
2021-11-23 09:59:53 +02:00
Github Actions ca172c9a53 [CI Skip] release/beta 6.9.3-1
skip-checks: true
2021-11-22 09:49:34 +00:00
Jaco e9b83a9ff6 Bump static metadata (#4248)
* Bump static metadata

* metadata static json

* Adjust tests (new signed extensions)
2021-11-22 11:42:27 +02:00
Github Actions cf18d97b3a [CI Skip] release/beta 6.9.3-0
skip-checks: true
2021-11-22 06:41:45 +00:00
Jaco 0b1c715408 Bump dev (#4247) 2021-11-22 08:32:50 +02:00
137 changed files with 11795 additions and 11529 deletions
+3 -1
View File
@@ -43,4 +43,6 @@
6.4.2 6.4.2
6.5.2 6.5.2
6.7.2 6.7.2
6.9.2 6.9.2
6.10.2
6.10.3
+1 -1
View File
@@ -2,7 +2,7 @@ name: 'Lock Threads'
on: on:
schedule: schedule:
- cron: '30 1/2 * * *' - cron: '10 1 * * *'
jobs: jobs:
lock: lock:
+1 -1
View File
@@ -1,7 +1,7 @@
name: 'Close stale issues and PRs' name: 'Close stale issues and PRs'
on: on:
schedule: schedule:
- cron: '30 2/2 * * *' - cron: '55 1 * * *'
jobs: jobs:
stale: stale:
+30
View File
@@ -1,5 +1,35 @@
# CHANGELOG # CHANGELOG
## 6.10.3 Nov 30, 2021
Upgrade priority: Medium. Recommended for 6.10.x users
Changes:
- Fix ss58Prefix extraction
## 6.10.2 Nov 30, 2021
Upgrade priority: Low. Aligns TS augmentation and decoration with older behavior for ALL_CAPS identifiers.
Changes:
- Adjust augmentation interface consistency with top-level declarations
- Update `@polkadot/util` to 8.0.4 with adjusted `stringCamelCase`
## 6.10.1 Nov 29, 2021
Upgrade priority: Low. Recommended for users of `HttpProvider` and for chains generating types using TS augmentation.
Changes:
- Fix for HttpProvider init (RPC sections with only subscriptions)
- Re-order imports in lookup type augmentation interfaces
- Bump static metadata for latest Substrate, Polkadot & Kusama
## 6.9.2 Nov 22, 2021 ## 6.9.2 Nov 22, 2021
Upgrade priority: Medium. Pulls in `@polkadot/util-crypto` fix for TS projects. Upgrade priority: Medium. Pulls in `@polkadot/util-crypto` fix for TS projects.
+3 -3
View File
@@ -11,7 +11,7 @@
}, },
"sideEffects": false, "sideEffects": false,
"type": "commonjs", "type": "commonjs",
"version": "6.9.2", "version": "6.10.3",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
], ],
@@ -34,8 +34,8 @@
"@babel/core": "^7.16.0", "@babel/core": "^7.16.0",
"@babel/register": "^7.16.0", "@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/dev": "^0.63.29", "@polkadot/dev": "^0.63.33",
"@polkadot/ts": "^0.4.14", "@polkadot/ts": "^0.4.15",
"@polkadot/typegen": "workspace:packages/typegen", "@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^27.0.3", "@types/jest": "^27.0.3",
"copyfiles": "^2.4.1" "copyfiles": "^2.4.1"
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/api": "6.9.2", "@polkadot/api": "6.10.3",
"@polkadot/types": "6.9.2", "@polkadot/types": "6.10.3",
"@polkadot/util": "^7.9.2", "@polkadot/util": "^8.0.4",
"rxjs": "^7.4.0" "rxjs": "^7.4.0"
} }
} }
+1 -1
View File
@@ -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.9.2' }; export const packageInfo = { name: '@polkadot/api-contract', version: '6.10.3' };
+8 -8
View File
@@ -20,19 +20,19 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/api": "6.9.2", "@polkadot/api": "6.10.3",
"@polkadot/rpc-core": "6.9.2", "@polkadot/rpc-core": "6.10.3",
"@polkadot/types": "6.9.2", "@polkadot/types": "6.10.3",
"@polkadot/util": "^7.9.2", "@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^7.9.2", "@polkadot/util-crypto": "^8.0.4",
"rxjs": "^7.4.0" "rxjs": "^7.4.0"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^7.9.2", "@polkadot/keyring": "^8.0.4",
"@polkadot/rpc-provider": "6.9.2" "@polkadot/rpc-provider": "6.10.3"
} }
} }
+1 -1
View File
@@ -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.9.2' }; export const packageInfo = { name: '@polkadot/api-derive', version: '6.10.3' };
+9 -9
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/api-derive": "6.9.2", "@polkadot/api-derive": "6.10.3",
"@polkadot/keyring": "^7.9.2", "@polkadot/keyring": "^8.0.4",
"@polkadot/rpc-core": "6.9.2", "@polkadot/rpc-core": "6.10.3",
"@polkadot/rpc-provider": "6.9.2", "@polkadot/rpc-provider": "6.10.3",
"@polkadot/types": "6.9.2", "@polkadot/types": "6.10.3",
"@polkadot/types-known": "6.9.2", "@polkadot/types-known": "6.10.3",
"@polkadot/util": "^7.9.2", "@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^7.9.2", "@polkadot/util-crypto": "^8.0.4",
"eventemitter3": "^4.0.7", "eventemitter3": "^4.0.7",
"rxjs": "^7.4.0" "rxjs": "^7.4.0"
} }
+12 -11
View File
@@ -1,14 +1,14 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { ApiTypes } from '@polkadot/api/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 { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
import type { Codec } from '@polkadot/types/types';
declare module '@polkadot/api/types/consts' { declare module '@polkadot/api/types/consts' {
export interface AugmentedConsts<ApiType> { import type { ApiTypes, AugmentedConst, QueryableModuleConsts } from '@polkadot/api/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 { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
import type { Codec } from '@polkadot/types/types';
export interface AugmentedConsts<ApiType extends ApiTypes> {
assets: { assets: {
/** /**
* The amount of funds that must be reserved when creating a new approval. * The amount of funds that must be reserved when creating a new approval.
@@ -741,7 +741,7 @@ declare module '@polkadot/api/types/consts' {
* that the runtime should know about the prefix in order to make use of it as * that the runtime should know about the prefix in order to make use of it as
* an identifier of the chain. * an identifier of the chain.
**/ **/
ss58Prefix: u16 & AugmentedConst<ApiType>; sS58Prefix: u16 & AugmentedConst<ApiType>;
/** /**
* Get the chain's current version. * Get the chain's current version.
**/ **/
@@ -919,9 +919,10 @@ declare module '@polkadot/api/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
} } // AugmentedConsts
export interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> { export interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> {
[key: string]: QueryableModuleConsts; [key: string]: QueryableModuleConsts;
} } // QueryableConsts
}
} // declare module
+10 -7
View File
@@ -1,10 +1,10 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { ApiTypes } from '@polkadot/api/types';
declare module '@polkadot/api/types/errors' { declare module '@polkadot/api/types/errors' {
export interface AugmentedErrors<ApiType> { import type { ApiTypes, AugmentedError, ModuleErrors } from '@polkadot/api/types';
export interface AugmentedErrors<ApiType extends ApiTypes> {
assets: { assets: {
/** /**
* Invalid metadata given. * Invalid metadata given.
@@ -1172,7 +1172,9 @@ declare module '@polkadot/api/types/errors' {
**/ **/
IncorrectSlashingSpans: AugmentedError<ApiType>; IncorrectSlashingSpans: AugmentedError<ApiType>;
/** /**
* Can not bond with value less than minimum required. * Cannot have a validator or nominator role, with value less than the minimum defined by
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
* intention, `chill` first to remove one's role as validator/nominator.
**/ **/
InsufficientBond: AugmentedError<ApiType>; InsufficientBond: AugmentedError<ApiType>;
/** /**
@@ -1519,9 +1521,10 @@ declare module '@polkadot/api/types/errors' {
**/ **/
[key: string]: AugmentedError<ApiType>; [key: string]: AugmentedError<ApiType>;
}; };
} } // AugmentedErrors
export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> { export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
[key: string]: ModuleErrors<ApiType>; [key: string]: ModuleErrors<ApiType>;
} } // DecoratedErrors
}
} // declare module
+109 -152
View File
@@ -1,44 +1,41 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { ApiTypes } from '@polkadot/api/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, NodeRuntimeProxyType, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
import type { ITuple } from '@polkadot/types/types';
declare module '@polkadot/api/types/events' { declare module '@polkadot/api/types/events' {
export interface AugmentedEvents<ApiType> { import type { ApiTypes, AugmentedEvent, ModuleEvents } from '@polkadot/api/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, NodeRuntimeProxyType, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError } from '@polkadot/types/lookup';
import type { ITuple } from '@polkadot/types/types';
export interface AugmentedEvents<ApiType extends ApiTypes> {
assets: { assets: {
/** /**
* An approval for account `delegate` was cancelled by `owner`. * An approval for account `delegate` was cancelled by `owner`.
* \[id, owner, delegate\]
**/ **/
ApprovalCancelled: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>; ApprovalCancelled: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>;
/** /**
* (Additional) funds have been approved for transfer to a destination account. * (Additional) funds have been approved for transfer to a destination account.
* \[asset_id, source, delegate, amount\]
**/ **/
ApprovedTransfer: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, u64]>; ApprovedTransfer: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, u128]>;
/** /**
* Some asset `asset_id` was frozen. \[asset_id\] * Some asset `asset_id` was frozen.
**/ **/
AssetFrozen: AugmentedEvent<ApiType, [u32]>; AssetFrozen: AugmentedEvent<ApiType, [u32]>;
/** /**
* An asset has had its attributes changed by the `Force` origin. * An asset has had its attributes changed by the `Force` origin.
* \[id\]
**/ **/
AssetStatusChanged: AugmentedEvent<ApiType, [u32]>; AssetStatusChanged: AugmentedEvent<ApiType, [u32]>;
/** /**
* Some asset `asset_id` was thawed. \[asset_id\] * Some asset `asset_id` was thawed.
**/ **/
AssetThawed: AugmentedEvent<ApiType, [u32]>; AssetThawed: AugmentedEvent<ApiType, [u32]>;
/** /**
* Some assets were destroyed. \[asset_id, owner, balance\] * Some assets were destroyed.
**/ **/
Burned: AugmentedEvent<ApiType, [u32, AccountId32, u64]>; Burned: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
/** /**
* Some asset class was created. \[asset_id, creator, owner\] * Some asset class was created.
**/ **/
Created: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>; Created: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>;
/** /**
@@ -46,47 +43,46 @@ declare module '@polkadot/api/types/events' {
**/ **/
Destroyed: AugmentedEvent<ApiType, [u32]>; Destroyed: AugmentedEvent<ApiType, [u32]>;
/** /**
* Some asset class was force-created. \[asset_id, owner\] * Some asset class was force-created.
**/ **/
ForceCreated: AugmentedEvent<ApiType, [u32, AccountId32]>; ForceCreated: AugmentedEvent<ApiType, [u32, AccountId32]>;
/** /**
* Some account `who` was frozen. \[asset_id, who\] * Some account `who` was frozen.
**/ **/
Frozen: AugmentedEvent<ApiType, [u32, AccountId32]>; Frozen: AugmentedEvent<ApiType, [u32, AccountId32]>;
/** /**
* Some assets were issued. \[asset_id, owner, total_supply\] * Some assets were issued.
**/ **/
Issued: AugmentedEvent<ApiType, [u32, AccountId32, u64]>; Issued: AugmentedEvent<ApiType, [u32, AccountId32, u128]>;
/** /**
* Metadata has been cleared for an asset. \[asset_id\] * Metadata has been cleared for an asset.
**/ **/
MetadataCleared: AugmentedEvent<ApiType, [u32]>; MetadataCleared: AugmentedEvent<ApiType, [u32]>;
/** /**
* New metadata has been set for an asset. \[asset_id, name, symbol, decimals, is_frozen\] * New metadata has been set for an asset.
**/ **/
MetadataSet: AugmentedEvent<ApiType, [u32, Bytes, Bytes, u8, bool]>; MetadataSet: AugmentedEvent<ApiType, [u32, Bytes, Bytes, u8, bool]>;
/** /**
* The owner changed \[asset_id, owner\] * The owner changed.
**/ **/
OwnerChanged: AugmentedEvent<ApiType, [u32, AccountId32]>; OwnerChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;
/** /**
* The management team changed \[asset_id, issuer, admin, freezer\] * The management team changed.
**/ **/
TeamChanged: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32]>; TeamChanged: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32]>;
/** /**
* Some account `who` was thawed. \[asset_id, who\] * Some account `who` was thawed.
**/ **/
Thawed: AugmentedEvent<ApiType, [u32, AccountId32]>; Thawed: AugmentedEvent<ApiType, [u32, AccountId32]>;
/** /**
* Some assets were transferred. \[asset_id, from, to, amount\] * Some assets were transferred.
**/ **/
Transferred: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, u64]>; Transferred: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, u128]>;
/** /**
* An `amount` was transferred in its entirety from `owner` to `destination` by * An `amount` was transferred in its entirety from `owner` to `destination` by
* the approved `delegate`. * the approved `delegate`.
* \[id, owner, delegate, destination\]
**/ **/
TransferredApproved: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32, u64]>; TransferredApproved: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32, u128]>;
/** /**
* Generic event * Generic event
**/ **/
@@ -94,7 +90,7 @@ declare module '@polkadot/api/types/events' {
}; };
bagsList: { bagsList: {
/** /**
* Moved an account from one bag to another. \[who, from, to\]. * Moved an account from one bag to another.
**/ **/
Rebagged: AugmentedEvent<ApiType, [AccountId32, u64, u64]>; Rebagged: AugmentedEvent<ApiType, [AccountId32, u64, u64]>;
/** /**
@@ -104,48 +100,45 @@ declare module '@polkadot/api/types/events' {
}; };
balances: { balances: {
/** /**
* A balance was set by root. \[who, free, reserved\] * A balance was set by root.
**/ **/
BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>; BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;
/** /**
* Some amount was deposited into the account (e.g. for transaction fees). \[who, * Some amount was deposited (e.g. for transaction fees).
* deposit\]
**/ **/
Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>; Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
* An account was removed whose balance was non-zero but below ExistentialDeposit, * An account was removed whose balance was non-zero but below ExistentialDeposit,
* resulting in an outright loss. \[account, balance\] * resulting in an outright loss.
**/ **/
DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>; DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
* An account was created with some free balance. \[account, free_balance\] * An account was created with some free balance.
**/ **/
Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>; Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
* Some balance was reserved (moved from free to reserved). \[who, value\] * Some balance was reserved (moved from free to reserved).
**/ **/
Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>; Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
* Some balance was moved from the reserve of the first account to the second account. * Some balance was moved from the reserve of the first account to the second account.
* Final argument indicates the destination balance type. * Final argument indicates the destination balance type.
* \[from, to, balance, destination_status\]
**/ **/
ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>; ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;
/** /**
* Some amount was removed from the account (e.g. for misbehavior). \[who, * Some amount was removed from the account (e.g. for misbehavior).
* amount_slashed\]
**/ **/
Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>; Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
* Transfer succeeded. \[from, to, value\] * Transfer succeeded.
**/ **/
Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>; Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
/** /**
* Some balance was unreserved (moved from reserved to free). \[who, value\] * Some balance was unreserved (moved from reserved to free).
**/ **/
Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>; Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
* Some amount was withdrawn from the account (e.g. for transaction fees). \[who, value\] * Some amount was withdrawn from the account (e.g. for transaction fees).
**/ **/
Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>; Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
@@ -155,31 +148,31 @@ declare module '@polkadot/api/types/events' {
}; };
bounties: { bounties: {
/** /**
* A bounty is awarded to a beneficiary. \[index, beneficiary\] * A bounty is awarded to a beneficiary.
**/ **/
BountyAwarded: AugmentedEvent<ApiType, [u32, AccountId32]>; BountyAwarded: AugmentedEvent<ApiType, [u32, AccountId32]>;
/** /**
* A bounty proposal is funded and became active. \[index\] * A bounty proposal is funded and became active.
**/ **/
BountyBecameActive: AugmentedEvent<ApiType, [u32]>; BountyBecameActive: AugmentedEvent<ApiType, [u32]>;
/** /**
* A bounty is cancelled. \[index\] * A bounty is cancelled.
**/ **/
BountyCanceled: AugmentedEvent<ApiType, [u32]>; BountyCanceled: AugmentedEvent<ApiType, [u32]>;
/** /**
* A bounty is claimed by beneficiary. \[index, payout, beneficiary\] * A bounty is claimed by beneficiary.
**/ **/
BountyClaimed: AugmentedEvent<ApiType, [u32, u128, AccountId32]>; BountyClaimed: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
/** /**
* A bounty expiry is extended. \[index\] * A bounty expiry is extended.
**/ **/
BountyExtended: AugmentedEvent<ApiType, [u32]>; BountyExtended: AugmentedEvent<ApiType, [u32]>;
/** /**
* New bounty proposal. \[index\] * New bounty proposal.
**/ **/
BountyProposed: AugmentedEvent<ApiType, [u32]>; BountyProposed: AugmentedEvent<ApiType, [u32]>;
/** /**
* A bounty proposal was rejected; funds were slashed. \[index, bond\] * A bounty proposal was rejected; funds were slashed.
**/ **/
BountyRejected: AugmentedEvent<ApiType, [u32, u128]>; BountyRejected: AugmentedEvent<ApiType, [u32, u128]>;
/** /**
@@ -227,39 +220,32 @@ declare module '@polkadot/api/types/events' {
council: { council: {
/** /**
* A motion was approved by the required threshold. * A motion was approved by the required threshold.
* \[proposal_hash\]
**/ **/
Approved: AugmentedEvent<ApiType, [H256]>; Approved: AugmentedEvent<ApiType, [H256]>;
/** /**
* A proposal was closed because its threshold was reached or after its duration was up. * A proposal was closed because its threshold was reached or after its duration was up.
* \[proposal_hash, yes, no\]
**/ **/
Closed: AugmentedEvent<ApiType, [H256, u32, u32]>; Closed: AugmentedEvent<ApiType, [H256, u32, u32]>;
/** /**
* A motion was not approved by the required threshold. * A motion was not approved by the required threshold.
* \[proposal_hash\]
**/ **/
Disapproved: AugmentedEvent<ApiType, [H256]>; Disapproved: AugmentedEvent<ApiType, [H256]>;
/** /**
* A motion was executed; result will be `Ok` if it returned without error. * A motion was executed; result will be `Ok` if it returned without error.
* \[proposal_hash, result\]
**/ **/
Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>; Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
/** /**
* A single member did some action; result will be `Ok` if it returned without error. * A single member did some action; result will be `Ok` if it returned without error.
* \[proposal_hash, result\]
**/ **/
MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>; MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
/** /**
* A motion (given hash) has been proposed (by given account) with a threshold (given * A motion (given hash) has been proposed (by given account) with a threshold (given
* `MemberCount`). * `MemberCount`).
* \[account, proposal_index, proposal_hash, threshold\]
**/ **/
Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>; Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>;
/** /**
* A motion (given hash) has been voted on by given account, leaving * A motion (given hash) has been voted on by given account, leaving
* a tally (yes votes and no votes given respectively as `MemberCount`). * a tally (yes votes and no votes given respectively as `MemberCount`).
* \[account, proposal_hash, voted, yes, no\]
**/ **/
Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>; Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>;
/** /**
@@ -269,19 +255,19 @@ declare module '@polkadot/api/types/events' {
}; };
democracy: { democracy: {
/** /**
* A proposal \[hash\] has been blacklisted permanently. * A proposal_hash has been blacklisted permanently.
**/ **/
Blacklisted: AugmentedEvent<ApiType, [H256]>; Blacklisted: AugmentedEvent<ApiType, [H256]>;
/** /**
* A referendum has been cancelled. \[ref_index\] * A referendum has been cancelled.
**/ **/
Cancelled: AugmentedEvent<ApiType, [u32]>; Cancelled: AugmentedEvent<ApiType, [u32]>;
/** /**
* An account has delegated their vote to another account. \[who, target\] * An account has delegated their vote to another account.
**/ **/
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>; Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
/** /**
* A proposal has been enacted. \[ref_index, result\] * A proposal has been enacted.
**/ **/
Executed: AugmentedEvent<ApiType, [u32, Result<Null, SpRuntimeDispatchError>]>; Executed: AugmentedEvent<ApiType, [u32, Result<Null, SpRuntimeDispatchError>]>;
/** /**
@@ -289,56 +275,51 @@ declare module '@polkadot/api/types/events' {
**/ **/
ExternalTabled: AugmentedEvent<ApiType, []>; ExternalTabled: AugmentedEvent<ApiType, []>;
/** /**
* A proposal has been rejected by referendum. \[ref_index\] * A proposal has been rejected by referendum.
**/ **/
NotPassed: AugmentedEvent<ApiType, [u32]>; NotPassed: AugmentedEvent<ApiType, [u32]>;
/** /**
* A proposal has been approved by referendum. \[ref_index\] * A proposal has been approved by referendum.
**/ **/
Passed: AugmentedEvent<ApiType, [u32]>; Passed: AugmentedEvent<ApiType, [u32]>;
/** /**
* A proposal could not be executed because its preimage was invalid. * A proposal could not be executed because its preimage was invalid.
* \[proposal_hash, ref_index\]
**/ **/
PreimageInvalid: AugmentedEvent<ApiType, [H256, u32]>; PreimageInvalid: AugmentedEvent<ApiType, [H256, u32]>;
/** /**
* A proposal could not be executed because its preimage was missing. * A proposal could not be executed because its preimage was missing.
* \[proposal_hash, ref_index\]
**/ **/
PreimageMissing: AugmentedEvent<ApiType, [H256, u32]>; PreimageMissing: AugmentedEvent<ApiType, [H256, u32]>;
/** /**
* A proposal's preimage was noted, and the deposit taken. \[proposal_hash, who, deposit\] * A proposal's preimage was noted, and the deposit taken.
**/ **/
PreimageNoted: AugmentedEvent<ApiType, [H256, AccountId32, u128]>; PreimageNoted: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
/** /**
* A registered preimage was removed and the deposit collected by the reaper. * A registered preimage was removed and the deposit collected by the reaper.
* \[proposal_hash, provider, deposit, reaper\]
**/ **/
PreimageReaped: AugmentedEvent<ApiType, [H256, AccountId32, u128, AccountId32]>; PreimageReaped: AugmentedEvent<ApiType, [H256, AccountId32, u128, AccountId32]>;
/** /**
* A proposal preimage was removed and used (the deposit was returned). * A proposal preimage was removed and used (the deposit was returned).
* \[proposal_hash, provider, deposit\]
**/ **/
PreimageUsed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>; PreimageUsed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
/** /**
* A motion has been proposed by a public account. \[proposal_index, deposit\] * A motion has been proposed by a public account.
**/ **/
Proposed: AugmentedEvent<ApiType, [u32, u128]>; Proposed: AugmentedEvent<ApiType, [u32, u128]>;
/** /**
* A referendum has begun. \[ref_index, threshold\] * A referendum has begun.
**/ **/
Started: AugmentedEvent<ApiType, [u32, PalletDemocracyVoteThreshold]>; Started: AugmentedEvent<ApiType, [u32, PalletDemocracyVoteThreshold]>;
/** /**
* A public proposal has been tabled for referendum vote. \[proposal_index, deposit, * A public proposal has been tabled for referendum vote.
* depositors\]
**/ **/
Tabled: AugmentedEvent<ApiType, [u32, u128, Vec<AccountId32>]>; Tabled: AugmentedEvent<ApiType, [u32, u128, Vec<AccountId32>]>;
/** /**
* An \[account\] has cancelled a previous delegation operation. * An account has cancelled a previous delegation operation.
**/ **/
Undelegated: AugmentedEvent<ApiType, [AccountId32]>; Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
/** /**
* An external proposal has been vetoed. \[who, proposal_hash, until\] * An external proposal has been vetoed.
**/ **/
Vetoed: AugmentedEvent<ApiType, [AccountId32, H256, u32]>; Vetoed: AugmentedEvent<ApiType, [AccountId32, H256, u32]>;
/** /**
@@ -384,7 +365,7 @@ declare module '@polkadot/api/types/events' {
}; };
elections: { elections: {
/** /**
* A \[candidate\] was slashed by \[amount\] due to failing to obtain a seat as member or * A candidate was slashed by amount due to failing to obtain a seat as member or
* runner-up. * runner-up.
* *
* Note that old members and runners-up are also candidates. * Note that old members and runners-up are also candidates.
@@ -400,12 +381,12 @@ declare module '@polkadot/api/types/events' {
**/ **/
EmptyTerm: AugmentedEvent<ApiType, []>; EmptyTerm: AugmentedEvent<ApiType, []>;
/** /**
* A \[member\] has been removed. This should always be followed by either `NewTerm` or * A member has been removed. This should always be followed by either `NewTerm` or
* `EmptyTerm`. * `EmptyTerm`.
**/ **/
MemberKicked: AugmentedEvent<ApiType, [AccountId32]>; MemberKicked: AugmentedEvent<ApiType, [AccountId32]>;
/** /**
* A new term with \[new_members\]. This indicates that enough candidates existed to run * A new term with new_members. This indicates that enough candidates existed to run
* the election, not that enough have has been elected. The inner value must be examined * the election, not that enough have has been elected. The inner value must be examined
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond * for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to * slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
@@ -417,7 +398,7 @@ declare module '@polkadot/api/types/events' {
**/ **/
Renounced: AugmentedEvent<ApiType, [AccountId32]>; Renounced: AugmentedEvent<ApiType, [AccountId32]>;
/** /**
* A \[seat holder\] was slashed by \[amount\] by being forcefully removed from the set. * A seat holder was slashed by amount by being forcefully removed from the set.
**/ **/
SeatHolderSlashed: AugmentedEvent<ApiType, [AccountId32, u128]>; SeatHolderSlashed: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
@@ -428,22 +409,18 @@ declare module '@polkadot/api/types/events' {
gilt: { gilt: {
/** /**
* A bid was successfully placed. * A bid was successfully placed.
* \[ who, amount, duration \]
**/ **/
BidPlaced: AugmentedEvent<ApiType, [AccountId32, u128, u32]>; BidPlaced: AugmentedEvent<ApiType, [AccountId32, u128, u32]>;
/** /**
* A bid was successfully removed (before being accepted as a gilt). * A bid was successfully removed (before being accepted as a gilt).
* \[ who, amount, duration \]
**/ **/
BidRetracted: AugmentedEvent<ApiType, [AccountId32, u128, u32]>; BidRetracted: AugmentedEvent<ApiType, [AccountId32, u128, u32]>;
/** /**
* A bid was accepted as a gilt. The balance may not be released until expiry. * A bid was accepted as a gilt. The balance may not be released until expiry.
* \[ index, expiry, who, amount \]
**/ **/
GiltIssued: AugmentedEvent<ApiType, [u32, u32, AccountId32, u128]>; GiltIssued: AugmentedEvent<ApiType, [u32, u32, AccountId32, u128]>;
/** /**
* An expired gilt has been thawed. * An expired gilt has been thawed.
* \[ index, who, original_amount, additional_amount \]
**/ **/
GiltThawed: AugmentedEvent<ApiType, [u32, AccountId32, u128, u128]>; GiltThawed: AugmentedEvent<ApiType, [u32, AccountId32, u128, u128]>;
/** /**
@@ -453,7 +430,7 @@ declare module '@polkadot/api/types/events' {
}; };
grandpa: { grandpa: {
/** /**
* New authority set has been applied. \[authority_set\] * New authority set has been applied.
**/ **/
NewAuthorities: AugmentedEvent<ApiType, [Vec<ITuple<[SpFinalityGrandpaAppPublic, u64]>>]>; NewAuthorities: AugmentedEvent<ApiType, [Vec<ITuple<[SpFinalityGrandpaAppPublic, u64]>>]>;
/** /**
@@ -471,45 +448,44 @@ declare module '@polkadot/api/types/events' {
}; };
identity: { identity: {
/** /**
* A name was cleared, and the given balance returned. \[who, deposit\] * A name was cleared, and the given balance returned.
**/ **/
IdentityCleared: AugmentedEvent<ApiType, [AccountId32, u128]>; IdentityCleared: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
* A name was removed and the given balance slashed. \[who, deposit\] * A name was removed and the given balance slashed.
**/ **/
IdentityKilled: AugmentedEvent<ApiType, [AccountId32, u128]>; IdentityKilled: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
* A name was set or reset (which will remove all judgements). \[who\] * A name was set or reset (which will remove all judgements).
**/ **/
IdentitySet: AugmentedEvent<ApiType, [AccountId32]>; IdentitySet: AugmentedEvent<ApiType, [AccountId32]>;
/** /**
* A judgement was given by a registrar. \[target, registrar_index\] * A judgement was given by a registrar.
**/ **/
JudgementGiven: AugmentedEvent<ApiType, [AccountId32, u32]>; JudgementGiven: AugmentedEvent<ApiType, [AccountId32, u32]>;
/** /**
* A judgement was asked from a registrar. \[who, registrar_index\] * A judgement was asked from a registrar.
**/ **/
JudgementRequested: AugmentedEvent<ApiType, [AccountId32, u32]>; JudgementRequested: AugmentedEvent<ApiType, [AccountId32, u32]>;
/** /**
* A judgement request was retracted. \[who, registrar_index\] * A judgement request was retracted.
**/ **/
JudgementUnrequested: AugmentedEvent<ApiType, [AccountId32, u32]>; JudgementUnrequested: AugmentedEvent<ApiType, [AccountId32, u32]>;
/** /**
* A registrar was added. \[registrar_index\] * A registrar was added.
**/ **/
RegistrarAdded: AugmentedEvent<ApiType, [u32]>; RegistrarAdded: AugmentedEvent<ApiType, [u32]>;
/** /**
* A sub-identity was added to an identity and the deposit paid. \[sub, main, deposit\] * A sub-identity was added to an identity and the deposit paid.
**/ **/
SubIdentityAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>; SubIdentityAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
/** /**
* A sub-identity was removed from an identity and the deposit freed. * A sub-identity was removed from an identity and the deposit freed.
* \[sub, main, deposit\]
**/ **/
SubIdentityRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>; SubIdentityRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
/** /**
* A sub-identity was cleared, and the given deposit repatriated from the * A sub-identity was cleared, and the given deposit repatriated from the
* main identity account to the sub-identity account. \[sub, main, deposit\] * main identity account to the sub-identity account.
**/ **/
SubIdentityRevoked: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>; SubIdentityRevoked: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;
/** /**
@@ -523,11 +499,11 @@ declare module '@polkadot/api/types/events' {
**/ **/
AllGood: AugmentedEvent<ApiType, []>; AllGood: AugmentedEvent<ApiType, []>;
/** /**
* A new heartbeat was received from `AuthorityId` \[authority_id\] * A new heartbeat was received from `AuthorityId`.
**/ **/
HeartbeatReceived: AugmentedEvent<ApiType, [PalletImOnlineSr25519AppSr25519Public]>; HeartbeatReceived: AugmentedEvent<ApiType, [PalletImOnlineSr25519AppSr25519Public]>;
/** /**
* At the end of the session, at least one validator was found to be \[offline\]. * At the end of the session, at least one validator was found to be offline.
**/ **/
SomeOffline: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, PalletStakingExposure]>>]>; SomeOffline: AugmentedEvent<ApiType, [Vec<ITuple<[AccountId32, PalletStakingExposure]>>]>;
/** /**
@@ -537,15 +513,15 @@ declare module '@polkadot/api/types/events' {
}; };
indices: { indices: {
/** /**
* A account index was assigned. \[index, who\] * A account index was assigned.
**/ **/
IndexAssigned: AugmentedEvent<ApiType, [AccountId32, u32]>; IndexAssigned: AugmentedEvent<ApiType, [AccountId32, u32]>;
/** /**
* A account index has been freed up (unassigned). \[index\] * A account index has been freed up (unassigned).
**/ **/
IndexFreed: AugmentedEvent<ApiType, [u32]>; IndexFreed: AugmentedEvent<ApiType, [u32]>;
/** /**
* A account index has been frozen to its current account ID. \[index, who\] * A account index has been frozen to its current account ID.
**/ **/
IndexFrozen: AugmentedEvent<ApiType, [u32, AccountId32]>; IndexFrozen: AugmentedEvent<ApiType, [u32, AccountId32]>;
/** /**
@@ -578,19 +554,18 @@ declare module '@polkadot/api/types/events' {
multisig: { multisig: {
/** /**
* A multisig operation has been approved by someone. * A multisig operation has been approved by someone.
* \[approving, timepoint, multisig, call_hash\]
**/ **/
MultisigApproval: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>; MultisigApproval: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>;
/** /**
* A multisig operation has been cancelled. \[canceling, timepoint, multisig, call_hash\] * A multisig operation has been cancelled.
**/ **/
MultisigCancelled: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>; MultisigCancelled: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed]>;
/** /**
* A multisig operation has been executed. \[approving, timepoint, multisig, call_hash\] * A multisig operation has been executed.
**/ **/
MultisigExecuted: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed, Result<Null, SpRuntimeDispatchError>]>; MultisigExecuted: AugmentedEvent<ApiType, [AccountId32, PalletMultisigTimepoint, AccountId32, U8aFixed, Result<Null, SpRuntimeDispatchError>]>;
/** /**
* A new multisig operation has begun. \[approving, multisig, call_hash\] * A new multisig operation has begun.
**/ **/
NewMultisig: AugmentedEvent<ApiType, [AccountId32, AccountId32, U8aFixed]>; NewMultisig: AugmentedEvent<ApiType, [AccountId32, AccountId32, U8aFixed]>;
/** /**
@@ -612,21 +587,20 @@ declare module '@polkadot/api/types/events' {
}; };
proxy: { proxy: {
/** /**
* An announcement was placed to make a call in the future. \[real, proxy, call_hash\] * An announcement was placed to make a call in the future.
**/ **/
Announced: AugmentedEvent<ApiType, [AccountId32, AccountId32, H256]>; Announced: AugmentedEvent<ApiType, [AccountId32, AccountId32, H256]>;
/** /**
* Anonymous account has been created by new proxy with given * Anonymous account has been created by new proxy with given
* disambiguation index and proxy type. \[anonymous, who, proxy_type, * disambiguation index and proxy type.
* disambiguation_index\]
**/ **/
AnonymousCreated: AugmentedEvent<ApiType, [AccountId32, AccountId32, NodeRuntimeProxyType, u16]>; AnonymousCreated: AugmentedEvent<ApiType, [AccountId32, AccountId32, NodeRuntimeProxyType, u16]>;
/** /**
* A proxy was added. \[delegator, delegatee, proxy_type, delay\] * A proxy was added.
**/ **/
ProxyAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, NodeRuntimeProxyType, u32]>; ProxyAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, NodeRuntimeProxyType, u32]>;
/** /**
* A proxy was executed correctly, with the given \[result\]. * A proxy was executed correctly, with the given.
**/ **/
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>; ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
/** /**
@@ -637,30 +611,26 @@ declare module '@polkadot/api/types/events' {
recovery: { recovery: {
/** /**
* Lost account has been successfully recovered by rescuer account. * Lost account has been successfully recovered by rescuer account.
* \[lost, rescuer\]
**/ **/
AccountRecovered: AugmentedEvent<ApiType, [AccountId32, AccountId32]>; AccountRecovered: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
/** /**
* A recovery process for lost account by rescuer account has been closed. * A recovery process for lost account by rescuer account has been closed.
* \[lost, rescuer\]
**/ **/
RecoveryClosed: AugmentedEvent<ApiType, [AccountId32, AccountId32]>; RecoveryClosed: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
/** /**
* A recovery process has been set up for an \[account\]. * A recovery process has been set up for an account.
**/ **/
RecoveryCreated: AugmentedEvent<ApiType, [AccountId32]>; RecoveryCreated: AugmentedEvent<ApiType, [AccountId32]>;
/** /**
* A recovery process has been initiated for lost account by rescuer account. * A recovery process has been initiated for lost account by rescuer account.
* \[lost, rescuer\]
**/ **/
RecoveryInitiated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>; RecoveryInitiated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
/** /**
* A recovery process has been removed for an \[account\]. * A recovery process has been removed for an account.
**/ **/
RecoveryRemoved: AugmentedEvent<ApiType, [AccountId32]>; RecoveryRemoved: AugmentedEvent<ApiType, [AccountId32]>;
/** /**
* A recovery process for lost account by rescuer account has been vouched for by sender. * A recovery process for lost account by rescuer account has been vouched for by sender.
* \[lost, rescuer, sender\]
**/ **/
RecoveryVouched: AugmentedEvent<ApiType, [AccountId32, AccountId32, AccountId32]>; RecoveryVouched: AugmentedEvent<ApiType, [AccountId32, AccountId32, AccountId32]>;
/** /**
@@ -688,7 +658,7 @@ declare module '@polkadot/api/types/events' {
}; };
session: { session: {
/** /**
* New session has happened. Note that the argument is the \[session_index\], not the * New session has happened. Note that the argument is the session index, not the
* block number as the type might suggest. * block number as the type might suggest.
**/ **/
NewSession: AugmentedEvent<ApiType, [u32]>; NewSession: AugmentedEvent<ApiType, [u32]>;
@@ -885,39 +855,32 @@ declare module '@polkadot/api/types/events' {
technicalCommittee: { technicalCommittee: {
/** /**
* A motion was approved by the required threshold. * A motion was approved by the required threshold.
* \[proposal_hash\]
**/ **/
Approved: AugmentedEvent<ApiType, [H256]>; Approved: AugmentedEvent<ApiType, [H256]>;
/** /**
* A proposal was closed because its threshold was reached or after its duration was up. * A proposal was closed because its threshold was reached or after its duration was up.
* \[proposal_hash, yes, no\]
**/ **/
Closed: AugmentedEvent<ApiType, [H256, u32, u32]>; Closed: AugmentedEvent<ApiType, [H256, u32, u32]>;
/** /**
* A motion was not approved by the required threshold. * A motion was not approved by the required threshold.
* \[proposal_hash\]
**/ **/
Disapproved: AugmentedEvent<ApiType, [H256]>; Disapproved: AugmentedEvent<ApiType, [H256]>;
/** /**
* A motion was executed; result will be `Ok` if it returned without error. * A motion was executed; result will be `Ok` if it returned without error.
* \[proposal_hash, result\]
**/ **/
Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>; Executed: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
/** /**
* A single member did some action; result will be `Ok` if it returned without error. * A single member did some action; result will be `Ok` if it returned without error.
* \[proposal_hash, result\]
**/ **/
MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>; MemberExecuted: AugmentedEvent<ApiType, [H256, Result<Null, SpRuntimeDispatchError>]>;
/** /**
* A motion (given hash) has been proposed (by given account) with a threshold (given * A motion (given hash) has been proposed (by given account) with a threshold (given
* `MemberCount`). * `MemberCount`).
* \[account, proposal_index, proposal_hash, threshold\]
**/ **/
Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>; Proposed: AugmentedEvent<ApiType, [AccountId32, u32, H256, u32]>;
/** /**
* A motion (given hash) has been voted on by given account, leaving * A motion (given hash) has been voted on by given account, leaving
* a tally (yes votes and no votes given respectively as `MemberCount`). * a tally (yes votes and no votes given respectively as `MemberCount`).
* \[account, proposal_hash, voted, yes, no\]
**/ **/
Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>; Voted: AugmentedEvent<ApiType, [AccountId32, H256, bool, u32, u32]>;
/** /**
@@ -957,23 +920,23 @@ declare module '@polkadot/api/types/events' {
}; };
tips: { tips: {
/** /**
* A new tip suggestion has been opened. \[tip_hash\] * A new tip suggestion has been opened.
**/ **/
NewTip: AugmentedEvent<ApiType, [H256]>; NewTip: AugmentedEvent<ApiType, [H256]>;
/** /**
* A tip suggestion has been closed. \[tip_hash, who, payout\] * A tip suggestion has been closed.
**/ **/
TipClosed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>; TipClosed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
/** /**
* A tip suggestion has reached threshold and is closing. \[tip_hash\] * A tip suggestion has reached threshold and is closing.
**/ **/
TipClosing: AugmentedEvent<ApiType, [H256]>; TipClosing: AugmentedEvent<ApiType, [H256]>;
/** /**
* A tip suggestion has been retracted. \[tip_hash\] * A tip suggestion has been retracted.
**/ **/
TipRetracted: AugmentedEvent<ApiType, [H256]>; TipRetracted: AugmentedEvent<ApiType, [H256]>;
/** /**
* A tip suggestion has been slashed. \[tip_hash, finder, deposit\] * A tip suggestion has been slashed.
**/ **/
TipSlashed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>; TipSlashed: AugmentedEvent<ApiType, [H256, AccountId32, u128]>;
/** /**
@@ -1038,97 +1001,91 @@ declare module '@polkadot/api/types/events' {
/** /**
* An approval for a `delegate` account to transfer the `instance` of an asset `class` was * An approval for a `delegate` account to transfer the `instance` of an asset `class` was
* cancelled by its `owner`. * cancelled by its `owner`.
* \[ class, instance, owner, delegate \]
**/ **/
ApprovalCancelled: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>; ApprovalCancelled: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
/** /**
* An `instance` of an asset `class` has been approved by the `owner` for transfer by a * An `instance` of an asset `class` has been approved by the `owner` for transfer by a
* `delegate`. * `delegate`.
* \[ class, instance, owner, delegate \]
**/ **/
ApprovedTransfer: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>; ApprovedTransfer: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
/** /**
* An asset `class` has had its attributes changed by the `Force` origin. * An asset `class` has had its attributes changed by the `Force` origin.
* \[ class \]
**/ **/
AssetStatusChanged: AugmentedEvent<ApiType, [u32]>; AssetStatusChanged: AugmentedEvent<ApiType, [u32]>;
/** /**
* Attribute metadata has been cleared for an asset class or instance. * Attribute metadata has been cleared for an asset class or instance.
* \[ class, maybe_instance, key, maybe_value \]
**/ **/
AttributeCleared: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes]>; AttributeCleared: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes]>;
/** /**
* New attribute metadata has been set for an asset class or instance. * New attribute metadata has been set for an asset class or instance.
* \[ class, maybe_instance, key, value \]
**/ **/
AttributeSet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>; AttributeSet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;
/** /**
* An asset `instance` was destroyed. \[ class, instance, owner \] * An asset `instance` was destroyed.
**/ **/
Burned: AugmentedEvent<ApiType, [u32, u32, AccountId32]>; Burned: AugmentedEvent<ApiType, [u32, u32, AccountId32]>;
/** /**
* Some asset `class` was frozen. \[ class \] * Some asset `class` was frozen.
**/ **/
ClassFrozen: AugmentedEvent<ApiType, [u32]>; ClassFrozen: AugmentedEvent<ApiType, [u32]>;
/** /**
* Metadata has been cleared for an asset class. \[ class \] * Metadata has been cleared for an asset class.
**/ **/
ClassMetadataCleared: AugmentedEvent<ApiType, [u32]>; ClassMetadataCleared: AugmentedEvent<ApiType, [u32]>;
/** /**
* New metadata has been set for an asset class. \[ class, data, is_frozen \] * New metadata has been set for an asset class.
**/ **/
ClassMetadataSet: AugmentedEvent<ApiType, [u32, Bytes, bool]>; ClassMetadataSet: AugmentedEvent<ApiType, [u32, Bytes, bool]>;
/** /**
* Some asset `class` was thawed. \[ class \] * Some asset `class` was thawed.
**/ **/
ClassThawed: AugmentedEvent<ApiType, [u32]>; ClassThawed: AugmentedEvent<ApiType, [u32]>;
/** /**
* An asset class was created. \[ class, creator, owner \] * An asset class was created.
**/ **/
Created: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>; Created: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32]>;
/** /**
* An asset `class` was destroyed. \[ class \] * An asset `class` was destroyed.
**/ **/
Destroyed: AugmentedEvent<ApiType, [u32]>; Destroyed: AugmentedEvent<ApiType, [u32]>;
/** /**
* An asset class was force-created. \[ class, owner \] * An asset class was force-created.
**/ **/
ForceCreated: AugmentedEvent<ApiType, [u32, AccountId32]>; ForceCreated: AugmentedEvent<ApiType, [u32, AccountId32]>;
/** /**
* Some asset `instance` was frozen. \[ class, instance \] * Some asset `instance` was frozen.
**/ **/
Frozen: AugmentedEvent<ApiType, [u32, u32]>; Frozen: AugmentedEvent<ApiType, [u32, u32]>;
/** /**
* An asset `instance` was issued. \[ class, instance, owner \] * An asset `instance` was issued.
**/ **/
Issued: AugmentedEvent<ApiType, [u32, u32, AccountId32]>; Issued: AugmentedEvent<ApiType, [u32, u32, AccountId32]>;
/** /**
* Metadata has been cleared for an asset instance. \[ class, instance \] * Metadata has been cleared for an asset instance.
**/ **/
MetadataCleared: AugmentedEvent<ApiType, [u32, u32]>; MetadataCleared: AugmentedEvent<ApiType, [u32, u32]>;
/** /**
* New metadata has been set for an asset instance. * New metadata has been set for an asset instance.
* \[ class, instance, data, is_frozen \]
**/ **/
MetadataSet: AugmentedEvent<ApiType, [u32, u32, Bytes, bool]>; MetadataSet: AugmentedEvent<ApiType, [u32, u32, Bytes, bool]>;
/** /**
* The owner changed \[ class, new_owner \] * The owner changed.
**/ **/
OwnerChanged: AugmentedEvent<ApiType, [u32, AccountId32]>; OwnerChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;
/** /**
* Metadata has been cleared for an asset instance. \[ class, successful_instances \] * Metadata has been cleared for an asset instance.
**/ **/
Redeposited: AugmentedEvent<ApiType, [u32, Vec<u32>]>; Redeposited: AugmentedEvent<ApiType, [u32, Vec<u32>]>;
/** /**
* The management team changed \[ class, issuer, admin, freezer \] * The management team changed.
**/ **/
TeamChanged: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32]>; TeamChanged: AugmentedEvent<ApiType, [u32, AccountId32, AccountId32, AccountId32]>;
/** /**
* Some asset `instance` was thawed. \[ class, instance \] * Some asset `instance` was thawed.
**/ **/
Thawed: AugmentedEvent<ApiType, [u32, u32]>; Thawed: AugmentedEvent<ApiType, [u32, u32]>;
/** /**
* An asset `instance` was transferred. \[ class, instance, from, to \] * An asset `instance` was transferred.
**/ **/
Transferred: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>; Transferred: AugmentedEvent<ApiType, [u32, u32, AccountId32, AccountId32]>;
/** /**
@@ -1143,7 +1100,7 @@ declare module '@polkadot/api/types/events' {
BatchCompleted: AugmentedEvent<ApiType, []>; BatchCompleted: AugmentedEvent<ApiType, []>;
/** /**
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
* well as the error. \[index, error\] * well as the error.
**/ **/
BatchInterrupted: AugmentedEvent<ApiType, [u32, SpRuntimeDispatchError]>; BatchInterrupted: AugmentedEvent<ApiType, [u32, SpRuntimeDispatchError]>;
/** /**
@@ -1167,7 +1124,6 @@ declare module '@polkadot/api/types/events' {
/** /**
* The amount vested has been updated. This could indicate a change in funds available. * The amount vested has been updated. This could indicate a change in funds available.
* The balance given is the amount which is left unvested (and thus locked). * The balance given is the amount which is left unvested (and thus locked).
* \[account, unvested\]
**/ **/
VestingUpdated: AugmentedEvent<ApiType, [AccountId32, u128]>; VestingUpdated: AugmentedEvent<ApiType, [AccountId32, u128]>;
/** /**
@@ -1175,9 +1131,10 @@ declare module '@polkadot/api/types/events' {
**/ **/
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
} } // AugmentedEvents
export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> { export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {
[key: string]: ModuleEvents<ApiType>; [key: string]: ModuleEvents<ApiType>;
} } // DecoratedEvents
}
} // declare module
+12 -11
View File
@@ -1,14 +1,14 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { ApiTypes } from '@polkadot/api/types';
import type { BTreeMap, Bytes, Data, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u32, u64, u8 } from '@polkadot/types';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetBalance, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmPrefabWasmModule, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerReleases, PalletSchedulerScheduledV2, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
import type { AnyNumber, ITuple, Observable } from '@polkadot/types/types';
declare module '@polkadot/api/types/storage' { declare module '@polkadot/api/types/storage' {
export interface AugmentedQueries<ApiType> { import type { ApiTypes, AugmentedQuery, QueryableModuleStorage, QueryableStorageEntry } from '@polkadot/api/types';
import type { BTreeMap, Bytes, Data, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u32, u64, u8 } from '@polkadot/types';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, NodeRuntimeSessionKeys, PalletAssetsApproval, PalletAssetsAssetBalance, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmPrefabWasmModule, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerReleases, PalletSchedulerScheduledV2, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesClassDetails, PalletUniquesClassMetadata, PalletUniquesInstanceDetails, PalletUniquesInstanceMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
import type { AnyNumber, ITuple, Observable } from '@polkadot/types/types';
export interface AugmentedQueries<ApiType extends ApiTypes> {
assets: { assets: {
/** /**
* The number of units of assets held by any given account. * The number of units of assets held by any given account.
@@ -169,7 +169,7 @@ declare module '@polkadot/api/types/storage' {
}; };
bagsList: { bagsList: {
/** /**
* How many ids are registered. * Counter for the related counted storage map
**/ **/
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
@@ -1414,9 +1414,10 @@ declare module '@polkadot/api/types/storage' {
**/ **/
[key: string]: QueryableStorageEntry<ApiType>; [key: string]: QueryableStorageEntry<ApiType>;
}; };
} } // AugmentedQueries
export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> { export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {
[key: string]: QueryableModuleStorage<ApiType>; [key: string]: QueryableModuleStorage<ApiType>;
} } // QueryableStorage
}
} // declare module
+25 -23
View File
@@ -1,28 +1,29 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { Bytes, HashMap, Json, Metadata, Null, Option, StorageKey, Text, U256, U64, Vec, bool, u32, u64 } from '@polkadot/types';
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
import type { AnyNumber, Codec, IExtrinsic, Observable } from '@polkadot/types/types';
declare module '@polkadot/rpc-core/types.jsonrpc' { declare module '@polkadot/rpc-core/types.jsonrpc' {
import type { AugmentedRpc } from '@polkadot/api/types';
import type { Bytes, HashMap, Json, Metadata, Null, Option, StorageKey, Text, U256, U64, Vec, bool, u32, u64 } from '@polkadot/types';
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
import type { AnyNumber, Codec, IExtrinsic, Observable } from '@polkadot/types/types';
export interface RpcInterface { export interface RpcInterface {
author: { author: {
/** /**
@@ -556,5 +557,6 @@ declare module '@polkadot/rpc-core/types.jsonrpc' {
**/ **/
sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable<H256>>; sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable<H256>>;
}; };
} } // RpcInterface
}
} // declare module
+45 -47
View File
@@ -1,15 +1,15 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';
import type { Bytes, Compact, Data, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { NodeRuntimeOriginCaller, NodeRuntimeProxyType, NodeRuntimeSessionKeys, PalletAssetsDestroyWitness, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpCoreChangesTrieChangesTrieConfiguration, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
import type { AnyNumber, ITuple } from '@polkadot/types/types';
declare module '@polkadot/api/types/submittable' { declare module '@polkadot/api/types/submittable' {
export interface AugmentedSubmittables<ApiType> { import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction, SubmittableModuleExtrinsics } from '@polkadot/api/types';
import type { Bytes, Compact, Data, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { NodeRuntimeOriginCaller, NodeRuntimeProxyType, NodeRuntimeSessionKeys, PalletAssetsDestroyWitness, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
import type { AnyNumber, ITuple } from '@polkadot/types/types';
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
assets: { assets: {
/** /**
* Approve an amount of asset for transfer by a delegated third-party account. * Approve an amount of asset for transfer by a delegated third-party account.
@@ -33,7 +33,7 @@ declare module '@polkadot/api/types/submittable' {
* *
* Weight: `O(1)` * Weight: `O(1)`
**/ **/
approveTransfer: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u64>]>; approveTransfer: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
/** /**
* Reduce the balance of `who` by as much as possible up to `amount` assets of `id`. * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
* *
@@ -51,7 +51,7 @@ declare module '@polkadot/api/types/submittable' {
* Weight: `O(1)` * Weight: `O(1)`
* Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`.
**/ **/
burn: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u64>]>; burn: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
/** /**
* Cancel all of some asset approved for delegated transfer by a third-party account. * Cancel all of some asset approved for delegated transfer by a third-party account.
* *
@@ -103,7 +103,7 @@ declare module '@polkadot/api/types/submittable' {
* *
* Weight: `O(1)` * Weight: `O(1)`
**/ **/
create: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minBalance: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, u64]>; create: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, u128]>;
/** /**
* Destroy a class of fungible assets. * Destroy a class of fungible assets.
* *
@@ -149,7 +149,7 @@ declare module '@polkadot/api/types/submittable' {
* *
* Weight: `O(1)` * Weight: `O(1)`
**/ **/
forceAssetStatus: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, issuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, freezer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minBalance: Compact<u64> | AnyNumber | Uint8Array, isSufficient: bool | boolean | Uint8Array, isFrozen: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, MultiAddress, MultiAddress, Compact<u64>, bool, bool]>; forceAssetStatus: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, issuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, freezer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minBalance: Compact<u128> | AnyNumber | Uint8Array, isSufficient: bool | boolean | Uint8Array, isFrozen: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, MultiAddress, MultiAddress, Compact<u128>, bool, bool]>;
/** /**
* Cancel all of some asset approved for delegated transfer by a third-party account. * Cancel all of some asset approved for delegated transfer by a third-party account.
* *
@@ -201,7 +201,7 @@ declare module '@polkadot/api/types/submittable' {
* *
* Weight: `O(1)` * Weight: `O(1)`
**/ **/
forceCreate: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, isSufficient: bool | boolean | Uint8Array, minBalance: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, bool, Compact<u64>]>; forceCreate: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, isSufficient: bool | boolean | Uint8Array, minBalance: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, bool, Compact<u128>]>;
/** /**
* Force the metadata for an asset to some value. * Force the metadata for an asset to some value.
* *
@@ -240,7 +240,7 @@ declare module '@polkadot/api/types/submittable' {
* Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of
* `dest`. * `dest`.
**/ **/
forceTransfer: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, Compact<u64>]>; forceTransfer: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, Compact<u128>]>;
/** /**
* Disallow further unprivileged transfers from an account. * Disallow further unprivileged transfers from an account.
* *
@@ -280,7 +280,7 @@ declare module '@polkadot/api/types/submittable' {
* Weight: `O(1)` * Weight: `O(1)`
* Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`.
**/ **/
mint: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u64>]>; mint: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
/** /**
* Set the metadata for an asset. * Set the metadata for an asset.
* *
@@ -360,7 +360,7 @@ declare module '@polkadot/api/types/submittable' {
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
* `target`. * `target`.
**/ **/
transfer: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u64>]>; transfer: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
/** /**
* Transfer some asset balance from a previously delegated account to some third-party * Transfer some asset balance from a previously delegated account to some third-party
* account. * account.
@@ -381,7 +381,7 @@ declare module '@polkadot/api/types/submittable' {
* *
* Weight: `O(1)` * Weight: `O(1)`
**/ **/
transferApproved: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, destination: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, Compact<u64>]>; transferApproved: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, destination: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, Compact<u128>]>;
/** /**
* Move some assets from the sender account to another, keeping the sender account alive. * Move some assets from the sender account to another, keeping the sender account alive.
* *
@@ -402,7 +402,7 @@ declare module '@polkadot/api/types/submittable' {
* Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of
* `target`. * `target`.
**/ **/
transferKeepAlive: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u64>]>; transferKeepAlive: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
/** /**
* Change the Owner of an asset. * Change the Owner of an asset.
* *
@@ -871,6 +871,13 @@ declare module '@polkadot/api/types/submittable' {
* NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
* the weight estimations rely on it to estimate dispatchable weight. * the weight estimations rely on it to estimate dispatchable weight.
* *
* # WARNING:
*
* The `pallet-collective` can also be managed by logic outside of the pallet through the
* implementation of the trait [`ChangeMembers`].
* Any call to `set_members` must be careful that the member set doesn't get out of sync
* with other logic managing the member set.
*
* # <weight> * # <weight>
* ## Weight * ## Weight
* - `O(MP + N)` where: * - `O(MP + N)` where:
@@ -3156,22 +3163,18 @@ declare module '@polkadot/api/types/submittable' {
**/ **/
payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>; payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
/** /**
* Remove all data structure concerning a staker/stash once its balance is at the minimum. * Remove all data structures concerning a staker/stash once it is at a state where it can
* This is essentially equivalent to `withdraw_unbonded` except it can be called by anyone * be considered `dust` in the staking system. The requirements are:
* and the target `stash` must have no funds left beyond the ED.
* *
* This can be called from any origin. * 1. the `total_balance` of the stash is below existential deposit.
* 2. or, the `ledger.total` of the stash is below existential deposit.
* *
* - `stash`: The stash account to reap. Its balance must be zero. * The former can happen in cases like a slash; the latter when a fully unbonded account
* is still receiving staking rewards in `RewardDestination::Staked`.
* *
* # <weight> * It can be called by anyone, as long as `stash` meets the above requirements.
* Complexity: O(S) where S is the number of slashing spans on the account. *
* DB Weight: * Refunds the transaction fees upon successful execution.
* - Reads: Stash Account, Bonded, Slashing Spans, Locks
* - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,
* Stash Account, Locks
* - Writes Each: SpanSlash * S
* # </weight>
**/ **/
reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>; reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
/** /**
@@ -3456,19 +3459,6 @@ declare module '@polkadot/api/types/submittable' {
* # </weight> * # </weight>
**/ **/
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* Set the new changes trie configuration.
*
* # <weight>
* - `O(1)`
* - 1 storage write or delete (codec `O(1)`).
* - 1 call to `deposit_log`: Uses `append` API, so O(1)
* - Base Weight: 7.218 µs
* - DB Weight:
* - Writes: Changes Trie, System Digest
* # </weight>
**/
setChangesTrieConfig: AugmentedSubmittable<(changesTrieConfig: Option<SpCoreChangesTrieChangesTrieConfiguration> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<SpCoreChangesTrieChangesTrieConfiguration>]>;
/** /**
* Set the new runtime code. * Set the new runtime code.
* *
@@ -3634,6 +3624,13 @@ declare module '@polkadot/api/types/submittable' {
* NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
* the weight estimations rely on it to estimate dispatchable weight. * the weight estimations rely on it to estimate dispatchable weight.
* *
* # WARNING:
*
* The `pallet-collective` can also be managed by logic outside of the pallet through the
* implementation of the trait [`ChangeMembers`].
* Any call to `set_members` must be careful that the member set doesn't get out of sync
* with other logic managing the member set.
*
* # <weight> * # <weight>
* ## Weight * ## Weight
* - `O(MP + N)` where: * - `O(MP + N)` where:
@@ -4515,10 +4512,11 @@ declare module '@polkadot/api/types/submittable' {
**/ **/
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
} } // AugmentedSubmittables
export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> { export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {
(extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>; (extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;
[key: string]: SubmittableModuleExtrinsics<ApiType>; [key: string]: SubmittableModuleExtrinsics<ApiType>;
} } // SubmittableExtrinsics
}
} // declare module
+4 -2
View File
@@ -354,8 +354,10 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
const [k, { method, section }] = allKnown[i]; const [k, { method, section }] = allKnown[i];
if (hasResults && !exposed.includes(k) && k !== 'rpc_methods') { if (hasResults && !exposed.includes(k) && k !== 'rpc_methods') {
delete (this._rpc as Record<string, Record<string, unknown>>)[section][method]; if ((this._rpc as Record<string, Record<string, unknown>>)[section]) {
delete (this._rx.rpc as Record<string, Record<string, unknown>>)[section][method]; delete (this._rpc as Record<string, Record<string, unknown>>)[section][method];
delete (this._rx.rpc as Record<string, Record<string, unknown>>)[section][method];
}
} }
} }
} }
+1 -1
View File
@@ -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.9.2' }; export const packageInfo = { name: '@polkadot/api', version: '6.10.3' };
+1 -1
View File
@@ -14,7 +14,7 @@ import { hexToU8a } from '@polkadot/util';
import { SingleAccountSigner } from '../../test/util'; import { SingleAccountSigner } from '../../test/util';
import { ApiPromise } from '.'; import { ApiPromise } from '.';
const TRANSFER_SIG = '0x54f39e43f32376a5ab6cdfd4d0ce57802aa9ff85514a7ffa9f2a949078f02beca16af87427c45fe60d54aa847fd241d127ed39e21b101806f6b1f50f7a82500b'; const TRANSFER_SIG = '0xcc277eb341d3801c08f149508221583fa3185cc3944e6cb376cd061640305edd7dc24dfd754adb24768f1d8547389b7720e6f626bc81f5593fba1141e7f7ba07';
describe('ApiPromise', (): void => { describe('ApiPromise', (): void => {
const registry = new TypeRegistry(); const registry = new TypeRegistry();
-3
View File
@@ -5,9 +5,6 @@ import type { PalletConstantMetadataLatest } from '@polkadot/types/interfaces';
import type { Codec } from '@polkadot/types/types'; import type { Codec } from '@polkadot/types/types';
import type { ApiTypes } from './base'; import type { ApiTypes } from './base';
// eslint-disable-next-line @typescript-eslint/no-empty-interface,@typescript-eslint/no-unused-vars
export interface AugmentedConsts<ApiType extends ApiTypes> { }
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
export interface AugmentedConst<ApiType extends ApiTypes> { export interface AugmentedConst<ApiType extends ApiTypes> {
meta: PalletConstantMetadataLatest; meta: PalletConstantMetadataLatest;
-4
View File
@@ -4,10 +4,6 @@
import type { IsError } from '@polkadot/types/metadata/decorate/types'; import type { IsError } from '@polkadot/types/metadata/decorate/types';
import type { ApiTypes } from './base'; import type { ApiTypes } from './base';
// In errors we don't need the ApiType, however add it for consistency
// eslint-disable-next-line @typescript-eslint/no-empty-interface,@typescript-eslint/no-unused-vars
export interface AugmentedErrors<ApiType extends ApiTypes> { }
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
export type AugmentedError<ApiType extends ApiTypes> = IsError; export type AugmentedError<ApiType extends ApiTypes> = IsError;
-4
View File
@@ -5,10 +5,6 @@ import type { IsEvent } from '@polkadot/types/metadata/decorate/types';
import type { AnyTuple } from '@polkadot/types/types'; import type { AnyTuple } from '@polkadot/types/types';
import type { ApiTypes } from './base'; import type { ApiTypes } from './base';
// In events we don't need the ApiType, however add it for consistency
// eslint-disable-next-line @typescript-eslint/no-empty-interface,@typescript-eslint/no-unused-vars
export interface AugmentedEvents<ApiType extends ApiTypes> { }
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
export type AugmentedEvent<ApiType extends ApiTypes, T extends AnyTuple = AnyTuple> = IsEvent<T>; export type AugmentedEvent<ApiType extends ApiTypes, T extends AnyTuple = AnyTuple> = IsEvent<T>;
+13 -6
View File
@@ -1,10 +1,14 @@
// 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
// Augment the modules
import '@polkadot/api/augment'; import '@polkadot/api/augment';
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
import type { QueryableConsts } from '@polkadot/api/types/consts';
import type { DecoratedErrors } from '@polkadot/api/types/errors';
import type { DecoratedEvents } from '@polkadot/api/types/events';
import type { QueryableStorage } from '@polkadot/api/types/storage';
import type { SubmittableExtrinsics } from '@polkadot/api/types/submittable';
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';
@@ -16,14 +20,17 @@ 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';
import type { ApiTypes } from './base'; import type { ApiTypes } from './base';
import type { QueryableConsts } from './consts';
import type { DecoratedErrors } from './errors';
import type { DecoratedEvents } from './events';
import type { DecoratedRpc } from './rpc'; import type { DecoratedRpc } from './rpc';
import type { QueryableStorage, QueryableStorageMulti } from './storage'; import type { QueryableStorageMulti } from './storage';
import type { SubmittableExtrinsics } from './submittable';
export * from '@polkadot/api/types/consts';
export * from '@polkadot/api/types/errors';
export * from '@polkadot/api/types/events';
export * from '@polkadot/api/types/storage';
export * from '@polkadot/api/types/submittable';
export * from '@polkadot/api/types/rpc';
export { Signer, SignerResult } from '@polkadot/types/types'; export { Signer, SignerResult } from '@polkadot/types/types';
export { ApiBase } from '../base'; export { ApiBase } from '../base';
export * from '../submittable/types'; export * from '../submittable/types';
export * from './base'; export * from './base';
+5 -1
View File
@@ -4,7 +4,6 @@
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
import type { AnyFunction, Callback, DefinitionRpc } from '@polkadot/types/types'; import type { AnyFunction, Callback, DefinitionRpc } from '@polkadot/types/types';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { ApiTypes, PromiseResult, Push, RxResult, UnsubscribePromise } from './base'; import { ApiTypes, PromiseResult, Push, RxResult, UnsubscribePromise } from './base';
export interface RpcRxResult<F extends AnyFunction> extends RxResult<F> { export interface RpcRxResult<F extends AnyFunction> extends RxResult<F> {
@@ -31,3 +30,8 @@ export type DecoratedRpcSection<ApiType extends ApiTypes, Section> = {
export type DecoratedRpc<ApiType extends ApiTypes, AllSections> = { export type DecoratedRpc<ApiType extends ApiTypes, AllSections> = {
[Section in keyof AllSections]: DecoratedRpcSection<ApiType, AllSections[Section]> [Section in keyof AllSections]: DecoratedRpcSection<ApiType, AllSections[Section]>
} }
export type AugmentedRpc<F extends AnyFunction> = F & {
raw: <T> (...params: Parameters<F>) => Observable<T>;
meta: DefinitionRpc;
};
+1 -3
View File
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
import type { AugmentedQueries } from '@polkadot/api/types/storage';
import type { StorageKey, u64 } from '@polkadot/types'; import type { StorageKey, u64 } from '@polkadot/types';
import type { Hash } from '@polkadot/types/interfaces'; import type { Hash } from '@polkadot/types/interfaces';
import type { StorageEntry } from '@polkadot/types/primitive/types'; import type { StorageEntry } from '@polkadot/types/primitive/types';
@@ -123,9 +124,6 @@ export type QueryableStorageMulti<ApiType extends ApiTypes> =
? QueryableStorageMultiBase<ApiType> ? QueryableStorageMultiBase<ApiType>
: QueryableStorageMultiPromise<ApiType>; : QueryableStorageMultiPromise<ApiType>;
// eslint-disable-next-line @typescript-eslint/no-empty-interface,@typescript-eslint/no-unused-vars
export interface AugmentedQueries<ApiType extends ApiTypes> { }
export type AugmentedQuery<ApiType extends ApiTypes, F extends AnyFunction, A extends AnyTuple = AnyTuple> = MethodResult<ApiType, F> & StorageEntryBase<ApiType, F, A>; export type AugmentedQuery<ApiType extends ApiTypes, F extends AnyFunction, A extends AnyTuple = AnyTuple> = MethodResult<ApiType, F> & StorageEntryBase<ApiType, F, A>;
export type AugmentedQueryAt<ApiType extends ApiTypes, F extends AnyFunction, A extends AnyTuple = AnyTuple> = MethodResult<ApiType, F> & StorageEntryBaseAt<ApiType, F, A>; export type AugmentedQueryAt<ApiType extends ApiTypes, F extends AnyFunction, A extends AnyTuple = AnyTuple> = MethodResult<ApiType, F> & StorageEntryBaseAt<ApiType, F, A>;
-3
View File
@@ -5,9 +5,6 @@ import type { AnyFunction, AnyTuple, CallBase } from '@polkadot/types/types';
import type { SubmittableExtrinsic } from '../submittable/types'; import type { SubmittableExtrinsic } from '../submittable/types';
import type { ApiTypes } from './base'; import type { ApiTypes } from './base';
// eslint-disable-next-line @typescript-eslint/no-empty-interface,@typescript-eslint/no-unused-vars
export interface AugmentedSubmittables<ApiType extends ApiTypes> { }
export type AugmentedSubmittable<T extends AnyFunction, A extends AnyTuple = AnyTuple> = T & CallBase<A>; export type AugmentedSubmittable<T extends AnyFunction, A extends AnyTuple = AnyTuple> = T & CallBase<A>;
export interface SubmittableExtrinsicFunction<ApiType extends ApiTypes, A extends AnyTuple = AnyTuple> extends CallBase<A> { export interface SubmittableExtrinsicFunction<ApiType extends ApiTypes, A extends AnyTuple = AnyTuple> extends CallBase<A> {
+5 -5
View File
@@ -20,16 +20,16 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/rpc-provider": "6.9.2", "@polkadot/rpc-provider": "6.10.3",
"@polkadot/types": "6.9.2", "@polkadot/types": "6.10.3",
"@polkadot/util": "^7.9.2", "@polkadot/util": "^8.0.4",
"rxjs": "^7.4.0" "rxjs": "^7.4.0"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^7.9.2" "@polkadot/keyring": "^8.0.4"
} }
} }
+1 -1
View File
@@ -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.9.2' }; export const packageInfo = { name: '@polkadot/rpc-core', version: '6.10.3' };
+1 -12
View File
@@ -1,15 +1,4 @@
// Copyright 2017-2021 @polkadot/rpc-core authors & contributors // Copyright 2017-2021 @polkadot/rpc-core authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// FIXME, this whole file needs to move to API export const __PHANTOM_RPC = 'phantom-rpc';
import type { Observable } from 'rxjs';
import type { AnyFunction, DefinitionRpc } from '@polkadot/types/types';
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface RpcInterface {}
export type AugmentedRpc<F extends AnyFunction> = F & {
raw: <T> (...params: Parameters<F>) => Observable<T>;
meta: DefinitionRpc;
};
+1 -1
View File
@@ -4,7 +4,7 @@
import type { Observable } from 'rxjs'; import type { Observable } from 'rxjs';
import type { Codec, DefinitionRpc } from '@polkadot/types/types'; import type { Codec, DefinitionRpc } from '@polkadot/types/types';
export * from './types.jsonrpc'; export * from '@polkadot/rpc-core/types.jsonrpc';
export interface RpcInterfaceMethod { export interface RpcInterfaceMethod {
<T extends Codec> (...params: unknown[]): Observable<T>; <T extends Codec> (...params: unknown[]): Observable<T>;
+9 -9
View File
@@ -20,21 +20,21 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/types": "6.9.2", "@polkadot/types": "6.10.3",
"@polkadot/util": "^7.9.2", "@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^7.9.2", "@polkadot/util-crypto": "^8.0.4",
"@polkadot/x-fetch": "^7.9.2", "@polkadot/x-fetch": "^8.0.4",
"@polkadot/x-global": "^7.9.2", "@polkadot/x-global": "^8.0.4",
"@polkadot/x-ws": "^7.9.2", "@polkadot/x-ws": "^8.0.4",
"eventemitter3": "^4.0.7" "eventemitter3": "^4.0.7"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^7.9.2", "@polkadot/keyring": "^8.0.4",
"@polkadot/types": "6.9.2", "@polkadot/types": "6.10.3",
"mock-socket": "^9.0.8", "mock-socket": "^9.0.8",
"nock": "^13.2.1" "nock": "^13.2.1"
} }
+1 -1
View File
@@ -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.9.2' }; export const packageInfo = { name: '@polkadot/rpc-provider', version: '6.10.3' };
+6 -6
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"bin": { "bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs", "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,11 +33,11 @@
"@babel/core": "^7.16.0", "@babel/core": "^7.16.0",
"@babel/register": "^7.16.0", "@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/api": "6.9.2", "@polkadot/api": "6.10.3",
"@polkadot/rpc-provider": "6.9.2", "@polkadot/rpc-provider": "6.10.3",
"@polkadot/types": "6.9.2", "@polkadot/types": "6.10.3",
"@polkadot/types-support": "6.9.2", "@polkadot/types-support": "6.10.3",
"@polkadot/util": "^7.9.2", "@polkadot/util": "^8.0.4",
"handlebars": "^4.7.7", "handlebars": "^4.7.7",
"websocket": "^1.0.34", "websocket": "^1.0.34",
"yargs": "^17.2.1" "yargs": "^17.2.1"
+1 -1
View File
@@ -76,7 +76,7 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
})), })),
{ {
file: '@polkadot/api/types', file: '@polkadot/api/types',
types: ['ApiTypes'] types: ['ApiTypes', 'AugmentedConst', 'QueryableModuleConsts']
} }
] ]
}); });
+1 -1
View File
@@ -39,7 +39,7 @@ function generateForMeta (meta: Metadata, dest: string, isStrict: boolean): void
types: [ types: [
{ {
file: '@polkadot/api/types', file: '@polkadot/api/types',
types: ['ApiTypes'] types: ['ApiTypes', 'AugmentedError', 'ModuleErrors']
} }
] ]
}); });
+1 -1
View File
@@ -68,7 +68,7 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
})), })),
{ {
file: '@polkadot/api/types', file: '@polkadot/api/types',
types: ['ApiTypes'] types: ['ApiTypes', 'AugmentedEvent', 'ModuleEvents']
} }
] ]
}); });
+1 -1
View File
@@ -125,7 +125,7 @@ function generateForMeta (registry: Registry, meta: Metadata, dest: string, extr
})), })),
{ {
file: '@polkadot/api/types', file: '@polkadot/api/types',
types: ['ApiTypes'] types: ['ApiTypes', 'AugmentedQuery', 'QueryableStorageEntry', 'QueryableModuleStorage']
} }
] ]
}); });
+5 -1
View File
@@ -134,7 +134,11 @@ export function generateRpcTypes (registry: TypeRegistry, importDefinitions: Rec
...Object.keys(imports.localTypes).sort().map((packagePath): { file: string; types: string[] } => ({ ...Object.keys(imports.localTypes).sort().map((packagePath): { file: string; types: string[] } => ({
file: packagePath.replace('@polkadot/types/augment', '@polkadot/types'), file: packagePath.replace('@polkadot/types/augment', '@polkadot/types'),
types: Object.keys(imports.localTypes[packagePath]) types: Object.keys(imports.localTypes[packagePath])
})) })),
{
file: '@polkadot/api/types',
types: ['AugmentedRpc']
}
] ]
}); });
}); });
+1 -1
View File
@@ -110,7 +110,7 @@ function generateForMeta (registry: Registry, meta: Metadata, dest: string, extr
})), })),
{ {
file: '@polkadot/api/types', file: '@polkadot/api/types',
types: ['ApiTypes', 'SubmittableExtrinsic'] types: ['ApiTypes', 'AugmentedSubmittable', 'SubmittableExtrinsic', 'SubmittableExtrinsicFunction', 'SubmittableModuleExtrinsics']
} }
] ]
}); });
+1 -1
View File
@@ -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.9.2' }; export const packageInfo = { name: '@polkadot/typegen', version: '6.10.3' };
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }} {{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/consts' { declare module '@polkadot/api/types/consts' {
export interface AugmentedConsts<ApiType> { {{{ imports }}}
export interface AugmentedConsts<ApiType extends ApiTypes> {
{{#each modules}} {{#each modules}}
{{{name}}}: { {{{name}}}: {
{{#each items}} {{#each items}}
@@ -18,12 +18,12 @@ declare module '@polkadot/api/types/consts' {
{{/unless}} {{/unless}}
}; };
{{/each}} {{/each}}
} } // AugmentedConsts
export interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> { export interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> {
{{#unless isStrict}} {{#unless isStrict}}
[key: string]: QueryableModuleConsts; [key: string]: QueryableModuleConsts;
{{/unless}} {{/unless}}
} } // QueryableConsts
}
{{> footer }} } // declare module
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }} {{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/errors' { declare module '@polkadot/api/types/errors' {
export interface AugmentedErrors<ApiType> { {{{ imports }}}
export interface AugmentedErrors<ApiType extends ApiTypes> {
{{#each modules}} {{#each modules}}
{{{name}}}: { {{{name}}}: {
{{#each items}} {{#each items}}
@@ -18,12 +18,12 @@ declare module '@polkadot/api/types/errors' {
{{/unless}} {{/unless}}
}; };
{{/each}} {{/each}}
} } // AugmentedErrors
export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> { export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
{{#unless isStrict}} {{#unless isStrict}}
[key: string]: ModuleErrors<ApiType>; [key: string]: ModuleErrors<ApiType>;
{{/unless}} {{/unless}}
} } // DecoratedErrors
}
{{> footer }} } // declare module
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }} {{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/events' { declare module '@polkadot/api/types/events' {
export interface AugmentedEvents<ApiType> { {{{ imports }}}
export interface AugmentedEvents<ApiType extends ApiTypes> {
{{#each modules}} {{#each modules}}
{{{name}}}: { {{{name}}}: {
{{#each items}} {{#each items}}
@@ -18,12 +18,12 @@ declare module '@polkadot/api/types/events' {
{{/unless}} {{/unless}}
}; };
{{/each}} {{/each}}
} } // AugmentedEvents
export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> { export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {
{{#unless isStrict}} {{#unless isStrict}}
[key: string]: ModuleEvents<ApiType>; [key: string]: ModuleEvents<ApiType>;
{{/unless}} {{/unless}}
} } // DecoratedEvents
}
{{> footer }} } // declare module
@@ -1,12 +1,11 @@
{{> header }} {{> header }}
{{{ imports }}}
declare module '@polkadot/types/types/registry' { declare module '@polkadot/types/types/registry' {
{{{ imports }}}
export interface InterfaceTypes { export interface InterfaceTypes {
{{#each items}} {{#each items}}
{{{this}}}: {{{this}}}; {{{this}}}: {{{this}}};
{{/each}} {{/each}}
} } // InterfaceTypes
} } // declare module
{{> footer }}
@@ -10,4 +10,3 @@ export default {
{{/each}} {{/each}}
{{/each}} {{/each}}
}; };
{{> footer }}
@@ -13,4 +13,3 @@ export default {
{{/each}} {{/each}}
} }
}; };
{{> footer }}
@@ -1,4 +1,3 @@
{{> header }} {{> header }}
export * from './types'; export * from './types';
{{> footer }}
@@ -1,12 +1,10 @@
{{> header }} {{> header }}
{{{ imports }}}
declare module '@polkadot/types/lookup' { declare module '@polkadot/types/lookup' {
{{{ imports }}}
{{#each items}} {{#each items}}
{{{this}}} {{{this}}}
{{/each}} {{/each}}
} } // declare module
{{> footer }}
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }} {{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/storage' { declare module '@polkadot/api/types/storage' {
export interface AugmentedQueries<ApiType> { {{{ imports }}}
export interface AugmentedQueries<ApiType extends ApiTypes> {
{{#each modules}} {{#each modules}}
{{{name}}}: { {{{name}}}: {
{{#each items}} {{#each items}}
@@ -18,12 +18,12 @@ declare module '@polkadot/api/types/storage' {
{{/unless}} {{/unless}}
}; };
{{/each}} {{/each}}
} } // AugmentedQueries
export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> { export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {
{{#unless isStrict}} {{#unless isStrict}}
[key: string]: QueryableModuleStorage<ApiType>; [key: string]: QueryableModuleStorage<ApiType>;
{{/unless}} {{/unless}}
} } // QueryableStorage
}
{{> footer }} } // declare module
+5 -5
View File
@@ -1,8 +1,8 @@
{{> header }} {{> header }}
{{{ imports }}}
declare module '@polkadot/rpc-core/types.jsonrpc' { declare module '@polkadot/rpc-core/types.jsonrpc' {
{{{ imports }}}
export interface RpcInterface { export interface RpcInterface {
{{#each modules}} {{#each modules}}
{{{name}}}: { {{{name}}}: {
@@ -12,6 +12,6 @@ declare module '@polkadot/rpc-core/types.jsonrpc' {
{{/each}} {{/each}}
}; };
{{/each}} {{/each}}
} } // RpcInterface
}
{{> footer }} } // declare module
@@ -1,4 +1,3 @@
{{> header }} {{> header }}
export * from './types'; export * from './types';
{{> footer }}
@@ -8,4 +8,3 @@
{{/each}} {{/each}}
export type PHANTOM_{{#upper}}{{{name}}}{{/upper}} = '{{{name}}}'; export type PHANTOM_{{#upper}}{{{name}}}{{/upper}} = '{{{name}}}';
{{> footer }}
@@ -3,4 +3,3 @@
{{#each items}} {{#each items}}
export * from './{{{this}}}/types'; export * from './{{{this}}}/types';
{{/each}} {{/each}}
{{> footer }}
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }} {{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/submittable' { declare module '@polkadot/api/types/submittable' {
export interface AugmentedSubmittables<ApiType> { {{{ imports }}}
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
{{#each modules}} {{#each modules}}
{{{name}}}: { {{{name}}}: {
{{#each items}} {{#each items}}
@@ -18,13 +18,13 @@ declare module '@polkadot/api/types/submittable' {
{{/unless}} {{/unless}}
}; };
{{/each}} {{/each}}
} } // AugmentedSubmittables
export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> { export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {
(extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>; (extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;
{{#unless isStrict}} {{#unless isStrict}}
[key: string]: SubmittableModuleExtrinsics<ApiType>; [key: string]: SubmittableModuleExtrinsics<ApiType>;
{{/unless}} {{/unless}}
} } // SubmittableExtrinsics
}
{{> footer }} } // declare module
+1 -2
View File
@@ -30,7 +30,6 @@ const NO_CODEC = ['Tuple', 'VecFixed'];
export const HEADER = (type: 'chain' | 'defs'): string => `// Auto-generated via \`yarn polkadot-types-from-${type}\`, do not edit\n/* eslint-disable */\n\n`; export const HEADER = (type: 'chain' | 'defs'): string => `// Auto-generated via \`yarn polkadot-types-from-${type}\`, do not edit\n/* eslint-disable */\n\n`;
Handlebars.registerPartial({ Handlebars.registerPartial({
footer: Handlebars.compile(readTemplate('footer')),
header: Handlebars.compile(readTemplate('header')) header: Handlebars.compile(readTemplate('header'))
}); });
@@ -57,7 +56,7 @@ Handlebars.registerHelper({
return [...defs].sort((a, b) => a.file.localeCompare(b.file)).reduce((result, { file, types }): string => { return [...defs].sort((a, b) => a.file.localeCompare(b.file)).reduce((result, { file, types }): string => {
return types.length return types.length
? `${result}import type { ${types.sort().join(', ')} } from '${file}';\n` ? `${result}${result.length ? ' ' : ''}import type { ${types.sort().join(', ')} } from '${file}';\n`
: result; : result;
}, ''); }, '');
}, },
+4 -4
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/networks": "^7.9.2", "@polkadot/networks": "^8.0.4",
"@polkadot/types": "6.9.2", "@polkadot/types": "6.10.3",
"@polkadot/util": "^7.9.2" "@polkadot/util": "^8.0.4"
} }
} }
+1 -1
View File
@@ -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.9.2' }; export const packageInfo = { name: '@polkadot/types-known', version: '6.10.3' };
+2 -2
View File
@@ -20,10 +20,10 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/util": "^7.9.2" "@polkadot/util": "^8.0.4"
} }
} }
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
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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.9.2' }; export const packageInfo = { name: '@polkadot/types-support', version: '6.10.3' };
+6 -5
View File
@@ -20,17 +20,18 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "6.9.2", "version": "6.10.3",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.3", "@babel/runtime": "^7.16.3",
"@polkadot/util": "^7.9.2", "@polkadot/types-known": "6.10.3",
"@polkadot/util-crypto": "^7.9.2", "@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^8.0.4",
"rxjs": "^7.4.0" "rxjs": "^7.4.0"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^7.9.2", "@polkadot/keyring": "^8.0.4",
"@polkadot/types-support": "6.9.2", "@polkadot/types-support": "6.10.3",
"@types/bn.js": "^4.11.6", "@types/bn.js": "^4.11.6",
"bn.js": "^4.12.0" "bn.js": "^4.12.0"
} }
+44 -44
View File
@@ -5,13 +5,13 @@
export default { export default {
/** /**
* Lookup74: kusama_runtime::ProxyType * Lookup71: kusama_runtime::ProxyType
**/ **/
KusamaRuntimeProxyType: { KusamaRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction'] _enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction']
}, },
/** /**
* Lookup107: pallet_xcm::pallet::Event<T> * Lookup104: pallet_xcm::pallet::Event<T>
**/ **/
PalletXcmEvent: { PalletXcmEvent: {
_enum: { _enum: {
@@ -34,14 +34,14 @@ export default {
} }
}, },
/** /**
* Lookup108: xcm::v1::multilocation::MultiLocation * Lookup105: xcm::v1::multilocation::MultiLocation
**/ **/
XcmV1MultiLocation: { XcmV1MultiLocation: {
parents: 'u8', parents: 'u8',
interior: 'XcmV1MultilocationJunctions' interior: 'XcmV1MultilocationJunctions'
}, },
/** /**
* Lookup109: xcm::v1::multilocation::Junctions * Lookup106: xcm::v1::multilocation::Junctions
**/ **/
XcmV1MultilocationJunctions: { XcmV1MultilocationJunctions: {
_enum: { _enum: {
@@ -57,7 +57,7 @@ export default {
} }
}, },
/** /**
* Lookup110: xcm::v1::junction::Junction * Lookup107: xcm::v1::junction::Junction
**/ **/
XcmV1Junction: { XcmV1Junction: {
_enum: { _enum: {
@@ -85,7 +85,7 @@ export default {
} }
}, },
/** /**
* Lookup112: xcm::v0::junction::NetworkId * Lookup109: xcm::v0::junction::NetworkId
**/ **/
XcmV0JunctionNetworkId: { XcmV0JunctionNetworkId: {
_enum: { _enum: {
@@ -96,7 +96,7 @@ export default {
} }
}, },
/** /**
* Lookup114: xcm::v0::junction::BodyId * Lookup111: xcm::v0::junction::BodyId
**/ **/
XcmV0JunctionBodyId: { XcmV0JunctionBodyId: {
_enum: { _enum: {
@@ -110,7 +110,7 @@ export default {
} }
}, },
/** /**
* Lookup115: xcm::v0::junction::BodyPart * Lookup112: xcm::v0::junction::BodyPart
**/ **/
XcmV0JunctionBodyPart: { XcmV0JunctionBodyPart: {
_enum: { _enum: {
@@ -133,11 +133,11 @@ export default {
} }
}, },
/** /**
* Lookup116: xcm::v2::Xcm<Call> * Lookup113: xcm::v2::Xcm<Call>
**/ **/
XcmV2Xcm: 'Vec<XcmV2Instruction>', XcmV2Xcm: 'Vec<XcmV2Instruction>',
/** /**
* Lookup118: xcm::v2::Instruction<Call> * Lookup115: xcm::v2::Instruction<Call>
**/ **/
XcmV2Instruction: { XcmV2Instruction: {
_enum: { _enum: {
@@ -235,18 +235,18 @@ export default {
} }
}, },
/** /**
* Lookup119: xcm::v1::multiasset::MultiAssets * Lookup116: xcm::v1::multiasset::MultiAssets
**/ **/
XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>', XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
/** /**
* Lookup121: xcm::v1::multiasset::MultiAsset * Lookup118: xcm::v1::multiasset::MultiAsset
**/ **/
XcmV1MultiAsset: { XcmV1MultiAsset: {
id: 'XcmV1MultiassetAssetId', id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetFungibility' fun: 'XcmV1MultiassetFungibility'
}, },
/** /**
* Lookup122: xcm::v1::multiasset::AssetId * Lookup119: xcm::v1::multiasset::AssetId
**/ **/
XcmV1MultiassetAssetId: { XcmV1MultiassetAssetId: {
_enum: { _enum: {
@@ -255,7 +255,7 @@ export default {
} }
}, },
/** /**
* Lookup123: xcm::v1::multiasset::Fungibility * Lookup120: xcm::v1::multiasset::Fungibility
**/ **/
XcmV1MultiassetFungibility: { XcmV1MultiassetFungibility: {
_enum: { _enum: {
@@ -264,7 +264,7 @@ export default {
} }
}, },
/** /**
* Lookup124: xcm::v1::multiasset::AssetInstance * Lookup121: xcm::v1::multiasset::AssetInstance
**/ **/
XcmV1MultiassetAssetInstance: { XcmV1MultiassetAssetInstance: {
_enum: { _enum: {
@@ -278,7 +278,7 @@ export default {
} }
}, },
/** /**
* Lookup126: xcm::v2::Response * Lookup123: xcm::v2::Response
**/ **/
XcmV2Response: { XcmV2Response: {
_enum: { _enum: {
@@ -289,19 +289,19 @@ export default {
} }
}, },
/** /**
* Lookup129: xcm::v0::OriginKind * Lookup126: xcm::v0::OriginKind
**/ **/
XcmV0OriginKind: { XcmV0OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm'] _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
}, },
/** /**
* Lookup130: xcm::double_encoded::DoubleEncoded<T> * Lookup127: xcm::double_encoded::DoubleEncoded<T>
**/ **/
XcmDoubleEncoded: { XcmDoubleEncoded: {
encoded: 'Bytes' encoded: 'Bytes'
}, },
/** /**
* Lookup131: xcm::v1::multiasset::MultiAssetFilter * Lookup128: xcm::v1::multiasset::MultiAssetFilter
**/ **/
XcmV1MultiassetMultiAssetFilter: { XcmV1MultiassetMultiAssetFilter: {
_enum: { _enum: {
@@ -310,7 +310,7 @@ export default {
} }
}, },
/** /**
* Lookup132: xcm::v1::multiasset::WildMultiAsset * Lookup129: xcm::v1::multiasset::WildMultiAsset
**/ **/
XcmV1MultiassetWildMultiAsset: { XcmV1MultiassetWildMultiAsset: {
_enum: { _enum: {
@@ -322,13 +322,13 @@ export default {
} }
}, },
/** /**
* Lookup133: xcm::v1::multiasset::WildFungibility * Lookup130: xcm::v1::multiasset::WildFungibility
**/ **/
XcmV1MultiassetWildFungibility: { XcmV1MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible'] _enum: ['Fungible', 'NonFungible']
}, },
/** /**
* Lookup134: xcm::v2::WeightLimit * Lookup131: xcm::v2::WeightLimit
**/ **/
XcmV2WeightLimit: { XcmV2WeightLimit: {
_enum: { _enum: {
@@ -337,7 +337,7 @@ export default {
} }
}, },
/** /**
* Lookup136: xcm::VersionedMultiAssets * Lookup133: xcm::VersionedMultiAssets
**/ **/
XcmVersionedMultiAssets: { XcmVersionedMultiAssets: {
_enum: { _enum: {
@@ -346,7 +346,7 @@ export default {
} }
}, },
/** /**
* Lookup138: xcm::v0::multi_asset::MultiAsset * Lookup135: xcm::v0::multi_asset::MultiAsset
**/ **/
XcmV0MultiAsset: { XcmV0MultiAsset: {
_enum: { _enum: {
@@ -385,7 +385,7 @@ export default {
} }
}, },
/** /**
* Lookup139: xcm::v0::multi_location::MultiLocation * Lookup136: xcm::v0::multi_location::MultiLocation
**/ **/
XcmV0MultiLocation: { XcmV0MultiLocation: {
_enum: { _enum: {
@@ -401,7 +401,7 @@ export default {
} }
}, },
/** /**
* Lookup140: xcm::v0::junction::Junction * Lookup137: xcm::v0::junction::Junction
**/ **/
XcmV0Junction: { XcmV0Junction: {
_enum: { _enum: {
@@ -430,7 +430,7 @@ export default {
} }
}, },
/** /**
* Lookup141: xcm::VersionedMultiLocation * Lookup138: xcm::VersionedMultiLocation
**/ **/
XcmVersionedMultiLocation: { XcmVersionedMultiLocation: {
_enum: { _enum: {
@@ -439,7 +439,7 @@ export default {
} }
}, },
/** /**
* Lookup241: kusama_runtime::SessionKeys * Lookup238: kusama_runtime::SessionKeys
**/ **/
KusamaRuntimeSessionKeys: { KusamaRuntimeSessionKeys: {
grandpa: 'SpFinalityGrandpaAppPublic', grandpa: 'SpFinalityGrandpaAppPublic',
@@ -450,7 +450,7 @@ export default {
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic' authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
}, },
/** /**
* Lookup316: kusama_runtime::OriginCaller * Lookup313: kusama_runtime::OriginCaller
**/ **/
KusamaRuntimeOriginCaller: { KusamaRuntimeOriginCaller: {
_enum: { _enum: {
@@ -557,7 +557,7 @@ export default {
} }
}, },
/** /**
* Lookup321: pallet_xcm::pallet::Origin * Lookup318: pallet_xcm::pallet::Origin
**/ **/
PalletXcmOrigin: { PalletXcmOrigin: {
_enum: { _enum: {
@@ -566,7 +566,7 @@ export default {
} }
}, },
/** /**
* Lookup379: kusama_runtime::NposCompactSolution24 * Lookup376: kusama_runtime::NposCompactSolution24
**/ **/
KusamaRuntimeNposCompactSolution24: { KusamaRuntimeNposCompactSolution24: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>', votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -595,7 +595,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>)>'
}, },
/** /**
* Lookup511: pallet_xcm::pallet::Call<T> * Lookup508: pallet_xcm::pallet::Call<T>
**/ **/
PalletXcmCall: { PalletXcmCall: {
_enum: { _enum: {
@@ -649,7 +649,7 @@ export default {
} }
}, },
/** /**
* Lookup512: xcm::VersionedXcm<Call> * Lookup509: xcm::VersionedXcm<Call>
**/ **/
XcmVersionedXcm: { XcmVersionedXcm: {
_enum: { _enum: {
@@ -659,7 +659,7 @@ export default {
} }
}, },
/** /**
* Lookup513: xcm::v0::Xcm<Call> * Lookup510: xcm::v0::Xcm<Call>
**/ **/
XcmV0Xcm: { XcmV0Xcm: {
_enum: { _enum: {
@@ -713,7 +713,7 @@ export default {
} }
}, },
/** /**
* Lookup515: xcm::v0::order::Order<Call> * Lookup512: xcm::v0::order::Order<Call>
**/ **/
XcmV0Order: { XcmV0Order: {
_enum: { _enum: {
@@ -756,7 +756,7 @@ export default {
} }
}, },
/** /**
* Lookup517: xcm::v0::Response * Lookup514: xcm::v0::Response
**/ **/
XcmV0Response: { XcmV0Response: {
_enum: { _enum: {
@@ -764,7 +764,7 @@ export default {
} }
}, },
/** /**
* Lookup518: xcm::v1::Xcm<Call> * Lookup515: xcm::v1::Xcm<Call>
**/ **/
XcmV1Xcm: { XcmV1Xcm: {
_enum: { _enum: {
@@ -823,7 +823,7 @@ export default {
} }
}, },
/** /**
* Lookup520: xcm::v1::order::Order<Call> * Lookup517: xcm::v1::order::Order<Call>
**/ **/
XcmV1Order: { XcmV1Order: {
_enum: { _enum: {
@@ -868,7 +868,7 @@ export default {
} }
}, },
/** /**
* Lookup522: xcm::v1::Response * Lookup519: xcm::v1::Response
**/ **/
XcmV1Response: { XcmV1Response: {
_enum: { _enum: {
@@ -877,7 +877,7 @@ export default {
} }
}, },
/** /**
* Lookup690: pallet_xcm::pallet::QueryStatus<BlockNumber> * Lookup687: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/ **/
PalletXcmQueryStatus: { PalletXcmQueryStatus: {
_enum: { _enum: {
@@ -897,7 +897,7 @@ export default {
} }
}, },
/** /**
* Lookup693: xcm::VersionedResponse * Lookup690: xcm::VersionedResponse
**/ **/
XcmVersionedResponse: { XcmVersionedResponse: {
_enum: { _enum: {
@@ -907,7 +907,7 @@ export default {
} }
}, },
/** /**
* Lookup699: pallet_xcm::pallet::VersionMigrationStage * Lookup696: pallet_xcm::pallet::VersionMigrationStage
**/ **/
PalletXcmVersionMigrationStage: { PalletXcmVersionMigrationStage: {
_enum: { _enum: {
@@ -918,13 +918,13 @@ export default {
} }
}, },
/** /**
* Lookup700: pallet_xcm::pallet::Error<T> * Lookup697: pallet_xcm::pallet::Error<T>
**/ **/
PalletXcmError: { PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed'] _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
}, },
/** /**
* Lookup711: kusama_runtime::Runtime * Lookup708: kusama_runtime::Runtime
**/ **/
KusamaRuntimeRuntime: 'Null' KusamaRuntimeRuntime: 'Null'
}; };
+99 -95
View File
@@ -5,7 +5,7 @@
export default { export default {
/** /**
* Lookup65: polkadot_runtime_common::claims::pallet::Event<T> * Lookup62: polkadot_runtime_common::claims::pallet::Event<T>
**/ **/
PolkadotRuntimeCommonClaimsPalletEvent: { PolkadotRuntimeCommonClaimsPalletEvent: {
_enum: { _enum: {
@@ -13,13 +13,13 @@ export default {
} }
}, },
/** /**
* Lookup72: polkadot_runtime::ProxyType * Lookup69: polkadot_runtime::ProxyType
**/ **/
PolkadotRuntimeProxyType: { PolkadotRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'IdentityJudgement', 'CancelProxy', 'Auction'] _enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'IdentityJudgement', 'CancelProxy', 'Auction']
}, },
/** /**
* Lookup82: polkadot_runtime_parachains::inclusion::pallet::Event<T> * Lookup79: polkadot_runtime_parachains::inclusion::pallet::Event<T>
**/ **/
PolkadotRuntimeParachainsInclusionPalletEvent: { PolkadotRuntimeParachainsInclusionPalletEvent: {
_enum: { _enum: {
@@ -29,14 +29,14 @@ export default {
} }
}, },
/** /**
* Lookup83: polkadot_primitives::v1::CandidateReceipt<primitive_types::H256> * Lookup80: polkadot_primitives::v1::CandidateReceipt<primitive_types::H256>
**/ **/
PolkadotPrimitivesV1CandidateReceipt: { PolkadotPrimitivesV1CandidateReceipt: {
descriptor: 'PolkadotPrimitivesV1CandidateDescriptor', descriptor: 'PolkadotPrimitivesV1CandidateDescriptor',
commitmentsHash: 'H256' commitmentsHash: 'H256'
}, },
/** /**
* Lookup84: polkadot_primitives::v1::CandidateDescriptor<primitive_types::H256> * Lookup81: polkadot_primitives::v1::CandidateDescriptor<primitive_types::H256>
**/ **/
PolkadotPrimitivesV1CandidateDescriptor: { PolkadotPrimitivesV1CandidateDescriptor: {
paraId: 'u32', paraId: 'u32',
@@ -50,15 +50,15 @@ export default {
validationCodeHash: 'H256' validationCodeHash: 'H256'
}, },
/** /**
* Lookup86: polkadot_primitives::v0::collator_app::Public * Lookup83: polkadot_primitives::v0::collator_app::Public
**/ **/
PolkadotPrimitivesV0CollatorAppPublic: 'SpCoreSr25519Public', PolkadotPrimitivesV0CollatorAppPublic: 'SpCoreSr25519Public',
/** /**
* Lookup87: polkadot_primitives::v0::collator_app::Signature * Lookup84: polkadot_primitives::v0::collator_app::Signature
**/ **/
PolkadotPrimitivesV0CollatorAppSignature: 'SpCoreSr25519Signature', PolkadotPrimitivesV0CollatorAppSignature: 'SpCoreSr25519Signature',
/** /**
* Lookup94: polkadot_runtime_parachains::paras::pallet::Event * Lookup91: polkadot_runtime_parachains::paras::pallet::Event
**/ **/
PolkadotRuntimeParachainsParasPalletEvent: { PolkadotRuntimeParachainsParasPalletEvent: {
_enum: { _enum: {
@@ -70,7 +70,7 @@ export default {
} }
}, },
/** /**
* Lookup95: polkadot_runtime_parachains::ump::pallet::Event * Lookup92: polkadot_runtime_parachains::ump::pallet::Event
**/ **/
PolkadotRuntimeParachainsUmpPalletEvent: { PolkadotRuntimeParachainsUmpPalletEvent: {
_enum: { _enum: {
@@ -84,7 +84,7 @@ export default {
} }
}, },
/** /**
* Lookup96: xcm::v2::traits::Outcome * Lookup93: xcm::v2::traits::Outcome
**/ **/
XcmV2TraitsOutcome: { XcmV2TraitsOutcome: {
_enum: { _enum: {
@@ -94,7 +94,7 @@ export default {
} }
}, },
/** /**
* Lookup97: xcm::v2::traits::Error * Lookup94: xcm::v2::traits::Error
**/ **/
XcmV2TraitsError: { XcmV2TraitsError: {
_enum: { _enum: {
@@ -127,7 +127,7 @@ export default {
} }
}, },
/** /**
* Lookup98: polkadot_runtime_parachains::hrmp::pallet::Event<T> * Lookup95: polkadot_runtime_parachains::hrmp::pallet::Event<T>
**/ **/
PolkadotRuntimeParachainsHrmpPalletEvent: { PolkadotRuntimeParachainsHrmpPalletEvent: {
_enum: { _enum: {
@@ -138,14 +138,14 @@ export default {
} }
}, },
/** /**
* Lookup99: polkadot_parachain::primitives::HrmpChannelId * Lookup96: polkadot_parachain::primitives::HrmpChannelId
**/ **/
PolkadotParachainPrimitivesHrmpChannelId: { PolkadotParachainPrimitivesHrmpChannelId: {
sender: 'u32', sender: 'u32',
recipient: 'u32' recipient: 'u32'
}, },
/** /**
* Lookup100: polkadot_runtime_common::paras_registrar::pallet::Event<T> * Lookup97: polkadot_runtime_common::paras_registrar::pallet::Event<T>
**/ **/
PolkadotRuntimeCommonParasRegistrarPalletEvent: { PolkadotRuntimeCommonParasRegistrarPalletEvent: {
_enum: { _enum: {
@@ -155,7 +155,7 @@ export default {
} }
}, },
/** /**
* Lookup101: polkadot_runtime_common::slots::pallet::Event<T> * Lookup98: polkadot_runtime_common::slots::pallet::Event<T>
**/ **/
PolkadotRuntimeCommonSlotsPalletEvent: { PolkadotRuntimeCommonSlotsPalletEvent: {
_enum: { _enum: {
@@ -164,7 +164,7 @@ export default {
} }
}, },
/** /**
* Lookup102: polkadot_runtime_common::auctions::pallet::Event<T> * Lookup99: polkadot_runtime_common::auctions::pallet::Event<T>
**/ **/
PolkadotRuntimeCommonAuctionsPalletEvent: { PolkadotRuntimeCommonAuctionsPalletEvent: {
_enum: { _enum: {
@@ -178,7 +178,7 @@ export default {
} }
}, },
/** /**
* Lookup103: polkadot_runtime_common::crowdloan::pallet::Event<T> * Lookup100: polkadot_runtime_common::crowdloan::pallet::Event<T>
**/ **/
PolkadotRuntimeCommonCrowdloanPalletEvent: { PolkadotRuntimeCommonCrowdloanPalletEvent: {
_enum: { _enum: {
@@ -195,7 +195,7 @@ export default {
} }
}, },
/** /**
* Lookup162: polkadot_runtime::SessionKeys * Lookup159: polkadot_runtime::SessionKeys
**/ **/
PolkadotRuntimeSessionKeys: { PolkadotRuntimeSessionKeys: {
grandpa: 'SpFinalityGrandpaAppPublic', grandpa: 'SpFinalityGrandpaAppPublic',
@@ -206,15 +206,15 @@ export default {
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic' authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
}, },
/** /**
* Lookup163: polkadot_primitives::v0::validator_app::Public * Lookup160: polkadot_primitives::v0::validator_app::Public
**/ **/
PolkadotPrimitivesV0ValidatorAppPublic: 'SpCoreSr25519Public', PolkadotPrimitivesV0ValidatorAppPublic: 'SpCoreSr25519Public',
/** /**
* Lookup164: polkadot_primitives::v1::assignment_app::Public * Lookup161: polkadot_primitives::v1::assignment_app::Public
**/ **/
PolkadotPrimitivesV1AssignmentAppPublic: 'SpCoreSr25519Public', PolkadotPrimitivesV1AssignmentAppPublic: 'SpCoreSr25519Public',
/** /**
* Lookup195: polkadot_runtime_common::claims::pallet::Call<T> * Lookup192: polkadot_runtime_common::claims::pallet::Call<T>
**/ **/
PolkadotRuntimeCommonClaimsPalletCall: { PolkadotRuntimeCommonClaimsPalletCall: {
_enum: { _enum: {
@@ -247,17 +247,17 @@ export default {
} }
}, },
/** /**
* Lookup196: polkadot_runtime_common::claims::EcdsaSignature * Lookup193: polkadot_runtime_common::claims::EcdsaSignature
**/ **/
PolkadotRuntimeCommonClaimsEcdsaSignature: '[u8;65]', PolkadotRuntimeCommonClaimsEcdsaSignature: '[u8;65]',
/** /**
* Lookup201: polkadot_runtime_common::claims::StatementKind * Lookup198: polkadot_runtime_common::claims::StatementKind
**/ **/
PolkadotRuntimeCommonClaimsStatementKind: { PolkadotRuntimeCommonClaimsStatementKind: {
_enum: ['Regular', 'Saft'] _enum: ['Regular', 'Saft']
}, },
/** /**
* Lookup206: polkadot_runtime::OriginCaller * Lookup203: polkadot_runtime::OriginCaller
**/ **/
PolkadotRuntimeOriginCaller: { PolkadotRuntimeOriginCaller: {
_enum: { _enum: {
@@ -315,7 +315,7 @@ export default {
} }
}, },
/** /**
* Lookup210: polkadot_runtime_parachains::origin::pallet::Origin * Lookup207: polkadot_runtime_parachains::origin::pallet::Origin
**/ **/
PolkadotRuntimeParachainsOriginPalletOrigin: { PolkadotRuntimeParachainsOriginPalletOrigin: {
_enum: { _enum: {
@@ -323,7 +323,7 @@ export default {
} }
}, },
/** /**
* Lookup261: polkadot_runtime::NposCompactSolution16 * Lookup258: polkadot_runtime::NposCompactSolution16
**/ **/
PolkadotRuntimeNposCompactSolution16: { PolkadotRuntimeNposCompactSolution16: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>', votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -344,7 +344,7 @@ export default {
votes16: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);15],Compact<u16>)>' votes16: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);15],Compact<u16>)>'
}, },
/** /**
* Lookup319: polkadot_runtime_parachains::configuration::pallet::Call<T> * Lookup316: polkadot_runtime_parachains::configuration::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsConfigurationPalletCall: { PolkadotRuntimeParachainsConfigurationPalletCall: {
_enum: { _enum: {
@@ -597,15 +597,15 @@ export default {
} }
}, },
/** /**
* Lookup320: polkadot_runtime_parachains::shared::pallet::Call<T> * Lookup317: polkadot_runtime_parachains::shared::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsSharedPalletCall: 'Null', PolkadotRuntimeParachainsSharedPalletCall: 'Null',
/** /**
* Lookup321: polkadot_runtime_parachains::inclusion::pallet::Call<T> * Lookup318: polkadot_runtime_parachains::inclusion::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsInclusionPalletCall: 'Null', PolkadotRuntimeParachainsInclusionPalletCall: 'Null',
/** /**
* Lookup322: polkadot_runtime_parachains::paras_inherent::pallet::Call<T> * Lookup319: polkadot_runtime_parachains::paras_inherent::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsParasInherentPalletCall: { PolkadotRuntimeParachainsParasInherentPalletCall: {
_enum: { _enum: {
@@ -615,7 +615,7 @@ export default {
} }
}, },
/** /**
* Lookup323: polkadot_primitives::v1::InherentData<sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>> * Lookup320: polkadot_primitives::v1::InherentData<sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>>
**/ **/
PolkadotPrimitivesV1InherentData: { PolkadotPrimitivesV1InherentData: {
bitfields: 'Vec<PolkadotPrimitivesV1SignedUncheckedSigned>', bitfields: 'Vec<PolkadotPrimitivesV1SignedUncheckedSigned>',
@@ -624,7 +624,7 @@ export default {
parentHeader: 'SpRuntimeHeader' parentHeader: 'SpRuntimeHeader'
}, },
/** /**
* Lookup325: polkadot_primitives::v1::signed::UncheckedSigned<polkadot_primitives::v1::AvailabilityBitfield, polkadot_primitives::v1::AvailabilityBitfield> * Lookup322: polkadot_primitives::v1::signed::UncheckedSigned<polkadot_primitives::v1::AvailabilityBitfield, polkadot_primitives::v1::AvailabilityBitfield>
**/ **/
PolkadotPrimitivesV1SignedUncheckedSigned: { PolkadotPrimitivesV1SignedUncheckedSigned: {
payload: 'BitVec', payload: 'BitVec',
@@ -632,15 +632,15 @@ export default {
signature: 'PolkadotPrimitivesV0ValidatorAppSignature' signature: 'PolkadotPrimitivesV0ValidatorAppSignature'
}, },
/** /**
* Lookup328: bitvec::order::Lsb0 * Lookup325: bitvec::order::Lsb0
**/ **/
BitvecOrderLsb0: 'Null', BitvecOrderLsb0: 'Null',
/** /**
* Lookup330: polkadot_primitives::v0::validator_app::Signature * Lookup327: polkadot_primitives::v0::validator_app::Signature
**/ **/
PolkadotPrimitivesV0ValidatorAppSignature: 'SpCoreSr25519Signature', PolkadotPrimitivesV0ValidatorAppSignature: 'SpCoreSr25519Signature',
/** /**
* Lookup332: polkadot_primitives::v1::BackedCandidate<primitive_types::H256> * Lookup329: polkadot_primitives::v1::BackedCandidate<primitive_types::H256>
**/ **/
PolkadotPrimitivesV1BackedCandidate: { PolkadotPrimitivesV1BackedCandidate: {
candidate: 'PolkadotPrimitivesV1CommittedCandidateReceipt', candidate: 'PolkadotPrimitivesV1CommittedCandidateReceipt',
@@ -648,14 +648,14 @@ export default {
validatorIndices: 'BitVec' validatorIndices: 'BitVec'
}, },
/** /**
* Lookup333: polkadot_primitives::v1::CommittedCandidateReceipt<primitive_types::H256> * Lookup330: polkadot_primitives::v1::CommittedCandidateReceipt<primitive_types::H256>
**/ **/
PolkadotPrimitivesV1CommittedCandidateReceipt: { PolkadotPrimitivesV1CommittedCandidateReceipt: {
descriptor: 'PolkadotPrimitivesV1CandidateDescriptor', descriptor: 'PolkadotPrimitivesV1CandidateDescriptor',
commitments: 'PolkadotPrimitivesV1CandidateCommitments' commitments: 'PolkadotPrimitivesV1CandidateCommitments'
}, },
/** /**
* Lookup334: polkadot_primitives::v1::CandidateCommitments<N> * Lookup331: polkadot_primitives::v1::CandidateCommitments<N>
**/ **/
PolkadotPrimitivesV1CandidateCommitments: { PolkadotPrimitivesV1CandidateCommitments: {
upwardMessages: 'Vec<Bytes>', upwardMessages: 'Vec<Bytes>',
@@ -666,14 +666,14 @@ export default {
hrmpWatermark: 'u32' hrmpWatermark: 'u32'
}, },
/** /**
* Lookup336: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id> * Lookup333: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>
**/ **/
PolkadotCorePrimitivesOutboundHrmpMessage: { PolkadotCorePrimitivesOutboundHrmpMessage: {
recipient: 'u32', recipient: 'u32',
data: 'Bytes' data: 'Bytes'
}, },
/** /**
* Lookup340: polkadot_primitives::v0::ValidityAttestation * Lookup337: polkadot_primitives::v0::ValidityAttestation
**/ **/
PolkadotPrimitivesV0ValidityAttestation: { PolkadotPrimitivesV0ValidityAttestation: {
_enum: { _enum: {
@@ -683,7 +683,7 @@ export default {
} }
}, },
/** /**
* Lookup342: polkadot_primitives::v1::DisputeStatementSet * Lookup339: polkadot_primitives::v1::DisputeStatementSet
**/ **/
PolkadotPrimitivesV1DisputeStatementSet: { PolkadotPrimitivesV1DisputeStatementSet: {
candidateHash: 'H256', candidateHash: 'H256',
@@ -691,7 +691,7 @@ export default {
statements: 'Vec<(PolkadotPrimitivesV1DisputeStatement,u32,PolkadotPrimitivesV0ValidatorAppSignature)>' statements: 'Vec<(PolkadotPrimitivesV1DisputeStatement,u32,PolkadotPrimitivesV0ValidatorAppSignature)>'
}, },
/** /**
* Lookup346: polkadot_primitives::v1::DisputeStatement * Lookup343: polkadot_primitives::v1::DisputeStatement
**/ **/
PolkadotPrimitivesV1DisputeStatement: { PolkadotPrimitivesV1DisputeStatement: {
_enum: { _enum: {
@@ -700,7 +700,7 @@ export default {
} }
}, },
/** /**
* Lookup347: polkadot_primitives::v1::ValidDisputeStatementKind * Lookup344: polkadot_primitives::v1::ValidDisputeStatementKind
**/ **/
PolkadotPrimitivesV1ValidDisputeStatementKind: { PolkadotPrimitivesV1ValidDisputeStatementKind: {
_enum: { _enum: {
@@ -711,13 +711,13 @@ export default {
} }
}, },
/** /**
* Lookup348: polkadot_primitives::v1::InvalidDisputeStatementKind * Lookup345: polkadot_primitives::v1::InvalidDisputeStatementKind
**/ **/
PolkadotPrimitivesV1InvalidDisputeStatementKind: { PolkadotPrimitivesV1InvalidDisputeStatementKind: {
_enum: ['Explicit'] _enum: ['Explicit']
}, },
/** /**
* Lookup349: polkadot_runtime_parachains::paras::pallet::Call<T> * Lookup346: polkadot_runtime_parachains::paras::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsParasPalletCall: { PolkadotRuntimeParachainsParasPalletCall: {
_enum: { _enum: {
@@ -744,7 +744,7 @@ export default {
} }
}, },
/** /**
* Lookup350: polkadot_runtime_parachains::initializer::pallet::Call<T> * Lookup347: polkadot_runtime_parachains::initializer::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsInitializerPalletCall: { PolkadotRuntimeParachainsInitializerPalletCall: {
_enum: { _enum: {
@@ -754,11 +754,11 @@ export default {
} }
}, },
/** /**
* Lookup351: polkadot_runtime_parachains::dmp::pallet::Call<T> * Lookup348: polkadot_runtime_parachains::dmp::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsDmpPalletCall: 'Null', PolkadotRuntimeParachainsDmpPalletCall: 'Null',
/** /**
* Lookup352: polkadot_runtime_parachains::ump::pallet::Call<T> * Lookup349: polkadot_runtime_parachains::ump::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsUmpPalletCall: { PolkadotRuntimeParachainsUmpPalletCall: {
_enum: { _enum: {
@@ -769,7 +769,7 @@ export default {
} }
}, },
/** /**
* Lookup353: polkadot_runtime_parachains::hrmp::pallet::Call<T> * Lookup350: polkadot_runtime_parachains::hrmp::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsHrmpPalletCall: { PolkadotRuntimeParachainsHrmpPalletCall: {
_enum: { _enum: {
@@ -795,7 +795,7 @@ export default {
} }
}, },
/** /**
* Lookup354: polkadot_runtime_common::paras_registrar::pallet::Call<T> * Lookup351: polkadot_runtime_common::paras_registrar::pallet::Call<T>
**/ **/
PolkadotRuntimeCommonParasRegistrarPalletCall: { PolkadotRuntimeCommonParasRegistrarPalletCall: {
_enum: { _enum: {
@@ -825,7 +825,7 @@ export default {
} }
}, },
/** /**
* Lookup355: polkadot_runtime_common::slots::pallet::Call<T> * Lookup352: polkadot_runtime_common::slots::pallet::Call<T>
**/ **/
PolkadotRuntimeCommonSlotsPalletCall: { PolkadotRuntimeCommonSlotsPalletCall: {
_enum: { _enum: {
@@ -845,7 +845,7 @@ export default {
} }
}, },
/** /**
* Lookup356: polkadot_runtime_common::auctions::pallet::Call<T> * Lookup353: polkadot_runtime_common::auctions::pallet::Call<T>
**/ **/
PolkadotRuntimeCommonAuctionsPalletCall: { PolkadotRuntimeCommonAuctionsPalletCall: {
_enum: { _enum: {
@@ -864,7 +864,7 @@ export default {
} }
}, },
/** /**
* Lookup358: polkadot_runtime_common::crowdloan::pallet::Call<T> * Lookup355: polkadot_runtime_common::crowdloan::pallet::Call<T>
**/ **/
PolkadotRuntimeCommonCrowdloanPalletCall: { PolkadotRuntimeCommonCrowdloanPalletCall: {
_enum: { _enum: {
@@ -909,7 +909,7 @@ export default {
} }
}, },
/** /**
* Lookup360: sp_runtime::MultiSigner * Lookup357: sp_runtime::MultiSigner
**/ **/
SpRuntimeMultiSigner: { SpRuntimeMultiSigner: {
_enum: { _enum: {
@@ -919,17 +919,17 @@ export default {
} }
}, },
/** /**
* Lookup361: sp_core::ecdsa::Public * Lookup358: sp_core::ecdsa::Public
**/ **/
SpCoreEcdsaPublic: '[u8;33]', SpCoreEcdsaPublic: '[u8;33]',
/** /**
* Lookup464: polkadot_runtime_common::claims::pallet::Error<T> * Lookup461: polkadot_runtime_common::claims::pallet::Error<T>
**/ **/
PolkadotRuntimeCommonClaimsPalletError: { PolkadotRuntimeCommonClaimsPalletError: {
_enum: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists'] _enum: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists']
}, },
/** /**
* Lookup514: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber> * Lookup511: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
**/ **/
PolkadotRuntimeParachainsConfigurationHostConfiguration: { PolkadotRuntimeParachainsConfigurationHostConfiguration: {
maxCodeSize: 'u32', maxCodeSize: 'u32',
@@ -974,20 +974,20 @@ export default {
umpMaxIndividualWeight: 'u64' umpMaxIndividualWeight: 'u64'
}, },
/** /**
* Lookup515: polkadot_runtime_parachains::configuration::pallet::Error<T> * Lookup512: polkadot_runtime_parachains::configuration::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsConfigurationPalletError: { PolkadotRuntimeParachainsConfigurationPalletError: {
_enum: ['InvalidNewValue'] _enum: ['InvalidNewValue']
}, },
/** /**
* Lookup518: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N> * Lookup515: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
**/ **/
PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: { PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: {
bitfield: 'BitVec', bitfield: 'BitVec',
submittedAt: 'u32' submittedAt: 'u32'
}, },
/** /**
* Lookup519: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N> * Lookup516: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
**/ **/
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: { PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
_alias: { _alias: {
@@ -1003,13 +1003,13 @@ export default {
backingGroup: 'u32' backingGroup: 'u32'
}, },
/** /**
* Lookup520: polkadot_runtime_parachains::inclusion::pallet::Error<T> * Lookup517: polkadot_runtime_parachains::inclusion::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsInclusionPalletError: { PolkadotRuntimeParachainsInclusionPalletError: {
_enum: ['WrongBitfieldSize', 'BitfieldDuplicateOrUnordered', 'ValidatorIndexOutOfBounds', 'InvalidBitfieldSignature', 'UnscheduledCandidate', 'CandidateScheduledBeforeParaFree', 'WrongCollator', 'ScheduledOutOfOrder', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'CandidateNotInParentContext', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'NotCollatorSigned', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch'] _enum: ['WrongBitfieldSize', 'BitfieldDuplicateOrUnordered', 'ValidatorIndexOutOfBounds', 'InvalidBitfieldSignature', 'UnscheduledCandidate', 'CandidateScheduledBeforeParaFree', 'WrongCollator', 'ScheduledOutOfOrder', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'CandidateNotInParentContext', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'NotCollatorSigned', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch', 'BitfieldReferencesFreedCore']
}, },
/** /**
* Lookup521: polkadot_primitives::v1::ScrapedOnChainVotes<primitive_types::H256> * Lookup518: polkadot_primitives::v1::ScrapedOnChainVotes<primitive_types::H256>
**/ **/
PolkadotPrimitivesV1ScrapedOnChainVotes: { PolkadotPrimitivesV1ScrapedOnChainVotes: {
session: 'u32', session: 'u32',
@@ -1017,38 +1017,38 @@ export default {
disputes: 'Vec<PolkadotPrimitivesV1DisputeStatementSet>' disputes: 'Vec<PolkadotPrimitivesV1DisputeStatementSet>'
}, },
/** /**
* Lookup526: polkadot_runtime_parachains::paras_inherent::pallet::Error<T> * Lookup523: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsParasInherentPalletError: { PolkadotRuntimeParachainsParasInherentPalletError: {
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'CandidateConcludedInvalid'] _enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'CandidateConcludedInvalid', 'InherentOverweight']
}, },
/** /**
* Lookup528: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue * Lookup525: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
**/ **/
PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: { PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: {
queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>', queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>',
nextCoreOffset: 'u32' nextCoreOffset: 'u32'
}, },
/** /**
* Lookup530: polkadot_runtime_parachains::scheduler::QueuedParathread * Lookup527: polkadot_runtime_parachains::scheduler::QueuedParathread
**/ **/
PolkadotRuntimeParachainsSchedulerQueuedParathread: { PolkadotRuntimeParachainsSchedulerQueuedParathread: {
claim: 'PolkadotPrimitivesV1ParathreadEntry', claim: 'PolkadotPrimitivesV1ParathreadEntry',
coreOffset: 'u32' coreOffset: 'u32'
}, },
/** /**
* Lookup531: polkadot_primitives::v1::ParathreadEntry * Lookup528: polkadot_primitives::v1::ParathreadEntry
**/ **/
PolkadotPrimitivesV1ParathreadEntry: { PolkadotPrimitivesV1ParathreadEntry: {
claim: 'PolkadotPrimitivesV1ParathreadClaim', claim: 'PolkadotPrimitivesV1ParathreadClaim',
retries: 'u32' retries: 'u32'
}, },
/** /**
* Lookup532: polkadot_primitives::v1::ParathreadClaim * Lookup529: polkadot_primitives::v1::ParathreadClaim
**/ **/
PolkadotPrimitivesV1ParathreadClaim: '(u32,PolkadotPrimitivesV0CollatorAppPublic)', PolkadotPrimitivesV1ParathreadClaim: '(u32,PolkadotPrimitivesV0CollatorAppPublic)',
/** /**
* Lookup535: polkadot_primitives::v1::CoreOccupied * Lookup532: polkadot_primitives::v1::CoreOccupied
**/ **/
PolkadotPrimitivesV1CoreOccupied: { PolkadotPrimitivesV1CoreOccupied: {
_enum: { _enum: {
@@ -1057,7 +1057,7 @@ export default {
} }
}, },
/** /**
* Lookup538: polkadot_runtime_parachains::scheduler::CoreAssignment * Lookup535: polkadot_runtime_parachains::scheduler::CoreAssignment
**/ **/
PolkadotRuntimeParachainsSchedulerCoreAssignment: { PolkadotRuntimeParachainsSchedulerCoreAssignment: {
core: 'u32', core: 'u32',
@@ -1066,7 +1066,7 @@ export default {
groupIdx: 'u32' groupIdx: 'u32'
}, },
/** /**
* Lookup539: polkadot_runtime_parachains::scheduler::AssignmentKind * Lookup536: polkadot_runtime_parachains::scheduler::AssignmentKind
**/ **/
PolkadotRuntimeParachainsSchedulerAssignmentKind: { PolkadotRuntimeParachainsSchedulerAssignmentKind: {
_enum: { _enum: {
@@ -1075,39 +1075,39 @@ export default {
} }
}, },
/** /**
* Lookup540: polkadot_runtime_parachains::paras::ParaLifecycle * Lookup537: polkadot_runtime_parachains::paras::ParaLifecycle
**/ **/
PolkadotRuntimeParachainsParasParaLifecycle: { PolkadotRuntimeParachainsParasParaLifecycle: {
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain'] _enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
}, },
/** /**
* Lookup542: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N> * Lookup539: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
**/ **/
PolkadotRuntimeParachainsParasParaPastCodeMeta: { PolkadotRuntimeParachainsParasParaPastCodeMeta: {
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>', upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
lastPruned: 'Option<u32>' lastPruned: 'Option<u32>'
}, },
/** /**
* Lookup544: polkadot_runtime_parachains::paras::ReplacementTimes<N> * Lookup541: polkadot_runtime_parachains::paras::ReplacementTimes<N>
**/ **/
PolkadotRuntimeParachainsParasReplacementTimes: { PolkadotRuntimeParachainsParasReplacementTimes: {
expectedAt: 'u32', expectedAt: 'u32',
activatedAt: 'u32' activatedAt: 'u32'
}, },
/** /**
* Lookup546: polkadot_primitives::v1::UpgradeGoAhead * Lookup543: polkadot_primitives::v1::UpgradeGoAhead
**/ **/
PolkadotPrimitivesV1UpgradeGoAhead: { PolkadotPrimitivesV1UpgradeGoAhead: {
_enum: ['Abort', 'GoAhead'] _enum: ['Abort', 'GoAhead']
}, },
/** /**
* Lookup547: polkadot_primitives::v1::UpgradeRestriction * Lookup544: polkadot_primitives::v1::UpgradeRestriction
**/ **/
PolkadotPrimitivesV1UpgradeRestriction: { PolkadotPrimitivesV1UpgradeRestriction: {
_enum: ['Present'] _enum: ['Present']
}, },
/** /**
* Lookup548: polkadot_runtime_parachains::paras::ParaGenesisArgs * Lookup545: polkadot_runtime_parachains::paras::ParaGenesisArgs
**/ **/
PolkadotRuntimeParachainsParasParaGenesisArgs: { PolkadotRuntimeParachainsParasParaGenesisArgs: {
genesisHead: 'Bytes', genesisHead: 'Bytes',
@@ -1115,13 +1115,13 @@ export default {
parachain: 'bool' parachain: 'bool'
}, },
/** /**
* Lookup549: polkadot_runtime_parachains::paras::pallet::Error<T> * Lookup546: polkadot_runtime_parachains::paras::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsParasPalletError: { PolkadotRuntimeParachainsParasPalletError: {
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade'] _enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade']
}, },
/** /**
* Lookup551: polkadot_runtime_parachains::initializer::BufferedSessionChange * Lookup548: polkadot_runtime_parachains::initializer::BufferedSessionChange
**/ **/
PolkadotRuntimeParachainsInitializerBufferedSessionChange: { PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>', validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
@@ -1129,20 +1129,20 @@ export default {
sessionIndex: 'u32' sessionIndex: 'u32'
}, },
/** /**
* Lookup553: polkadot_core_primitives::InboundDownwardMessage<BlockNumber> * Lookup550: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/ **/
PolkadotCorePrimitivesInboundDownwardMessage: { PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32', sentAt: 'u32',
msg: 'Bytes' msg: 'Bytes'
}, },
/** /**
* Lookup555: polkadot_runtime_parachains::ump::pallet::Error<T> * Lookup552: polkadot_runtime_parachains::ump::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsUmpPalletError: { PolkadotRuntimeParachainsUmpPalletError: {
_enum: ['UnknownMessageIndex', 'WeightOverLimit'] _enum: ['UnknownMessageIndex', 'WeightOverLimit']
}, },
/** /**
* Lookup556: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest * Lookup553: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
**/ **/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: { PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool', confirmed: 'bool',
@@ -1153,7 +1153,7 @@ export default {
maxTotalSize: 'u32' maxTotalSize: 'u32'
}, },
/** /**
* Lookup558: polkadot_runtime_parachains::hrmp::HrmpChannel * Lookup555: polkadot_runtime_parachains::hrmp::HrmpChannel
**/ **/
PolkadotRuntimeParachainsHrmpHrmpChannel: { PolkadotRuntimeParachainsHrmpHrmpChannel: {
maxCapacity: 'u32', maxCapacity: 'u32',
@@ -1166,20 +1166,20 @@ export default {
recipientDeposit: 'u128' recipientDeposit: 'u128'
}, },
/** /**
* Lookup561: polkadot_core_primitives::InboundHrmpMessage<BlockNumber> * Lookup558: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/ **/
PolkadotCorePrimitivesInboundHrmpMessage: { PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32', sentAt: 'u32',
data: 'Bytes' data: 'Bytes'
}, },
/** /**
* Lookup564: polkadot_runtime_parachains::hrmp::pallet::Error<T> * Lookup561: polkadot_runtime_parachains::hrmp::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsHrmpPalletError: { PolkadotRuntimeParachainsHrmpPalletError: {
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed'] _enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed']
}, },
/** /**
* Lookup566: polkadot_primitives::v1::SessionInfo * Lookup563: polkadot_primitives::v1::SessionInfo
**/ **/
PolkadotPrimitivesV1SessionInfo: { PolkadotPrimitivesV1SessionInfo: {
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>', validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
@@ -1194,7 +1194,7 @@ export default {
neededApprovals: 'u32' neededApprovals: 'u32'
}, },
/** /**
* Lookup568: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance> * Lookup565: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
**/ **/
PolkadotRuntimeCommonParasRegistrarParaInfo: { PolkadotRuntimeCommonParasRegistrarParaInfo: {
manager: 'AccountId32', manager: 'AccountId32',
@@ -1202,25 +1202,25 @@ export default {
locked: 'bool' locked: 'bool'
}, },
/** /**
* Lookup569: polkadot_runtime_common::paras_registrar::pallet::Error<T> * Lookup566: polkadot_runtime_common::paras_registrar::pallet::Error<T>
**/ **/
PolkadotRuntimeCommonParasRegistrarPalletError: { PolkadotRuntimeCommonParasRegistrarPalletError: {
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved'] _enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved']
}, },
/** /**
* Lookup572: polkadot_runtime_common::slots::pallet::Error<T> * Lookup569: polkadot_runtime_common::slots::pallet::Error<T>
**/ **/
PolkadotRuntimeCommonSlotsPalletError: { PolkadotRuntimeCommonSlotsPalletError: {
_enum: ['ParaNotOnboarding', 'LeaseError'] _enum: ['ParaNotOnboarding', 'LeaseError']
}, },
/** /**
* Lookup577: polkadot_runtime_common::auctions::pallet::Error<T> * Lookup574: polkadot_runtime_common::auctions::pallet::Error<T>
**/ **/
PolkadotRuntimeCommonAuctionsPalletError: { PolkadotRuntimeCommonAuctionsPalletError: {
_enum: ['AuctionInProgress', 'LeasePeriodInPast', 'ParaNotRegistered', 'NotCurrentAuction', 'NotAuction', 'AuctionEnded', 'AlreadyLeasedOut'] _enum: ['AuctionInProgress', 'LeasePeriodInPast', 'ParaNotRegistered', 'NotCurrentAuction', 'NotAuction', 'AuctionEnded', 'AlreadyLeasedOut']
}, },
/** /**
* Lookup578: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod> * Lookup575: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
**/ **/
PolkadotRuntimeCommonCrowdloanFundInfo: { PolkadotRuntimeCommonCrowdloanFundInfo: {
depositor: 'AccountId32', depositor: 'AccountId32',
@@ -1235,7 +1235,7 @@ export default {
trieIndex: 'u32' trieIndex: 'u32'
}, },
/** /**
* Lookup579: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber> * Lookup576: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
**/ **/
PolkadotRuntimeCommonCrowdloanLastContribution: { PolkadotRuntimeCommonCrowdloanLastContribution: {
_enum: { _enum: {
@@ -1245,17 +1245,21 @@ export default {
} }
}, },
/** /**
* Lookup580: polkadot_runtime_common::crowdloan::pallet::Error<T> * Lookup577: polkadot_runtime_common::crowdloan::pallet::Error<T>
**/ **/
PolkadotRuntimeCommonCrowdloanPalletError: { PolkadotRuntimeCommonCrowdloanPalletError: {
_enum: ['FirstPeriodInPast', 'FirstPeriodTooFarInFuture', 'LastPeriodBeforeFirstPeriod', 'LastPeriodTooFarInFuture', 'CannotEndInPast', 'EndTooFarInFuture', 'Overflow', 'ContributionTooSmall', 'InvalidParaId', 'CapExceeded', 'ContributionPeriodOver', 'InvalidOrigin', 'NotParachain', 'LeaseActive', 'BidOrLeaseActive', 'FundNotEnded', 'NoContributions', 'NotReadyToDissolve', 'InvalidSignature', 'MemoTooLarge', 'AlreadyInNewRaise', 'VrfDelayInProgress', 'NoLeasePeriod'] _enum: ['FirstPeriodInPast', 'FirstPeriodTooFarInFuture', 'LastPeriodBeforeFirstPeriod', 'LastPeriodTooFarInFuture', 'CannotEndInPast', 'EndTooFarInFuture', 'Overflow', 'ContributionTooSmall', 'InvalidParaId', 'CapExceeded', 'ContributionPeriodOver', 'InvalidOrigin', 'NotParachain', 'LeaseActive', 'BidOrLeaseActive', 'FundNotEnded', 'NoContributions', 'NotReadyToDissolve', 'InvalidSignature', 'MemoTooLarge', 'AlreadyInNewRaise', 'VrfDelayInProgress', 'NoLeasePeriod']
}, },
/** /**
* Lookup591: polkadot_runtime_common::claims::PrevalidateAttests<T> * Lookup587: pallet_transaction_payment::ChargeTransactionPayment<T>
**/
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
* Lookup588: polkadot_runtime_common::claims::PrevalidateAttests<T>
**/ **/
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null', PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
/** /**
* Lookup592: polkadot_runtime::Runtime * Lookup589: polkadot_runtime::Runtime
**/ **/
PolkadotRuntimeRuntime: 'Null' PolkadotRuntimeRuntime: 'Null'
}; };
File diff suppressed because it is too large Load Diff
@@ -1,13 +1,12 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { H256, PerU16 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
declare module '@polkadot/types/lookup' { declare module '@polkadot/types/lookup' {
import type { Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { H256, PerU16 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
/** @name KusamaRuntimeProxyType (74) */ /** @name KusamaRuntimeProxyType (71) */
export interface KusamaRuntimeProxyType extends Enum { export interface KusamaRuntimeProxyType extends Enum {
readonly isAny: boolean; readonly isAny: boolean;
readonly isNonTransfer: boolean; readonly isNonTransfer: boolean;
@@ -18,7 +17,7 @@ declare module '@polkadot/types/lookup' {
readonly isAuction: boolean; readonly isAuction: boolean;
} }
/** @name PalletXcmEvent (107) */ /** @name PalletXcmEvent (104) */
export interface PalletXcmEvent extends Enum { export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean; readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome; readonly asAttempted: XcmV2TraitsOutcome;
@@ -54,13 +53,13 @@ declare module '@polkadot/types/lookup' {
readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>; readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
} }
/** @name XcmV1MultiLocation (108) */ /** @name XcmV1MultiLocation (105) */
export interface XcmV1MultiLocation extends Struct { export interface XcmV1MultiLocation extends Struct {
readonly parents: u8; readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions; readonly interior: XcmV1MultilocationJunctions;
} }
/** @name XcmV1MultilocationJunctions (109) */ /** @name XcmV1MultilocationJunctions (106) */
export interface XcmV1MultilocationJunctions extends Enum { export interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean; readonly isHere: boolean;
readonly isX1: boolean; readonly isX1: boolean;
@@ -81,7 +80,7 @@ declare module '@polkadot/types/lookup' {
readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>; readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
} }
/** @name XcmV1Junction (110) */ /** @name XcmV1Junction (107) */
export interface XcmV1Junction extends Enum { export interface XcmV1Junction extends Enum {
readonly isParachain: boolean; readonly isParachain: boolean;
readonly asParachain: Compact<u32>; readonly asParachain: Compact<u32>;
@@ -114,7 +113,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmV0JunctionNetworkId (112) */ /** @name XcmV0JunctionNetworkId (109) */
export interface XcmV0JunctionNetworkId extends Enum { export interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean; readonly isAny: boolean;
readonly isNamed: boolean; readonly isNamed: boolean;
@@ -123,7 +122,7 @@ declare module '@polkadot/types/lookup' {
readonly isKusama: boolean; readonly isKusama: boolean;
} }
/** @name XcmV0JunctionBodyId (114) */ /** @name XcmV0JunctionBodyId (111) */
export interface XcmV0JunctionBodyId extends Enum { export interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean; readonly isUnit: boolean;
readonly isNamed: boolean; readonly isNamed: boolean;
@@ -136,7 +135,7 @@ declare module '@polkadot/types/lookup' {
readonly isJudicial: boolean; readonly isJudicial: boolean;
} }
/** @name XcmV0JunctionBodyPart (115) */ /** @name XcmV0JunctionBodyPart (112) */
export interface XcmV0JunctionBodyPart extends Enum { export interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean; readonly isVoice: boolean;
readonly isMembers: boolean; readonly isMembers: boolean;
@@ -160,10 +159,10 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmV2Xcm (116) */ /** @name XcmV2Xcm (113) */
export interface XcmV2Xcm extends Vec<XcmV2Instruction> {} export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
/** @name XcmV2Instruction (118) */ /** @name XcmV2Instruction (115) */
export interface XcmV2Instruction extends Enum { export interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean; readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets; readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
@@ -282,16 +281,16 @@ declare module '@polkadot/types/lookup' {
readonly isUnsubscribeVersion: boolean; readonly isUnsubscribeVersion: boolean;
} }
/** @name XcmV1MultiassetMultiAssets (119) */ /** @name XcmV1MultiassetMultiAssets (116) */
export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {} export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
/** @name XcmV1MultiAsset (121) */ /** @name XcmV1MultiAsset (118) */
export interface XcmV1MultiAsset extends Struct { export interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId; readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility; readonly fun: XcmV1MultiassetFungibility;
} }
/** @name XcmV1MultiassetAssetId (122) */ /** @name XcmV1MultiassetAssetId (119) */
export interface XcmV1MultiassetAssetId extends Enum { export interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean; readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation; readonly asConcrete: XcmV1MultiLocation;
@@ -299,7 +298,7 @@ declare module '@polkadot/types/lookup' {
readonly asAbstract: Bytes; readonly asAbstract: Bytes;
} }
/** @name XcmV1MultiassetFungibility (123) */ /** @name XcmV1MultiassetFungibility (120) */
export interface XcmV1MultiassetFungibility extends Enum { export interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean; readonly isFungible: boolean;
readonly asFungible: Compact<u128>; readonly asFungible: Compact<u128>;
@@ -307,7 +306,7 @@ declare module '@polkadot/types/lookup' {
readonly asNonFungible: XcmV1MultiassetAssetInstance; readonly asNonFungible: XcmV1MultiassetAssetInstance;
} }
/** @name XcmV1MultiassetAssetInstance (124) */ /** @name XcmV1MultiassetAssetInstance (121) */
export interface XcmV1MultiassetAssetInstance extends Enum { export interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean; readonly isUndefined: boolean;
readonly isIndex: boolean; readonly isIndex: boolean;
@@ -324,7 +323,7 @@ declare module '@polkadot/types/lookup' {
readonly asBlob: Bytes; readonly asBlob: Bytes;
} }
/** @name XcmV2Response (126) */ /** @name XcmV2Response (123) */
export interface XcmV2Response extends Enum { export interface XcmV2Response extends Enum {
readonly isNull: boolean; readonly isNull: boolean;
readonly isAssets: boolean; readonly isAssets: boolean;
@@ -335,7 +334,7 @@ declare module '@polkadot/types/lookup' {
readonly asVersion: u32; readonly asVersion: u32;
} }
/** @name XcmV0OriginKind (129) */ /** @name XcmV0OriginKind (126) */
export interface XcmV0OriginKind extends Enum { export interface XcmV0OriginKind extends Enum {
readonly isNative: boolean; readonly isNative: boolean;
readonly isSovereignAccount: boolean; readonly isSovereignAccount: boolean;
@@ -343,12 +342,12 @@ declare module '@polkadot/types/lookup' {
readonly isXcm: boolean; readonly isXcm: boolean;
} }
/** @name XcmDoubleEncoded (130) */ /** @name XcmDoubleEncoded (127) */
export interface XcmDoubleEncoded extends Struct { export interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes; readonly encoded: Bytes;
} }
/** @name XcmV1MultiassetMultiAssetFilter (131) */ /** @name XcmV1MultiassetMultiAssetFilter (128) */
export interface XcmV1MultiassetMultiAssetFilter extends Enum { export interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean; readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets; readonly asDefinite: XcmV1MultiassetMultiAssets;
@@ -356,7 +355,7 @@ declare module '@polkadot/types/lookup' {
readonly asWild: XcmV1MultiassetWildMultiAsset; readonly asWild: XcmV1MultiassetWildMultiAsset;
} }
/** @name XcmV1MultiassetWildMultiAsset (132) */ /** @name XcmV1MultiassetWildMultiAsset (129) */
export interface XcmV1MultiassetWildMultiAsset extends Enum { export interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean; readonly isAll: boolean;
readonly isAllOf: boolean; readonly isAllOf: boolean;
@@ -366,20 +365,20 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmV1MultiassetWildFungibility (133) */ /** @name XcmV1MultiassetWildFungibility (130) */
export interface XcmV1MultiassetWildFungibility extends Enum { export interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean; readonly isFungible: boolean;
readonly isNonFungible: boolean; readonly isNonFungible: boolean;
} }
/** @name XcmV2WeightLimit (134) */ /** @name XcmV2WeightLimit (131) */
export interface XcmV2WeightLimit extends Enum { export interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean; readonly isUnlimited: boolean;
readonly isLimited: boolean; readonly isLimited: boolean;
readonly asLimited: Compact<u64>; readonly asLimited: Compact<u64>;
} }
/** @name XcmVersionedMultiAssets (136) */ /** @name XcmVersionedMultiAssets (133) */
export interface XcmVersionedMultiAssets extends Enum { export interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean; readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>; readonly asV0: Vec<XcmV0MultiAsset>;
@@ -387,7 +386,7 @@ declare module '@polkadot/types/lookup' {
readonly asV1: XcmV1MultiassetMultiAssets; readonly asV1: XcmV1MultiassetMultiAssets;
} }
/** @name XcmV0MultiAsset (138) */ /** @name XcmV0MultiAsset (135) */
export interface XcmV0MultiAsset extends Enum { export interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean; readonly isNone: boolean;
readonly isAll: boolean; readonly isAll: boolean;
@@ -431,7 +430,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmV0MultiLocation (139) */ /** @name XcmV0MultiLocation (136) */
export interface XcmV0MultiLocation extends Enum { export interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean; readonly isNull: boolean;
readonly isX1: boolean; readonly isX1: boolean;
@@ -452,7 +451,7 @@ declare module '@polkadot/types/lookup' {
readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>; readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
} }
/** @name XcmV0Junction (140) */ /** @name XcmV0Junction (137) */
export interface XcmV0Junction extends Enum { export interface XcmV0Junction extends Enum {
readonly isParent: boolean; readonly isParent: boolean;
readonly isParachain: boolean; readonly isParachain: boolean;
@@ -486,7 +485,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmVersionedMultiLocation (141) */ /** @name XcmVersionedMultiLocation (138) */
export interface XcmVersionedMultiLocation extends Enum { export interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean; readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation; readonly asV0: XcmV0MultiLocation;
@@ -494,7 +493,7 @@ declare module '@polkadot/types/lookup' {
readonly asV1: XcmV1MultiLocation; readonly asV1: XcmV1MultiLocation;
} }
/** @name KusamaRuntimeSessionKeys (241) */ /** @name KusamaRuntimeSessionKeys (238) */
export interface KusamaRuntimeSessionKeys extends Struct { export interface KusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpFinalityGrandpaAppPublic; readonly grandpa: SpFinalityGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic; readonly babe: SpConsensusBabeAppPublic;
@@ -504,7 +503,7 @@ declare module '@polkadot/types/lookup' {
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic; readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
} }
/** @name KusamaRuntimeOriginCaller (316) */ /** @name KusamaRuntimeOriginCaller (313) */
export interface KusamaRuntimeOriginCaller extends Enum { export interface KusamaRuntimeOriginCaller extends Enum {
readonly isSystem: boolean; readonly isSystem: boolean;
readonly asSystem: FrameSystemRawOrigin; readonly asSystem: FrameSystemRawOrigin;
@@ -519,7 +518,7 @@ declare module '@polkadot/types/lookup' {
readonly asXcmPallet: PalletXcmOrigin; readonly asXcmPallet: PalletXcmOrigin;
} }
/** @name PalletXcmOrigin (321) */ /** @name PalletXcmOrigin (318) */
export interface PalletXcmOrigin extends Enum { export interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean; readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation; readonly asXcm: XcmV1MultiLocation;
@@ -527,7 +526,7 @@ declare module '@polkadot/types/lookup' {
readonly asResponse: XcmV1MultiLocation; readonly asResponse: XcmV1MultiLocation;
} }
/** @name KusamaRuntimeNposCompactSolution24 (379) */ /** @name KusamaRuntimeNposCompactSolution24 (376) */
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>]>>;
@@ -555,7 +554,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 PalletXcmCall (511) */ /** @name PalletXcmCall (508) */
export interface PalletXcmCall extends Enum { export interface PalletXcmCall extends Enum {
readonly isSend: boolean; readonly isSend: boolean;
readonly asSend: { readonly asSend: {
@@ -616,7 +615,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmVersionedXcm (512) */ /** @name XcmVersionedXcm (509) */
export interface XcmVersionedXcm extends Enum { export interface XcmVersionedXcm extends Enum {
readonly isV0: boolean; readonly isV0: boolean;
readonly asV0: XcmV0Xcm; readonly asV0: XcmV0Xcm;
@@ -626,7 +625,7 @@ declare module '@polkadot/types/lookup' {
readonly asV2: XcmV2Xcm; readonly asV2: XcmV2Xcm;
} }
/** @name XcmV0Xcm (513) */ /** @name XcmV0Xcm (510) */
export interface XcmV0Xcm extends Enum { export interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean; readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: { readonly asWithdrawAsset: {
@@ -688,7 +687,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmV0Order (515) */ /** @name XcmV0Order (512) */
export interface XcmV0Order extends Enum { export interface XcmV0Order extends Enum {
readonly isNull: boolean; readonly isNull: boolean;
readonly isDepositAsset: boolean; readonly isDepositAsset: boolean;
@@ -735,13 +734,13 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmV0Response (517) */ /** @name XcmV0Response (514) */
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 (518) */ /** @name XcmV1Xcm (515) */
export interface XcmV1Xcm extends Enum { export interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean; readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: { readonly asWithdrawAsset: {
@@ -809,7 +808,7 @@ declare module '@polkadot/types/lookup' {
readonly isUnsubscribeVersion: boolean; readonly isUnsubscribeVersion: boolean;
} }
/** @name XcmV1Order (520) */ /** @name XcmV1Order (517) */
export interface XcmV1Order extends Enum { export interface XcmV1Order extends Enum {
readonly isNoop: boolean; readonly isNoop: boolean;
readonly isDepositAsset: boolean; readonly isDepositAsset: boolean;
@@ -858,7 +857,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmV1Response (522) */ /** @name XcmV1Response (519) */
export interface XcmV1Response extends Enum { export interface XcmV1Response extends Enum {
readonly isAssets: boolean; readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets; readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -866,7 +865,7 @@ declare module '@polkadot/types/lookup' {
readonly asVersion: u32; readonly asVersion: u32;
} }
/** @name PalletXcmQueryStatus (690) */ /** @name PalletXcmQueryStatus (687) */
export interface PalletXcmQueryStatus extends Enum { export interface PalletXcmQueryStatus extends Enum {
readonly isPending: boolean; readonly isPending: boolean;
readonly asPending: { readonly asPending: {
@@ -886,7 +885,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name XcmVersionedResponse (693) */ /** @name XcmVersionedResponse (690) */
export interface XcmVersionedResponse extends Enum { export interface XcmVersionedResponse extends Enum {
readonly isV0: boolean; readonly isV0: boolean;
readonly asV0: XcmV0Response; readonly asV0: XcmV0Response;
@@ -896,7 +895,7 @@ declare module '@polkadot/types/lookup' {
readonly asV2: XcmV2Response; readonly asV2: XcmV2Response;
} }
/** @name PalletXcmVersionMigrationStage (699) */ /** @name PalletXcmVersionMigrationStage (696) */
export interface PalletXcmVersionMigrationStage extends Enum { export interface PalletXcmVersionMigrationStage extends Enum {
readonly isMigrateSupportedVersion: boolean; readonly isMigrateSupportedVersion: boolean;
readonly isMigrateVersionNotifiers: boolean; readonly isMigrateVersionNotifiers: boolean;
@@ -905,7 +904,7 @@ declare module '@polkadot/types/lookup' {
readonly isMigrateAndNotifyOldTargets: boolean; readonly isMigrateAndNotifyOldTargets: boolean;
} }
/** @name PalletXcmError (700) */ /** @name PalletXcmError (697) */
export interface PalletXcmError extends Enum { export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean; readonly isUnreachable: boolean;
readonly isSendFailure: boolean; readonly isSendFailure: boolean;
@@ -922,7 +921,7 @@ declare module '@polkadot/types/lookup' {
readonly isAlreadySubscribed: boolean; readonly isAlreadySubscribed: boolean;
} }
/** @name KusamaRuntimeRuntime (711) */ /** @name KusamaRuntimeRuntime (708) */
export type KusamaRuntimeRuntime = Null; export type KusamaRuntimeRuntime = Null;
} } // declare module
@@ -1,20 +1,19 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
declare module '@polkadot/types/lookup' { declare module '@polkadot/types/lookup' {
import type { BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
/** @name PolkadotRuntimeCommonClaimsPalletEvent (65) */ /** @name PolkadotRuntimeCommonClaimsPalletEvent (62) */
export interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum { export interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
readonly isClaimed: boolean; readonly isClaimed: boolean;
readonly asClaimed: ITuple<[AccountId32, EthereumAddress, u128]>; readonly asClaimed: ITuple<[AccountId32, EthereumAddress, u128]>;
} }
/** @name PolkadotRuntimeProxyType (72) */ /** @name PolkadotRuntimeProxyType (69) */
export interface PolkadotRuntimeProxyType extends Enum { export interface PolkadotRuntimeProxyType extends Enum {
readonly isAny: boolean; readonly isAny: boolean;
readonly isNonTransfer: boolean; readonly isNonTransfer: boolean;
@@ -25,7 +24,7 @@ declare module '@polkadot/types/lookup' {
readonly isAuction: boolean; readonly isAuction: boolean;
} }
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (82) */ /** @name PolkadotRuntimeParachainsInclusionPalletEvent (79) */
export interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum { export interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum {
readonly isCandidateBacked: boolean; readonly isCandidateBacked: boolean;
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesV1CandidateReceipt, Bytes, u32, u32]>; readonly asCandidateBacked: ITuple<[PolkadotPrimitivesV1CandidateReceipt, Bytes, u32, u32]>;
@@ -35,13 +34,13 @@ declare module '@polkadot/types/lookup' {
readonly asCandidateTimedOut: ITuple<[PolkadotPrimitivesV1CandidateReceipt, Bytes, u32]>; readonly asCandidateTimedOut: ITuple<[PolkadotPrimitivesV1CandidateReceipt, Bytes, u32]>;
} }
/** @name PolkadotPrimitivesV1CandidateReceipt (83) */ /** @name PolkadotPrimitivesV1CandidateReceipt (80) */
export interface PolkadotPrimitivesV1CandidateReceipt extends Struct { export interface PolkadotPrimitivesV1CandidateReceipt extends Struct {
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor; readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
readonly commitmentsHash: H256; readonly commitmentsHash: H256;
} }
/** @name PolkadotPrimitivesV1CandidateDescriptor (84) */ /** @name PolkadotPrimitivesV1CandidateDescriptor (81) */
export interface PolkadotPrimitivesV1CandidateDescriptor extends Struct { export interface PolkadotPrimitivesV1CandidateDescriptor extends Struct {
readonly paraId: u32; readonly paraId: u32;
readonly relayParent: H256; readonly relayParent: H256;
@@ -54,13 +53,13 @@ declare module '@polkadot/types/lookup' {
readonly validationCodeHash: H256; readonly validationCodeHash: H256;
} }
/** @name PolkadotPrimitivesV0CollatorAppPublic (86) */ /** @name PolkadotPrimitivesV0CollatorAppPublic (83) */
export interface PolkadotPrimitivesV0CollatorAppPublic extends SpCoreSr25519Public {} export interface PolkadotPrimitivesV0CollatorAppPublic extends SpCoreSr25519Public {}
/** @name PolkadotPrimitivesV0CollatorAppSignature (87) */ /** @name PolkadotPrimitivesV0CollatorAppSignature (84) */
export interface PolkadotPrimitivesV0CollatorAppSignature extends SpCoreSr25519Signature {} export interface PolkadotPrimitivesV0CollatorAppSignature extends SpCoreSr25519Signature {}
/** @name PolkadotRuntimeParachainsParasPalletEvent (94) */ /** @name PolkadotRuntimeParachainsParasPalletEvent (91) */
export interface PolkadotRuntimeParachainsParasPalletEvent extends Enum { export interface PolkadotRuntimeParachainsParasPalletEvent extends Enum {
readonly isCurrentCodeUpdated: boolean; readonly isCurrentCodeUpdated: boolean;
readonly asCurrentCodeUpdated: u32; readonly asCurrentCodeUpdated: u32;
@@ -74,7 +73,7 @@ declare module '@polkadot/types/lookup' {
readonly asActionQueued: ITuple<[u32, u32]>; readonly asActionQueued: ITuple<[u32, u32]>;
} }
/** @name PolkadotRuntimeParachainsUmpPalletEvent (95) */ /** @name PolkadotRuntimeParachainsUmpPalletEvent (92) */
export interface PolkadotRuntimeParachainsUmpPalletEvent extends Enum { export interface PolkadotRuntimeParachainsUmpPalletEvent extends Enum {
readonly isInvalidFormat: boolean; readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed; readonly asInvalidFormat: U8aFixed;
@@ -92,7 +91,7 @@ declare module '@polkadot/types/lookup' {
readonly asOverweightServiced: ITuple<[u64, u64]>; readonly asOverweightServiced: ITuple<[u64, u64]>;
} }
/** @name XcmV2TraitsOutcome (96) */ /** @name XcmV2TraitsOutcome (93) */
export interface XcmV2TraitsOutcome extends Enum { export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean; readonly isComplete: boolean;
readonly asComplete: u64; readonly asComplete: u64;
@@ -102,7 +101,7 @@ declare module '@polkadot/types/lookup' {
readonly asError: XcmV2TraitsError; readonly asError: XcmV2TraitsError;
} }
/** @name XcmV2TraitsError (97) */ /** @name XcmV2TraitsError (94) */
export interface XcmV2TraitsError extends Enum { export interface XcmV2TraitsError extends Enum {
readonly isOverflow: boolean; readonly isOverflow: boolean;
readonly isUnimplemented: boolean; readonly isUnimplemented: boolean;
@@ -134,7 +133,7 @@ declare module '@polkadot/types/lookup' {
readonly isWeightNotComputable: boolean; readonly isWeightNotComputable: boolean;
} }
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (98) */ /** @name PolkadotRuntimeParachainsHrmpPalletEvent (95) */
export interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum { export interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum {
readonly isOpenChannelRequested: boolean; readonly isOpenChannelRequested: boolean;
readonly asOpenChannelRequested: ITuple<[u32, u32, u32, u32]>; readonly asOpenChannelRequested: ITuple<[u32, u32, u32, u32]>;
@@ -146,13 +145,13 @@ declare module '@polkadot/types/lookup' {
readonly asChannelClosed: ITuple<[u32, PolkadotParachainPrimitivesHrmpChannelId]>; readonly asChannelClosed: ITuple<[u32, PolkadotParachainPrimitivesHrmpChannelId]>;
} }
/** @name PolkadotParachainPrimitivesHrmpChannelId (99) */ /** @name PolkadotParachainPrimitivesHrmpChannelId (96) */
export interface PolkadotParachainPrimitivesHrmpChannelId extends Struct { export interface PolkadotParachainPrimitivesHrmpChannelId extends Struct {
readonly sender: u32; readonly sender: u32;
readonly recipient: u32; readonly recipient: u32;
} }
/** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (100) */ /** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (97) */
export interface PolkadotRuntimeCommonParasRegistrarPalletEvent extends Enum { export interface PolkadotRuntimeCommonParasRegistrarPalletEvent extends Enum {
readonly isRegistered: boolean; readonly isRegistered: boolean;
readonly asRegistered: ITuple<[u32, AccountId32]>; readonly asRegistered: ITuple<[u32, AccountId32]>;
@@ -162,7 +161,7 @@ declare module '@polkadot/types/lookup' {
readonly asReserved: ITuple<[u32, AccountId32]>; readonly asReserved: ITuple<[u32, AccountId32]>;
} }
/** @name PolkadotRuntimeCommonSlotsPalletEvent (101) */ /** @name PolkadotRuntimeCommonSlotsPalletEvent (98) */
export interface PolkadotRuntimeCommonSlotsPalletEvent extends Enum { export interface PolkadotRuntimeCommonSlotsPalletEvent extends Enum {
readonly isNewLeasePeriod: boolean; readonly isNewLeasePeriod: boolean;
readonly asNewLeasePeriod: u32; readonly asNewLeasePeriod: u32;
@@ -170,7 +169,7 @@ declare module '@polkadot/types/lookup' {
readonly asLeased: ITuple<[u32, AccountId32, u32, u32, u128, u128]>; readonly asLeased: ITuple<[u32, AccountId32, u32, u32, u128, u128]>;
} }
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (102) */ /** @name PolkadotRuntimeCommonAuctionsPalletEvent (99) */
export interface PolkadotRuntimeCommonAuctionsPalletEvent extends Enum { export interface PolkadotRuntimeCommonAuctionsPalletEvent extends Enum {
readonly isAuctionStarted: boolean; readonly isAuctionStarted: boolean;
readonly asAuctionStarted: ITuple<[u32, u32, u32]>; readonly asAuctionStarted: ITuple<[u32, u32, u32]>;
@@ -188,7 +187,7 @@ declare module '@polkadot/types/lookup' {
readonly asWinningOffset: ITuple<[u32, u32]>; readonly asWinningOffset: ITuple<[u32, u32]>;
} }
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (103) */ /** @name PolkadotRuntimeCommonCrowdloanPalletEvent (100) */
export interface PolkadotRuntimeCommonCrowdloanPalletEvent extends Enum { export interface PolkadotRuntimeCommonCrowdloanPalletEvent extends Enum {
readonly isCreated: boolean; readonly isCreated: boolean;
readonly asCreated: u32; readonly asCreated: u32;
@@ -212,7 +211,7 @@ declare module '@polkadot/types/lookup' {
readonly asAddedToNewRaise: u32; readonly asAddedToNewRaise: u32;
} }
/** @name PolkadotRuntimeSessionKeys (162) */ /** @name PolkadotRuntimeSessionKeys (159) */
export interface PolkadotRuntimeSessionKeys extends Struct { export interface PolkadotRuntimeSessionKeys extends Struct {
readonly grandpa: SpFinalityGrandpaAppPublic; readonly grandpa: SpFinalityGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic; readonly babe: SpConsensusBabeAppPublic;
@@ -222,13 +221,13 @@ declare module '@polkadot/types/lookup' {
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic; readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
} }
/** @name PolkadotPrimitivesV0ValidatorAppPublic (163) */ /** @name PolkadotPrimitivesV0ValidatorAppPublic (160) */
export interface PolkadotPrimitivesV0ValidatorAppPublic extends SpCoreSr25519Public {} export interface PolkadotPrimitivesV0ValidatorAppPublic extends SpCoreSr25519Public {}
/** @name PolkadotPrimitivesV1AssignmentAppPublic (164) */ /** @name PolkadotPrimitivesV1AssignmentAppPublic (161) */
export interface PolkadotPrimitivesV1AssignmentAppPublic extends SpCoreSr25519Public {} export interface PolkadotPrimitivesV1AssignmentAppPublic extends SpCoreSr25519Public {}
/** @name PolkadotRuntimeCommonClaimsPalletCall (195) */ /** @name PolkadotRuntimeCommonClaimsPalletCall (192) */
export interface PolkadotRuntimeCommonClaimsPalletCall extends Enum { export interface PolkadotRuntimeCommonClaimsPalletCall extends Enum {
readonly isClaim: boolean; readonly isClaim: boolean;
readonly asClaim: { readonly asClaim: {
@@ -260,16 +259,16 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name PolkadotRuntimeCommonClaimsEcdsaSignature (196) */ /** @name PolkadotRuntimeCommonClaimsEcdsaSignature (193) */
export interface PolkadotRuntimeCommonClaimsEcdsaSignature extends U8aFixed {} export interface PolkadotRuntimeCommonClaimsEcdsaSignature extends U8aFixed {}
/** @name PolkadotRuntimeCommonClaimsStatementKind (201) */ /** @name PolkadotRuntimeCommonClaimsStatementKind (198) */
export interface PolkadotRuntimeCommonClaimsStatementKind extends Enum { export interface PolkadotRuntimeCommonClaimsStatementKind extends Enum {
readonly isRegular: boolean; readonly isRegular: boolean;
readonly isSaft: boolean; readonly isSaft: boolean;
} }
/** @name PolkadotRuntimeOriginCaller (206) */ /** @name PolkadotRuntimeOriginCaller (203) */
export interface PolkadotRuntimeOriginCaller extends Enum { export interface PolkadotRuntimeOriginCaller extends Enum {
readonly isSystem: boolean; readonly isSystem: boolean;
readonly asSystem: FrameSystemRawOrigin; readonly asSystem: FrameSystemRawOrigin;
@@ -282,13 +281,13 @@ declare module '@polkadot/types/lookup' {
readonly asParachainsOrigin: PolkadotRuntimeParachainsOriginPalletOrigin; readonly asParachainsOrigin: PolkadotRuntimeParachainsOriginPalletOrigin;
} }
/** @name PolkadotRuntimeParachainsOriginPalletOrigin (210) */ /** @name PolkadotRuntimeParachainsOriginPalletOrigin (207) */
export interface PolkadotRuntimeParachainsOriginPalletOrigin extends Enum { export interface PolkadotRuntimeParachainsOriginPalletOrigin extends Enum {
readonly isParachain: boolean; readonly isParachain: boolean;
readonly asParachain: u32; readonly asParachain: u32;
} }
/** @name PolkadotRuntimeNposCompactSolution16 (261) */ /** @name PolkadotRuntimeNposCompactSolution16 (258) */
export interface PolkadotRuntimeNposCompactSolution16 extends Struct { export interface PolkadotRuntimeNposCompactSolution16 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>]>>;
@@ -308,7 +307,7 @@ declare module '@polkadot/types/lookup' {
readonly votes16: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>; readonly votes16: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
} }
/** @name PolkadotRuntimeParachainsConfigurationPalletCall (319) */ /** @name PolkadotRuntimeParachainsConfigurationPalletCall (316) */
export interface PolkadotRuntimeParachainsConfigurationPalletCall extends Enum { export interface PolkadotRuntimeParachainsConfigurationPalletCall extends Enum {
readonly isSetValidationUpgradeFrequency: boolean; readonly isSetValidationUpgradeFrequency: boolean;
readonly asSetValidationUpgradeFrequency: { readonly asSetValidationUpgradeFrequency: {
@@ -476,13 +475,13 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name PolkadotRuntimeParachainsSharedPalletCall (320) */ /** @name PolkadotRuntimeParachainsSharedPalletCall (317) */
export type PolkadotRuntimeParachainsSharedPalletCall = Null; export type PolkadotRuntimeParachainsSharedPalletCall = Null;
/** @name PolkadotRuntimeParachainsInclusionPalletCall (321) */ /** @name PolkadotRuntimeParachainsInclusionPalletCall (318) */
export type PolkadotRuntimeParachainsInclusionPalletCall = Null; export type PolkadotRuntimeParachainsInclusionPalletCall = Null;
/** @name PolkadotRuntimeParachainsParasInherentPalletCall (322) */ /** @name PolkadotRuntimeParachainsParasInherentPalletCall (319) */
export interface PolkadotRuntimeParachainsParasInherentPalletCall extends Enum { export interface PolkadotRuntimeParachainsParasInherentPalletCall extends Enum {
readonly isEnter: boolean; readonly isEnter: boolean;
readonly asEnter: { readonly asEnter: {
@@ -490,7 +489,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name PolkadotPrimitivesV1InherentData (323) */ /** @name PolkadotPrimitivesV1InherentData (320) */
export interface PolkadotPrimitivesV1InherentData extends Struct { export interface PolkadotPrimitivesV1InherentData extends Struct {
readonly bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>; readonly bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>;
readonly backedCandidates: Vec<PolkadotPrimitivesV1BackedCandidate>; readonly backedCandidates: Vec<PolkadotPrimitivesV1BackedCandidate>;
@@ -498,33 +497,33 @@ declare module '@polkadot/types/lookup' {
readonly parentHeader: SpRuntimeHeader; readonly parentHeader: SpRuntimeHeader;
} }
/** @name PolkadotPrimitivesV1SignedUncheckedSigned (325) */ /** @name PolkadotPrimitivesV1SignedUncheckedSigned (322) */
export interface PolkadotPrimitivesV1SignedUncheckedSigned extends Struct { export interface PolkadotPrimitivesV1SignedUncheckedSigned extends Struct {
readonly payload: BitVec; readonly payload: BitVec;
readonly validatorIndex: u32; readonly validatorIndex: u32;
readonly signature: PolkadotPrimitivesV0ValidatorAppSignature; readonly signature: PolkadotPrimitivesV0ValidatorAppSignature;
} }
/** @name BitvecOrderLsb0 (328) */ /** @name BitvecOrderLsb0 (325) */
export type BitvecOrderLsb0 = Null; export type BitvecOrderLsb0 = Null;
/** @name PolkadotPrimitivesV0ValidatorAppSignature (330) */ /** @name PolkadotPrimitivesV0ValidatorAppSignature (327) */
export interface PolkadotPrimitivesV0ValidatorAppSignature extends SpCoreSr25519Signature {} export interface PolkadotPrimitivesV0ValidatorAppSignature extends SpCoreSr25519Signature {}
/** @name PolkadotPrimitivesV1BackedCandidate (332) */ /** @name PolkadotPrimitivesV1BackedCandidate (329) */
export interface PolkadotPrimitivesV1BackedCandidate extends Struct { export interface PolkadotPrimitivesV1BackedCandidate extends Struct {
readonly candidate: PolkadotPrimitivesV1CommittedCandidateReceipt; readonly candidate: PolkadotPrimitivesV1CommittedCandidateReceipt;
readonly validityVotes: Vec<PolkadotPrimitivesV0ValidityAttestation>; readonly validityVotes: Vec<PolkadotPrimitivesV0ValidityAttestation>;
readonly validatorIndices: BitVec; readonly validatorIndices: BitVec;
} }
/** @name PolkadotPrimitivesV1CommittedCandidateReceipt (333) */ /** @name PolkadotPrimitivesV1CommittedCandidateReceipt (330) */
export interface PolkadotPrimitivesV1CommittedCandidateReceipt extends Struct { export interface PolkadotPrimitivesV1CommittedCandidateReceipt extends Struct {
readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor; readonly descriptor: PolkadotPrimitivesV1CandidateDescriptor;
readonly commitments: PolkadotPrimitivesV1CandidateCommitments; readonly commitments: PolkadotPrimitivesV1CandidateCommitments;
} }
/** @name PolkadotPrimitivesV1CandidateCommitments (334) */ /** @name PolkadotPrimitivesV1CandidateCommitments (331) */
export interface PolkadotPrimitivesV1CandidateCommitments extends Struct { export interface PolkadotPrimitivesV1CandidateCommitments extends Struct {
readonly upwardMessages: Vec<Bytes>; readonly upwardMessages: Vec<Bytes>;
readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>; readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>;
@@ -534,13 +533,13 @@ declare module '@polkadot/types/lookup' {
readonly hrmpWatermark: u32; readonly hrmpWatermark: u32;
} }
/** @name PolkadotCorePrimitivesOutboundHrmpMessage (336) */ /** @name PolkadotCorePrimitivesOutboundHrmpMessage (333) */
export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { export interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct {
readonly recipient: u32; readonly recipient: u32;
readonly data: Bytes; readonly data: Bytes;
} }
/** @name PolkadotPrimitivesV0ValidityAttestation (340) */ /** @name PolkadotPrimitivesV0ValidityAttestation (337) */
export interface PolkadotPrimitivesV0ValidityAttestation extends Enum { export interface PolkadotPrimitivesV0ValidityAttestation extends Enum {
readonly isImplicit: boolean; readonly isImplicit: boolean;
readonly asImplicit: PolkadotPrimitivesV0ValidatorAppSignature; readonly asImplicit: PolkadotPrimitivesV0ValidatorAppSignature;
@@ -548,14 +547,14 @@ declare module '@polkadot/types/lookup' {
readonly asExplicit: PolkadotPrimitivesV0ValidatorAppSignature; readonly asExplicit: PolkadotPrimitivesV0ValidatorAppSignature;
} }
/** @name PolkadotPrimitivesV1DisputeStatementSet (342) */ /** @name PolkadotPrimitivesV1DisputeStatementSet (339) */
export interface PolkadotPrimitivesV1DisputeStatementSet extends Struct { export interface PolkadotPrimitivesV1DisputeStatementSet extends Struct {
readonly candidateHash: H256; readonly candidateHash: H256;
readonly session: u32; readonly session: u32;
readonly statements: Vec<ITuple<[PolkadotPrimitivesV1DisputeStatement, u32, PolkadotPrimitivesV0ValidatorAppSignature]>>; readonly statements: Vec<ITuple<[PolkadotPrimitivesV1DisputeStatement, u32, PolkadotPrimitivesV0ValidatorAppSignature]>>;
} }
/** @name PolkadotPrimitivesV1DisputeStatement (346) */ /** @name PolkadotPrimitivesV1DisputeStatement (343) */
export interface PolkadotPrimitivesV1DisputeStatement extends Enum { export interface PolkadotPrimitivesV1DisputeStatement extends Enum {
readonly isValid: boolean; readonly isValid: boolean;
readonly asValid: PolkadotPrimitivesV1ValidDisputeStatementKind; readonly asValid: PolkadotPrimitivesV1ValidDisputeStatementKind;
@@ -563,7 +562,7 @@ declare module '@polkadot/types/lookup' {
readonly asInvalid: PolkadotPrimitivesV1InvalidDisputeStatementKind; readonly asInvalid: PolkadotPrimitivesV1InvalidDisputeStatementKind;
} }
/** @name PolkadotPrimitivesV1ValidDisputeStatementKind (347) */ /** @name PolkadotPrimitivesV1ValidDisputeStatementKind (344) */
export interface PolkadotPrimitivesV1ValidDisputeStatementKind extends Enum { export interface PolkadotPrimitivesV1ValidDisputeStatementKind extends Enum {
readonly isExplicit: boolean; readonly isExplicit: boolean;
readonly isBackingSeconded: boolean; readonly isBackingSeconded: boolean;
@@ -573,12 +572,12 @@ declare module '@polkadot/types/lookup' {
readonly isApprovalChecking: boolean; readonly isApprovalChecking: boolean;
} }
/** @name PolkadotPrimitivesV1InvalidDisputeStatementKind (348) */ /** @name PolkadotPrimitivesV1InvalidDisputeStatementKind (345) */
export interface PolkadotPrimitivesV1InvalidDisputeStatementKind extends Enum { export interface PolkadotPrimitivesV1InvalidDisputeStatementKind extends Enum {
readonly isExplicit: boolean; readonly isExplicit: boolean;
} }
/** @name PolkadotRuntimeParachainsParasPalletCall (349) */ /** @name PolkadotRuntimeParachainsParasPalletCall (346) */
export interface PolkadotRuntimeParachainsParasPalletCall extends Enum { export interface PolkadotRuntimeParachainsParasPalletCall extends Enum {
readonly isForceSetCurrentCode: boolean; readonly isForceSetCurrentCode: boolean;
readonly asForceSetCurrentCode: { readonly asForceSetCurrentCode: {
@@ -607,7 +606,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name PolkadotRuntimeParachainsInitializerPalletCall (350) */ /** @name PolkadotRuntimeParachainsInitializerPalletCall (347) */
export interface PolkadotRuntimeParachainsInitializerPalletCall extends Enum { export interface PolkadotRuntimeParachainsInitializerPalletCall extends Enum {
readonly isForceApprove: boolean; readonly isForceApprove: boolean;
readonly asForceApprove: { readonly asForceApprove: {
@@ -615,10 +614,10 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name PolkadotRuntimeParachainsDmpPalletCall (351) */ /** @name PolkadotRuntimeParachainsDmpPalletCall (348) */
export type PolkadotRuntimeParachainsDmpPalletCall = Null; export type PolkadotRuntimeParachainsDmpPalletCall = Null;
/** @name PolkadotRuntimeParachainsUmpPalletCall (352) */ /** @name PolkadotRuntimeParachainsUmpPalletCall (349) */
export interface PolkadotRuntimeParachainsUmpPalletCall extends Enum { export interface PolkadotRuntimeParachainsUmpPalletCall extends Enum {
readonly isServiceOverweight: boolean; readonly isServiceOverweight: boolean;
readonly asServiceOverweight: { readonly asServiceOverweight: {
@@ -627,7 +626,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name PolkadotRuntimeParachainsHrmpPalletCall (353) */ /** @name PolkadotRuntimeParachainsHrmpPalletCall (350) */
export interface PolkadotRuntimeParachainsHrmpPalletCall extends Enum { export interface PolkadotRuntimeParachainsHrmpPalletCall extends Enum {
readonly isHrmpInitOpenChannel: boolean; readonly isHrmpInitOpenChannel: boolean;
readonly asHrmpInitOpenChannel: { readonly asHrmpInitOpenChannel: {
@@ -655,7 +654,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name PolkadotRuntimeCommonParasRegistrarPalletCall (354) */ /** @name PolkadotRuntimeCommonParasRegistrarPalletCall (351) */
export interface PolkadotRuntimeCommonParasRegistrarPalletCall extends Enum { export interface PolkadotRuntimeCommonParasRegistrarPalletCall extends Enum {
readonly isRegister: boolean; readonly isRegister: boolean;
readonly asRegister: { readonly asRegister: {
@@ -687,7 +686,7 @@ declare module '@polkadot/types/lookup' {
readonly isReserve: boolean; readonly isReserve: boolean;
} }
/** @name PolkadotRuntimeCommonSlotsPalletCall (355) */ /** @name PolkadotRuntimeCommonSlotsPalletCall (352) */
export interface PolkadotRuntimeCommonSlotsPalletCall extends Enum { export interface PolkadotRuntimeCommonSlotsPalletCall extends Enum {
readonly isForceLease: boolean; readonly isForceLease: boolean;
readonly asForceLease: { readonly asForceLease: {
@@ -707,7 +706,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name PolkadotRuntimeCommonAuctionsPalletCall (356) */ /** @name PolkadotRuntimeCommonAuctionsPalletCall (353) */
export interface PolkadotRuntimeCommonAuctionsPalletCall extends Enum { export interface PolkadotRuntimeCommonAuctionsPalletCall extends Enum {
readonly isNewAuction: boolean; readonly isNewAuction: boolean;
readonly asNewAuction: { readonly asNewAuction: {
@@ -725,7 +724,7 @@ declare module '@polkadot/types/lookup' {
readonly isCancelAuction: boolean; readonly isCancelAuction: boolean;
} }
/** @name PolkadotRuntimeCommonCrowdloanPalletCall (358) */ /** @name PolkadotRuntimeCommonCrowdloanPalletCall (355) */
export interface PolkadotRuntimeCommonCrowdloanPalletCall extends Enum { export interface PolkadotRuntimeCommonCrowdloanPalletCall extends Enum {
readonly isCreate: boolean; readonly isCreate: boolean;
readonly asCreate: { readonly asCreate: {
@@ -775,7 +774,7 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
} }
/** @name SpRuntimeMultiSigner (360) */ /** @name SpRuntimeMultiSigner (357) */
export interface SpRuntimeMultiSigner extends Enum { export interface SpRuntimeMultiSigner extends Enum {
readonly isEd25519: boolean; readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Public; readonly asEd25519: SpCoreEd25519Public;
@@ -785,10 +784,10 @@ declare module '@polkadot/types/lookup' {
readonly asEcdsa: SpCoreEcdsaPublic; readonly asEcdsa: SpCoreEcdsaPublic;
} }
/** @name SpCoreEcdsaPublic (361) */ /** @name SpCoreEcdsaPublic (358) */
export interface SpCoreEcdsaPublic extends U8aFixed {} export interface SpCoreEcdsaPublic extends U8aFixed {}
/** @name PolkadotRuntimeCommonClaimsPalletError (464) */ /** @name PolkadotRuntimeCommonClaimsPalletError (461) */
export interface PolkadotRuntimeCommonClaimsPalletError extends Enum { export interface PolkadotRuntimeCommonClaimsPalletError extends Enum {
readonly isInvalidEthereumSignature: boolean; readonly isInvalidEthereumSignature: boolean;
readonly isSignerHasNoClaim: boolean; readonly isSignerHasNoClaim: boolean;
@@ -798,7 +797,7 @@ declare module '@polkadot/types/lookup' {
readonly isVestedBalanceExists: boolean; readonly isVestedBalanceExists: boolean;
} }
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (514) */ /** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (511) */
export interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct { export interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
readonly maxCodeSize: u32; readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32; readonly maxHeadDataSize: u32;
@@ -842,18 +841,18 @@ declare module '@polkadot/types/lookup' {
readonly umpMaxIndividualWeight: u64; readonly umpMaxIndividualWeight: u64;
} }
/** @name PolkadotRuntimeParachainsConfigurationPalletError (515) */ /** @name PolkadotRuntimeParachainsConfigurationPalletError (512) */
export interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum { export interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum {
readonly isInvalidNewValue: boolean; readonly isInvalidNewValue: boolean;
} }
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (518) */ /** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (515) */
export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct { export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
readonly bitfield: BitVec; readonly bitfield: BitVec;
readonly submittedAt: u32; readonly submittedAt: u32;
} }
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (519) */ /** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (516) */
export interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct { export interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
readonly core: u32; readonly core: u32;
readonly hash_: H256; readonly hash_: H256;
@@ -865,7 +864,7 @@ declare module '@polkadot/types/lookup' {
readonly backingGroup: u32; readonly backingGroup: u32;
} }
/** @name PolkadotRuntimeParachainsInclusionPalletError (520) */ /** @name PolkadotRuntimeParachainsInclusionPalletError (517) */
export interface PolkadotRuntimeParachainsInclusionPalletError extends Enum { export interface PolkadotRuntimeParachainsInclusionPalletError extends Enum {
readonly isWrongBitfieldSize: boolean; readonly isWrongBitfieldSize: boolean;
readonly isBitfieldDuplicateOrUnordered: boolean; readonly isBitfieldDuplicateOrUnordered: boolean;
@@ -890,51 +889,53 @@ declare module '@polkadot/types/lookup' {
readonly isInvalidOutboundHrmp: boolean; readonly isInvalidOutboundHrmp: boolean;
readonly isInvalidValidationCodeHash: boolean; readonly isInvalidValidationCodeHash: boolean;
readonly isParaHeadMismatch: boolean; readonly isParaHeadMismatch: boolean;
readonly isBitfieldReferencesFreedCore: boolean;
} }
/** @name PolkadotPrimitivesV1ScrapedOnChainVotes (521) */ /** @name PolkadotPrimitivesV1ScrapedOnChainVotes (518) */
export interface PolkadotPrimitivesV1ScrapedOnChainVotes extends Struct { export interface PolkadotPrimitivesV1ScrapedOnChainVotes extends Struct {
readonly session: u32; readonly session: u32;
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesV1CandidateReceipt, Vec<ITuple<[u32, PolkadotPrimitivesV0ValidityAttestation]>>]>>; readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesV1CandidateReceipt, Vec<ITuple<[u32, PolkadotPrimitivesV0ValidityAttestation]>>]>>;
readonly disputes: Vec<PolkadotPrimitivesV1DisputeStatementSet>; readonly disputes: Vec<PolkadotPrimitivesV1DisputeStatementSet>;
} }
/** @name PolkadotRuntimeParachainsParasInherentPalletError (526) */ /** @name PolkadotRuntimeParachainsParasInherentPalletError (523) */
export interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum { export interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum {
readonly isTooManyInclusionInherents: boolean; readonly isTooManyInclusionInherents: boolean;
readonly isInvalidParentHeader: boolean; readonly isInvalidParentHeader: boolean;
readonly isCandidateConcludedInvalid: boolean; readonly isCandidateConcludedInvalid: boolean;
readonly isInherentOverweight: boolean;
} }
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (528) */ /** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (525) */
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 (530) */ /** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (527) */
export interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct { export interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct {
readonly claim: PolkadotPrimitivesV1ParathreadEntry; readonly claim: PolkadotPrimitivesV1ParathreadEntry;
readonly coreOffset: u32; readonly coreOffset: u32;
} }
/** @name PolkadotPrimitivesV1ParathreadEntry (531) */ /** @name PolkadotPrimitivesV1ParathreadEntry (528) */
export interface PolkadotPrimitivesV1ParathreadEntry extends Struct { export interface PolkadotPrimitivesV1ParathreadEntry extends Struct {
readonly claim: PolkadotPrimitivesV1ParathreadClaim; readonly claim: PolkadotPrimitivesV1ParathreadClaim;
readonly retries: u32; readonly retries: u32;
} }
/** @name PolkadotPrimitivesV1ParathreadClaim (532) */ /** @name PolkadotPrimitivesV1ParathreadClaim (529) */
export interface PolkadotPrimitivesV1ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV0CollatorAppPublic]> {} export interface PolkadotPrimitivesV1ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV0CollatorAppPublic]> {}
/** @name PolkadotPrimitivesV1CoreOccupied (535) */ /** @name PolkadotPrimitivesV1CoreOccupied (532) */
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 (538) */ /** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (535) */
export interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct { export interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct {
readonly core: u32; readonly core: u32;
readonly paraId: u32; readonly paraId: u32;
@@ -942,14 +943,14 @@ declare module '@polkadot/types/lookup' {
readonly groupIdx: u32; readonly groupIdx: u32;
} }
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (539) */ /** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (536) */
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 (540) */ /** @name PolkadotRuntimeParachainsParasParaLifecycle (537) */
export interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum { export interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
readonly isOnboarding: boolean; readonly isOnboarding: boolean;
readonly isParathread: boolean; readonly isParathread: boolean;
@@ -960,37 +961,37 @@ declare module '@polkadot/types/lookup' {
readonly isOffboardingParachain: boolean; readonly isOffboardingParachain: boolean;
} }
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (542) */ /** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (539) */
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 (544) */ /** @name PolkadotRuntimeParachainsParasReplacementTimes (541) */
export interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct { export interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
readonly expectedAt: u32; readonly expectedAt: u32;
readonly activatedAt: u32; readonly activatedAt: u32;
} }
/** @name PolkadotPrimitivesV1UpgradeGoAhead (546) */ /** @name PolkadotPrimitivesV1UpgradeGoAhead (543) */
export interface PolkadotPrimitivesV1UpgradeGoAhead extends Enum { export interface PolkadotPrimitivesV1UpgradeGoAhead extends Enum {
readonly isAbort: boolean; readonly isAbort: boolean;
readonly isGoAhead: boolean; readonly isGoAhead: boolean;
} }
/** @name PolkadotPrimitivesV1UpgradeRestriction (547) */ /** @name PolkadotPrimitivesV1UpgradeRestriction (544) */
export interface PolkadotPrimitivesV1UpgradeRestriction extends Enum { export interface PolkadotPrimitivesV1UpgradeRestriction extends Enum {
readonly isPresent: boolean; readonly isPresent: boolean;
} }
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (548) */ /** @name PolkadotRuntimeParachainsParasParaGenesisArgs (545) */
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 PolkadotRuntimeParachainsParasPalletError (549) */ /** @name PolkadotRuntimeParachainsParasPalletError (546) */
export interface PolkadotRuntimeParachainsParasPalletError extends Enum { export interface PolkadotRuntimeParachainsParasPalletError extends Enum {
readonly isNotRegistered: boolean; readonly isNotRegistered: boolean;
readonly isCannotOnboard: boolean; readonly isCannotOnboard: boolean;
@@ -999,26 +1000,26 @@ declare module '@polkadot/types/lookup' {
readonly isCannotDowngrade: boolean; readonly isCannotDowngrade: boolean;
} }
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (551) */ /** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (548) */
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 (553) */ /** @name PolkadotCorePrimitivesInboundDownwardMessage (550) */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32; readonly sentAt: u32;
readonly msg: Bytes; readonly msg: Bytes;
} }
/** @name PolkadotRuntimeParachainsUmpPalletError (555) */ /** @name PolkadotRuntimeParachainsUmpPalletError (552) */
export interface PolkadotRuntimeParachainsUmpPalletError extends Enum { export interface PolkadotRuntimeParachainsUmpPalletError extends Enum {
readonly isUnknownMessageIndex: boolean; readonly isUnknownMessageIndex: boolean;
readonly isWeightOverLimit: boolean; readonly isWeightOverLimit: boolean;
} }
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (556) */ /** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (553) */
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct { export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool; readonly confirmed: bool;
readonly age: u32; readonly age: u32;
@@ -1028,7 +1029,7 @@ declare module '@polkadot/types/lookup' {
readonly maxTotalSize: u32; readonly maxTotalSize: u32;
} }
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (558) */ /** @name PolkadotRuntimeParachainsHrmpHrmpChannel (555) */
export interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct { export interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
readonly maxCapacity: u32; readonly maxCapacity: u32;
readonly maxTotalSize: u32; readonly maxTotalSize: u32;
@@ -1040,13 +1041,13 @@ declare module '@polkadot/types/lookup' {
readonly recipientDeposit: u128; readonly recipientDeposit: u128;
} }
/** @name PolkadotCorePrimitivesInboundHrmpMessage (561) */ /** @name PolkadotCorePrimitivesInboundHrmpMessage (558) */
export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32; readonly sentAt: u32;
readonly data: Bytes; readonly data: Bytes;
} }
/** @name PolkadotRuntimeParachainsHrmpPalletError (564) */ /** @name PolkadotRuntimeParachainsHrmpPalletError (561) */
export interface PolkadotRuntimeParachainsHrmpPalletError extends Enum { export interface PolkadotRuntimeParachainsHrmpPalletError extends Enum {
readonly isOpenHrmpChannelToSelf: boolean; readonly isOpenHrmpChannelToSelf: boolean;
readonly isOpenHrmpChannelInvalidRecipient: boolean; readonly isOpenHrmpChannelInvalidRecipient: boolean;
@@ -1068,7 +1069,7 @@ declare module '@polkadot/types/lookup' {
readonly isOpenHrmpChannelAlreadyConfirmed: boolean; readonly isOpenHrmpChannelAlreadyConfirmed: boolean;
} }
/** @name PolkadotPrimitivesV1SessionInfo (566) */ /** @name PolkadotPrimitivesV1SessionInfo (563) */
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>;
@@ -1082,14 +1083,14 @@ declare module '@polkadot/types/lookup' {
readonly neededApprovals: u32; readonly neededApprovals: u32;
} }
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (568) */ /** @name PolkadotRuntimeCommonParasRegistrarParaInfo (565) */
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 PolkadotRuntimeCommonParasRegistrarPalletError (569) */ /** @name PolkadotRuntimeCommonParasRegistrarPalletError (566) */
export interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum { export interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum {
readonly isNotRegistered: boolean; readonly isNotRegistered: boolean;
readonly isAlreadyRegistered: boolean; readonly isAlreadyRegistered: boolean;
@@ -1105,13 +1106,13 @@ declare module '@polkadot/types/lookup' {
readonly isNotReserved: boolean; readonly isNotReserved: boolean;
} }
/** @name PolkadotRuntimeCommonSlotsPalletError (572) */ /** @name PolkadotRuntimeCommonSlotsPalletError (569) */
export interface PolkadotRuntimeCommonSlotsPalletError extends Enum { export interface PolkadotRuntimeCommonSlotsPalletError extends Enum {
readonly isParaNotOnboarding: boolean; readonly isParaNotOnboarding: boolean;
readonly isLeaseError: boolean; readonly isLeaseError: boolean;
} }
/** @name PolkadotRuntimeCommonAuctionsPalletError (577) */ /** @name PolkadotRuntimeCommonAuctionsPalletError (574) */
export interface PolkadotRuntimeCommonAuctionsPalletError extends Enum { export interface PolkadotRuntimeCommonAuctionsPalletError extends Enum {
readonly isAuctionInProgress: boolean; readonly isAuctionInProgress: boolean;
readonly isLeasePeriodInPast: boolean; readonly isLeasePeriodInPast: boolean;
@@ -1122,7 +1123,7 @@ declare module '@polkadot/types/lookup' {
readonly isAlreadyLeasedOut: boolean; readonly isAlreadyLeasedOut: boolean;
} }
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (578) */ /** @name PolkadotRuntimeCommonCrowdloanFundInfo (575) */
export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct { export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
readonly depositor: AccountId32; readonly depositor: AccountId32;
readonly verifier: Option<SpRuntimeMultiSigner>; readonly verifier: Option<SpRuntimeMultiSigner>;
@@ -1136,7 +1137,7 @@ declare module '@polkadot/types/lookup' {
readonly trieIndex: u32; readonly trieIndex: u32;
} }
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (579) */ /** @name PolkadotRuntimeCommonCrowdloanLastContribution (576) */
export interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum { export interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
readonly isNever: boolean; readonly isNever: boolean;
readonly isPreEnding: boolean; readonly isPreEnding: boolean;
@@ -1145,7 +1146,7 @@ declare module '@polkadot/types/lookup' {
readonly asEnding: u32; readonly asEnding: u32;
} }
/** @name PolkadotRuntimeCommonCrowdloanPalletError (580) */ /** @name PolkadotRuntimeCommonCrowdloanPalletError (577) */
export interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum { export interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum {
readonly isFirstPeriodInPast: boolean; readonly isFirstPeriodInPast: boolean;
readonly isFirstPeriodTooFarInFuture: boolean; readonly isFirstPeriodTooFarInFuture: boolean;
@@ -1172,10 +1173,13 @@ declare module '@polkadot/types/lookup' {
readonly isNoLeasePeriod: boolean; readonly isNoLeasePeriod: boolean;
} }
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (591) */ /** @name PalletTransactionPaymentChargeTransactionPayment (587) */
export interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (588) */
export type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null; export type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
/** @name PolkadotRuntimeRuntime (592) */ /** @name PolkadotRuntimeRuntime (589) */
export type PolkadotRuntimeRuntime = Null; export type PolkadotRuntimeRuntime = Null;
} } // declare module
File diff suppressed because it is too large Load Diff
+60 -60
View File
@@ -1,65 +1,65 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */ /* eslint-disable */
import type { BitVec, Bool, Bytes, Data, I128, I16, I256, I32, I64, I8, Json, Null, Raw, StorageKey, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { StatementKind } from '@polkadot/types/interfaces/claims';
import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
import type { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
import type { ContractConstructorSpec, ContractContractSpec, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpec, ContractEventSpec, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpec, ContractMessageSpec, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
import type { EvmAccount, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';
import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset';
import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt';
import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';
import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity';
import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';
import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';
import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersDataTuple, WinningData, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { Approvals } from '@polkadot/types/interfaces/poll';
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo';
import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler';
import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';
import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';
import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';
import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';
import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
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 { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
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' {
import type { BitVec, Bool, Bytes, Data, I128, I16, I256, I32, I64, I8, Json, Null, Raw, StorageKey, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship';
import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeWeight, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe';
import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances';
import type { BeefyCommitment, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefySignedCommitment, MmrRootHash, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
import type { StatementKind } from '@polkadot/types/interfaces/claims';
import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
import type { AliveContractInfo, CodeHash, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
import type { ContractConstructorSpec, ContractContractSpec, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpec, ContractEventSpec, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpec, ContractMessageSpec, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
import type { EvmAccount, EvmLog, EvmVicinity, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';
import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset';
import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt';
import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa';
import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity';
import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';
import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';
import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersDataTuple, WinningData, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { Approvals } from '@polkadot/types/interfaces/poll';
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
import type { AccountId, AccountId20, AccountId32, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeDbWeight, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, StorageData, StorageProof, TransactionInfo, TransactionPriority, TransactionStorageProof, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo';
import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler';
import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session';
import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society';
import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking';
import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state';
import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system';
import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury';
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 { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
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';
export interface InterfaceTypes { export interface InterfaceTypes {
AbridgedCandidateReceipt: AbridgedCandidateReceipt; AbridgedCandidateReceipt: AbridgedCandidateReceipt;
AbridgedHostConfiguration: AbridgedHostConfiguration; AbridgedHostConfiguration: AbridgedHostConfiguration;
@@ -1071,5 +1071,5 @@ declare module '@polkadot/types/types/registry' {
XcmV1: XcmV1; XcmV1: XcmV1;
XcmV2: XcmV2; XcmV2: XcmV2;
XcmVersion: XcmVersion; XcmVersion: XcmVersion;
} } // InterfaceTypes
} } // declare module
+1 -1
View File
@@ -122,7 +122,7 @@ function injectExtrinsics (registry: Registry, { lookup, pallets }: MetadataLate
function extractProperties (registry: Registry, metadata: Metadata): ChainProperties | undefined { function extractProperties (registry: Registry, metadata: Metadata): ChainProperties | undefined {
const original = registry.getChainProperties(); const original = registry.getChainProperties();
const constants = decorateConstants(registry, metadata.asLatest, metadata.version); const constants = decorateConstants(registry, metadata.asLatest, metadata.version);
const ss58Format = constants.system?.ss58Prefix; const ss58Format = constants.system && (constants.system.sS58Prefix || constants.system.ss58Prefix);
if (!ss58Format) { if (!ss58Format) {
return original; return original;
@@ -5,6 +5,7 @@ import rpcMetadata from '@polkadot/types-support/metadata/static-substrate';
import { TypeRegistry } from '../create'; import { TypeRegistry } from '../create';
import { Metadata } from '../metadata'; import { Metadata } from '../metadata';
import { fallbackExtensions } from './signedExtensions';
import { GenericExtrinsic as Extrinsic } from '.'; import { GenericExtrinsic as Extrinsic } from '.';
const registry = new TypeRegistry(); const registry = new TypeRegistry();
@@ -15,6 +16,8 @@ registry.setMetadata(metadata);
describe('Extrinsic', (): void => { describe('Extrinsic', (): void => {
describe('V4', (): void => { describe('V4', (): void => {
it('decodes an actual transaction', (): void => { it('decodes an actual transaction', (): void => {
registry.setSignedExtensions(fallbackExtensions);
const extrinsic = new Extrinsic( const extrinsic = new Extrinsic(
registry, registry,
'0x' + '0x' +
@@ -10,16 +10,17 @@ import { shell } from './shell';
import { statemint } from './statemint'; import { statemint } from './statemint';
import { substrate } from './substrate'; import { substrate } from './substrate';
// A mapping of the known signed extensions to the extra fields that they contain. Unlike in the actual extensions, // A mapping of the known signed extensions to the extra fields that they
// we define the extra fields not as a Tuple, but rather as a struct so they can be named. These will be expanded // contain. Unlike in the actual extensions, we define the extra fields not
// into the various fields when added to the payload (we only support V4 onwards with these, V3 and earlier are // as a Tuple, but rather as a struct so they can be named. These will be
// deemed fixed and non-changeable) // expanded into the various fields when added to the payload (we only
// support V4 onwards with these, V3 and earlier are deemed fixed))
export const allExtensions: ExtDef = objectSpread({}, substrate, polkadot, shell, statemint); export const allExtensions: ExtDef = objectSpread({}, substrate, polkadot, shell, statemint);
// the v4 signed extensions prior to the point of exposing these to the metadata. // the v4 signed extensions prior to the point of exposing these to the
// This may not match 100% with the current defaults and are used when not specified // metadata. This may not match 100% with the current defaults and are used
// in the metadata (which is for very old chains). The order is important here, as // when not specified in the metadata (which is for very old chains). The
// applied by default // order is important here, as applied by default
export const fallbackExtensions = [ export const fallbackExtensions = [
'CheckVersion', 'CheckVersion',
'CheckGenesis', 'CheckGenesis',
@@ -39,7 +40,7 @@ export function findUnknownExtensions (extensions: string[], userExtensions: Ext
export function expandExtensionTypes (extensions: string[], type: keyof ExtInfo, userExtensions: ExtDef = {}): ExtTypes { export function expandExtensionTypes (extensions: string[], type: keyof ExtInfo, userExtensions: ExtDef = {}): ExtTypes {
return extensions return extensions
// Always allow user extensions first - these should provide overrides // Always allow user extensions first - these should provide overrides
.map((key) => userExtensions[key] || allExtensions[key]) .map((k) => userExtensions[k] || allExtensions[k])
.filter((info): info is ExtInfo => !!info) .filter((info): info is ExtInfo => !!info)
.reduce((result, info): ExtTypes => objectSpread(result, info[type]), {}); .reduce((result, info): ExtTypes => objectSpread(result, info[type]), {});
} }
@@ -67,9 +67,9 @@ describe('ExtrinsicV4', (): void => {
'00' + '00' +
'd172a74cda4c865912c32ba0a80a57ae69abae410e5ccb59dee84e2f4432db4f' + 'd172a74cda4c865912c32ba0a80a57ae69abae410e5ccb59dee84e2f4432db4f' +
'00' + // ed25519 '00' + // ed25519
'ab31e8dbdbf37398f9a42cfe473e17f6e2e05d8d7a1612513fa73f5f6ad3bfdb' + 'eb58b10100923b73df92010db6f9363300ea3947d4c7c92ce669da93931853e8' +
'adbabd920d033ad48999d9dc6a07e3e7ffb9a503128c94bf4fd97aeb4523f90e' + 'a2f21c8a7c73035b3ddd8cdd47ef5db3092aad09d15e6f5ed9d32d7864821409' +
'000408' + // era. nonce, tip '00040800' + // era. nonce, tip
'0600' + '0600' +
'00' + '00' +
'd7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9' + 'd7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9' +
@@ -20,8 +20,8 @@ import { sign } from '../util';
/** /**
* @name GenericExtrinsicPayloadV4 * @name GenericExtrinsicPayloadV4
* @description * @description
* A signing payload for an [[Extrinsic]]. For the final encoding, it is variable length based * A signing payload for an [[Extrinsic]]. For the final encoding, it is
* on the contents included * variable length based on the contents included
*/ */
export class GenericExtrinsicPayloadV4 extends Struct { export class GenericExtrinsicPayloadV4 extends Struct {
#signOptions: SignOptions; #signOptions: SignOptions;
@@ -33,8 +33,9 @@ export class GenericExtrinsicPayloadV4 extends Struct {
registry.getSignedExtensionExtra() registry.getSignedExtensionExtra()
), value); ), value);
// Do detection for the type of extrinsic, in the case of MultiSignature this is an // Do detection for the type of extrinsic, in the case of MultiSignature
// enum, in the case of AnySignature, this is a Hash only (may be 64 or 65 bytes) // this is an enum, in the case of AnySignature, this is a Hash only
// (which may be 64 or 65 bytes)
this.#signOptions = { this.#signOptions = {
withType: registry.createType('ExtrinsicSignature') instanceof Enum withType: registry.createType('ExtrinsicSignature') instanceof Enum
}; };
@@ -108,10 +109,11 @@ export class GenericExtrinsicPayloadV4 extends Struct {
* @description Sign the payload with the keypair * @description Sign the payload with the keypair
*/ */
public sign (signerPair: IKeyringPair): Uint8Array { public sign (signerPair: IKeyringPair): Uint8Array {
// NOTE The `toU8a({ method: true })` argument is absolutely critical - we don't want the method (Bytes) // NOTE The `toU8a({ method: true })` argument is absolutely critical, we
// to have the length prefix included. This means that the data-as-signed is un-decodable, // don't want the method (Bytes) to have the length prefix included. This
// but is also doesn't need the extra information, only the pure data (and is not decoded) // means that the data-as-signed is un-decodable, but is also doesn't need
// ... The same applies to V1..V3, if we have a V5, carry move this comment to latest // the extra information, only the pure data (and is not decoded) ...
// The same applies to V1..V3, if we have a V5, carrythis comment
return sign(this.registry, signerPair, this.toU8a({ method: true }), this.#signOptions); return sign(this.registry, signerPair, this.toU8a({ method: true }), this.#signOptions);
} }
} }
@@ -70,7 +70,7 @@ describe('ExtrinsicSignatureV4', (): void => {
'01' + '01' +
'0101010101010101010101010101010101010101010101010101010101010101' + '0101010101010101010101010101010101010101010101010101010101010101' +
'0101010101010101010101010101010101010101010101010101010101010101' + '0101010101010101010101010101010101010101010101010101010101010101' +
'00a50100' '00a5010000'
); );
}); });
@@ -97,7 +97,7 @@ describe('ExtrinsicSignatureV4', (): void => {
// This is a prefix-less signature, anySignture as opposed to Multi above // This is a prefix-less signature, anySignture as opposed to Multi above
'0101010101010101010101010101010101010101010101010101010101010101' + '0101010101010101010101010101010101010101010101010101010101010101' +
'0101010101010101010101010101010101010101010101010101010101010101' + '0101010101010101010101010101010101010101010101010101010101010101' +
'00a50100' '00a5010000'
); );
}); });
@@ -125,7 +125,7 @@ describe('ExtrinsicSignatureV4', (): void => {
'01' + '01' +
'0101010101010101010101010101010101010101010101010101010101010101' + '0101010101010101010101010101010101010101010101010101010101010101' +
'0101010101010101010101010101010101010101010101010101010101010101' + '0101010101010101010101010101010101010101010101010101010101010101' +
'00a50100' '00a5010000'
); );
}); });
@@ -148,7 +148,7 @@ describe('ExtrinsicSignatureV4', (): void => {
'01' + '01' +
'0101010101010101010101010101010101010101010101010101010101010101' + '0101010101010101010101010101010101010101010101010101010101010101' +
'0101010101010101010101010101010101010101010101010101010101010101' + '0101010101010101010101010101010101010101010101010101010101010101' +
'000000' '00000000'
); );
}); });
}); });
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { Bytes, Compact, Struct, bool, u32, u64, u8 } from '@polkadot/types'; import type { Bytes, Compact, Struct, bool, u32, u64, u8 } from '@polkadot/types';
import type { AccountId, BalanceOf } from '@polkadot/types/interfaces/runtime'; import type { AccountId, BalanceOf } from '@polkadot/types/interfaces/runtime';
/** @name AssetApproval */ /** @name AssetApproval */
export interface AssetApproval extends Struct { export interface AssetApproval extends Struct {
@@ -2,9 +2,9 @@
/* eslint-disable */ /* eslint-disable */
import type { Struct, Vec } from '@polkadot/types'; import type { Struct, Vec } from '@polkadot/types';
import type { CandidateReceipt, ParaId } from '@polkadot/types/interfaces/parachains'; import type { CandidateReceipt, ParaId } from '@polkadot/types/interfaces/parachains';
import type { AccountId, BlockNumber, H256, Hash } from '@polkadot/types/interfaces/runtime'; import type { AccountId, BlockNumber, H256, Hash } from '@polkadot/types/interfaces/runtime';
import type { SessionIndex } from '@polkadot/types/interfaces/session'; import type { SessionIndex } from '@polkadot/types/interfaces/session';
/** @name BlockAttestations */ /** @name BlockAttestations */
export interface BlockAttestations extends Struct { export interface BlockAttestations extends Struct {
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { Bytes, Enum, Text, Vec } from '@polkadot/types'; import type { Bytes, Enum, Text, Vec } from '@polkadot/types';
import type { Hash } from '@polkadot/types/interfaces/runtime'; import type { Hash } from '@polkadot/types/interfaces/runtime';
/** @name ExtrinsicOrHash */ /** @name ExtrinsicOrHash */
export interface ExtrinsicOrHash extends Enum { export interface ExtrinsicOrHash extends Enum {
@@ -2,8 +2,8 @@
/* eslint-disable */ /* eslint-disable */
import type { Enum, Option } from '@polkadot/types'; import type { Enum, Option } from '@polkadot/types';
import type { AccountId, BlockNumber, Hash } from '@polkadot/types/interfaces/runtime'; import type { AccountId, BlockNumber, Hash } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types'; import type { ITuple } from '@polkadot/types/types';
/** @name UncleEntryItem */ /** @name UncleEntryItem */
export interface UncleEntryItem extends Enum { export interface UncleEntryItem extends Enum {
+6 -6
View File
@@ -2,15 +2,15 @@
/* eslint-disable */ /* eslint-disable */
import type { Enum, Option, Struct, U8aFixed, Vec, u32, u64 } from '@polkadot/types'; import type { Enum, Option, Struct, U8aFixed, Vec, u32, u64 } from '@polkadot/types';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
import type { Hash, Header } from '@polkadot/types/interfaces/runtime'; import type { Hash, Header } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types'; import type { ITuple } from '@polkadot/types/types';
/** @name AllowedSlots */ /** @name AllowedSlots */
export interface AllowedSlots extends Enum { export interface AllowedSlots extends Enum {
readonly isPrimarySlots: boolean; readonly isPrimarySlots: boolean;
readonly isPrimaryAndSecondaryPlainSlots: boolean; readonly isPrimaryAndSecondaryPlainSlots: boolean;
readonly isPrimaryAndSecondaryVrfSlots: boolean; readonly isPrimaryAndSecondaryVRFSlots: boolean;
} }
/** @name BabeAuthorityWeight */ /** @name BabeAuthorityWeight */
@@ -72,8 +72,8 @@ export interface RawBabePreDigest extends Enum {
readonly asPrimary: RawBabePreDigestPrimary; readonly asPrimary: RawBabePreDigestPrimary;
readonly isSecondaryPlain: boolean; readonly isSecondaryPlain: boolean;
readonly asSecondaryPlain: RawBabePreDigestSecondaryPlain; readonly asSecondaryPlain: RawBabePreDigestSecondaryPlain;
readonly isSecondaryVrf: boolean; readonly isSecondaryVRF: boolean;
readonly asSecondaryVrf: RawBabePreDigestSecondaryVRF; readonly asSecondaryVRF: RawBabePreDigestSecondaryVRF;
} }
/** @name RawBabePreDigestCompat */ /** @name RawBabePreDigestCompat */
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { Enum, Set, Struct, U8aFixed } from '@polkadot/types'; import type { Enum, Set, Struct, U8aFixed } from '@polkadot/types';
import type { Balance, BlockNumber, LockIdentifier } from '@polkadot/types/interfaces/runtime'; import type { Balance, BlockNumber, LockIdentifier } from '@polkadot/types/interfaces/runtime';
/** @name AccountData */ /** @name AccountData */
export interface AccountData extends Struct { export interface AccountData extends Struct {
+2 -2
View File
@@ -2,8 +2,8 @@
/* eslint-disable */ /* eslint-disable */
import type { Option, Struct, U8aFixed, Vec, u32, u64 } from '@polkadot/types'; import type { Option, Struct, U8aFixed, Vec, u32, u64 } from '@polkadot/types';
import type { EcdsaSignature } from '@polkadot/types/interfaces/extrinsics'; import type { EcdsaSignature } from '@polkadot/types/interfaces/extrinsics';
import type { BlockNumber, H256 } from '@polkadot/types/interfaces/runtime'; import type { BlockNumber, H256 } from '@polkadot/types/interfaces/runtime';
/** @name BeefyCommitment */ /** @name BeefyCommitment */
export interface BeefyCommitment extends Struct { export interface BeefyCommitment extends Struct {
@@ -2,11 +2,11 @@
/* eslint-disable */ /* eslint-disable */
import type { BitVec, Bytes, Enum, Null, Struct, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types'; import type { BitVec, Bytes, Enum, Null, Struct, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types';
import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { MultiSignature } from '@polkadot/types/interfaces/extrinsics'; import type { MultiSignature } from '@polkadot/types/interfaces/extrinsics';
import type { AuthorityList, SetId } from '@polkadot/types/interfaces/grandpa'; import type { AuthorityList, SetId } from '@polkadot/types/interfaces/grandpa';
import type { AccountId, Balance, BlockNumber, H256, Header, MultiSigner, Weight } from '@polkadot/types/interfaces/runtime'; import type { AccountId, Balance, BlockNumber, H256, Header, MultiSigner, Weight } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types'; import type { ITuple } from '@polkadot/types/types';
/** @name BridgedBlockHash */ /** @name BridgedBlockHash */
export interface BridgedBlockHash extends H256 {} export interface BridgedBlockHash extends H256 {}
@@ -2,8 +2,8 @@
/* eslint-disable */ /* eslint-disable */
import type { Enum, Struct, Vec, u32 } from '@polkadot/types'; import type { Enum, Struct, Vec, u32 } from '@polkadot/types';
import type { AccountId, BlockNumber } from '@polkadot/types/interfaces/runtime'; import type { AccountId, BlockNumber } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types'; import type { ITuple } from '@polkadot/types/types';
/** @name CollectiveOrigin */ /** @name CollectiveOrigin */
export interface CollectiveOrigin extends Enum { export interface CollectiveOrigin extends Enum {
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { U8aFixed } from '@polkadot/types'; import type { U8aFixed } from '@polkadot/types';
import type { AccountId } from '@polkadot/types/interfaces/runtime'; import type { AccountId } from '@polkadot/types/interfaces/runtime';
/** @name AuthorityId */ /** @name AuthorityId */
export interface AuthorityId extends AccountId {} export interface AuthorityId extends AccountId {}
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { Bytes, Compact, Enum, Null, Option, Raw, Struct, Text, U8aFixed, bool, u32, u64, u8 } from '@polkadot/types'; import type { Bytes, Compact, Enum, Null, Option, Raw, Struct, Text, U8aFixed, bool, u32, u64, u8 } from '@polkadot/types';
import type { AccountId, Balance, BlockNumber, Hash, Weight } from '@polkadot/types/interfaces/runtime'; import type { AccountId, Balance, BlockNumber, Hash, Weight } from '@polkadot/types/interfaces/runtime';
/** @name AliveContractInfo */ /** @name AliveContractInfo */
export interface AliveContractInfo extends Struct { export interface AliveContractInfo extends Struct {
@@ -2,9 +2,9 @@
/* eslint-disable */ /* eslint-disable */
import type { BTreeMap, Bytes, Enum, Option, Raw, Struct, Text, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types'; import type { BTreeMap, Bytes, Enum, Option, Raw, Struct, Text, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types';
import type { PortableType } from '@polkadot/types/interfaces/metadata'; import type { PortableType } from '@polkadot/types/interfaces/metadata';
import type { Si0Type, SiLookupTypeId, SiPath } from '@polkadot/types/interfaces/scaleInfo'; import type { Si0Type, SiLookupTypeId, SiPath } from '@polkadot/types/interfaces/scaleInfo';
import type { ITuple } from '@polkadot/types/types'; import type { ITuple } from '@polkadot/types/types';
/** @name ContractConstructorSpec */ /** @name ContractConstructorSpec */
export interface ContractConstructorSpec extends Struct { export interface ContractConstructorSpec extends Struct {
@@ -24,8 +24,8 @@ export interface ContractContractSpec extends Struct {
/** @name ContractCryptoHasher */ /** @name ContractCryptoHasher */
export interface ContractCryptoHasher extends Enum { export interface ContractCryptoHasher extends Enum {
readonly isBlake2X256: boolean; readonly isBlake2x256: boolean;
readonly isSha2X256: boolean; readonly isSha2x256: boolean;
readonly isKeccak256: boolean; readonly isKeccak256: boolean;
} }
@@ -2,8 +2,8 @@
/* eslint-disable */ /* eslint-disable */
import type { Enum, Option, Struct, u32 } from '@polkadot/types'; import type { Enum, Option, Struct, u32 } from '@polkadot/types';
import type { LeasePeriod } from '@polkadot/types/interfaces/parachains'; import type { LeasePeriod } from '@polkadot/types/interfaces/parachains';
import type { AccountId, Balance, BlockNumber, MultiSigner } from '@polkadot/types/interfaces/runtime'; import type { AccountId, Balance, BlockNumber, MultiSigner } from '@polkadot/types/interfaces/runtime';
/** @name FundIndex */ /** @name FundIndex */
export interface FundIndex extends u32 {} export interface FundIndex extends u32 {}
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { Struct, U8aFixed, u32, u64 } from '@polkadot/types'; import type { Struct, U8aFixed, u32, u64 } from '@polkadot/types';
import type { Weight } from '@polkadot/types/interfaces/runtime'; import type { Weight } from '@polkadot/types/interfaces/runtime';
/** @name ConfigData */ /** @name ConfigData */
export interface ConfigData extends Struct { export interface ConfigData extends Struct {
@@ -2,9 +2,9 @@
/* eslint-disable */ /* eslint-disable */
import type { Bytes, Enum, Option, Struct, Vec, bool, u32 } from '@polkadot/types'; import type { Bytes, Enum, Option, Struct, Vec, bool, u32 } from '@polkadot/types';
import type { Vote, VoteThreshold } from '@polkadot/types/interfaces/elections'; import type { Vote, VoteThreshold } from '@polkadot/types/interfaces/elections';
import type { AccountId, Balance, BlockNumber, Call, Hash } from '@polkadot/types/interfaces/runtime'; import type { AccountId, Balance, BlockNumber, Call, Hash } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types'; import type { ITuple } from '@polkadot/types/types';
/** @name AccountVote */ /** @name AccountVote */
export interface AccountVote extends Enum { export interface AccountVote extends Enum {
@@ -29,12 +29,12 @@ export interface AccountVoteStandard extends Struct {
/** @name Conviction */ /** @name Conviction */
export interface Conviction extends Enum { export interface Conviction extends Enum {
readonly isNone: boolean; readonly isNone: boolean;
readonly isLocked1X: boolean; readonly isLocked1x: boolean;
readonly isLocked2X: boolean; readonly isLocked2x: boolean;
readonly isLocked3X: boolean; readonly isLocked3x: boolean;
readonly isLocked4X: boolean; readonly isLocked4x: boolean;
readonly isLocked5X: boolean; readonly isLocked5x: boolean;
readonly isLocked6X: boolean; readonly isLocked6x: boolean;
} }
/** @name Delegations */ /** @name Delegations */
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { Compact, Enum, GenericVote, Struct, u32 } from '@polkadot/types'; import type { Compact, Enum, GenericVote, Struct, u32 } from '@polkadot/types';
import type { AccountId, Balance } from '@polkadot/types/interfaces/runtime'; import type { AccountId, Balance } from '@polkadot/types/interfaces/runtime';
/** @name ApprovalFlag */ /** @name ApprovalFlag */
export interface ApprovalFlag extends u32 {} export interface ApprovalFlag extends u32 {}
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { Struct, bool } from '@polkadot/types'; import type { Struct, bool } from '@polkadot/types';
import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { BlockHash } from '@polkadot/types/interfaces/chain';
/** @name CreatedBlock */ /** @name CreatedBlock */
export interface CreatedBlock extends Struct { export interface CreatedBlock extends Struct {

Some files were not shown because too many files have changed in this diff Show More