Compare commits

..
27 Commits
Author SHA1 Message Date
github-actions[bot] 558636b6b0 [CI Skip] release/stable 7.6.1
skip-checks: true
2022-01-30 05:32:32 +00:00
Jaco 8b92772b2f 7.6.1 (#4515) 2022-01-30 07:21:26 +02:00
github-actions[bot] cf0881f704 [CI Skip] release/beta 7.5.2-11
skip-checks: true
2022-01-29 15:43:58 +00:00
Jaco 1adc17b598 Workaround for regenerator runtime + private callback (#4514)
* Workaround for regenerator runtime + private callback

* CHANGELOG
2022-01-29 17:34:35 +02:00
github-actions[bot] a55256a247 [CI Skip] release/beta 7.5.2-10
skip-checks: true
2022-01-29 11:02:51 +00:00
Jaco faaa4e9480 CHANGELOG update (#4512) 2022-01-29 12:52:53 +02:00
github-actions[bot] ba52ab450e [CI Skip] release/beta 7.5.2-9
skip-checks: true
2022-01-29 10:49:04 +00:00
r0t0r-r0t0r 0660d0cf15 Fix memory leak on raw rpc call (#4505)
* Fix memory leak on raw rpc call

While processing a raw rpc call an observable is removed from the wrong cache. It causes a memory leak.

* Fix memory leak on raw rpc subscription, fix types

Fixed similar memory leak on raw rpc subscription.
Also added proper type declaration for the return value of the _memomize function to address build error.
2022-01-29 12:41:02 +02:00
Jaco fa1a3315f8 Bump deps (#4511) 2022-01-29 12:30:48 +02:00
github-actions[bot] 5f281b07fe [CI Skip] release/beta 7.5.2-8
skip-checks: true
2022-01-27 07:27:58 +00:00
Jaco e5bc2601cc Add support for rpc.contracts.uploadCode (#4508) 2022-01-27 09:18:51 +02:00
github-actions[bot] 6132a34333 [CI Skip] release/beta 7.5.2-7
skip-checks: true
2022-01-26 16:14:58 +00:00
Jaco 697e6d8b8b Exhaustive TypeDefInfo handling in extractType (#4506) 2022-01-26 18:06:18 +02:00
github-actions[bot] 33c4d82293 [CI Skip] release/beta 7.5.2-6
skip-checks: true
2022-01-26 09:00:43 +00:00
Jaco c46e0e9d5b Adjust bounty derive, empty on no {treasury, bounties}.bounties (#4503) 2022-01-26 10:51:24 +02:00
github-actions[bot] 4b9f987203 [CI Skip] release/beta 7.5.2-5
skip-checks: true
2022-01-25 15:13:05 +00:00
Jaco a650ae195e Non-aliased CallEvent type extraction (#4502)
* Non-aliased CallEvent type extraction

* Update packages/types/src/metadata/PortableRegistry/PortableRegistry.ts
2022-01-25 17:01:57 +02:00
github-actions[bot] 0dca7bacc2 [CI Skip] release/beta 7.5.2-4
skip-checks: true
2022-01-25 11:00:20 +00:00
Jaco 87f79151b4 Bump static metadata (#4499) 2022-01-25 12:52:00 +02:00
github-actions[bot] 480ae203b4 [CI Skip] release/beta 7.5.2-3
skip-checks: true
2022-01-25 07:05:28 +00:00
Jaco c4427c0497 Emit decorated event on API (incl. upgrades) (#4497) 2022-01-25 08:57:08 +02:00
github-actions[bot] f130f55167 [CI Skip] release/beta 7.5.2-2
skip-checks: true
2022-01-25 06:20:10 +00:00
Jaco 2009483542 Adjust SlotRange to 36 entries (with older 10-count version) (#4495)
* Adjust SlotRange to 36 entries (with older 10-count version)

* Fix tuple

* Adjust
2022-01-25 08:09:53 +02:00
github-actions[bot] ca50309554 [CI Skip] release/beta 7.5.2-1
skip-checks: true
2022-01-24 06:57:53 +00:00
Jaco db5b0986c4 Align Range/RangeInclusive handling with other definitions (#4489)
* Align Range/RangeInclusive handling with other definitions

* Split RangeInclusive class

* Rnage -> Range TypeDef

* Correct Range wrappers

* CHANGELOG

* Remove extra Range CHANGELOG entry

* Update CHANGELOG.md
2022-01-24 08:46:35 +02:00
github-actions[bot] b94cf566c9 [CI Skip] release/beta 7.5.2-0
skip-checks: true
2022-01-24 06:23:53 +00:00
Jaco ff24cec841 Dedupe WrapperOpaque classes (#4479)
* Dedupe WrapperOpaque classes

* Keep WrapperOpaque in own file
2022-01-24 08:13:08 +02:00
87 changed files with 2636 additions and 1883 deletions
+1
View File
@@ -6,6 +6,7 @@ docs/.vuepress/dist/
docs/substrate/*.md
node_modules/
tmp/
NOTES.md
.DS_Store
.env.local
.env.development.local
+22
View File
@@ -1,5 +1,27 @@
# CHANGELOG
## 7.6.1 Jan 30, 2022
Upgdare priority: Low. Recommended for users with long-running scripts and those chains based around the latest Substrate master versions.
Contributed:
- Fix memory leak on `.raw` RPC calls (Thanks to https://github.com/r0t0r-r0t0r)
Changes:
- Adjust extraction of `Call` & `Event` types for metadata v14
- Adjust historic `WinningData` and `SlotRange` types (36-entry variant)
- Emit `decorated` event on API on metadata decoration
- Dedupe and extend `WrapperKeepOpaque/WrapperOpaque`
- Align `Range/RangeInclusive` usage with similar types
- Adjust bounty derive, return empty on no `{treasury, bounties}.bounties`
- Ensure handling of all `TypeDefInfo` keys in extraction
- Add support for `rpc.contracts.uploadCode`
- Workaround for generators where `#private = { this... }` yields undefined
- Update to latest Substrate, Kusama & Polkadot static metadata
## 7.5.1 Jan 23, 2022
Upgrade priority: Low. Recommended for users of the latest contract pallet and ink! versions.
+2 -1
View File
@@ -1,4 +1,4 @@
2782 Jaco 7.5.1 (#4492)
2795 Jaco 7.6.1 (#4515)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
36 Keith Ingram Storage deposit limit changes (#4370)
35 Stefanie Doll Updated child storage parameters (#1709)
@@ -79,6 +79,7 @@
1 Paul M Fox Basic BTreeMaps codec support (#1474)
1 philipstanislaus Update types for centrifuge chain v1.2.0 (#2424)
1 qiuhao update DeriveCustom type (#2581)
1 r0t0r-r0t0r Fix memory leak on raw rpc call (#4505)
1 Rocco Musolino remove broken link (#2671)
1 satellitex Add BTreeSet<V> Codec (#1639)
1 satellitex Add traits replace rules. for invalid cases `::<type>` and `<type>::`. (#885)
+3 -3
View File
@@ -2,7 +2,7 @@
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/api/issues",
"homepage": "https://github.com/polkadot-js/api#readme",
"license": "Apache-2",
"license": "Apache-2.0",
"packageManager": "yarn@3.0.1",
"private": true,
"repository": {
@@ -11,7 +11,7 @@
},
"sideEffects": false,
"type": "commonjs",
"version": "7.5.1",
"version": "7.6.1",
"workspaces": [
"packages/*"
],
@@ -34,7 +34,7 @@
"@babel/core": "^7.16.12",
"@babel/register": "^7.16.9",
"@babel/runtime": "^7.16.7",
"@polkadot/dev": "^0.65.43",
"@polkadot/dev": "^0.65.46",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^27.4.0",
"copyfiles": "^2.4.1"
+6 -6
View File
@@ -20,15 +20,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/api-base": "7.5.1",
"@polkadot/rpc-augment": "7.5.1",
"@polkadot/types": "7.5.1",
"@polkadot/types-augment": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/api-base": "7.6.1",
"@polkadot/rpc-augment": "7.6.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-augment": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/util": "^8.3.3"
}
}
+5 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { ApiTypes } from '@polkadot/api-base/types';
import type { Bytes, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
@@ -858,6 +858,10 @@ declare module '@polkadot/api-base/types/consts' {
* An accepted proposal gets these back. A rejected proposal does not.
**/
proposalBond: Permill & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
+32
View File
@@ -696,6 +696,10 @@ declare module '@polkadot/api-base/types/errors' {
* The requested maximum message size is 0.
**/
OpenHrmpChannelZeroMessageSize: AugmentedError<ApiType>;
/**
* The provided witness data is wrong.
**/
WrongWitness: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -874,6 +878,10 @@ declare module '@polkadot/api-base/types/errors' {
[key: string]: AugmentedError<ApiType>;
};
paraInclusion: {
/**
* Bitfield consists of zeros only.
**/
BitfieldAllZeros: AugmentedError<ApiType>;
/**
* Multiple bitfields submitted by same validator or validators out of order by index.
**/
@@ -953,10 +961,26 @@ declare module '@polkadot/api-base/types/errors' {
* Scheduled cores out of order.
**/
ScheduledOutOfOrder: AugmentedError<ApiType>;
/**
* A different relay parent was provided compared to the on-chain stored one.
**/
UnexpectedRelayParent: AugmentedError<ApiType>;
/**
* Candidate submitted but para not scheduled.
**/
UnscheduledCandidate: AugmentedError<ApiType>;
/**
* Backed candidates are out of order (core index) or contain duplicates.
**/
UnsortedOrDuplicateBackedCandidates: AugmentedError<ApiType>;
/**
* Dispute statement sets are out of order or contain duplicates.
**/
UnsortedOrDuplicateDisputeStatementSet: AugmentedError<ApiType>;
/**
* Validator indices are out of order or contains duplicates.
**/
UnsortedOrDuplicateValidatorIndices: AugmentedError<ApiType>;
/**
* The validation data hash does not match expected.
**/
@@ -983,6 +1007,14 @@ declare module '@polkadot/api-base/types/errors' {
* Disputed candidate that was concluded invalid.
**/
CandidateConcludedInvalid: AugmentedError<ApiType>;
/**
* A dispute statement was invalid.
**/
DisputeInvalid: AugmentedError<ApiType>;
/**
* The ordering of dispute statements was invalid.
**/
DisputeStatementsUnsortedOrDuplicates: AugmentedError<ApiType>;
/**
* The data given to the inherent will result in an overweight block.
**/
+14 -15
View File
@@ -596,13 +596,12 @@ declare module '@polkadot/api-base/types/storage' {
**/
hrmpChannelContents: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array) => Observable<Vec<PolkadotCorePrimitivesInboundHrmpMessage>>, [PolkadotParachainPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesHrmpChannelId]>;
/**
* Maintains a mapping that can be used to answer the question:
* What paras sent a message at the given block number for a given receiver.
* Invariants:
* Maintains a mapping that can be used to answer the question: What paras sent a message at
* the given block number for a given receiver. Invariants:
* - The inner `Vec<ParaId>` is never empty.
* - The inner `Vec<ParaId>` cannot store two same `ParaId`.
* - The outer vector is sorted ascending by block number and cannot store two items with the same
* block number.
* - The outer vector is sorted ascending by block number and cannot store two items with the
* same block number.
**/
hrmpChannelDigests: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Vec<u32>]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
@@ -612,8 +611,8 @@ declare module '@polkadot/api-base/types/storage' {
**/
hrmpChannels: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsHrmpHrmpChannel>>, [PolkadotParachainPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesHrmpChannelId]>;
/**
* A set of pending HRMP close channel requests that are going to be closed during the session change.
* Used for checking if a given channel is registered for closure.
* A set of pending HRMP close channel requests that are going to be closed during the session
* change. Used for checking if a given channel is registered for closure.
*
* The set is accompanied by a list for iteration.
*
@@ -624,25 +623,25 @@ declare module '@polkadot/api-base/types/storage' {
hrmpCloseChannelRequestsList: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotParachainPrimitivesHrmpChannelId>>, []> & QueryableStorageEntry<ApiType, []>;
hrmpEgressChannelsIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Ingress/egress indexes allow to find all the senders and receivers given the opposite
* side. I.e.
* Ingress/egress indexes allow to find all the senders and receivers given the opposite side.
* I.e.
*
* (a) ingress index allows to find all the senders for a given recipient.
* (b) egress index allows to find all the recipients for a given sender.
*
* Invariants:
* - for each ingress index entry for `P` each item `I` in the index should present in `HrmpChannels`
* as `(I, P)`.
* - for each egress index entry for `P` each item `E` in the index should present in `HrmpChannels`
* as `(P, E)`.
* - for each ingress index entry for `P` each item `I` in the index should present in
* `HrmpChannels` as `(I, P)`.
* - for each egress index entry for `P` each item `E` in the index should present in
* `HrmpChannels` as `(P, E)`.
* - there should be no other dangling channels in `HrmpChannels`.
* - the vectors are sorted.
**/
hrmpIngressChannelsIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* This mapping tracks how many open channel requests are initiated by a given sender para.
* Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has `(X, _)`
* as the number of `HrmpOpenChannelRequestCount` for `X`.
* Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has
* `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`.
**/
hrmpOpenChannelRequestCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
+14 -5
View File
@@ -1348,22 +1348,28 @@ declare module '@polkadot/api-base/types/submittable' {
* you to trigger the cleanup immediately for a specific parachain.
*
* Origin must be Root.
*
* Number of inbound and outbound channels for `para` must be provided as witness data of weighing.
**/
forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, inbound: u32 | AnyNumber | Uint8Array, outbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
/**
* Force process HRMP close channel requests.
*
* If there are pending HRMP close channel requests, you can use this
* function process all of those requests immediately.
*
* Total number of closing channels must be provided as witness data of weighing.
**/
forceProcessHrmpClose: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
forceProcessHrmpClose: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Force process HRMP open channel requests.
*
* If there are pending HRMP open channel requests, you can use this
* function process all of those requests immediately.
*
* Total number of opening channels must be provided as witness data of weighing.
**/
forceProcessHrmpOpen: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
forceProcessHrmpOpen: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Accept a pending open channel request from the given sender.
*
@@ -1371,13 +1377,16 @@ declare module '@polkadot/api-base/types/submittable' {
**/
hrmpAcceptOpenChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* This cancels a pending open channel request. It can be canceled be either of the sender
* This cancels a pending open channel request. It can be canceled by either of the sender
* or the recipient for that request. The origin must be either of those.
*
* The cancellation happens immediately. It is not possible to cancel the request if it is
* already accepted.
*
* Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as
* witness data.
**/
hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesHrmpChannelId]>;
hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array, openRequests: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesHrmpChannelId, u32]>;
/**
* Initiate unilateral closing of a channel. The origin must be either the sender or the
* recipient in the channel being closed.
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '7.6.1' };
+5 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { ApiTypes } from '@polkadot/api-base/types';
import type { Bytes, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
@@ -730,6 +730,10 @@ declare module '@polkadot/api-base/types/consts' {
* An accepted proposal gets these back. A rejected proposal does not.
**/
proposalBond: Permill & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
@@ -657,6 +657,10 @@ declare module '@polkadot/api-base/types/errors' {
* The requested maximum message size is 0.
**/
OpenHrmpChannelZeroMessageSize: AugmentedError<ApiType>;
/**
* The provided witness data is wrong.
**/
WrongWitness: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -835,6 +839,10 @@ declare module '@polkadot/api-base/types/errors' {
[key: string]: AugmentedError<ApiType>;
};
paraInclusion: {
/**
* Bitfield consists of zeros only.
**/
BitfieldAllZeros: AugmentedError<ApiType>;
/**
* Multiple bitfields submitted by same validator or validators out of order by index.
**/
@@ -914,10 +922,26 @@ declare module '@polkadot/api-base/types/errors' {
* Scheduled cores out of order.
**/
ScheduledOutOfOrder: AugmentedError<ApiType>;
/**
* A different relay parent was provided compared to the on-chain stored one.
**/
UnexpectedRelayParent: AugmentedError<ApiType>;
/**
* Candidate submitted but para not scheduled.
**/
UnscheduledCandidate: AugmentedError<ApiType>;
/**
* Backed candidates are out of order (core index) or contain duplicates.
**/
UnsortedOrDuplicateBackedCandidates: AugmentedError<ApiType>;
/**
* Dispute statement sets are out of order or contain duplicates.
**/
UnsortedOrDuplicateDisputeStatementSet: AugmentedError<ApiType>;
/**
* Validator indices are out of order or contains duplicates.
**/
UnsortedOrDuplicateValidatorIndices: AugmentedError<ApiType>;
/**
* The validation data hash does not match expected.
**/
@@ -944,6 +968,14 @@ declare module '@polkadot/api-base/types/errors' {
* Disputed candidate that was concluded invalid.
**/
CandidateConcludedInvalid: AugmentedError<ApiType>;
/**
* A dispute statement was invalid.
**/
DisputeInvalid: AugmentedError<ApiType>;
/**
* The ordering of dispute statements was invalid.
**/
DisputeStatementsUnsortedOrDuplicates: AugmentedError<ApiType>;
/**
* The data given to the inherent will result in an overweight block.
**/
+14 -15
View File
@@ -570,13 +570,12 @@ declare module '@polkadot/api-base/types/storage' {
**/
hrmpChannelContents: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array) => Observable<Vec<PolkadotCorePrimitivesInboundHrmpMessage>>, [PolkadotParachainPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesHrmpChannelId]>;
/**
* Maintains a mapping that can be used to answer the question:
* What paras sent a message at the given block number for a given receiver.
* Invariants:
* Maintains a mapping that can be used to answer the question: What paras sent a message at
* the given block number for a given receiver. Invariants:
* - The inner `Vec<ParaId>` is never empty.
* - The inner `Vec<ParaId>` cannot store two same `ParaId`.
* - The outer vector is sorted ascending by block number and cannot store two items with the same
* block number.
* - The outer vector is sorted ascending by block number and cannot store two items with the
* same block number.
**/
hrmpChannelDigests: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Vec<u32>]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
@@ -586,8 +585,8 @@ declare module '@polkadot/api-base/types/storage' {
**/
hrmpChannels: AugmentedQuery<ApiType, (arg: PolkadotParachainPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsHrmpHrmpChannel>>, [PolkadotParachainPrimitivesHrmpChannelId]> & QueryableStorageEntry<ApiType, [PolkadotParachainPrimitivesHrmpChannelId]>;
/**
* A set of pending HRMP close channel requests that are going to be closed during the session change.
* Used for checking if a given channel is registered for closure.
* A set of pending HRMP close channel requests that are going to be closed during the session
* change. Used for checking if a given channel is registered for closure.
*
* The set is accompanied by a list for iteration.
*
@@ -598,25 +597,25 @@ declare module '@polkadot/api-base/types/storage' {
hrmpCloseChannelRequestsList: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotParachainPrimitivesHrmpChannelId>>, []> & QueryableStorageEntry<ApiType, []>;
hrmpEgressChannelsIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Ingress/egress indexes allow to find all the senders and receivers given the opposite
* side. I.e.
* Ingress/egress indexes allow to find all the senders and receivers given the opposite side.
* I.e.
*
* (a) ingress index allows to find all the senders for a given recipient.
* (b) egress index allows to find all the recipients for a given sender.
*
* Invariants:
* - for each ingress index entry for `P` each item `I` in the index should present in `HrmpChannels`
* as `(I, P)`.
* - for each egress index entry for `P` each item `E` in the index should present in `HrmpChannels`
* as `(P, E)`.
* - for each ingress index entry for `P` each item `I` in the index should present in
* `HrmpChannels` as `(I, P)`.
* - for each egress index entry for `P` each item `E` in the index should present in
* `HrmpChannels` as `(P, E)`.
* - there should be no other dangling channels in `HrmpChannels`.
* - the vectors are sorted.
**/
hrmpIngressChannelsIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* This mapping tracks how many open channel requests are initiated by a given sender para.
* Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has `(X, _)`
* as the number of `HrmpOpenChannelRequestCount` for `X`.
* Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has
* `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`.
**/
hrmpOpenChannelRequestCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
+14 -5
View File
@@ -1297,22 +1297,28 @@ declare module '@polkadot/api-base/types/submittable' {
* you to trigger the cleanup immediately for a specific parachain.
*
* Origin must be Root.
*
* Number of inbound and outbound channels for `para` must be provided as witness data of weighing.
**/
forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, inbound: u32 | AnyNumber | Uint8Array, outbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
/**
* Force process HRMP close channel requests.
*
* If there are pending HRMP close channel requests, you can use this
* function process all of those requests immediately.
*
* Total number of closing channels must be provided as witness data of weighing.
**/
forceProcessHrmpClose: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
forceProcessHrmpClose: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Force process HRMP open channel requests.
*
* If there are pending HRMP open channel requests, you can use this
* function process all of those requests immediately.
*
* Total number of opening channels must be provided as witness data of weighing.
**/
forceProcessHrmpOpen: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
forceProcessHrmpOpen: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Accept a pending open channel request from the given sender.
*
@@ -1320,13 +1326,16 @@ declare module '@polkadot/api-base/types/submittable' {
**/
hrmpAcceptOpenChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* This cancels a pending open channel request. It can be canceled be either of the sender
* This cancels a pending open channel request. It can be canceled by either of the sender
* or the recipient for that request. The origin must be either of those.
*
* The cancellation happens immediately. It is not possible to cancel the request if it is
* already accepted.
*
* Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as
* witness data.
**/
hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesHrmpChannelId]>;
hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PolkadotParachainPrimitivesHrmpChannelId | { sender?: any; recipient?: any } | string | Uint8Array, openRequests: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotParachainPrimitivesHrmpChannelId, u32]>;
/**
* Initiate unilateral closing of a channel. The origin must be either the sender or the
* recipient in the channel being closed.
+5 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable */
import type { ApiTypes } from '@polkadot/api-base/types';
import type { U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
@@ -902,6 +902,10 @@ declare module '@polkadot/api-base/types/consts' {
* An accepted proposal gets these back. A rejected proposal does not.
**/
proposalBond: Permill & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
+22 -1
View File
@@ -193,8 +193,29 @@ declare module '@polkadot/api-base/types/storage' {
};
balances: {
/**
* The balance of an account.
* The Balances pallet example of storing the balance of an account.
*
* # Example
*
* ```nocompile
* impl pallet_balances::Config for Runtime {
* type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>
* }
* ```
*
* You can also store the balance of an account in the `System` pallet.
*
* # Example
*
* ```nocompile
* impl pallet_balances::Config for Runtime {
* type AccountStore = System
* }
* ```
*
* But this comes with tradeoffs, storing account balances in the system pallet stores
* `frame_system` data alongside the account data contrary to storing account balances in the
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
* NOTE: This is only used in the case that this pallet is used to store balances.
**/
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/rpc-core": "7.5.1",
"@polkadot/types": "7.5.1",
"@polkadot/rpc-core": "7.6.1",
"@polkadot/types": "7.6.1",
"@polkadot/util": "^8.3.3",
"rxjs": "^7.5.2"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '7.6.1' };
+6 -6
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/api": "7.5.1",
"@polkadot/types": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/types-create": "7.5.1",
"@polkadot/api": "7.6.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/types-create": "7.6.1",
"@polkadot/util": "^8.3.3",
"@polkadot/util-crypto": "^8.3.3",
"rxjs": "^7.5.2"
},
"devDependencies": {
"@polkadot/api-augment": "7.5.1",
"@polkadot/api-augment": "7.6.1",
"@polkadot/keyring": "^8.3.3"
}
}
+1 -1
View File
@@ -44,7 +44,7 @@ function parseJson (json: Record<string, unknown>, chainProperties?: ChainProper
const registry = new TypeRegistry();
const info = registry.createType('ContractProjectInfo', json) as unknown as ContractProjectInfo;
const latest = getLatestMeta(registry, json);
const lookup = registry.createType('PortableRegistry', { types: latest.types });
const lookup = registry.createType('PortableRegistry', { types: latest.types }, true);
// attach the lookup to the registry - now the types are known
registry.setLookup(lookup);
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '7.6.1' };
+12 -12
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/api": "7.5.1",
"@polkadot/api-augment": "7.5.1",
"@polkadot/api-base": "7.5.1",
"@polkadot/rpc-core": "7.5.1",
"@polkadot/types": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/api": "7.6.1",
"@polkadot/api-augment": "7.6.1",
"@polkadot/api-base": "7.6.1",
"@polkadot/rpc-core": "7.6.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/util": "^8.3.3",
"@polkadot/util-crypto": "^8.3.3",
"rxjs": "^7.5.2"
},
"devDependencies": {
"@polkadot/api": "7.5.1",
"@polkadot/api-augment": "7.5.1",
"@polkadot/rpc-augment": "7.5.1",
"@polkadot/rpc-provider": "7.5.1",
"@polkadot/types-support": "7.5.1"
"@polkadot/api": "7.6.1",
"@polkadot/api-augment": "7.6.1",
"@polkadot/rpc-augment": "7.6.1",
"@polkadot/rpc-provider": "7.6.1",
"@polkadot/types-support": "7.6.1"
}
}
+25 -23
View File
@@ -35,29 +35,31 @@ export function bounties (instanceId: string, api: DeriveApi): () => Observable<
const bountyBase = api.query.bounties || api.query.treasury;
return memo(instanceId, (): Observable<DeriveBounties> =>
combineLatest([
bountyBase.bountyCount(),
api.query.council
? api.query.council.proposalCount()
: of(0)
]).pipe(
switchMap(() => combineLatest([
bountyBase.bounties.keys(),
api.derive.council
? api.derive.council.proposals()
: of([])
])),
switchMap(([keys, proposals]): Observable<Result> => {
const ids = keys.map(({ args: [id] }) => id);
bountyBase.bounties
? combineLatest([
bountyBase.bountyCount(),
api.query.council
? api.query.council.proposalCount()
: of(0)
]).pipe(
switchMap(() => combineLatest([
bountyBase.bounties.keys(),
api.derive.council
? api.derive.council.proposals()
: of([])
])),
switchMap(([keys, proposals]): Observable<Result> => {
const ids = keys.map(({ args: [id] }) => id);
return combineLatest([
bountyBase.bounties.multi(ids),
bountyBase.bountyDescriptions.multi(ids),
of(ids),
of(filterBountiesProposals(api, proposals))
]);
}),
map(parseResult)
)
return combineLatest([
bountyBase.bounties.multi(ids),
bountyBase.bountyDescriptions.multi(ids),
of(ids),
of(filterBountiesProposals(api, proposals))
]);
}),
map(parseResult)
)
: of(parseResult([[], [], [], []]))
);
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '7.6.1' };
+14 -14
View File
@@ -20,29 +20,29 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/api-augment": "7.5.1",
"@polkadot/api-base": "7.5.1",
"@polkadot/api-derive": "7.5.1",
"@polkadot/api-augment": "7.6.1",
"@polkadot/api-base": "7.6.1",
"@polkadot/api-derive": "7.6.1",
"@polkadot/keyring": "^8.3.3",
"@polkadot/rpc-augment": "7.5.1",
"@polkadot/rpc-core": "7.5.1",
"@polkadot/rpc-provider": "7.5.1",
"@polkadot/types": "7.5.1",
"@polkadot/types-augment": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/types-create": "7.5.1",
"@polkadot/types-known": "7.5.1",
"@polkadot/rpc-augment": "7.6.1",
"@polkadot/rpc-core": "7.6.1",
"@polkadot/rpc-provider": "7.6.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-augment": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/types-create": "7.6.1",
"@polkadot/types-known": "7.6.1",
"@polkadot/util": "^8.3.3",
"@polkadot/util-crypto": "^8.3.3",
"eventemitter3": "^4.0.7",
"rxjs": "^7.5.2"
},
"devDependencies": {
"@polkadot/api-augment": "7.5.1",
"@polkadot/types-support": "7.5.1"
"@polkadot/api-augment": "7.6.1",
"@polkadot/types-support": "7.6.1"
}
}
+2
View File
@@ -275,6 +275,8 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
}
augmentObject(null, decoratedMeta.consts, this._rx.consts, fromEmpty);
this.emit('decorated');
}
/**
+9 -9
View File
@@ -65,9 +65,9 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
this._rpcCore.setRegistrySwap((blockHash: Uint8Array) => this.getBlockRegistry(blockHash));
if (this.hasSubscriptions) {
this._rpcCore.provider.on('disconnected', this.#onProviderDisconnect);
this._rpcCore.provider.on('error', this.#onProviderError);
this._rpcCore.provider.on('connected', this.#onProviderConnect);
this._rpcCore.provider.on('disconnected', () => this.#onProviderDisconnect());
this._rpcCore.provider.on('error', (e: Error) => this.#onProviderError(e));
this._rpcCore.provider.on('connected', () => this.#onProviderConnect());
} else {
l.warn('Api will be available in a limited mode since the provider does not support subscriptions');
}
@@ -380,7 +380,7 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
this._unsubscribeUpdates();
}
#onProviderConnect = async (): Promise<void> => {
async #onProviderConnect (): Promise<void> {
this._isConnected.next(true);
this.emit('connected');
@@ -406,15 +406,15 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
this.emit('error', error);
}
};
}
#onProviderDisconnect = (): void => {
#onProviderDisconnect (): void {
this._isConnected.next(false);
this._unsubscribeHealth();
this.emit('disconnected');
};
}
#onProviderError = (error: Error): void => {
#onProviderError (error: Error): void {
this.emit('error', error);
};
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '7.6.1' };
+1 -1
View File
@@ -81,7 +81,7 @@ export interface ApiOptions extends RegisteredTypes {
throwOnUnknown?: boolean;
}
export type ApiInterfaceEvents = ProviderInterfaceEmitted | 'ready';
export type ApiInterfaceEvents = ProviderInterfaceEmitted | 'ready' | 'decorated';
export interface SignerOptions extends SignatureOptions {
blockNumber: BN;
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/rpc-core": "7.5.1",
"@polkadot/types": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/rpc-core": "7.6.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/util": "^8.3.3"
}
}
+5 -1
View File
@@ -11,7 +11,7 @@ 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 { CodeUploadRequest, CodeUploadResult, 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';
@@ -146,6 +146,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
* Returns the projected time a given contract will be able to sustain paying its rent
**/
rentProjection: AugmentedRpc<(address: AccountId | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<Option<BlockNumber>>>;
/**
* Upload new code without instantiating a contract from it
**/
uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>;
};
engine: {
/**
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '7.6.1' };
+5 -5
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/rpc-augment": "7.5.1",
"@polkadot/rpc-provider": "7.5.1",
"@polkadot/types": "7.5.1",
"@polkadot/rpc-augment": "7.6.1",
"@polkadot/rpc-provider": "7.6.1",
"@polkadot/types": "7.6.1",
"@polkadot/util": "^8.3.3",
"rxjs": "^7.5.2"
},
"devDependencies": {
"@polkadot/keyring": "^8.3.3",
"@polkadot/rpc-augment": "7.5.1"
"@polkadot/rpc-augment": "7.6.1"
}
}
+19 -6
View File
@@ -24,6 +24,11 @@ interface StorageChangeSetJSON {
changes: [string, string | null][];
}
type MemoizedRpcInterfaceMethod = Memoized<RpcInterfaceMethod> & {
raw: Memoized<RpcInterfaceMethod>;
meta: DefinitionRpc;
}
const l = logger('rpc-core');
const EMPTY_META = {
@@ -174,14 +179,14 @@ export class RpcCore {
}
}
private _memomize (creator: <T> (isScale: boolean) => (...values: unknown[]) => Observable<T>, def: DefinitionRpc): Memoized<RpcInterfaceMethod> {
private _memomize (creator: <T> (isScale: boolean) => (...values: unknown[]) => Observable<T>, def: DefinitionRpc): MemoizedRpcInterfaceMethod {
const memoOpts = { getInstanceId: () => this.#instanceId };
const memoized = memoize(creator(true) as RpcInterfaceMethod, memoOpts);
memoized.raw = memoize(creator(false), memoOpts);
memoized.meta = def;
return memoized;
return memoized as MemoizedRpcInterfaceMethod;
}
private _formatResult <T> (isScale: boolean, registry: Registry, blockHash: string | Uint8Array | null | undefined, method: string, def: DefinitionRpc, params: Codec[], result: unknown): T {
@@ -193,7 +198,7 @@ export class RpcCore {
private _createMethodSend (section: string, method: string, def: DefinitionRpc): RpcInterfaceMethod {
const rpcName = def.endpoint || `${section}_${method}`;
const hashIndex = def.params.findIndex(({ isHistoric }) => isHistoric);
let memoized: null | Memoized<RpcInterfaceMethod> = null;
let memoized: null | MemoizedRpcInterfaceMethod = null;
// execute the RPC call, doing a registry swap for historic as applicable
const callWithRegistry = async <T> (isScale: boolean, values: unknown[]): Promise<T> => {
@@ -229,7 +234,11 @@ export class RpcCore {
return (): void => {
// delete old results from cache
memoized?.unmemoize(...values);
if (isScale) {
memoized?.unmemoize(...values);
} else {
memoized?.raw.unmemoize(...values);
}
};
}).pipe(
publishReplay(1), // create a Replay(1)
@@ -262,7 +271,7 @@ export class RpcCore {
const subName = `${section}_${subMethod}`;
const unsubName = `${section}_${unsubMethod}`;
const subType = `${section}_${updateType}`;
let memoized: null | Memoized<RpcInterfaceMethod> = null;
let memoized: null | MemoizedRpcInterfaceMethod = null;
const creator = <T> (isScale: boolean) => (...values: unknown[]): Observable<T> => {
return new Observable((observer: Observer<T>): () => void => {
@@ -302,7 +311,11 @@ export class RpcCore {
// Teardown logic
return (): void => {
// Delete from cache, so old results don't hang around
memoized?.unmemoize(...values);
if (isScale) {
memoized?.unmemoize(...values);
} else {
memoized?.raw.unmemoize(...values);
}
// Unsubscribe from provider
subscriptionPromise
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '7.6.1' };
+4 -4
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/keyring": "^8.3.3",
"@polkadot/types": "7.5.1",
"@polkadot/types-support": "7.5.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-support": "7.6.1",
"@polkadot/util": "^8.3.3",
"@polkadot/util-crypto": "^8.3.3",
"@polkadot/x-fetch": "^8.3.3",
"@polkadot/x-global": "^8.3.3",
"@polkadot/x-ws": "^8.3.3",
"eventemitter3": "^4.0.7",
"mock-socket": "^9.1.0",
"mock-socket": "^9.1.2",
"nock": "^13.2.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '7.6.1' };
+11 -11
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,15 +33,15 @@
"@babel/core": "^7.16.12",
"@babel/register": "^7.16.9",
"@babel/runtime": "^7.16.7",
"@polkadot/api": "7.5.1",
"@polkadot/api-augment": "7.5.1",
"@polkadot/rpc-augment": "7.5.1",
"@polkadot/rpc-provider": "7.5.1",
"@polkadot/types": "7.5.1",
"@polkadot/types-augment": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/types-create": "7.5.1",
"@polkadot/types-support": "7.5.1",
"@polkadot/api": "7.6.1",
"@polkadot/api-augment": "7.6.1",
"@polkadot/rpc-augment": "7.6.1",
"@polkadot/rpc-provider": "7.6.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-augment": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/types-create": "7.6.1",
"@polkadot/types-support": "7.6.1",
"@polkadot/util": "^8.3.3",
"@polkadot/x-ws": "^8.3.3",
"handlebars": "^4.7.7",
@@ -49,7 +49,7 @@
"yargs": "^17.3.1"
},
"devDependencies": {
"@types/websocket": "^1.0.4",
"@types/websocket": "^1.0.5",
"@types/yargs": "^17.0.8"
}
}
+1
View File
@@ -235,6 +235,7 @@ export const typeEncoders: Record<TypeDefInfo, (registry: Registry, definitions:
[TypeDefInfo.Option]: tsOption,
[TypeDefInfo.Plain]: tsPlain,
[TypeDefInfo.Range]: errorUnhandled,
[TypeDefInfo.RangeInclusive]: errorUnhandled,
[TypeDefInfo.Result]: tsResult,
[TypeDefInfo.Set]: tsSet,
[TypeDefInfo.Si]: tsSi,
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '7.6.1' };
+4
View File
@@ -174,6 +174,10 @@ const formatters: Record<TypeDefInfo, (registry: Registry, typeDef: TypeDef, def
throw new Error(`TypeDefInfo.Range: Not implemented on ${stringify(typeDef)}`);
},
[TypeDefInfo.RangeInclusive]: (registry: Registry, typeDef: TypeDef, definitions: Record<string, ModuleTypes>, imports: TypeImports, withShortcut: boolean) => {
throw new Error(`TypeDefInfo.RangeInclusive: Not implemented on ${stringify(typeDef)}`);
},
[TypeDefInfo.Set]: (registry: Registry, typeDef: TypeDef, definitions: Record<string, ModuleTypes>, imports: TypeImports, withShortcut: boolean) => {
throw new Error(`TypeDefInfo.Set: Not implemented on ${stringify(typeDef)}`);
},
+3 -3
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/types": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/util": "^8.3.3"
}
}
+3 -3
View File
@@ -187,7 +187,7 @@ export default {
_enum: ['force_unfreeze']
},
/**
* Lookup696: polkadot_primitives::v1::DisputeState<N>
* Lookup697: polkadot_primitives::v1::DisputeState<N>
**/
PolkadotPrimitivesV1DisputeState: {
validatorsFor: 'BitVec',
@@ -196,13 +196,13 @@ export default {
concludedAt: 'Option<u32>'
},
/**
* Lookup697: polkadot_runtime_parachains::disputes::pallet::Error<T>
* Lookup698: polkadot_runtime_parachains::disputes::pallet::Error<T>
**/
PolkadotRuntimeParachainsDisputesPalletError: {
_enum: ['DuplicateDisputeStatementSets', 'AncientDisputeStatement', 'ValidatorIndexOutOfBounds', 'InvalidSignature', 'DuplicateStatement', 'PotentialSpam', 'SingleSidedDispute']
},
/**
* Lookup732: kusama_runtime::Runtime
* Lookup733: kusama_runtime::Runtime
**/
KusamaRuntimeRuntime: 'Null'
};
+60 -53
View File
@@ -1318,11 +1318,18 @@ export default {
},
force_clean_hrmp: {
para: 'u32',
inbound: 'u32',
outbound: 'u32',
},
force_process_hrmp_open: {
channels: 'u32',
},
force_process_hrmp_close: {
channels: 'u32',
},
force_process_hrmp_open: 'Null',
force_process_hrmp_close: 'Null',
hrmp_cancel_open_request: {
channelId: 'PolkadotParachainPrimitivesHrmpChannelId'
channelId: 'PolkadotParachainPrimitivesHrmpChannelId',
openRequests: 'u32'
}
}
},
@@ -1741,13 +1748,13 @@ export default {
}
},
/**
* Lookup528: polkadot_runtime_common::claims::pallet::Error<T>
* Lookup529: polkadot_runtime_common::claims::pallet::Error<T>
**/
PolkadotRuntimeCommonClaimsPalletError: {
_enum: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists']
},
/**
* Lookup579: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
* Lookup580: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
**/
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
maxCodeSize: 'u32',
@@ -1795,7 +1802,7 @@ export default {
minimumValidationUpgradeDelay: 'u32'
},
/**
* Lookup580: polkadot_runtime_parachains::configuration::migration::v1::HostConfiguration<BlockNumber>
* Lookup581: polkadot_runtime_parachains::configuration::migration::v1::HostConfiguration<BlockNumber>
**/
PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration: {
maxCodeSize: 'u32',
@@ -1840,20 +1847,20 @@ export default {
umpMaxIndividualWeight: 'u64'
},
/**
* Lookup583: polkadot_runtime_parachains::configuration::pallet::Error<T>
* Lookup584: polkadot_runtime_parachains::configuration::pallet::Error<T>
**/
PolkadotRuntimeParachainsConfigurationPalletError: {
_enum: ['InvalidNewValue']
},
/**
* Lookup586: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
* Lookup587: polkadot_runtime_parachains::inclusion::AvailabilityBitfieldRecord<N>
**/
PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord: {
bitfield: 'BitVec',
submittedAt: 'u32'
},
/**
* Lookup587: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
* Lookup588: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
**/
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
_alias: {
@@ -1869,13 +1876,13 @@ export default {
backingGroup: 'u32'
},
/**
* Lookup588: polkadot_runtime_parachains::inclusion::pallet::Error<T>
* Lookup589: polkadot_runtime_parachains::inclusion::pallet::Error<T>
**/
PolkadotRuntimeParachainsInclusionPalletError: {
_enum: ['WrongBitfieldSize', 'BitfieldDuplicateOrUnordered', 'ValidatorIndexOutOfBounds', 'InvalidBitfieldSignature', 'UnscheduledCandidate', 'CandidateScheduledBeforeParaFree', 'WrongCollator', 'ScheduledOutOfOrder', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'CandidateNotInParentContext', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'NotCollatorSigned', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch', 'BitfieldReferencesFreedCore']
_enum: ['UnsortedOrDuplicateValidatorIndices', 'UnsortedOrDuplicateDisputeStatementSet', 'UnsortedOrDuplicateBackedCandidates', 'UnexpectedRelayParent', 'WrongBitfieldSize', 'BitfieldAllZeros', 'BitfieldDuplicateOrUnordered', 'ValidatorIndexOutOfBounds', 'InvalidBitfieldSignature', 'UnscheduledCandidate', 'CandidateScheduledBeforeParaFree', 'WrongCollator', 'ScheduledOutOfOrder', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'CandidateNotInParentContext', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'NotCollatorSigned', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch', 'BitfieldReferencesFreedCore']
},
/**
* Lookup589: polkadot_primitives::v1::ScrapedOnChainVotes<primitive_types::H256>
* Lookup590: polkadot_primitives::v1::ScrapedOnChainVotes<primitive_types::H256>
**/
PolkadotPrimitivesV1ScrapedOnChainVotes: {
session: 'u32',
@@ -1883,38 +1890,38 @@ export default {
disputes: 'Vec<PolkadotPrimitivesV1DisputeStatementSet>'
},
/**
* Lookup594: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
* Lookup595: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
**/
PolkadotRuntimeParachainsParasInherentPalletError: {
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'CandidateConcludedInvalid', 'InherentOverweight']
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'CandidateConcludedInvalid', 'InherentOverweight', 'DisputeStatementsUnsortedOrDuplicates', 'DisputeInvalid']
},
/**
* Lookup596: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
* Lookup597: polkadot_runtime_parachains::scheduler::ParathreadClaimQueue
**/
PolkadotRuntimeParachainsSchedulerParathreadClaimQueue: {
queue: 'Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>',
nextCoreOffset: 'u32'
},
/**
* Lookup598: polkadot_runtime_parachains::scheduler::QueuedParathread
* Lookup599: polkadot_runtime_parachains::scheduler::QueuedParathread
**/
PolkadotRuntimeParachainsSchedulerQueuedParathread: {
claim: 'PolkadotPrimitivesV1ParathreadEntry',
coreOffset: 'u32'
},
/**
* Lookup599: polkadot_primitives::v1::ParathreadEntry
* Lookup600: polkadot_primitives::v1::ParathreadEntry
**/
PolkadotPrimitivesV1ParathreadEntry: {
claim: 'PolkadotPrimitivesV1ParathreadClaim',
retries: 'u32'
},
/**
* Lookup600: polkadot_primitives::v1::ParathreadClaim
* Lookup601: polkadot_primitives::v1::ParathreadClaim
**/
PolkadotPrimitivesV1ParathreadClaim: '(u32,PolkadotPrimitivesV0CollatorAppPublic)',
/**
* Lookup603: polkadot_primitives::v1::CoreOccupied
* Lookup604: polkadot_primitives::v1::CoreOccupied
**/
PolkadotPrimitivesV1CoreOccupied: {
_enum: {
@@ -1923,7 +1930,7 @@ export default {
}
},
/**
* Lookup606: polkadot_runtime_parachains::scheduler::CoreAssignment
* Lookup607: polkadot_runtime_parachains::scheduler::CoreAssignment
**/
PolkadotRuntimeParachainsSchedulerCoreAssignment: {
core: 'u32',
@@ -1932,7 +1939,7 @@ export default {
groupIdx: 'u32'
},
/**
* Lookup607: polkadot_runtime_parachains::scheduler::AssignmentKind
* Lookup608: polkadot_runtime_parachains::scheduler::AssignmentKind
**/
PolkadotRuntimeParachainsSchedulerAssignmentKind: {
_enum: {
@@ -1941,7 +1948,7 @@ export default {
}
},
/**
* Lookup608: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
* Lookup609: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
**/
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState: {
votesAccept: 'BitVec',
@@ -1951,7 +1958,7 @@ export default {
causes: 'Vec<PolkadotRuntimeParachainsParasPvfCheckCause>'
},
/**
* Lookup610: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
* Lookup611: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
**/
PolkadotRuntimeParachainsParasPvfCheckCause: {
_enum: {
@@ -1963,39 +1970,39 @@ export default {
}
},
/**
* Lookup612: polkadot_runtime_parachains::paras::ParaLifecycle
* Lookup613: polkadot_runtime_parachains::paras::ParaLifecycle
**/
PolkadotRuntimeParachainsParasParaLifecycle: {
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
},
/**
* Lookup614: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
* Lookup615: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
**/
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
lastPruned: 'Option<u32>'
},
/**
* Lookup616: polkadot_runtime_parachains::paras::ReplacementTimes<N>
* Lookup617: polkadot_runtime_parachains::paras::ReplacementTimes<N>
**/
PolkadotRuntimeParachainsParasReplacementTimes: {
expectedAt: 'u32',
activatedAt: 'u32'
},
/**
* Lookup618: polkadot_primitives::v1::UpgradeGoAhead
* Lookup619: polkadot_primitives::v1::UpgradeGoAhead
**/
PolkadotPrimitivesV1UpgradeGoAhead: {
_enum: ['Abort', 'GoAhead']
},
/**
* Lookup619: polkadot_primitives::v1::UpgradeRestriction
* Lookup620: polkadot_primitives::v1::UpgradeRestriction
**/
PolkadotPrimitivesV1UpgradeRestriction: {
_enum: ['Present']
},
/**
* Lookup620: polkadot_runtime_parachains::paras::ParaGenesisArgs
* Lookup621: polkadot_runtime_parachains::paras::ParaGenesisArgs
**/
PolkadotRuntimeParachainsParasParaGenesisArgs: {
genesisHead: 'Bytes',
@@ -2003,13 +2010,13 @@ export default {
parachain: 'bool'
},
/**
* Lookup621: polkadot_runtime_parachains::paras::pallet::Error<T>
* Lookup622: polkadot_runtime_parachains::paras::pallet::Error<T>
**/
PolkadotRuntimeParachainsParasPalletError: {
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade', 'PvfCheckStatementStale', 'PvfCheckStatementFuture', 'PvfCheckValidatorIndexOutOfBounds', 'PvfCheckInvalidSignature', 'PvfCheckDoubleVote', 'PvfCheckSubjectInvalid', 'PvfCheckDisabled']
},
/**
* Lookup623: polkadot_runtime_parachains::initializer::BufferedSessionChange
* Lookup624: polkadot_runtime_parachains::initializer::BufferedSessionChange
**/
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
validators: 'Vec<PolkadotPrimitivesV0ValidatorAppPublic>',
@@ -2017,20 +2024,20 @@ export default {
sessionIndex: 'u32'
},
/**
* Lookup625: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
* Lookup626: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
* Lookup627: polkadot_runtime_parachains::ump::pallet::Error<T>
* Lookup628: polkadot_runtime_parachains::ump::pallet::Error<T>
**/
PolkadotRuntimeParachainsUmpPalletError: {
_enum: ['UnknownMessageIndex', 'WeightOverLimit']
},
/**
* Lookup628: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
* Lookup629: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
**/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool',
@@ -2041,7 +2048,7 @@ export default {
maxTotalSize: 'u32'
},
/**
* Lookup630: polkadot_runtime_parachains::hrmp::HrmpChannel
* Lookup631: polkadot_runtime_parachains::hrmp::HrmpChannel
**/
PolkadotRuntimeParachainsHrmpHrmpChannel: {
maxCapacity: 'u32',
@@ -2054,20 +2061,20 @@ export default {
recipientDeposit: 'u128'
},
/**
* Lookup633: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
* Lookup634: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
* Lookup636: polkadot_runtime_parachains::hrmp::pallet::Error<T>
* Lookup637: polkadot_runtime_parachains::hrmp::pallet::Error<T>
**/
PolkadotRuntimeParachainsHrmpPalletError: {
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed']
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed', 'WrongWitness']
},
/**
* Lookup638: polkadot_primitives::v2::SessionInfo
* Lookup639: polkadot_primitives::v2::SessionInfo
**/
PolkadotPrimitivesV2SessionInfo: {
activeValidatorIndices: 'Vec<u32>',
@@ -2085,7 +2092,7 @@ export default {
neededApprovals: 'u32'
},
/**
* Lookup640: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
* Lookup641: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
**/
PolkadotRuntimeCommonParasRegistrarParaInfo: {
manager: 'AccountId32',
@@ -2093,25 +2100,25 @@ export default {
locked: 'bool'
},
/**
* Lookup641: polkadot_runtime_common::paras_registrar::pallet::Error<T>
* Lookup642: polkadot_runtime_common::paras_registrar::pallet::Error<T>
**/
PolkadotRuntimeCommonParasRegistrarPalletError: {
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved', 'EmptyCode']
},
/**
* Lookup643: polkadot_runtime_common::slots::pallet::Error<T>
* Lookup644: polkadot_runtime_common::slots::pallet::Error<T>
**/
PolkadotRuntimeCommonSlotsPalletError: {
_enum: ['ParaNotOnboarding', 'LeaseError']
},
/**
* Lookup648: polkadot_runtime_common::auctions::pallet::Error<T>
* Lookup649: polkadot_runtime_common::auctions::pallet::Error<T>
**/
PolkadotRuntimeCommonAuctionsPalletError: {
_enum: ['AuctionInProgress', 'LeasePeriodInPast', 'ParaNotRegistered', 'NotCurrentAuction', 'NotAuction', 'AuctionEnded', 'AlreadyLeasedOut']
},
/**
* Lookup649: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
* Lookup650: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
**/
PolkadotRuntimeCommonCrowdloanFundInfo: {
depositor: 'AccountId32',
@@ -2126,7 +2133,7 @@ export default {
trieIndex: 'u32'
},
/**
* Lookup650: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
* Lookup651: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
**/
PolkadotRuntimeCommonCrowdloanLastContribution: {
_enum: {
@@ -2136,13 +2143,13 @@ export default {
}
},
/**
* Lookup651: polkadot_runtime_common::crowdloan::pallet::Error<T>
* Lookup652: polkadot_runtime_common::crowdloan::pallet::Error<T>
**/
PolkadotRuntimeCommonCrowdloanPalletError: {
_enum: ['FirstPeriodInPast', 'FirstPeriodTooFarInFuture', 'LastPeriodBeforeFirstPeriod', 'LastPeriodTooFarInFuture', 'CannotEndInPast', 'EndTooFarInFuture', 'Overflow', 'ContributionTooSmall', 'InvalidParaId', 'CapExceeded', 'ContributionPeriodOver', 'InvalidOrigin', 'NotParachain', 'LeaseActive', 'BidOrLeaseActive', 'FundNotEnded', 'NoContributions', 'NotReadyToDissolve', 'InvalidSignature', 'MemoTooLarge', 'AlreadyInNewRaise', 'VrfDelayInProgress', 'NoLeasePeriod']
},
/**
* Lookup652: pallet_xcm::pallet::QueryStatus<BlockNumber>
* Lookup653: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/
PalletXcmQueryStatus: {
_enum: {
@@ -2162,7 +2169,7 @@ export default {
}
},
/**
* Lookup655: xcm::VersionedResponse
* Lookup656: xcm::VersionedResponse
**/
XcmVersionedResponse: {
_enum: {
@@ -2172,7 +2179,7 @@ export default {
}
},
/**
* Lookup661: pallet_xcm::pallet::VersionMigrationStage
* Lookup662: pallet_xcm::pallet::VersionMigrationStage
**/
PalletXcmVersionMigrationStage: {
_enum: {
@@ -2183,21 +2190,21 @@ export default {
}
},
/**
* Lookup662: pallet_xcm::pallet::Error<T>
* Lookup663: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
* Lookup673: pallet_transaction_payment::ChargeTransactionPayment<T>
* Lookup674: pallet_transaction_payment::ChargeTransactionPayment<T>
**/
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
* Lookup674: polkadot_runtime_common::claims::PrevalidateAttests<T>
* Lookup675: polkadot_runtime_common::claims::PrevalidateAttests<T>
**/
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
/**
* Lookup675: polkadot_runtime::Runtime
* Lookup676: polkadot_runtime::Runtime
**/
PolkadotRuntimeRuntime: 'Null'
};
+82 -79
View File
@@ -3407,17 +3407,17 @@ export default {
bond: 'u128'
},
/**
* Lookup413: frame_support::PalletId
* Lookup414: frame_support::PalletId
**/
FrameSupportPalletId: '[u8;8]',
/**
* Lookup414: pallet_treasury::pallet::Error<T, I>
* Lookup415: pallet_treasury::pallet::Error<T, I>
**/
PalletTreasuryError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']
},
/**
* Lookup415: pallet_contracts::wasm::PrefabWasmModule<T>
* Lookup416: pallet_contracts::wasm::PrefabWasmModule<T>
**/
PalletContractsWasmPrefabWasmModule: {
instructionWeightsVersion: 'Compact<u32>',
@@ -3426,7 +3426,7 @@ export default {
code: 'Bytes'
},
/**
* Lookup416: pallet_contracts::wasm::OwnerInfo<T>
* Lookup417: pallet_contracts::wasm::OwnerInfo<T>
**/
PalletContractsWasmOwnerInfo: {
owner: 'AccountId32',
@@ -3434,7 +3434,7 @@ export default {
refcount: 'Compact<u64>'
},
/**
* Lookup417: pallet_contracts::storage::RawContractInfo<primitive_types::H256, Balance>
* Lookup418: pallet_contracts::storage::RawContractInfo<primitive_types::H256, Balance>
**/
PalletContractsStorageRawContractInfo: {
trieId: 'Bytes',
@@ -3442,13 +3442,13 @@ export default {
storageDeposit: 'u128'
},
/**
* Lookup419: pallet_contracts::storage::DeletedContract
* Lookup420: pallet_contracts::storage::DeletedContract
**/
PalletContractsStorageDeletedContract: {
trieId: 'Bytes'
},
/**
* Lookup420: pallet_contracts::schedule::Schedule<T>
* Lookup421: pallet_contracts::schedule::Schedule<T>
**/
PalletContractsSchedule: {
limits: 'PalletContractsScheduleLimits',
@@ -3456,7 +3456,7 @@ export default {
hostFnWeights: 'PalletContractsScheduleHostFnWeights'
},
/**
* Lookup421: pallet_contracts::schedule::Limits
* Lookup422: pallet_contracts::schedule::Limits
**/
PalletContractsScheduleLimits: {
eventTopics: 'u32',
@@ -3472,7 +3472,7 @@ export default {
codeLen: 'u32'
},
/**
* Lookup422: pallet_contracts::schedule::InstructionWeights<T>
* Lookup423: pallet_contracts::schedule::InstructionWeights<T>
**/
PalletContractsScheduleInstructionWeights: {
_alias: {
@@ -3532,7 +3532,7 @@ export default {
i64rotr: 'u32'
},
/**
* Lookup423: pallet_contracts::schedule::HostFnWeights<T>
* Lookup424: pallet_contracts::schedule::HostFnWeights<T>
**/
PalletContractsScheduleHostFnWeights: {
_alias: {
@@ -3559,9 +3559,12 @@ export default {
depositEventPerByte: 'u64',
debugMessage: 'u64',
setStorage: 'u64',
setStoragePerByte: 'u64',
setStoragePerNewByte: 'u64',
setStoragePerOldByte: 'u64',
clearStorage: 'u64',
clearStoragePerByte: 'u64',
containsStorage: 'u64',
containsStoragePerByte: 'u64',
getStorage: 'u64',
getStoragePerByte: 'u64',
takeStorage: 'u64',
@@ -3586,39 +3589,39 @@ export default {
ecdsaRecover: 'u64'
},
/**
* Lookup424: pallet_contracts::pallet::Error<T>
* Lookup425: pallet_contracts::pallet::Error<T>
**/
PalletContractsError: {
_enum: ['InvalidScheduleVersion', 'OutOfGas', 'OutputBufferTooSmall', 'TransferFailed', 'MaxCallDepthReached', 'ContractNotFound', 'CodeTooLarge', 'CodeNotFound', 'OutOfBounds', 'DecodingFailed', 'ContractTrapped', 'ValueTooLarge', 'TerminatedWhileReentrant', 'InputForwarded', 'RandomSubjectTooLong', 'TooManyTopics', 'DuplicateTopics', 'NoChainExtension', 'DeletionQueueFull', 'DuplicateContract', 'TerminatedInConstructor', 'DebugMessageInvalidUTF8', 'ReentranceDenied', 'StorageDepositNotEnoughFunds', 'StorageDepositLimitExhausted', 'CodeInUse', 'ContractReverted', 'CodeRejected']
},
/**
* Lookup425: pallet_sudo::pallet::Error<T>
* Lookup426: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
* Lookup429: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
* Lookup430: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit>
**/
PalletImOnlineBoundedOpaqueNetworkState: {
peerId: 'Bytes',
externalAddresses: 'Vec<Bytes>'
},
/**
* Lookup433: pallet_im_online::pallet::Error<T>
* Lookup434: pallet_im_online::pallet::Error<T>
**/
PalletImOnlineError: {
_enum: ['InvalidKey', 'DuplicatedHeartbeat']
},
/**
* Lookup436: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
* Lookup437: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender>
**/
SpStakingOffenceOffenceDetails: {
offender: '(AccountId32,PalletStakingExposure)',
reporters: 'Vec<AccountId32>'
},
/**
* Lookup438: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
* Lookup439: pallet_identity::types::Registration<Balance, MaxJudgements, MaxAdditionalFields>
**/
PalletIdentityRegistration: {
judgements: 'Vec<(u32,PalletIdentityJudgement)>',
@@ -3626,7 +3629,7 @@ export default {
info: 'PalletIdentityIdentityInfo'
},
/**
* Lookup446: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
* Lookup447: pallet_identity::types::RegistrarInfo<Balance, sp_core::crypto::AccountId32>
**/
PalletIdentityRegistrarInfo: {
account: 'AccountId32',
@@ -3634,13 +3637,13 @@ export default {
fields: 'PalletIdentityBitFlags'
},
/**
* Lookup448: pallet_identity::pallet::Error<T>
* Lookup449: pallet_identity::pallet::Error<T>
**/
PalletIdentityError: {
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned']
},
/**
* Lookup450: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
* Lookup451: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
**/
PalletSocietyBid: {
who: 'AccountId32',
@@ -3648,7 +3651,7 @@ export default {
value: 'u128'
},
/**
* Lookup451: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
* Lookup452: pallet_society::BidKind<sp_core::crypto::AccountId32, Balance>
**/
PalletSocietyBidKind: {
_enum: {
@@ -3657,25 +3660,25 @@ export default {
}
},
/**
* Lookup453: pallet_society::VouchingStatus
* Lookup454: pallet_society::VouchingStatus
**/
PalletSocietyVouchingStatus: {
_enum: ['Vouching', 'Banned']
},
/**
* Lookup457: pallet_society::Vote
* Lookup458: pallet_society::Vote
**/
PalletSocietyVote: {
_enum: ['Skeptic', 'Reject', 'Approve']
},
/**
* Lookup458: pallet_society::pallet::Error<T, I>
* Lookup459: pallet_society::pallet::Error<T, I>
**/
PalletSocietyError: {
_enum: ['BadPosition', 'NotMember', 'AlreadyMember', 'Suspended', 'NotSuspended', 'NoPayout', 'AlreadyFounded', 'InsufficientPot', 'AlreadyVouching', 'NotVouching', 'Head', 'Founder', 'AlreadyBid', 'AlreadyCandidate', 'NotCandidate', 'MaxMembers', 'NotFounder', 'NotHead']
},
/**
* Lookup459: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::crypto::AccountId32>
* Lookup460: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::crypto::AccountId32>
**/
PalletRecoveryRecoveryConfig: {
delayPeriod: 'u32',
@@ -3684,7 +3687,7 @@ export default {
threshold: 'u16'
},
/**
* Lookup460: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
* Lookup461: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::crypto::AccountId32>
**/
PalletRecoveryActiveRecovery: {
created: 'u32',
@@ -3692,25 +3695,25 @@ export default {
friends: 'Vec<AccountId32>'
},
/**
* Lookup461: pallet_recovery::pallet::Error<T>
* Lookup462: pallet_recovery::pallet::Error<T>
**/
PalletRecoveryError: {
_enum: ['NotAllowed', 'ZeroThreshold', 'NotEnoughFriends', 'MaxFriends', 'NotSorted', 'NotRecoverable', 'AlreadyRecoverable', 'AlreadyStarted', 'NotStarted', 'NotFriend', 'DelayPeriod', 'AlreadyVouched', 'Threshold', 'StillActive', 'AlreadyProxy', 'BadState']
},
/**
* Lookup464: pallet_vesting::Releases
* Lookup465: pallet_vesting::Releases
**/
PalletVestingReleases: {
_enum: ['V0', 'V1']
},
/**
* Lookup465: pallet_vesting::pallet::Error<T>
* Lookup466: pallet_vesting::pallet::Error<T>
**/
PalletVestingError: {
_enum: ['NotVesting', 'AtMaxVestingSchedules', 'AmountLow', 'ScheduleIndexOutOfBounds', 'InvalidScheduleParams']
},
/**
* Lookup468: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<node_runtime::Call, primitive_types::H256>, BlockNumber, node_runtime::OriginCaller, sp_core::crypto::AccountId32>
* Lookup469: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<node_runtime::Call, primitive_types::H256>, BlockNumber, node_runtime::OriginCaller, sp_core::crypto::AccountId32>
**/
PalletSchedulerScheduledV3: {
maybeId: 'Option<Bytes>',
@@ -3720,19 +3723,19 @@ export default {
origin: 'NodeRuntimeOriginCaller'
},
/**
* Lookup469: pallet_scheduler::Releases
* Lookup470: pallet_scheduler::Releases
**/
PalletSchedulerReleases: {
_enum: ['V1', 'V2', 'V3']
},
/**
* Lookup470: pallet_scheduler::pallet::Error<T>
* Lookup471: pallet_scheduler::pallet::Error<T>
**/
PalletSchedulerError: {
_enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange']
},
/**
* Lookup471: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
* Lookup472: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
**/
PalletPreimageRequestStatus: {
_enum: {
@@ -3741,13 +3744,13 @@ export default {
}
},
/**
* Lookup474: pallet_preimage::pallet::Error<T>
* Lookup475: pallet_preimage::pallet::Error<T>
**/
PalletPreimageError: {
_enum: ['TooLarge', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested']
},
/**
* Lookup477: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, node_runtime::ProxyType, BlockNumber>
* Lookup478: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, node_runtime::ProxyType, BlockNumber>
**/
PalletProxyProxyDefinition: {
delegate: 'AccountId32',
@@ -3755,7 +3758,7 @@ export default {
delay: 'u32'
},
/**
* Lookup481: pallet_proxy::Announcement<sp_core::crypto::AccountId32, primitive_types::H256, BlockNumber>
* Lookup482: pallet_proxy::Announcement<sp_core::crypto::AccountId32, primitive_types::H256, BlockNumber>
**/
PalletProxyAnnouncement: {
real: 'AccountId32',
@@ -3763,13 +3766,13 @@ export default {
height: 'u32'
},
/**
* Lookup483: pallet_proxy::pallet::Error<T>
* Lookup484: pallet_proxy::pallet::Error<T>
**/
PalletProxyError: {
_enum: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy']
},
/**
* Lookup485: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32>
* Lookup486: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32>
**/
PalletMultisigMultisig: {
when: 'PalletMultisigTimepoint',
@@ -3778,13 +3781,13 @@ export default {
approvals: 'Vec<AccountId32>'
},
/**
* Lookup487: pallet_multisig::pallet::Error<T>
* Lookup488: pallet_multisig::pallet::Error<T>
**/
PalletMultisigError: {
_enum: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored']
},
/**
* Lookup488: pallet_bounties::Bounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
* Lookup489: pallet_bounties::Bounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
**/
PalletBountiesBounty: {
proposer: 'AccountId32',
@@ -3795,7 +3798,7 @@ export default {
status: 'PalletBountiesBountyStatus'
},
/**
* Lookup489: pallet_bounties::BountyStatus<sp_core::crypto::AccountId32, BlockNumber>
* Lookup490: pallet_bounties::BountyStatus<sp_core::crypto::AccountId32, BlockNumber>
**/
PalletBountiesBountyStatus: {
_enum: {
@@ -3817,13 +3820,13 @@ export default {
}
},
/**
* Lookup490: pallet_bounties::pallet::Error<T>
* Lookup491: pallet_bounties::pallet::Error<T>
**/
PalletBountiesError: {
_enum: ['InsufficientProposersBalance', 'InvalidIndex', 'ReasonTooBig', 'UnexpectedStatus', 'RequireCurator', 'InvalidValue', 'InvalidFee', 'PendingPayout', 'Premature', 'HasActiveChildBounty']
},
/**
* Lookup491: pallet_tips::OpenTip<sp_core::crypto::AccountId32, Balance, BlockNumber, primitive_types::H256>
* Lookup492: pallet_tips::OpenTip<sp_core::crypto::AccountId32, Balance, BlockNumber, primitive_types::H256>
**/
PalletTipsOpenTip: {
reason: 'H256',
@@ -3835,13 +3838,13 @@ export default {
findersFee: 'bool'
},
/**
* Lookup492: pallet_tips::pallet::Error<T>
* Lookup493: pallet_tips::pallet::Error<T>
**/
PalletTipsError: {
_enum: ['ReasonTooBig', 'AlreadyKnown', 'UnknownTip', 'NotFinder', 'StillOpen', 'Premature']
},
/**
* Lookup493: pallet_assets::types::AssetDetails<Balance, sp_core::crypto::AccountId32, DepositBalance>
* Lookup494: pallet_assets::types::AssetDetails<Balance, sp_core::crypto::AccountId32, DepositBalance>
**/
PalletAssetsAssetDetails: {
owner: 'AccountId32',
@@ -3858,7 +3861,7 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup494: pallet_assets::types::AssetAccount<Balance, DepositBalance, Extra>
* Lookup495: pallet_assets::types::AssetAccount<Balance, DepositBalance, Extra>
**/
PalletAssetsAssetAccount: {
balance: 'u128',
@@ -3867,7 +3870,7 @@ export default {
extra: 'Null'
},
/**
* Lookup495: pallet_assets::types::ExistenceReason<Balance>
* Lookup496: pallet_assets::types::ExistenceReason<Balance>
**/
PalletAssetsExistenceReason: {
_enum: {
@@ -3878,14 +3881,14 @@ export default {
}
},
/**
* Lookup497: pallet_assets::types::Approval<Balance, DepositBalance>
* Lookup498: pallet_assets::types::Approval<Balance, DepositBalance>
**/
PalletAssetsApproval: {
amount: 'u128',
deposit: 'u128'
},
/**
* Lookup498: pallet_assets::types::AssetMetadata<DepositBalance, frame_support::storage::bounded_vec::BoundedVec<T, S>>
* Lookup499: pallet_assets::types::AssetMetadata<DepositBalance, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
PalletAssetsAssetMetadata: {
deposit: 'u128',
@@ -3895,13 +3898,13 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup499: pallet_assets::pallet::Error<T, I>
* Lookup500: pallet_assets::pallet::Error<T, I>
**/
PalletAssetsError: {
_enum: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'NoProvider', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn']
},
/**
* Lookup500: pallet_lottery::LotteryConfig<BlockNumber, Balance>
* Lookup501: pallet_lottery::LotteryConfig<BlockNumber, Balance>
**/
PalletLotteryLotteryConfig: {
price: 'u128',
@@ -3911,20 +3914,20 @@ export default {
repeat: 'bool'
},
/**
* Lookup504: pallet_lottery::pallet::Error<T>
* Lookup505: pallet_lottery::pallet::Error<T>
**/
PalletLotteryError: {
_enum: ['NotConfigured', 'InProgress', 'AlreadyEnded', 'InvalidCall', 'AlreadyParticipating', 'TooManyCalls', 'EncodingFailed']
},
/**
* Lookup506: pallet_gilt::pallet::GiltBid<Balance, sp_core::crypto::AccountId32>
* Lookup507: pallet_gilt::pallet::GiltBid<Balance, sp_core::crypto::AccountId32>
**/
PalletGiltGiltBid: {
amount: 'u128',
who: 'AccountId32'
},
/**
* Lookup507: pallet_gilt::pallet::ActiveGiltsTotal<Balance>
* Lookup508: pallet_gilt::pallet::ActiveGiltsTotal<Balance>
**/
PalletGiltActiveGiltsTotal: {
frozen: 'u128',
@@ -3933,7 +3936,7 @@ export default {
target: 'Perquintill'
},
/**
* Lookup508: pallet_gilt::pallet::ActiveGilt<Balance, sp_core::crypto::AccountId32, BlockNumber>
* Lookup509: pallet_gilt::pallet::ActiveGilt<Balance, sp_core::crypto::AccountId32, BlockNumber>
**/
PalletGiltActiveGilt: {
proportion: 'Perquintill',
@@ -3942,13 +3945,13 @@ export default {
expiry: 'u32'
},
/**
* Lookup509: pallet_gilt::pallet::Error<T>
* Lookup510: pallet_gilt::pallet::Error<T>
**/
PalletGiltError: {
_enum: ['DurationTooSmall', 'DurationTooBig', 'AmountTooSmall', 'BidTooLow', 'Unknown', 'NotOwner', 'NotExpired', 'NotFound']
},
/**
* Lookup510: pallet_uniques::types::ClassDetails<sp_core::crypto::AccountId32, DepositBalance>
* Lookup511: pallet_uniques::types::ClassDetails<sp_core::crypto::AccountId32, DepositBalance>
**/
PalletUniquesClassDetails: {
owner: 'AccountId32',
@@ -3963,7 +3966,7 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup512: pallet_uniques::types::InstanceDetails<sp_core::crypto::AccountId32, DepositBalance>
* Lookup513: pallet_uniques::types::InstanceDetails<sp_core::crypto::AccountId32, DepositBalance>
**/
PalletUniquesInstanceDetails: {
owner: 'AccountId32',
@@ -3972,7 +3975,7 @@ export default {
deposit: 'u128'
},
/**
* Lookup513: pallet_uniques::types::ClassMetadata<DepositBalance, StringLimit>
* Lookup514: pallet_uniques::types::ClassMetadata<DepositBalance, StringLimit>
**/
PalletUniquesClassMetadata: {
deposit: 'u128',
@@ -3980,7 +3983,7 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup514: pallet_uniques::types::InstanceMetadata<DepositBalance, StringLimit>
* Lookup515: pallet_uniques::types::InstanceMetadata<DepositBalance, StringLimit>
**/
PalletUniquesInstanceMetadata: {
deposit: 'u128',
@@ -3988,13 +3991,13 @@ export default {
isFrozen: 'bool'
},
/**
* Lookup517: pallet_uniques::pallet::Error<T, I>
* Lookup518: pallet_uniques::pallet::Error<T, I>
**/
PalletUniquesError: {
_enum: ['NoPermission', 'Unknown', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved']
},
/**
* Lookup519: pallet_transaction_storage::TransactionInfo
* Lookup520: pallet_transaction_storage::TransactionInfo
**/
PalletTransactionStorageTransactionInfo: {
_alias: {
@@ -4006,13 +4009,13 @@ export default {
blockChunks: 'u32'
},
/**
* Lookup520: pallet_transaction_storage::pallet::Error<T>
* Lookup521: pallet_transaction_storage::pallet::Error<T>
**/
PalletTransactionStorageError: {
_enum: ['InsufficientFunds', 'NotConfigured', 'RenewedNotFound', 'EmptyTransaction', 'UnexpectedProof', 'InvalidProof', 'MissingProof', 'MissingStateData', 'DoubleCheck', 'ProofNotChecked', 'TransactionTooLarge', 'TooManyTransactions', 'BadContext']
},
/**
* Lookup521: pallet_bags_list::list::Node<T>
* Lookup522: pallet_bags_list::list::Node<T>
**/
PalletBagsListListNode: {
id: 'AccountId32',
@@ -4021,20 +4024,20 @@ export default {
bagUpper: 'u64'
},
/**
* Lookup522: pallet_bags_list::list::Bag<T>
* Lookup523: pallet_bags_list::list::Bag<T>
**/
PalletBagsListListBag: {
head: 'Option<AccountId32>',
tail: 'Option<AccountId32>'
},
/**
* Lookup524: pallet_bags_list::pallet::Error<T>
* Lookup525: pallet_bags_list::pallet::Error<T>
**/
PalletBagsListError: {
_enum: ['NotInSameBag', 'IdNotFound', 'NotHeavier']
},
/**
* Lookup525: pallet_child_bounties::ChildBounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
* Lookup526: pallet_child_bounties::ChildBounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
**/
PalletChildBountiesChildBounty: {
parentBounty: 'u32',
@@ -4044,7 +4047,7 @@ export default {
status: 'PalletChildBountiesChildBountyStatus'
},
/**
* Lookup526: pallet_child_bounties::ChildBountyStatus<sp_core::crypto::AccountId32, BlockNumber>
* Lookup527: pallet_child_bounties::ChildBountyStatus<sp_core::crypto::AccountId32, BlockNumber>
**/
PalletChildBountiesChildBountyStatus: {
_enum: {
@@ -4063,13 +4066,13 @@ export default {
}
},
/**
* Lookup528: pallet_child_bounties::pallet::Error<T>
* Lookup529: pallet_child_bounties::pallet::Error<T>
**/
PalletChildBountiesError: {
_enum: ['ParentBountyNotActive', 'InsufficientBountyBalance', 'TooManyChildBounties']
},
/**
* Lookup530: sp_runtime::MultiSignature
* Lookup531: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -4079,42 +4082,42 @@ export default {
}
},
/**
* Lookup531: sp_core::ecdsa::Signature
* Lookup532: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
* Lookup534: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
* Lookup535: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
**/
FrameSystemExtensionsCheckNonZeroSender: 'Null',
/**
* Lookup535: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
* Lookup536: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
* Lookup536: frame_system::extensions::check_tx_version::CheckTxVersion<T>
* Lookup537: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: 'Null',
/**
* Lookup537: frame_system::extensions::check_genesis::CheckGenesis<T>
* Lookup538: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
* Lookup540: frame_system::extensions::check_nonce::CheckNonce<T>
* Lookup541: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
* Lookup541: frame_system::extensions::check_weight::CheckWeight<T>
* Lookup542: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
* Lookup542: pallet_asset_tx_payment::ChargeAssetTxPayment<T>
* Lookup543: pallet_asset_tx_payment::ChargeAssetTxPayment<T>
**/
PalletAssetTxPaymentChargeAssetTxPayment: {
tip: 'Compact<u128>',
assetId: 'Option<u32>'
},
/**
* Lookup543: node_runtime::Runtime
* Lookup544: node_runtime::Runtime
**/
NodeRuntimeRuntime: 'Null'
};
@@ -105,7 +105,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'ForceUnfreeze';
}
/** @name PolkadotPrimitivesV1DisputeState (696) */
/** @name PolkadotPrimitivesV1DisputeState (697) */
export interface PolkadotPrimitivesV1DisputeState extends Struct {
readonly validatorsFor: BitVec;
readonly validatorsAgainst: BitVec;
@@ -113,7 +113,7 @@ declare module '@polkadot/types/lookup' {
readonly concludedAt: Option<u32>;
}
/** @name PolkadotRuntimeParachainsDisputesPalletError (697) */
/** @name PolkadotRuntimeParachainsDisputesPalletError (698) */
export interface PolkadotRuntimeParachainsDisputesPalletError extends Enum {
readonly isDuplicateDisputeStatementSets: boolean;
readonly isAncientDisputeStatement: boolean;
@@ -125,7 +125,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DuplicateDisputeStatementSets' | 'AncientDisputeStatement' | 'ValidatorIndexOutOfBounds' | 'InvalidSignature' | 'DuplicateStatement' | 'PotentialSpam' | 'SingleSidedDispute';
}
/** @name KusamaRuntimeRuntime (732) */
/** @name KusamaRuntimeRuntime (733) */
export type KusamaRuntimeRuntime = Null;
} // declare module
@@ -1221,12 +1221,21 @@ declare module '@polkadot/types/lookup' {
readonly isForceCleanHrmp: boolean;
readonly asForceCleanHrmp: {
readonly para: u32;
readonly inbound: u32;
readonly outbound: u32;
} & Struct;
readonly isForceProcessHrmpOpen: boolean;
readonly asForceProcessHrmpOpen: {
readonly channels: u32;
} & Struct;
readonly isForceProcessHrmpClose: boolean;
readonly asForceProcessHrmpClose: {
readonly channels: u32;
} & Struct;
readonly isHrmpCancelOpenRequest: boolean;
readonly asHrmpCancelOpenRequest: {
readonly channelId: PolkadotParachainPrimitivesHrmpChannelId;
readonly openRequests: u32;
} & Struct;
readonly type: 'HrmpInitOpenChannel' | 'HrmpAcceptOpenChannel' | 'HrmpCloseChannel' | 'ForceCleanHrmp' | 'ForceProcessHrmpOpen' | 'ForceProcessHrmpClose' | 'HrmpCancelOpenRequest';
}
@@ -1693,7 +1702,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Assets' | 'Version';
}
/** @name PolkadotRuntimeCommonClaimsPalletError (528) */
/** @name PolkadotRuntimeCommonClaimsPalletError (529) */
export interface PolkadotRuntimeCommonClaimsPalletError extends Enum {
readonly isInvalidEthereumSignature: boolean;
readonly isSignerHasNoClaim: boolean;
@@ -1704,7 +1713,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidEthereumSignature' | 'SignerHasNoClaim' | 'SenderHasNoClaim' | 'PotUnderflow' | 'InvalidStatement' | 'VestedBalanceExists';
}
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (579) */
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (580) */
export interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1751,7 +1760,7 @@ declare module '@polkadot/types/lookup' {
readonly minimumValidationUpgradeDelay: u32;
}
/** @name PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration (580) */
/** @name PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration (581) */
export interface PolkadotRuntimeParachainsConfigurationMigrationV1HostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -1795,19 +1804,19 @@ declare module '@polkadot/types/lookup' {
readonly umpMaxIndividualWeight: u64;
}
/** @name PolkadotRuntimeParachainsConfigurationPalletError (583) */
/** @name PolkadotRuntimeParachainsConfigurationPalletError (584) */
export interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum {
readonly isInvalidNewValue: boolean;
readonly type: 'InvalidNewValue';
}
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (586) */
/** @name PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord (587) */
export interface PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord extends Struct {
readonly bitfield: BitVec;
readonly submittedAt: u32;
}
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (587) */
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (588) */
export interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
readonly core: u32;
readonly hash_: H256;
@@ -1819,9 +1828,14 @@ declare module '@polkadot/types/lookup' {
readonly backingGroup: u32;
}
/** @name PolkadotRuntimeParachainsInclusionPalletError (588) */
/** @name PolkadotRuntimeParachainsInclusionPalletError (589) */
export interface PolkadotRuntimeParachainsInclusionPalletError extends Enum {
readonly isUnsortedOrDuplicateValidatorIndices: boolean;
readonly isUnsortedOrDuplicateDisputeStatementSet: boolean;
readonly isUnsortedOrDuplicateBackedCandidates: boolean;
readonly isUnexpectedRelayParent: boolean;
readonly isWrongBitfieldSize: boolean;
readonly isBitfieldAllZeros: boolean;
readonly isBitfieldDuplicateOrUnordered: boolean;
readonly isValidatorIndexOutOfBounds: boolean;
readonly isInvalidBitfieldSignature: boolean;
@@ -1845,47 +1859,49 @@ declare module '@polkadot/types/lookup' {
readonly isInvalidValidationCodeHash: boolean;
readonly isParaHeadMismatch: boolean;
readonly isBitfieldReferencesFreedCore: boolean;
readonly type: 'WrongBitfieldSize' | 'BitfieldDuplicateOrUnordered' | 'ValidatorIndexOutOfBounds' | 'InvalidBitfieldSignature' | 'UnscheduledCandidate' | 'CandidateScheduledBeforeParaFree' | 'WrongCollator' | 'ScheduledOutOfOrder' | 'HeadDataTooLarge' | 'PrematureCodeUpgrade' | 'NewCodeTooLarge' | 'CandidateNotInParentContext' | 'InvalidGroupIndex' | 'InsufficientBacking' | 'InvalidBacking' | 'NotCollatorSigned' | 'ValidationDataHashMismatch' | 'IncorrectDownwardMessageHandling' | 'InvalidUpwardMessages' | 'HrmpWatermarkMishandling' | 'InvalidOutboundHrmp' | 'InvalidValidationCodeHash' | 'ParaHeadMismatch' | 'BitfieldReferencesFreedCore';
readonly type: 'UnsortedOrDuplicateValidatorIndices' | 'UnsortedOrDuplicateDisputeStatementSet' | 'UnsortedOrDuplicateBackedCandidates' | 'UnexpectedRelayParent' | 'WrongBitfieldSize' | 'BitfieldAllZeros' | 'BitfieldDuplicateOrUnordered' | 'ValidatorIndexOutOfBounds' | 'InvalidBitfieldSignature' | 'UnscheduledCandidate' | 'CandidateScheduledBeforeParaFree' | 'WrongCollator' | 'ScheduledOutOfOrder' | 'HeadDataTooLarge' | 'PrematureCodeUpgrade' | 'NewCodeTooLarge' | 'CandidateNotInParentContext' | 'InvalidGroupIndex' | 'InsufficientBacking' | 'InvalidBacking' | 'NotCollatorSigned' | 'ValidationDataHashMismatch' | 'IncorrectDownwardMessageHandling' | 'InvalidUpwardMessages' | 'HrmpWatermarkMishandling' | 'InvalidOutboundHrmp' | 'InvalidValidationCodeHash' | 'ParaHeadMismatch' | 'BitfieldReferencesFreedCore';
}
/** @name PolkadotPrimitivesV1ScrapedOnChainVotes (589) */
/** @name PolkadotPrimitivesV1ScrapedOnChainVotes (590) */
export interface PolkadotPrimitivesV1ScrapedOnChainVotes extends Struct {
readonly session: u32;
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesV1CandidateReceipt, Vec<ITuple<[u32, PolkadotPrimitivesV0ValidityAttestation]>>]>>;
readonly disputes: Vec<PolkadotPrimitivesV1DisputeStatementSet>;
}
/** @name PolkadotRuntimeParachainsParasInherentPalletError (594) */
/** @name PolkadotRuntimeParachainsParasInherentPalletError (595) */
export interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum {
readonly isTooManyInclusionInherents: boolean;
readonly isInvalidParentHeader: boolean;
readonly isCandidateConcludedInvalid: boolean;
readonly isInherentOverweight: boolean;
readonly type: 'TooManyInclusionInherents' | 'InvalidParentHeader' | 'CandidateConcludedInvalid' | 'InherentOverweight';
readonly isDisputeStatementsUnsortedOrDuplicates: boolean;
readonly isDisputeInvalid: boolean;
readonly type: 'TooManyInclusionInherents' | 'InvalidParentHeader' | 'CandidateConcludedInvalid' | 'InherentOverweight' | 'DisputeStatementsUnsortedOrDuplicates' | 'DisputeInvalid';
}
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (596) */
/** @name PolkadotRuntimeParachainsSchedulerParathreadClaimQueue (597) */
export interface PolkadotRuntimeParachainsSchedulerParathreadClaimQueue extends Struct {
readonly queue: Vec<PolkadotRuntimeParachainsSchedulerQueuedParathread>;
readonly nextCoreOffset: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (598) */
/** @name PolkadotRuntimeParachainsSchedulerQueuedParathread (599) */
export interface PolkadotRuntimeParachainsSchedulerQueuedParathread extends Struct {
readonly claim: PolkadotPrimitivesV1ParathreadEntry;
readonly coreOffset: u32;
}
/** @name PolkadotPrimitivesV1ParathreadEntry (599) */
/** @name PolkadotPrimitivesV1ParathreadEntry (600) */
export interface PolkadotPrimitivesV1ParathreadEntry extends Struct {
readonly claim: PolkadotPrimitivesV1ParathreadClaim;
readonly retries: u32;
}
/** @name PolkadotPrimitivesV1ParathreadClaim (600) */
/** @name PolkadotPrimitivesV1ParathreadClaim (601) */
export interface PolkadotPrimitivesV1ParathreadClaim extends ITuple<[u32, PolkadotPrimitivesV0CollatorAppPublic]> {}
/** @name PolkadotPrimitivesV1CoreOccupied (603) */
/** @name PolkadotPrimitivesV1CoreOccupied (604) */
export interface PolkadotPrimitivesV1CoreOccupied extends Enum {
readonly isParathread: boolean;
readonly asParathread: PolkadotPrimitivesV1ParathreadEntry;
@@ -1893,7 +1909,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Parathread' | 'Parachain';
}
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (606) */
/** @name PolkadotRuntimeParachainsSchedulerCoreAssignment (607) */
export interface PolkadotRuntimeParachainsSchedulerCoreAssignment extends Struct {
readonly core: u32;
readonly paraId: u32;
@@ -1901,7 +1917,7 @@ declare module '@polkadot/types/lookup' {
readonly groupIdx: u32;
}
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (607) */
/** @name PolkadotRuntimeParachainsSchedulerAssignmentKind (608) */
export interface PolkadotRuntimeParachainsSchedulerAssignmentKind extends Enum {
readonly isParachain: boolean;
readonly isParathread: boolean;
@@ -1909,7 +1925,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Parachain' | 'Parathread';
}
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (608) */
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (609) */
export interface PolkadotRuntimeParachainsParasPvfCheckActiveVoteState extends Struct {
readonly votesAccept: BitVec;
readonly votesReject: BitVec;
@@ -1918,7 +1934,7 @@ declare module '@polkadot/types/lookup' {
readonly causes: Vec<PolkadotRuntimeParachainsParasPvfCheckCause>;
}
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (610) */
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (611) */
export interface PolkadotRuntimeParachainsParasPvfCheckCause extends Enum {
readonly isOnboarding: boolean;
readonly asOnboarding: u32;
@@ -1930,7 +1946,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Onboarding' | 'Upgrade';
}
/** @name PolkadotRuntimeParachainsParasParaLifecycle (612) */
/** @name PolkadotRuntimeParachainsParasParaLifecycle (613) */
export interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
readonly isOnboarding: boolean;
readonly isParathread: boolean;
@@ -1942,39 +1958,39 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Onboarding' | 'Parathread' | 'Parachain' | 'UpgradingParathread' | 'DowngradingParachain' | 'OffboardingParathread' | 'OffboardingParachain';
}
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (614) */
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (615) */
export interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
readonly lastPruned: Option<u32>;
}
/** @name PolkadotRuntimeParachainsParasReplacementTimes (616) */
/** @name PolkadotRuntimeParachainsParasReplacementTimes (617) */
export interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
readonly expectedAt: u32;
readonly activatedAt: u32;
}
/** @name PolkadotPrimitivesV1UpgradeGoAhead (618) */
/** @name PolkadotPrimitivesV1UpgradeGoAhead (619) */
export interface PolkadotPrimitivesV1UpgradeGoAhead extends Enum {
readonly isAbort: boolean;
readonly isGoAhead: boolean;
readonly type: 'Abort' | 'GoAhead';
}
/** @name PolkadotPrimitivesV1UpgradeRestriction (619) */
/** @name PolkadotPrimitivesV1UpgradeRestriction (620) */
export interface PolkadotPrimitivesV1UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (620) */
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (621) */
export interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
readonly genesisHead: Bytes;
readonly validationCode: Bytes;
readonly parachain: bool;
}
/** @name PolkadotRuntimeParachainsParasPalletError (621) */
/** @name PolkadotRuntimeParachainsParasPalletError (622) */
export interface PolkadotRuntimeParachainsParasPalletError extends Enum {
readonly isNotRegistered: boolean;
readonly isCannotOnboard: boolean;
@@ -1991,27 +2007,27 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotRegistered' | 'CannotOnboard' | 'CannotOffboard' | 'CannotUpgrade' | 'CannotDowngrade' | 'PvfCheckStatementStale' | 'PvfCheckStatementFuture' | 'PvfCheckValidatorIndexOutOfBounds' | 'PvfCheckInvalidSignature' | 'PvfCheckDoubleVote' | 'PvfCheckSubjectInvalid' | 'PvfCheckDisabled';
}
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (623) */
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (624) */
export interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
readonly validators: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
readonly queued: Vec<PolkadotPrimitivesV0ValidatorAppPublic>;
readonly sessionIndex: u32;
}
/** @name PolkadotCorePrimitivesInboundDownwardMessage (625) */
/** @name PolkadotCorePrimitivesInboundDownwardMessage (626) */
export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
/** @name PolkadotRuntimeParachainsUmpPalletError (627) */
/** @name PolkadotRuntimeParachainsUmpPalletError (628) */
export interface PolkadotRuntimeParachainsUmpPalletError extends Enum {
readonly isUnknownMessageIndex: boolean;
readonly isWeightOverLimit: boolean;
readonly type: 'UnknownMessageIndex' | 'WeightOverLimit';
}
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (628) */
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (629) */
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool;
readonly age: u32;
@@ -2021,7 +2037,7 @@ declare module '@polkadot/types/lookup' {
readonly maxTotalSize: u32;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (630) */
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (631) */
export interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -2033,13 +2049,13 @@ declare module '@polkadot/types/lookup' {
readonly recipientDeposit: u128;
}
/** @name PolkadotCorePrimitivesInboundHrmpMessage (633) */
/** @name PolkadotCorePrimitivesInboundHrmpMessage (634) */
export interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
/** @name PolkadotRuntimeParachainsHrmpPalletError (636) */
/** @name PolkadotRuntimeParachainsHrmpPalletError (637) */
export interface PolkadotRuntimeParachainsHrmpPalletError extends Enum {
readonly isOpenHrmpChannelToSelf: boolean;
readonly isOpenHrmpChannelInvalidRecipient: boolean;
@@ -2059,10 +2075,11 @@ declare module '@polkadot/types/lookup' {
readonly isCancelHrmpOpenChannelUnauthorized: boolean;
readonly isOpenHrmpChannelDoesntExist: boolean;
readonly isOpenHrmpChannelAlreadyConfirmed: boolean;
readonly type: 'OpenHrmpChannelToSelf' | 'OpenHrmpChannelInvalidRecipient' | 'OpenHrmpChannelZeroCapacity' | 'OpenHrmpChannelCapacityExceedsLimit' | 'OpenHrmpChannelZeroMessageSize' | 'OpenHrmpChannelMessageSizeExceedsLimit' | 'OpenHrmpChannelAlreadyExists' | 'OpenHrmpChannelAlreadyRequested' | 'OpenHrmpChannelLimitExceeded' | 'AcceptHrmpChannelDoesntExist' | 'AcceptHrmpChannelAlreadyConfirmed' | 'AcceptHrmpChannelLimitExceeded' | 'CloseHrmpChannelUnauthorized' | 'CloseHrmpChannelDoesntExist' | 'CloseHrmpChannelAlreadyUnderway' | 'CancelHrmpOpenChannelUnauthorized' | 'OpenHrmpChannelDoesntExist' | 'OpenHrmpChannelAlreadyConfirmed';
readonly isWrongWitness: boolean;
readonly type: 'OpenHrmpChannelToSelf' | 'OpenHrmpChannelInvalidRecipient' | 'OpenHrmpChannelZeroCapacity' | 'OpenHrmpChannelCapacityExceedsLimit' | 'OpenHrmpChannelZeroMessageSize' | 'OpenHrmpChannelMessageSizeExceedsLimit' | 'OpenHrmpChannelAlreadyExists' | 'OpenHrmpChannelAlreadyRequested' | 'OpenHrmpChannelLimitExceeded' | 'AcceptHrmpChannelDoesntExist' | 'AcceptHrmpChannelAlreadyConfirmed' | 'AcceptHrmpChannelLimitExceeded' | 'CloseHrmpChannelUnauthorized' | 'CloseHrmpChannelDoesntExist' | 'CloseHrmpChannelAlreadyUnderway' | 'CancelHrmpOpenChannelUnauthorized' | 'OpenHrmpChannelDoesntExist' | 'OpenHrmpChannelAlreadyConfirmed' | 'WrongWitness';
}
/** @name PolkadotPrimitivesV2SessionInfo (638) */
/** @name PolkadotPrimitivesV2SessionInfo (639) */
export interface PolkadotPrimitivesV2SessionInfo extends Struct {
readonly activeValidatorIndices: Vec<u32>;
readonly randomSeed: U8aFixed;
@@ -2079,14 +2096,14 @@ declare module '@polkadot/types/lookup' {
readonly neededApprovals: u32;
}
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (640) */
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (641) */
export interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
readonly manager: AccountId32;
readonly deposit: u128;
readonly locked: bool;
}
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (641) */
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (642) */
export interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum {
readonly isNotRegistered: boolean;
readonly isAlreadyRegistered: boolean;
@@ -2104,14 +2121,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotRegistered' | 'AlreadyRegistered' | 'NotOwner' | 'CodeTooLarge' | 'HeadDataTooLarge' | 'NotParachain' | 'NotParathread' | 'CannotDeregister' | 'CannotDowngrade' | 'CannotUpgrade' | 'ParaLocked' | 'NotReserved' | 'EmptyCode';
}
/** @name PolkadotRuntimeCommonSlotsPalletError (643) */
/** @name PolkadotRuntimeCommonSlotsPalletError (644) */
export interface PolkadotRuntimeCommonSlotsPalletError extends Enum {
readonly isParaNotOnboarding: boolean;
readonly isLeaseError: boolean;
readonly type: 'ParaNotOnboarding' | 'LeaseError';
}
/** @name PolkadotRuntimeCommonAuctionsPalletError (648) */
/** @name PolkadotRuntimeCommonAuctionsPalletError (649) */
export interface PolkadotRuntimeCommonAuctionsPalletError extends Enum {
readonly isAuctionInProgress: boolean;
readonly isLeasePeriodInPast: boolean;
@@ -2123,7 +2140,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AuctionInProgress' | 'LeasePeriodInPast' | 'ParaNotRegistered' | 'NotCurrentAuction' | 'NotAuction' | 'AuctionEnded' | 'AlreadyLeasedOut';
}
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (649) */
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (650) */
export interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
readonly depositor: AccountId32;
readonly verifier: Option<SpRuntimeMultiSigner>;
@@ -2137,7 +2154,7 @@ declare module '@polkadot/types/lookup' {
readonly trieIndex: u32;
}
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (650) */
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (651) */
export interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
readonly isNever: boolean;
readonly isPreEnding: boolean;
@@ -2147,7 +2164,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Never' | 'PreEnding' | 'Ending';
}
/** @name PolkadotRuntimeCommonCrowdloanPalletError (651) */
/** @name PolkadotRuntimeCommonCrowdloanPalletError (652) */
export interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum {
readonly isFirstPeriodInPast: boolean;
readonly isFirstPeriodTooFarInFuture: boolean;
@@ -2175,7 +2192,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'FirstPeriodInPast' | 'FirstPeriodTooFarInFuture' | 'LastPeriodBeforeFirstPeriod' | 'LastPeriodTooFarInFuture' | 'CannotEndInPast' | 'EndTooFarInFuture' | 'Overflow' | 'ContributionTooSmall' | 'InvalidParaId' | 'CapExceeded' | 'ContributionPeriodOver' | 'InvalidOrigin' | 'NotParachain' | 'LeaseActive' | 'BidOrLeaseActive' | 'FundNotEnded' | 'NoContributions' | 'NotReadyToDissolve' | 'InvalidSignature' | 'MemoTooLarge' | 'AlreadyInNewRaise' | 'VrfDelayInProgress' | 'NoLeasePeriod';
}
/** @name PalletXcmQueryStatus (652) */
/** @name PalletXcmQueryStatus (653) */
export interface PalletXcmQueryStatus extends Enum {
readonly isPending: boolean;
readonly asPending: {
@@ -2196,7 +2213,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Pending' | 'VersionNotifier' | 'Ready';
}
/** @name XcmVersionedResponse (655) */
/** @name XcmVersionedResponse (656) */
export interface XcmVersionedResponse extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Response;
@@ -2207,7 +2224,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'V0' | 'V1' | 'V2';
}
/** @name PalletXcmVersionMigrationStage (661) */
/** @name PalletXcmVersionMigrationStage (662) */
export interface PalletXcmVersionMigrationStage extends Enum {
readonly isMigrateSupportedVersion: boolean;
readonly isMigrateVersionNotifiers: boolean;
@@ -2217,7 +2234,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets';
}
/** @name PalletXcmError (662) */
/** @name PalletXcmError (663) */
export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2235,13 +2252,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
/** @name PalletTransactionPaymentChargeTransactionPayment (673) */
/** @name PalletTransactionPaymentChargeTransactionPayment (674) */
export interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (674) */
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (675) */
export type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
/** @name PolkadotRuntimeRuntime (675) */
/** @name PolkadotRuntimeRuntime (676) */
export type PolkadotRuntimeRuntime = Null;
} // declare module
@@ -3748,10 +3748,10 @@ declare module '@polkadot/types/lookup' {
readonly bond: u128;
}
/** @name FrameSupportPalletId (413) */
/** @name FrameSupportPalletId (414) */
export interface FrameSupportPalletId extends U8aFixed {}
/** @name PalletTreasuryError (414) */
/** @name PalletTreasuryError (415) */
export interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -3759,7 +3759,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals';
}
/** @name PalletContractsWasmPrefabWasmModule (415) */
/** @name PalletContractsWasmPrefabWasmModule (416) */
export interface PalletContractsWasmPrefabWasmModule extends Struct {
readonly instructionWeightsVersion: Compact<u32>;
readonly initial: Compact<u32>;
@@ -3767,33 +3767,33 @@ declare module '@polkadot/types/lookup' {
readonly code: Bytes;
}
/** @name PalletContractsWasmOwnerInfo (416) */
/** @name PalletContractsWasmOwnerInfo (417) */
export interface PalletContractsWasmOwnerInfo extends Struct {
readonly owner: AccountId32;
readonly deposit: Compact<u128>;
readonly refcount: Compact<u64>;
}
/** @name PalletContractsStorageRawContractInfo (417) */
/** @name PalletContractsStorageRawContractInfo (418) */
export interface PalletContractsStorageRawContractInfo extends Struct {
readonly trieId: Bytes;
readonly codeHash: H256;
readonly storageDeposit: u128;
}
/** @name PalletContractsStorageDeletedContract (419) */
/** @name PalletContractsStorageDeletedContract (420) */
export interface PalletContractsStorageDeletedContract extends Struct {
readonly trieId: Bytes;
}
/** @name PalletContractsSchedule (420) */
/** @name PalletContractsSchedule (421) */
export interface PalletContractsSchedule extends Struct {
readonly limits: PalletContractsScheduleLimits;
readonly instructionWeights: PalletContractsScheduleInstructionWeights;
readonly hostFnWeights: PalletContractsScheduleHostFnWeights;
}
/** @name PalletContractsScheduleLimits (421) */
/** @name PalletContractsScheduleLimits (422) */
export interface PalletContractsScheduleLimits extends Struct {
readonly eventTopics: u32;
readonly stackHeight: u32;
@@ -3808,7 +3808,7 @@ declare module '@polkadot/types/lookup' {
readonly codeLen: u32;
}
/** @name PalletContractsScheduleInstructionWeights (422) */
/** @name PalletContractsScheduleInstructionWeights (423) */
export interface PalletContractsScheduleInstructionWeights extends Struct {
readonly version: u32;
readonly i64const: u32;
@@ -3864,7 +3864,7 @@ declare module '@polkadot/types/lookup' {
readonly i64rotr: u32;
}
/** @name PalletContractsScheduleHostFnWeights (423) */
/** @name PalletContractsScheduleHostFnWeights (424) */
export interface PalletContractsScheduleHostFnWeights extends Struct {
readonly caller: u64;
readonly address: u64;
@@ -3887,9 +3887,12 @@ declare module '@polkadot/types/lookup' {
readonly depositEventPerByte: u64;
readonly debugMessage: u64;
readonly setStorage: u64;
readonly setStoragePerByte: u64;
readonly setStoragePerNewByte: u64;
readonly setStoragePerOldByte: u64;
readonly clearStorage: u64;
readonly clearStoragePerByte: u64;
readonly containsStorage: u64;
readonly containsStoragePerByte: u64;
readonly getStorage: u64;
readonly getStoragePerByte: u64;
readonly takeStorage: u64;
@@ -3914,7 +3917,7 @@ declare module '@polkadot/types/lookup' {
readonly ecdsaRecover: u64;
}
/** @name PalletContractsError (424) */
/** @name PalletContractsError (425) */
export interface PalletContractsError extends Enum {
readonly isInvalidScheduleVersion: boolean;
readonly isOutOfGas: boolean;
@@ -3947,46 +3950,46 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidScheduleVersion' | 'OutOfGas' | 'OutputBufferTooSmall' | 'TransferFailed' | 'MaxCallDepthReached' | 'ContractNotFound' | 'CodeTooLarge' | 'CodeNotFound' | 'OutOfBounds' | 'DecodingFailed' | 'ContractTrapped' | 'ValueTooLarge' | 'TerminatedWhileReentrant' | 'InputForwarded' | 'RandomSubjectTooLong' | 'TooManyTopics' | 'DuplicateTopics' | 'NoChainExtension' | 'DeletionQueueFull' | 'DuplicateContract' | 'TerminatedInConstructor' | 'DebugMessageInvalidUTF8' | 'ReentranceDenied' | 'StorageDepositNotEnoughFunds' | 'StorageDepositLimitExhausted' | 'CodeInUse' | 'ContractReverted' | 'CodeRejected';
}
/** @name PalletSudoError (425) */
/** @name PalletSudoError (426) */
export interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
/** @name PalletImOnlineBoundedOpaqueNetworkState (429) */
/** @name PalletImOnlineBoundedOpaqueNetworkState (430) */
export interface PalletImOnlineBoundedOpaqueNetworkState extends Struct {
readonly peerId: Bytes;
readonly externalAddresses: Vec<Bytes>;
}
/** @name PalletImOnlineError (433) */
/** @name PalletImOnlineError (434) */
export interface PalletImOnlineError extends Enum {
readonly isInvalidKey: boolean;
readonly isDuplicatedHeartbeat: boolean;
readonly type: 'InvalidKey' | 'DuplicatedHeartbeat';
}
/** @name SpStakingOffenceOffenceDetails (436) */
/** @name SpStakingOffenceOffenceDetails (437) */
export interface SpStakingOffenceOffenceDetails extends Struct {
readonly offender: ITuple<[AccountId32, PalletStakingExposure]>;
readonly reporters: Vec<AccountId32>;
}
/** @name PalletIdentityRegistration (438) */
/** @name PalletIdentityRegistration (439) */
export interface PalletIdentityRegistration extends Struct {
readonly judgements: Vec<ITuple<[u32, PalletIdentityJudgement]>>;
readonly deposit: u128;
readonly info: PalletIdentityIdentityInfo;
}
/** @name PalletIdentityRegistrarInfo (446) */
/** @name PalletIdentityRegistrarInfo (447) */
export interface PalletIdentityRegistrarInfo extends Struct {
readonly account: AccountId32;
readonly fee: u128;
readonly fields: PalletIdentityBitFlags;
}
/** @name PalletIdentityError (448) */
/** @name PalletIdentityError (449) */
export interface PalletIdentityError extends Enum {
readonly isTooManySubAccounts: boolean;
readonly isNotFound: boolean;
@@ -4007,14 +4010,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned';
}
/** @name PalletSocietyBid (450) */
/** @name PalletSocietyBid (451) */
export interface PalletSocietyBid extends Struct {
readonly who: AccountId32;
readonly kind: PalletSocietyBidKind;
readonly value: u128;
}
/** @name PalletSocietyBidKind (451) */
/** @name PalletSocietyBidKind (452) */
export interface PalletSocietyBidKind extends Enum {
readonly isDeposit: boolean;
readonly asDeposit: u128;
@@ -4023,14 +4026,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Deposit' | 'Vouch';
}
/** @name PalletSocietyVouchingStatus (453) */
/** @name PalletSocietyVouchingStatus (454) */
export interface PalletSocietyVouchingStatus extends Enum {
readonly isVouching: boolean;
readonly isBanned: boolean;
readonly type: 'Vouching' | 'Banned';
}
/** @name PalletSocietyVote (457) */
/** @name PalletSocietyVote (458) */
export interface PalletSocietyVote extends Enum {
readonly isSkeptic: boolean;
readonly isReject: boolean;
@@ -4038,7 +4041,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Skeptic' | 'Reject' | 'Approve';
}
/** @name PalletSocietyError (458) */
/** @name PalletSocietyError (459) */
export interface PalletSocietyError extends Enum {
readonly isBadPosition: boolean;
readonly isNotMember: boolean;
@@ -4061,7 +4064,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BadPosition' | 'NotMember' | 'AlreadyMember' | 'Suspended' | 'NotSuspended' | 'NoPayout' | 'AlreadyFounded' | 'InsufficientPot' | 'AlreadyVouching' | 'NotVouching' | 'Head' | 'Founder' | 'AlreadyBid' | 'AlreadyCandidate' | 'NotCandidate' | 'MaxMembers' | 'NotFounder' | 'NotHead';
}
/** @name PalletRecoveryRecoveryConfig (459) */
/** @name PalletRecoveryRecoveryConfig (460) */
export interface PalletRecoveryRecoveryConfig extends Struct {
readonly delayPeriod: u32;
readonly deposit: u128;
@@ -4069,14 +4072,14 @@ declare module '@polkadot/types/lookup' {
readonly threshold: u16;
}
/** @name PalletRecoveryActiveRecovery (460) */
/** @name PalletRecoveryActiveRecovery (461) */
export interface PalletRecoveryActiveRecovery extends Struct {
readonly created: u32;
readonly deposit: u128;
readonly friends: Vec<AccountId32>;
}
/** @name PalletRecoveryError (461) */
/** @name PalletRecoveryError (462) */
export interface PalletRecoveryError extends Enum {
readonly isNotAllowed: boolean;
readonly isZeroThreshold: boolean;
@@ -4097,14 +4100,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotAllowed' | 'ZeroThreshold' | 'NotEnoughFriends' | 'MaxFriends' | 'NotSorted' | 'NotRecoverable' | 'AlreadyRecoverable' | 'AlreadyStarted' | 'NotStarted' | 'NotFriend' | 'DelayPeriod' | 'AlreadyVouched' | 'Threshold' | 'StillActive' | 'AlreadyProxy' | 'BadState';
}
/** @name PalletVestingReleases (464) */
/** @name PalletVestingReleases (465) */
export interface PalletVestingReleases extends Enum {
readonly isV0: boolean;
readonly isV1: boolean;
readonly type: 'V0' | 'V1';
}
/** @name PalletVestingError (465) */
/** @name PalletVestingError (466) */
export interface PalletVestingError extends Enum {
readonly isNotVesting: boolean;
readonly isAtMaxVestingSchedules: boolean;
@@ -4114,7 +4117,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotVesting' | 'AtMaxVestingSchedules' | 'AmountLow' | 'ScheduleIndexOutOfBounds' | 'InvalidScheduleParams';
}
/** @name PalletSchedulerScheduledV3 (468) */
/** @name PalletSchedulerScheduledV3 (469) */
export interface PalletSchedulerScheduledV3 extends Struct {
readonly maybeId: Option<Bytes>;
readonly priority: u8;
@@ -4123,7 +4126,7 @@ declare module '@polkadot/types/lookup' {
readonly origin: NodeRuntimeOriginCaller;
}
/** @name PalletSchedulerReleases (469) */
/** @name PalletSchedulerReleases (470) */
export interface PalletSchedulerReleases extends Enum {
readonly isV1: boolean;
readonly isV2: boolean;
@@ -4131,7 +4134,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'V1' | 'V2' | 'V3';
}
/** @name PalletSchedulerError (470) */
/** @name PalletSchedulerError (471) */
export interface PalletSchedulerError extends Enum {
readonly isFailedToSchedule: boolean;
readonly isNotFound: boolean;
@@ -4140,7 +4143,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange';
}
/** @name PalletPreimageRequestStatus (471) */
/** @name PalletPreimageRequestStatus (472) */
export interface PalletPreimageRequestStatus extends Enum {
readonly isUnrequested: boolean;
readonly asUnrequested: Option<ITuple<[AccountId32, u128]>>;
@@ -4149,7 +4152,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Unrequested' | 'Requested';
}
/** @name PalletPreimageError (474) */
/** @name PalletPreimageError (475) */
export interface PalletPreimageError extends Enum {
readonly isTooLarge: boolean;
readonly isAlreadyNoted: boolean;
@@ -4160,21 +4163,21 @@ declare module '@polkadot/types/lookup' {
readonly type: 'TooLarge' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested';
}
/** @name PalletProxyProxyDefinition (477) */
/** @name PalletProxyProxyDefinition (478) */
export interface PalletProxyProxyDefinition extends Struct {
readonly delegate: AccountId32;
readonly proxyType: NodeRuntimeProxyType;
readonly delay: u32;
}
/** @name PalletProxyAnnouncement (481) */
/** @name PalletProxyAnnouncement (482) */
export interface PalletProxyAnnouncement extends Struct {
readonly real: AccountId32;
readonly callHash: H256;
readonly height: u32;
}
/** @name PalletProxyError (483) */
/** @name PalletProxyError (484) */
export interface PalletProxyError extends Enum {
readonly isTooMany: boolean;
readonly isNotFound: boolean;
@@ -4187,7 +4190,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy';
}
/** @name PalletMultisigMultisig (485) */
/** @name PalletMultisigMultisig (486) */
export interface PalletMultisigMultisig extends Struct {
readonly when: PalletMultisigTimepoint;
readonly deposit: u128;
@@ -4195,7 +4198,7 @@ declare module '@polkadot/types/lookup' {
readonly approvals: Vec<AccountId32>;
}
/** @name PalletMultisigError (487) */
/** @name PalletMultisigError (488) */
export interface PalletMultisigError extends Enum {
readonly isMinimumThreshold: boolean;
readonly isAlreadyApproved: boolean;
@@ -4214,7 +4217,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored';
}
/** @name PalletBountiesBounty (488) */
/** @name PalletBountiesBounty (489) */
export interface PalletBountiesBounty extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -4224,7 +4227,7 @@ declare module '@polkadot/types/lookup' {
readonly status: PalletBountiesBountyStatus;
}
/** @name PalletBountiesBountyStatus (489) */
/** @name PalletBountiesBountyStatus (490) */
export interface PalletBountiesBountyStatus extends Enum {
readonly isProposed: boolean;
readonly isApproved: boolean;
@@ -4247,7 +4250,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Proposed' | 'Approved' | 'Funded' | 'CuratorProposed' | 'Active' | 'PendingPayout';
}
/** @name PalletBountiesError (490) */
/** @name PalletBountiesError (491) */
export interface PalletBountiesError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -4262,7 +4265,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'ReasonTooBig' | 'UnexpectedStatus' | 'RequireCurator' | 'InvalidValue' | 'InvalidFee' | 'PendingPayout' | 'Premature' | 'HasActiveChildBounty';
}
/** @name PalletTipsOpenTip (491) */
/** @name PalletTipsOpenTip (492) */
export interface PalletTipsOpenTip extends Struct {
readonly reason: H256;
readonly who: AccountId32;
@@ -4273,7 +4276,7 @@ declare module '@polkadot/types/lookup' {
readonly findersFee: bool;
}
/** @name PalletTipsError (492) */
/** @name PalletTipsError (493) */
export interface PalletTipsError extends Enum {
readonly isReasonTooBig: boolean;
readonly isAlreadyKnown: boolean;
@@ -4284,7 +4287,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'ReasonTooBig' | 'AlreadyKnown' | 'UnknownTip' | 'NotFinder' | 'StillOpen' | 'Premature';
}
/** @name PalletAssetsAssetDetails (493) */
/** @name PalletAssetsAssetDetails (494) */
export interface PalletAssetsAssetDetails extends Struct {
readonly owner: AccountId32;
readonly issuer: AccountId32;
@@ -4300,7 +4303,7 @@ declare module '@polkadot/types/lookup' {
readonly isFrozen: bool;
}
/** @name PalletAssetsAssetAccount (494) */
/** @name PalletAssetsAssetAccount (495) */
export interface PalletAssetsAssetAccount extends Struct {
readonly balance: u128;
readonly isFrozen: bool;
@@ -4308,7 +4311,7 @@ declare module '@polkadot/types/lookup' {
readonly extra: Null;
}
/** @name PalletAssetsExistenceReason (495) */
/** @name PalletAssetsExistenceReason (496) */
export interface PalletAssetsExistenceReason extends Enum {
readonly isConsumer: boolean;
readonly isSufficient: boolean;
@@ -4318,13 +4321,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Consumer' | 'Sufficient' | 'DepositHeld' | 'DepositRefunded';
}
/** @name PalletAssetsApproval (497) */
/** @name PalletAssetsApproval (498) */
export interface PalletAssetsApproval extends Struct {
readonly amount: u128;
readonly deposit: u128;
}
/** @name PalletAssetsAssetMetadata (498) */
/** @name PalletAssetsAssetMetadata (499) */
export interface PalletAssetsAssetMetadata extends Struct {
readonly deposit: u128;
readonly name: Bytes;
@@ -4333,7 +4336,7 @@ declare module '@polkadot/types/lookup' {
readonly isFrozen: bool;
}
/** @name PalletAssetsError (499) */
/** @name PalletAssetsError (500) */
export interface PalletAssetsError extends Enum {
readonly isBalanceLow: boolean;
readonly isNoAccount: boolean;
@@ -4353,7 +4356,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BalanceLow' | 'NoAccount' | 'NoPermission' | 'Unknown' | 'Frozen' | 'InUse' | 'BadWitness' | 'MinBalanceZero' | 'NoProvider' | 'BadMetadata' | 'Unapproved' | 'WouldDie' | 'AlreadyExists' | 'NoDeposit' | 'WouldBurn';
}
/** @name PalletLotteryLotteryConfig (500) */
/** @name PalletLotteryLotteryConfig (501) */
export interface PalletLotteryLotteryConfig extends Struct {
readonly price: u128;
readonly start: u32;
@@ -4362,7 +4365,7 @@ declare module '@polkadot/types/lookup' {
readonly repeat: bool;
}
/** @name PalletLotteryError (504) */
/** @name PalletLotteryError (505) */
export interface PalletLotteryError extends Enum {
readonly isNotConfigured: boolean;
readonly isInProgress: boolean;
@@ -4374,13 +4377,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotConfigured' | 'InProgress' | 'AlreadyEnded' | 'InvalidCall' | 'AlreadyParticipating' | 'TooManyCalls' | 'EncodingFailed';
}
/** @name PalletGiltGiltBid (506) */
/** @name PalletGiltGiltBid (507) */
export interface PalletGiltGiltBid extends Struct {
readonly amount: u128;
readonly who: AccountId32;
}
/** @name PalletGiltActiveGiltsTotal (507) */
/** @name PalletGiltActiveGiltsTotal (508) */
export interface PalletGiltActiveGiltsTotal extends Struct {
readonly frozen: u128;
readonly proportion: Perquintill;
@@ -4388,7 +4391,7 @@ declare module '@polkadot/types/lookup' {
readonly target: Perquintill;
}
/** @name PalletGiltActiveGilt (508) */
/** @name PalletGiltActiveGilt (509) */
export interface PalletGiltActiveGilt extends Struct {
readonly proportion: Perquintill;
readonly amount: u128;
@@ -4396,7 +4399,7 @@ declare module '@polkadot/types/lookup' {
readonly expiry: u32;
}
/** @name PalletGiltError (509) */
/** @name PalletGiltError (510) */
export interface PalletGiltError extends Enum {
readonly isDurationTooSmall: boolean;
readonly isDurationTooBig: boolean;
@@ -4409,7 +4412,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DurationTooSmall' | 'DurationTooBig' | 'AmountTooSmall' | 'BidTooLow' | 'Unknown' | 'NotOwner' | 'NotExpired' | 'NotFound';
}
/** @name PalletUniquesClassDetails (510) */
/** @name PalletUniquesClassDetails (511) */
export interface PalletUniquesClassDetails extends Struct {
readonly owner: AccountId32;
readonly issuer: AccountId32;
@@ -4423,7 +4426,7 @@ declare module '@polkadot/types/lookup' {
readonly isFrozen: bool;
}
/** @name PalletUniquesInstanceDetails (512) */
/** @name PalletUniquesInstanceDetails (513) */
export interface PalletUniquesInstanceDetails extends Struct {
readonly owner: AccountId32;
readonly approved: Option<AccountId32>;
@@ -4431,21 +4434,21 @@ declare module '@polkadot/types/lookup' {
readonly deposit: u128;
}
/** @name PalletUniquesClassMetadata (513) */
/** @name PalletUniquesClassMetadata (514) */
export interface PalletUniquesClassMetadata extends Struct {
readonly deposit: u128;
readonly data: Bytes;
readonly isFrozen: bool;
}
/** @name PalletUniquesInstanceMetadata (514) */
/** @name PalletUniquesInstanceMetadata (515) */
export interface PalletUniquesInstanceMetadata extends Struct {
readonly deposit: u128;
readonly data: Bytes;
readonly isFrozen: bool;
}
/** @name PalletUniquesError (517) */
/** @name PalletUniquesError (518) */
export interface PalletUniquesError extends Enum {
readonly isNoPermission: boolean;
readonly isUnknown: boolean;
@@ -4460,7 +4463,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NoPermission' | 'Unknown' | 'AlreadyExists' | 'WrongOwner' | 'BadWitness' | 'InUse' | 'Frozen' | 'WrongDelegate' | 'NoDelegate' | 'Unapproved';
}
/** @name PalletTransactionStorageTransactionInfo (519) */
/** @name PalletTransactionStorageTransactionInfo (520) */
export interface PalletTransactionStorageTransactionInfo extends Struct {
readonly chunkRoot: H256;
readonly contentHash: H256;
@@ -4468,7 +4471,7 @@ declare module '@polkadot/types/lookup' {
readonly blockChunks: u32;
}
/** @name PalletTransactionStorageError (520) */
/** @name PalletTransactionStorageError (521) */
export interface PalletTransactionStorageError extends Enum {
readonly isInsufficientFunds: boolean;
readonly isNotConfigured: boolean;
@@ -4486,7 +4489,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InsufficientFunds' | 'NotConfigured' | 'RenewedNotFound' | 'EmptyTransaction' | 'UnexpectedProof' | 'InvalidProof' | 'MissingProof' | 'MissingStateData' | 'DoubleCheck' | 'ProofNotChecked' | 'TransactionTooLarge' | 'TooManyTransactions' | 'BadContext';
}
/** @name PalletBagsListListNode (521) */
/** @name PalletBagsListListNode (522) */
export interface PalletBagsListListNode extends Struct {
readonly id: AccountId32;
readonly prev: Option<AccountId32>;
@@ -4494,13 +4497,13 @@ declare module '@polkadot/types/lookup' {
readonly bagUpper: u64;
}
/** @name PalletBagsListListBag (522) */
/** @name PalletBagsListListBag (523) */
export interface PalletBagsListListBag extends Struct {
readonly head: Option<AccountId32>;
readonly tail: Option<AccountId32>;
}
/** @name PalletBagsListError (524) */
/** @name PalletBagsListError (525) */
export interface PalletBagsListError extends Enum {
readonly isNotInSameBag: boolean;
readonly isIdNotFound: boolean;
@@ -4508,7 +4511,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotInSameBag' | 'IdNotFound' | 'NotHeavier';
}
/** @name PalletChildBountiesChildBounty (525) */
/** @name PalletChildBountiesChildBounty (526) */
export interface PalletChildBountiesChildBounty extends Struct {
readonly parentBounty: u32;
readonly value: u128;
@@ -4517,7 +4520,7 @@ declare module '@polkadot/types/lookup' {
readonly status: PalletChildBountiesChildBountyStatus;
}
/** @name PalletChildBountiesChildBountyStatus (526) */
/** @name PalletChildBountiesChildBountyStatus (527) */
export interface PalletChildBountiesChildBountyStatus extends Enum {
readonly isAdded: boolean;
readonly isCuratorProposed: boolean;
@@ -4537,7 +4540,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Added' | 'CuratorProposed' | 'Active' | 'PendingPayout';
}
/** @name PalletChildBountiesError (528) */
/** @name PalletChildBountiesError (529) */
export interface PalletChildBountiesError extends Enum {
readonly isParentBountyNotActive: boolean;
readonly isInsufficientBountyBalance: boolean;
@@ -4545,7 +4548,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'ParentBountyNotActive' | 'InsufficientBountyBalance' | 'TooManyChildBounties';
}
/** @name SpRuntimeMultiSignature (530) */
/** @name SpRuntimeMultiSignature (531) */
export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -4556,34 +4559,34 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
/** @name SpCoreEcdsaSignature (531) */
/** @name SpCoreEcdsaSignature (532) */
export interface SpCoreEcdsaSignature extends U8aFixed {}
/** @name FrameSystemExtensionsCheckNonZeroSender (534) */
/** @name FrameSystemExtensionsCheckNonZeroSender (535) */
export type FrameSystemExtensionsCheckNonZeroSender = Null;
/** @name FrameSystemExtensionsCheckSpecVersion (535) */
/** @name FrameSystemExtensionsCheckSpecVersion (536) */
export type FrameSystemExtensionsCheckSpecVersion = Null;
/** @name FrameSystemExtensionsCheckTxVersion (536) */
/** @name FrameSystemExtensionsCheckTxVersion (537) */
export type FrameSystemExtensionsCheckTxVersion = Null;
/** @name FrameSystemExtensionsCheckGenesis (537) */
/** @name FrameSystemExtensionsCheckGenesis (538) */
export type FrameSystemExtensionsCheckGenesis = Null;
/** @name FrameSystemExtensionsCheckNonce (540) */
/** @name FrameSystemExtensionsCheckNonce (541) */
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
/** @name FrameSystemExtensionsCheckWeight (541) */
/** @name FrameSystemExtensionsCheckWeight (542) */
export type FrameSystemExtensionsCheckWeight = Null;
/** @name PalletAssetTxPaymentChargeAssetTxPayment (542) */
/** @name PalletAssetTxPaymentChargeAssetTxPayment (543) */
export interface PalletAssetTxPaymentChargeAssetTxPayment extends Struct {
readonly tip: Compact<u128>;
readonly assetId: Option<u32>;
}
/** @name NodeRuntimeRuntime (543) */
/** @name NodeRuntimeRuntime (544) */
export type NodeRuntimeRuntime = Null;
} // declare module
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '7.6.1' };
+9 -2
View File
@@ -17,7 +17,7 @@ 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, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
import type { AliveContractInfo, CodeHash, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, 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';
@@ -37,7 +37,7 @@ import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMeta
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 { 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, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
import type { FeeDetails, InclusionFee, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { Approvals } from '@polkadot/types/interfaces/poll';
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
@@ -197,6 +197,9 @@ declare module '@polkadot/types/types/registry' {
ClassMetadata: ClassMetadata;
CodecHash: CodecHash;
CodeHash: CodeHash;
CodeUploadRequest: CodeUploadRequest;
CodeUploadResult: CodeUploadResult;
CodeUploadResultValue: CodeUploadResultValue;
CollatorId: CollatorId;
CollatorSignature: CollatorSignature;
CollectiveOrigin: CollectiveOrigin;
@@ -907,6 +910,7 @@ declare module '@polkadot/types/types/registry' {
Slot: Slot;
SlotNumber: SlotNumber;
SlotRange: SlotRange;
SlotRange10: SlotRange10;
SocietyJudgement: SocietyJudgement;
SocietyVote: SocietyVote;
SolutionOrSnapshotSize: SolutionOrSnapshotSize;
@@ -1073,8 +1077,11 @@ declare module '@polkadot/types/types/registry' {
WildMultiAssetV1: WildMultiAssetV1;
WildMultiAssetV2: WildMultiAssetV2;
WinnersData: WinnersData;
WinnersData10: WinnersData10;
WinnersDataTuple: WinnersDataTuple;
WinnersDataTuple10: WinnersDataTuple10;
WinningData: WinningData;
WinningData10: WinningData10;
WinningDataEntry: WinningDataEntry;
WithdrawReasons: WithdrawReasons;
Xcm: Xcm;
+4 -4
View File
@@ -20,16 +20,16 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/util": "^8.3.3"
},
"devDependencies": {
"@polkadot/types": "7.5.1",
"@polkadot/types-augment": "7.5.1",
"@polkadot/types-support": "7.5.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-augment": "7.6.1",
"@polkadot/types-support": "7.6.1",
"@polkadot/util-crypto": "^8.3.3"
}
}
@@ -53,17 +53,3 @@ export class Range<T extends INumber> extends Tuple {
return `${this.#rangeName}<${this.start.toRawType()}>`;
}
}
export class RangeInclusive<T extends INumber = INumber> extends Range<T> {
constructor (registry: Registry, Type: CodecClass<T> | string, value?: AnyTuple) {
super(registry, Type, value, 'RangeInclusive');
}
public static override with <T extends INumber> (Type: CodecClass<T> | string): CodecClass<RangeInclusive<T>> {
return class extends RangeInclusive<T> {
constructor (registry: Registry, value?: AnyTuple) {
super(registry, Type, value);
}
};
}
}
@@ -0,0 +1,20 @@
// Copyright 2017-2022 @polkadot/types-codec authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { AnyTuple, CodecClass, INumber, Registry } from '../types';
import { Range } from './Range';
export class RangeInclusive<T extends INumber = INumber> extends Range<T> {
constructor (registry: Registry, Type: CodecClass<T> | string, value?: AnyTuple) {
super(registry, Type, value, 'RangeInclusive');
}
public static override with <T extends INumber> (Type: CodecClass<T> | string): CodecClass<RangeInclusive<T>> {
return class extends RangeInclusive<T> {
constructor (registry: Registry, value?: AnyTuple) {
super(registry, Type, value);
}
};
}
}
@@ -3,13 +3,15 @@
import type { AnyJson, AnyU8a, Codec, CodecClass, Registry } from '../types';
import { assertReturn, compactStripLength, isHex, isU8a } from '@polkadot/util';
import { assertReturn, compactAddLength, compactStripLength, isHex, isU8a } from '@polkadot/util';
import { Raw } from '../native/Raw';
import { typeToConstructor } from '../utils';
import { Bytes } from './Bytes';
function decodeRaw<T extends Codec> (registry: Registry, typeName: CodecClass<T> | string, value?: AnyU8a | Codec): [CodecClass<T>, T | null, AnyU8a] {
type OpaqueName = 'WrapperKeepOpaque' | 'WrapperOpaque';
function decodeRaw<T extends Codec> (registry: Registry, typeName: CodecClass<T> | string, value?: unknown): [CodecClass<T>, T | null, AnyU8a] {
const Type = typeToConstructor(registry, typeName);
if (isU8a(value) || isHex(value)) {
@@ -26,7 +28,7 @@ function decodeRaw<T extends Codec> (registry: Registry, typeName: CodecClass<T>
const instance = new Type(registry, value);
return [Type, instance, instance.toHex()];
return [Type, instance, compactAddLength(instance.toU8a())];
}
export class WrapperKeepOpaque<T extends Codec> extends Bytes {
@@ -34,13 +36,16 @@ export class WrapperKeepOpaque<T extends Codec> extends Bytes {
readonly #decoded: T | null;
constructor (registry: Registry, typeName: CodecClass<T> | string, value?: AnyU8a | Codec) {
readonly #opaqueName: OpaqueName;
constructor (registry: Registry, typeName: CodecClass<T> | string, value?: unknown, opaqueName: OpaqueName = 'WrapperKeepOpaque') {
const [Type, decoded, u8a] = decodeRaw(registry, typeName, value);
super(registry, u8a);
this.#Type = Type;
this.#decoded = decoded;
this.#opaqueName = opaqueName;
}
public static with<T extends Codec> (Type: CodecClass<T> | string): CodecClass<WrapperKeepOpaque<T>> {
@@ -71,7 +76,7 @@ export class WrapperKeepOpaque<T extends Codec> extends Bytes {
* @description Returns the base runtime type name for this instance
*/
public override toRawType (): string {
return `WrapperKeepOpaque<${this.registry.getClassName(this.#Type) || (this.#decoded ? this.#decoded.toRawType() : new this.#Type(this.registry).toRawType())}>`;
return `${this.#opaqueName}<${this.registry.getClassName(this.#Type) || (this.#decoded ? this.#decoded.toRawType() : new this.#Type(this.registry).toRawType())}>`;
}
/**
@@ -87,6 +92,6 @@ export class WrapperKeepOpaque<T extends Codec> extends Bytes {
* @description Returns the decoded that the WrapperKeepOpaque represents (if available), throws if non-decodable
*/
public unwrap (): T {
return assertReturn(this.#decoded, 'WrapperKeepOpaque: unwrapping an undecodable value');
return assertReturn(this.#decoded, () => `${this.#opaqueName}: unwrapping an undecodable value`);
}
}
@@ -3,6 +3,7 @@
import { TypeRegistry } from '@polkadot/types';
import { WrapperOpaque } from '@polkadot/types-codec';
import { u8aConcat } from '@polkadot/util';
describe('WrapperOpaque', (): void => {
const registry = new TypeRegistry();
@@ -20,6 +21,12 @@ describe('WrapperOpaque', (): void => {
).toEqual(u8au32);
});
it('u8a encodes a wrapped option correctly', (): void => {
expect(
new WrapperOpaque(registry, 'Option<u32>', 1234567).toU8a()
).toEqual(u8aConcat([5 << 2, 1], u8au32.slice(1)));
});
it('hex encodes a wrapped u32 correctly', (): void => {
expect(
new WrapperOpaque(registry, 'u32', '0x12345678').toHex()
@@ -3,29 +3,14 @@
import type { Codec, CodecClass, Registry } from '../types';
import { compactAddLength, compactStripLength, isU8a } from '@polkadot/util';
import { WrapperKeepOpaque } from './WrapperKeepOpaque';
import { Base } from '../base/Base';
import { typeToConstructor } from '../utils';
function decodeRaw<T extends Codec> (registry: Registry, Type: CodecClass<T> | string, value?: unknown): T {
const Clazz = typeToConstructor<T>(registry, Type);
if (isU8a(value)) {
const [, u8a] = compactStripLength(value);
return new Clazz(registry, u8a);
export class WrapperOpaque<T extends Codec> extends WrapperKeepOpaque<T> {
constructor (registry: Registry, typeName: CodecClass<T> | string, value?: unknown) {
super(registry, typeName, value, 'WrapperOpaque');
}
return new Clazz(registry, value);
}
export class WrapperOpaque<T extends Codec> extends Base<T> {
constructor (registry: Registry, Type: CodecClass<T> | string, value?: unknown) {
super(registry, decodeRaw(registry, Type, value));
}
public static with<T extends Codec> (Type: CodecClass<T> | string): CodecClass<WrapperOpaque<T>> {
public static override with<T extends Codec> (Type: CodecClass<T> | string): CodecClass<WrapperKeepOpaque<T>> {
return class extends WrapperOpaque<T> {
constructor (registry: Registry, value?: unknown) {
super(registry, Type, value);
@@ -34,20 +19,9 @@ export class WrapperOpaque<T extends Codec> extends Base<T> {
}
/**
* @description Returns the base runtime type name for this instance
* @description The inner value for this wrapper, in all cases it _should_ be decodable (unlike KeepOpaque)
*/
public override toRawType (): string {
return `WrapperOpaque<${this.inner.toRawType()}>`;
}
/**
* @description The length of the value when encoded as a Uint8Array
*/
public override toU8a (isBare?: boolean): Uint8Array {
const u8a = super.toU8a(isBare);
return isBare
? u8a
: compactAddLength(u8a);
public get inner (): T {
return this.unwrap();
}
}
+2 -1
View File
@@ -8,7 +8,8 @@ export { Bytes } from './Bytes';
export { HashMap } from './HashMap';
export { Linkage } from './Linkage';
export { CodecMap, CodecMap as Map } from './Map';
export { Range, RangeInclusive } from './Range';
export { Range } from './Range';
export { RangeInclusive } from './RangeInclusive';
export { Type } from './Type';
export { U8aFixed } from './U8aFixed';
export { WrapperKeepOpaque } from './WrapperKeepOpaque';
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '7.6.1' };
+3 -3
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/types-codec": "7.5.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/util": "^8.3.3"
},
"devDependencies": {
"@polkadot/types": "7.5.1"
"@polkadot/types": "7.6.1"
}
}
+4 -1
View File
@@ -122,7 +122,10 @@ const infoMapping: Record<TypeDefInfo, (registry: Registry, value: TypeDef) => C
registry.getOrUnknown(value.type),
[TypeDefInfo.Range]: (registry: Registry, value: TypeDef): CodecClass<Codec> =>
(value.type.includes('RangeInclusive') ? RangeInclusive : Range).with(getSubType(value)),
createWithSub(Range, value),
[TypeDefInfo.RangeInclusive]: (registry: Registry, value: TypeDef): CodecClass<Codec> =>
createWithSub(RangeInclusive, value),
[TypeDefInfo.Result]: (registry: Registry, value: TypeDef): CodecClass<Codec> => {
const [Ok, Err] = getTypeClassArray(value);
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '7.6.1' };
+1
View File
@@ -14,6 +14,7 @@ export enum TypeDefInfo {
Option,
Plain,
Range,
RangeInclusive,
Result,
Set,
Si,
+26 -1
View File
@@ -31,6 +31,7 @@ function encodeWithParams (registry: Registry, typeDef: TypeDef, outer: string):
case TypeDefInfo.Linkage:
case TypeDefInfo.Option:
case TypeDefInfo.Range:
case TypeDefInfo.RangeInclusive:
case TypeDefInfo.Result:
case TypeDefInfo.Vec:
case TypeDefInfo.WrapperKeepOpaque:
@@ -66,12 +67,16 @@ function encodeSubTypes (registry: Registry, sub: TypeDef[], asEnum?: boolean, e
const encoders: Record<TypeDefInfo, (registry: Registry, typeDef: TypeDef) => string> = {
[TypeDefInfo.BTreeMap]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'BTreeMap'),
[TypeDefInfo.BTreeSet]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'BTreeSet'),
[TypeDefInfo.Compact]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'Compact'),
[TypeDefInfo.DoNotConstruct]: (registry: Registry, { displayName, lookupIndex, lookupName }: TypeDef) =>
`DoNotConstruct<${lookupName || displayName || (isUndefined(lookupIndex) ? 'Unknown' : registry.createLookupType(lookupIndex))}>`,
[TypeDefInfo.Enum]: (registry: Registry, { sub }: TypeDef): string => {
assert(sub && Array.isArray(sub), 'Unable to encode Enum type');
@@ -81,24 +86,36 @@ const encoders: Record<TypeDefInfo, (registry: Registry, typeDef: TypeDef) => st
? stringify({ _enum: sub.map(({ name }, index) => `${name || `Empty${index}`}`) })
: encodeSubTypes(registry, sub, true);
},
[TypeDefInfo.HashMap]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'HashMap'),
[TypeDefInfo.Int]: (registry: Registry, { length = 32 }: TypeDef) =>
`Int<${length}>`,
[TypeDefInfo.Linkage]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'Linkage'),
// eslint-disable-next-line @typescript-eslint/no-unused-vars
[TypeDefInfo.Null]: (registry: Registry, typeDef: TypeDef) =>
'Null',
[TypeDefInfo.Option]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'Option'),
// eslint-disable-next-line @typescript-eslint/no-unused-vars
[TypeDefInfo.Plain]: (registry: Registry, { displayName, type }: TypeDef) =>
displayName || type,
[TypeDefInfo.Range]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, typeDef.type.includes('RangeInclusive') ? 'RangeInclusive' : 'Range'),
encodeWithParams(registry, typeDef, 'Range'),
[TypeDefInfo.RangeInclusive]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'RangeInclusive'),
[TypeDefInfo.Result]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'Result'),
// eslint-disable-next-line @typescript-eslint/no-unused-vars
[TypeDefInfo.Set]: (registry: Registry, { length = 8, sub }: TypeDef): string => {
assert(sub && Array.isArray(sub), 'Unable to encode Set type');
@@ -109,9 +126,11 @@ const encoders: Record<TypeDefInfo, (registry: Registry, typeDef: TypeDef) => st
{ _bitLength: length || 8 })
});
},
// eslint-disable-next-line @typescript-eslint/no-unused-vars
[TypeDefInfo.Si]: (registry: Registry, { lookupName, type }: TypeDef) =>
lookupName || type,
[TypeDefInfo.Struct]: (registry: Registry, { alias, sub }: TypeDef): string => {
assert(sub && Array.isArray(sub), 'Unable to encode Struct type');
@@ -125,22 +144,28 @@ const encoders: Record<TypeDefInfo, (registry: Registry, typeDef: TypeDef) => st
: {}
);
},
[TypeDefInfo.Tuple]: (registry: Registry, { sub }: TypeDef): string => {
assert(sub && Array.isArray(sub), 'Unable to encode Tuple type');
return `(${sub.map((type) => encodeTypeDef(registry, type)).join(',')})`;
},
[TypeDefInfo.UInt]: (registry: Registry, { length = 32 }: TypeDef) =>
`UInt<${length}>`,
[TypeDefInfo.Vec]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'Vec'),
[TypeDefInfo.VecFixed]: (registry: Registry, { length, sub }: TypeDef): string => {
assert(isNumber(length) && !isUndefined(sub) && !Array.isArray(sub), 'Unable to encode VecFixed type');
return `[${sub.type};${length}]`;
},
[TypeDefInfo.WrapperKeepOpaque]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'WrapperKeepOpaque'),
[TypeDefInfo.WrapperOpaque]: (registry: Registry, typeDef: TypeDef) =>
encodeWithParams(registry, typeDef, 'WrapperOpaque')
};
+2 -11
View File
@@ -140,14 +140,6 @@ function _decodeFixedVec (value: TypeDef, type: string, _: string, count: number
return value;
}
function _decodeRange (value: TypeDef, _: string, subType: string): TypeDef {
const Type = getTypeDef(subType);
value.sub = [Type, Type];
return value;
}
// decode a tuple
function _decodeTuple (value: TypeDef, _: string, subType: string, count: number): TypeDef {
value.sub = subType.length === 0
@@ -201,9 +193,6 @@ const nestedExtraction: [string, string, TypeDefInfo, (value: TypeDef, type: str
['BTreeMap<', '>', TypeDefInfo.BTreeMap, _decodeTuple],
['HashMap<', '>', TypeDefInfo.HashMap, _decodeTuple],
['Int<', '>', TypeDefInfo.Int, _decodeInt],
// Not sure about these, have a specific implementation?
['Range<', '>', TypeDefInfo.Tuple, _decodeRange],
['RangeInclusive<', '>', TypeDefInfo.Tuple, _decodeRange],
['Result<', '>', TypeDefInfo.Result, _decodeTuple],
['UInt<', '>', TypeDefInfo.UInt, _decodeUInt],
['DoNotConstruct<', '>', TypeDefInfo.DoNotConstruct, _decodeDoNotConstruct]
@@ -214,6 +203,8 @@ const wrappedExtraction: [string, string, TypeDefInfo][] = [
['Compact<', '>', TypeDefInfo.Compact],
['Linkage<', '>', TypeDefInfo.Linkage],
['Option<', '>', TypeDefInfo.Option],
['Range<', '>', TypeDefInfo.Range],
['RangeInclusive<', '>', TypeDefInfo.RangeInclusive],
['Vec<', '>', TypeDefInfo.Vec],
['WrapperKeepOpaque<', '>', TypeDefInfo.WrapperKeepOpaque],
['WrapperOpaque<', '>', TypeDefInfo.WrapperOpaque]
+4 -4
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/networks": "^8.3.3",
"@polkadot/types": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/types-create": "7.5.1",
"@polkadot/types": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/types-create": "7.6.1",
"@polkadot/util": "^8.3.3"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '7.6.1' };
+1 -1
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
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
@@ -2914,6 +2914,14 @@
" Minimum amount of funds that should be placed in a deposit for making a proposal."
]
},
{
"name": "ProposalBondMaximum",
"type": 526,
"value": "0x01005039278c0400000000000000000000",
"docs": [
" Maximum amount of funds that should be placed in a deposit for making a proposal."
]
},
{
"name": "SpendPeriod",
"type": 4,
@@ -2932,7 +2940,7 @@
},
{
"name": "PalletId",
"type": 526,
"type": 527,
"value": "0x70792f7472737279",
"docs": [
" The treasury's pallet id, used for deriving its sovereign account ID."
@@ -2948,7 +2956,7 @@
}
],
"errors": {
"type": 527
"type": 528
},
"index": 19
},
@@ -3052,7 +3060,7 @@
}
],
"errors": {
"type": 528
"type": 529
},
"index": 24
},
@@ -3070,7 +3078,7 @@
"Blake2_128Concat"
],
"key": 0,
"value": 529
"value": 530
}
},
"fallback": "0x00",
@@ -3082,7 +3090,7 @@
"name": "StorageVersion",
"modifier": "Default",
"type": {
"plain": 531
"plain": 532
},
"fallback": "0x00",
"docs": [
@@ -3116,7 +3124,7 @@
}
],
"errors": {
"type": 532
"type": 533
},
"index": 25
},
@@ -3140,7 +3148,7 @@
}
],
"errors": {
"type": 533
"type": 534
},
"index": 26
},
@@ -3158,7 +3166,7 @@
"Twox64Concat"
],
"key": 0,
"value": 534
"value": 535
}
},
"fallback": "0x00",
@@ -3195,7 +3203,7 @@
"Twox64Concat"
],
"key": 0,
"value": 538
"value": 539
}
},
"fallback": "0x0000000000000000000000000000000000",
@@ -3211,7 +3219,7 @@
"name": "Registrars",
"modifier": "Default",
"type": {
"plain": 540
"plain": 541
},
"fallback": "0x00",
"docs": [
@@ -3284,7 +3292,7 @@
}
],
"errors": {
"type": 544
"type": 545
},
"index": 28
},
@@ -3302,7 +3310,7 @@
"Twox64Concat"
],
"key": 0,
"value": 545
"value": 546
}
},
"fallback": "0x0000000000000000000000000000000000",
@@ -3320,7 +3328,7 @@
"Twox64Concat"
],
"key": 0,
"value": 549
"value": 550
}
},
"fallback": "0x0000000000000000000000000000000000",
@@ -3400,7 +3408,7 @@
}
],
"errors": {
"type": 553
"type": 554
},
"index": 29
},
@@ -3418,8 +3426,8 @@
"Twox64Concat",
"Blake2_128Concat"
],
"key": 554,
"value": 555
"key": 555,
"value": 556
}
},
"fallback": "0x00",
@@ -3436,7 +3444,7 @@
"Identity"
],
"key": 1,
"value": 556
"value": 557
}
},
"fallback": "0x00",
@@ -3484,7 +3492,7 @@
}
],
"errors": {
"type": 557
"type": 558
},
"index": 30
},
@@ -3513,7 +3521,7 @@
"Twox64Concat"
],
"key": 4,
"value": 558
"value": 559
}
},
"fallback": "0x00",
@@ -3619,7 +3627,7 @@
}
],
"errors": {
"type": 560
"type": 561
},
"index": 34
},
@@ -3637,7 +3645,7 @@
"Twox64Concat"
],
"key": 9,
"value": 561
"value": 562
}
},
"fallback": "0x00",
@@ -3718,7 +3726,7 @@
}
],
"errors": {
"type": 562
"type": 563
},
"index": 35
},
@@ -3747,7 +3755,7 @@
"name": "CurrentPhase",
"modifier": "Default",
"type": {
"plain": 563
"plain": 564
},
"fallback": "0x00",
"docs": [
@@ -3758,7 +3766,7 @@
"name": "QueuedSolution",
"modifier": "Optional",
"type": {
"plain": 565
"plain": 566
},
"fallback": "0x00",
"docs": [
@@ -3769,7 +3777,7 @@
"name": "Snapshot",
"modifier": "Optional",
"type": {
"plain": 566
"plain": 567
},
"fallback": "0x00",
"docs": [
@@ -3827,7 +3835,7 @@
"name": "SignedSubmissionIndices",
"modifier": "Default",
"type": {
"plain": 569
"plain": 570
},
"fallback": "0x00",
"docs": [
@@ -3848,7 +3856,7 @@
"Twox64Concat"
],
"key": 4,
"value": 573
"value": 574
}
},
"fallback": "0x00",
@@ -4022,7 +4030,7 @@
}
],
"errors": {
"type": 574
"type": 575
},
"index": 36
},
@@ -4040,7 +4048,7 @@
"Twox64Concat"
],
"key": 0,
"value": 575
"value": 576
}
},
"fallback": "0x00",
@@ -4070,7 +4078,7 @@
"Twox64Concat"
],
"key": 8,
"value": 576
"value": 577
}
},
"fallback": "0x00",
@@ -4091,7 +4099,7 @@
"constants": [
{
"name": "BagThresholds",
"type": 577,
"type": 578,
"value": "0x210300e40b5402000000f39e809702000000a8b197e20200000094492e3603000000279c3a930300000003bccefa0300000042c01b6e040000001b4775ee04000000385e557d0500000046dc601c0600000089386ccd06000000b6ee809207000000fe7ee36d08000000e81b1a6209000000b019f4710a000000103592a00b000000cfc96ff10c00000041146d680e000000e79bda0910000000cee885da1100000028a9c7df13000000bb70931f160000008e4089a018000000810a096a1b000000366a48841e0000005bd36af821000000807c9cd025000000c95530182a000000bd63c1db2e00000071e0572934000000689092103a000000edc4d4a240000000699379f3470000008fd80c18500000004baf8a28590000006a16a63f630000000995177b6e00000078c5f4fb7a00000062c811e78800000051bf6d6598000000048eaba4a9000000544698d7bc00000091cac036d2000000175f1801ea000000bd15b27c0401000043358ff721010000b8fc84c84201000099673c506701000007e44efa8f010000b341833ebd010000027f2ea2ef0100009883bcb927020000164d652a66020000b49513acab0200002d8e820bf9020000a1e6982c4f030000a616080daf030000cc9d37c719040000a0d584959004000042e7e0d514050000028cd70da80500000f750aef4b060000ea8d2e5c02070000c3cb996ecd070000b1e5717caf080000aa2b8e1fab090000b5c1203dc30a000026d03d0efb0b000070c75929560d0000ebadda8cd80e0000f797dbaa86100000cff04476651200001f2660717a14000009a611becb1600001dfbe82f60190000943a3c603f1c00008afe89c4711f0000ced963c70023000003a92ae4f6260000fe72eec55f2b000036c9cc6948300000dae33245bf350000062a7470d43b00007c9732d69942000084a32468234a0000571ad45987520000e7f10262de5b00000db8760344660000ae0401ded67100007d9eb308b97e00001e044a76108d00003a1df064079d0000e04fafdaccae00005679f02f95c2000095c3aaa99ad80000967c05251ef10000177a66d6670c010028cb1f1ec82a0100fa282f75984c0100d57dc8743c7201007dc4b3fb229c0100365cde74c7ca01009eb8e142b3fe01000c31ae547f3802005fe101e8d57802006373da7e74c0020051d1a60d2e100300c7e9a468ed68030061c091f7b7cb0300bf27a1b7b03904007b1499941bb404008523ed22613c050069a5d4c512d40500ec8c934def7c0600f5aa901be83807008cbe5ddb260a080002978ce113f30800fae314435df60900ddf12dbafe160b002ebadc6f4a580c000c5518c4f2bd0d00f0bb5431154c0f00498e866b46071100b2c153de9ff41200278a2fb2ce191500b2399f84247d1700e199e704aa251a00ba13f5ab331b1d00264785cc7866200088bf803f2d1124001c9823f81d262800ccc422d450b12c00f088820528c03100367c6d7e896137006e9329d30aa63d008cbc6c1322a044000070f32a5c644c00b43b84699909550080b4abe450a95e00a0cda979db5f69004cc27f4cc74c7500d0ac0eba34938200483e0ccf3d5a910068c68e7469cda100281e6fa52b1db40098a92326747fc800f09a74634d30df0080cdfc4b8d72f8009014602d9a901401f0b413d945dd330120973596c1b4560150dcfbaead7d7d01e01198b947aaa80130c7ee16bbb9d801206e488697390e02a0fa4b1d72c74902c0117170b5128c02808a1643a6ded502c0f823b1a204280380af5970a2768303c06f2d87ff41e90340937fac8f925a040091097117b6d804400fdf5b212065050049c149446e0106008ebca6e56caf0600595686851c71078068aa34a4b7480880a1e29e52b9380900bdabe880e4430a002a72b4204c6d0b80f1c013335cb80c00a03ccbdce3280e80b8629a9e20c30f00de5693d2ca8b11005d7f4c93238813001a87df3504be1500a7ce4b84ef3318000110fbea24f11a00802ae5d1b5fd1d0022a134609d62210044216bf0da2925000261f1828f5e29006620cf851e0d2e008410195252433300a0c18fca8410390026ad1493cc853f00d0cd24662fb646009ce19a1cdab64e0058ccc20c5f9f5700200a7578fb89610030bbbbd6e4936c0060cba7dc9edd7800b83bc0425b8b8600b886236164c59500f8f15fdc93b8a600206a91c0d696b900d8efe28fc097ce0068299bf52ef9e5ffffffffffffffff",
"docs": [
" The list of thresholds separating the various bags.",
@@ -4141,7 +4149,7 @@
}
],
"errors": {
"type": 578
"type": 579
},
"index": 37
},
@@ -4163,7 +4171,7 @@
"name": "ActiveConfig",
"modifier": "Default",
"type": {
"plain": 579
"plain": 580
},
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000100000001000000000000000000060000006400000002000000c8000000010000000000000000000000000000000000000000c817a804000000000200000002000000",
"docs": [
@@ -4179,7 +4187,7 @@
"Twox64Concat"
],
"key": 4,
"value": 580
"value": 581
}
},
"fallback": "0x00",
@@ -4193,7 +4201,7 @@
"name": "PendingConfigs",
"modifier": "Default",
"type": {
"plain": 581
"plain": 582
},
"fallback": "0x00",
"docs": [
@@ -4226,7 +4234,7 @@
"events": null,
"constants": [],
"errors": {
"type": 583
"type": 584
},
"index": 51
},
@@ -4250,7 +4258,7 @@
"name": "ActiveValidatorIndices",
"modifier": "Default",
"type": {
"plain": 584
"plain": 585
},
"fallback": "0x00",
"docs": [
@@ -4262,7 +4270,7 @@
"name": "ActiveValidatorKeys",
"modifier": "Default",
"type": {
"plain": 585
"plain": 586
},
"fallback": "0x00",
"docs": [
@@ -4294,7 +4302,7 @@
"Twox64Concat"
],
"key": 363,
"value": 586
"value": 587
}
},
"fallback": "0x00",
@@ -4311,7 +4319,7 @@
"Twox64Concat"
],
"key": 86,
"value": 587
"value": 588
}
},
"fallback": "0x00",
@@ -4346,7 +4354,7 @@
},
"constants": [],
"errors": {
"type": 588
"type": 589
},
"index": 53
},
@@ -4375,7 +4383,7 @@
"name": "OnChainVotes",
"modifier": "Optional",
"type": {
"plain": 589
"plain": 590
},
"fallback": "0x00",
"docs": [
@@ -4390,7 +4398,7 @@
"events": null,
"constants": [],
"errors": {
"type": 594
"type": 595
},
"index": 54
},
@@ -4403,7 +4411,7 @@
"name": "ValidatorGroups",
"modifier": "Default",
"type": {
"plain": 595
"plain": 596
},
"fallback": "0x00",
"docs": [
@@ -4419,7 +4427,7 @@
"name": "ParathreadQueue",
"modifier": "Default",
"type": {
"plain": 596
"plain": 597
},
"fallback": "0x0000000000",
"docs": [
@@ -4433,7 +4441,7 @@
"name": "AvailabilityCores",
"modifier": "Default",
"type": {
"plain": 601
"plain": 602
},
"fallback": "0x00",
"docs": [
@@ -4451,7 +4459,7 @@
"name": "ParathreadClaimIndex",
"modifier": "Default",
"type": {
"plain": 604
"plain": 605
},
"fallback": "0x00",
"docs": [
@@ -4481,7 +4489,7 @@
"name": "Scheduled",
"modifier": "Default",
"type": {
"plain": 605
"plain": 606
},
"fallback": "0x00",
"docs": [
@@ -4515,7 +4523,7 @@
"Twox64Concat"
],
"key": 91,
"value": 608
"value": 609
}
},
"fallback": "0x00",
@@ -4530,7 +4538,7 @@
"name": "PvfActiveVoteList",
"modifier": "Default",
"type": {
"plain": 611
"plain": 612
},
"fallback": "0x00",
"docs": [
@@ -4541,7 +4549,7 @@
"name": "Parachains",
"modifier": "Default",
"type": {
"plain": 604
"plain": 605
},
"fallback": "0x00",
"docs": [
@@ -4557,7 +4565,7 @@
"Twox64Concat"
],
"key": 86,
"value": 612
"value": 613
}
},
"fallback": "0x00",
@@ -4609,7 +4617,7 @@
"hashers": [
"Twox64Concat"
],
"key": 613,
"key": 614,
"value": 91
}
},
@@ -4630,7 +4638,7 @@
"Twox64Concat"
],
"key": 86,
"value": 614
"value": 615
}
},
"fallback": "0x0000",
@@ -4644,7 +4652,7 @@
"name": "PastCodePruning",
"modifier": "Default",
"type": {
"plain": 617
"plain": 618
},
"fallback": "0x00",
"docs": [
@@ -4703,7 +4711,7 @@
"Twox64Concat"
],
"key": 86,
"value": 618
"value": 619
}
},
"fallback": "0x00",
@@ -4728,7 +4736,7 @@
"Twox64Concat"
],
"key": 86,
"value": 619
"value": 620
}
},
"fallback": "0x00",
@@ -4748,7 +4756,7 @@
"name": "UpgradeCooldowns",
"modifier": "Default",
"type": {
"plain": 617
"plain": 618
},
"fallback": "0x00",
"docs": [
@@ -4761,7 +4769,7 @@
"name": "UpcomingUpgrades",
"modifier": "Default",
"type": {
"plain": 617
"plain": 618
},
"fallback": "0x00",
"docs": [
@@ -4780,7 +4788,7 @@
"Twox64Concat"
],
"key": 4,
"value": 604
"value": 605
}
},
"fallback": "0x00",
@@ -4797,7 +4805,7 @@
"Twox64Concat"
],
"key": 86,
"value": 620
"value": 621
}
},
"fallback": "0x00",
@@ -4862,7 +4870,7 @@
}
],
"errors": {
"type": 621
"type": 622
},
"index": 56
},
@@ -4893,7 +4901,7 @@
"name": "BufferedSessionChanges",
"modifier": "Default",
"type": {
"plain": 622
"plain": 623
},
"fallback": "0x00",
"docs": [
@@ -4930,7 +4938,7 @@
"Twox64Concat"
],
"key": 86,
"value": 624
"value": 625
}
},
"fallback": "0x00",
@@ -5029,7 +5037,7 @@
"name": "NeedsDispatch",
"modifier": "Default",
"type": {
"plain": 604
"plain": 605
},
"fallback": "0x00",
"docs": [
@@ -5064,7 +5072,7 @@
"Twox64Concat"
],
"key": 8,
"value": 626
"value": 627
}
},
"fallback": "0x00",
@@ -5096,7 +5104,7 @@
},
"constants": [],
"errors": {
"type": 627
"type": 628
},
"index": 59
},
@@ -5114,7 +5122,7 @@
"Twox64Concat"
],
"key": 100,
"value": 628
"value": 629
}
},
"fallback": "0x00",
@@ -5131,7 +5139,7 @@
"name": "HrmpOpenChannelRequestsList",
"modifier": "Default",
"type": {
"plain": 629
"plain": 630
},
"fallback": "0x00",
"docs": []
@@ -5151,8 +5159,8 @@
"fallback": "0x00000000",
"docs": [
" This mapping tracks how many open channel requests are initiated by a given sender para.",
" Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has `(X, _)`",
" as the number of `HrmpOpenChannelRequestCount` for `X`."
" Invariant: `HrmpOpenChannelRequests` should contain the same number of items that has",
" `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`."
]
},
{
@@ -5188,8 +5196,8 @@
},
"fallback": "0x00",
"docs": [
" A set of pending HRMP close channel requests that are going to be closed during the session change.",
" Used for checking if a given channel is registered for closure.",
" A set of pending HRMP close channel requests that are going to be closed during the session",
" change. Used for checking if a given channel is registered for closure.",
"",
" The set is accompanied by a list for iteration.",
"",
@@ -5201,7 +5209,7 @@
"name": "HrmpCloseChannelRequestsList",
"modifier": "Default",
"type": {
"plain": 629
"plain": 630
},
"fallback": "0x00",
"docs": []
@@ -5234,7 +5242,7 @@
"Twox64Concat"
],
"key": 100,
"value": 630
"value": 631
}
},
"fallback": "0x00",
@@ -5253,22 +5261,22 @@
"Twox64Concat"
],
"key": 86,
"value": 604
"value": 605
}
},
"fallback": "0x00",
"docs": [
" Ingress/egress indexes allow to find all the senders and receivers given the opposite",
" side. I.e.",
" Ingress/egress indexes allow to find all the senders and receivers given the opposite side.",
" I.e.",
"",
" (a) ingress index allows to find all the senders for a given recipient.",
" (b) egress index allows to find all the recipients for a given sender.",
"",
" Invariants:",
" - for each ingress index entry for `P` each item `I` in the index should present in `HrmpChannels`",
" as `(I, P)`.",
" - for each egress index entry for `P` each item `E` in the index should present in `HrmpChannels`",
" as `(P, E)`.",
" - for each ingress index entry for `P` each item `I` in the index should present in",
" `HrmpChannels` as `(I, P)`.",
" - for each egress index entry for `P` each item `E` in the index should present in",
" `HrmpChannels` as `(P, E)`.",
" - there should be no other dangling channels in `HrmpChannels`.",
" - the vectors are sorted."
]
@@ -5282,7 +5290,7 @@
"Twox64Concat"
],
"key": 86,
"value": 604
"value": 605
}
},
"fallback": "0x00",
@@ -5297,7 +5305,7 @@
"Twox64Concat"
],
"key": 100,
"value": 632
"value": 633
}
},
"fallback": "0x00",
@@ -5315,18 +5323,17 @@
"Twox64Concat"
],
"key": 86,
"value": 634
"value": 635
}
},
"fallback": "0x00",
"docs": [
" Maintains a mapping that can be used to answer the question:",
" What paras sent a message at the given block number for a given receiver.",
" Invariants:",
" Maintains a mapping that can be used to answer the question: What paras sent a message at",
" the given block number for a given receiver. Invariants:",
" - The inner `Vec<ParaId>` is never empty.",
" - The inner `Vec<ParaId>` cannot store two same `ParaId`.",
" - The outer vector is sorted ascending by block number and cannot store two items with the same",
" block number."
" - The outer vector is sorted ascending by block number and cannot store two items with the",
" same block number."
]
}
]
@@ -5339,7 +5346,7 @@
},
"constants": [],
"errors": {
"type": 636
"type": 637
},
"index": 60
},
@@ -5352,7 +5359,7 @@
"name": "AssignmentKeysUnsafe",
"modifier": "Default",
"type": {
"plain": 637
"plain": 638
},
"fallback": "0x00",
"docs": [
@@ -5381,7 +5388,7 @@
"Identity"
],
"key": 4,
"value": 638
"value": 639
}
},
"fallback": "0x00",
@@ -5430,7 +5437,7 @@
"Twox64Concat"
],
"key": 86,
"value": 640
"value": 641
}
},
"fallback": "0x00",
@@ -5480,7 +5487,7 @@
}
],
"errors": {
"type": 641
"type": 642
},
"index": 70
},
@@ -5498,7 +5505,7 @@
"Twox64Concat"
],
"key": 86,
"value": 642
"value": 643
}
},
"fallback": "0x00",
@@ -5548,7 +5555,7 @@
}
],
"errors": {
"type": 643
"type": 644
},
"index": 71
},
@@ -5591,7 +5598,7 @@
"hashers": [
"Twox64Concat"
],
"key": 644,
"key": 645,
"value": 6
}
},
@@ -5610,7 +5617,7 @@
"Twox64Concat"
],
"key": 4,
"value": 645
"value": 646
}
},
"fallback": "0x00",
@@ -5661,7 +5668,7 @@
}
],
"errors": {
"type": 648
"type": 649
},
"index": 72
},
@@ -5679,7 +5686,7 @@
"Twox64Concat"
],
"key": 86,
"value": 649
"value": 650
}
},
"fallback": "0x00",
@@ -5691,7 +5698,7 @@
"name": "NewRaise",
"modifier": "Default",
"type": {
"plain": 604
"plain": 605
},
"fallback": "0x00",
"docs": [
@@ -5732,7 +5739,7 @@
"constants": [
{
"name": "PalletId",
"type": 526,
"type": 527,
"value": "0x70792f6366756e64",
"docs": [
" `PalletId` for the crowdloan pallet. An appropriate value could be `PalletId(*b\"py/cfund\")`"
@@ -5757,7 +5764,7 @@
}
],
"errors": {
"type": 651
"type": 652
},
"index": 73
},
@@ -5786,7 +5793,7 @@
"Blake2_128Concat"
],
"key": 8,
"value": 652
"value": 653
}
},
"fallback": "0x00",
@@ -5835,7 +5842,7 @@
"Twox64Concat",
"Blake2_128Concat"
],
"key": 656,
"key": 657,
"value": 4
}
},
@@ -5853,7 +5860,7 @@
"Twox64Concat",
"Blake2_128Concat"
],
"key": 656,
"key": 657,
"value": 8
}
},
@@ -5871,8 +5878,8 @@
"Twox64Concat",
"Blake2_128Concat"
],
"key": 656,
"value": 657
"key": 657,
"value": 658
}
},
"fallback": "0x00",
@@ -5885,7 +5892,7 @@
"name": "VersionDiscoveryQueue",
"modifier": "Default",
"type": {
"plain": 658
"plain": 659
},
"fallback": "0x00",
"docs": [
@@ -5898,7 +5905,7 @@
"name": "CurrentMigration",
"modifier": "Optional",
"type": {
"plain": 661
"plain": 662
},
"fallback": "0x00",
"docs": [
@@ -5915,63 +5922,63 @@
},
"constants": [],
"errors": {
"type": 662
"type": 663
},
"index": 99
}
],
"extrinsic": {
"type": 663,
"type": 664,
"version": 4,
"signedExtensions": [
{
"identifier": "CheckNonZeroSender",
"type": 665,
"type": 666,
"additionalSigned": 29
},
{
"identifier": "CheckSpecVersion",
"type": 666,
"additionalSigned": 4
},
{
"identifier": "CheckTxVersion",
"type": 667,
"additionalSigned": 4
},
{
"identifier": "CheckGenesis",
"identifier": "CheckTxVersion",
"type": 668,
"additionalSigned": 9
"additionalSigned": 4
},
{
"identifier": "CheckMortality",
"identifier": "CheckGenesis",
"type": 669,
"additionalSigned": 9
},
{
"identifier": "CheckNonce",
"type": 671,
"additionalSigned": 29
"identifier": "CheckMortality",
"type": 670,
"additionalSigned": 9
},
{
"identifier": "CheckWeight",
"identifier": "CheckNonce",
"type": 672,
"additionalSigned": 29
},
{
"identifier": "ChargeTransactionPayment",
"identifier": "CheckWeight",
"type": 673,
"additionalSigned": 29
},
{
"identifier": "PrevalidateAttests",
"identifier": "ChargeTransactionPayment",
"type": 674,
"additionalSigned": 29
},
{
"identifier": "PrevalidateAttests",
"type": 675,
"additionalSigned": 29
}
]
},
"type": 675
"type": 676
}
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -759,8 +759,29 @@
},
"fallback": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"docs": [
" The balance of an account.",
" The Balances pallet example of storing the balance of an account.",
"",
" # Example",
"",
" ```nocompile",
" impl pallet_balances::Config for Runtime {",
" type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>",
" }",
" ```",
"",
" You can also store the balance of an account in the `System` pallet.",
"",
" # Example",
"",
" ```nocompile",
" impl pallet_balances::Config for Runtime {",
" type AccountStore = System",
" }",
" ```",
"",
" But this comes with tradeoffs, storing account balances in the system pallet stores",
" `frame_system` data alongside the account data contrary to storing account balances in the",
" `Balances` pallet, which uses a `StorageMap` to store balances data only.",
" NOTE: This is only used in the case that this pallet is used to store balances."
]
},
@@ -2922,6 +2943,14 @@
" Minimum amount of funds that should be placed in a deposit for making a proposal."
]
},
{
"name": "ProposalBondMaximum",
"type": 413,
"value": "0x00",
"docs": [
" Maximum amount of funds that should be placed in a deposit for making a proposal."
]
},
{
"name": "SpendPeriod",
"type": 4,
@@ -2940,7 +2969,7 @@
},
{
"name": "PalletId",
"type": 413,
"type": 414,
"value": "0x70792f7472737279",
"docs": [
" The treasury's pallet id, used for deriving its sovereign account ID."
@@ -2956,7 +2985,7 @@
}
],
"errors": {
"type": 414
"type": 415
},
"index": 18
},
@@ -2991,7 +3020,7 @@
"Identity"
],
"key": 9,
"value": 415
"value": 416
}
},
"fallback": "0x00",
@@ -3008,7 +3037,7 @@
"Identity"
],
"key": 9,
"value": 416
"value": 417
}
},
"fallback": "0x00",
@@ -3036,7 +3065,7 @@
"Twox64Concat"
],
"key": 0,
"value": 417
"value": 418
}
},
"fallback": "0x00",
@@ -3050,7 +3079,7 @@
"name": "DeletionQueue",
"modifier": "Default",
"type": {
"plain": 418
"plain": 419
},
"fallback": "0x00",
"docs": [
@@ -3071,8 +3100,8 @@
"constants": [
{
"name": "Schedule",
"type": 420,
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000bd1000002c510000845300009e1b00005730000010180000b5220000f13b0000aa000000a00203007d6a0400191e0000b50e000031100000ca1700005d2f0000f131000065130000c6775c02b80b000080110000da110000a8110000d818000028190000621100009d170000c5170000151800006b170000c5170000a7170000ed170000a7170000b1170000a7170000c5170000bb1700008917000079310000d7230000eb2d000091230000b1170000d91700001f1800001518000001180000e31700000118000015180000ce2f0c00000000001e260c0000000000eaeb0b00000000004a53210000000000ee230c0000000000300f0c0000000000a00d0c00000000000ce30b000000000000681f00000000007ad5050000000000c41c0b0000000000730100000000000068fbf000000000006e0200000000000008e1842800000000d47e250000000000c4073e00000000005ac8ad07000000003106000000000000da030900000000004cbba50700000000cc020000000000009647ed07000000000e42e50100000000d8cfbf01000000003c04000000000000c20bc60700000000b4040000000000007005f5080000000016ae181e000000007acb0109000000006702000000000000dd030000000000001259e239000000007902000000000000e803000000000000b007000000000000eadd0f0000000000451300000000000052f1110000000000df0d0000000000001e2f0d00000000004006000000000000d0090d00000000004006000000000000aeb1410900000000",
"type": 421,
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000820f0000b44100007a440000a6360000e4480000ba2c0000f0320000262f000022010000e2ed0200726b0400661c00004e25000002260000582a0000ec3b0000a8340000a00f000099bdd800081b0000f41a0000621b00004e1b0000ac2b0000a22b0000121b0000d8310000a0320000e6320000f032000018330000223300000e3300002c33000082320000ec310000ce310000ec310000a0320000464b00003a3e0000804800007a3f000028320000ec310000f6310000f631000000320000d23200003c3200003c320000769a0800000000000ebc080000000000d4a5080000000000da7d1600000000007c71080000000000b8580800000000004c510800000000007e60080000000000e2451400000000008c420400000000004c4c0800000000007400000000000000d82d310000000000e70000000000000088bf9a27000000007279190000000000860c2c00000000002ced9d07000000003c03000000000000ded9060000000000c6a2b207000000002e010000000000006f00000000000000b86eae07000000006d00000000000000b468aa01000000006500000000000000b615b001000000009c020000000000001ef8b40700000000b0020000000000000cd381080000000084491a13000000002c68a40800000000e200000000000000540100000000000058aa142f00000000e7000000000000005e0100000000000025060000000000005ed60c0000000000e411000000000000547e0f0000000000de0b000000000000da7f0a0000000000c0040000000000003a6b0a0000000000bf040000000000002e8c2d0900000000",
"docs": [
" Cost schedule and limits."
]
@@ -3080,7 +3109,7 @@
{
"name": "DeletionQueueDepth",
"type": 4,
"value": "0xa9850200",
"value": "0x633a0600",
"docs": [
" The maximum number of contracts that can be pending for deletion.",
"",
@@ -3138,7 +3167,7 @@
}
],
"errors": {
"type": 424
"type": 425
},
"index": 19
},
@@ -3168,7 +3197,7 @@
},
"constants": [],
"errors": {
"type": 425
"type": 426
},
"index": 20
},
@@ -3202,7 +3231,7 @@
"name": "Keys",
"modifier": "Default",
"type": {
"plain": 426
"plain": 427
},
"fallback": "0x00",
"docs": [
@@ -3219,7 +3248,7 @@
"Twox64Concat"
],
"key": 73,
"value": 428
"value": 429
}
},
"fallback": "0x00",
@@ -3269,7 +3298,7 @@
}
],
"errors": {
"type": 433
"type": 434
},
"index": 21
},
@@ -3282,7 +3311,7 @@
"name": "Keys",
"modifier": "Default",
"type": {
"plain": 434
"plain": 435
},
"fallback": "0x00",
"docs": [
@@ -3293,7 +3322,7 @@
"name": "NextKeys",
"modifier": "Default",
"type": {
"plain": 434
"plain": 435
},
"fallback": "0x00",
"docs": [
@@ -3322,7 +3351,7 @@
"Twox64Concat"
],
"key": 9,
"value": 436
"value": 437
}
},
"fallback": "0x00",
@@ -3339,7 +3368,7 @@
"Twox64Concat",
"Twox64Concat"
],
"key": 437,
"key": 438,
"value": 98
}
},
@@ -3429,7 +3458,7 @@
"Twox64Concat"
],
"key": 0,
"value": 438
"value": 439
}
},
"fallback": "0x00",
@@ -3466,7 +3495,7 @@
"Twox64Concat"
],
"key": 0,
"value": 442
"value": 443
}
},
"fallback": "0x0000000000000000000000000000000000",
@@ -3482,7 +3511,7 @@
"name": "Registrars",
"modifier": "Default",
"type": {
"plain": 444
"plain": 445
},
"fallback": "0x00",
"docs": [
@@ -3555,7 +3584,7 @@
}
],
"errors": {
"type": 448
"type": 449
},
"index": 26
},
@@ -3591,7 +3620,7 @@
"name": "Candidates",
"modifier": "Default",
"type": {
"plain": 449
"plain": 450
},
"fallback": "0x00",
"docs": [
@@ -3607,7 +3636,7 @@
"Twox64Concat"
],
"key": 0,
"value": 452
"value": 453
}
},
"fallback": "0x00",
@@ -3669,7 +3698,7 @@
"name": "Bids",
"modifier": "Default",
"type": {
"plain": 449
"plain": 450
},
"fallback": "0x00",
"docs": [
@@ -3685,7 +3714,7 @@
"Twox64Concat"
],
"key": 0,
"value": 453
"value": 454
}
},
"fallback": "0x00",
@@ -3702,7 +3731,7 @@
"Twox64Concat"
],
"key": 0,
"value": 454
"value": 455
}
},
"fallback": "0x00",
@@ -3736,8 +3765,8 @@
"Twox64Concat",
"Twox64Concat"
],
"key": 456,
"value": 457
"key": 457,
"value": 458
}
},
"fallback": "0x00",
@@ -3765,7 +3794,7 @@
"Twox64Concat"
],
"key": 0,
"value": 457
"value": 458
}
},
"fallback": "0x00",
@@ -3795,7 +3824,7 @@
"constants": [
{
"name": "PalletId",
"type": 413,
"type": 414,
"value": "0x70792f736f636965",
"docs": [
" The societies's pallet id"
@@ -3869,7 +3898,7 @@
}
],
"errors": {
"type": 458
"type": 459
},
"index": 27
},
@@ -3887,7 +3916,7 @@
"Twox64Concat"
],
"key": 0,
"value": 459
"value": 460
}
},
"fallback": "0x00",
@@ -3904,8 +3933,8 @@
"Twox64Concat",
"Twox64Concat"
],
"key": 456,
"value": 460
"key": 457,
"value": 461
}
},
"fallback": "0x00",
@@ -3991,7 +4020,7 @@
}
],
"errors": {
"type": 461
"type": 462
},
"index": 28
},
@@ -4009,7 +4038,7 @@
"Blake2_128Concat"
],
"key": 0,
"value": 462
"value": 463
}
},
"fallback": "0x00",
@@ -4021,7 +4050,7 @@
"name": "StorageVersion",
"modifier": "Default",
"type": {
"plain": 464
"plain": 465
},
"fallback": "0x00",
"docs": [
@@ -4055,7 +4084,7 @@
}
],
"errors": {
"type": 465
"type": 466
},
"index": 29
},
@@ -4073,7 +4102,7 @@
"Twox64Concat"
],
"key": 4,
"value": 466
"value": 467
}
},
"fallback": "0x00",
@@ -4102,7 +4131,7 @@
"name": "StorageVersion",
"modifier": "Default",
"type": {
"plain": 469
"plain": 470
},
"fallback": "0x00",
"docs": [
@@ -4140,7 +4169,7 @@
}
],
"errors": {
"type": 470
"type": 471
},
"index": 30
},
@@ -4158,7 +4187,7 @@
"Identity"
],
"key": 9,
"value": 471
"value": 472
}
},
"fallback": "0x00",
@@ -4175,7 +4204,7 @@
"Identity"
],
"key": 9,
"value": 473
"value": 474
}
},
"fallback": "0x00",
@@ -4193,7 +4222,7 @@
},
"constants": [],
"errors": {
"type": 474
"type": 475
},
"index": 31
},
@@ -4211,7 +4240,7 @@
"Twox64Concat"
],
"key": 0,
"value": 475
"value": 476
}
},
"fallback": "0x0000000000000000000000000000000000",
@@ -4229,7 +4258,7 @@
"Twox64Concat"
],
"key": 0,
"value": 479
"value": 480
}
},
"fallback": "0x0000000000000000000000000000000000",
@@ -4309,7 +4338,7 @@
}
],
"errors": {
"type": 483
"type": 484
},
"index": 32
},
@@ -4327,8 +4356,8 @@
"Twox64Concat",
"Blake2_128Concat"
],
"key": 484,
"value": 485
"key": 485,
"value": 486
}
},
"fallback": "0x00",
@@ -4345,7 +4374,7 @@
"Identity"
],
"key": 1,
"value": 486
"value": 487
}
},
"fallback": "0x00",
@@ -4393,7 +4422,7 @@
}
],
"errors": {
"type": 487
"type": 488
},
"index": 33
},
@@ -4422,7 +4451,7 @@
"Twox64Concat"
],
"key": 4,
"value": 488
"value": 489
}
},
"fallback": "0x00",
@@ -4528,7 +4557,7 @@
}
],
"errors": {
"type": 490
"type": 491
},
"index": 34
},
@@ -4546,7 +4575,7 @@
"Twox64Concat"
],
"key": 9,
"value": 491
"value": 492
}
},
"fallback": "0x00",
@@ -4627,7 +4656,7 @@
}
],
"errors": {
"type": 492
"type": 493
},
"index": 35
},
@@ -4645,7 +4674,7 @@
"Blake2_128Concat"
],
"key": 4,
"value": 493
"value": 494
}
},
"fallback": "0x00",
@@ -4663,7 +4692,7 @@
"Blake2_128Concat"
],
"key": 360,
"value": 494
"value": 495
}
},
"fallback": "0x00",
@@ -4681,8 +4710,8 @@
"Blake2_128Concat",
"Blake2_128Concat"
],
"key": 496,
"value": 497
"key": 497,
"value": 498
}
},
"fallback": "0x00",
@@ -4701,7 +4730,7 @@
"Blake2_128Concat"
],
"key": 4,
"value": 498
"value": 499
}
},
"fallback": "0x0000000000000000000000000000000000000000",
@@ -4770,7 +4799,7 @@
}
],
"errors": {
"type": 499
"type": 500
},
"index": 36
},
@@ -4847,7 +4876,7 @@
"name": "Lottery",
"modifier": "Optional",
"type": {
"plain": 500
"plain": 501
},
"fallback": "0x00",
"docs": [
@@ -4863,7 +4892,7 @@
"Twox64Concat"
],
"key": 0,
"value": 501
"value": 502
}
},
"fallback": "0x0000000000",
@@ -4906,7 +4935,7 @@
"name": "CallIndices",
"modifier": "Default",
"type": {
"plain": 502
"plain": 503
},
"fallback": "0x00",
"docs": [
@@ -4925,7 +4954,7 @@
"constants": [
{
"name": "PalletId",
"type": 413,
"type": 414,
"value": "0x70792f6c6f74746f",
"docs": [
" The Lottery's pallet id"
@@ -4951,7 +4980,7 @@
}
],
"errors": {
"type": 504
"type": 505
},
"index": 38
},
@@ -4964,7 +4993,7 @@
"name": "QueueTotals",
"modifier": "Default",
"type": {
"plain": 454
"plain": 455
},
"fallback": "0x00",
"docs": [
@@ -4984,7 +5013,7 @@
"Blake2_128Concat"
],
"key": 4,
"value": 505
"value": 506
}
},
"fallback": "0x00",
@@ -4996,7 +5025,7 @@
"name": "ActiveTotal",
"modifier": "Default",
"type": {
"plain": 507
"plain": 508
},
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000",
"docs": [
@@ -5012,7 +5041,7 @@
"Blake2_128Concat"
],
"key": 4,
"value": 508
"value": 509
}
},
"fallback": "0x00",
@@ -5102,7 +5131,7 @@
}
],
"errors": {
"type": 509
"type": 510
},
"index": 39
},
@@ -5120,7 +5149,7 @@
"Blake2_128Concat"
],
"key": 4,
"value": 510
"value": 511
}
},
"fallback": "0x00",
@@ -5138,7 +5167,7 @@
"Blake2_128Concat",
"Blake2_128Concat"
],
"key": 511,
"key": 512,
"value": 27
}
},
@@ -5177,7 +5206,7 @@
"Blake2_128Concat"
],
"key": 73,
"value": 512
"value": 513
}
},
"fallback": "0x00",
@@ -5194,7 +5223,7 @@
"Blake2_128Concat"
],
"key": 4,
"value": 513
"value": 514
}
},
"fallback": "0x00",
@@ -5212,7 +5241,7 @@
"Blake2_128Concat"
],
"key": 73,
"value": 514
"value": 515
}
},
"fallback": "0x00",
@@ -5230,8 +5259,8 @@
"Blake2_128Concat",
"Blake2_128Concat"
],
"key": 515,
"value": 516
"key": 516,
"value": 517
}
},
"fallback": "0x00",
@@ -5315,7 +5344,7 @@
}
],
"errors": {
"type": 517
"type": 518
},
"index": 40
},
@@ -5333,7 +5362,7 @@
"Blake2_128Concat"
],
"key": 4,
"value": 518
"value": 519
}
},
"fallback": "0x00",
@@ -5418,7 +5447,7 @@
"name": "BlockTransactions",
"modifier": "Default",
"type": {
"plain": 518
"plain": 519
},
"fallback": "0x00",
"docs": []
@@ -5444,7 +5473,7 @@
},
"constants": [],
"errors": {
"type": 520
"type": 521
},
"index": 41
},
@@ -5462,7 +5491,7 @@
"Twox64Concat"
],
"key": 0,
"value": 521
"value": 522
}
},
"fallback": "0x00",
@@ -5492,7 +5521,7 @@
"Twox64Concat"
],
"key": 8,
"value": 522
"value": 523
}
},
"fallback": "0x00",
@@ -5513,7 +5542,7 @@
"constants": [
{
"name": "BagThresholds",
"type": 523,
"type": 524,
"value": "0x210300407a10f35a00006a70ccd4a96000009ef3397fbc660000a907ccd5306d00003d9a67fb0c740000a9bfa275577b0000a6fdf73217830000034f5d91538b0000132445651494000078081001629d00000302f63c45a70000392e6f7fc7b10000f59c23c6f2bc00004ae76aafd1c80000598a64846fd50000129fb243d8e200003f22e1ac18f1000033a4844c3e000100e2e51b895710010076a2c0b0732101006789b407a3330100793ed8d7f646010078131b81815b01000c1cf38a567101004437eeb68a8801009eb56d1434a10100335e9f156abb010067c3c7a545d701003218f340e1f40100de0b230d59140200699c11f5ca350200ad50a2c4565902009ae41c471e7f0200d0244e6745a70200f984ad51f2d10200ace7a7984dff0200a118325b822f0300ffa4c76dbe620300580bfd8532990300a9afce6812d30300109ad81b95100400d9caa519f551040038df488970970400bee1727949e10400cc73401fc62f0500b304f91831830500828bffb4d9db05001235383d143a0600a5b42a473a9e060036662d09ab080700f73aeab4cb790700b87e93d707f20700ffec23c0d1710800b84b0beca2f90800c9dcae7afc89090091752ba867230a0064f1cd4f76c60a003609be76c3730b0078655fdff32b0c00a407f5a5b6ef0c0052f61be7c5bf0d00da71bb70e79c0e000de9127eed870f001477987fb7811000ebee65ef328b11001269fe325ca5120033f8428b3fd113008ba57a13fa0f15001b2b60d0ba6216000d1d37d0c3ca17006c64fa5c6b4919002622c7411de01a00045bb9245c901c00233d83f6c25b1e00c8771c79064420003013fddef64a2200aa8b6e848172240082c096c4b2bc260016a3faebb72b29008296524ae1c12b00a636a865a4812e00d0e2d4509e6d31009c0a9a2796883400e4faafb27fd53700e6e64d367e573b000e4bd66de7113f0088b17db746084300b07def72603e470034de249635b84b00d48bd57b077a5000d0bd20ef5b885500b8f0467801e85a0010f88aee139e60003892925301b066009c95e4fc8e236d00b4126d10dffe730028b43e5976487b00a08a1c7a42078300b09ab083a0428b002846b2f463029400c861a42ade4e9d0050d23d4ae630a700805101a7e1b1b10038e501b2ccdbbc002016527844b9c800388924ba9055d50070ca35a4aebce200805fb1355cfbf0008035685d241f0001a0c3dcd96b361001d07862e87e50210160e852d09f7d330190662c5816cf460110274c3340575b01804be277a22971013082b92dfc5a880180d276075a01a101b0f511592b34bb014031745f580cd701802f6cee59a4f40140ff799b521814026075607d2986350260fde999a60d590200e5e71c91d07e02c0df2575cff2a602a07fd975899ad102a067009d4cf0fe0220dc29a1321f2f0320ff526b0a5562038088caa383c29803e05683fb5c9bd203401dd75d9516100400317e39a06e5104c0b071129de1960480b48c9192b1e00480e8124aad242f05c007ca7082858205007c13c45623db0540836fe869523906c0700f81466c9d0640f09c5017d00707c0e624b301e37807c0332ac78510f10780074ca1e4ca700800d5a9eb8c8bf80800a849588ed3880900804254142c220a80a25170e826c50a00e8d5fafc5e720b801df64e00792a0c80d4fe64f923ee0c006dd038ee19be0d001e90a494209b0e0010bf570e0a860f00da6a9db0b57f1000bf64afd810891100bb5b60cd17a31200f963f3aed6ce1300d5f004766a0d1500e099770202601600103d663bdfc71700de3e2d4158461900ecdbadb2d8dc1a0045c70007e38c1c00b8bde0fc11581e00ba5c2a211a402000407de46dcb462200dea55b03136e2400aaf1f3fcfcb7260014226f63b62629006492803e8fbc2b008486a6c7fc7b2e002cf05fc09b673100da63f7ed32823400f0b13fbdb5ce3700f291c41047503b00422a1a3c3c0a3f002c24212f20004300ac9342d4b6354700cc6ed7a400af4b00c4d022773e70500020017d89f57d5500f86387cef3dc5a008c4c7f7e54926000206207f284a36600cc1e05cb49166d00b42a7a70c4f07300d43a90e278397b0038f461ec53f78200a07264b9b1318b0048c9b3d464f09300007fe998bd3b9d0010058f17921ca70000dfaf7f469cb100e80c880bd6c4bc0058bdcb7ddca0c80038d18d37a03bd50030d55bf01ca1e200704ac01a0fdef0ffffffffffffffff",
"docs": [
" The list of thresholds separating the various bags.",
@@ -5563,7 +5592,7 @@
}
],
"errors": {
"type": 524
"type": 525
},
"index": 42
},
@@ -5611,7 +5640,7 @@
"Twox64Concat"
],
"key": 73,
"value": 525
"value": 526
}
},
"fallback": "0x00",
@@ -5628,7 +5657,7 @@
"Twox64Concat"
],
"key": 4,
"value": 527
"value": 528
}
},
"fallback": "0x00",
@@ -5689,58 +5718,58 @@
}
],
"errors": {
"type": 528
"type": 529
},
"index": 43
}
],
"extrinsic": {
"type": 529,
"type": 530,
"version": 4,
"signedExtensions": [
{
"identifier": "CheckNonZeroSender",
"type": 534,
"type": 535,
"additionalSigned": 27
},
{
"identifier": "CheckSpecVersion",
"type": 535,
"additionalSigned": 4
},
{
"identifier": "CheckTxVersion",
"type": 536,
"additionalSigned": 4
},
{
"identifier": "CheckGenesis",
"identifier": "CheckTxVersion",
"type": 537,
"additionalSigned": 9
"additionalSigned": 4
},
{
"identifier": "CheckMortality",
"identifier": "CheckGenesis",
"type": 538,
"additionalSigned": 9
},
{
"identifier": "CheckNonce",
"type": 540,
"additionalSigned": 27
"identifier": "CheckMortality",
"type": 539,
"additionalSigned": 9
},
{
"identifier": "CheckWeight",
"identifier": "CheckNonce",
"type": 541,
"additionalSigned": 27
},
{
"identifier": "ChargeAssetTxPayment",
"identifier": "CheckWeight",
"type": 542,
"additionalSigned": 27
},
{
"identifier": "ChargeAssetTxPayment",
"type": 543,
"additionalSigned": 27
}
]
},
"type": 543
"type": 544
}
}
}
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '7.6.1' };
+5 -5
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.5.1",
"version": "7.6.1",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.7",
"@polkadot/keyring": "^8.3.3",
"@polkadot/types-augment": "7.5.1",
"@polkadot/types-codec": "7.5.1",
"@polkadot/types-create": "7.5.1",
"@polkadot/types-augment": "7.6.1",
"@polkadot/types-codec": "7.6.1",
"@polkadot/types-create": "7.6.1",
"@polkadot/util": "^8.3.3",
"@polkadot/util-crypto": "^8.3.3",
"rxjs": "^7.5.2"
},
"devDependencies": {
"@polkadot/keyring": "^8.3.3",
"@polkadot/types-support": "7.5.1"
"@polkadot/types-support": "7.6.1"
}
}
@@ -23,6 +23,21 @@ export default {
_reserved: 'Option<Null>'
},
CodeHash: 'Hash',
CodeUploadRequest: {
origin: 'AccountId',
code: 'Bytes',
storageDepositLimit: 'Option<Balance>'
},
CodeUploadResult: {
_enum: {
Ok: 'CodeUploadResultValue',
Err: 'Null'
}
},
CodeUploadResultValue: {
codeHash: 'CodeHash',
deposit: 'Balance'
},
ContractCallRequest: {
origin: 'AccountId',
dest: 'AccountId',
@@ -39,6 +39,25 @@ export default {
],
type: 'ContractInstantiateResult'
},
uploadCode: {
// The RPC here is terribly misnamed - somebody forgot how the RPCs
// are actually done, ie. <module>_<camelCasedMethod>
endpoint: 'contracts_upload_code',
description: 'Upload new code without instantiating a contract from it',
params: [
{
name: 'uploadRequest',
type: 'CodeUploadRequest'
},
{
name: 'at',
type: 'BlockHash',
isHstoric: true,
isOptional: true
}
],
type: 'CodeUploadResult'
},
getStorage: {
description: 'Returns the value under a specified storage key in a contract',
params: [
@@ -20,6 +20,27 @@ export interface AliveContractInfo extends Struct {
/** @name CodeHash */
export interface CodeHash extends Hash {}
/** @name CodeUploadRequest */
export interface CodeUploadRequest extends Struct {
readonly origin: AccountId;
readonly code: Bytes;
readonly storageDepositLimit: Option<Balance>;
}
/** @name CodeUploadResult */
export interface CodeUploadResult extends Enum {
readonly isOk: boolean;
readonly asOk: CodeUploadResultValue;
readonly isErr: boolean;
readonly type: 'Ok' | 'Err';
}
/** @name CodeUploadResultValue */
export interface CodeUploadResultValue extends Struct {
readonly codeHash: CodeHash;
readonly deposit: Balance;
}
/** @name ContractCallFlags */
export interface ContractCallFlags extends Set {
readonly isForwardInput: boolean;
@@ -6,7 +6,13 @@ import { objectSpread } from '@polkadot/util';
// order important in structs... :)
/* eslint-disable sort-keys */
const SLOT_RANGE_COUNT = 10;
const SlotRange10 = {
_enum: ['ZeroZero', 'ZeroOne', 'ZeroTwo', 'ZeroThree', 'OneOne', 'OneTwo', 'OneThree', 'TwoTwo', 'TwoThree', 'ThreeThree']
};
const SlotRange = {
_enum: ['ZeroZero', 'ZeroOne', 'ZeroTwo', 'ZeroThree', 'ZeroFour', 'ZeroFive', 'ZeroSix', 'ZeroSeven', 'OneOne', 'OneTwo', 'OneThree', 'OneFour', 'OneFive', 'OneSix', 'OneSeven', 'TwoTwo', 'TwoThree', 'TwoFour', 'TwoFive', 'TwoSix', 'TwoSeven', 'ThreeThree', 'ThreeFour', 'ThreeFive', 'ThreeSix', 'ThreeSeven', 'FourFour', 'FourFive', 'FourSix', 'FourSeven', 'FiveFive', 'FiveSix', 'FiveSeven', 'SixSix', 'SixSeven', 'SevenSeven']
};
const oldTypes = {
Bidder: {
@@ -42,11 +48,13 @@ export default objectSpread({}, oldTypes, {
AuctionIndex: 'u32',
LeasePeriod: 'BlockNumber',
LeasePeriodOf: 'BlockNumber',
SlotRange: {
_enum: ['ZeroZero', 'ZeroOne', 'ZeroTwo', 'ZeroThree', 'OneOne', 'OneTwo', 'OneThree', 'TwoTwo', 'TwoThree', 'ThreeThree']
},
WinningData: `[WinningDataEntry; ${SLOT_RANGE_COUNT}]`,
SlotRange10,
SlotRange,
WinningData10: `[WinningDataEntry; ${SlotRange10._enum.length}]`,
WinningData: `[WinningDataEntry; ${SlotRange._enum.length}]`,
WinningDataEntry: 'Option<(AccountId, ParaId, BalanceOf)>',
WinnersData10: 'Vec<WinnersDataTuple10>',
WinnersData: 'Vec<WinnersDataTuple>',
WinnersDataTuple10: '(AccountId, ParaId, BalanceOf, SlotRange10)',
WinnersDataTuple: '(AccountId, ParaId, BalanceOf, SlotRange)'
});
@@ -610,6 +610,47 @@ export interface SigningContext extends Struct {
/** @name SlotRange */
export interface SlotRange extends Enum {
readonly isZeroZero: boolean;
readonly isZeroOne: boolean;
readonly isZeroTwo: boolean;
readonly isZeroThree: boolean;
readonly isZeroFour: boolean;
readonly isZeroFive: boolean;
readonly isZeroSix: boolean;
readonly isZeroSeven: boolean;
readonly isOneOne: boolean;
readonly isOneTwo: boolean;
readonly isOneThree: boolean;
readonly isOneFour: boolean;
readonly isOneFive: boolean;
readonly isOneSix: boolean;
readonly isOneSeven: boolean;
readonly isTwoTwo: boolean;
readonly isTwoThree: boolean;
readonly isTwoFour: boolean;
readonly isTwoFive: boolean;
readonly isTwoSix: boolean;
readonly isTwoSeven: boolean;
readonly isThreeThree: boolean;
readonly isThreeFour: boolean;
readonly isThreeFive: boolean;
readonly isThreeSix: boolean;
readonly isThreeSeven: boolean;
readonly isFourFour: boolean;
readonly isFourFive: boolean;
readonly isFourSix: boolean;
readonly isFourSeven: boolean;
readonly isFiveFive: boolean;
readonly isFiveSix: boolean;
readonly isFiveSeven: boolean;
readonly isSixSix: boolean;
readonly isSixSeven: boolean;
readonly isSevenSeven: boolean;
readonly type: 'ZeroZero' | 'ZeroOne' | 'ZeroTwo' | 'ZeroThree' | 'ZeroFour' | 'ZeroFive' | 'ZeroSix' | 'ZeroSeven' | 'OneOne' | 'OneTwo' | 'OneThree' | 'OneFour' | 'OneFive' | 'OneSix' | 'OneSeven' | 'TwoTwo' | 'TwoThree' | 'TwoFour' | 'TwoFive' | 'TwoSix' | 'TwoSeven' | 'ThreeThree' | 'ThreeFour' | 'ThreeFive' | 'ThreeSix' | 'ThreeSeven' | 'FourFour' | 'FourFive' | 'FourSix' | 'FourSeven' | 'FiveFive' | 'FiveSix' | 'FiveSeven' | 'SixSix' | 'SixSeven' | 'SevenSeven';
}
/** @name SlotRange10 */
export interface SlotRange10 extends Enum {
readonly isZeroZero: boolean;
readonly isZeroOne: boolean;
readonly isZeroTwo: boolean;
@@ -721,12 +762,21 @@ export interface VecInboundHrmpMessage extends Vec<InboundHrmpMessage> {}
/** @name WinnersData */
export interface WinnersData extends Vec<WinnersDataTuple> {}
/** @name WinnersData10 */
export interface WinnersData10 extends Vec<WinnersDataTuple10> {}
/** @name WinnersDataTuple */
export interface WinnersDataTuple extends ITuple<[AccountId, ParaId, BalanceOf, SlotRange]> {}
/** @name WinnersDataTuple10 */
export interface WinnersDataTuple10 extends ITuple<[AccountId, ParaId, BalanceOf, SlotRange10]> {}
/** @name WinningData */
export interface WinningData extends Vec<WinningDataEntry> {}
/** @name WinningData10 */
export interface WinningData10 extends Vec<WinningDataEntry> {}
/** @name WinningDataEntry */
export interface WinningDataEntry extends Option<ITuple<[AccountId, ParaId, BalanceOf]>> {}
@@ -9,10 +9,12 @@ import type { SiField, SiLookupTypeId, SiPath, SiType, SiTypeDefArray, SiTypeDef
import { sanitize, Struct, u32 } from '@polkadot/types-codec';
import { getTypeDef, TypeDefInfo, withTypeString } from '@polkadot/types-create';
import { assert, isNumber, isString, objectSpread, stringCamelCase, stringify, stringPascalCase } from '@polkadot/util';
import { assert, isNumber, isString, logger, objectSpread, stringCamelCase, stringify, stringPascalCase } from '@polkadot/util';
import { assertUnreachable } from './util';
const l = logger('PortableRegistry');
// Just a placeholder for a type.unrwapOr()
const TYPE_UNWRAP = { toNumber: () => -1 };
@@ -24,13 +26,6 @@ const PRIMITIVE_ALIAS: Record<string, string> = {
// These are types where we have a specific decoding/encoding override + helpers
const PATHS_ALIAS = splitNamespace([
// These come in different forms
// - node_runtime::Call
// - polkadot_runtime::Call
// - node_template_runtime::Call
// - interbtc_runtime_parachain::Call
'*_runtime_*::Call',
'*_runtime_*::Event',
// these have a specific encoding or logic (for pallets)
'pallet_democracy::vote::Vote',
'pallet_identity::types::Data',
@@ -290,6 +285,33 @@ function registerTypes (lookup: PortableRegistry, lookups: Record<string, string
}
}
// this extracts aliases based on what we know the runtime config looks like in a
// Substrate chain. Specifically we want to have access to the Call and Event params
function extractAliases (params: Record<string, SiTypeParameter[]>, isContract?: boolean): Record<number, string> {
const hasParams = Object.keys(params).length !== 0;
const alias: Record<number, string> = {};
if (params.SpRuntimeUncheckedExtrinsic) {
// Address, Call, Signature, Extra
const [, { type }] = params.SpRuntimeUncheckedExtrinsic;
alias[type.unwrap().toNumber()] = 'Call';
} else if (hasParams && !isContract) {
l.warn('Unable to determine runtime Call type, cannot inspect sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic');
}
if (params.FrameSystemEventRecord) {
// Event, Topic
const [{ type }] = params.FrameSystemEventRecord;
alias[type.unwrap().toNumber()] = 'Event';
} else if (hasParams && !isContract) {
l.warn('Unable to determine runtime Event type, cannot inspect frame_system::EventRecord');
}
return alias;
}
function extractTypeInfo (lookup: PortableRegistry, portable: PortableType[]): [Record<number, PortableType>, Record<string, string>, Record<number, string>, Record<string, SiTypeParameter[]>] {
const nameInfo: [number, string, SiTypeParameter[]][] = [];
const types: Record<number, PortableType> = {};
@@ -322,11 +344,12 @@ function extractTypeInfo (lookup: PortableRegistry, portable: PortableType[]): [
}
export class PortableRegistry extends Struct implements ILookup {
#alias: Record<number, string>;
#names: Record<number, string>;
#typeDefs: Record<number, TypeDef> = {};
#types: Record<number, PortableType>;
constructor (registry: Registry, value?: Uint8Array) {
constructor (registry: Registry, value?: Uint8Array, isContract?: boolean) {
// console.time('PortableRegistry')
super(registry, {
@@ -335,6 +358,7 @@ export class PortableRegistry extends Struct implements ILookup {
const [types, lookups, names, params] = extractTypeInfo(this, this.types);
this.#alias = extractAliases(params, isContract);
this.#names = names;
this.#types = types;
@@ -449,7 +473,7 @@ export class PortableRegistry extends Struct implements ILookup {
#extract (type: SiType, lookupIndex: number): TypeDef {
const namespace = [...type.path].join('::');
let typeDef: TypeDef;
const aliasType = getAliasPath(type.path);
const aliasType = this.#alias[lookupIndex] || getAliasPath(type.path);
try {
if (aliasType) {
@@ -519,7 +543,9 @@ export class PortableRegistry extends Struct implements ILookup {
});
} else if (['Range', 'RangeInclusive'].includes(pathFirst)) {
return withTypeString(this.registry, {
info: TypeDefInfo.Range,
info: pathFirst === 'Range'
? TypeDefInfo.Range
: TypeDefInfo.RangeInclusive,
sub: this.#createSiDef(params[0].type.unwrap()),
type: pathFirst
});
@@ -7,43 +7,53 @@ import { getTypeDef, TypeDefInfo } from '@polkadot/types-create';
type Extracted = string | Extracted[];
function extractSubSingle ({ lookupName, type }: TypeDef): Extracted[] {
function extractSubSingle (_: string, { sub }: TypeDef): Extracted[] {
const { lookupName, type } = sub as TypeDef;
return extractTypes([lookupName || type]);
}
function extractSubArray (types: TypeDef[]): Extracted[] {
return extractTypes(types.map(({ lookupName, type }) => lookupName || type));
function extractSubArray (_: string, { sub }: TypeDef): Extracted[] {
return extractTypes((sub as TypeDef[]).map(({ lookupName, type }) => lookupName || type));
}
function unhandled (type: string, { info }: TypeDef): never {
throw new Error(`Unhandled: Unable to create and validate type from ${type} (info=${TypeDefInfo[info]})`);
}
// we only handle the types with params here
const mapping: Record<TypeDefInfo, (type: string, typeDef: TypeDef) => Extracted> = {
[TypeDefInfo.BTreeMap]: extractSubArray,
[TypeDefInfo.BTreeSet]: extractSubSingle,
[TypeDefInfo.Compact]: extractSubSingle,
[TypeDefInfo.DoNotConstruct]: unhandled,
[TypeDefInfo.Enum]: extractSubArray,
[TypeDefInfo.HashMap]: extractSubArray,
[TypeDefInfo.Int]: unhandled,
[TypeDefInfo.Linkage]: unhandled,
[TypeDefInfo.Null]: unhandled,
[TypeDefInfo.Option]: extractSubSingle,
[TypeDefInfo.Plain]: (_: string, typeDef: TypeDef) => typeDef.lookupName || typeDef.type,
[TypeDefInfo.Range]: extractSubSingle,
[TypeDefInfo.RangeInclusive]: extractSubSingle,
[TypeDefInfo.Result]: extractSubArray,
[TypeDefInfo.Set]: extractSubArray,
[TypeDefInfo.Si]: unhandled,
[TypeDefInfo.Struct]: extractSubArray,
[TypeDefInfo.Tuple]: extractSubArray,
[TypeDefInfo.UInt]: unhandled,
[TypeDefInfo.Vec]: extractSubSingle,
[TypeDefInfo.VecFixed]: extractSubSingle,
[TypeDefInfo.WrapperKeepOpaque]: extractSubSingle,
[TypeDefInfo.WrapperOpaque]: extractSubSingle
};
/** @internal */
export function extractTypes (types: string[]): Extracted[] {
return types.map((type): Extracted => {
const decoded = getTypeDef(type);
const typeDef = getTypeDef(type);
switch (decoded.info) {
case TypeDefInfo.Plain:
return decoded.lookupName || decoded.type;
case TypeDefInfo.BTreeSet:
case TypeDefInfo.Compact:
case TypeDefInfo.Option:
case TypeDefInfo.Vec:
case TypeDefInfo.VecFixed:
case TypeDefInfo.WrapperKeepOpaque:
case TypeDefInfo.WrapperOpaque:
return extractSubSingle(decoded.sub as TypeDef);
case TypeDefInfo.BTreeMap:
case TypeDefInfo.Enum:
case TypeDefInfo.HashMap:
case TypeDefInfo.Result:
case TypeDefInfo.Set:
case TypeDefInfo.Struct:
case TypeDefInfo.Tuple:
return extractSubArray(decoded.sub as TypeDef[]);
default:
throw new Error(`Unhandled: Unable to create and validate type from ${type} (info=${TypeDefInfo[decoded.info]})`);
}
return mapping[typeDef.info](type, typeDef);
});
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '7.5.1' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '7.6.1' };
+151 -151
View File
@@ -1868,27 +1868,27 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@7.5.1, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@7.6.1, @polkadot/api-augment@workspace:packages/api-augment":
version: 0.0.0-use.local
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/api-base": 7.5.1
"@polkadot/rpc-augment": 7.5.1
"@polkadot/types": 7.5.1
"@polkadot/types-augment": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/api-base": 7.6.1
"@polkadot/rpc-augment": 7.6.1
"@polkadot/types": 7.6.1
"@polkadot/types-augment": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/util": ^8.3.3
languageName: unknown
linkType: soft
"@polkadot/api-base@7.5.1, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@7.6.1, @polkadot/api-base@workspace:packages/api-base":
version: 0.0.0-use.local
resolution: "@polkadot/api-base@workspace:packages/api-base"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/rpc-core": 7.5.1
"@polkadot/types": 7.5.1
"@polkadot/rpc-core": 7.6.1
"@polkadot/types": 7.6.1
"@polkadot/util": ^8.3.3
rxjs: ^7.5.2
languageName: unknown
@@ -1899,56 +1899,56 @@ __metadata:
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/api": 7.5.1
"@polkadot/api-augment": 7.5.1
"@polkadot/api": 7.6.1
"@polkadot/api-augment": 7.6.1
"@polkadot/keyring": ^8.3.3
"@polkadot/types": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/types-create": 7.5.1
"@polkadot/types": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/types-create": 7.6.1
"@polkadot/util": ^8.3.3
"@polkadot/util-crypto": ^8.3.3
rxjs: ^7.5.2
languageName: unknown
linkType: soft
"@polkadot/api-derive@7.5.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@7.6.1, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/api": 7.5.1
"@polkadot/api-augment": 7.5.1
"@polkadot/api-base": 7.5.1
"@polkadot/rpc-augment": 7.5.1
"@polkadot/rpc-core": 7.5.1
"@polkadot/rpc-provider": 7.5.1
"@polkadot/types": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/types-support": 7.5.1
"@polkadot/api": 7.6.1
"@polkadot/api-augment": 7.6.1
"@polkadot/api-base": 7.6.1
"@polkadot/rpc-augment": 7.6.1
"@polkadot/rpc-core": 7.6.1
"@polkadot/rpc-provider": 7.6.1
"@polkadot/types": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/types-support": 7.6.1
"@polkadot/util": ^8.3.3
"@polkadot/util-crypto": ^8.3.3
rxjs: ^7.5.2
languageName: unknown
linkType: soft
"@polkadot/api@7.5.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@7.6.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/api-augment": 7.5.1
"@polkadot/api-base": 7.5.1
"@polkadot/api-derive": 7.5.1
"@polkadot/api-augment": 7.6.1
"@polkadot/api-base": 7.6.1
"@polkadot/api-derive": 7.6.1
"@polkadot/keyring": ^8.3.3
"@polkadot/rpc-augment": 7.5.1
"@polkadot/rpc-core": 7.5.1
"@polkadot/rpc-provider": 7.5.1
"@polkadot/types": 7.5.1
"@polkadot/types-augment": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/types-create": 7.5.1
"@polkadot/types-known": 7.5.1
"@polkadot/types-support": 7.5.1
"@polkadot/rpc-augment": 7.6.1
"@polkadot/rpc-core": 7.6.1
"@polkadot/rpc-provider": 7.6.1
"@polkadot/types": 7.6.1
"@polkadot/types-augment": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/types-create": 7.6.1
"@polkadot/types-known": 7.6.1
"@polkadot/types-support": 7.6.1
"@polkadot/util": ^8.3.3
"@polkadot/util-crypto": ^8.3.3
eventemitter3: ^4.0.7
@@ -1956,9 +1956,9 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/dev@npm:^0.65.43":
version: 0.65.43
resolution: "@polkadot/dev@npm:0.65.43"
"@polkadot/dev@npm:^0.65.46":
version: 0.65.46
resolution: "@polkadot/dev@npm:0.65.46"
dependencies:
"@babel/cli": ^7.16.8
"@babel/core": ^7.16.12
@@ -1982,8 +1982,8 @@ __metadata:
"@rollup/plugin-json": ^4.1.0
"@rollup/plugin-node-resolve": ^13.1.3
"@rushstack/eslint-patch": ^1.1.0
"@typescript-eslint/eslint-plugin": 5.10.0
"@typescript-eslint/parser": 5.10.0
"@typescript-eslint/eslint-plugin": 5.10.1
"@typescript-eslint/parser": 5.10.1
"@vue/component-compiler-utils": ^3.3.0
babel-jest: ^27.4.6
babel-plugin-module-extension-resolver: ^1.0.0-rc.2
@@ -1991,7 +1991,7 @@ __metadata:
babel-plugin-styled-components: ^2.0.2
browserslist: ^4.19.1
coveralls: ^3.1.1
eslint: ^8.7.0
eslint: ^8.8.0
eslint-config-standard: ^16.0.3
eslint-import-resolver-node: ^0.3.6
eslint-plugin-header: ^3.1.1
@@ -2018,7 +2018,7 @@ __metadata:
mkdirp: ^1.0.4
prettier: ^2.5.1
rimraf: ^3.0.2
rollup: ^2.66.0
rollup: ^2.66.1
rollup-plugin-cleanup: ^3.2.1
typescript: ^4.5.5
yargs: ^17.3.1
@@ -2044,7 +2044,7 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: cebdfe1fa6325a7b29599478eb3ee5350f96f1d51a781dcd5625310008ae9a884927a4b43d57c9319a1446f9e9f5db293ce74ace798cdee34e40d04277e759f2
checksum: 12ca091e24a61bf232206e30588c860cecfa80ab783b8621c09f6c7930c4f5ad2e57250189c5e1c1dc63306b669b3c3b8371f7995930a53858979785cbcd6ec1
languageName: node
linkType: hard
@@ -2072,47 +2072,47 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@7.5.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@7.6.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/rpc-core": 7.5.1
"@polkadot/types": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/rpc-core": 7.6.1
"@polkadot/types": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/util": ^8.3.3
languageName: unknown
linkType: soft
"@polkadot/rpc-core@7.5.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@7.6.1, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/keyring": ^8.3.3
"@polkadot/rpc-augment": 7.5.1
"@polkadot/rpc-provider": 7.5.1
"@polkadot/types": 7.5.1
"@polkadot/rpc-augment": 7.6.1
"@polkadot/rpc-provider": 7.6.1
"@polkadot/types": 7.6.1
"@polkadot/util": ^8.3.3
rxjs: ^7.5.2
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@7.5.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@7.6.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/keyring": ^8.3.3
"@polkadot/types": 7.5.1
"@polkadot/types-support": 7.5.1
"@polkadot/types": 7.6.1
"@polkadot/types-support": 7.6.1
"@polkadot/util": ^8.3.3
"@polkadot/util-crypto": ^8.3.3
"@polkadot/x-fetch": ^8.3.3
"@polkadot/x-global": ^8.3.3
"@polkadot/x-ws": ^8.3.3
eventemitter3: ^4.0.7
mock-socket: ^9.1.0
mock-socket: ^9.1.2
nock: ^13.2.2
languageName: unknown
linkType: soft
@@ -2124,18 +2124,18 @@ __metadata:
"@babel/core": ^7.16.12
"@babel/register": ^7.16.9
"@babel/runtime": ^7.16.7
"@polkadot/api": 7.5.1
"@polkadot/api-augment": 7.5.1
"@polkadot/rpc-augment": 7.5.1
"@polkadot/rpc-provider": 7.5.1
"@polkadot/types": 7.5.1
"@polkadot/types-augment": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/types-create": 7.5.1
"@polkadot/types-support": 7.5.1
"@polkadot/api": 7.6.1
"@polkadot/api-augment": 7.6.1
"@polkadot/rpc-augment": 7.6.1
"@polkadot/rpc-provider": 7.6.1
"@polkadot/types": 7.6.1
"@polkadot/types-augment": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/types-create": 7.6.1
"@polkadot/types-support": 7.6.1
"@polkadot/util": ^8.3.3
"@polkadot/x-ws": ^8.3.3
"@types/websocket": ^1.0.4
"@types/websocket": ^1.0.5
"@types/yargs": ^17.0.8
handlebars: ^4.7.7
websocket: ^1.0.34
@@ -2149,55 +2149,55 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@7.5.1, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@7.6.1, @polkadot/types-augment@workspace:packages/types-augment":
version: 0.0.0-use.local
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/types": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/types": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/util": ^8.3.3
languageName: unknown
linkType: soft
"@polkadot/types-codec@7.5.1, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@7.6.1, @polkadot/types-codec@workspace:packages/types-codec":
version: 0.0.0-use.local
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/types": 7.5.1
"@polkadot/types-augment": 7.5.1
"@polkadot/types-support": 7.5.1
"@polkadot/types": 7.6.1
"@polkadot/types-augment": 7.6.1
"@polkadot/types-support": 7.6.1
"@polkadot/util": ^8.3.3
"@polkadot/util-crypto": ^8.3.3
languageName: unknown
linkType: soft
"@polkadot/types-create@7.5.1, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@7.6.1, @polkadot/types-create@workspace:packages/types-create":
version: 0.0.0-use.local
resolution: "@polkadot/types-create@workspace:packages/types-create"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/types": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/types": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/util": ^8.3.3
languageName: unknown
linkType: soft
"@polkadot/types-known@7.5.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@7.6.1, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/networks": ^8.3.3
"@polkadot/types": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/types-create": 7.5.1
"@polkadot/types": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/types-create": 7.6.1
"@polkadot/util": ^8.3.3
languageName: unknown
linkType: soft
"@polkadot/types-support@7.5.1, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@7.6.1, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -2206,16 +2206,16 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@7.5.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@7.6.1, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@babel/runtime": ^7.16.7
"@polkadot/keyring": ^8.3.3
"@polkadot/types-augment": 7.5.1
"@polkadot/types-codec": 7.5.1
"@polkadot/types-create": 7.5.1
"@polkadot/types-support": 7.5.1
"@polkadot/types-augment": 7.6.1
"@polkadot/types-codec": 7.6.1
"@polkadot/types-create": 7.6.1
"@polkadot/types-support": 7.6.1
"@polkadot/util": ^8.3.3
"@polkadot/util-crypto": ^8.3.3
rxjs: ^7.5.2
@@ -2673,12 +2673,12 @@ __metadata:
languageName: node
linkType: hard
"@types/websocket@npm:^1.0.4":
version: 1.0.4
resolution: "@types/websocket@npm:1.0.4"
"@types/websocket@npm:^1.0.4, @types/websocket@npm:^1.0.5":
version: 1.0.5
resolution: "@types/websocket@npm:1.0.5"
dependencies:
"@types/node": "*"
checksum: 969a1586e9c08c4812bf7fc3a51fb5fbc3c2d2b19bc1e605a8277d2d48c36b9dc917ea90d5648cc9dc317775ffd206cf75788fc55dc2b7116ed567dae6f32ea3
checksum: 41c7a620f877a0165ff36e713455d888b7f5df9c51e71b5d0f47994f98cf22ccd339b8c6cfdc6bb417e950d40f405693974d393bd916971490553cc5e9e67a9d
languageName: node
linkType: hard
@@ -2707,13 +2707,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:5.10.0":
version: 5.10.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.10.0"
"@typescript-eslint/eslint-plugin@npm:5.10.1":
version: 5.10.1
resolution: "@typescript-eslint/eslint-plugin@npm:5.10.1"
dependencies:
"@typescript-eslint/scope-manager": 5.10.0
"@typescript-eslint/type-utils": 5.10.0
"@typescript-eslint/utils": 5.10.0
"@typescript-eslint/scope-manager": 5.10.1
"@typescript-eslint/type-utils": 5.10.1
"@typescript-eslint/utils": 5.10.1
debug: ^4.3.2
functional-red-black-tree: ^1.0.1
ignore: ^5.1.8
@@ -2726,42 +2726,42 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 675b79c519e5287a184720317d309c55e308c19eb52f1f062e3851168a9b6e4768363bd31bdcbf897c080f1c21cb39736cd522408620818dd9ce483d1573bf89
checksum: 44d71b4622c0e53bb0c576f2b94bf9274faf0c2f3d5fc0357ecec211add6ebfc96c15a5fa68aab8eede1a928f09631062517617ee83a8d228d2c81215c0156a8
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:5.10.0":
version: 5.10.0
resolution: "@typescript-eslint/parser@npm:5.10.0"
"@typescript-eslint/parser@npm:5.10.1":
version: 5.10.1
resolution: "@typescript-eslint/parser@npm:5.10.1"
dependencies:
"@typescript-eslint/scope-manager": 5.10.0
"@typescript-eslint/types": 5.10.0
"@typescript-eslint/typescript-estree": 5.10.0
"@typescript-eslint/scope-manager": 5.10.1
"@typescript-eslint/types": 5.10.1
"@typescript-eslint/typescript-estree": 5.10.1
debug: ^4.3.2
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 127aaa807659bbd4b2b274263d1ef821b8d0746f0a18ae55466718d070ba43c94e5575849954271f0d6582d2114c96a0ff6645189015a6522c4d8682d4d20a1b
checksum: 36e94b3fb5010f09311f1667f8beed1ece46677e738424df78e266eef0957e33671d505a7979d775e863b553d509ce8dbee6201a6994da5282ff38f8e1ae0303
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:5.10.0":
version: 5.10.0
resolution: "@typescript-eslint/scope-manager@npm:5.10.0"
"@typescript-eslint/scope-manager@npm:5.10.1":
version: 5.10.1
resolution: "@typescript-eslint/scope-manager@npm:5.10.1"
dependencies:
"@typescript-eslint/types": 5.10.0
"@typescript-eslint/visitor-keys": 5.10.0
checksum: 934cbb4a03d383537fda05b926eeba0597d63ef1c65328d55abe20a060b6559ba2017825e167dc2093a23d675c37aaa2056dec1747b17f0fbca419fba68f8d0f
"@typescript-eslint/types": 5.10.1
"@typescript-eslint/visitor-keys": 5.10.1
checksum: a4f802ca683bcb3db0e14739d02e680f0f51b6562c23380ea9e0878a70f638572650bd2dbc62f8d74bc39657c053c3e6469a0d4179d3d99bb94fd47bd14d6ecf
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:5.10.0":
version: 5.10.0
resolution: "@typescript-eslint/type-utils@npm:5.10.0"
"@typescript-eslint/type-utils@npm:5.10.1":
version: 5.10.1
resolution: "@typescript-eslint/type-utils@npm:5.10.1"
dependencies:
"@typescript-eslint/utils": 5.10.0
"@typescript-eslint/utils": 5.10.1
debug: ^4.3.2
tsutils: ^3.21.0
peerDependencies:
@@ -2769,7 +2769,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: aa6bf7fcac7aa956ccf938b8d93d1ecd8956ea1f5690046967fe69f0bd2592cd8e29a992f5a252990b8e13c1e09c3f9efb6375d0551f4b4c08c69cd662be2e73
checksum: f7310e036490c47bce132ad4c8185dc253eb5afb954788335811f46ae36c0ea92816319ca1072481f9a8dbac3cd36cc22a8cdc86f2014d0882b8c4029c69d491
languageName: node
linkType: hard
@@ -2780,19 +2780,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/types@npm:5.10.0":
version: 5.10.0
resolution: "@typescript-eslint/types@npm:5.10.0"
checksum: 269988cbb1772616ade3af5f70a3c4d7871c90fa04fbc4ed8b1148ec0a6853f2d51609fe51aa797486bfe9b704a4c4a3410e6225470db18850d3469a7db5a63b
"@typescript-eslint/types@npm:5.10.1":
version: 5.10.1
resolution: "@typescript-eslint/types@npm:5.10.1"
checksum: e8bbedae74637c35677aab92eceb154e8f1b100b6015d4aa20b5d52bb2e486e50733feca07610406763e1cc36c448a97ca77f058f4e07e7c61bd8d830c092030
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:5.10.0":
version: 5.10.0
resolution: "@typescript-eslint/typescript-estree@npm:5.10.0"
"@typescript-eslint/typescript-estree@npm:5.10.1":
version: 5.10.1
resolution: "@typescript-eslint/typescript-estree@npm:5.10.1"
dependencies:
"@typescript-eslint/types": 5.10.0
"@typescript-eslint/visitor-keys": 5.10.0
"@typescript-eslint/types": 5.10.1
"@typescript-eslint/visitor-keys": 5.10.1
debug: ^4.3.2
globby: ^11.0.4
is-glob: ^4.0.3
@@ -2801,7 +2801,7 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 1097fd5a96857a285020a2c5ee7abb7e5984771ac44b61b5d500724dc3ff88030e4e5340fcd872779b1307fbb224240d6543babb901559675efcab20a2dc70dc
checksum: 5721e99baa9b286a474a22c4b08e6ac5a0d79435e7f2a91e876e6a2135a44244f0a83ff42cc1cd2ac23cc6ee014965baaa84481e9017f703c45f22e474620c7f
languageName: node
linkType: hard
@@ -2823,19 +2823,19 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:5.10.0":
version: 5.10.0
resolution: "@typescript-eslint/utils@npm:5.10.0"
"@typescript-eslint/utils@npm:5.10.1":
version: 5.10.1
resolution: "@typescript-eslint/utils@npm:5.10.1"
dependencies:
"@types/json-schema": ^7.0.9
"@typescript-eslint/scope-manager": 5.10.0
"@typescript-eslint/types": 5.10.0
"@typescript-eslint/typescript-estree": 5.10.0
"@typescript-eslint/scope-manager": 5.10.1
"@typescript-eslint/types": 5.10.1
"@typescript-eslint/typescript-estree": 5.10.1
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 9c53b0e47b922210c5dc0c7ac045206062ad4f21f9bf03ef091894d3fcfe9fde7e72c70a97b5073a54a42b7628943dd8dcef00bd3285ebd63039909888dea84a
checksum: beca5b5eb56b6236215baa409619fc8eea700e733094683c3ac39236bf442793b61fcf3ad6fe57ccec265649962d84c1951900e47bd55208ed50c4c2c7d8cf6b
languageName: node
linkType: hard
@@ -2849,13 +2849,13 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:5.10.0":
version: 5.10.0
resolution: "@typescript-eslint/visitor-keys@npm:5.10.0"
"@typescript-eslint/visitor-keys@npm:5.10.1":
version: 5.10.1
resolution: "@typescript-eslint/visitor-keys@npm:5.10.1"
dependencies:
"@typescript-eslint/types": 5.10.0
"@typescript-eslint/types": 5.10.1
eslint-visitor-keys: ^3.0.0
checksum: 9b99c6be709c59be6a1705f0244aad732a5e523af8b8eb87e5dd6a3d27a027329bf2617aa6f15a36f79bce4215ac09277e144737a0d8d674e93b073b36fd963e
checksum: 7e1e1a41b2df797534ee56c0d9ae2a056e0ca0ca019b31125fd52d7deb0e802d899920031f2dbf88a951e6752d8fcbd9fa904eaeccb50cf30d2b92b54fd7879d
languageName: node
linkType: hard
@@ -4848,9 +4848,9 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.7.0":
version: 8.7.0
resolution: "eslint@npm:8.7.0"
"eslint@npm:^8.8.0":
version: 8.8.0
resolution: "eslint@npm:8.8.0"
dependencies:
"@eslint/eslintrc": ^1.0.5
"@humanwhocodes/config-array": ^0.9.2
@@ -4889,7 +4889,7 @@ __metadata:
v8-compile-cache: ^2.0.3
bin:
eslint: bin/eslint.js
checksum: 1c80375a48b0fe3ccae3c6354323e4f0e92e970f23abc5b9705b90b7aef514b69ebd0a63e74962d30789986c91fa41c0e25cd2f98f19e9e2a2d36aafdfc9ccc9
checksum: 41a7e85bf84cf9f2d758ef3e8d08020a39a2836703728b59535684681349bd021c2c6e24174462b844a914870d707d2151e0371198899d957b444de91adaa435
languageName: node
linkType: hard
@@ -7595,10 +7595,10 @@ fsevents@~2.1.2:
languageName: node
linkType: hard
"mock-socket@npm:^9.1.0":
version: 9.1.0
resolution: "mock-socket@npm:9.1.0"
checksum: 19b16017da9810bbdcc2bc8e7e2b3ff0c7aa57d0f1edf5ab354e468457c1bace8d3d15c885123a614aa9cf916f6b40de5075b94f56b314a53a0ed2fbdff02e14
"mock-socket@npm:^9.1.2":
version: 9.1.2
resolution: "mock-socket@npm:9.1.2"
checksum: ef25dbd57b7360a0c1e0bb072aa0d73ac53d11d88c1efebedd48da006ccff77327628d707fecf651906e81cc488e8929c733bdb9f2c4c4f3772e99d6b903aace
languageName: node
linkType: hard
@@ -8904,9 +8904,9 @@ resolve@^2.0.0-next.3:
languageName: node
linkType: hard
"rollup@npm:^2.66.0":
version: 2.66.0
resolution: "rollup@npm:2.66.0"
"rollup@npm:^2.66.1":
version: 2.66.1
resolution: "rollup@npm:2.66.1"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
@@ -8914,7 +8914,7 @@ resolve@^2.0.0-next.3:
optional: true
bin:
rollup: dist/bin/rollup
checksum: 577fcc6e0227269bb42726756ca6d53d2445e1b54c4dd4d5e019fae271c7f0d7d557966f3b0cc3cd71d9d7c95b4642e2ffd14c3c7b0ef9a887a0a9fab9ba8755
checksum: ecd7917deeaa3005ac7cdd64186daf024594bd9ba940e32fc8966602a83349074d0ec999256009dc4475e7c3786ac52cdd824ee9df514b8c356b960fda6bfb34
languageName: node
linkType: hard
@@ -8925,7 +8925,7 @@ resolve@^2.0.0-next.3:
"@babel/core": ^7.16.12
"@babel/register": ^7.16.9
"@babel/runtime": ^7.16.7
"@polkadot/dev": ^0.65.43
"@polkadot/dev": ^0.65.46
"@polkadot/typegen": "workspace:packages/typegen"
"@types/jest": ^27.4.0
copyfiles: ^2.4.1