Compare commits

...
18 Commits
Author SHA1 Message Date
github-actions[bot] dfe4bb32f0 [CI Skip] release/stable 6.11.1
skip-checks: true
2021-12-05 18:52:48 +00:00
Jaco b81c73b6ec 6.11.1 (#4288) 2021-12-05 20:45:20 +02:00
github-actions[bot] 9bb2549d0b [CI Skip] release/beta 6.10.4-4
skip-checks: true
2021-12-05 12:09:16 +00:00
Jaco ab90f8bd41 Bump metadata (#4286)
* Bump metadata

* Kusama & Polkadot

* Build interfaces

* Build json
2021-12-05 13:59:55 +02:00
github-actions[bot] 221712753f [CI Skip] release/beta 6.10.4-3
skip-checks: true
2021-12-05 11:49:23 +00:00
Jaco ed28a990af Bump common (#4285)
* Bump common

* 8.1.2
2021-12-05 13:40:10 +02:00
github-actions[bot] 055f32d1d9 [CI Skip] release/beta 6.10.4-2
skip-checks: true
2021-12-01 08:57:36 +00:00
Jaco a175ce87d7 Adjust cron (#4278) 2021-12-01 10:49:08 +02:00
github-actions[bot] f0f1714b12 [CI Skip] release/beta 6.10.4-1
skip-checks: true
2021-12-01 08:06:03 +00:00
Jaco 3778bd893b Add extra param to state_traceBlock (#4276)
* Add extra param to state_traceBlock

* CHANGELOG
2021-12-01 09:57:56 +02:00
github-actions[bot] d4436e19fa [CI Skip] release/beta 6.10.4-0
skip-checks: true
2021-12-01 07:48:35 +00:00
Jaco 4cf93fd4c0 Bump common (#4277) 2021-12-01 09:41:33 +02:00
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
132 changed files with 18706 additions and 10969 deletions
+3 -1
View File
@@ -43,4 +43,6 @@
6.4.2
6.5.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:
schedule:
- cron: '10 1 * * *'
- cron: '10 1/3 * * *'
jobs:
lock:
+1 -1
View File
@@ -1,7 +1,7 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '55 1 * * *'
- cron: '55 1/3 * * *'
jobs:
stale:
+29
View File
@@ -1,5 +1,34 @@
# CHANGELOG
## 6.11.1 Dec 5, 2021
Upgrade priority: Low. Maintenance upgrade, tacking the latest `@polkadot` libraries.
Changes:
- Align `state_traceBlock` RPC with Substrate
- Bump static metadata for latest Substrate, Polkadot & Kusama
## 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.
+3 -3
View File
@@ -11,7 +11,7 @@
},
"sideEffects": false,
"type": "commonjs",
"version": "6.10.1",
"version": "6.11.1",
"workspaces": [
"packages/*"
],
@@ -34,8 +34,8 @@
"@babel/core": "^7.16.0",
"@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.3",
"@polkadot/dev": "^0.63.33",
"@polkadot/ts": "^0.4.15",
"@polkadot/dev": "^0.63.35",
"@polkadot/ts": "^0.4.16",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^27.0.3",
"copyfiles": "^2.4.1"
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/api": "6.10.1",
"@polkadot/types": "6.10.1",
"@polkadot/util": "^8.0.2",
"@polkadot/api": "6.11.1",
"@polkadot/types": "6.11.1",
"@polkadot/util": "^8.1.2",
"rxjs": "^7.4.0"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api-contract', version: '6.10.1' };
export const packageInfo = { name: '@polkadot/api-contract', version: '6.11.1' };
+8 -8
View File
@@ -20,19 +20,19 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/api": "6.10.1",
"@polkadot/rpc-core": "6.10.1",
"@polkadot/types": "6.10.1",
"@polkadot/util": "^8.0.2",
"@polkadot/util-crypto": "^8.0.2",
"@polkadot/api": "6.11.1",
"@polkadot/rpc-core": "6.11.1",
"@polkadot/types": "6.11.1",
"@polkadot/util": "^8.1.2",
"@polkadot/util-crypto": "^8.1.2",
"rxjs": "^7.4.0"
},
"devDependencies": {
"@polkadot/keyring": "^8.0.2",
"@polkadot/rpc-provider": "6.10.1"
"@polkadot/keyring": "^8.1.2",
"@polkadot/rpc-provider": "6.11.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api-derive', version: '6.10.1' };
export const packageInfo = { name: '@polkadot/api-derive', version: '6.11.1' };
+9 -9
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/api-derive": "6.10.1",
"@polkadot/keyring": "^8.0.2",
"@polkadot/rpc-core": "6.10.1",
"@polkadot/rpc-provider": "6.10.1",
"@polkadot/types": "6.10.1",
"@polkadot/types-known": "6.10.1",
"@polkadot/util": "^8.0.2",
"@polkadot/util-crypto": "^8.0.2",
"@polkadot/api-derive": "6.11.1",
"@polkadot/keyring": "^8.1.2",
"@polkadot/rpc-core": "6.11.1",
"@polkadot/rpc-provider": "6.11.1",
"@polkadot/types": "6.11.1",
"@polkadot/types-known": "6.11.1",
"@polkadot/util": "^8.1.2",
"@polkadot/util-crypto": "^8.1.2",
"eventemitter3": "^4.0.7",
"rxjs": "^7.4.0"
}
+17 -12
View File
@@ -1,14 +1,14 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* 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' {
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: {
/**
* The amount of funds that must be reserved when creating a new approval.
@@ -171,6 +171,8 @@ declare module '@polkadot/api/types/consts' {
dataDepositPerByte: u128 & AugmentedConst<ApiType>;
/**
* Maximum acceptable reason length.
*
* Benchmarks depend on this value, be sure to update weights file when changing this value
**/
maximumReasonLength: u32 & AugmentedConst<ApiType>;
/**
@@ -181,7 +183,7 @@ declare module '@polkadot/api/types/consts' {
contracts: {
/**
* The deposit that must be placed into the contract's account to instantiate it.
* This is in **addition** to the [`pallet_balances::Pallet::ExistenialDeposit`].
* This is in **addition** to the [`Currency::minimum_balance`].
* The minimum balance for a contract's account can be queried using
* [`Pallet::subsistence_threshold`].
**/
@@ -741,7 +743,7 @@ declare module '@polkadot/api/types/consts' {
* that the runtime should know about the prefix in order to make use of it as
* an identifier of the chain.
**/
sS58Prefix: u16 & AugmentedConst<ApiType>;
ss58Prefix: u16 & AugmentedConst<ApiType>;
/**
* Get the chain's current version.
**/
@@ -771,6 +773,8 @@ declare module '@polkadot/api/types/consts' {
dataDepositPerByte: u128 & AugmentedConst<ApiType>;
/**
* Maximum acceptable reason length.
*
* Benchmarks depend on this value, be sure to update weights file when changing this value
**/
maximumReasonLength: u32 & AugmentedConst<ApiType>;
/**
@@ -919,9 +923,10 @@ declare module '@polkadot/api/types/consts' {
**/
[key: string]: Codec;
};
}
} // AugmentedConsts
export interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> {
[key: string]: QueryableModuleConsts;
}
}
} // QueryableConsts
} // declare module
+11 -6
View File
@@ -1,10 +1,10 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
import type { ApiTypes } from '@polkadot/api/types';
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: {
/**
* Invalid metadata given.
@@ -1151,6 +1151,10 @@ declare module '@polkadot/api/types/errors' {
* The user has enough bond and thus cannot be chilled forcefully by an external person.
**/
CannotChillOther: AugmentedError<ApiType>;
/**
* Commission is too low. Must be at least `MinCommission`.
**/
CommissionTooLow: AugmentedError<ApiType>;
/**
* Duplicate index.
**/
@@ -1521,9 +1525,10 @@ declare module '@polkadot/api/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
}
} // AugmentedErrors
export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
[key: string]: ModuleErrors<ApiType>;
}
}
} // DecoratedErrors
} // declare module
+49 -42
View File
@@ -1,14 +1,14 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* 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' {
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, PalletDemocracyVoteAccountVote, 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: {
/**
* An approval for account `delegate` was cancelled by `owner`.
@@ -306,6 +306,10 @@ declare module '@polkadot/api/types/events' {
* A motion has been proposed by a public account.
**/
Proposed: AugmentedEvent<ApiType, [u32, u128]>;
/**
* An account has secconded a proposal
**/
Seconded: AugmentedEvent<ApiType, [AccountId32, u32]>;
/**
* A referendum has begun.
**/
@@ -322,6 +326,10 @@ declare module '@polkadot/api/types/events' {
* An external proposal has been vetoed.
**/
Vetoed: AugmentedEvent<ApiType, [AccountId32, H256, u32]>;
/**
* An account has voted in a referendum
**/
Voted: AugmentedEvent<ApiType, [AccountId32, u32, PalletDemocracyVoteAccountVote]>;
/**
* Generic event
**/
@@ -640,15 +648,15 @@ declare module '@polkadot/api/types/events' {
};
scheduler: {
/**
* Canceled some task. \[when, index\]
* Canceled some task.
**/
Canceled: AugmentedEvent<ApiType, [u32, u32]>;
/**
* Dispatched some task. \[task, id, result\]
* Dispatched some task.
**/
Dispatched: AugmentedEvent<ApiType, [ITuple<[u32, u32]>, Option<Bytes>, Result<Null, SpRuntimeDispatchError>]>;
/**
* Scheduled some task. \[when, index\]
* Scheduled some task.
**/
Scheduled: AugmentedEvent<ApiType, [u32, u32]>;
/**
@@ -669,41 +677,41 @@ declare module '@polkadot/api/types/events' {
};
society: {
/**
* A \[candidate\] was dropped (due to an excess of bids in the system).
* A candidate was dropped (due to an excess of bids in the system).
**/
AutoUnbid: AugmentedEvent<ApiType, [AccountId32]>;
/**
* A membership bid just happened. The given account is the candidate's ID and their offer
* is the second. \[candidate_id, offer\]
* is the second.
**/
Bid: AugmentedEvent<ApiType, [AccountId32, u128]>;
/**
* A \[candidate\] has been suspended
* A candidate has been suspended
**/
CandidateSuspended: AugmentedEvent<ApiType, [AccountId32]>;
/**
* A \[member\] has been challenged
* A member has been challenged
**/
Challenged: AugmentedEvent<ApiType, [AccountId32]>;
/**
* A vote has been placed for a defending member \[voter, vote\]
* A vote has been placed for a defending member
**/
DefenderVote: AugmentedEvent<ApiType, [AccountId32, bool]>;
/**
* Some funds were deposited into the society account. \[value\]
* Some funds were deposited into the society account.
**/
Deposit: AugmentedEvent<ApiType, [u128]>;
/**
* The society is founded by the given identity. \[founder\]
* The society is founded by the given identity.
**/
Founded: AugmentedEvent<ApiType, [AccountId32]>;
/**
* A group of candidates have been inducted. The batch's primary is the first value, the
* batch in full is the second. \[primary, candidates\]
* batch in full is the second.
**/
Inducted: AugmentedEvent<ApiType, [AccountId32, Vec<AccountId32>]>;
/**
* A \[member\] has been suspended
* A member has been suspended
**/
MemberSuspended: AugmentedEvent<ApiType, [AccountId32]>;
/**
@@ -711,29 +719,28 @@ declare module '@polkadot/api/types/events' {
**/
NewMaxMembers: AugmentedEvent<ApiType, [u32]>;
/**
* A suspended member has been judged. \[who, judged\]
* A suspended member has been judged.
**/
SuspendedMemberJudgement: AugmentedEvent<ApiType, [AccountId32, bool]>;
/**
* A \[candidate\] was dropped (by their request).
* A candidate was dropped (by their request).
**/
Unbid: AugmentedEvent<ApiType, [AccountId32]>;
/**
* Society is unfounded. \[founder\]
* Society is unfounded.
**/
Unfounded: AugmentedEvent<ApiType, [AccountId32]>;
/**
* A \[candidate\] was dropped (by request of who vouched for them).
* A candidate was dropped (by request of who vouched for them).
**/
Unvouch: AugmentedEvent<ApiType, [AccountId32]>;
/**
* A vote has been placed \[candidate, voter, vote\]
* A vote has been placed
**/
Vote: AugmentedEvent<ApiType, [AccountId32, AccountId32, bool]>;
/**
* A membership bid just happened by vouching. The given account is the candidate's ID and
* their offer is the second. The vouching party is the third. \[candidate_id, offer,
* vouching\]
* their offer is the second. The vouching party is the third.
**/
Vouch: AugmentedEvent<ApiType, [AccountId32, u128, AccountId32]>;
/**
@@ -828,23 +835,23 @@ declare module '@polkadot/api/types/events' {
**/
CodeUpdated: AugmentedEvent<ApiType, []>;
/**
* An extrinsic failed. \[error, info\]
* An extrinsic failed.
**/
ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;
/**
* An extrinsic completed successfully. \[info\]
* An extrinsic completed successfully.
**/
ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;
/**
* An \[account\] was reaped.
* An account was reaped.
**/
KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;
/**
* A new \[account\] was created.
* A new account was created.
**/
NewAccount: AugmentedEvent<ApiType, [AccountId32]>;
/**
* On on-chain remark happened. \[origin, remark_hash\]
* On on-chain remark happened.
**/
Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;
/**
@@ -964,32 +971,31 @@ declare module '@polkadot/api/types/events' {
};
treasury: {
/**
* Some funds have been allocated. \[proposal_index, award, beneficiary\]
* Some funds have been allocated.
**/
Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;
/**
* Some of our funds have been burnt. \[burn\]
* Some of our funds have been burnt.
**/
Burnt: AugmentedEvent<ApiType, [u128]>;
/**
* Some funds have been deposited. \[deposit\]
* Some funds have been deposited.
**/
Deposit: AugmentedEvent<ApiType, [u128]>;
/**
* New proposal. \[proposal_index\]
* New proposal.
**/
Proposed: AugmentedEvent<ApiType, [u32]>;
/**
* A proposal was rejected; funds were slashed. \[proposal_index, slashed\]
* A proposal was rejected; funds were slashed.
**/
Rejected: AugmentedEvent<ApiType, [u32, u128]>;
/**
* Spending has finished; this is the amount that rolls over until next spend.
* \[budget_remaining\]
**/
Rollover: AugmentedEvent<ApiType, [u128]>;
/**
* We have ended a spend period and will now allocate funds. \[budget_remaining\]
* We have ended a spend period and will now allocate funds.
**/
Spending: AugmentedEvent<ApiType, [u128]>;
/**
@@ -1104,7 +1110,7 @@ declare module '@polkadot/api/types/events' {
**/
BatchInterrupted: AugmentedEvent<ApiType, [u32, SpRuntimeDispatchError]>;
/**
* A call was dispatched. \[result\]
* A call was dispatched.
**/
DispatchedAs: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
/**
@@ -1131,9 +1137,10 @@ declare module '@polkadot/api/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
}
} // AugmentedEvents
export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {
[key: string]: ModuleEvents<ApiType>;
}
}
} // DecoratedEvents
} // declare module
+17 -10
View File
@@ -1,14 +1,14 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* 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' {
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: {
/**
* The number of units of assets held by any given account.
@@ -1049,6 +1049,12 @@ declare module '@polkadot/api/types/storage' {
* When this value is not set, no limits are enforced.
**/
maxValidatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The minimum amount of commission that validators can set.
*
* If set to `0`, no limit exists.
**/
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Minimum number of staking participants before emergency conditions are imposed.
**/
@@ -1414,9 +1420,10 @@ declare module '@polkadot/api/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
}
} // AugmentedQueries
export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {
[key: string]: QueryableModuleStorage<ApiType>;
}
}
} // QueryableStorage
} // declare module
+26 -24
View File
@@ -1,28 +1,29 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* 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' {
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 {
author: {
/**
@@ -460,7 +461,7 @@ declare module '@polkadot/rpc-core/types.jsonrpc' {
/**
* Provides a way to trace the re-execution of a single block
**/
traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>;
traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>;
};
syncstate: {
/**
@@ -556,5 +557,6 @@ declare module '@polkadot/rpc-core/types.jsonrpc' {
**/
sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable<H256>>;
};
}
}
} // RpcInterface
} // declare module
+18 -95
View File
@@ -1,15 +1,15 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* 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, SpFinalityGrandpaEquivocationProof, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
import type { AnyNumber, ITuple } from '@polkadot/types/types';
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: {
/**
* Approve an amount of asset for transfer by a delegated third-party account.
@@ -504,16 +504,6 @@ declare module '@polkadot/api/types/submittable' {
* it will reset the account nonce (`frame_system::AccountNonce`).
*
* The dispatch origin for this call is `root`.
*
* # <weight>
* - Independent of the arguments.
* - Contains a limited number of reads and writes.
* ---------------------
* - Base Weight:
* - Creating: 27.56 µs
* - Killing: 35.11 µs
* - DB Weight: 1 Read, 1 Write to `who`
* # </weight>
**/
setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;
/**
@@ -541,8 +531,6 @@ declare module '@polkadot/api/types/submittable' {
* - `transfer_keep_alive` works the same way as `transfer`, but has an additional check
* that the transfer will not kill the origin account.
* ---------------------------------
* - Base Weight: 73.64 µs, worst case scenario (account created, account removed)
* - DB Weight: 1 Read and 1 Write to destination account
* - Origin account is already in memory, so no DB operations for them.
* # </weight>
**/
@@ -574,11 +562,6 @@ declare module '@polkadot/api/types/submittable' {
* 99% of the time you want [`transfer`] instead.
*
* [`transfer`]: struct.Pallet.html#method.transfer
* # <weight>
* - Cheaper than transfer because account cannot be killed.
* - Base Weight: 51.4 µs
* - DB Weight: 1 Read and 1 Write to dest (sender is in overlay already)
* #</weight>
**/
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
/**
@@ -2500,41 +2483,14 @@ declare module '@polkadot/api/types/submittable' {
scheduler: {
/**
* Cancel an anonymously scheduled task.
*
* # <weight>
* - S = Number of already scheduled calls
* - Base Weight: 22.15 + 2.869 * S µs
* - DB Weight:
* - Read: Agenda
* - Write: Agenda, Lookup
* - Will use base weight of 100 which should be good for up to 30 scheduled calls
* # </weight>
**/
cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
/**
* Cancel a named scheduled task.
*
* # <weight>
* - S = Number of already scheduled calls
* - Base Weight: 24.91 + 2.907 * S µs
* - DB Weight:
* - Read: Agenda, Lookup
* - Write: Agenda, Lookup
* - Will use base weight of 100 which should be good for up to 30 scheduled calls
* # </weight>
**/
cancelNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* Anonymously schedule a task.
*
* # <weight>
* - S = Number of already scheduled calls
* - Base Weight: 22.29 + .126 * S µs
* - DB Weight:
* - Read: Agenda
* - Write: Agenda
* - Will use base weight of 25 which should be good for up to 30 scheduled calls
* # </weight>
**/
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
/**
@@ -2547,15 +2503,6 @@ declare module '@polkadot/api/types/submittable' {
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
/**
* Schedule a named task.
*
* # <weight>
* - S = Number of already scheduled calls
* - Base Weight: 29.6 + .159 * S µs
* - DB Weight:
* - Read: Agenda, Lookup
* - Write: Agenda, Lookup
* - Will use base weight of 35 which should be good for more than 30 scheduled calls
* # </weight>
**/
scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: Call | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
/**
@@ -3274,7 +3221,7 @@ declare module '@polkadot/api/types/submittable' {
**/
setPayee: AugmentedSubmittable<(payee: PalletStakingRewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingRewardDestination]>;
/**
* Update the various staking limits this pallet.
* Update the various staking configurations .
*
* * `min_nominator_bond`: The minimum active bond needed to be a nominator.
* * `min_validator_bond`: The minimum active bond needed to be a validator.
@@ -3282,13 +3229,17 @@ declare module '@polkadot/api/types/submittable' {
* set to `None`, no limit is enforced.
* * `max_validator_count`: The max number of users who can be a validator at once. When
* set to `None`, no limit is enforced.
* * `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which
* should be filled in order for the `chill_other` transaction to work.
* * `min_commission`: The minimum amount of commission that each validators must maintain.
* This is checked only upon calling `validate`. Existing validators are not affected.
*
* Origin must be Root to call this function.
*
* NOTE: Existing nominators and validators will not be affected by this update.
* to kick people under the new limits, `chill_other` should be called.
**/
setStakingLimits: AugmentedSubmittable<(minNominatorBond: u128 | AnyNumber | Uint8Array, minValidatorBond: u128 | AnyNumber | Uint8Array, maxNominatorCount: Option<u32> | null | object | string | Uint8Array, maxValidatorCount: Option<u32> | null | object | string | Uint8Array, threshold: Option<Percent> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u128, Option<u32>, Option<u32>, Option<Percent>]>;
setStakingConfigs: AugmentedSubmittable<(minNominatorBond: u128 | AnyNumber | Uint8Array, minValidatorBond: u128 | AnyNumber | Uint8Array, maxNominatorCount: Option<u32> | null | object | string | Uint8Array, maxValidatorCount: Option<u32> | null | object | string | Uint8Array, chillThreshold: Option<Percent> | null | object | string | Uint8Array, minCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u128, Option<u32>, Option<u32>, Option<Percent>, Perbill]>;
/**
* Sets the ideal number of validators.
*
@@ -3422,24 +3373,10 @@ declare module '@polkadot/api/types/submittable' {
*
* **NOTE:** We rely on the Root origin to provide us the number of subkeys under
* the prefix we are removing to accurately calculate the weight of this function.
*
* # <weight>
* - `O(P)` where `P` amount of keys with prefix `prefix`
* - `P` storage deletions.
* - Base Weight: 0.834 * P µs
* - Writes: Number of subkeys + 1
* # </weight>
**/
killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
/**
* Kill some items from storage.
*
* # <weight>
* - `O(IK)` where `I` length of `keys` and `K` length of one key
* - `I` storage deletions.
* - Base Weight: .378 * i µs
* - Writes: Number of items
* # </weight>
**/
killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
/**
@@ -3488,25 +3425,10 @@ declare module '@polkadot/api/types/submittable' {
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* Set the number of pages in the WebAssembly environment's heap.
*
* # <weight>
* - `O(1)`
* - 1 storage write.
* - Base Weight: 1.405 µs
* - 1 write to HEAP_PAGES
* - 1 digest item
* # </weight>
**/
setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
/**
* Set some items of storage.
*
* # <weight>
* - `O(I)` where `I` length of `items`
* - `I` storage writes (`O(1)`).
* - Base Weight: 0.568 * i µs
* - Writes: Number of items
* # </weight>
**/
setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
/**
@@ -4512,10 +4434,11 @@ declare module '@polkadot/api/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
}
} // AugmentedSubmittables
export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {
(extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;
[key: string]: SubmittableModuleExtrinsics<ApiType>;
}
}
} // SubmittableExtrinsics
} // declare module
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/api', version: '6.10.1' };
export const packageInfo = { name: '@polkadot/api', version: '6.11.1' };
-3
View File
@@ -5,9 +5,6 @@ import type { PalletConstantMetadataLatest } from '@polkadot/types/interfaces';
import type { Codec } from '@polkadot/types/types';
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
export interface AugmentedConst<ApiType extends ApiTypes> {
meta: PalletConstantMetadataLatest;
-4
View File
@@ -4,10 +4,6 @@
import type { IsError } from '@polkadot/types/metadata/decorate/types';
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
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 { 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
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
// SPDX-License-Identifier: Apache-2.0
// Augment the modules
import '@polkadot/api/augment';
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 { RpcInterface } from '@polkadot/rpc-core/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 { DeriveAllSections } from '../util/decorate';
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 { QueryableStorage, QueryableStorageMulti } from './storage';
import type { SubmittableExtrinsics } from './submittable';
import type { QueryableStorageMulti } from './storage';
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 { ApiBase } from '../base';
export * from '../submittable/types';
export * from './base';
+5 -1
View File
@@ -4,7 +4,6 @@
import type { Observable } from 'rxjs';
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';
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> = {
[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
import type { Observable } from 'rxjs';
import type { AugmentedQueries } from '@polkadot/api/types/storage';
import type { StorageKey, u64 } from '@polkadot/types';
import type { Hash } from '@polkadot/types/interfaces';
import type { StorageEntry } from '@polkadot/types/primitive/types';
@@ -123,9 +124,6 @@ export type QueryableStorageMulti<ApiType extends ApiTypes> =
? QueryableStorageMultiBase<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 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 { 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 interface SubmittableExtrinsicFunction<ApiType extends ApiTypes, A extends AnyTuple = AnyTuple> extends CallBase<A> {
+5 -5
View File
@@ -20,16 +20,16 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/rpc-provider": "6.10.1",
"@polkadot/types": "6.10.1",
"@polkadot/util": "^8.0.2",
"@polkadot/rpc-provider": "6.11.1",
"@polkadot/types": "6.11.1",
"@polkadot/util": "^8.1.2",
"rxjs": "^7.4.0"
},
"devDependencies": {
"@polkadot/keyring": "^8.0.2"
"@polkadot/keyring": "^8.1.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/rpc-core', version: '6.10.1' };
export const packageInfo = { name: '@polkadot/rpc-core', version: '6.11.1' };
+1 -12
View File
@@ -1,15 +1,4 @@
// Copyright 2017-2021 @polkadot/rpc-core authors & contributors
// SPDX-License-Identifier: Apache-2.0
// FIXME, this whole file needs to move to API
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;
};
export const __PHANTOM_RPC = 'phantom-rpc';
+1 -1
View File
@@ -4,7 +4,7 @@
import type { Observable } from 'rxjs';
import type { Codec, DefinitionRpc } from '@polkadot/types/types';
export * from './types.jsonrpc';
export * from '@polkadot/rpc-core/types.jsonrpc';
export interface RpcInterfaceMethod {
<T extends Codec> (...params: unknown[]): Observable<T>;
+9 -9
View File
@@ -20,21 +20,21 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/types": "6.10.1",
"@polkadot/util": "^8.0.2",
"@polkadot/util-crypto": "^8.0.2",
"@polkadot/x-fetch": "^8.0.2",
"@polkadot/x-global": "^8.0.2",
"@polkadot/x-ws": "^8.0.2",
"@polkadot/types": "6.11.1",
"@polkadot/util": "^8.1.2",
"@polkadot/util-crypto": "^8.1.2",
"@polkadot/x-fetch": "^8.1.2",
"@polkadot/x-global": "^8.1.2",
"@polkadot/x-ws": "^8.1.2",
"eventemitter3": "^4.0.7"
},
"devDependencies": {
"@polkadot/keyring": "^8.0.2",
"@polkadot/types": "6.10.1",
"@polkadot/keyring": "^8.1.2",
"@polkadot/types": "6.11.1",
"mock-socket": "^9.0.8",
"nock": "^13.2.1"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/rpc-provider', version: '6.10.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', version: '6.11.1' };
+6 -6
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,11 +33,11 @@
"@babel/core": "^7.16.0",
"@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.3",
"@polkadot/api": "6.10.1",
"@polkadot/rpc-provider": "6.10.1",
"@polkadot/types": "6.10.1",
"@polkadot/types-support": "6.10.1",
"@polkadot/util": "^8.0.2",
"@polkadot/api": "6.11.1",
"@polkadot/rpc-provider": "6.11.1",
"@polkadot/types": "6.11.1",
"@polkadot/types-support": "6.11.1",
"@polkadot/util": "^8.1.2",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
"yargs": "^17.2.1"
+1 -1
View File
@@ -76,7 +76,7 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
})),
{
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: [
{
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',
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',
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[] } => ({
file: packagePath.replace('@polkadot/types/augment', '@polkadot/types'),
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',
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
export const packageInfo = { name: '@polkadot/typegen', version: '6.10.1' };
export const packageInfo = { name: '@polkadot/typegen', version: '6.11.1' };
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/consts' {
export interface AugmentedConsts<ApiType> {
{{{ imports }}}
export interface AugmentedConsts<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
@@ -18,12 +18,12 @@ declare module '@polkadot/api/types/consts' {
{{/unless}}
};
{{/each}}
}
} // AugmentedConsts
export interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> {
{{#unless isStrict}}
[key: string]: QueryableModuleConsts;
{{/unless}}
}
}
{{> footer }}
} // QueryableConsts
} // declare module
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/errors' {
export interface AugmentedErrors<ApiType> {
{{{ imports }}}
export interface AugmentedErrors<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
@@ -18,12 +18,12 @@ declare module '@polkadot/api/types/errors' {
{{/unless}}
};
{{/each}}
}
} // AugmentedErrors
export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
{{#unless isStrict}}
[key: string]: ModuleErrors<ApiType>;
{{/unless}}
}
}
{{> footer }}
} // DecoratedErrors
} // declare module
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/events' {
export interface AugmentedEvents<ApiType> {
{{{ imports }}}
export interface AugmentedEvents<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
@@ -18,12 +18,12 @@ declare module '@polkadot/api/types/events' {
{{/unless}}
};
{{/each}}
}
} // AugmentedEvents
export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {
{{#unless isStrict}}
[key: string]: ModuleEvents<ApiType>;
{{/unless}}
}
}
{{> footer }}
} // DecoratedEvents
} // declare module
@@ -1,12 +1,11 @@
{{> header }}
{{{ imports }}}
declare module '@polkadot/types/types/registry' {
{{{ imports }}}
export interface InterfaceTypes {
{{#each items}}
{{{this}}}: {{{this}}};
{{/each}}
}
}
{{> footer }}
} // InterfaceTypes
} // declare module
@@ -10,4 +10,3 @@ export default {
{{/each}}
{{/each}}
};
{{> footer }}
@@ -13,4 +13,3 @@ export default {
{{/each}}
}
};
{{> footer }}
@@ -1,4 +1,3 @@
{{> header }}
export * from './types';
{{> footer }}
@@ -1,12 +1,10 @@
{{> header }}
declare module '@polkadot/types/lookup' {
{{{ imports }}}
{{{ imports }}}
{{#each items}}
{{#each items}}
{{{this}}}
{{/each}}
}
{{> footer }}
{{/each}}
} // declare module
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/storage' {
export interface AugmentedQueries<ApiType> {
{{{ imports }}}
export interface AugmentedQueries<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
@@ -18,12 +18,12 @@ declare module '@polkadot/api/types/storage' {
{{/unless}}
};
{{/each}}
}
} // AugmentedQueries
export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {
{{#unless isStrict}}
[key: string]: QueryableModuleStorage<ApiType>;
{{/unless}}
}
}
{{> footer }}
} // QueryableStorage
} // declare module
+5 -5
View File
@@ -1,8 +1,8 @@
{{> header }}
{{{ imports }}}
declare module '@polkadot/rpc-core/types.jsonrpc' {
{{{ imports }}}
export interface RpcInterface {
{{#each modules}}
{{{name}}}: {
@@ -12,6 +12,6 @@ declare module '@polkadot/rpc-core/types.jsonrpc' {
{{/each}}
};
{{/each}}
}
}
{{> footer }}
} // RpcInterface
} // declare module
@@ -1,4 +1,3 @@
{{> header }}
export * from './types';
{{> footer }}
@@ -8,4 +8,3 @@
{{/each}}
export type PHANTOM_{{#upper}}{{{name}}}{{/upper}} = '{{{name}}}';
{{> footer }}
@@ -3,4 +3,3 @@
{{#each items}}
export * from './{{{this}}}/types';
{{/each}}
{{> footer }}
+7 -7
View File
@@ -1,9 +1,9 @@
{{> header }}
{{{ imports }}}
declare module '@polkadot/api/types/submittable' {
export interface AugmentedSubmittables<ApiType> {
{{{ imports }}}
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
@@ -18,13 +18,13 @@ declare module '@polkadot/api/types/submittable' {
{{/unless}}
};
{{/each}}
}
} // AugmentedSubmittables
export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {
(extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;
{{#unless isStrict}}
[key: string]: SubmittableModuleExtrinsics<ApiType>;
{{/unless}}
}
}
{{> footer }}
} // SubmittableExtrinsics
} // 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`;
Handlebars.registerPartial({
footer: Handlebars.compile(readTemplate('footer')),
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 types.length
? `${result}import type { ${types.sort().join(', ')} } from '${file}';\n`
? `${result}${result.length ? ' ' : ''}import type { ${types.sort().join(', ')} } from '${file}';\n`
: result;
}, '');
},
+4 -4
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/networks": "^8.0.2",
"@polkadot/types": "6.10.1",
"@polkadot/util": "^8.0.2"
"@polkadot/networks": "^8.1.2",
"@polkadot/types": "6.11.1",
"@polkadot/util": "^8.1.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types-known', version: '6.10.1' };
export const packageInfo = { name: '@polkadot/types-known', version: '6.11.1' };
+2 -2
View File
@@ -20,10 +20,10 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/util": "^8.0.2"
"@polkadot/util": "^8.1.2"
}
}
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
@@ -159,7 +159,7 @@
"Blake2_128Concat"
],
"key": 9,
"value": 93
"value": 95
}
},
"fallback": "0x00",
@@ -180,7 +180,7 @@
"name": "LastRuntimeUpgrade",
"modifier": "Optional",
"type": {
"plain": 94
"plain": 96
},
"fallback": "0x00",
"docs": [
@@ -214,7 +214,7 @@
"name": "ExecutionPhase",
"modifier": "Optional",
"type": {
"plain": 91
"plain": 93
},
"fallback": "0x00",
"docs": [
@@ -224,7 +224,7 @@
]
},
"calls": {
"type": 97
"type": 99
},
"events": {
"type": 18
@@ -232,7 +232,7 @@
"constants": [
{
"name": "BlockWeights",
"type": 102,
"type": 104,
"value": "0x00f2052a0100000000204aa9d1010000405973070000000001c06e96a62e010000010098f73e5d010000010000000000000000405973070000000001c0f6e810a30100000100204aa9d1010000010088526a740000004059730700000000000000",
"docs": [
" Block & extrinsics weights: base values and limits."
@@ -240,7 +240,7 @@
},
{
"name": "BlockLength",
"type": 106,
"type": 108,
"value": "0x00003c000000500000005000",
"docs": [
" The maximum length of a block (in bytes)."
@@ -256,7 +256,7 @@
},
{
"name": "DbWeight",
"type": 108,
"type": 110,
"value": "0x40787d010000000000e1f50500000000",
"docs": [
" The weight of runtime database operations the runtime can invoke."
@@ -264,7 +264,7 @@
},
{
"name": "Version",
"type": 109,
"type": 111,
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000c0100000000000034df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a80100000091d5df18b0d2cf5801000000ab3c0572291feb8b0100000002000000",
"docs": [
" Get the chain's current version."
@@ -272,7 +272,7 @@
},
{
"name": "SS58Prefix",
"type": 74,
"type": 76,
"value": "0x2a00",
"docs": [
" The designated SS85 prefix of this chain.",
@@ -284,7 +284,7 @@
}
],
"errors": {
"type": 114
"type": 116
},
"index": 0
},
@@ -292,7 +292,7 @@
"name": "Utility",
"storage": null,
"calls": {
"type": 115
"type": 117
},
"events": {
"type": 25
@@ -343,7 +343,7 @@
"name": "GenesisSlot",
"modifier": "Default",
"type": {
"plain": 123
"plain": 125
},
"fallback": "0x0000000000000000",
"docs": [
@@ -355,7 +355,7 @@
"name": "CurrentSlot",
"modifier": "Default",
"type": {
"plain": 123
"plain": 125
},
"fallback": "0x0000000000000000",
"docs": [
@@ -386,7 +386,7 @@
"name": "PendingEpochConfigChange",
"modifier": "Optional",
"type": {
"plain": 125
"plain": 127
},
"fallback": "0x00",
"docs": [
@@ -481,7 +481,7 @@
"name": "EpochStart",
"modifier": "Default",
"type": {
"plain": 70
"plain": 72
},
"fallback": "0x0000000000000000",
"docs": [
@@ -534,7 +534,7 @@
]
},
"calls": {
"type": 118
"type": 120
},
"events": null,
"constants": [
@@ -604,7 +604,7 @@
]
},
"calls": {
"type": 128
"type": 130
},
"events": null,
"constants": [
@@ -664,7 +664,7 @@
]
},
"calls": {
"type": 130
"type": 132
},
"events": null,
"constants": [
@@ -709,7 +709,7 @@
]
},
"calls": {
"type": 132
"type": 134
},
"events": {
"type": 28
@@ -815,7 +815,7 @@
]
},
"calls": {
"type": 133
"type": 135
},
"events": {
"type": 29
@@ -1010,7 +1010,7 @@
"name": "SnapshotMetadata",
"modifier": "Optional",
"type": {
"plain": 190
"plain": 192
},
"fallback": "0x00",
"docs": [
@@ -1081,7 +1081,7 @@
"name": "MinimumUntrustedScore",
"modifier": "Optional",
"type": {
"plain": 189
"plain": 191
},
"fallback": "0x00",
"docs": [
@@ -1094,7 +1094,7 @@
]
},
"calls": {
"type": 136
"type": 138
},
"events": {
"type": 31
@@ -1118,7 +1118,7 @@
},
{
"name": "SolutionImprovementThreshold",
"type": 98,
"type": 100,
"value": "0xa0860100",
"docs": [
" The minimum amount of improvement to the solution score that defines a solution as",
@@ -1337,6 +1337,19 @@
" The minimum active bond to become and maintain the role of a validator."
]
},
{
"name": "MinCommission",
"modifier": "Default",
"type": {
"plain": 100
},
"fallback": "0x00000000",
"docs": [
" The minimum amount of commission that validators can set.",
"",
" If set to `0`, no limit exists."
]
},
{
"name": "Ledger",
"modifier": "Optional",
@@ -1363,7 +1376,7 @@
"Twox64Concat"
],
"key": 0,
"value": 196
"value": 198
}
},
"fallback": "0x00",
@@ -1380,7 +1393,7 @@
"Twox64Concat"
],
"key": 0,
"value": 197
"value": 199
}
},
"fallback": "0x0000",
@@ -1515,7 +1528,7 @@
"Twox64Concat"
],
"key": 353,
"value": 59
"value": 61
}
},
"fallback": "0x000000",
@@ -1538,7 +1551,7 @@
"Twox64Concat"
],
"key": 353,
"value": 59
"value": 61
}
},
"fallback": "0x000000",
@@ -1566,7 +1579,7 @@
"Twox64Concat"
],
"key": 353,
"value": 197
"value": 199
}
},
"fallback": "0x0000",
@@ -1648,7 +1661,7 @@
"name": "SlashRewardFraction",
"modifier": "Default",
"type": {
"plain": 98
"plain": 100
},
"fallback": "0x00000000",
"docs": [
@@ -1690,7 +1703,7 @@
"name": "BondedEras",
"modifier": "Default",
"type": {
"plain": 93
"plain": 95
},
"fallback": "0x00",
"docs": [
@@ -1833,7 +1846,7 @@
"name": "ChillThreshold",
"modifier": "Optional",
"type": {
"plain": 200
"plain": 202
},
"fallback": "0x00",
"docs": [
@@ -1845,7 +1858,7 @@
]
},
"calls": {
"type": 195
"type": 197
},
"events": {
"type": 35
@@ -1956,7 +1969,7 @@
"name": "DisabledValidators",
"modifier": "Default",
"type": {
"plain": 85
"plain": 87
},
"fallback": "0x00",
"docs": [
@@ -1976,7 +1989,7 @@
"Twox64Concat"
],
"key": 0,
"value": 203
"value": 205
}
},
"fallback": "0x00",
@@ -2004,7 +2017,7 @@
]
},
"calls": {
"type": 202
"type": 204
},
"events": {
"type": 36
@@ -2238,7 +2251,7 @@
]
},
"calls": {
"type": 205
"type": 207
},
"events": {
"type": 37
@@ -2375,7 +2388,7 @@
"Identity"
],
"key": 9,
"value": 117
"value": 119
}
},
"fallback": "0x00",
@@ -2439,7 +2452,7 @@
"type": 209
},
"events": {
"type": 40
"type": 42
},
"constants": [],
"errors": {
@@ -2472,7 +2485,7 @@
"Identity"
],
"key": 9,
"value": 117
"value": 119
}
},
"fallback": "0x00",
@@ -2536,7 +2549,7 @@
"type": 211
},
"events": {
"type": 41
"type": 43
},
"constants": [],
"errors": {
@@ -2580,7 +2593,7 @@
"name": "Candidates",
"modifier": "Default",
"type": {
"plain": 43
"plain": 45
},
"fallback": "0x00",
"docs": [
@@ -2628,12 +2641,12 @@
"type": 212
},
"events": {
"type": 42
"type": 44
},
"constants": [
{
"name": "PalletId",
"type": 113,
"type": 115,
"value": "0x706872656c656374",
"docs": [
" Identifier for the elections-phragmen pallet's lock"
@@ -2731,7 +2744,7 @@
"type": 214
},
"events": {
"type": 45
"type": 47
},
"constants": [],
"errors": {
@@ -2781,7 +2794,7 @@
"name": "Stalled",
"modifier": "Optional",
"type": {
"plain": 70
"plain": 72
},
"fallback": "0x00",
"docs": [
@@ -2826,7 +2839,7 @@
"type": 215
},
"events": {
"type": 46
"type": 48
},
"constants": [
{
@@ -2893,7 +2906,7 @@
"type": 227
},
"events": {
"type": 51
"type": 53
},
"constants": [
{
@@ -3040,7 +3053,7 @@
"type": 228
},
"events": {
"type": 52
"type": 54
},
"constants": [
{
@@ -3057,7 +3070,7 @@
"value": "0x00f0436de36a01000000000000000000",
"docs": [
" The deposit that must be placed into the contract's account to instantiate it.",
" This is in **addition** to the [`pallet_balances::Pallet::ExistenialDeposit`].",
" This is in **addition** to the [`Currency::minimum_balance`].",
" The minimum balance for a contract's account can be queried using",
" [`Pallet::subsistence_threshold`]."
]
@@ -3106,7 +3119,7 @@
"type": 229
},
"events": {
"type": 53
"type": 55
},
"constants": [],
"errors": {
@@ -3160,7 +3173,7 @@
"Twox64Concat",
"Twox64Concat"
],
"key": 70,
"key": 72,
"value": 421
}
},
@@ -3195,7 +3208,7 @@
"type": 230
},
"events": {
"type": 54
"type": 56
},
"constants": [
{
@@ -3282,7 +3295,7 @@
"Twox64Concat"
],
"key": 430,
"value": 92
"value": 94
}
},
"fallback": "0x00",
@@ -3298,7 +3311,7 @@
"hashers": [
"Twox64Concat"
],
"key": 64,
"key": 66,
"value": 10
}
},
@@ -3316,7 +3329,7 @@
},
"calls": null,
"events": {
"type": 63
"type": 65
},
"constants": [],
"errors": null,
@@ -3340,7 +3353,7 @@
"name": "RandomMaterial",
"modifier": "Default",
"type": {
"plain": 92
"plain": 94
},
"fallback": "0x00",
"docs": [
@@ -3440,7 +3453,7 @@
"type": 238
},
"events": {
"type": 65
"type": 67
},
"constants": [
{
@@ -3732,7 +3745,7 @@
"type": 278
},
"events": {
"type": 66
"type": 68
},
"constants": [
{
@@ -3883,7 +3896,7 @@
"type": 280
},
"events": {
"type": 67
"type": 69
},
"constants": [
{
@@ -3911,7 +3924,7 @@
},
{
"name": "MaxFriends",
"type": 74,
"type": 76,
"value": "0x0900",
"docs": [
" The maximum amount of friends allowed in a recovery configuration."
@@ -3978,7 +3991,7 @@
"type": 281
},
"events": {
"type": 68
"type": 70
},
"constants": [
{
@@ -4032,7 +4045,7 @@
"Twox64Concat"
],
"key": 10,
"value": 70
"value": 72
}
},
"fallback": "0x00",
@@ -4059,7 +4072,7 @@
"type": 283
},
"events": {
"type": 69
"type": 71
},
"constants": [
{
@@ -4132,7 +4145,7 @@
"type": 285
},
"events": {
"type": 72
"type": 74
},
"constants": [
{
@@ -4246,7 +4259,7 @@
"type": 287
},
"events": {
"type": 75
"type": 77
},
"constants": [
{
@@ -4274,7 +4287,7 @@
},
{
"name": "MaxSignatories",
"type": 74,
"type": 76,
"value": "0x6400",
"docs": [
" The maximum amount of signatories allowed in the multisig."
@@ -4340,7 +4353,7 @@
"name": "BountyApprovals",
"modifier": "Default",
"type": {
"plain": 85
"plain": 87
},
"fallback": "0x00",
"docs": [
@@ -4353,7 +4366,7 @@
"type": 290
},
"events": {
"type": 77
"type": 79
},
"constants": [
{
@@ -4410,7 +4423,9 @@
"type": 4,
"value": "0x00400000",
"docs": [
" Maximum acceptable reason length."
" Maximum acceptable reason length.",
"",
" Benchmarks depend on this value, be sure to update weights file when changing this value"
]
}
],
@@ -4467,7 +4482,7 @@
"type": 291
},
"events": {
"type": 78
"type": 80
},
"constants": [
{
@@ -4475,7 +4490,9 @@
"type": 4,
"value": "0x00400000",
"docs": [
" Maximum acceptable reason length."
" Maximum acceptable reason length.",
"",
" Benchmarks depend on this value, be sure to update weights file when changing this value"
]
},
{
@@ -4496,7 +4513,7 @@
},
{
"name": "TipFindersFee",
"type": 200,
"type": 202,
"value": "0x14",
"docs": [
" The percent of the final tip which goes to the original reporter of the tip."
@@ -4600,7 +4617,7 @@
"type": 292
},
"events": {
"type": 79
"type": 81
},
"constants": [
{
@@ -4796,7 +4813,7 @@
"type": 294
},
"events": {
"type": 80
"type": 82
},
"constants": [
{
@@ -4902,7 +4919,7 @@
"type": 295
},
"events": {
"type": 82
"type": 84
},
"constants": [
{
@@ -5033,7 +5050,7 @@
"Blake2_128Concat",
"Blake2_128Concat"
],
"key": 70,
"key": 72,
"value": 499
}
},
@@ -5068,7 +5085,7 @@
"Blake2_128Concat",
"Blake2_128Concat"
],
"key": 70,
"key": 72,
"value": 501
}
},
@@ -5102,7 +5119,7 @@
"type": 298
},
"events": {
"type": 83
"type": 85
},
"constants": [
{
@@ -5297,7 +5314,7 @@
"type": 301
},
"events": {
"type": 89
"type": 91
},
"constants": [],
"errors": {
@@ -5365,7 +5382,7 @@
"type": 303
},
"events": {
"type": 90
"type": 92
},
"constants": [
{
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
export const packageInfo = { name: '@polkadot/types-support', version: '6.10.1' };
export const packageInfo = { name: '@polkadot/types-support', version: '6.11.1' };
+6 -6
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.1",
"version": "6.11.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/types-known": "6.10.1",
"@polkadot/util": "^8.0.2",
"@polkadot/util-crypto": "^8.0.2",
"@polkadot/types-known": "6.11.1",
"@polkadot/util": "^8.1.2",
"@polkadot/util-crypto": "^8.1.2",
"rxjs": "^7.4.0"
},
"devDependencies": {
"@polkadot/keyring": "^8.0.2",
"@polkadot/types-support": "6.10.1",
"@polkadot/keyring": "^8.1.2",
"@polkadot/types-support": "6.11.1",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.12.0"
}
+29 -751
View File
@@ -5,441 +5,36 @@
export default {
/**
* Lookup71: kusama_runtime::ProxyType
* Lookup73: kusama_runtime::ProxyType
**/
KusamaRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction']
},
/**
* Lookup104: pallet_xcm::pallet::Event<T>
* Lookup102: polkadot_runtime_parachains::disputes::pallet::Event<T>
**/
PalletXcmEvent: {
PolkadotRuntimeParachainsDisputesPalletEvent: {
_enum: {
Attempted: 'XcmV2TraitsOutcome',
Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',
UnexpectedResponse: '(XcmV1MultiLocation,u64)',
ResponseReady: '(u64,XcmV2Response)',
Notified: '(u64,u8,u8)',
NotifyOverweight: '(u64,u8,u8,u64,u64)',
NotifyDispatchError: '(u64,u8,u8)',
NotifyDecodeFailed: '(u64,u8,u8)',
InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',
InvalidResponderVersion: '(XcmV1MultiLocation,u64)',
ResponseTaken: 'u64',
AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',
VersionChangeNotified: '(XcmV1MultiLocation,u32)',
SupportedVersionChanged: '(XcmV1MultiLocation,u32)',
NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',
NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'
DisputeInitiated: '(H256,PolkadotRuntimeParachainsDisputesDisputeLocation)',
DisputeConcluded: '(H256,PolkadotRuntimeParachainsDisputesDisputeResult)',
DisputeTimedOut: 'H256',
Revert: 'u32'
}
},
/**
* Lookup105: xcm::v1::multilocation::MultiLocation
* Lookup104: polkadot_runtime_parachains::disputes::DisputeLocation
**/
XcmV1MultiLocation: {
parents: 'u8',
interior: 'XcmV1MultilocationJunctions'
PolkadotRuntimeParachainsDisputesDisputeLocation: {
_enum: ['Local', 'Remote']
},
/**
* Lookup106: xcm::v1::multilocation::Junctions
* Lookup105: polkadot_runtime_parachains::disputes::DisputeResult
**/
XcmV1MultilocationJunctions: {
_enum: {
Here: 'Null',
X1: 'XcmV1Junction',
X2: '(XcmV1Junction,XcmV1Junction)',
X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',
X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',
X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'
}
PolkadotRuntimeParachainsDisputesDisputeResult: {
_enum: ['Valid', 'Invalid']
},
/**
* Lookup107: xcm::v1::junction::Junction
**/
XcmV1Junction: {
_enum: {
Parachain: 'Compact<u32>',
AccountId32: {
network: 'XcmV0JunctionNetworkId',
id: '[u8;32]',
},
AccountIndex64: {
network: 'XcmV0JunctionNetworkId',
index: 'Compact<u64>',
},
AccountKey20: {
network: 'XcmV0JunctionNetworkId',
key: '[u8;20]',
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
GeneralKey: 'Bytes',
OnlyChild: 'Null',
Plurality: {
id: 'XcmV0JunctionBodyId',
part: 'XcmV0JunctionBodyPart'
}
}
},
/**
* Lookup109: xcm::v0::junction::NetworkId
**/
XcmV0JunctionNetworkId: {
_enum: {
Any: 'Null',
Named: 'Bytes',
Polkadot: 'Null',
Kusama: 'Null'
}
},
/**
* Lookup111: xcm::v0::junction::BodyId
**/
XcmV0JunctionBodyId: {
_enum: {
Unit: 'Null',
Named: 'Bytes',
Index: 'Compact<u32>',
Executive: 'Null',
Technical: 'Null',
Legislative: 'Null',
Judicial: 'Null'
}
},
/**
* Lookup112: xcm::v0::junction::BodyPart
**/
XcmV0JunctionBodyPart: {
_enum: {
Voice: 'Null',
Members: {
count: 'Compact<u32>',
},
Fraction: {
nom: 'Compact<u32>',
denom: 'Compact<u32>',
},
AtLeastProportion: {
nom: 'Compact<u32>',
denom: 'Compact<u32>',
},
MoreThanProportion: {
nom: 'Compact<u32>',
denom: 'Compact<u32>'
}
}
},
/**
* Lookup113: xcm::v2::Xcm<Call>
**/
XcmV2Xcm: 'Vec<XcmV2Instruction>',
/**
* Lookup115: xcm::v2::Instruction<Call>
**/
XcmV2Instruction: {
_enum: {
WithdrawAsset: 'XcmV1MultiassetMultiAssets',
ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',
ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',
QueryResponse: {
queryId: 'Compact<u64>',
response: 'XcmV2Response',
maxWeight: 'Compact<u64>',
},
TransferAsset: {
assets: 'XcmV1MultiassetMultiAssets',
beneficiary: 'XcmV1MultiLocation',
},
TransferReserveAsset: {
assets: 'XcmV1MultiassetMultiAssets',
dest: 'XcmV1MultiLocation',
xcm: 'XcmV2Xcm',
},
Transact: {
originType: 'XcmV0OriginKind',
requireWeightAtMost: 'Compact<u64>',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
sender: 'Compact<u32>',
maxMessageSize: 'Compact<u32>',
maxCapacity: 'Compact<u32>',
},
HrmpChannelAccepted: {
recipient: 'Compact<u32>',
},
HrmpChannelClosing: {
initiator: 'Compact<u32>',
sender: 'Compact<u32>',
recipient: 'Compact<u32>',
},
ClearOrigin: 'Null',
DescendOrigin: 'XcmV1MultilocationJunctions',
ReportError: {
queryId: 'Compact<u64>',
dest: 'XcmV1MultiLocation',
maxResponseWeight: 'Compact<u64>',
},
DepositAsset: {
assets: 'XcmV1MultiassetMultiAssetFilter',
maxAssets: 'Compact<u32>',
beneficiary: 'XcmV1MultiLocation',
},
DepositReserveAsset: {
assets: 'XcmV1MultiassetMultiAssetFilter',
maxAssets: 'Compact<u32>',
dest: 'XcmV1MultiLocation',
xcm: 'XcmV2Xcm',
},
ExchangeAsset: {
give: 'XcmV1MultiassetMultiAssetFilter',
receive: 'XcmV1MultiassetMultiAssets',
},
InitiateReserveWithdraw: {
assets: 'XcmV1MultiassetMultiAssetFilter',
reserve: 'XcmV1MultiLocation',
xcm: 'XcmV2Xcm',
},
InitiateTeleport: {
assets: 'XcmV1MultiassetMultiAssetFilter',
dest: 'XcmV1MultiLocation',
xcm: 'XcmV2Xcm',
},
QueryHolding: {
queryId: 'Compact<u64>',
dest: 'XcmV1MultiLocation',
assets: 'XcmV1MultiassetMultiAssetFilter',
maxResponseWeight: 'Compact<u64>',
},
BuyExecution: {
fees: 'XcmV1MultiAsset',
weightLimit: 'XcmV2WeightLimit',
},
RefundSurplus: 'Null',
SetErrorHandler: 'XcmV2Xcm',
SetAppendix: 'XcmV2Xcm',
ClearError: 'Null',
ClaimAsset: {
assets: 'XcmV1MultiassetMultiAssets',
ticket: 'XcmV1MultiLocation',
},
Trap: 'Compact<u64>',
SubscribeVersion: {
queryId: 'Compact<u64>',
maxResponseWeight: 'Compact<u64>',
},
UnsubscribeVersion: 'Null'
}
},
/**
* Lookup116: xcm::v1::multiasset::MultiAssets
**/
XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',
/**
* Lookup118: xcm::v1::multiasset::MultiAsset
**/
XcmV1MultiAsset: {
id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetFungibility'
},
/**
* Lookup119: xcm::v1::multiasset::AssetId
**/
XcmV1MultiassetAssetId: {
_enum: {
Concrete: 'XcmV1MultiLocation',
Abstract: 'Bytes'
}
},
/**
* Lookup120: xcm::v1::multiasset::Fungibility
**/
XcmV1MultiassetFungibility: {
_enum: {
Fungible: 'Compact<u128>',
NonFungible: 'XcmV1MultiassetAssetInstance'
}
},
/**
* Lookup121: xcm::v1::multiasset::AssetInstance
**/
XcmV1MultiassetAssetInstance: {
_enum: {
Undefined: 'Null',
Index: 'Compact<u128>',
Array4: '[u8;4]',
Array8: '[u8;8]',
Array16: '[u8;16]',
Array32: '[u8;32]',
Blob: 'Bytes'
}
},
/**
* Lookup123: xcm::v2::Response
**/
XcmV2Response: {
_enum: {
Null: 'Null',
Assets: 'XcmV1MultiassetMultiAssets',
ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
Version: 'u32'
}
},
/**
* Lookup126: xcm::v0::OriginKind
**/
XcmV0OriginKind: {
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
},
/**
* Lookup127: xcm::double_encoded::DoubleEncoded<T>
**/
XcmDoubleEncoded: {
encoded: 'Bytes'
},
/**
* Lookup128: xcm::v1::multiasset::MultiAssetFilter
**/
XcmV1MultiassetMultiAssetFilter: {
_enum: {
Definite: 'XcmV1MultiassetMultiAssets',
Wild: 'XcmV1MultiassetWildMultiAsset'
}
},
/**
* Lookup129: xcm::v1::multiasset::WildMultiAsset
**/
XcmV1MultiassetWildMultiAsset: {
_enum: {
All: 'Null',
AllOf: {
id: 'XcmV1MultiassetAssetId',
fun: 'XcmV1MultiassetWildFungibility'
}
}
},
/**
* Lookup130: xcm::v1::multiasset::WildFungibility
**/
XcmV1MultiassetWildFungibility: {
_enum: ['Fungible', 'NonFungible']
},
/**
* Lookup131: xcm::v2::WeightLimit
**/
XcmV2WeightLimit: {
_enum: {
Unlimited: 'Null',
Limited: 'Compact<u64>'
}
},
/**
* Lookup133: xcm::VersionedMultiAssets
**/
XcmVersionedMultiAssets: {
_enum: {
V0: 'Vec<XcmV0MultiAsset>',
V1: 'XcmV1MultiassetMultiAssets'
}
},
/**
* Lookup135: xcm::v0::multi_asset::MultiAsset
**/
XcmV0MultiAsset: {
_enum: {
None: 'Null',
All: 'Null',
AllFungible: 'Null',
AllNonFungible: 'Null',
AllAbstractFungible: {
id: 'Bytes',
},
AllAbstractNonFungible: {
class: 'Bytes',
},
AllConcreteFungible: {
id: 'XcmV0MultiLocation',
},
AllConcreteNonFungible: {
class: 'XcmV0MultiLocation',
},
AbstractFungible: {
id: 'Bytes',
amount: 'Compact<u128>',
},
AbstractNonFungible: {
class: 'Bytes',
instance: 'XcmV1MultiassetAssetInstance',
},
ConcreteFungible: {
id: 'XcmV0MultiLocation',
amount: 'Compact<u128>',
},
ConcreteNonFungible: {
class: 'XcmV0MultiLocation',
instance: 'XcmV1MultiassetAssetInstance'
}
}
},
/**
* Lookup136: xcm::v0::multi_location::MultiLocation
**/
XcmV0MultiLocation: {
_enum: {
Null: 'Null',
X1: 'XcmV0Junction',
X2: '(XcmV0Junction,XcmV0Junction)',
X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',
X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',
X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'
}
},
/**
* Lookup137: xcm::v0::junction::Junction
**/
XcmV0Junction: {
_enum: {
Parent: 'Null',
Parachain: 'Compact<u32>',
AccountId32: {
network: 'XcmV0JunctionNetworkId',
id: '[u8;32]',
},
AccountIndex64: {
network: 'XcmV0JunctionNetworkId',
index: 'Compact<u64>',
},
AccountKey20: {
network: 'XcmV0JunctionNetworkId',
key: '[u8;20]',
},
PalletInstance: 'u8',
GeneralIndex: 'Compact<u128>',
GeneralKey: 'Bytes',
OnlyChild: 'Null',
Plurality: {
id: 'XcmV0JunctionBodyId',
part: 'XcmV0JunctionBodyPart'
}
}
},
/**
* Lookup138: xcm::VersionedMultiLocation
**/
XcmVersionedMultiLocation: {
_enum: {
V0: 'XcmV0MultiLocation',
V1: 'XcmV1MultiLocation'
}
},
/**
* Lookup238: kusama_runtime::SessionKeys
* Lookup244: kusama_runtime::SessionKeys
**/
KusamaRuntimeSessionKeys: {
grandpa: 'SpFinalityGrandpaAppPublic',
@@ -450,7 +45,7 @@ export default {
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
},
/**
* Lookup313: kusama_runtime::OriginCaller
* Lookup317: kusama_runtime::OriginCaller
**/
KusamaRuntimeOriginCaller: {
_enum: {
@@ -557,16 +152,7 @@ export default {
}
},
/**
* Lookup318: pallet_xcm::pallet::Origin
**/
PalletXcmOrigin: {
_enum: {
Xcm: 'XcmV1MultiLocation',
Response: 'XcmV1MultiLocation'
}
},
/**
* Lookup376: kusama_runtime::NposCompactSolution24
* Lookup380: kusama_runtime::NposCompactSolution24
**/
KusamaRuntimeNposCompactSolution24: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -595,336 +181,28 @@ export default {
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
},
/**
* Lookup508: pallet_xcm::pallet::Call<T>
* Lookup499: polkadot_runtime_parachains::disputes::pallet::Call<T>
**/
PalletXcmCall: {
_enum: {
send: {
dest: 'XcmVersionedMultiLocation',
message: 'XcmVersionedXcm',
},
teleport_assets: {
dest: 'XcmVersionedMultiLocation',
beneficiary: 'XcmVersionedMultiLocation',
assets: 'XcmVersionedMultiAssets',
feeAssetItem: 'u32',
},
reserve_transfer_assets: {
dest: 'XcmVersionedMultiLocation',
beneficiary: 'XcmVersionedMultiLocation',
assets: 'XcmVersionedMultiAssets',
feeAssetItem: 'u32',
},
execute: {
message: 'XcmVersionedXcm',
maxWeight: 'u64',
},
force_xcm_version: {
location: 'XcmV1MultiLocation',
xcmVersion: 'u32',
},
force_default_xcm_version: {
maybeXcmVersion: 'Option<u32>',
},
force_subscribe_version_notify: {
location: 'XcmVersionedMultiLocation',
},
force_unsubscribe_version_notify: {
location: 'XcmVersionedMultiLocation',
},
limited_reserve_transfer_assets: {
dest: 'XcmVersionedMultiLocation',
beneficiary: 'XcmVersionedMultiLocation',
assets: 'XcmVersionedMultiAssets',
feeAssetItem: 'u32',
weightLimit: 'XcmV2WeightLimit',
},
limited_teleport_assets: {
dest: 'XcmVersionedMultiLocation',
beneficiary: 'XcmVersionedMultiLocation',
assets: 'XcmVersionedMultiAssets',
feeAssetItem: 'u32',
weightLimit: 'XcmV2WeightLimit'
}
}
PolkadotRuntimeParachainsDisputesPalletCall: {
_enum: ['force_unfreeze']
},
/**
* Lookup509: xcm::VersionedXcm<Call>
* Lookup679: polkadot_primitives::v1::DisputeState<N>
**/
XcmVersionedXcm: {
_enum: {
V0: 'XcmV0Xcm',
V1: 'XcmV1Xcm',
V2: 'XcmV2Xcm'
}
PolkadotPrimitivesV1DisputeState: {
validatorsFor: 'BitVec',
validatorsAgainst: 'BitVec',
start: 'u32',
concludedAt: 'Option<u32>'
},
/**
* Lookup510: xcm::v0::Xcm<Call>
* Lookup680: polkadot_runtime_parachains::disputes::pallet::Error<T>
**/
XcmV0Xcm: {
_enum: {
WithdrawAsset: {
assets: 'Vec<XcmV0MultiAsset>',
effects: 'Vec<XcmV0Order>',
},
ReserveAssetDeposit: {
assets: 'Vec<XcmV0MultiAsset>',
effects: 'Vec<XcmV0Order>',
},
TeleportAsset: {
assets: 'Vec<XcmV0MultiAsset>',
effects: 'Vec<XcmV0Order>',
},
QueryResponse: {
queryId: 'Compact<u64>',
response: 'XcmV0Response',
},
TransferAsset: {
assets: 'Vec<XcmV0MultiAsset>',
dest: 'XcmV0MultiLocation',
},
TransferReserveAsset: {
assets: 'Vec<XcmV0MultiAsset>',
dest: 'XcmV0MultiLocation',
effects: 'Vec<XcmV0Order>',
},
Transact: {
originType: 'XcmV0OriginKind',
requireWeightAtMost: 'u64',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
sender: 'Compact<u32>',
maxMessageSize: 'Compact<u32>',
maxCapacity: 'Compact<u32>',
},
HrmpChannelAccepted: {
recipient: 'Compact<u32>',
},
HrmpChannelClosing: {
initiator: 'Compact<u32>',
sender: 'Compact<u32>',
recipient: 'Compact<u32>',
},
RelayedFrom: {
who: 'XcmV0MultiLocation',
message: 'XcmV0Xcm'
}
}
PolkadotRuntimeParachainsDisputesPalletError: {
_enum: ['DuplicateDisputeStatementSets', 'AncientDisputeStatement', 'ValidatorIndexOutOfBounds', 'InvalidSignature', 'DuplicateStatement', 'PotentialSpam', 'SingleSidedDispute']
},
/**
* Lookup512: xcm::v0::order::Order<Call>
**/
XcmV0Order: {
_enum: {
Null: 'Null',
DepositAsset: {
assets: 'Vec<XcmV0MultiAsset>',
dest: 'XcmV0MultiLocation',
},
DepositReserveAsset: {
assets: 'Vec<XcmV0MultiAsset>',
dest: 'XcmV0MultiLocation',
effects: 'Vec<XcmV0Order>',
},
ExchangeAsset: {
give: 'Vec<XcmV0MultiAsset>',
receive: 'Vec<XcmV0MultiAsset>',
},
InitiateReserveWithdraw: {
assets: 'Vec<XcmV0MultiAsset>',
reserve: 'XcmV0MultiLocation',
effects: 'Vec<XcmV0Order>',
},
InitiateTeleport: {
assets: 'Vec<XcmV0MultiAsset>',
dest: 'XcmV0MultiLocation',
effects: 'Vec<XcmV0Order>',
},
QueryHolding: {
queryId: 'Compact<u64>',
dest: 'XcmV0MultiLocation',
assets: 'Vec<XcmV0MultiAsset>',
},
BuyExecution: {
fees: 'XcmV0MultiAsset',
weight: 'u64',
debt: 'u64',
haltOnError: 'bool',
xcm: 'Vec<XcmV0Xcm>'
}
}
},
/**
* Lookup514: xcm::v0::Response
**/
XcmV0Response: {
_enum: {
Assets: 'Vec<XcmV0MultiAsset>'
}
},
/**
* Lookup515: xcm::v1::Xcm<Call>
**/
XcmV1Xcm: {
_enum: {
WithdrawAsset: {
assets: 'XcmV1MultiassetMultiAssets',
effects: 'Vec<XcmV1Order>',
},
ReserveAssetDeposited: {
assets: 'XcmV1MultiassetMultiAssets',
effects: 'Vec<XcmV1Order>',
},
ReceiveTeleportedAsset: {
assets: 'XcmV1MultiassetMultiAssets',
effects: 'Vec<XcmV1Order>',
},
QueryResponse: {
queryId: 'Compact<u64>',
response: 'XcmV1Response',
},
TransferAsset: {
assets: 'XcmV1MultiassetMultiAssets',
beneficiary: 'XcmV1MultiLocation',
},
TransferReserveAsset: {
assets: 'XcmV1MultiassetMultiAssets',
dest: 'XcmV1MultiLocation',
effects: 'Vec<XcmV1Order>',
},
Transact: {
originType: 'XcmV0OriginKind',
requireWeightAtMost: 'u64',
call: 'XcmDoubleEncoded',
},
HrmpNewChannelOpenRequest: {
sender: 'Compact<u32>',
maxMessageSize: 'Compact<u32>',
maxCapacity: 'Compact<u32>',
},
HrmpChannelAccepted: {
recipient: 'Compact<u32>',
},
HrmpChannelClosing: {
initiator: 'Compact<u32>',
sender: 'Compact<u32>',
recipient: 'Compact<u32>',
},
RelayedFrom: {
who: 'XcmV1MultilocationJunctions',
message: 'XcmV1Xcm',
},
SubscribeVersion: {
queryId: 'Compact<u64>',
maxResponseWeight: 'Compact<u64>',
},
UnsubscribeVersion: 'Null'
}
},
/**
* Lookup517: xcm::v1::order::Order<Call>
**/
XcmV1Order: {
_enum: {
Noop: 'Null',
DepositAsset: {
assets: 'XcmV1MultiassetMultiAssetFilter',
maxAssets: 'u32',
beneficiary: 'XcmV1MultiLocation',
},
DepositReserveAsset: {
assets: 'XcmV1MultiassetMultiAssetFilter',
maxAssets: 'u32',
dest: 'XcmV1MultiLocation',
effects: 'Vec<XcmV1Order>',
},
ExchangeAsset: {
give: 'XcmV1MultiassetMultiAssetFilter',
receive: 'XcmV1MultiassetMultiAssets',
},
InitiateReserveWithdraw: {
assets: 'XcmV1MultiassetMultiAssetFilter',
reserve: 'XcmV1MultiLocation',
effects: 'Vec<XcmV1Order>',
},
InitiateTeleport: {
assets: 'XcmV1MultiassetMultiAssetFilter',
dest: 'XcmV1MultiLocation',
effects: 'Vec<XcmV1Order>',
},
QueryHolding: {
queryId: 'Compact<u64>',
dest: 'XcmV1MultiLocation',
assets: 'XcmV1MultiassetMultiAssetFilter',
},
BuyExecution: {
fees: 'XcmV1MultiAsset',
weight: 'u64',
debt: 'u64',
haltOnError: 'bool',
instructions: 'Vec<XcmV1Xcm>'
}
}
},
/**
* Lookup519: xcm::v1::Response
**/
XcmV1Response: {
_enum: {
Assets: 'XcmV1MultiassetMultiAssets',
Version: 'u32'
}
},
/**
* Lookup687: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/
PalletXcmQueryStatus: {
_enum: {
Pending: {
responder: 'XcmVersionedMultiLocation',
maybeNotify: 'Option<(u8,u8)>',
timeout: 'u32',
},
VersionNotifier: {
origin: 'XcmVersionedMultiLocation',
isActive: 'bool',
},
Ready: {
response: 'XcmVersionedResponse',
at: 'u32'
}
}
},
/**
* Lookup690: xcm::VersionedResponse
**/
XcmVersionedResponse: {
_enum: {
V0: 'XcmV0Response',
V1: 'XcmV1Response',
V2: 'XcmV2Response'
}
},
/**
* Lookup696: pallet_xcm::pallet::VersionMigrationStage
**/
PalletXcmVersionMigrationStage: {
_enum: {
MigrateSupportedVersion: 'Null',
MigrateVersionNotifiers: 'Null',
NotifyCurrentTargets: 'Option<Bytes>',
MigrateAndNotifyOldTargets: 'Null'
}
},
/**
* Lookup697: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
* Lookup708: kusama_runtime::Runtime
* Lookup715: kusama_runtime::Runtime
**/
KusamaRuntimeRuntime: 'Null'
};
File diff suppressed because it is too large Load Diff
+225 -127
View File
@@ -66,12 +66,27 @@ export default {
**/
FrameSystemEvent: {
_enum: {
ExtrinsicSuccess: 'FrameSupportWeightsDispatchInfo',
ExtrinsicFailed: '(SpRuntimeDispatchError,FrameSupportWeightsDispatchInfo)',
ExtrinsicSuccess: {
dispatchInfo: 'FrameSupportWeightsDispatchInfo',
},
ExtrinsicFailed: {
dispatchError: 'SpRuntimeDispatchError',
dispatchInfo: 'FrameSupportWeightsDispatchInfo',
},
CodeUpdated: 'Null',
NewAccount: 'AccountId32',
KilledAccount: 'AccountId32',
Remarked: '(AccountId32,H256)'
NewAccount: {
account: 'AccountId32',
},
KilledAccount: {
account: 'AccountId32',
},
Remarked: {
_alias: {
hash_: 'hash',
},
sender: 'AccountId32',
hash_: 'H256'
}
}
},
/**
@@ -135,7 +150,9 @@ export default {
},
BatchCompleted: 'Null',
ItemCompleted: 'Null',
DispatchedAs: 'Result<Null, SpRuntimeDispatchError>'
DispatchedAs: {
result: 'Result<Null, SpRuntimeDispatchError>'
}
}
},
/**
@@ -345,7 +362,16 @@ export default {
reaper: 'AccountId32',
},
Blacklisted: {
proposalHash: 'H256'
proposalHash: 'H256',
},
Voted: {
voter: 'AccountId32',
refIndex: 'u32',
vote: 'PalletDemocracyVoteAccountVote',
},
Seconded: {
seconder: 'AccountId32',
propIndex: 'u32'
}
}
},
@@ -356,7 +382,22 @@ export default {
_enum: ['SuperMajorityApprove', 'SuperMajorityAgainst', 'SimpleMajority']
},
/**
* Lookup40: pallet_collective::pallet::Event<T, I>
* Lookup40: pallet_democracy::vote::AccountVote<Balance>
**/
PalletDemocracyVoteAccountVote: {
_enum: {
Standard: {
vote: 'Vote',
balance: 'u128',
},
Split: {
aye: 'u128',
nay: 'u128'
}
}
},
/**
* Lookup42: pallet_collective::pallet::Event<T, I>
**/
PalletCollectiveEvent: {
_enum: {
@@ -395,7 +436,7 @@ export default {
}
},
/**
* Lookup42: pallet_elections_phragmen::pallet::Event<T>
* Lookup44: pallet_elections_phragmen::pallet::Event<T>
**/
PalletElectionsPhragmenEvent: {
_enum: {
@@ -421,13 +462,13 @@ export default {
}
},
/**
* Lookup45: pallet_membership::pallet::Event<T, I>
* Lookup47: pallet_membership::pallet::Event<T, I>
**/
PalletMembershipEvent: {
_enum: ['MemberAdded', 'MemberRemoved', 'MembersSwapped', 'MembersReset', 'KeyChanged', 'Dummy']
},
/**
* Lookup46: pallet_grandpa::pallet::Event
* Lookup48: pallet_grandpa::pallet::Event
**/
PalletGrandpaEvent: {
_enum: {
@@ -439,29 +480,46 @@ export default {
}
},
/**
* Lookup49: sp_finality_grandpa::app::Public
* Lookup51: sp_finality_grandpa::app::Public
**/
SpFinalityGrandpaAppPublic: 'SpCoreEd25519Public',
/**
* Lookup50: sp_core::ed25519::Public
* Lookup52: sp_core::ed25519::Public
**/
SpCoreEd25519Public: '[u8;32]',
/**
* Lookup51: pallet_treasury::pallet::Event<T, I>
* Lookup53: pallet_treasury::pallet::Event<T, I>
**/
PalletTreasuryEvent: {
_enum: {
Proposed: 'u32',
Spending: 'u128',
Awarded: '(u32,u128,AccountId32)',
Rejected: '(u32,u128)',
Burnt: 'u128',
Rollover: 'u128',
Deposit: 'u128'
Proposed: {
proposalIndex: 'u32',
},
Spending: {
budgetRemaining: 'u128',
},
Awarded: {
proposalIndex: 'u32',
award: 'u128',
account: 'AccountId32',
},
Rejected: {
proposalIndex: 'u32',
slashed: 'u128',
},
Burnt: {
burntFunds: 'u128',
},
Rollover: {
rolloverBalance: 'u128',
},
Deposit: {
value: 'u128'
}
}
},
/**
* Lookup52: pallet_contracts::pallet::Event<T>
* Lookup54: pallet_contracts::pallet::Event<T>
**/
PalletContractsEvent: {
_enum: {
@@ -489,7 +547,7 @@ export default {
}
},
/**
* Lookup53: pallet_sudo::pallet::Event<T>
* Lookup55: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -505,7 +563,7 @@ export default {
}
},
/**
* Lookup54: pallet_im_online::pallet::Event<T>
* Lookup56: pallet_im_online::pallet::Event<T>
**/
PalletImOnlineEvent: {
_enum: {
@@ -519,15 +577,15 @@ export default {
}
},
/**
* Lookup55: pallet_im_online::sr25519::app_sr25519::Public
* Lookup57: pallet_im_online::sr25519::app_sr25519::Public
**/
PalletImOnlineSr25519AppSr25519Public: 'SpCoreSr25519Public',
/**
* Lookup56: sp_core::sr25519::Public
* Lookup58: sp_core::sr25519::Public
**/
SpCoreSr25519Public: '[u8;32]',
/**
* Lookup59: pallet_staking::Exposure<sp_core::crypto::AccountId32, Balance>
* Lookup61: pallet_staking::Exposure<sp_core::crypto::AccountId32, Balance>
**/
PalletStakingExposure: {
total: 'Compact<u128>',
@@ -535,14 +593,14 @@ export default {
others: 'Vec<PalletStakingIndividualExposure>'
},
/**
* Lookup62: pallet_staking::IndividualExposure<sp_core::crypto::AccountId32, Balance>
* Lookup64: pallet_staking::IndividualExposure<sp_core::crypto::AccountId32, Balance>
**/
PalletStakingIndividualExposure: {
who: 'AccountId32',
value: 'Compact<u128>'
},
/**
* Lookup63: pallet_offences::pallet::Event
* Lookup65: pallet_offences::pallet::Event
**/
PalletOffencesEvent: {
_enum: {
@@ -553,7 +611,7 @@ export default {
}
},
/**
* Lookup65: pallet_identity::pallet::Event<T>
* Lookup67: pallet_identity::pallet::Event<T>
**/
PalletIdentityEvent: {
_enum: {
@@ -601,30 +659,70 @@ export default {
}
},
/**
* Lookup66: pallet_society::pallet::Event<T, I>
* Lookup68: pallet_society::pallet::Event<T, I>
**/
PalletSocietyEvent: {
_enum: {
Founded: 'AccountId32',
Bid: '(AccountId32,u128)',
Vouch: '(AccountId32,u128,AccountId32)',
AutoUnbid: 'AccountId32',
Unbid: 'AccountId32',
Unvouch: 'AccountId32',
Inducted: '(AccountId32,Vec<AccountId32>)',
SuspendedMemberJudgement: '(AccountId32,bool)',
CandidateSuspended: 'AccountId32',
MemberSuspended: 'AccountId32',
Challenged: 'AccountId32',
Vote: '(AccountId32,AccountId32,bool)',
DefenderVote: '(AccountId32,bool)',
NewMaxMembers: 'u32',
Unfounded: 'AccountId32',
Deposit: 'u128'
Founded: {
founder: 'AccountId32',
},
Bid: {
candidateId: 'AccountId32',
offer: 'u128',
},
Vouch: {
candidateId: 'AccountId32',
offer: 'u128',
vouching: 'AccountId32',
},
AutoUnbid: {
candidate: 'AccountId32',
},
Unbid: {
candidate: 'AccountId32',
},
Unvouch: {
candidate: 'AccountId32',
},
Inducted: {
primary: 'AccountId32',
candidates: 'Vec<AccountId32>',
},
SuspendedMemberJudgement: {
who: 'AccountId32',
judged: 'bool',
},
CandidateSuspended: {
candidate: 'AccountId32',
},
MemberSuspended: {
member: 'AccountId32',
},
Challenged: {
member: 'AccountId32',
},
Vote: {
candidate: 'AccountId32',
voter: 'AccountId32',
vote: 'bool',
},
DefenderVote: {
voter: 'AccountId32',
vote: 'bool',
},
NewMaxMembers: {
max: 'u32',
},
Unfounded: {
founder: 'AccountId32',
},
Deposit: {
value: 'u128'
}
}
},
/**
* Lookup67: pallet_recovery::pallet::Event<T>
* Lookup69: pallet_recovery::pallet::Event<T>
**/
PalletRecoveryEvent: {
_enum: {
@@ -654,7 +752,7 @@ export default {
}
},
/**
* Lookup68: pallet_vesting::pallet::Event<T>
* Lookup70: pallet_vesting::pallet::Event<T>
**/
PalletVestingEvent: {
_enum: {
@@ -668,17 +766,27 @@ export default {
}
},
/**
* Lookup69: pallet_scheduler::pallet::Event<T>
* Lookup71: pallet_scheduler::pallet::Event<T>
**/
PalletSchedulerEvent: {
_enum: {
Scheduled: '(u32,u32)',
Canceled: '(u32,u32)',
Dispatched: '((u32,u32),Option<Bytes>,Result<Null, SpRuntimeDispatchError>)'
Scheduled: {
when: 'u32',
index: 'u32',
},
Canceled: {
when: 'u32',
index: 'u32',
},
Dispatched: {
task: '(u32,u32)',
id: 'Option<Bytes>',
result: 'Result<Null, SpRuntimeDispatchError>'
}
}
},
/**
* Lookup72: pallet_proxy::pallet::Event<T>
* Lookup74: pallet_proxy::pallet::Event<T>
**/
PalletProxyEvent: {
_enum: {
@@ -705,13 +813,13 @@ export default {
}
},
/**
* Lookup73: node_runtime::ProxyType
* Lookup75: node_runtime::ProxyType
**/
NodeRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking']
},
/**
* Lookup75: pallet_multisig::pallet::Event<T>
* Lookup77: pallet_multisig::pallet::Event<T>
**/
PalletMultisigEvent: {
_enum: {
@@ -742,14 +850,14 @@ export default {
}
},
/**
* Lookup76: pallet_multisig::Timepoint<BlockNumber>
* Lookup78: pallet_multisig::Timepoint<BlockNumber>
**/
PalletMultisigTimepoint: {
height: 'u32',
index: 'u32'
},
/**
* Lookup77: pallet_bounties::pallet::Event<T>
* Lookup79: pallet_bounties::pallet::Event<T>
**/
PalletBountiesEvent: {
_enum: {
@@ -781,7 +889,7 @@ export default {
}
},
/**
* Lookup78: pallet_tips::pallet::Event<T>
* Lookup80: pallet_tips::pallet::Event<T>
**/
PalletTipsEvent: {
_enum: {
@@ -807,7 +915,7 @@ export default {
}
},
/**
* Lookup79: pallet_assets::pallet::Event<T, I>
* Lookup81: pallet_assets::pallet::Event<T, I>
**/
PalletAssetsEvent: {
_enum: {
@@ -897,7 +1005,7 @@ export default {
}
},
/**
* Lookup80: pallet_lottery::pallet::Event<T>
* Lookup82: pallet_lottery::pallet::Event<T>
**/
PalletLotteryEvent: {
_enum: {
@@ -914,7 +1022,7 @@ export default {
}
},
/**
* Lookup82: pallet_gilt::pallet::Event<T>
* Lookup84: pallet_gilt::pallet::Event<T>
**/
PalletGiltEvent: {
_enum: {
@@ -943,7 +1051,7 @@ export default {
}
},
/**
* Lookup83: pallet_uniques::pallet::Event<T, I>
* Lookup85: pallet_uniques::pallet::Event<T, I>
**/
PalletUniquesEvent: {
_enum: {
@@ -1050,17 +1158,21 @@ export default {
}
},
/**
* Lookup89: pallet_transaction_storage::pallet::Event<T>
* Lookup91: pallet_transaction_storage::pallet::Event<T>
**/
PalletTransactionStorageEvent: {
_enum: {
Stored: 'u32',
Renewed: 'u32',
Stored: {
index: 'u32',
},
Renewed: {
index: 'u32',
},
ProofChecked: 'Null'
}
},
/**
* Lookup90: pallet_bags_list::pallet::Event<T>
* Lookup92: pallet_bags_list::pallet::Event<T>
**/
PalletBagsListEvent: {
_enum: {
@@ -1072,7 +1184,7 @@ export default {
}
},
/**
* Lookup91: frame_system::Phase
* Lookup93: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -1082,14 +1194,14 @@ export default {
}
},
/**
* Lookup94: frame_system::LastRuntimeUpgradeInfo
* Lookup96: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
* Lookup97: frame_system::pallet::Call<T>
* Lookup99: frame_system::pallet::Call<T>
**/
FrameSystemCall: {
_enum: {
@@ -1127,7 +1239,7 @@ export default {
}
},
/**
* Lookup102: frame_system::limits::BlockWeights
* Lookup104: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -1135,7 +1247,7 @@ export default {
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
* Lookup103: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
* Lookup105: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -1143,7 +1255,7 @@ export default {
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
* Lookup104: frame_system::limits::WeightsPerClass
* Lookup106: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -1152,13 +1264,13 @@ export default {
reserved: 'Option<u64>'
},
/**
* Lookup106: frame_system::limits::BlockLength
* Lookup108: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
* Lookup107: frame_support::weights::PerDispatchClass<T>
* Lookup109: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -1166,14 +1278,14 @@ export default {
mandatory: 'u32'
},
/**
* Lookup108: frame_support::weights::RuntimeDbWeight
* Lookup110: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
* Lookup109: sp_version::RuntimeVersion
* Lookup111: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -1185,13 +1297,13 @@ export default {
transactionVersion: 'u32'
},
/**
* Lookup114: frame_system::pallet::Error<T>
* Lookup116: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
* Lookup115: pallet_utility::pallet::Call<T>
* Lookup117: pallet_utility::pallet::Call<T>
**/
PalletUtilityCall: {
_enum: {
@@ -1212,7 +1324,7 @@ export default {
}
},
/**
* Lookup118: pallet_babe::pallet::Call<T>
* Lookup120: pallet_babe::pallet::Call<T>
**/
PalletBabeCall: {
_enum: {
@@ -1230,7 +1342,7 @@ export default {
}
},
/**
* Lookup119: sp_consensus_slots::EquivocationProof<sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>, sp_consensus_babe::app::Public>
* Lookup121: sp_consensus_slots::EquivocationProof<sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>, sp_consensus_babe::app::Public>
**/
SpConsensusSlotsEquivocationProof: {
offender: 'SpConsensusBabeAppPublic',
@@ -1239,7 +1351,7 @@ export default {
secondHeader: 'SpRuntimeHeader'
},
/**
* Lookup120: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
* Lookup122: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>
**/
SpRuntimeHeader: {
parentHash: 'H256',
@@ -1249,15 +1361,15 @@ export default {
digest: 'SpRuntimeDigest'
},
/**
* Lookup121: sp_runtime::traits::BlakeTwo256
* Lookup123: sp_runtime::traits::BlakeTwo256
**/
SpRuntimeBlakeTwo256: 'Null',
/**
* Lookup122: sp_consensus_babe::app::Public
* Lookup124: sp_consensus_babe::app::Public
**/
SpConsensusBabeAppPublic: 'SpCoreSr25519Public',
/**
* Lookup124: sp_session::MembershipProof
* Lookup126: sp_session::MembershipProof
**/
SpSessionMembershipProof: {
session: 'u32',
@@ -1265,7 +1377,7 @@ export default {
validatorCount: 'u32'
},
/**
* Lookup125: sp_consensus_babe::digests::NextConfigDescriptor
* Lookup127: sp_consensus_babe::digests::NextConfigDescriptor
**/
SpConsensusBabeDigestsNextConfigDescriptor: {
_enum: {
@@ -1277,13 +1389,13 @@ export default {
}
},
/**
* Lookup127: sp_consensus_babe::AllowedSlots
* Lookup129: sp_consensus_babe::AllowedSlots
**/
SpConsensusBabeAllowedSlots: {
_enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots']
},
/**
* Lookup128: pallet_timestamp::pallet::Call<T>
* Lookup130: pallet_timestamp::pallet::Call<T>
**/
PalletTimestampCall: {
_enum: {
@@ -1293,7 +1405,7 @@ export default {
}
},
/**
* Lookup130: pallet_authorship::pallet::Call<T>
* Lookup132: pallet_authorship::pallet::Call<T>
**/
PalletAuthorshipCall: {
_enum: {
@@ -1303,7 +1415,7 @@ export default {
}
},
/**
* Lookup132: pallet_indices::pallet::Call<T>
* Lookup134: pallet_indices::pallet::Call<T>
**/
PalletIndicesCall: {
_enum: {
@@ -1334,7 +1446,7 @@ export default {
}
},
/**
* Lookup133: pallet_balances::pallet::Call<T, I>
* Lookup135: pallet_balances::pallet::Call<T, I>
**/
PalletBalancesCall: {
_enum: {
@@ -1367,7 +1479,7 @@ export default {
}
},
/**
* Lookup136: pallet_election_provider_multi_phase::pallet::Call<T>
* Lookup138: pallet_election_provider_multi_phase::pallet::Call<T>
**/
PalletElectionProviderMultiPhaseCall: {
_enum: {
@@ -1388,7 +1500,7 @@ export default {
}
},
/**
* Lookup137: pallet_election_provider_multi_phase::RawSolution<node_runtime::NposSolution16>
* Lookup139: pallet_election_provider_multi_phase::RawSolution<node_runtime::NposSolution16>
**/
PalletElectionProviderMultiPhaseRawSolution: {
solution: 'NodeRuntimeNposSolution16',
@@ -1396,7 +1508,7 @@ export default {
round: 'u32'
},
/**
* Lookup138: node_runtime::NposSolution16
* Lookup140: node_runtime::NposSolution16
**/
NodeRuntimeNposSolution16: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -1417,21 +1529,21 @@ export default {
votes16: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);15],Compact<u16>)>'
},
/**
* Lookup190: pallet_election_provider_multi_phase::SolutionOrSnapshotSize
* Lookup192: pallet_election_provider_multi_phase::SolutionOrSnapshotSize
**/
PalletElectionProviderMultiPhaseSolutionOrSnapshotSize: {
voters: 'Compact<u32>',
targets: 'Compact<u32>'
},
/**
* Lookup194: sp_npos_elections::Support<sp_core::crypto::AccountId32>
* Lookup196: sp_npos_elections::Support<sp_core::crypto::AccountId32>
**/
SpNposElectionsSupport: {
total: 'u128',
voters: 'Vec<(AccountId32,u128)>'
},
/**
* Lookup195: pallet_staking::pallet::pallet::Call<T>
* Lookup197: pallet_staking::pallet::pallet::Call<T>
**/
PalletStakingPalletCall: {
_enum: {
@@ -1506,12 +1618,13 @@ export default {
kick: {
who: 'Vec<MultiAddress>',
},
set_staking_limits: {
set_staking_configs: {
minNominatorBond: 'u128',
minValidatorBond: 'u128',
maxNominatorCount: 'Option<u32>',
maxValidatorCount: 'Option<u32>',
threshold: 'Option<Percent>',
chillThreshold: 'Option<Percent>',
minCommission: 'Perbill',
},
chill_other: {
controller: 'AccountId32'
@@ -1519,7 +1632,7 @@ export default {
}
},
/**
* Lookup196: pallet_staking::RewardDestination<sp_core::crypto::AccountId32>
* Lookup198: pallet_staking::RewardDestination<sp_core::crypto::AccountId32>
**/
PalletStakingRewardDestination: {
_enum: {
@@ -1531,14 +1644,14 @@ export default {
}
},
/**
* Lookup197: pallet_staking::ValidatorPrefs
* Lookup199: pallet_staking::ValidatorPrefs
**/
PalletStakingValidatorPrefs: {
commission: 'Compact<Perbill>',
blocked: 'bool'
},
/**
* Lookup202: pallet_session::pallet::Call<T>
* Lookup204: pallet_session::pallet::Call<T>
**/
PalletSessionCall: {
_enum: {
@@ -1553,7 +1666,7 @@ export default {
}
},
/**
* Lookup203: node_runtime::SessionKeys
* Lookup205: node_runtime::SessionKeys
**/
NodeRuntimeSessionKeys: {
grandpa: 'SpFinalityGrandpaAppPublic',
@@ -1562,11 +1675,11 @@ export default {
authorityDiscovery: 'SpAuthorityDiscoveryAppPublic'
},
/**
* Lookup204: sp_authority_discovery::app::Public
* Lookup206: sp_authority_discovery::app::Public
**/
SpAuthorityDiscoveryAppPublic: 'SpCoreSr25519Public',
/**
* Lookup205: pallet_democracy::pallet::Call<T>
* Lookup207: pallet_democracy::pallet::Call<T>
**/
PalletDemocracyCall: {
_enum: {
@@ -1654,21 +1767,6 @@ export default {
}
}
},
/**
* Lookup206: pallet_democracy::vote::AccountVote<Balance>
**/
PalletDemocracyVoteAccountVote: {
_enum: {
Standard: {
vote: 'Vote',
balance: 'u128',
},
Split: {
aye: 'u128',
nay: 'u128'
}
}
},
/**
* Lookup208: pallet_democracy::conviction::Conviction
**/
@@ -2967,7 +3065,7 @@ export default {
* Lookup367: pallet_staking::pallet::pallet::Error<T>
**/
PalletStakingPalletError: {
_enum: ['NotController', 'NotStash', 'AlreadyBonded', 'AlreadyPaired', 'EmptyTargets', 'DuplicateIndex', 'InvalidSlashIndex', 'InsufficientBond', 'NoMoreChunks', 'NoUnlockChunk', 'FundedTarget', 'InvalidEraToReward', 'InvalidNumberOfNominations', 'NotSortedAndUnique', 'AlreadyClaimed', 'IncorrectHistoryDepth', 'IncorrectSlashingSpans', 'BadState', 'TooManyTargets', 'BadTarget', 'CannotChillOther', 'TooManyNominators', 'TooManyValidators']
_enum: ['NotController', 'NotStash', 'AlreadyBonded', 'AlreadyPaired', 'EmptyTargets', 'DuplicateIndex', 'InvalidSlashIndex', 'InsufficientBond', 'NoMoreChunks', 'NoUnlockChunk', 'FundedTarget', 'InvalidEraToReward', 'InvalidNumberOfNominations', 'NotSortedAndUnique', 'AlreadyClaimed', 'IncorrectHistoryDepth', 'IncorrectSlashingSpans', 'BadState', 'TooManyTargets', 'BadTarget', 'CannotChillOther', 'TooManyNominators', 'TooManyValidators', 'CommissionTooLow']
},
/**
* Lookup371: sp_core::crypto::KeyTypeId
@@ -3169,7 +3267,7 @@ export default {
initial: 'Compact<u32>',
maximum: 'Compact<u32>',
refcount: 'Compact<u64>',
Reserved: 'Option<Null>',
reserved: 'Option<Null>',
code: 'Bytes',
originalCodeLen: 'u32'
},
@@ -3179,7 +3277,7 @@ export default {
PalletContractsStorageRawContractInfo: {
trieId: 'Bytes',
codeHash: 'H256',
Reserved: 'Option<Null>'
reserved: 'Option<Null>'
},
/**
* Lookup412: pallet_contracts::storage::DeletedContract
@@ -3216,14 +3314,14 @@ export default {
**/
PalletContractsScheduleInstructionWeights: {
_alias: {
r_If: 'r#If'
r_if: 'r#if'
},
version: 'u32',
i64const: 'u32',
i64load: 'u32',
i64store: 'u32',
select: 'u32',
r_If: 'u32',
r_if: 'u32',
br: 'u32',
brIf: 'u32',
brTable: 'u32',
@@ -3276,7 +3374,7 @@ export default {
**/
PalletContractsScheduleHostFnWeights: {
_alias: {
r_Return: 'r#Return'
r_return: 'r#return'
},
caller: 'u64',
address: 'u64',
@@ -3291,7 +3389,7 @@ export default {
gas: 'u64',
input: 'u64',
inputPerByte: 'u64',
r_Return: 'u64',
r_return: 'u64',
returnPerByte: 'u64',
terminate: 'u64',
random: 'u64',
+45 -849
View File
@@ -2,12 +2,11 @@
/* eslint-disable */
declare module '@polkadot/types/lookup' {
import type { BitVec, Compact, Enum, Null, Option, Struct, Vec, u16, u32 } from '@polkadot/types';
import type { H256, PerU16 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
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 (71) */
/** @name KusamaRuntimeProxyType (73) */
export interface KusamaRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -18,483 +17,31 @@ import type { ITuple } from '@polkadot/types/types';
readonly isAuction: boolean;
}
/** @name PalletXcmEvent (104) */
export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
readonly isSent: boolean;
readonly asSent: ITuple<[XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;
readonly isUnexpectedResponse: boolean;
readonly asUnexpectedResponse: ITuple<[XcmV1MultiLocation, u64]>;
readonly isResponseReady: boolean;
readonly asResponseReady: ITuple<[u64, XcmV2Response]>;
readonly isNotified: boolean;
readonly asNotified: ITuple<[u64, u8, u8]>;
readonly isNotifyOverweight: boolean;
readonly asNotifyOverweight: ITuple<[u64, u8, u8, u64, u64]>;
readonly isNotifyDispatchError: boolean;
readonly asNotifyDispatchError: ITuple<[u64, u8, u8]>;
readonly isNotifyDecodeFailed: boolean;
readonly asNotifyDecodeFailed: ITuple<[u64, u8, u8]>;
readonly isInvalidResponder: boolean;
readonly asInvalidResponder: ITuple<[XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;
readonly isInvalidResponderVersion: boolean;
readonly asInvalidResponderVersion: ITuple<[XcmV1MultiLocation, u64]>;
readonly isResponseTaken: boolean;
readonly asResponseTaken: u64;
readonly isAssetsTrapped: boolean;
readonly asAssetsTrapped: ITuple<[H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;
readonly isVersionChangeNotified: boolean;
readonly asVersionChangeNotified: ITuple<[XcmV1MultiLocation, u32]>;
readonly isSupportedVersionChanged: boolean;
readonly asSupportedVersionChanged: ITuple<[XcmV1MultiLocation, u32]>;
readonly isNotifyTargetSendFail: boolean;
readonly asNotifyTargetSendFail: ITuple<[XcmV1MultiLocation, u64, XcmV2TraitsError]>;
readonly isNotifyTargetMigrationFail: boolean;
readonly asNotifyTargetMigrationFail: ITuple<[XcmVersionedMultiLocation, u64]>;
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (102) */
export interface PolkadotRuntimeParachainsDisputesPalletEvent extends Enum {
readonly isDisputeInitiated: boolean;
readonly asDisputeInitiated: ITuple<[H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>;
readonly isDisputeConcluded: boolean;
readonly asDisputeConcluded: ITuple<[H256, PolkadotRuntimeParachainsDisputesDisputeResult]>;
readonly isDisputeTimedOut: boolean;
readonly asDisputeTimedOut: H256;
readonly isRevert: boolean;
readonly asRevert: u32;
}
/** @name XcmV1MultiLocation (105) */
export interface XcmV1MultiLocation extends Struct {
readonly parents: u8;
readonly interior: XcmV1MultilocationJunctions;
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (104) */
export interface PolkadotRuntimeParachainsDisputesDisputeLocation extends Enum {
readonly isLocal: boolean;
readonly isRemote: boolean;
}
/** @name XcmV1MultilocationJunctions (106) */
export interface XcmV1MultilocationJunctions extends Enum {
readonly isHere: boolean;
readonly isX1: boolean;
readonly asX1: XcmV1Junction;
readonly isX2: boolean;
readonly asX2: ITuple<[XcmV1Junction, XcmV1Junction]>;
readonly isX3: boolean;
readonly asX3: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX4: boolean;
readonly asX4: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX5: boolean;
readonly asX5: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX6: boolean;
readonly asX6: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX7: boolean;
readonly asX7: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
readonly isX8: boolean;
readonly asX8: ITuple<[XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction, XcmV1Junction]>;
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (105) */
export interface PolkadotRuntimeParachainsDisputesDisputeResult extends Enum {
readonly isValid: boolean;
readonly isInvalid: boolean;
}
/** @name XcmV1Junction (107) */
export interface XcmV1Junction extends Enum {
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
readonly network: XcmV0JunctionNetworkId;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
readonly network: XcmV0JunctionNetworkId;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
readonly network: XcmV0JunctionNetworkId;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
readonly asPalletInstance: u8;
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
readonly asGeneralKey: Bytes;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
readonly id: XcmV0JunctionBodyId;
readonly part: XcmV0JunctionBodyPart;
} & Struct;
}
/** @name XcmV0JunctionNetworkId (109) */
export interface XcmV0JunctionNetworkId extends Enum {
readonly isAny: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
readonly isPolkadot: boolean;
readonly isKusama: boolean;
}
/** @name XcmV0JunctionBodyId (111) */
export interface XcmV0JunctionBodyId extends Enum {
readonly isUnit: boolean;
readonly isNamed: boolean;
readonly asNamed: Bytes;
readonly isIndex: boolean;
readonly asIndex: Compact<u32>;
readonly isExecutive: boolean;
readonly isTechnical: boolean;
readonly isLegislative: boolean;
readonly isJudicial: boolean;
}
/** @name XcmV0JunctionBodyPart (112) */
export interface XcmV0JunctionBodyPart extends Enum {
readonly isVoice: boolean;
readonly isMembers: boolean;
readonly asMembers: {
readonly count: Compact<u32>;
} & Struct;
readonly isFraction: boolean;
readonly asFraction: {
readonly nom: Compact<u32>;
readonly denom: Compact<u32>;
} & Struct;
readonly isAtLeastProportion: boolean;
readonly asAtLeastProportion: {
readonly nom: Compact<u32>;
readonly denom: Compact<u32>;
} & Struct;
readonly isMoreThanProportion: boolean;
readonly asMoreThanProportion: {
readonly nom: Compact<u32>;
readonly denom: Compact<u32>;
} & Struct;
}
/** @name XcmV2Xcm (113) */
export interface XcmV2Xcm extends Vec<XcmV2Instruction> {}
/** @name XcmV2Instruction (115) */
export interface XcmV2Instruction extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: XcmV1MultiassetMultiAssets;
readonly isReserveAssetDeposited: boolean;
readonly asReserveAssetDeposited: XcmV1MultiassetMultiAssets;
readonly isReceiveTeleportedAsset: boolean;
readonly asReceiveTeleportedAsset: XcmV1MultiassetMultiAssets;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
readonly response: XcmV2Response;
readonly maxWeight: Compact<u64>;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly beneficiary: XcmV1MultiLocation;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly dest: XcmV1MultiLocation;
readonly xcm: XcmV2Xcm;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
readonly originType: XcmV0OriginKind;
readonly requireWeightAtMost: Compact<u64>;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
readonly asHrmpNewChannelOpenRequest: {
readonly sender: Compact<u32>;
readonly maxMessageSize: Compact<u32>;
readonly maxCapacity: Compact<u32>;
} & Struct;
readonly isHrmpChannelAccepted: boolean;
readonly asHrmpChannelAccepted: {
readonly recipient: Compact<u32>;
} & Struct;
readonly isHrmpChannelClosing: boolean;
readonly asHrmpChannelClosing: {
readonly initiator: Compact<u32>;
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
readonly isClearOrigin: boolean;
readonly isDescendOrigin: boolean;
readonly asDescendOrigin: XcmV1MultilocationJunctions;
readonly isReportError: boolean;
readonly asReportError: {
readonly queryId: Compact<u64>;
readonly dest: XcmV1MultiLocation;
readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxAssets: Compact<u32>;
readonly beneficiary: XcmV1MultiLocation;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxAssets: Compact<u32>;
readonly dest: XcmV1MultiLocation;
readonly xcm: XcmV2Xcm;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
readonly give: XcmV1MultiassetMultiAssetFilter;
readonly receive: XcmV1MultiassetMultiAssets;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly reserve: XcmV1MultiLocation;
readonly xcm: XcmV2Xcm;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly dest: XcmV1MultiLocation;
readonly xcm: XcmV2Xcm;
} & Struct;
readonly isQueryHolding: boolean;
readonly asQueryHolding: {
readonly queryId: Compact<u64>;
readonly dest: XcmV1MultiLocation;
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: XcmV1MultiAsset;
readonly weightLimit: XcmV2WeightLimit;
} & Struct;
readonly isRefundSurplus: boolean;
readonly isSetErrorHandler: boolean;
readonly asSetErrorHandler: XcmV2Xcm;
readonly isSetAppendix: boolean;
readonly asSetAppendix: XcmV2Xcm;
readonly isClearError: boolean;
readonly isClaimAsset: boolean;
readonly asClaimAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly ticket: XcmV1MultiLocation;
} & Struct;
readonly isTrap: boolean;
readonly asTrap: Compact<u64>;
readonly isSubscribeVersion: boolean;
readonly asSubscribeVersion: {
readonly queryId: Compact<u64>;
readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isUnsubscribeVersion: boolean;
}
/** @name XcmV1MultiassetMultiAssets (116) */
export interface XcmV1MultiassetMultiAssets extends Vec<XcmV1MultiAsset> {}
/** @name XcmV1MultiAsset (118) */
export interface XcmV1MultiAsset extends Struct {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetFungibility;
}
/** @name XcmV1MultiassetAssetId (119) */
export interface XcmV1MultiassetAssetId extends Enum {
readonly isConcrete: boolean;
readonly asConcrete: XcmV1MultiLocation;
readonly isAbstract: boolean;
readonly asAbstract: Bytes;
}
/** @name XcmV1MultiassetFungibility (120) */
export interface XcmV1MultiassetFungibility extends Enum {
readonly isFungible: boolean;
readonly asFungible: Compact<u128>;
readonly isNonFungible: boolean;
readonly asNonFungible: XcmV1MultiassetAssetInstance;
}
/** @name XcmV1MultiassetAssetInstance (121) */
export interface XcmV1MultiassetAssetInstance extends Enum {
readonly isUndefined: boolean;
readonly isIndex: boolean;
readonly asIndex: Compact<u128>;
readonly isArray4: boolean;
readonly asArray4: U8aFixed;
readonly isArray8: boolean;
readonly asArray8: U8aFixed;
readonly isArray16: boolean;
readonly asArray16: U8aFixed;
readonly isArray32: boolean;
readonly asArray32: U8aFixed;
readonly isBlob: boolean;
readonly asBlob: Bytes;
}
/** @name XcmV2Response (123) */
export interface XcmV2Response extends Enum {
readonly isNull: boolean;
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
readonly isExecutionResult: boolean;
readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;
readonly isVersion: boolean;
readonly asVersion: u32;
}
/** @name XcmV0OriginKind (126) */
export interface XcmV0OriginKind extends Enum {
readonly isNative: boolean;
readonly isSovereignAccount: boolean;
readonly isSuperuser: boolean;
readonly isXcm: boolean;
}
/** @name XcmDoubleEncoded (127) */
export interface XcmDoubleEncoded extends Struct {
readonly encoded: Bytes;
}
/** @name XcmV1MultiassetMultiAssetFilter (128) */
export interface XcmV1MultiassetMultiAssetFilter extends Enum {
readonly isDefinite: boolean;
readonly asDefinite: XcmV1MultiassetMultiAssets;
readonly isWild: boolean;
readonly asWild: XcmV1MultiassetWildMultiAsset;
}
/** @name XcmV1MultiassetWildMultiAsset (129) */
export interface XcmV1MultiassetWildMultiAsset extends Enum {
readonly isAll: boolean;
readonly isAllOf: boolean;
readonly asAllOf: {
readonly id: XcmV1MultiassetAssetId;
readonly fun: XcmV1MultiassetWildFungibility;
} & Struct;
}
/** @name XcmV1MultiassetWildFungibility (130) */
export interface XcmV1MultiassetWildFungibility extends Enum {
readonly isFungible: boolean;
readonly isNonFungible: boolean;
}
/** @name XcmV2WeightLimit (131) */
export interface XcmV2WeightLimit extends Enum {
readonly isUnlimited: boolean;
readonly isLimited: boolean;
readonly asLimited: Compact<u64>;
}
/** @name XcmVersionedMultiAssets (133) */
export interface XcmVersionedMultiAssets extends Enum {
readonly isV0: boolean;
readonly asV0: Vec<XcmV0MultiAsset>;
readonly isV1: boolean;
readonly asV1: XcmV1MultiassetMultiAssets;
}
/** @name XcmV0MultiAsset (135) */
export interface XcmV0MultiAsset extends Enum {
readonly isNone: boolean;
readonly isAll: boolean;
readonly isAllFungible: boolean;
readonly isAllNonFungible: boolean;
readonly isAllAbstractFungible: boolean;
readonly asAllAbstractFungible: {
readonly id: Bytes;
} & Struct;
readonly isAllAbstractNonFungible: boolean;
readonly asAllAbstractNonFungible: {
readonly class: Bytes;
} & Struct;
readonly isAllConcreteFungible: boolean;
readonly asAllConcreteFungible: {
readonly id: XcmV0MultiLocation;
} & Struct;
readonly isAllConcreteNonFungible: boolean;
readonly asAllConcreteNonFungible: {
readonly class: XcmV0MultiLocation;
} & Struct;
readonly isAbstractFungible: boolean;
readonly asAbstractFungible: {
readonly id: Bytes;
readonly amount: Compact<u128>;
} & Struct;
readonly isAbstractNonFungible: boolean;
readonly asAbstractNonFungible: {
readonly class: Bytes;
readonly instance: XcmV1MultiassetAssetInstance;
} & Struct;
readonly isConcreteFungible: boolean;
readonly asConcreteFungible: {
readonly id: XcmV0MultiLocation;
readonly amount: Compact<u128>;
} & Struct;
readonly isConcreteNonFungible: boolean;
readonly asConcreteNonFungible: {
readonly class: XcmV0MultiLocation;
readonly instance: XcmV1MultiassetAssetInstance;
} & Struct;
}
/** @name XcmV0MultiLocation (136) */
export interface XcmV0MultiLocation extends Enum {
readonly isNull: boolean;
readonly isX1: boolean;
readonly asX1: XcmV0Junction;
readonly isX2: boolean;
readonly asX2: ITuple<[XcmV0Junction, XcmV0Junction]>;
readonly isX3: boolean;
readonly asX3: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX4: boolean;
readonly asX4: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX5: boolean;
readonly asX5: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX6: boolean;
readonly asX6: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX7: boolean;
readonly asX7: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
readonly isX8: boolean;
readonly asX8: ITuple<[XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction, XcmV0Junction]>;
}
/** @name XcmV0Junction (137) */
export interface XcmV0Junction extends Enum {
readonly isParent: boolean;
readonly isParachain: boolean;
readonly asParachain: Compact<u32>;
readonly isAccountId32: boolean;
readonly asAccountId32: {
readonly network: XcmV0JunctionNetworkId;
readonly id: U8aFixed;
} & Struct;
readonly isAccountIndex64: boolean;
readonly asAccountIndex64: {
readonly network: XcmV0JunctionNetworkId;
readonly index: Compact<u64>;
} & Struct;
readonly isAccountKey20: boolean;
readonly asAccountKey20: {
readonly network: XcmV0JunctionNetworkId;
readonly key: U8aFixed;
} & Struct;
readonly isPalletInstance: boolean;
readonly asPalletInstance: u8;
readonly isGeneralIndex: boolean;
readonly asGeneralIndex: Compact<u128>;
readonly isGeneralKey: boolean;
readonly asGeneralKey: Bytes;
readonly isOnlyChild: boolean;
readonly isPlurality: boolean;
readonly asPlurality: {
readonly id: XcmV0JunctionBodyId;
readonly part: XcmV0JunctionBodyPart;
} & Struct;
}
/** @name XcmVersionedMultiLocation (138) */
export interface XcmVersionedMultiLocation extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiLocation;
readonly isV1: boolean;
readonly asV1: XcmV1MultiLocation;
}
/** @name KusamaRuntimeSessionKeys (238) */
/** @name KusamaRuntimeSessionKeys (244) */
export interface KusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpFinalityGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic;
@@ -504,7 +51,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
}
/** @name KusamaRuntimeOriginCaller (313) */
/** @name KusamaRuntimeOriginCaller (317) */
export interface KusamaRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemRawOrigin;
@@ -519,15 +66,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly asXcmPallet: PalletXcmOrigin;
}
/** @name PalletXcmOrigin (318) */
export interface PalletXcmOrigin extends Enum {
readonly isXcm: boolean;
readonly asXcm: XcmV1MultiLocation;
readonly isResponse: boolean;
readonly asResponse: XcmV1MultiLocation;
}
/** @name KusamaRuntimeNposCompactSolution24 (376) */
/** @name KusamaRuntimeNposCompactSolution24 (380) */
export interface KusamaRuntimeNposCompactSolution24 extends Struct {
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
@@ -555,374 +94,31 @@ import type { ITuple } from '@polkadot/types/types';
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name PalletXcmCall (508) */
export interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
readonly dest: XcmVersionedMultiLocation;
readonly message: XcmVersionedXcm;
} & Struct;
readonly isTeleportAssets: boolean;
readonly asTeleportAssets: {
readonly dest: XcmVersionedMultiLocation;
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
} & Struct;
readonly isReserveTransferAssets: boolean;
readonly asReserveTransferAssets: {
readonly dest: XcmVersionedMultiLocation;
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
} & Struct;
readonly isExecute: boolean;
readonly asExecute: {
readonly message: XcmVersionedXcm;
readonly maxWeight: u64;
} & Struct;
readonly isForceXcmVersion: boolean;
readonly asForceXcmVersion: {
readonly location: XcmV1MultiLocation;
readonly xcmVersion: u32;
} & Struct;
readonly isForceDefaultXcmVersion: boolean;
readonly asForceDefaultXcmVersion: {
readonly maybeXcmVersion: Option<u32>;
} & Struct;
readonly isForceSubscribeVersionNotify: boolean;
readonly asForceSubscribeVersionNotify: {
readonly location: XcmVersionedMultiLocation;
} & Struct;
readonly isForceUnsubscribeVersionNotify: boolean;
readonly asForceUnsubscribeVersionNotify: {
readonly location: XcmVersionedMultiLocation;
} & Struct;
readonly isLimitedReserveTransferAssets: boolean;
readonly asLimitedReserveTransferAssets: {
readonly dest: XcmVersionedMultiLocation;
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
readonly weightLimit: XcmV2WeightLimit;
} & Struct;
readonly isLimitedTeleportAssets: boolean;
readonly asLimitedTeleportAssets: {
readonly dest: XcmVersionedMultiLocation;
readonly beneficiary: XcmVersionedMultiLocation;
readonly assets: XcmVersionedMultiAssets;
readonly feeAssetItem: u32;
readonly weightLimit: XcmV2WeightLimit;
} & Struct;
/** @name PolkadotRuntimeParachainsDisputesPalletCall (499) */
export interface PolkadotRuntimeParachainsDisputesPalletCall extends Enum {
readonly isForceUnfreeze: boolean;
}
/** @name XcmVersionedXcm (509) */
export interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
readonly isV1: boolean;
readonly asV1: XcmV1Xcm;
readonly isV2: boolean;
readonly asV2: XcmV2Xcm;
/** @name PolkadotPrimitivesV1DisputeState (679) */
export interface PolkadotPrimitivesV1DisputeState extends Struct {
readonly validatorsFor: BitVec;
readonly validatorsAgainst: BitVec;
readonly start: u32;
readonly concludedAt: Option<u32>;
}
/** @name XcmV0Xcm (510) */
export interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isReserveAssetDeposit: boolean;
readonly asReserveAssetDeposit: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isTeleportAsset: boolean;
readonly asTeleportAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
readonly response: XcmV0Response;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
readonly originType: XcmV0OriginKind;
readonly requireWeightAtMost: u64;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
readonly asHrmpNewChannelOpenRequest: {
readonly sender: Compact<u32>;
readonly maxMessageSize: Compact<u32>;
readonly maxCapacity: Compact<u32>;
} & Struct;
readonly isHrmpChannelAccepted: boolean;
readonly asHrmpChannelAccepted: {
readonly recipient: Compact<u32>;
} & Struct;
readonly isHrmpChannelClosing: boolean;
readonly asHrmpChannelClosing: {
readonly initiator: Compact<u32>;
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
readonly isRelayedFrom: boolean;
readonly asRelayedFrom: {
readonly who: XcmV0MultiLocation;
readonly message: XcmV0Xcm;
} & Struct;
/** @name PolkadotRuntimeParachainsDisputesPalletError (680) */
export interface PolkadotRuntimeParachainsDisputesPalletError extends Enum {
readonly isDuplicateDisputeStatementSets: boolean;
readonly isAncientDisputeStatement: boolean;
readonly isValidatorIndexOutOfBounds: boolean;
readonly isInvalidSignature: boolean;
readonly isDuplicateStatement: boolean;
readonly isPotentialSpam: boolean;
readonly isSingleSidedDispute: boolean;
}
/** @name XcmV0Order (512) */
export interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
readonly give: Vec<XcmV0MultiAsset>;
readonly receive: Vec<XcmV0MultiAsset>;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly reserve: XcmV0MultiLocation;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
readonly assets: Vec<XcmV0MultiAsset>;
readonly dest: XcmV0MultiLocation;
readonly effects: Vec<XcmV0Order>;
} & Struct;
readonly isQueryHolding: boolean;
readonly asQueryHolding: {
readonly queryId: Compact<u64>;
readonly dest: XcmV0MultiLocation;
readonly assets: Vec<XcmV0MultiAsset>;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: XcmV0MultiAsset;
readonly weight: u64;
readonly debt: u64;
readonly haltOnError: bool;
readonly xcm: Vec<XcmV0Xcm>;
} & Struct;
}
/** @name XcmV0Response (514) */
export interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
}
/** @name XcmV1Xcm (515) */
export interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isReserveAssetDeposited: boolean;
readonly asReserveAssetDeposited: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isReceiveTeleportedAsset: boolean;
readonly asReceiveTeleportedAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isQueryResponse: boolean;
readonly asQueryResponse: {
readonly queryId: Compact<u64>;
readonly response: XcmV1Response;
} & Struct;
readonly isTransferAsset: boolean;
readonly asTransferAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly beneficiary: XcmV1MultiLocation;
} & Struct;
readonly isTransferReserveAsset: boolean;
readonly asTransferReserveAsset: {
readonly assets: XcmV1MultiassetMultiAssets;
readonly dest: XcmV1MultiLocation;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isTransact: boolean;
readonly asTransact: {
readonly originType: XcmV0OriginKind;
readonly requireWeightAtMost: u64;
readonly call: XcmDoubleEncoded;
} & Struct;
readonly isHrmpNewChannelOpenRequest: boolean;
readonly asHrmpNewChannelOpenRequest: {
readonly sender: Compact<u32>;
readonly maxMessageSize: Compact<u32>;
readonly maxCapacity: Compact<u32>;
} & Struct;
readonly isHrmpChannelAccepted: boolean;
readonly asHrmpChannelAccepted: {
readonly recipient: Compact<u32>;
} & Struct;
readonly isHrmpChannelClosing: boolean;
readonly asHrmpChannelClosing: {
readonly initiator: Compact<u32>;
readonly sender: Compact<u32>;
readonly recipient: Compact<u32>;
} & Struct;
readonly isRelayedFrom: boolean;
readonly asRelayedFrom: {
readonly who: XcmV1MultilocationJunctions;
readonly message: XcmV1Xcm;
} & Struct;
readonly isSubscribeVersion: boolean;
readonly asSubscribeVersion: {
readonly queryId: Compact<u64>;
readonly maxResponseWeight: Compact<u64>;
} & Struct;
readonly isUnsubscribeVersion: boolean;
}
/** @name XcmV1Order (517) */
export interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
readonly asDepositAsset: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxAssets: u32;
readonly beneficiary: XcmV1MultiLocation;
} & Struct;
readonly isDepositReserveAsset: boolean;
readonly asDepositReserveAsset: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly maxAssets: u32;
readonly dest: XcmV1MultiLocation;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isExchangeAsset: boolean;
readonly asExchangeAsset: {
readonly give: XcmV1MultiassetMultiAssetFilter;
readonly receive: XcmV1MultiassetMultiAssets;
} & Struct;
readonly isInitiateReserveWithdraw: boolean;
readonly asInitiateReserveWithdraw: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly reserve: XcmV1MultiLocation;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isInitiateTeleport: boolean;
readonly asInitiateTeleport: {
readonly assets: XcmV1MultiassetMultiAssetFilter;
readonly dest: XcmV1MultiLocation;
readonly effects: Vec<XcmV1Order>;
} & Struct;
readonly isQueryHolding: boolean;
readonly asQueryHolding: {
readonly queryId: Compact<u64>;
readonly dest: XcmV1MultiLocation;
readonly assets: XcmV1MultiassetMultiAssetFilter;
} & Struct;
readonly isBuyExecution: boolean;
readonly asBuyExecution: {
readonly fees: XcmV1MultiAsset;
readonly weight: u64;
readonly debt: u64;
readonly haltOnError: bool;
readonly instructions: Vec<XcmV1Xcm>;
} & Struct;
}
/** @name XcmV1Response (519) */
export interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
readonly isVersion: boolean;
readonly asVersion: u32;
}
/** @name PalletXcmQueryStatus (687) */
export interface PalletXcmQueryStatus extends Enum {
readonly isPending: boolean;
readonly asPending: {
readonly responder: XcmVersionedMultiLocation;
readonly maybeNotify: Option<ITuple<[u8, u8]>>;
readonly timeout: u32;
} & Struct;
readonly isVersionNotifier: boolean;
readonly asVersionNotifier: {
readonly origin: XcmVersionedMultiLocation;
readonly isActive: bool;
} & Struct;
readonly isReady: boolean;
readonly asReady: {
readonly response: XcmVersionedResponse;
readonly at: u32;
} & Struct;
}
/** @name XcmVersionedResponse (690) */
export interface XcmVersionedResponse extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Response;
readonly isV1: boolean;
readonly asV1: XcmV1Response;
readonly isV2: boolean;
readonly asV2: XcmV2Response;
}
/** @name PalletXcmVersionMigrationStage (696) */
export interface PalletXcmVersionMigrationStage extends Enum {
readonly isMigrateSupportedVersion: boolean;
readonly isMigrateVersionNotifiers: boolean;
readonly isNotifyCurrentTargets: boolean;
readonly asNotifyCurrentTargets: Option<Bytes>;
readonly isMigrateAndNotifyOldTargets: boolean;
}
/** @name PalletXcmError (697) */
export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
readonly isFiltered: boolean;
readonly isUnweighableMessage: boolean;
readonly isDestinationNotInvertible: boolean;
readonly isEmpty: boolean;
readonly isCannotReanchor: boolean;
readonly isTooManyAssets: boolean;
readonly isInvalidOrigin: boolean;
readonly isBadVersion: boolean;
readonly isBadLocation: boolean;
readonly isNoSubscription: boolean;
readonly isAlreadySubscribed: boolean;
}
/** @name KusamaRuntimeRuntime (708) */
/** @name KusamaRuntimeRuntime (715) */
export type KusamaRuntimeRuntime = Null;
}
} // declare module
File diff suppressed because it is too large Load Diff
@@ -2,12 +2,11 @@
/* eslint-disable */
declare module '@polkadot/types/lookup' {
import type { BTreeMap, Bytes, Compact, Data, Enum, Null, Option, Result, Set, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { Vote } from '@polkadot/types/interfaces/elections';
import type { AccountId32, Call, H256, MultiAddress, PerU16, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
import type { ITuple } from '@polkadot/types/types';
import type { BTreeMap, Bytes, Compact, Data, Enum, Null, Option, Result, Set, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { Vote } from '@polkadot/types/interfaces/elections';
import type { AccountId32, Call, H256, MultiAddress, PerU16, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
import type { ITuple } from '@polkadot/types/types';
/** @name FrameSystemAccountInfo (3) */
export interface FrameSystemAccountInfo extends Struct {
@@ -61,16 +60,28 @@ import type { ITuple } from '@polkadot/types/types';
/** @name FrameSystemEvent (18) */
export interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: FrameSupportWeightsDispatchInfo;
readonly asExtrinsicSuccess: {
readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
} & Struct;
readonly isExtrinsicFailed: boolean;
readonly asExtrinsicFailed: ITuple<[SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;
readonly asExtrinsicFailed: {
readonly dispatchError: SpRuntimeDispatchError;
readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
} & Struct;
readonly isCodeUpdated: boolean;
readonly isNewAccount: boolean;
readonly asNewAccount: AccountId32;
readonly asNewAccount: {
readonly account: AccountId32;
} & Struct;
readonly isKilledAccount: boolean;
readonly asKilledAccount: AccountId32;
readonly asKilledAccount: {
readonly account: AccountId32;
} & Struct;
readonly isRemarked: boolean;
readonly asRemarked: ITuple<[AccountId32, H256]>;
readonly asRemarked: {
readonly sender: AccountId32;
readonly hash_: H256;
} & Struct;
}
/** @name FrameSupportWeightsDispatchInfo (19) */
@@ -139,7 +150,9 @@ import type { ITuple } from '@polkadot/types/types';
readonly isBatchCompleted: boolean;
readonly isItemCompleted: boolean;
readonly isDispatchedAs: boolean;
readonly asDispatchedAs: Result<Null, SpRuntimeDispatchError>;
readonly asDispatchedAs: {
readonly result: Result<Null, SpRuntimeDispatchError>;
} & Struct;
}
/** @name PalletIndicesEvent (28) */
@@ -382,6 +395,17 @@ import type { ITuple } from '@polkadot/types/types';
readonly asBlacklisted: {
readonly proposalHash: H256;
} & Struct;
readonly isVoted: boolean;
readonly asVoted: {
readonly voter: AccountId32;
readonly refIndex: u32;
readonly vote: PalletDemocracyVoteAccountVote;
} & Struct;
readonly isSeconded: boolean;
readonly asSeconded: {
readonly seconder: AccountId32;
readonly propIndex: u32;
} & Struct;
}
/** @name PalletDemocracyVoteThreshold (39) */
@@ -391,7 +415,21 @@ import type { ITuple } from '@polkadot/types/types';
readonly isSimpleMajority: boolean;
}
/** @name PalletCollectiveEvent (40) */
/** @name PalletDemocracyVoteAccountVote (40) */
export interface PalletDemocracyVoteAccountVote extends Enum {
readonly isStandard: boolean;
readonly asStandard: {
readonly vote: Vote;
readonly balance: u128;
} & Struct;
readonly isSplit: boolean;
readonly asSplit: {
readonly aye: u128;
readonly nay: u128;
} & Struct;
}
/** @name PalletCollectiveEvent (42) */
export interface PalletCollectiveEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: {
@@ -434,7 +472,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletElectionsPhragmenEvent (42) */
/** @name PalletElectionsPhragmenEvent (44) */
export interface PalletElectionsPhragmenEvent extends Enum {
readonly isNewTerm: boolean;
readonly asNewTerm: {
@@ -462,7 +500,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletMembershipEvent (45) */
/** @name PalletMembershipEvent (47) */
export interface PalletMembershipEvent extends Enum {
readonly isMemberAdded: boolean;
readonly isMemberRemoved: boolean;
@@ -472,7 +510,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly isDummy: boolean;
}
/** @name PalletGrandpaEvent (46) */
/** @name PalletGrandpaEvent (48) */
export interface PalletGrandpaEvent extends Enum {
readonly isNewAuthorities: boolean;
readonly asNewAuthorities: {
@@ -482,31 +520,48 @@ import type { ITuple } from '@polkadot/types/types';
readonly isResumed: boolean;
}
/** @name SpFinalityGrandpaAppPublic (49) */
/** @name SpFinalityGrandpaAppPublic (51) */
export interface SpFinalityGrandpaAppPublic extends SpCoreEd25519Public {}
/** @name SpCoreEd25519Public (50) */
/** @name SpCoreEd25519Public (52) */
export interface SpCoreEd25519Public extends U8aFixed {}
/** @name PalletTreasuryEvent (51) */
/** @name PalletTreasuryEvent (53) */
export interface PalletTreasuryEvent extends Enum {
readonly isProposed: boolean;
readonly asProposed: u32;
readonly asProposed: {
readonly proposalIndex: u32;
} & Struct;
readonly isSpending: boolean;
readonly asSpending: u128;
readonly asSpending: {
readonly budgetRemaining: u128;
} & Struct;
readonly isAwarded: boolean;
readonly asAwarded: ITuple<[u32, u128, AccountId32]>;
readonly asAwarded: {
readonly proposalIndex: u32;
readonly award: u128;
readonly account: AccountId32;
} & Struct;
readonly isRejected: boolean;
readonly asRejected: ITuple<[u32, u128]>;
readonly asRejected: {
readonly proposalIndex: u32;
readonly slashed: u128;
} & Struct;
readonly isBurnt: boolean;
readonly asBurnt: u128;
readonly asBurnt: {
readonly burntFunds: u128;
} & Struct;
readonly isRollover: boolean;
readonly asRollover: u128;
readonly asRollover: {
readonly rolloverBalance: u128;
} & Struct;
readonly isDeposit: boolean;
readonly asDeposit: u128;
readonly asDeposit: {
readonly value: u128;
} & Struct;
}
/** @name PalletContractsEvent (52) */
/** @name PalletContractsEvent (54) */
export interface PalletContractsEvent extends Enum {
readonly isInstantiated: boolean;
readonly asInstantiated: {
@@ -537,7 +592,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletSudoEvent (53) */
/** @name PalletSudoEvent (55) */
export interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -553,7 +608,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletImOnlineEvent (54) */
/** @name PalletImOnlineEvent (56) */
export interface PalletImOnlineEvent extends Enum {
readonly isHeartbeatReceived: boolean;
readonly asHeartbeatReceived: {
@@ -566,26 +621,26 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletImOnlineSr25519AppSr25519Public (55) */
/** @name PalletImOnlineSr25519AppSr25519Public (57) */
export interface PalletImOnlineSr25519AppSr25519Public extends SpCoreSr25519Public {}
/** @name SpCoreSr25519Public (56) */
/** @name SpCoreSr25519Public (58) */
export interface SpCoreSr25519Public extends U8aFixed {}
/** @name PalletStakingExposure (59) */
/** @name PalletStakingExposure (61) */
export interface PalletStakingExposure extends Struct {
readonly total: Compact<u128>;
readonly own: Compact<u128>;
readonly others: Vec<PalletStakingIndividualExposure>;
}
/** @name PalletStakingIndividualExposure (62) */
/** @name PalletStakingIndividualExposure (64) */
export interface PalletStakingIndividualExposure extends Struct {
readonly who: AccountId32;
readonly value: Compact<u128>;
}
/** @name PalletOffencesEvent (63) */
/** @name PalletOffencesEvent (65) */
export interface PalletOffencesEvent extends Enum {
readonly isOffence: boolean;
readonly asOffence: {
@@ -594,7 +649,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletIdentityEvent (65) */
/** @name PalletIdentityEvent (67) */
export interface PalletIdentityEvent extends Enum {
readonly isIdentitySet: boolean;
readonly asIdentitySet: {
@@ -649,43 +704,83 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletSocietyEvent (66) */
/** @name PalletSocietyEvent (68) */
export interface PalletSocietyEvent extends Enum {
readonly isFounded: boolean;
readonly asFounded: AccountId32;
readonly asFounded: {
readonly founder: AccountId32;
} & Struct;
readonly isBid: boolean;
readonly asBid: ITuple<[AccountId32, u128]>;
readonly asBid: {
readonly candidateId: AccountId32;
readonly offer: u128;
} & Struct;
readonly isVouch: boolean;
readonly asVouch: ITuple<[AccountId32, u128, AccountId32]>;
readonly asVouch: {
readonly candidateId: AccountId32;
readonly offer: u128;
readonly vouching: AccountId32;
} & Struct;
readonly isAutoUnbid: boolean;
readonly asAutoUnbid: AccountId32;
readonly asAutoUnbid: {
readonly candidate: AccountId32;
} & Struct;
readonly isUnbid: boolean;
readonly asUnbid: AccountId32;
readonly asUnbid: {
readonly candidate: AccountId32;
} & Struct;
readonly isUnvouch: boolean;
readonly asUnvouch: AccountId32;
readonly asUnvouch: {
readonly candidate: AccountId32;
} & Struct;
readonly isInducted: boolean;
readonly asInducted: ITuple<[AccountId32, Vec<AccountId32>]>;
readonly asInducted: {
readonly primary: AccountId32;
readonly candidates: Vec<AccountId32>;
} & Struct;
readonly isSuspendedMemberJudgement: boolean;
readonly asSuspendedMemberJudgement: ITuple<[AccountId32, bool]>;
readonly asSuspendedMemberJudgement: {
readonly who: AccountId32;
readonly judged: bool;
} & Struct;
readonly isCandidateSuspended: boolean;
readonly asCandidateSuspended: AccountId32;
readonly asCandidateSuspended: {
readonly candidate: AccountId32;
} & Struct;
readonly isMemberSuspended: boolean;
readonly asMemberSuspended: AccountId32;
readonly asMemberSuspended: {
readonly member: AccountId32;
} & Struct;
readonly isChallenged: boolean;
readonly asChallenged: AccountId32;
readonly asChallenged: {
readonly member: AccountId32;
} & Struct;
readonly isVote: boolean;
readonly asVote: ITuple<[AccountId32, AccountId32, bool]>;
readonly asVote: {
readonly candidate: AccountId32;
readonly voter: AccountId32;
readonly vote: bool;
} & Struct;
readonly isDefenderVote: boolean;
readonly asDefenderVote: ITuple<[AccountId32, bool]>;
readonly asDefenderVote: {
readonly voter: AccountId32;
readonly vote: bool;
} & Struct;
readonly isNewMaxMembers: boolean;
readonly asNewMaxMembers: u32;
readonly asNewMaxMembers: {
readonly max: u32;
} & Struct;
readonly isUnfounded: boolean;
readonly asUnfounded: AccountId32;
readonly asUnfounded: {
readonly founder: AccountId32;
} & Struct;
readonly isDeposit: boolean;
readonly asDeposit: u128;
readonly asDeposit: {
readonly value: u128;
} & Struct;
}
/** @name PalletRecoveryEvent (67) */
/** @name PalletRecoveryEvent (69) */
export interface PalletRecoveryEvent extends Enum {
readonly isRecoveryCreated: boolean;
readonly asRecoveryCreated: {
@@ -718,7 +813,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletVestingEvent (68) */
/** @name PalletVestingEvent (70) */
export interface PalletVestingEvent extends Enum {
readonly isVestingUpdated: boolean;
readonly asVestingUpdated: {
@@ -731,17 +826,27 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletSchedulerEvent (69) */
/** @name PalletSchedulerEvent (71) */
export interface PalletSchedulerEvent extends Enum {
readonly isScheduled: boolean;
readonly asScheduled: ITuple<[u32, u32]>;
readonly asScheduled: {
readonly when: u32;
readonly index: u32;
} & Struct;
readonly isCanceled: boolean;
readonly asCanceled: ITuple<[u32, u32]>;
readonly asCanceled: {
readonly when: u32;
readonly index: u32;
} & Struct;
readonly isDispatched: boolean;
readonly asDispatched: ITuple<[ITuple<[u32, u32]>, Option<Bytes>, Result<Null, SpRuntimeDispatchError>]>;
readonly asDispatched: {
readonly task: ITuple<[u32, u32]>;
readonly id: Option<Bytes>;
readonly result: Result<Null, SpRuntimeDispatchError>;
} & Struct;
}
/** @name PalletProxyEvent (72) */
/** @name PalletProxyEvent (74) */
export interface PalletProxyEvent extends Enum {
readonly isProxyExecuted: boolean;
readonly asProxyExecuted: {
@@ -769,7 +874,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name NodeRuntimeProxyType (73) */
/** @name NodeRuntimeProxyType (75) */
export interface NodeRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -777,7 +882,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly isStaking: boolean;
}
/** @name PalletMultisigEvent (75) */
/** @name PalletMultisigEvent (77) */
export interface PalletMultisigEvent extends Enum {
readonly isNewMultisig: boolean;
readonly asNewMultisig: {
@@ -809,13 +914,13 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletMultisigTimepoint (76) */
/** @name PalletMultisigTimepoint (78) */
export interface PalletMultisigTimepoint extends Struct {
readonly height: u32;
readonly index: u32;
}
/** @name PalletBountiesEvent (77) */
/** @name PalletBountiesEvent (79) */
export interface PalletBountiesEvent extends Enum {
readonly isBountyProposed: boolean;
readonly asBountyProposed: {
@@ -851,7 +956,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletTipsEvent (78) */
/** @name PalletTipsEvent (80) */
export interface PalletTipsEvent extends Enum {
readonly isNewTip: boolean;
readonly asNewTip: {
@@ -879,7 +984,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletAssetsEvent (79) */
/** @name PalletAssetsEvent (81) */
export interface PalletAssetsEvent extends Enum {
readonly isCreated: boolean;
readonly asCreated: {
@@ -984,7 +1089,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletLotteryEvent (80) */
/** @name PalletLotteryEvent (82) */
export interface PalletLotteryEvent extends Enum {
readonly isLotteryStarted: boolean;
readonly isCallsUpdated: boolean;
@@ -1000,7 +1105,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletGiltEvent (82) */
/** @name PalletGiltEvent (84) */
export interface PalletGiltEvent extends Enum {
readonly isBidPlaced: boolean;
readonly asBidPlaced: {
@@ -1030,7 +1135,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletUniquesEvent (83) */
/** @name PalletUniquesEvent (85) */
export interface PalletUniquesEvent extends Enum {
readonly isCreated: boolean;
readonly asCreated: {
@@ -1156,16 +1261,20 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletTransactionStorageEvent (89) */
/** @name PalletTransactionStorageEvent (91) */
export interface PalletTransactionStorageEvent extends Enum {
readonly isStored: boolean;
readonly asStored: u32;
readonly asStored: {
readonly index: u32;
} & Struct;
readonly isRenewed: boolean;
readonly asRenewed: u32;
readonly asRenewed: {
readonly index: u32;
} & Struct;
readonly isProofChecked: boolean;
}
/** @name PalletBagsListEvent (90) */
/** @name PalletBagsListEvent (92) */
export interface PalletBagsListEvent extends Enum {
readonly isRebagged: boolean;
readonly asRebagged: {
@@ -1175,7 +1284,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name FrameSystemPhase (91) */
/** @name FrameSystemPhase (93) */
export interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -1183,13 +1292,13 @@ import type { ITuple } from '@polkadot/types/types';
readonly isInitialization: boolean;
}
/** @name FrameSystemLastRuntimeUpgradeInfo (94) */
/** @name FrameSystemLastRuntimeUpgradeInfo (96) */
export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
/** @name FrameSystemCall (97) */
/** @name FrameSystemCall (99) */
export interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
@@ -1230,21 +1339,21 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name FrameSystemLimitsBlockWeights (102) */
/** @name FrameSystemLimitsBlockWeights (104) */
export interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (103) */
/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (105) */
export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
/** @name FrameSystemLimitsWeightsPerClass (104) */
/** @name FrameSystemLimitsWeightsPerClass (106) */
export interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
@@ -1252,25 +1361,25 @@ import type { ITuple } from '@polkadot/types/types';
readonly reserved: Option<u64>;
}
/** @name FrameSystemLimitsBlockLength (106) */
/** @name FrameSystemLimitsBlockLength (108) */
export interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
/** @name FrameSupportWeightsPerDispatchClassU32 (107) */
/** @name FrameSupportWeightsPerDispatchClassU32 (109) */
export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
/** @name FrameSupportWeightsRuntimeDbWeight (108) */
/** @name FrameSupportWeightsRuntimeDbWeight (110) */
export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
/** @name SpVersionRuntimeVersion (109) */
/** @name SpVersionRuntimeVersion (111) */
export interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -1281,7 +1390,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly transactionVersion: u32;
}
/** @name FrameSystemError (114) */
/** @name FrameSystemError (116) */
export interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -1291,7 +1400,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly isCallFiltered: boolean;
}
/** @name PalletUtilityCall (115) */
/** @name PalletUtilityCall (117) */
export interface PalletUtilityCall extends Enum {
readonly isBatch: boolean;
readonly asBatch: {
@@ -1313,7 +1422,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletBabeCall (118) */
/** @name PalletBabeCall (120) */
export interface PalletBabeCall extends Enum {
readonly isReportEquivocation: boolean;
readonly asReportEquivocation: {
@@ -1331,7 +1440,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name SpConsensusSlotsEquivocationProof (119) */
/** @name SpConsensusSlotsEquivocationProof (121) */
export interface SpConsensusSlotsEquivocationProof extends Struct {
readonly offender: SpConsensusBabeAppPublic;
readonly slot: u64;
@@ -1339,7 +1448,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly secondHeader: SpRuntimeHeader;
}
/** @name SpRuntimeHeader (120) */
/** @name SpRuntimeHeader (122) */
export interface SpRuntimeHeader extends Struct {
readonly parentHash: H256;
readonly number: Compact<u32>;
@@ -1348,20 +1457,20 @@ import type { ITuple } from '@polkadot/types/types';
readonly digest: SpRuntimeDigest;
}
/** @name SpRuntimeBlakeTwo256 (121) */
/** @name SpRuntimeBlakeTwo256 (123) */
export type SpRuntimeBlakeTwo256 = Null;
/** @name SpConsensusBabeAppPublic (122) */
/** @name SpConsensusBabeAppPublic (124) */
export interface SpConsensusBabeAppPublic extends SpCoreSr25519Public {}
/** @name SpSessionMembershipProof (124) */
/** @name SpSessionMembershipProof (126) */
export interface SpSessionMembershipProof extends Struct {
readonly session: u32;
readonly trieNodes: Vec<Bytes>;
readonly validatorCount: u32;
}
/** @name SpConsensusBabeDigestsNextConfigDescriptor (125) */
/** @name SpConsensusBabeDigestsNextConfigDescriptor (127) */
export interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum {
readonly isV1: boolean;
readonly asV1: {
@@ -1370,14 +1479,14 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name SpConsensusBabeAllowedSlots (127) */
/** @name SpConsensusBabeAllowedSlots (129) */
export interface SpConsensusBabeAllowedSlots extends Enum {
readonly isPrimarySlots: boolean;
readonly isPrimaryAndSecondaryPlainSlots: boolean;
readonly isPrimaryAndSecondaryVRFSlots: boolean;
}
/** @name PalletTimestampCall (128) */
/** @name PalletTimestampCall (130) */
export interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -1385,7 +1494,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletAuthorshipCall (130) */
/** @name PalletAuthorshipCall (132) */
export interface PalletAuthorshipCall extends Enum {
readonly isSetUncles: boolean;
readonly asSetUncles: {
@@ -1393,7 +1502,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletIndicesCall (132) */
/** @name PalletIndicesCall (134) */
export interface PalletIndicesCall extends Enum {
readonly isClaim: boolean;
readonly asClaim: {
@@ -1420,7 +1529,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletBalancesCall (133) */
/** @name PalletBalancesCall (135) */
export interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -1456,7 +1565,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletElectionProviderMultiPhaseCall (136) */
/** @name PalletElectionProviderMultiPhaseCall (138) */
export interface PalletElectionProviderMultiPhaseCall extends Enum {
readonly isSubmitUnsigned: boolean;
readonly asSubmitUnsigned: {
@@ -1478,14 +1587,14 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletElectionProviderMultiPhaseRawSolution (137) */
/** @name PalletElectionProviderMultiPhaseRawSolution (139) */
export interface PalletElectionProviderMultiPhaseRawSolution extends Struct {
readonly solution: NodeRuntimeNposSolution16;
readonly score: Vec<u128>;
readonly round: u32;
}
/** @name NodeRuntimeNposSolution16 (138) */
/** @name NodeRuntimeNposSolution16 (140) */
export interface NodeRuntimeNposSolution16 extends Struct {
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
@@ -1505,19 +1614,19 @@ import type { ITuple } from '@polkadot/types/types';
readonly votes16: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
}
/** @name PalletElectionProviderMultiPhaseSolutionOrSnapshotSize (190) */
/** @name PalletElectionProviderMultiPhaseSolutionOrSnapshotSize (192) */
export interface PalletElectionProviderMultiPhaseSolutionOrSnapshotSize extends Struct {
readonly voters: Compact<u32>;
readonly targets: Compact<u32>;
}
/** @name SpNposElectionsSupport (194) */
/** @name SpNposElectionsSupport (196) */
export interface SpNposElectionsSupport extends Struct {
readonly total: u128;
readonly voters: Vec<ITuple<[AccountId32, u128]>>;
}
/** @name PalletStakingPalletCall (195) */
/** @name PalletStakingPalletCall (197) */
export interface PalletStakingPalletCall extends Enum {
readonly isBond: boolean;
readonly asBond: {
@@ -1606,13 +1715,14 @@ import type { ITuple } from '@polkadot/types/types';
readonly asKick: {
readonly who: Vec<MultiAddress>;
} & Struct;
readonly isSetStakingLimits: boolean;
readonly asSetStakingLimits: {
readonly isSetStakingConfigs: boolean;
readonly asSetStakingConfigs: {
readonly minNominatorBond: u128;
readonly minValidatorBond: u128;
readonly maxNominatorCount: Option<u32>;
readonly maxValidatorCount: Option<u32>;
readonly threshold: Option<Percent>;
readonly chillThreshold: Option<Percent>;
readonly minCommission: Perbill;
} & Struct;
readonly isChillOther: boolean;
readonly asChillOther: {
@@ -1620,7 +1730,7 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletStakingRewardDestination (196) */
/** @name PalletStakingRewardDestination (198) */
export interface PalletStakingRewardDestination extends Enum {
readonly isStaked: boolean;
readonly isStash: boolean;
@@ -1630,13 +1740,13 @@ import type { ITuple } from '@polkadot/types/types';
readonly isNone: boolean;
}
/** @name PalletStakingValidatorPrefs (197) */
/** @name PalletStakingValidatorPrefs (199) */
export interface PalletStakingValidatorPrefs extends Struct {
readonly commission: Compact<Perbill>;
readonly blocked: bool;
}
/** @name PalletSessionCall (202) */
/** @name PalletSessionCall (204) */
export interface PalletSessionCall extends Enum {
readonly isSetKeys: boolean;
readonly asSetKeys: {
@@ -1646,7 +1756,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly isPurgeKeys: boolean;
}
/** @name NodeRuntimeSessionKeys (203) */
/** @name NodeRuntimeSessionKeys (205) */
export interface NodeRuntimeSessionKeys extends Struct {
readonly grandpa: SpFinalityGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic;
@@ -1654,10 +1764,10 @@ import type { ITuple } from '@polkadot/types/types';
readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic;
}
/** @name SpAuthorityDiscoveryAppPublic (204) */
/** @name SpAuthorityDiscoveryAppPublic (206) */
export interface SpAuthorityDiscoveryAppPublic extends SpCoreSr25519Public {}
/** @name PalletDemocracyCall (205) */
/** @name PalletDemocracyCall (207) */
export interface PalletDemocracyCall extends Enum {
readonly isPropose: boolean;
readonly asPropose: {
@@ -1766,20 +1876,6 @@ import type { ITuple } from '@polkadot/types/types';
} & Struct;
}
/** @name PalletDemocracyVoteAccountVote (206) */
export interface PalletDemocracyVoteAccountVote extends Enum {
readonly isStandard: boolean;
readonly asStandard: {
readonly vote: Vote;
readonly balance: u128;
} & Struct;
readonly isSplit: boolean;
readonly asSplit: {
readonly aye: u128;
readonly nay: u128;
} & Struct;
}
/** @name PalletDemocracyConviction (208) */
export interface PalletDemocracyConviction extends Enum {
readonly isNone: boolean;
@@ -3153,6 +3249,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly isCannotChillOther: boolean;
readonly isTooManyNominators: boolean;
readonly isTooManyValidators: boolean;
readonly isCommissionTooLow: boolean;
}
/** @name SpCoreCryptoKeyTypeId (371) */
@@ -3395,7 +3492,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly initial: Compact<u32>;
readonly maximum: Compact<u32>;
readonly refcount: Compact<u64>;
readonly Reserved: Option<Null>;
readonly reserved: Option<Null>;
readonly code: Bytes;
readonly originalCodeLen: u32;
}
@@ -3404,7 +3501,7 @@ import type { ITuple } from '@polkadot/types/types';
export interface PalletContractsStorageRawContractInfo extends Struct {
readonly trieId: Bytes;
readonly codeHash: H256;
readonly Reserved: Option<Null>;
readonly reserved: Option<Null>;
}
/** @name PalletContractsStorageDeletedContract (412) */
@@ -3441,7 +3538,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly i64load: u32;
readonly i64store: u32;
readonly select: u32;
readonly r_If: u32;
readonly r_if: u32;
readonly br: u32;
readonly brIf: u32;
readonly brTable: u32;
@@ -3505,7 +3602,7 @@ import type { ITuple } from '@polkadot/types/types';
readonly gas: u64;
readonly input: u64;
readonly inputPerByte: u64;
readonly r_Return: u64;
readonly r_return: u64;
readonly returnPerByte: u64;
readonly terminate: u64;
readonly random: u64;
@@ -4101,4 +4198,4 @@ import type { ITuple } from '@polkadot/types/types';
/** @name NodeRuntimeRuntime (524) */
export type NodeRuntimeRuntime = Null;
}
} // declare module
+60 -60
View File
@@ -1,65 +1,65 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* 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' {
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 {
AbridgedCandidateReceipt: AbridgedCandidateReceipt;
AbridgedHostConfiguration: AbridgedHostConfiguration;
@@ -1071,5 +1071,5 @@ declare module '@polkadot/types/types/registry' {
XcmV1: XcmV1;
XcmV2: XcmV2;
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 {
const original = registry.getChainProperties();
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) {
return original;
@@ -2,7 +2,7 @@
/* eslint-disable */
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 */
export interface AssetApproval extends Struct {
@@ -2,9 +2,9 @@
/* eslint-disable */
import type { Struct, Vec } from '@polkadot/types';
import type { CandidateReceipt, ParaId } from '@polkadot/types/interfaces/parachains';
import type { AccountId, BlockNumber, H256, Hash } from '@polkadot/types/interfaces/runtime';
import type { SessionIndex } from '@polkadot/types/interfaces/session';
import type { CandidateReceipt, ParaId } from '@polkadot/types/interfaces/parachains';
import type { AccountId, BlockNumber, H256, Hash } from '@polkadot/types/interfaces/runtime';
import type { SessionIndex } from '@polkadot/types/interfaces/session';
/** @name BlockAttestations */
export interface BlockAttestations extends Struct {
@@ -2,7 +2,7 @@
/* eslint-disable */
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 */
export interface ExtrinsicOrHash extends Enum {
@@ -2,8 +2,8 @@
/* eslint-disable */
import type { Enum, Option } from '@polkadot/types';
import type { AccountId, BlockNumber, Hash } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
import type { AccountId, BlockNumber, Hash } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
/** @name UncleEntryItem */
export interface UncleEntryItem extends Enum {
+3 -3
View File
@@ -2,9 +2,9 @@
/* eslint-disable */
import type { Enum, Option, Struct, U8aFixed, Vec, u32, u64 } from '@polkadot/types';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
import type { Hash, Header } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
import type { Hash, Header } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
/** @name AllowedSlots */
export interface AllowedSlots extends Enum {
@@ -2,7 +2,7 @@
/* eslint-disable */
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 */
export interface AccountData extends Struct {
+2 -2
View File
@@ -2,8 +2,8 @@
/* eslint-disable */
import type { Option, Struct, U8aFixed, Vec, u32, u64 } from '@polkadot/types';
import type { EcdsaSignature } from '@polkadot/types/interfaces/extrinsics';
import type { BlockNumber, H256 } from '@polkadot/types/interfaces/runtime';
import type { EcdsaSignature } from '@polkadot/types/interfaces/extrinsics';
import type { BlockNumber, H256 } from '@polkadot/types/interfaces/runtime';
/** @name BeefyCommitment */
export interface BeefyCommitment extends Struct {
@@ -2,11 +2,11 @@
/* eslint-disable */
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 { MultiSignature } from '@polkadot/types/interfaces/extrinsics';
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 { ITuple } from '@polkadot/types/types';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { MultiSignature } from '@polkadot/types/interfaces/extrinsics';
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 { ITuple } from '@polkadot/types/types';
/** @name BridgedBlockHash */
export interface BridgedBlockHash extends H256 {}
@@ -2,8 +2,8 @@
/* eslint-disable */
import type { Enum, Struct, Vec, u32 } from '@polkadot/types';
import type { AccountId, BlockNumber } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
import type { AccountId, BlockNumber } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
/** @name CollectiveOrigin */
export interface CollectiveOrigin extends Enum {
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { U8aFixed } from '@polkadot/types';
import type { AccountId } from '@polkadot/types/interfaces/runtime';
import type { AccountId } from '@polkadot/types/interfaces/runtime';
/** @name AuthorityId */
export interface AuthorityId extends AccountId {}
@@ -2,7 +2,7 @@
/* eslint-disable */
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 */
export interface AliveContractInfo extends Struct {
@@ -2,9 +2,9 @@
/* eslint-disable */
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 { Si0Type, SiLookupTypeId, SiPath } from '@polkadot/types/interfaces/scaleInfo';
import type { ITuple } from '@polkadot/types/types';
import type { PortableType } from '@polkadot/types/interfaces/metadata';
import type { Si0Type, SiLookupTypeId, SiPath } from '@polkadot/types/interfaces/scaleInfo';
import type { ITuple } from '@polkadot/types/types';
/** @name ContractConstructorSpec */
export interface ContractConstructorSpec extends Struct {
@@ -2,8 +2,8 @@
/* eslint-disable */
import type { Enum, Option, Struct, u32 } from '@polkadot/types';
import type { LeasePeriod } from '@polkadot/types/interfaces/parachains';
import type { AccountId, Balance, BlockNumber, MultiSigner } from '@polkadot/types/interfaces/runtime';
import type { LeasePeriod } from '@polkadot/types/interfaces/parachains';
import type { AccountId, Balance, BlockNumber, MultiSigner } from '@polkadot/types/interfaces/runtime';
/** @name FundIndex */
export interface FundIndex extends u32 {}
@@ -2,7 +2,7 @@
/* eslint-disable */
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 */
export interface ConfigData extends Struct {
@@ -2,9 +2,9 @@
/* eslint-disable */
import type { Bytes, Enum, Option, Struct, Vec, bool, u32 } from '@polkadot/types';
import type { Vote, VoteThreshold } from '@polkadot/types/interfaces/elections';
import type { AccountId, Balance, BlockNumber, Call, Hash } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
import type { Vote, VoteThreshold } from '@polkadot/types/interfaces/elections';
import type { AccountId, Balance, BlockNumber, Call, Hash } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
/** @name AccountVote */
export interface AccountVote extends Enum {
@@ -2,7 +2,7 @@
/* eslint-disable */
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 */
export interface ApprovalFlag extends u32 {}
@@ -2,7 +2,7 @@
/* eslint-disable */
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 */
export interface CreatedBlock extends Struct {
+7 -7
View File
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { Bytes, Enum, GenericEthereumAccountId, GenericEthereumLookupSource, Option, Struct, U256, U64, U8aFixed, Vec, bool, u32, u64 } from '@polkadot/types';
import type { BlockNumber, H160, H2048, H256, H64 } from '@polkadot/types/interfaces/runtime';
import type { BlockNumber, H160, H2048, H256, H64 } from '@polkadot/types/interfaces/runtime';
/** @name BlockV0 */
export interface BlockV0 extends Struct {
@@ -378,18 +378,18 @@ export interface TransactionV0 extends LegacyTransaction {}
export interface TransactionV1 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: LegacyTransaction;
readonly isEIP2930: boolean;
readonly asEIP2930: EIP2930Transaction;
readonly isEip2930: boolean;
readonly asEip2930: EIP2930Transaction;
}
/** @name TransactionV2 */
export interface TransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: LegacyTransaction;
readonly isEIP2930: boolean;
readonly asEIP2930: EIP2930Transaction;
readonly isEIP1559: boolean;
readonly asEIP1559: EIP1559Transaction;
readonly isEip2930: boolean;
readonly asEip2930: EIP2930Transaction;
readonly isEip1559: boolean;
readonly asEip1559: EIP1559Transaction;
}
export type PHANTOM_ETH = 'eth';
+1 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { Bytes, Enum, Struct, Text, Vec, u256 } from '@polkadot/types';
import type { H160, H256 } from '@polkadot/types/interfaces/runtime';
import type { H160, H256 } from '@polkadot/types/interfaces/runtime';
/** @name EvmAccount */
export interface EvmAccount extends Struct {
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { Enum, GenericExtrinsic, GenericExtrinsicEra, GenericExtrinsicPayload, GenericExtrinsicPayloadUnknown, GenericExtrinsicPayloadV4, GenericExtrinsicSignatureV4, GenericExtrinsicUnknown, GenericExtrinsicV4, GenericImmortalEra, GenericMortalEra, GenericSignerPayload, U8aFixed } from '@polkadot/types';
import type { H512 } from '@polkadot/types/interfaces/runtime';
import type { H512 } from '@polkadot/types/interfaces/runtime';
/** @name AnySignature */
export interface AnySignature extends H512 {}
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { Compact, Enum, Struct } from '@polkadot/types';
import type { AccountId, Balance } from '@polkadot/types/interfaces/runtime';
import type { AccountId, Balance } from '@polkadot/types/interfaces/runtime';
/** @name AssetOptions */
export interface AssetOptions extends Struct {
+1 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { Struct, u32 } from '@polkadot/types';
import type { AccountId, Balance, BlockNumber, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { AccountId, Balance, BlockNumber, Perquintill } from '@polkadot/types/interfaces/runtime';
/** @name ActiveGilt */
export interface ActiveGilt extends Struct {
@@ -2,12 +2,12 @@
/* eslint-disable */
import type { BTreeSet, Bytes, Enum, Option, Struct, U64, Vec, u32, u64 } from '@polkadot/types';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
import type { AuthoritySignature } from '@polkadot/types/interfaces/imOnline';
import type { BlockNumber, Hash, Header } from '@polkadot/types/interfaces/runtime';
import type { MembershipProof } from '@polkadot/types/interfaces/session';
import type { ITuple } from '@polkadot/types/types';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
import type { AuthoritySignature } from '@polkadot/types/interfaces/imOnline';
import type { BlockNumber, Hash, Header } from '@polkadot/types/interfaces/runtime';
import type { MembershipProof } from '@polkadot/types/interfaces/session';
import type { ITuple } from '@polkadot/types/types';
/** @name AuthorityIndex */
export interface AuthorityIndex extends u64 {}
@@ -2,8 +2,8 @@
/* eslint-disable */
import type { Data, Enum, Option, Set, Struct, Vec, u32 } from '@polkadot/types';
import type { AccountId, Balance, H160 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
import type { AccountId, Balance, H160 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
/** @name IdentityFields */
export interface IdentityFields extends Set {

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