Compare commits

..
20 Commits
Author SHA1 Message Date
github-actions[bot] 2da085afb8 [CI Skip] release/stable 9.9.2
skip-checks: true
2022-11-27 17:14:51 +00:00
Jaco 973cc13873 9.9.2 (#5355) 2022-11-27 19:07:02 +02:00
github-actions[bot] 61e5f91e5b [CI Skip] bump/beta 9.9.2-1-x
skip-checks: true
2022-11-27 15:25:35 +00:00
Jaco 8c52f050fe Bumnp Substrate metadata (#5354) 2022-11-27 17:15:23 +02:00
github-actions[bot] d1bf4402cf [CI Skip] bump/beta 9.9.2-0-x
skip-checks: true
2022-11-27 14:42:57 +00:00
Jaco d3eb1de49b Bump util (#5353) 2022-11-27 16:34:07 +02:00
github-actions[bot] 46076c5595 [CI Skip] release/stable 9.9.1
skip-checks: true
2022-11-20 13:42:59 +00:00
Jaco ba4e74f67c 9.9.1 (#5349) 2022-11-20 15:32:32 +02:00
github-actions[bot] d303f553a1 [CI Skip] bump/beta 9.8.3-2-x
skip-checks: true
2022-11-20 13:23:28 +00:00
Jaco ad71405fd8 Bump metadata (#5348)
* Bump metadata

* fillBlock moved
2022-11-20 15:14:59 +02:00
github-actions[bot] 3f6127d854 [CI Skip] bump/beta 9.8.3-1-x
skip-checks: true
2022-11-20 09:50:19 +00:00
Jaco 9353536db0 Bump TS (#5347)
* Bump TS

* linting

* expand comment
2022-11-20 11:42:18 +02:00
github-actions[bot] dcc4583c32 [CI Skip] bump/beta 9.8.3-0-x
skip-checks: true
2022-11-19 19:30:15 +00:00
Jaco 2c96b71c30 Bump deps (#5346) 2022-11-19 21:22:09 +02:00
github-actions[bot] 9b3258a65a [CI Skip] release/stable 9.8.2
skip-checks: true
2022-11-16 18:24:16 +00:00
Jaco d191d07782 9.8.2 (#5343) 2022-11-16 20:16:15 +02:00
github-actions[bot] fe2103e5d4 [CI Skip] bump/beta 9.8.2-1-x
skip-checks: true
2022-11-16 18:08:33 +00:00
Jaco ee42e3a86c Reset/Revert v1 of runtime query_info (w/ detect) (#5342)
* Reset/Revert v1 of runtime quety_info (w/ detect)

* Add V2 struct
2022-11-16 19:58:51 +02:00
github-actions[bot] 12fd31def5 [CI Skip] bump/beta 9.8.2-0-x
skip-checks: true
2022-11-16 16:25:06 +00:00
Jaco a3901ca7ad Adjust (to be deprecated) payment RPC return values (#5341)
* Adjust (to be deprecated) payment RPC return values

* Adjust

* Build TS interfaces
2022-11-16 18:16:49 +02:00
67 changed files with 2151 additions and 1716 deletions
+23
View File
@@ -1,5 +1,28 @@
# CHANGELOG # CHANGELOG
## 9.9.2 Nov 27, 2022
Changes:
- Update to latest Polkadot, Kusama & Substrate metadata
## 9.9.1 Nov 20, 2022
Changes:
- Update to latest Polkadot, Kusama & Substrate metadata
- Adjust code for latest Eslint & TS released versions
## 9.8.2 Nov 16, 2022
Changes:
- Adjust `api.rpc.payment.queryInfo` to always return `WeightV1` responses
- Mark `api.rpc.payment.queryInfo` as deprecated (will be in a future Substrate version)
## 9.8.1 Nov 13, 2022 ## 9.8.1 Nov 13, 2022
Contributed: Contributed:
+1 -1
View File
@@ -1,4 +1,4 @@
3280 Jaco 9.8.1 (#5337) 3290 Jaco 9.9.2 (#5355)
83 Amaury Martiny StatementKind: Regular and Saft (#2303) 83 Amaury Martiny StatementKind: Regular and Saft (#2303)
37 Keith Ingram Update contract types and rpc (#4541) 37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709) 35 Stefanie Doll Updated child storage parameters (#1709)
+6 -6
View File
@@ -11,10 +11,10 @@
}, },
"sideEffects": false, "sideEffects": false,
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"versions": { "versions": {
"git": "9.8.1", "git": "9.9.2",
"npm": "9.8.1" "npm": "9.9.2"
}, },
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
@@ -39,12 +39,12 @@
"@babel/core": "^7.20.2", "@babel/core": "^7.20.2",
"@babel/register": "^7.18.9", "@babel/register": "^7.18.9",
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/dev": "^0.67.156", "@polkadot/dev": "^0.67.163",
"@polkadot/typegen": "workspace:packages/typegen", "@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^29.2.2", "@types/jest": "^29.2.3",
"copyfiles": "^2.4.1" "copyfiles": "^2.4.1"
}, },
"resolutions": { "resolutions": {
"typescript": "^4.8.4" "typescript": "^4.9.3"
} }
} }
+8 -8
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/api-base": "9.8.1", "@polkadot/api-base": "9.9.2",
"@polkadot/rpc-augment": "9.8.1", "@polkadot/rpc-augment": "9.9.2",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-augment": "9.8.1", "@polkadot/types-augment": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.12" "@polkadot/util": "^10.1.14"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/types-support": "9.8.1" "@polkadot/types-support": "9.9.2"
} }
} }
+11
View File
@@ -354,6 +354,17 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
fastUnstake: {
/**
* Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
* the costs of resources on unsuccessful unstake.
**/
deposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
fellowshipReferenda: { fellowshipReferenda: {
/** /**
* Quantization level for the referendum wakeup scheduler. A higher number will result in * Quantization level for the referendum wakeup scheduler. A higher number will result in
+1 -1
View File
@@ -115,7 +115,7 @@ declare module '@polkadot/api-base/types/errors' {
**/ **/
ExistingVestingSchedule: AugmentedError<ApiType>; ExistingVestingSchedule: AugmentedError<ApiType>;
/** /**
* Balance too low to send value * Balance too low to send value.
**/ **/
InsufficientBalance: AugmentedError<ApiType>; InsufficientBalance: AugmentedError<ApiType>;
/** /**
@@ -379,11 +379,6 @@ declare module '@polkadot/api-base/types/events' {
* of the batch. A new batch will be created upon next block. * of the batch. A new batch will be created upon next block.
**/ **/
BatchFinished: AugmentedEvent<ApiType, []>; BatchFinished: AugmentedEvent<ApiType, []>;
/**
* Some internal error happened while migrating stash. They are removed as head as a
* consequence.
**/
Errored: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
/** /**
* An internal error happened. Operations will be paused now. * An internal error happened. Operations will be paused now.
**/ **/
+1 -5
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, MultiAddress, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeSessionKeys, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
@@ -4092,10 +4092,6 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
system: { system: {
/**
* A dispatch that will fill the block weight up to the given ratio.
**/
fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
/** /**
* Kill all storage items with a key that starts with the given prefix. * Kill all storage items with a key that starts with the given prefix.
* *
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.9.2' };
@@ -334,6 +334,17 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
fastUnstake: {
/**
* Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
* the costs of resources on unsuccessful unstake.
**/
deposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
grandpa: { grandpa: {
/** /**
* Max Authorities in use * Max Authorities in use
+1 -1
View File
@@ -115,7 +115,7 @@ declare module '@polkadot/api-base/types/errors' {
**/ **/
ExistingVestingSchedule: AugmentedError<ApiType>; ExistingVestingSchedule: AugmentedError<ApiType>;
/** /**
* Balance too low to send value * Balance too low to send value.
**/ **/
InsufficientBalance: AugmentedError<ApiType>; InsufficientBalance: AugmentedError<ApiType>;
/** /**
@@ -365,11 +365,6 @@ declare module '@polkadot/api-base/types/events' {
* of the batch. A new batch will be created upon next block. * of the batch. A new batch will be created upon next block.
**/ **/
BatchFinished: AugmentedEvent<ApiType, []>; BatchFinished: AugmentedEvent<ApiType, []>;
/**
* Some internal error happened while migrating stash. They are removed as head as a
* consequence.
**/
Errored: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
/** /**
* An internal error happened. Operations will be paused now. * An internal error happened. Operations will be paused now.
**/ **/
+1 -5
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, MultiAddress, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { FrameSupportPreimagesBounded, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
@@ -3240,10 +3240,6 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
system: { system: {
/**
* A dispatch that will fill the block weight up to the given ratio.
**/
fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
/** /**
* Kill all storage items with a key that starts with the given prefix. * Kill all storage items with a key that starts with the given prefix.
* *
+18 -2
View File
@@ -25,8 +25,7 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
maxAnnouncementsCount: u32 & AugmentedConst<ApiType>; maxAnnouncementsCount: u32 & AugmentedConst<ApiType>;
/** /**
* The maximum number of members per member role. Should not exceed the sum of * The maximum number of members per member role.
* `MaxFounders` and `MaxFellows`.
**/ **/
maxMembersCount: u32 & AugmentedConst<ApiType>; maxMembersCount: u32 & AugmentedConst<ApiType>;
/** /**
@@ -65,6 +64,12 @@ declare module '@polkadot/api-base/types/consts' {
* metadata. * metadata.
**/ **/
metadataDepositPerByte: u128 & AugmentedConst<ApiType>; metadataDepositPerByte: u128 & AugmentedConst<ApiType>;
/**
* Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
*
* Must be configured to result in a weight that makes each call fit in a block.
**/
removeItemsLimit: u32 & AugmentedConst<ApiType>;
/** /**
* The maximum length of a name or symbol stored on-chain. * The maximum length of a name or symbol stored on-chain.
**/ **/
@@ -476,6 +481,17 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
fastUnstake: {
/**
* Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
* the costs of resources on unsuccessful unstake.
**/
deposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
gilt: { gilt: {
/** /**
* Portion of the queue which is free from ordering and just a FIFO. * Portion of the queue which is free from ordering and just a FIFO.
+25 -11
View File
@@ -46,9 +46,9 @@ declare module '@polkadot/api-base/types/errors' {
**/ **/
BadWitness: AugmentedError<ApiType>; BadWitness: AugmentedError<ApiType>;
/** /**
* Founders must be provided to initialize the Alliance. * Fellows must be provided to initialize the Alliance.
**/ **/
FoundersMissing: AugmentedError<ApiType>; FellowsMissing: AugmentedError<ApiType>;
/** /**
* Balance is insufficient for the required deposit. * Balance is insufficient for the required deposit.
**/ **/
@@ -65,10 +65,6 @@ declare module '@polkadot/api-base/types/errors' {
* Account is not an ally. * Account is not an ally.
**/ **/
NotAlly: AugmentedError<ApiType>; NotAlly: AugmentedError<ApiType>;
/**
* Account is not a founder.
**/
NotFounder: AugmentedError<ApiType>;
/** /**
* Item has not been deemed unscrupulous. * Item has not been deemed unscrupulous.
**/ **/
@@ -77,10 +73,6 @@ declare module '@polkadot/api-base/types/errors' {
* Account is not a member. * Account is not a member.
**/ **/
NotMember: AugmentedError<ApiType>; NotMember: AugmentedError<ApiType>;
/**
* The proposal is not vetoable.
**/
NotVetoableProposal: AugmentedError<ApiType>;
/** /**
* Account does not have voting rights. * Account does not have voting rights.
**/ **/
@@ -173,6 +165,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset-account already exists. * The asset-account already exists.
**/ **/
AlreadyExists: AugmentedError<ApiType>; AlreadyExists: AugmentedError<ApiType>;
/**
* The asset is not live, and likely being destroyed.
**/
AssetNotLive: AugmentedError<ApiType>;
/** /**
* Invalid metadata given. * Invalid metadata given.
**/ **/
@@ -189,10 +185,19 @@ declare module '@polkadot/api-base/types/errors' {
* The origin account is frozen. * The origin account is frozen.
**/ **/
Frozen: AugmentedError<ApiType>; Frozen: AugmentedError<ApiType>;
/**
* The asset status is not the expected status.
**/
IncorrectStatus: AugmentedError<ApiType>;
/** /**
* The asset ID is already taken. * The asset ID is already taken.
**/ **/
InUse: AugmentedError<ApiType>; InUse: AugmentedError<ApiType>;
/**
* The asset is a live asset and is actively being used. Usually emit for operations such
* as `start_destroy` which require the asset to be in a destroying state.
**/
LiveAsset: AugmentedError<ApiType>;
/** /**
* Minimum balance should be non-zero. * Minimum balance should be non-zero.
**/ **/
@@ -215,6 +220,10 @@ declare module '@polkadot/api-base/types/errors' {
* maximum number of consumers has been reached. * maximum number of consumers has been reached.
**/ **/
NoProvider: AugmentedError<ApiType>; NoProvider: AugmentedError<ApiType>;
/**
* The asset should be frozen before the given operation.
**/
NotFrozen: AugmentedError<ApiType>;
/** /**
* No approval exists that would allow the transfer. * No approval exists that would allow the transfer.
**/ **/
@@ -410,8 +419,13 @@ declare module '@polkadot/api-base/types/errors' {
CodeNotFound: AugmentedError<ApiType>; CodeNotFound: AugmentedError<ApiType>;
/** /**
* The contract's code was found to be invalid during validation or instrumentation. * The contract's code was found to be invalid during validation or instrumentation.
*
* The most likely cause of this is that an API was used which is not supported by the
* node. This hapens if an older node is used with a new version of ink!. Try updating
* your node to the newest available version.
*
* A more detailed error can be found on the node console if debug messages are enabled * A more detailed error can be found on the node console if debug messages are enabled
* or in the debug buffer which is returned to RPC clients. * by supplying `-lruntime::contracts=debug`.
**/ **/
CodeRejected: AugmentedError<ApiType>; CodeRejected: AugmentedError<ApiType>;
/** /**
+19 -8
View File
@@ -19,7 +19,7 @@ declare module '@polkadot/api-base/types/events' {
/** /**
* Alliance disbanded. Includes number deleted members and unreserved deposits. * Alliance disbanded. Includes number deleted members and unreserved deposits.
**/ **/
AllianceDisbanded: AugmentedEvent<ApiType, [votingMembers: u32, allyMembers: u32, unreserved: u32], { votingMembers: u32, allyMembers: u32, unreserved: u32 }>; AllianceDisbanded: AugmentedEvent<ApiType, [fellowMembers: u32, allyMembers: u32, unreserved: u32], { fellowMembers: u32, allyMembers: u32, unreserved: u32 }>;
/** /**
* An ally has been elevated to Fellow. * An ally has been elevated to Fellow.
**/ **/
@@ -32,6 +32,10 @@ declare module '@polkadot/api-base/types/events' {
* An on-chain announcement has been removed. * An on-chain announcement has been removed.
**/ **/
AnnouncementRemoved: AugmentedEvent<ApiType, [announcement: PalletAllianceCid], { announcement: PalletAllianceCid }>; AnnouncementRemoved: AugmentedEvent<ApiType, [announcement: PalletAllianceCid], { announcement: PalletAllianceCid }>;
/**
* A Fellow abdicated their voting rights. They are now an Ally.
**/
FellowAbdicated: AugmentedEvent<ApiType, [fellow: AccountId32], { fellow: AccountId32 }>;
/** /**
* A member has been kicked out with its deposit slashed. * A member has been kicked out with its deposit slashed.
**/ **/
@@ -45,9 +49,9 @@ declare module '@polkadot/api-base/types/events' {
**/ **/
MemberRetirementPeriodStarted: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>; MemberRetirementPeriodStarted: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
/** /**
* Some accounts have been initialized as members (founders/fellows/allies). * Some accounts have been initialized as members (fellows/allies).
**/ **/
MembersInitialized: AugmentedEvent<ApiType, [founders: Vec<AccountId32>, fellows: Vec<AccountId32>, allies: Vec<AccountId32>], { founders: Vec<AccountId32>, fellows: Vec<AccountId32>, allies: Vec<AccountId32> }>; MembersInitialized: AugmentedEvent<ApiType, [fellows: Vec<AccountId32>, allies: Vec<AccountId32>], { fellows: Vec<AccountId32>, allies: Vec<AccountId32> }>;
/** /**
* An account has been added as an Ally and reserved its deposit. * An account has been added as an Ally and reserved its deposit.
**/ **/
@@ -106,10 +110,18 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
assets: { assets: {
/**
* Accounts were destroyed for given asset.
**/
AccountsDestroyed: AugmentedEvent<ApiType, [assetId: u32, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u32, accountsDestroyed: u32, accountsRemaining: u32 }>;
/** /**
* An approval for account `delegate` was cancelled by `owner`. * An approval for account `delegate` was cancelled by `owner`.
**/ **/
ApprovalCancelled: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32], { assetId: u32, owner: AccountId32, delegate: AccountId32 }>; ApprovalCancelled: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32], { assetId: u32, owner: AccountId32, delegate: AccountId32 }>;
/**
* Approvals were destroyed for given asset.
**/
ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: u32, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u32, approvalsDestroyed: u32, approvalsRemaining: u32 }>;
/** /**
* (Additional) funds have been approved for transfer to a destination account. * (Additional) funds have been approved for transfer to a destination account.
**/ **/
@@ -138,6 +150,10 @@ declare module '@polkadot/api-base/types/events' {
* An asset class was destroyed. * An asset class was destroyed.
**/ **/
Destroyed: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>; Destroyed: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
/**
* An asset class is in the process of being destroyed.
**/
DestructionStarted: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
/** /**
* Some asset class was force-created. * Some asset class was force-created.
**/ **/
@@ -562,11 +578,6 @@ declare module '@polkadot/api-base/types/events' {
* of the batch. A new batch will be created upon next block. * of the batch. A new batch will be created upon next block.
**/ **/
BatchFinished: AugmentedEvent<ApiType, []>; BatchFinished: AugmentedEvent<ApiType, []>;
/**
* Some internal error happened while migrating stash. They are removed as head as a
* consequence.
**/
Errored: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
/** /**
* An internal error happened. Operations will be paused now. * An internal error happened. Operations will be paused now.
**/ **/
+2 -4
View File
@@ -30,7 +30,7 @@ declare module '@polkadot/api-base/types/storage' {
/** /**
* Maps member type to members of each type. * Maps member type to members of each type.
**/ **/
members: AugmentedQuery<ApiType, (arg: PalletAllianceMemberRole | 'Founder' | 'Fellow' | 'Ally' | 'Retiring' | number | Uint8Array) => Observable<Vec<AccountId32>>, [PalletAllianceMemberRole]> & QueryableStorageEntry<ApiType, [PalletAllianceMemberRole]>; members: AugmentedQuery<ApiType, (arg: PalletAllianceMemberRole | 'Fellow' | 'Ally' | 'Retiring' | number | Uint8Array) => Observable<Vec<AccountId32>>, [PalletAllianceMemberRole]> & QueryableStorageEntry<ApiType, [PalletAllianceMemberRole]>;
/** /**
* A set of members who gave a retirement notice. They can retire after the end of retirement * A set of members who gave a retirement notice. They can retire after the end of retirement
* period stored as a future block number. * period stored as a future block number.
@@ -38,9 +38,7 @@ declare module '@polkadot/api-base/types/storage' {
retiringMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; retiringMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/** /**
* The IPFS CID of the alliance rule. * The IPFS CID of the alliance rule.
* Founders and fellows can propose a new rule with a super-majority. * Fellows can propose a new rule with a super-majority.
*
* Any founder has a special one-vote veto right to the rule setting.
**/ **/
rule: AugmentedQuery<ApiType, () => Observable<Option<PalletAllianceCid>>, []> & QueryableStorageEntry<ApiType, []>; rule: AugmentedQuery<ApiType, () => Observable<Option<PalletAllianceCid>>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
+84 -42
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup'; import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>; export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -19,6 +19,12 @@ export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = Submittab
declare module '@polkadot/api-base/types/submittable' { declare module '@polkadot/api-base/types/submittable' {
interface AugmentedSubmittables<ApiType extends ApiTypes> { interface AugmentedSubmittables<ApiType extends ApiTypes> {
alliance: { alliance: {
/**
* Abdicate one's position as a voting member and just be an Ally. May be used by Fellows
* who do not want to leave the Alliance but do not have the capacity to participate
* operationally for some time.
**/
abdicateFellowStatus: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/** /**
* Add accounts or websites to the list of unscrupulous items. * Add accounts or websites to the list of unscrupulous items.
**/ **/
@@ -30,13 +36,13 @@ declare module '@polkadot/api-base/types/submittable' {
/** /**
* Close a vote that is either approved, disapproved, or whose voting period has ended. * Close a vote that is either approved, disapproved, or whose voting period has ended.
* *
* Requires the sender to be a founder or fellow. * Must be called by a Fellow.
**/ **/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>; close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/** /**
* Close a vote that is either approved, disapproved, or whose voting period has ended. * Close a vote that is either approved, disapproved, or whose voting period has ended.
* *
* Requires the sender to be a founder or fellow. * Must be called by a Fellow.
**/ **/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>; closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/** /**
@@ -44,9 +50,9 @@ declare module '@polkadot/api-base/types/submittable' {
* *
* Witness data must be set. * Witness data must be set.
**/ **/
disband: AugmentedSubmittable<(witness: PalletAllianceDisbandWitness | { votingMembers?: any; allyMembers?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceDisbandWitness]>; disband: AugmentedSubmittable<(witness: PalletAllianceDisbandWitness | { fellowMembers?: any; allyMembers?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceDisbandWitness]>;
/** /**
* Elevate an ally to fellow. * Elevate an Ally to Fellow.
**/ **/
elevateAlly: AugmentedSubmittable<(ally: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>; elevateAlly: AugmentedSubmittable<(ally: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/** /**
@@ -55,30 +61,30 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
giveRetirementNotice: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; giveRetirementNotice: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/** /**
* Initialize the Alliance, onboard founders, fellows, and allies. * Initialize the Alliance, onboard fellows and allies.
*
* The Alliance must be empty, and the call must provide some founding members.
* *
* Founders must be not empty.
* The Alliance must be empty.
* Must be called by the Root origin. * Must be called by the Root origin.
**/ **/
initMembers: AugmentedSubmittable<(founders: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>, Vec<AccountId32>]>; initMembers: AugmentedSubmittable<(fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>]>;
/** /**
* Submit oneself for candidacy. A fixed deposit is reserved. * Submit oneself for candidacy. A fixed deposit is reserved.
**/ **/
joinAlliance: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; joinAlliance: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/** /**
* Kick a member from the alliance and slash its deposit. * Kick a member from the Alliance and slash its deposit.
**/ **/
kickMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>; kickMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/** /**
* A founder or fellow can nominate someone to join the alliance as an Ally. * A Fellow can nominate someone to join the alliance as an Ally. There is no deposit
* There is no deposit required to the nominator or nominee. * required from the nominator or nominee.
**/ **/
nominateAlly: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>; nominateAlly: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/** /**
* Add a new proposal to be voted on. * Add a new proposal to be voted on.
* *
* Requires the sender to be a founder or fellow. * Must be called by a Fellow.
**/ **/
propose: AugmentedSubmittable<(threshold: Compact<u32> | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Call, Compact<u32>]>; propose: AugmentedSubmittable<(threshold: Compact<u32> | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Call, Compact<u32>]>;
/** /**
@@ -86,29 +92,24 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
removeAnnouncement: AugmentedSubmittable<(announcement: PalletAllianceCid | { version?: any; codec?: any; hash_?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceCid]>; removeAnnouncement: AugmentedSubmittable<(announcement: PalletAllianceCid | { version?: any; codec?: any; hash_?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceCid]>;
/** /**
* Deem an item no longer unscrupulous. * Deem some items no longer unscrupulous.
**/ **/
removeUnscrupulousItems: AugmentedSubmittable<(items: Vec<PalletAllianceUnscrupulousItem> | (PalletAllianceUnscrupulousItem | { AccountId: any } | { Website: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletAllianceUnscrupulousItem>]>; removeUnscrupulousItems: AugmentedSubmittable<(items: Vec<PalletAllianceUnscrupulousItem> | (PalletAllianceUnscrupulousItem | { AccountId: any } | { Website: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletAllianceUnscrupulousItem>]>;
/** /**
* As a member, retire from the alliance and unreserve the deposit. * As a member, retire from the Alliance and unreserve the deposit.
* This can only be done once you have `give_retirement_notice` and it has expired. *
* This can only be done once you have called `give_retirement_notice` and the
* `RetirementPeriod` has passed.
**/ **/
retire: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; retire: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/** /**
* Set a new IPFS CID to the alliance rule. * Set a new IPFS CID to the alliance rule.
**/ **/
setRule: AugmentedSubmittable<(rule: PalletAllianceCid | { version?: any; codec?: any; hash_?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceCid]>; setRule: AugmentedSubmittable<(rule: PalletAllianceCid | { version?: any; codec?: any; hash_?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceCid]>;
/**
* Veto a proposal about `set_rule` and `elevate_ally`, close, and remove it from the
* system, regardless of its current state.
*
* Must be called by a founder.
**/
veto: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/** /**
* Add an aye or nay vote for the sender to the given proposal. * Add an aye or nay vote for the sender to the given proposal.
* *
* Requires the sender to be a founder or fellow. * Must be called by a Fellow.
**/ **/
vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, bool]>; vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, bool]>;
/** /**
@@ -401,26 +402,47 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
create: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, u128]>; create: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, u128]>;
/** /**
* Destroy a class of fungible assets. * Destroy all accounts associated with a given asset.
* `destroy_accounts` should only be called after `start_destroy` has been called, and the
* asset is in a `Destroying` state
* *
* The origin must conform to `ForceOrigin` or must be Signed and the sender must be the * Due to weight restrictions, this function may need to be called multiple
* owner of the asset `id`. * times to fully destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a
* time.
* *
* - `id`: The identifier of the asset to be destroyed. This must identify an existing * - `id`: The identifier of the asset to be destroyed. This must identify an existing
* asset. * asset.
* *
* Emits `Destroyed` event when successful. * Each call Emits the `Event::DestroyedAccounts` event.
*
* NOTE: It can be helpful to first freeze an asset before destroying it so that you
* can provide accurate witness information and prevent users from manipulating state
* in a way that can make it harder to destroy.
*
* Weight: `O(c + p + a)` where:
* - `c = (witness.accounts - witness.sufficients)`
* - `s = witness.sufficients`
* - `a = witness.approvals`
**/ **/
destroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, witness: PalletAssetsDestroyWitness | { accounts?: any; sufficients?: any; approvals?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletAssetsDestroyWitness]>; destroyAccounts: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit),
* `destroy_approvals` should only be called after `start_destroy` has been called, and the
* asset is in a `Destroying` state
*
* Due to weight restrictions, this function may need to be called multiple
* times to fully destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a
* time.
*
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
* asset.
*
* Each call Emits the `Event::DestroyedApprovals` event.
**/
destroyApprovals: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
* Complete destroying asset and unreserve currency.
* `finish_destroy` should only be called after `start_destroy` has been called, and the
* asset is in a `Destroying` state. All accounts or approvals should be destroyed before
* hand.
*
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
* asset.
*
* Each successful call Emits the `Event::Destroyed` event.
**/
finishDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/** /**
* Alter the attributes of a given asset. * Alter the attributes of a given asset.
* *
@@ -622,6 +644,20 @@ declare module '@polkadot/api-base/types/submittable' {
* Weight: `O(1)` * Weight: `O(1)`
**/ **/
setTeam: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, issuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, freezer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, MultiAddress]>; setTeam: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, issuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, freezer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, MultiAddress]>;
/**
* Start the process of destroying a class of fungible asset
* start_destroy is the first in a series of extrinsics that should be called, to allow
* destroying an asset.
*
* The origin must conform to `ForceOrigin` or must be Signed and the sender must be the
* owner of the asset `id`.
*
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
* asset.
*
* Assets must be freezed before calling start_destroy.
**/
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/** /**
* Allow unprivileged transfers from an account again. * Allow unprivileged transfers from an account again.
* *
@@ -3488,6 +3524,16 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
rootTesting: {
/**
* A dispatch that will fill the block weight up to the given ratio.
**/
fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
scheduler: { scheduler: {
/** /**
* Cancel an anonymously scheduled task. * Cancel an anonymously scheduled task.
@@ -4403,10 +4449,6 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
system: { system: {
/**
* A dispatch that will fill the block weight up to the given ratio.
**/
fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
/** /**
* Kill all storage items with a key that starts with the given prefix. * Kill all storage items with a key that starts with the given prefix.
* *
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/rpc-core": "9.8.1", "@polkadot/rpc-core": "9.9.2",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"rxjs": "^7.5.7" "rxjs": "^7.5.7"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.9.2' };
+9 -9
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/api": "9.8.1", "@polkadot/api": "9.9.2",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.8.1", "@polkadot/types-create": "9.9.2",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.12", "@polkadot/util-crypto": "^10.1.14",
"rxjs": "^7.5.7" "rxjs": "^7.5.7"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api-augment": "9.8.1", "@polkadot/api-augment": "9.9.2",
"@polkadot/keyring": "^10.1.12" "@polkadot/keyring": "^10.1.14"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.9.2' };
+14 -14
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/api": "9.8.1", "@polkadot/api": "9.9.2",
"@polkadot/api-augment": "9.8.1", "@polkadot/api-augment": "9.9.2",
"@polkadot/api-base": "9.8.1", "@polkadot/api-base": "9.9.2",
"@polkadot/rpc-core": "9.8.1", "@polkadot/rpc-core": "9.9.2",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.12", "@polkadot/util-crypto": "^10.1.14",
"rxjs": "^7.5.7" "rxjs": "^7.5.7"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api": "9.8.1", "@polkadot/api": "9.9.2",
"@polkadot/api-augment": "9.8.1", "@polkadot/api-augment": "9.9.2",
"@polkadot/rpc-augment": "9.8.1", "@polkadot/rpc-augment": "9.9.2",
"@polkadot/rpc-provider": "9.8.1", "@polkadot/rpc-provider": "9.9.2",
"@polkadot/types-support": "9.8.1" "@polkadot/types-support": "9.9.2"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.9.2' };
+17 -17
View File
@@ -20,29 +20,29 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/api-augment": "9.8.1", "@polkadot/api-augment": "9.9.2",
"@polkadot/api-base": "9.8.1", "@polkadot/api-base": "9.9.2",
"@polkadot/api-derive": "9.8.1", "@polkadot/api-derive": "9.9.2",
"@polkadot/keyring": "^10.1.12", "@polkadot/keyring": "^10.1.14",
"@polkadot/rpc-augment": "9.8.1", "@polkadot/rpc-augment": "9.9.2",
"@polkadot/rpc-core": "9.8.1", "@polkadot/rpc-core": "9.9.2",
"@polkadot/rpc-provider": "9.8.1", "@polkadot/rpc-provider": "9.9.2",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-augment": "9.8.1", "@polkadot/types-augment": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.8.1", "@polkadot/types-create": "9.9.2",
"@polkadot/types-known": "9.8.1", "@polkadot/types-known": "9.9.2",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.12", "@polkadot/util-crypto": "^10.1.14",
"eventemitter3": "^4.0.7", "eventemitter3": "^4.0.7",
"rxjs": "^7.5.7" "rxjs": "^7.5.7"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api-augment": "9.8.1", "@polkadot/api-augment": "9.9.2",
"@polkadot/types-support": "9.8.1" "@polkadot/types-support": "9.9.2"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.9.2' };
+5 -5
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/rpc-core": "9.8.1", "@polkadot/rpc-core": "9.9.2",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.12" "@polkadot/util": "^10.1.14"
} }
} }
+4 -2
View File
@@ -23,7 +23,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa'; import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr'; import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime'; import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state'; import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
@@ -407,13 +407,15 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
}; };
payment: { payment: {
/** /**
* @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead
* Query the detailed fee of a given encoded extrinsic * Query the detailed fee of a given encoded extrinsic
**/ **/
queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>; queryFeeDetails: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<FeeDetails>>;
/** /**
* @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead
* Retrieves the fee information for an encoded extrinsic * Retrieves the fee information for an encoded extrinsic
**/ **/
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>; queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfoV1>>;
}; };
rpc: { rpc: {
/** /**
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.9.2' };
+7 -7
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/rpc-augment": "9.8.1", "@polkadot/rpc-augment": "9.9.2",
"@polkadot/rpc-provider": "9.8.1", "@polkadot/rpc-provider": "9.9.2",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"rxjs": "^7.5.7" "rxjs": "^7.5.7"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^10.1.12", "@polkadot/keyring": "^10.1.14",
"@polkadot/rpc-augment": "9.8.1" "@polkadot/rpc-augment": "9.9.2"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.9.2' };
+10 -10
View File
@@ -20,19 +20,19 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/keyring": "^10.1.12", "@polkadot/keyring": "^10.1.14",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-support": "9.8.1", "@polkadot/types-support": "9.9.2",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.12", "@polkadot/util-crypto": "^10.1.14",
"@polkadot/x-fetch": "^10.1.12", "@polkadot/x-fetch": "^10.1.14",
"@polkadot/x-global": "^10.1.12", "@polkadot/x-global": "^10.1.14",
"@polkadot/x-ws": "^10.1.12", "@polkadot/x-ws": "^10.1.14",
"@substrate/connect": "0.7.16", "@substrate/connect": "0.7.17",
"eventemitter3": "^4.0.7", "eventemitter3": "^4.0.7",
"mock-socket": "^9.1.5", "mock-socket": "^9.1.5",
"nock": "^13.2.9" "nock": "^13.2.9"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.9.2' };
+14 -14
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"bin": { "bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs", "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,24 +33,24 @@
"@babel/core": "^7.20.2", "@babel/core": "^7.20.2",
"@babel/register": "^7.18.9", "@babel/register": "^7.18.9",
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/api": "9.8.1", "@polkadot/api": "9.9.2",
"@polkadot/api-augment": "9.8.1", "@polkadot/api-augment": "9.9.2",
"@polkadot/rpc-augment": "9.8.1", "@polkadot/rpc-augment": "9.9.2",
"@polkadot/rpc-provider": "9.8.1", "@polkadot/rpc-provider": "9.9.2",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-augment": "9.8.1", "@polkadot/types-augment": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.8.1", "@polkadot/types-create": "9.9.2",
"@polkadot/types-support": "9.8.1", "@polkadot/types-support": "9.9.2",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.12", "@polkadot/util-crypto": "^10.1.14",
"@polkadot/x-ws": "^10.1.12", "@polkadot/x-ws": "^10.1.14",
"handlebars": "^4.7.7", "handlebars": "^4.7.7",
"websocket": "^1.0.34", "websocket": "^1.0.34",
"yargs": "^17.6.2" "yargs": "^17.6.2"
}, },
"devDependencies": { "devDependencies": {
"@types/websocket": "^1.0.5", "@types/websocket": "^1.0.5",
"@types/yargs": "^17.0.13" "@types/yargs": "^17.0.14"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.9.2' };
+4 -4
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.12" "@polkadot/util": "^10.1.14"
} }
} }
+137 -112
View File
@@ -1097,6 +1097,19 @@ export default {
AssetThawed: { AssetThawed: {
assetId: 'u32', assetId: 'u32',
}, },
AccountsDestroyed: {
assetId: 'u32',
accountsDestroyed: 'u32',
accountsRemaining: 'u32',
},
ApprovalsDestroyed: {
assetId: 'u32',
approvalsDestroyed: 'u32',
approvalsRemaining: 'u32',
},
DestructionStarted: {
assetId: 'u32',
},
Destroyed: { Destroyed: {
assetId: 'u32', assetId: 'u32',
}, },
@@ -1490,9 +1503,6 @@ export default {
**/ **/
FrameSystemCall: { FrameSystemCall: {
_enum: { _enum: {
fill_block: {
ratio: 'Perbill',
},
remark: { remark: {
remark: 'Bytes', remark: 'Bytes',
}, },
@@ -1601,6 +1611,7 @@ export default {
__Unused46: 'Null', __Unused46: 'Null',
__Unused47: 'Null', __Unused47: 'Null',
__Unused48: 'Null', __Unused48: 'Null',
__Unused49: 'Null',
AllianceMotion: 'PalletCollectiveRawOrigin' AllianceMotion: 'PalletCollectiveRawOrigin'
} }
}, },
@@ -2904,9 +2915,17 @@ export default {
isSufficient: 'bool', isSufficient: 'bool',
minBalance: 'Compact<u128>', minBalance: 'Compact<u128>',
}, },
destroy: { start_destroy: {
id: 'Compact<u32>',
},
destroy_accounts: {
id: 'Compact<u32>',
},
destroy_approvals: {
id: 'Compact<u32>',
},
finish_destroy: {
id: 'Compact<u32>', id: 'Compact<u32>',
witness: 'PalletAssetsDestroyWitness',
}, },
mint: { mint: {
id: 'Compact<u32>', id: 'Compact<u32>',
@@ -3017,15 +3036,7 @@ export default {
} }
}, },
/** /**
* Lookup300: pallet_assets::types::DestroyWitness * Lookup300: pallet_lottery::pallet::Call<T>
**/
PalletAssetsDestroyWitness: {
accounts: 'Compact<u32>',
sufficients: 'Compact<u32>',
approvals: 'Compact<u32>'
},
/**
* Lookup301: pallet_lottery::pallet::Call<T>
**/ **/
PalletLotteryCall: { PalletLotteryCall: {
_enum: { _enum: {
@@ -3045,7 +3056,7 @@ export default {
} }
}, },
/** /**
* Lookup302: pallet_gilt::pallet::Call<T> * Lookup301: pallet_gilt::pallet::Call<T>
**/ **/
PalletGiltCall: { PalletGiltCall: {
_enum: { _enum: {
@@ -3066,7 +3077,7 @@ export default {
} }
}, },
/** /**
* Lookup305: pallet_uniques::pallet::Call<T, I> * Lookup304: pallet_uniques::pallet::Call<T, I>
**/ **/
PalletUniquesCall: { PalletUniquesCall: {
_enum: { _enum: {
@@ -3195,7 +3206,7 @@ export default {
} }
}, },
/** /**
* Lookup306: pallet_uniques::types::DestroyWitness * Lookup305: pallet_uniques::types::DestroyWitness
**/ **/
PalletUniquesDestroyWitness: { PalletUniquesDestroyWitness: {
items: 'Compact<u32>', items: 'Compact<u32>',
@@ -3203,7 +3214,7 @@ export default {
attributes: 'Compact<u32>' attributes: 'Compact<u32>'
}, },
/** /**
* Lookup309: pallet_transaction_storage::pallet::Call<T> * Lookup308: pallet_transaction_storage::pallet::Call<T>
**/ **/
PalletTransactionStorageCall: { PalletTransactionStorageCall: {
_enum: { _enum: {
@@ -3220,14 +3231,14 @@ export default {
} }
}, },
/** /**
* Lookup310: sp_transaction_storage_proof::TransactionStorageProof * Lookup309: sp_transaction_storage_proof::TransactionStorageProof
**/ **/
SpTransactionStorageProofTransactionStorageProof: { SpTransactionStorageProofTransactionStorageProof: {
chunk: 'Bytes', chunk: 'Bytes',
proof: 'Vec<Bytes>' proof: 'Vec<Bytes>'
}, },
/** /**
* Lookup311: pallet_bags_list::pallet::Call<T, I> * Lookup310: pallet_bags_list::pallet::Call<T, I>
**/ **/
PalletBagsListCall: { PalletBagsListCall: {
_enum: { _enum: {
@@ -3240,7 +3251,7 @@ export default {
} }
}, },
/** /**
* Lookup312: pallet_state_trie_migration::pallet::Call<T> * Lookup311: pallet_state_trie_migration::pallet::Call<T>
**/ **/
PalletStateTrieMigrationCall: { PalletStateTrieMigrationCall: {
_enum: { _enum: {
@@ -3274,7 +3285,7 @@ export default {
} }
}, },
/** /**
* Lookup314: pallet_state_trie_migration::pallet::MigrationLimits * Lookup313: pallet_state_trie_migration::pallet::MigrationLimits
**/ **/
PalletStateTrieMigrationMigrationLimits: { PalletStateTrieMigrationMigrationLimits: {
_alias: { _alias: {
@@ -3284,7 +3295,7 @@ export default {
item: 'u32' item: 'u32'
}, },
/** /**
* Lookup315: pallet_state_trie_migration::pallet::MigrationTask<T> * Lookup314: pallet_state_trie_migration::pallet::MigrationTask<T>
**/ **/
PalletStateTrieMigrationMigrationTask: { PalletStateTrieMigrationMigrationTask: {
_alias: { _alias: {
@@ -3297,7 +3308,7 @@ export default {
childItems: 'u32' childItems: 'u32'
}, },
/** /**
* Lookup316: pallet_state_trie_migration::pallet::Progress<MaxKeyLen> * Lookup315: pallet_state_trie_migration::pallet::Progress<MaxKeyLen>
**/ **/
PalletStateTrieMigrationProgress: { PalletStateTrieMigrationProgress: {
_enum: { _enum: {
@@ -3307,7 +3318,7 @@ export default {
} }
}, },
/** /**
* Lookup318: pallet_child_bounties::pallet::Call<T> * Lookup317: pallet_child_bounties::pallet::Call<T>
**/ **/
PalletChildBountiesCall: { PalletChildBountiesCall: {
_enum: { _enum: {
@@ -3346,7 +3357,7 @@ export default {
} }
}, },
/** /**
* Lookup319: pallet_referenda::pallet::Call<T, I> * Lookup318: pallet_referenda::pallet::Call<T, I>
**/ **/
PalletReferendaCall: { PalletReferendaCall: {
_enum: { _enum: {
@@ -3376,7 +3387,7 @@ export default {
} }
}, },
/** /**
* Lookup320: frame_support::traits::schedule::DispatchTime<BlockNumber> * Lookup319: frame_support::traits::schedule::DispatchTime<BlockNumber>
**/ **/
FrameSupportScheduleDispatchTime: { FrameSupportScheduleDispatchTime: {
_enum: { _enum: {
@@ -3385,7 +3396,7 @@ export default {
} }
}, },
/** /**
* Lookup321: pallet_remark::pallet::Call<T> * Lookup320: pallet_remark::pallet::Call<T>
**/ **/
PalletRemarkCall: { PalletRemarkCall: {
_enum: { _enum: {
@@ -3394,6 +3405,16 @@ export default {
} }
} }
}, },
/**
* Lookup321: pallet_root_testing::pallet::Call<T>
**/
PalletRootTestingCall: {
_enum: {
fill_block: {
ratio: 'Perbill'
}
}
},
/** /**
* Lookup322: pallet_conviction_voting::pallet::Call<T, I> * Lookup322: pallet_conviction_voting::pallet::Call<T, I>
**/ **/
@@ -3483,9 +3504,6 @@ export default {
index: 'Compact<u32>', index: 'Compact<u32>',
approve: 'bool', approve: 'bool',
}, },
veto: {
proposalHash: 'H256',
},
close_old_weight: { close_old_weight: {
proposalHash: 'H256', proposalHash: 'H256',
index: 'Compact<u32>', index: 'Compact<u32>',
@@ -3493,7 +3511,6 @@ export default {
lengthBound: 'Compact<u32>', lengthBound: 'Compact<u32>',
}, },
init_members: { init_members: {
founders: 'Vec<AccountId32>',
fellows: 'Vec<AccountId32>', fellows: 'Vec<AccountId32>',
allies: 'Vec<AccountId32>', allies: 'Vec<AccountId32>',
}, },
@@ -3531,15 +3548,16 @@ export default {
proposalHash: 'H256', proposalHash: 'H256',
index: 'Compact<u32>', index: 'Compact<u32>',
proposalWeightBound: 'SpWeightsWeightV2Weight', proposalWeightBound: 'SpWeightsWeightV2Weight',
lengthBound: 'Compact<u32>' lengthBound: 'Compact<u32>',
} },
abdicate_fellow_status: 'Null'
} }
}, },
/** /**
* Lookup330: pallet_alliance::types::DisbandWitness * Lookup330: pallet_alliance::types::DisbandWitness
**/ **/
PalletAllianceDisbandWitness: { PalletAllianceDisbandWitness: {
votingMembers: 'Compact<u32>', fellowMembers: 'Compact<u32>',
allyMembers: 'Compact<u32>' allyMembers: 'Compact<u32>'
}, },
/** /**
@@ -3802,7 +3820,6 @@ export default {
announcement: 'PalletAllianceCid', announcement: 'PalletAllianceCid',
}, },
MembersInitialized: { MembersInitialized: {
founders: 'Vec<AccountId32>',
fellows: 'Vec<AccountId32>', fellows: 'Vec<AccountId32>',
allies: 'Vec<AccountId32>', allies: 'Vec<AccountId32>',
}, },
@@ -3832,9 +3849,12 @@ export default {
items: 'Vec<PalletAllianceUnscrupulousItem>', items: 'Vec<PalletAllianceUnscrupulousItem>',
}, },
AllianceDisbanded: { AllianceDisbanded: {
votingMembers: 'u32', fellowMembers: 'u32',
allyMembers: 'u32', allyMembers: 'u32',
unreserved: 'u32' unreserved: 'u32',
},
FellowAbdicated: {
fellow: 'AccountId32'
} }
} }
}, },
@@ -3952,9 +3972,6 @@ export default {
stash: 'AccountId32', stash: 'AccountId32',
amount: 'u128', amount: 'u128',
}, },
Errored: {
stash: 'AccountId32',
},
InternalError: 'Null', InternalError: 'Null',
BatchChecked: { BatchChecked: {
eras: 'Vec<u32>', eras: 'Vec<u32>',
@@ -4634,7 +4651,9 @@ export default {
hashBlake2128: 'u64', hashBlake2128: 'u64',
hashBlake2128PerByte: 'u64', hashBlake2128PerByte: 'u64',
ecdsaRecover: 'u64', ecdsaRecover: 'u64',
ecdsaToEthAddress: 'u64' ecdsaToEthAddress: 'u64',
reentranceCount: 'u64',
accountReentranceCount: 'u64'
}, },
/** /**
* Lookup500: pallet_contracts::pallet::Error<T> * Lookup500: pallet_contracts::pallet::Error<T>
@@ -4907,10 +4926,16 @@ export default {
accounts: 'u32', accounts: 'u32',
sufficients: 'u32', sufficients: 'u32',
approvals: 'u32', approvals: 'u32',
isFrozen: 'bool' status: 'PalletAssetsAssetStatus'
}, },
/** /**
* Lookup573: pallet_assets::types::AssetAccount<Balance, DepositBalance, Extra> * Lookup573: pallet_assets::types::AssetStatus
**/
PalletAssetsAssetStatus: {
_enum: ['Live', 'Frozen', 'Destroying']
},
/**
* Lookup574: pallet_assets::types::AssetAccount<Balance, DepositBalance, Extra>
**/ **/
PalletAssetsAssetAccount: { PalletAssetsAssetAccount: {
balance: 'u128', balance: 'u128',
@@ -4919,7 +4944,7 @@ export default {
extra: 'Null' extra: 'Null'
}, },
/** /**
* Lookup574: pallet_assets::types::ExistenceReason<Balance> * Lookup575: pallet_assets::types::ExistenceReason<Balance>
**/ **/
PalletAssetsExistenceReason: { PalletAssetsExistenceReason: {
_enum: { _enum: {
@@ -4930,14 +4955,14 @@ export default {
} }
}, },
/** /**
* Lookup576: pallet_assets::types::Approval<Balance, DepositBalance> * Lookup577: pallet_assets::types::Approval<Balance, DepositBalance>
**/ **/
PalletAssetsApproval: { PalletAssetsApproval: {
amount: 'u128', amount: 'u128',
deposit: 'u128' deposit: 'u128'
}, },
/** /**
* Lookup577: pallet_assets::types::AssetMetadata<DepositBalance, sp_core::bounded::bounded_vec::BoundedVec<T, S>> * Lookup578: pallet_assets::types::AssetMetadata<DepositBalance, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
**/ **/
PalletAssetsAssetMetadata: { PalletAssetsAssetMetadata: {
deposit: 'u128', deposit: 'u128',
@@ -4947,13 +4972,13 @@ export default {
isFrozen: 'bool' isFrozen: 'bool'
}, },
/** /**
* Lookup578: pallet_assets::pallet::Error<T, I> * Lookup579: pallet_assets::pallet::Error<T, I>
**/ **/
PalletAssetsError: { PalletAssetsError: {
_enum: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'NoProvider', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn'] _enum: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'NoProvider', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen']
}, },
/** /**
* Lookup579: pallet_lottery::LotteryConfig<BlockNumber, Balance> * Lookup580: pallet_lottery::LotteryConfig<BlockNumber, Balance>
**/ **/
PalletLotteryLotteryConfig: { PalletLotteryLotteryConfig: {
price: 'u128', price: 'u128',
@@ -4963,20 +4988,20 @@ export default {
repeat: 'bool' repeat: 'bool'
}, },
/** /**
* Lookup583: pallet_lottery::pallet::Error<T> * Lookup584: pallet_lottery::pallet::Error<T>
**/ **/
PalletLotteryError: { PalletLotteryError: {
_enum: ['NotConfigured', 'InProgress', 'AlreadyEnded', 'InvalidCall', 'AlreadyParticipating', 'TooManyCalls', 'EncodingFailed'] _enum: ['NotConfigured', 'InProgress', 'AlreadyEnded', 'InvalidCall', 'AlreadyParticipating', 'TooManyCalls', 'EncodingFailed']
}, },
/** /**
* Lookup586: pallet_gilt::pallet::GiltBid<Balance, sp_core::crypto::AccountId32> * Lookup587: pallet_gilt::pallet::GiltBid<Balance, sp_core::crypto::AccountId32>
**/ **/
PalletGiltGiltBid: { PalletGiltGiltBid: {
amount: 'u128', amount: 'u128',
who: 'AccountId32' who: 'AccountId32'
}, },
/** /**
* Lookup588: pallet_gilt::pallet::ActiveGiltsTotal<Balance> * Lookup589: pallet_gilt::pallet::ActiveGiltsTotal<Balance>
**/ **/
PalletGiltActiveGiltsTotal: { PalletGiltActiveGiltsTotal: {
frozen: 'u128', frozen: 'u128',
@@ -4985,7 +5010,7 @@ export default {
target: 'Perquintill' target: 'Perquintill'
}, },
/** /**
* Lookup589: pallet_gilt::pallet::ActiveGilt<Balance, sp_core::crypto::AccountId32, BlockNumber> * Lookup590: pallet_gilt::pallet::ActiveGilt<Balance, sp_core::crypto::AccountId32, BlockNumber>
**/ **/
PalletGiltActiveGilt: { PalletGiltActiveGilt: {
proportion: 'Perquintill', proportion: 'Perquintill',
@@ -4994,13 +5019,13 @@ export default {
expiry: 'u32' expiry: 'u32'
}, },
/** /**
* Lookup590: pallet_gilt::pallet::Error<T> * Lookup591: pallet_gilt::pallet::Error<T>
**/ **/
PalletGiltError: { PalletGiltError: {
_enum: ['DurationTooSmall', 'DurationTooBig', 'AmountTooSmall', 'BidTooLow', 'Unknown', 'NotOwner', 'NotExpired', 'NotFound'] _enum: ['DurationTooSmall', 'DurationTooBig', 'AmountTooSmall', 'BidTooLow', 'Unknown', 'NotOwner', 'NotExpired', 'NotFound']
}, },
/** /**
* Lookup591: pallet_uniques::types::CollectionDetails<sp_core::crypto::AccountId32, DepositBalance> * Lookup592: pallet_uniques::types::CollectionDetails<sp_core::crypto::AccountId32, DepositBalance>
**/ **/
PalletUniquesCollectionDetails: { PalletUniquesCollectionDetails: {
owner: 'AccountId32', owner: 'AccountId32',
@@ -5015,7 +5040,7 @@ export default {
isFrozen: 'bool' isFrozen: 'bool'
}, },
/** /**
* Lookup593: pallet_uniques::types::ItemDetails<sp_core::crypto::AccountId32, DepositBalance> * Lookup594: pallet_uniques::types::ItemDetails<sp_core::crypto::AccountId32, DepositBalance>
**/ **/
PalletUniquesItemDetails: { PalletUniquesItemDetails: {
owner: 'AccountId32', owner: 'AccountId32',
@@ -5024,7 +5049,7 @@ export default {
deposit: 'u128' deposit: 'u128'
}, },
/** /**
* Lookup594: pallet_uniques::types::CollectionMetadata<DepositBalance, StringLimit> * Lookup595: pallet_uniques::types::CollectionMetadata<DepositBalance, StringLimit>
**/ **/
PalletUniquesCollectionMetadata: { PalletUniquesCollectionMetadata: {
deposit: 'u128', deposit: 'u128',
@@ -5032,7 +5057,7 @@ export default {
isFrozen: 'bool' isFrozen: 'bool'
}, },
/** /**
* Lookup595: pallet_uniques::types::ItemMetadata<DepositBalance, StringLimit> * Lookup596: pallet_uniques::types::ItemMetadata<DepositBalance, StringLimit>
**/ **/
PalletUniquesItemMetadata: { PalletUniquesItemMetadata: {
deposit: 'u128', deposit: 'u128',
@@ -5040,13 +5065,13 @@ export default {
isFrozen: 'bool' isFrozen: 'bool'
}, },
/** /**
* Lookup599: pallet_uniques::pallet::Error<T, I> * Lookup600: pallet_uniques::pallet::Error<T, I>
**/ **/
PalletUniquesError: { PalletUniquesError: {
_enum: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow'] _enum: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow']
}, },
/** /**
* Lookup601: pallet_transaction_storage::TransactionInfo * Lookup602: pallet_transaction_storage::TransactionInfo
**/ **/
PalletTransactionStorageTransactionInfo: { PalletTransactionStorageTransactionInfo: {
_alias: { _alias: {
@@ -5058,13 +5083,13 @@ export default {
blockChunks: 'u32' blockChunks: 'u32'
}, },
/** /**
* Lookup603: pallet_transaction_storage::pallet::Error<T> * Lookup604: pallet_transaction_storage::pallet::Error<T>
**/ **/
PalletTransactionStorageError: { PalletTransactionStorageError: {
_enum: ['InsufficientFunds', 'NotConfigured', 'RenewedNotFound', 'EmptyTransaction', 'UnexpectedProof', 'InvalidProof', 'MissingProof', 'MissingStateData', 'DoubleCheck', 'ProofNotChecked', 'TransactionTooLarge', 'TooManyTransactions', 'BadContext'] _enum: ['InsufficientFunds', 'NotConfigured', 'RenewedNotFound', 'EmptyTransaction', 'UnexpectedProof', 'InvalidProof', 'MissingProof', 'MissingStateData', 'DoubleCheck', 'ProofNotChecked', 'TransactionTooLarge', 'TooManyTransactions', 'BadContext']
}, },
/** /**
* Lookup604: pallet_bags_list::list::Node<T, I> * Lookup605: pallet_bags_list::list::Node<T, I>
**/ **/
PalletBagsListListNode: { PalletBagsListListNode: {
id: 'AccountId32', id: 'AccountId32',
@@ -5074,14 +5099,14 @@ export default {
score: 'u64' score: 'u64'
}, },
/** /**
* Lookup605: pallet_bags_list::list::Bag<T, I> * Lookup606: pallet_bags_list::list::Bag<T, I>
**/ **/
PalletBagsListListBag: { PalletBagsListListBag: {
head: 'Option<AccountId32>', head: 'Option<AccountId32>',
tail: 'Option<AccountId32>' tail: 'Option<AccountId32>'
}, },
/** /**
* Lookup607: pallet_bags_list::pallet::Error<T, I> * Lookup608: pallet_bags_list::pallet::Error<T, I>
**/ **/
PalletBagsListError: { PalletBagsListError: {
_enum: { _enum: {
@@ -5089,13 +5114,13 @@ export default {
} }
}, },
/** /**
* Lookup608: pallet_bags_list::list::ListError * Lookup609: pallet_bags_list::list::ListError
**/ **/
PalletBagsListListListError: { PalletBagsListListListError: {
_enum: ['Duplicate', 'NotHeavier', 'NotInSameBag', 'NodeNotFound'] _enum: ['Duplicate', 'NotHeavier', 'NotInSameBag', 'NodeNotFound']
}, },
/** /**
* Lookup609: pallet_child_bounties::ChildBounty<sp_core::crypto::AccountId32, Balance, BlockNumber> * Lookup610: pallet_child_bounties::ChildBounty<sp_core::crypto::AccountId32, Balance, BlockNumber>
**/ **/
PalletChildBountiesChildBounty: { PalletChildBountiesChildBounty: {
parentBounty: 'u32', parentBounty: 'u32',
@@ -5105,7 +5130,7 @@ export default {
status: 'PalletChildBountiesChildBountyStatus' status: 'PalletChildBountiesChildBountyStatus'
}, },
/** /**
* Lookup610: pallet_child_bounties::ChildBountyStatus<sp_core::crypto::AccountId32, BlockNumber> * Lookup611: pallet_child_bounties::ChildBountyStatus<sp_core::crypto::AccountId32, BlockNumber>
**/ **/
PalletChildBountiesChildBountyStatus: { PalletChildBountiesChildBountyStatus: {
_enum: { _enum: {
@@ -5124,13 +5149,13 @@ export default {
} }
}, },
/** /**
* Lookup611: pallet_child_bounties::pallet::Error<T> * Lookup612: pallet_child_bounties::pallet::Error<T>
**/ **/
PalletChildBountiesError: { PalletChildBountiesError: {
_enum: ['ParentBountyNotActive', 'InsufficientBountyBalance', 'TooManyChildBounties'] _enum: ['ParentBountyNotActive', 'InsufficientBountyBalance', 'TooManyChildBounties']
}, },
/** /**
* Lookup612: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress> * Lookup613: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
**/ **/
PalletReferendaReferendumInfoConvictionVotingTally: { PalletReferendaReferendumInfoConvictionVotingTally: {
_enum: { _enum: {
@@ -5143,7 +5168,7 @@ export default {
} }
}, },
/** /**
* Lookup613: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress> * Lookup614: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
**/ **/
PalletReferendaReferendumStatusConvictionVotingTally: { PalletReferendaReferendumStatusConvictionVotingTally: {
track: 'u16', track: 'u16',
@@ -5159,21 +5184,21 @@ export default {
alarm: 'Option<(u32,(u32,u32))>' alarm: 'Option<(u32,(u32,u32))>'
}, },
/** /**
* Lookup614: pallet_referenda::types::Deposit<sp_core::crypto::AccountId32, Balance> * Lookup615: pallet_referenda::types::Deposit<sp_core::crypto::AccountId32, Balance>
**/ **/
PalletReferendaDeposit: { PalletReferendaDeposit: {
who: 'AccountId32', who: 'AccountId32',
amount: 'u128' amount: 'u128'
}, },
/** /**
* Lookup617: pallet_referenda::types::DecidingStatus<BlockNumber> * Lookup618: pallet_referenda::types::DecidingStatus<BlockNumber>
**/ **/
PalletReferendaDecidingStatus: { PalletReferendaDecidingStatus: {
since: 'u32', since: 'u32',
confirming: 'Option<u32>' confirming: 'Option<u32>'
}, },
/** /**
* Lookup623: pallet_referenda::types::TrackInfo<Balance, Moment> * Lookup624: pallet_referenda::types::TrackInfo<Balance, Moment>
**/ **/
PalletReferendaTrackInfo: { PalletReferendaTrackInfo: {
name: 'Text', name: 'Text',
@@ -5187,7 +5212,7 @@ export default {
minSupport: 'PalletReferendaCurve' minSupport: 'PalletReferendaCurve'
}, },
/** /**
* Lookup624: pallet_referenda::types::Curve * Lookup625: pallet_referenda::types::Curve
**/ **/
PalletReferendaCurve: { PalletReferendaCurve: {
_enum: { _enum: {
@@ -5210,19 +5235,19 @@ export default {
} }
}, },
/** /**
* Lookup627: pallet_referenda::pallet::Error<T, I> * Lookup628: pallet_referenda::pallet::Error<T, I>
**/ **/
PalletReferendaError: { PalletReferendaError: {
_enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit'] _enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit']
}, },
/** /**
* Lookup628: pallet_remark::pallet::Error<T> * Lookup629: pallet_remark::pallet::Error<T>
**/ **/
PalletRemarkError: { PalletRemarkError: {
_enum: ['Empty', 'BadContext'] _enum: ['Empty', 'BadContext']
}, },
/** /**
* Lookup630: pallet_conviction_voting::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber, PollIndex, MaxVotes> * Lookup631: pallet_conviction_voting::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber, PollIndex, MaxVotes>
**/ **/
PalletConvictionVotingVoteVoting: { PalletConvictionVotingVoteVoting: {
_enum: { _enum: {
@@ -5231,7 +5256,7 @@ export default {
} }
}, },
/** /**
* Lookup631: pallet_conviction_voting::vote::Casting<Balance, BlockNumber, PollIndex, MaxVotes> * Lookup632: pallet_conviction_voting::vote::Casting<Balance, BlockNumber, PollIndex, MaxVotes>
**/ **/
PalletConvictionVotingVoteCasting: { PalletConvictionVotingVoteCasting: {
votes: 'Vec<(u32,PalletConvictionVotingVoteAccountVote)>', votes: 'Vec<(u32,PalletConvictionVotingVoteAccountVote)>',
@@ -5239,18 +5264,18 @@ export default {
prior: 'PalletConvictionVotingVotePriorLock' prior: 'PalletConvictionVotingVotePriorLock'
}, },
/** /**
* Lookup635: pallet_conviction_voting::types::Delegations<Balance> * Lookup636: pallet_conviction_voting::types::Delegations<Balance>
**/ **/
PalletConvictionVotingDelegations: { PalletConvictionVotingDelegations: {
votes: 'u128', votes: 'u128',
capital: 'u128' capital: 'u128'
}, },
/** /**
* Lookup636: pallet_conviction_voting::vote::PriorLock<BlockNumber, Balance> * Lookup637: pallet_conviction_voting::vote::PriorLock<BlockNumber, Balance>
**/ **/
PalletConvictionVotingVotePriorLock: '(u32,u128)', PalletConvictionVotingVotePriorLock: '(u32,u128)',
/** /**
* Lookup637: pallet_conviction_voting::vote::Delegating<Balance, sp_core::crypto::AccountId32, BlockNumber> * Lookup638: pallet_conviction_voting::vote::Delegating<Balance, sp_core::crypto::AccountId32, BlockNumber>
**/ **/
PalletConvictionVotingVoteDelegating: { PalletConvictionVotingVoteDelegating: {
balance: 'u128', balance: 'u128',
@@ -5260,31 +5285,31 @@ export default {
prior: 'PalletConvictionVotingVotePriorLock' prior: 'PalletConvictionVotingVotePriorLock'
}, },
/** /**
* Lookup641: pallet_conviction_voting::pallet::Error<T, I> * Lookup642: pallet_conviction_voting::pallet::Error<T, I>
**/ **/
PalletConvictionVotingError: { PalletConvictionVotingError: {
_enum: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass'] _enum: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass']
}, },
/** /**
* Lookup642: pallet_whitelist::pallet::Error<T> * Lookup643: pallet_whitelist::pallet::Error<T>
**/ **/
PalletWhitelistError: { PalletWhitelistError: {
_enum: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted'] _enum: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted']
}, },
/** /**
* Lookup647: pallet_alliance::MemberRole * Lookup648: pallet_alliance::MemberRole
**/ **/
PalletAllianceMemberRole: { PalletAllianceMemberRole: {
_enum: ['Founder', 'Fellow', 'Ally', 'Retiring'] _enum: ['Fellow', 'Ally', 'Retiring']
}, },
/** /**
* Lookup651: pallet_alliance::pallet::Error<T, I> * Lookup652: pallet_alliance::pallet::Error<T, I>
**/ **/
PalletAllianceError: { PalletAllianceError: {
_enum: ['AllianceNotYetInitialized', 'AllianceAlreadyInitialized', 'AlreadyMember', 'NotMember', 'NotAlly', 'NotFounder', 'NoVotingRights', 'AlreadyElevated', 'AlreadyUnscrupulous', 'AccountNonGrata', 'NotListedAsUnscrupulous', 'TooManyUnscrupulousItems', 'TooLongWebsiteUrl', 'InsufficientFunds', 'WithoutIdentityDisplayAndWebsite', 'WithoutGoodIdentityJudgement', 'MissingProposalHash', 'NotVetoableProposal', 'MissingAnnouncement', 'TooManyMembers', 'TooManyAnnouncements', 'BadWitness', 'AlreadyRetiring', 'RetirementNoticeNotGiven', 'RetirementPeriodNotPassed', 'FoundersMissing'] _enum: ['AllianceNotYetInitialized', 'AllianceAlreadyInitialized', 'AlreadyMember', 'NotMember', 'NotAlly', 'NoVotingRights', 'AlreadyElevated', 'AlreadyUnscrupulous', 'AccountNonGrata', 'NotListedAsUnscrupulous', 'TooManyUnscrupulousItems', 'TooLongWebsiteUrl', 'InsufficientFunds', 'WithoutIdentityDisplayAndWebsite', 'WithoutGoodIdentityJudgement', 'MissingProposalHash', 'MissingAnnouncement', 'TooManyMembers', 'TooManyAnnouncements', 'BadWitness', 'AlreadyRetiring', 'RetirementNoticeNotGiven', 'RetirementPeriodNotPassed', 'FellowsMissing']
}, },
/** /**
* Lookup652: pallet_nomination_pools::PoolMember<T> * Lookup653: pallet_nomination_pools::PoolMember<T>
**/ **/
PalletNominationPoolsPoolMember: { PalletNominationPoolsPoolMember: {
poolId: 'u32', poolId: 'u32',
@@ -5293,7 +5318,7 @@ export default {
unbondingEras: 'BTreeMap<u32, u128>' unbondingEras: 'BTreeMap<u32, u128>'
}, },
/** /**
* Lookup655: pallet_nomination_pools::BondedPoolInner<T> * Lookup656: pallet_nomination_pools::BondedPoolInner<T>
**/ **/
PalletNominationPoolsBondedPoolInner: { PalletNominationPoolsBondedPoolInner: {
points: 'u128', points: 'u128',
@@ -5302,7 +5327,7 @@ export default {
roles: 'PalletNominationPoolsPoolRoles' roles: 'PalletNominationPoolsPoolRoles'
}, },
/** /**
* Lookup656: pallet_nomination_pools::PoolRoles<sp_core::crypto::AccountId32> * Lookup657: pallet_nomination_pools::PoolRoles<sp_core::crypto::AccountId32>
**/ **/
PalletNominationPoolsPoolRoles: { PalletNominationPoolsPoolRoles: {
depositor: 'AccountId32', depositor: 'AccountId32',
@@ -5311,7 +5336,7 @@ export default {
stateToggler: 'Option<AccountId32>' stateToggler: 'Option<AccountId32>'
}, },
/** /**
* Lookup657: pallet_nomination_pools::RewardPool<T> * Lookup658: pallet_nomination_pools::RewardPool<T>
**/ **/
PalletNominationPoolsRewardPool: { PalletNominationPoolsRewardPool: {
lastRecordedRewardCounter: 'u128', lastRecordedRewardCounter: 'u128',
@@ -5319,21 +5344,21 @@ export default {
totalRewardsClaimed: 'u128' totalRewardsClaimed: 'u128'
}, },
/** /**
* Lookup658: pallet_nomination_pools::SubPools<T> * Lookup659: pallet_nomination_pools::SubPools<T>
**/ **/
PalletNominationPoolsSubPools: { PalletNominationPoolsSubPools: {
noEra: 'PalletNominationPoolsUnbondPool', noEra: 'PalletNominationPoolsUnbondPool',
withEra: 'BTreeMap<u32, PalletNominationPoolsUnbondPool>' withEra: 'BTreeMap<u32, PalletNominationPoolsUnbondPool>'
}, },
/** /**
* Lookup659: pallet_nomination_pools::UnbondPool<T> * Lookup660: pallet_nomination_pools::UnbondPool<T>
**/ **/
PalletNominationPoolsUnbondPool: { PalletNominationPoolsUnbondPool: {
points: 'u128', points: 'u128',
balance: 'u128' balance: 'u128'
}, },
/** /**
* Lookup665: pallet_nomination_pools::pallet::Error<T> * Lookup666: pallet_nomination_pools::pallet::Error<T>
**/ **/
PalletNominationPoolsError: { PalletNominationPoolsError: {
_enum: { _enum: {
@@ -5363,13 +5388,13 @@ export default {
} }
}, },
/** /**
* Lookup666: pallet_nomination_pools::pallet::DefensiveError * Lookup667: pallet_nomination_pools::pallet::DefensiveError
**/ **/
PalletNominationPoolsDefensiveError: { PalletNominationPoolsDefensiveError: {
_enum: ['NotEnoughSpaceInUnbondPool', 'PoolNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'BondedStashKilledPrematurely'] _enum: ['NotEnoughSpaceInUnbondPool', 'PoolNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'BondedStashKilledPrematurely']
}, },
/** /**
* Lookup667: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress> * Lookup668: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
**/ **/
PalletReferendaReferendumInfoRankedCollectiveTally: { PalletReferendaReferendumInfoRankedCollectiveTally: {
_enum: { _enum: {
@@ -5382,7 +5407,7 @@ export default {
} }
}, },
/** /**
* Lookup668: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress> * Lookup669: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<kitchensink_runtime::RuntimeCall>, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
**/ **/
PalletReferendaReferendumStatusRankedCollectiveTally: { PalletReferendaReferendumStatusRankedCollectiveTally: {
track: 'u16', track: 'u16',
@@ -5398,32 +5423,32 @@ export default {
alarm: 'Option<(u32,(u32,u32))>' alarm: 'Option<(u32,(u32,u32))>'
}, },
/** /**
* Lookup671: pallet_ranked_collective::MemberRecord * Lookup672: pallet_ranked_collective::MemberRecord
**/ **/
PalletRankedCollectiveMemberRecord: { PalletRankedCollectiveMemberRecord: {
rank: 'u16' rank: 'u16'
}, },
/** /**
* Lookup675: pallet_ranked_collective::pallet::Error<T, I> * Lookup676: pallet_ranked_collective::pallet::Error<T, I>
**/ **/
PalletRankedCollectiveError: { PalletRankedCollectiveError: {
_enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission'] _enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission']
}, },
/** /**
* Lookup676: pallet_fast_unstake::types::UnstakeRequest<T> * Lookup677: pallet_fast_unstake::types::UnstakeRequest<T>
**/ **/
PalletFastUnstakeUnstakeRequest: { PalletFastUnstakeUnstakeRequest: {
stashes: 'Vec<(AccountId32,u128)>', stashes: 'Vec<(AccountId32,u128)>',
checked: 'Vec<u32>' checked: 'Vec<u32>'
}, },
/** /**
* Lookup679: pallet_fast_unstake::pallet::Error<T> * Lookup680: pallet_fast_unstake::pallet::Error<T>
**/ **/
PalletFastUnstakeError: { PalletFastUnstakeError: {
_enum: ['NotController', 'AlreadyQueued', 'NotFullyBonded', 'NotQueued', 'AlreadyHead', 'CallNotAllowed'] _enum: ['NotController', 'AlreadyQueued', 'NotFullyBonded', 'NotQueued', 'AlreadyHead', 'CallNotAllowed']
}, },
/** /**
* Lookup681: sp_runtime::MultiSignature * Lookup682: sp_runtime::MultiSignature
**/ **/
SpRuntimeMultiSignature: { SpRuntimeMultiSignature: {
_enum: { _enum: {
@@ -5433,42 +5458,42 @@ export default {
} }
}, },
/** /**
* Lookup682: sp_core::ecdsa::Signature * Lookup683: sp_core::ecdsa::Signature
**/ **/
SpCoreEcdsaSignature: '[u8;65]', SpCoreEcdsaSignature: '[u8;65]',
/** /**
* Lookup685: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> * Lookup686: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
**/ **/
FrameSystemExtensionsCheckNonZeroSender: 'Null', FrameSystemExtensionsCheckNonZeroSender: 'Null',
/** /**
* Lookup686: frame_system::extensions::check_spec_version::CheckSpecVersion<T> * Lookup687: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/ **/
FrameSystemExtensionsCheckSpecVersion: 'Null', FrameSystemExtensionsCheckSpecVersion: 'Null',
/** /**
* Lookup687: frame_system::extensions::check_tx_version::CheckTxVersion<T> * Lookup688: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/ **/
FrameSystemExtensionsCheckTxVersion: 'Null', FrameSystemExtensionsCheckTxVersion: 'Null',
/** /**
* Lookup688: frame_system::extensions::check_genesis::CheckGenesis<T> * Lookup689: frame_system::extensions::check_genesis::CheckGenesis<T>
**/ **/
FrameSystemExtensionsCheckGenesis: 'Null', FrameSystemExtensionsCheckGenesis: 'Null',
/** /**
* Lookup691: frame_system::extensions::check_nonce::CheckNonce<T> * Lookup692: frame_system::extensions::check_nonce::CheckNonce<T>
**/ **/
FrameSystemExtensionsCheckNonce: 'Compact<u32>', FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/** /**
* Lookup692: frame_system::extensions::check_weight::CheckWeight<T> * Lookup693: frame_system::extensions::check_weight::CheckWeight<T>
**/ **/
FrameSystemExtensionsCheckWeight: 'Null', FrameSystemExtensionsCheckWeight: 'Null',
/** /**
* Lookup693: pallet_asset_tx_payment::ChargeAssetTxPayment<T> * Lookup694: pallet_asset_tx_payment::ChargeAssetTxPayment<T>
**/ **/
PalletAssetTxPaymentChargeAssetTxPayment: { PalletAssetTxPaymentChargeAssetTxPayment: {
tip: 'Compact<u128>', tip: 'Compact<u128>',
assetId: 'Option<u32>' assetId: 'Option<u32>'
}, },
/** /**
* Lookup694: kitchensink_runtime::Runtime * Lookup695: kitchensink_runtime::Runtime
**/ **/
KitchensinkRuntimeRuntime: 'Null' KitchensinkRuntimeRuntime: 'Null'
}; };
@@ -1209,6 +1209,22 @@ declare module '@polkadot/types/lookup' {
readonly asAssetThawed: { readonly asAssetThawed: {
readonly assetId: u32; readonly assetId: u32;
} & Struct; } & Struct;
readonly isAccountsDestroyed: boolean;
readonly asAccountsDestroyed: {
readonly assetId: u32;
readonly accountsDestroyed: u32;
readonly accountsRemaining: u32;
} & Struct;
readonly isApprovalsDestroyed: boolean;
readonly asApprovalsDestroyed: {
readonly assetId: u32;
readonly approvalsDestroyed: u32;
readonly approvalsRemaining: u32;
} & Struct;
readonly isDestructionStarted: boolean;
readonly asDestructionStarted: {
readonly assetId: u32;
} & Struct;
readonly isDestroyed: boolean; readonly isDestroyed: boolean;
readonly asDestroyed: { readonly asDestroyed: {
readonly assetId: u32; readonly assetId: u32;
@@ -1255,7 +1271,7 @@ declare module '@polkadot/types/lookup' {
readonly asAssetStatusChanged: { readonly asAssetStatusChanged: {
readonly assetId: u32; readonly assetId: u32;
} & Struct; } & Struct;
readonly type: 'Created' | 'Issued' | 'Transferred' | 'Burned' | 'TeamChanged' | 'OwnerChanged' | 'Frozen' | 'Thawed' | 'AssetFrozen' | 'AssetThawed' | 'Destroyed' | 'ForceCreated' | 'MetadataSet' | 'MetadataCleared' | 'ApprovedTransfer' | 'ApprovalCancelled' | 'TransferredApproved' | 'AssetStatusChanged'; readonly type: 'Created' | 'Issued' | 'Transferred' | 'Burned' | 'TeamChanged' | 'OwnerChanged' | 'Frozen' | 'Thawed' | 'AssetFrozen' | 'AssetThawed' | 'AccountsDestroyed' | 'ApprovalsDestroyed' | 'DestructionStarted' | 'Destroyed' | 'ForceCreated' | 'MetadataSet' | 'MetadataCleared' | 'ApprovedTransfer' | 'ApprovalCancelled' | 'TransferredApproved' | 'AssetStatusChanged';
} }
/** @name PalletLotteryEvent (94) */ /** @name PalletLotteryEvent (94) */
@@ -1650,10 +1666,6 @@ declare module '@polkadot/types/lookup' {
/** @name FrameSystemCall (111) */ /** @name FrameSystemCall (111) */
interface FrameSystemCall extends Enum { interface FrameSystemCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
readonly ratio: Perbill;
} & Struct;
readonly isRemark: boolean; readonly isRemark: boolean;
readonly asRemark: { readonly asRemark: {
readonly remark: Bytes; readonly remark: Bytes;
@@ -1687,7 +1699,7 @@ declare module '@polkadot/types/lookup' {
readonly asRemarkWithEvent: { readonly asRemarkWithEvent: {
readonly remark: Bytes; readonly remark: Bytes;
} & Struct; } & Struct;
readonly type: 'FillBlock' | 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent'; readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent';
} }
/** @name PalletUtilityCall (115) */ /** @name PalletUtilityCall (115) */
@@ -3087,10 +3099,21 @@ declare module '@polkadot/types/lookup' {
readonly isSufficient: bool; readonly isSufficient: bool;
readonly minBalance: Compact<u128>; readonly minBalance: Compact<u128>;
} & Struct; } & Struct;
readonly isDestroy: boolean; readonly isStartDestroy: boolean;
readonly asDestroy: { readonly asStartDestroy: {
readonly id: Compact<u32>;
} & Struct;
readonly isDestroyAccounts: boolean;
readonly asDestroyAccounts: {
readonly id: Compact<u32>;
} & Struct;
readonly isDestroyApprovals: boolean;
readonly asDestroyApprovals: {
readonly id: Compact<u32>;
} & Struct;
readonly isFinishDestroy: boolean;
readonly asFinishDestroy: {
readonly id: Compact<u32>; readonly id: Compact<u32>;
readonly witness: PalletAssetsDestroyWitness;
} & Struct; } & Struct;
readonly isMint: boolean; readonly isMint: boolean;
readonly asMint: { readonly asMint: {
@@ -3220,17 +3243,10 @@ declare module '@polkadot/types/lookup' {
readonly id: Compact<u32>; readonly id: Compact<u32>;
readonly allowBurn: bool; readonly allowBurn: bool;
} & Struct; } & Struct;
readonly type: 'Create' | 'ForceCreate' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'TransferKeepAlive' | 'ForceTransfer' | 'Freeze' | 'Thaw' | 'FreezeAsset' | 'ThawAsset' | 'TransferOwnership' | 'SetTeam' | 'SetMetadata' | 'ClearMetadata' | 'ForceSetMetadata' | 'ForceClearMetadata' | 'ForceAssetStatus' | 'ApproveTransfer' | 'CancelApproval' | 'ForceCancelApproval' | 'TransferApproved' | 'Touch' | 'Refund'; readonly type: 'Create' | 'ForceCreate' | 'StartDestroy' | 'DestroyAccounts' | 'DestroyApprovals' | 'FinishDestroy' | 'Mint' | 'Burn' | 'Transfer' | 'TransferKeepAlive' | 'ForceTransfer' | 'Freeze' | 'Thaw' | 'FreezeAsset' | 'ThawAsset' | 'TransferOwnership' | 'SetTeam' | 'SetMetadata' | 'ClearMetadata' | 'ForceSetMetadata' | 'ForceClearMetadata' | 'ForceAssetStatus' | 'ApproveTransfer' | 'CancelApproval' | 'ForceCancelApproval' | 'TransferApproved' | 'Touch' | 'Refund';
} }
/** @name PalletAssetsDestroyWitness (300) */ /** @name PalletLotteryCall (300) */
interface PalletAssetsDestroyWitness extends Struct {
readonly accounts: Compact<u32>;
readonly sufficients: Compact<u32>;
readonly approvals: Compact<u32>;
}
/** @name PalletLotteryCall (301) */
interface PalletLotteryCall extends Enum { interface PalletLotteryCall extends Enum {
readonly isBuyTicket: boolean; readonly isBuyTicket: boolean;
readonly asBuyTicket: { readonly asBuyTicket: {
@@ -3251,7 +3267,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BuyTicket' | 'SetCalls' | 'StartLottery' | 'StopRepeat'; readonly type: 'BuyTicket' | 'SetCalls' | 'StartLottery' | 'StopRepeat';
} }
/** @name PalletGiltCall (302) */ /** @name PalletGiltCall (301) */
interface PalletGiltCall extends Enum { interface PalletGiltCall extends Enum {
readonly isPlaceBid: boolean; readonly isPlaceBid: boolean;
readonly asPlaceBid: { readonly asPlaceBid: {
@@ -3274,7 +3290,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'PlaceBid' | 'RetractBid' | 'SetTarget' | 'Thaw'; readonly type: 'PlaceBid' | 'RetractBid' | 'SetTarget' | 'Thaw';
} }
/** @name PalletUniquesCall (305) */ /** @name PalletUniquesCall (304) */
interface PalletUniquesCall extends Enum { interface PalletUniquesCall extends Enum {
readonly isCreate: boolean; readonly isCreate: boolean;
readonly asCreate: { readonly asCreate: {
@@ -3427,14 +3443,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Create' | 'ForceCreate' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'Redeposit' | 'Freeze' | 'Thaw' | 'FreezeCollection' | 'ThawCollection' | 'TransferOwnership' | 'SetTeam' | 'ApproveTransfer' | 'CancelApproval' | 'ForceItemStatus' | 'SetAttribute' | 'ClearAttribute' | 'SetMetadata' | 'ClearMetadata' | 'SetCollectionMetadata' | 'ClearCollectionMetadata' | 'SetAcceptOwnership' | 'SetCollectionMaxSupply' | 'SetPrice' | 'BuyItem'; readonly type: 'Create' | 'ForceCreate' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'Redeposit' | 'Freeze' | 'Thaw' | 'FreezeCollection' | 'ThawCollection' | 'TransferOwnership' | 'SetTeam' | 'ApproveTransfer' | 'CancelApproval' | 'ForceItemStatus' | 'SetAttribute' | 'ClearAttribute' | 'SetMetadata' | 'ClearMetadata' | 'SetCollectionMetadata' | 'ClearCollectionMetadata' | 'SetAcceptOwnership' | 'SetCollectionMaxSupply' | 'SetPrice' | 'BuyItem';
} }
/** @name PalletUniquesDestroyWitness (306) */ /** @name PalletUniquesDestroyWitness (305) */
interface PalletUniquesDestroyWitness extends Struct { interface PalletUniquesDestroyWitness extends Struct {
readonly items: Compact<u32>; readonly items: Compact<u32>;
readonly itemMetadatas: Compact<u32>; readonly itemMetadatas: Compact<u32>;
readonly attributes: Compact<u32>; readonly attributes: Compact<u32>;
} }
/** @name PalletTransactionStorageCall (309) */ /** @name PalletTransactionStorageCall (308) */
interface PalletTransactionStorageCall extends Enum { interface PalletTransactionStorageCall extends Enum {
readonly isStore: boolean; readonly isStore: boolean;
readonly asStore: { readonly asStore: {
@@ -3452,13 +3468,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Store' | 'Renew' | 'CheckProof'; readonly type: 'Store' | 'Renew' | 'CheckProof';
} }
/** @name SpTransactionStorageProofTransactionStorageProof (310) */ /** @name SpTransactionStorageProofTransactionStorageProof (309) */
interface SpTransactionStorageProofTransactionStorageProof extends Struct { interface SpTransactionStorageProofTransactionStorageProof extends Struct {
readonly chunk: Bytes; readonly chunk: Bytes;
readonly proof: Vec<Bytes>; readonly proof: Vec<Bytes>;
} }
/** @name PalletBagsListCall (311) */ /** @name PalletBagsListCall (310) */
interface PalletBagsListCall extends Enum { interface PalletBagsListCall extends Enum {
readonly isRebag: boolean; readonly isRebag: boolean;
readonly asRebag: { readonly asRebag: {
@@ -3471,7 +3487,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Rebag' | 'PutInFrontOf'; readonly type: 'Rebag' | 'PutInFrontOf';
} }
/** @name PalletStateTrieMigrationCall (312) */ /** @name PalletStateTrieMigrationCall (311) */
interface PalletStateTrieMigrationCall extends Enum { interface PalletStateTrieMigrationCall extends Enum {
readonly isControlAutoMigration: boolean; readonly isControlAutoMigration: boolean;
readonly asControlAutoMigration: { readonly asControlAutoMigration: {
@@ -3506,13 +3522,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'ControlAutoMigration' | 'ContinueMigrate' | 'MigrateCustomTop' | 'MigrateCustomChild' | 'SetSignedMaxLimits' | 'ForceSetProgress'; readonly type: 'ControlAutoMigration' | 'ContinueMigrate' | 'MigrateCustomTop' | 'MigrateCustomChild' | 'SetSignedMaxLimits' | 'ForceSetProgress';
} }
/** @name PalletStateTrieMigrationMigrationLimits (314) */ /** @name PalletStateTrieMigrationMigrationLimits (313) */
interface PalletStateTrieMigrationMigrationLimits extends Struct { interface PalletStateTrieMigrationMigrationLimits extends Struct {
readonly size_: u32; readonly size_: u32;
readonly item: u32; readonly item: u32;
} }
/** @name PalletStateTrieMigrationMigrationTask (315) */ /** @name PalletStateTrieMigrationMigrationTask (314) */
interface PalletStateTrieMigrationMigrationTask extends Struct { interface PalletStateTrieMigrationMigrationTask extends Struct {
readonly progressTop: PalletStateTrieMigrationProgress; readonly progressTop: PalletStateTrieMigrationProgress;
readonly progressChild: PalletStateTrieMigrationProgress; readonly progressChild: PalletStateTrieMigrationProgress;
@@ -3521,7 +3537,7 @@ declare module '@polkadot/types/lookup' {
readonly childItems: u32; readonly childItems: u32;
} }
/** @name PalletStateTrieMigrationProgress (316) */ /** @name PalletStateTrieMigrationProgress (315) */
interface PalletStateTrieMigrationProgress extends Enum { interface PalletStateTrieMigrationProgress extends Enum {
readonly isToStart: boolean; readonly isToStart: boolean;
readonly isLastKey: boolean; readonly isLastKey: boolean;
@@ -3530,7 +3546,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'ToStart' | 'LastKey' | 'Complete'; readonly type: 'ToStart' | 'LastKey' | 'Complete';
} }
/** @name PalletChildBountiesCall (318) */ /** @name PalletChildBountiesCall (317) */
interface PalletChildBountiesCall extends Enum { interface PalletChildBountiesCall extends Enum {
readonly isAddChildBounty: boolean; readonly isAddChildBounty: boolean;
readonly asAddChildBounty: { readonly asAddChildBounty: {
@@ -3574,7 +3590,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AddChildBounty' | 'ProposeCurator' | 'AcceptCurator' | 'UnassignCurator' | 'AwardChildBounty' | 'ClaimChildBounty' | 'CloseChildBounty'; readonly type: 'AddChildBounty' | 'ProposeCurator' | 'AcceptCurator' | 'UnassignCurator' | 'AwardChildBounty' | 'ClaimChildBounty' | 'CloseChildBounty';
} }
/** @name PalletReferendaCall (319) */ /** @name PalletReferendaCall (318) */
interface PalletReferendaCall extends Enum { interface PalletReferendaCall extends Enum {
readonly isSubmit: boolean; readonly isSubmit: boolean;
readonly asSubmit: { readonly asSubmit: {
@@ -3609,7 +3625,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Submit' | 'PlaceDecisionDeposit' | 'RefundDecisionDeposit' | 'Cancel' | 'Kill' | 'NudgeReferendum' | 'OneFewerDeciding'; readonly type: 'Submit' | 'PlaceDecisionDeposit' | 'RefundDecisionDeposit' | 'Cancel' | 'Kill' | 'NudgeReferendum' | 'OneFewerDeciding';
} }
/** @name FrameSupportScheduleDispatchTime (320) */ /** @name FrameSupportScheduleDispatchTime (319) */
interface FrameSupportScheduleDispatchTime extends Enum { interface FrameSupportScheduleDispatchTime extends Enum {
readonly isAt: boolean; readonly isAt: boolean;
readonly asAt: u32; readonly asAt: u32;
@@ -3618,7 +3634,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'At' | 'After'; readonly type: 'At' | 'After';
} }
/** @name PalletRemarkCall (321) */ /** @name PalletRemarkCall (320) */
interface PalletRemarkCall extends Enum { interface PalletRemarkCall extends Enum {
readonly isStore: boolean; readonly isStore: boolean;
readonly asStore: { readonly asStore: {
@@ -3627,6 +3643,15 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Store'; readonly type: 'Store';
} }
/** @name PalletRootTestingCall (321) */
interface PalletRootTestingCall extends Enum {
readonly isFillBlock: boolean;
readonly asFillBlock: {
readonly ratio: Perbill;
} & Struct;
readonly type: 'FillBlock';
}
/** @name PalletConvictionVotingCall (322) */ /** @name PalletConvictionVotingCall (322) */
interface PalletConvictionVotingCall extends Enum { interface PalletConvictionVotingCall extends Enum {
readonly isVote: boolean; readonly isVote: boolean;
@@ -3727,10 +3752,6 @@ declare module '@polkadot/types/lookup' {
readonly index: Compact<u32>; readonly index: Compact<u32>;
readonly approve: bool; readonly approve: bool;
} & Struct; } & Struct;
readonly isVeto: boolean;
readonly asVeto: {
readonly proposalHash: H256;
} & Struct;
readonly isCloseOldWeight: boolean; readonly isCloseOldWeight: boolean;
readonly asCloseOldWeight: { readonly asCloseOldWeight: {
readonly proposalHash: H256; readonly proposalHash: H256;
@@ -3740,7 +3761,6 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
readonly isInitMembers: boolean; readonly isInitMembers: boolean;
readonly asInitMembers: { readonly asInitMembers: {
readonly founders: Vec<AccountId32>;
readonly fellows: Vec<AccountId32>; readonly fellows: Vec<AccountId32>;
readonly allies: Vec<AccountId32>; readonly allies: Vec<AccountId32>;
} & Struct; } & Struct;
@@ -3790,12 +3810,13 @@ declare module '@polkadot/types/lookup' {
readonly proposalWeightBound: SpWeightsWeightV2Weight; readonly proposalWeightBound: SpWeightsWeightV2Weight;
readonly lengthBound: Compact<u32>; readonly lengthBound: Compact<u32>;
} & Struct; } & Struct;
readonly type: 'Propose' | 'Vote' | 'Veto' | 'CloseOldWeight' | 'InitMembers' | 'Disband' | 'SetRule' | 'Announce' | 'RemoveAnnouncement' | 'JoinAlliance' | 'NominateAlly' | 'ElevateAlly' | 'GiveRetirementNotice' | 'Retire' | 'KickMember' | 'AddUnscrupulousItems' | 'RemoveUnscrupulousItems' | 'Close'; readonly isAbdicateFellowStatus: boolean;
readonly type: 'Propose' | 'Vote' | 'CloseOldWeight' | 'InitMembers' | 'Disband' | 'SetRule' | 'Announce' | 'RemoveAnnouncement' | 'JoinAlliance' | 'NominateAlly' | 'ElevateAlly' | 'GiveRetirementNotice' | 'Retire' | 'KickMember' | 'AddUnscrupulousItems' | 'RemoveUnscrupulousItems' | 'Close' | 'AbdicateFellowStatus';
} }
/** @name PalletAllianceDisbandWitness (330) */ /** @name PalletAllianceDisbandWitness (330) */
interface PalletAllianceDisbandWitness extends Struct { interface PalletAllianceDisbandWitness extends Struct {
readonly votingMembers: Compact<u32>; readonly fellowMembers: Compact<u32>;
readonly allyMembers: Compact<u32>; readonly allyMembers: Compact<u32>;
} }
@@ -4065,7 +4086,6 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
readonly isMembersInitialized: boolean; readonly isMembersInitialized: boolean;
readonly asMembersInitialized: { readonly asMembersInitialized: {
readonly founders: Vec<AccountId32>;
readonly fellows: Vec<AccountId32>; readonly fellows: Vec<AccountId32>;
readonly allies: Vec<AccountId32>; readonly allies: Vec<AccountId32>;
} & Struct; } & Struct;
@@ -4103,11 +4123,15 @@ declare module '@polkadot/types/lookup' {
} & Struct; } & Struct;
readonly isAllianceDisbanded: boolean; readonly isAllianceDisbanded: boolean;
readonly asAllianceDisbanded: { readonly asAllianceDisbanded: {
readonly votingMembers: u32; readonly fellowMembers: u32;
readonly allyMembers: u32; readonly allyMembers: u32;
readonly unreserved: u32; readonly unreserved: u32;
} & Struct; } & Struct;
readonly type: 'NewRuleSet' | 'Announced' | 'AnnouncementRemoved' | 'MembersInitialized' | 'NewAllyJoined' | 'AllyElevated' | 'MemberRetirementPeriodStarted' | 'MemberRetired' | 'MemberKicked' | 'UnscrupulousItemAdded' | 'UnscrupulousItemRemoved' | 'AllianceDisbanded'; readonly isFellowAbdicated: boolean;
readonly asFellowAbdicated: {
readonly fellow: AccountId32;
} & Struct;
readonly type: 'NewRuleSet' | 'Announced' | 'AnnouncementRemoved' | 'MembersInitialized' | 'NewAllyJoined' | 'AllyElevated' | 'MemberRetirementPeriodStarted' | 'MemberRetired' | 'MemberKicked' | 'UnscrupulousItemAdded' | 'UnscrupulousItemRemoved' | 'AllianceDisbanded' | 'FellowAbdicated';
} }
/** @name PalletNominationPoolsEvent (358) */ /** @name PalletNominationPoolsEvent (358) */
@@ -4233,17 +4257,13 @@ declare module '@polkadot/types/lookup' {
readonly stash: AccountId32; readonly stash: AccountId32;
readonly amount: u128; readonly amount: u128;
} & Struct; } & Struct;
readonly isErrored: boolean;
readonly asErrored: {
readonly stash: AccountId32;
} & Struct;
readonly isInternalError: boolean; readonly isInternalError: boolean;
readonly isBatchChecked: boolean; readonly isBatchChecked: boolean;
readonly asBatchChecked: { readonly asBatchChecked: {
readonly eras: Vec<u32>; readonly eras: Vec<u32>;
} & Struct; } & Struct;
readonly isBatchFinished: boolean; readonly isBatchFinished: boolean;
readonly type: 'Unstaked' | 'Slashed' | 'Errored' | 'InternalError' | 'BatchChecked' | 'BatchFinished'; readonly type: 'Unstaked' | 'Slashed' | 'InternalError' | 'BatchChecked' | 'BatchFinished';
} }
/** @name FrameSystemPhase (364) */ /** @name FrameSystemPhase (364) */
@@ -5009,6 +5029,8 @@ declare module '@polkadot/types/lookup' {
readonly hashBlake2128PerByte: u64; readonly hashBlake2128PerByte: u64;
readonly ecdsaRecover: u64; readonly ecdsaRecover: u64;
readonly ecdsaToEthAddress: u64; readonly ecdsaToEthAddress: u64;
readonly reentranceCount: u64;
readonly accountReentranceCount: u64;
} }
/** @name PalletContractsError (500) */ /** @name PalletContractsError (500) */
@@ -5399,10 +5421,18 @@ declare module '@polkadot/types/lookup' {
readonly accounts: u32; readonly accounts: u32;
readonly sufficients: u32; readonly sufficients: u32;
readonly approvals: u32; readonly approvals: u32;
readonly isFrozen: bool; readonly status: PalletAssetsAssetStatus;
} }
/** @name PalletAssetsAssetAccount (573) */ /** @name PalletAssetsAssetStatus (573) */
interface PalletAssetsAssetStatus extends Enum {
readonly isLive: boolean;
readonly isFrozen: boolean;
readonly isDestroying: boolean;
readonly type: 'Live' | 'Frozen' | 'Destroying';
}
/** @name PalletAssetsAssetAccount (574) */
interface PalletAssetsAssetAccount extends Struct { interface PalletAssetsAssetAccount extends Struct {
readonly balance: u128; readonly balance: u128;
readonly isFrozen: bool; readonly isFrozen: bool;
@@ -5410,7 +5440,7 @@ declare module '@polkadot/types/lookup' {
readonly extra: Null; readonly extra: Null;
} }
/** @name PalletAssetsExistenceReason (574) */ /** @name PalletAssetsExistenceReason (575) */
interface PalletAssetsExistenceReason extends Enum { interface PalletAssetsExistenceReason extends Enum {
readonly isConsumer: boolean; readonly isConsumer: boolean;
readonly isSufficient: boolean; readonly isSufficient: boolean;
@@ -5420,13 +5450,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Consumer' | 'Sufficient' | 'DepositHeld' | 'DepositRefunded'; readonly type: 'Consumer' | 'Sufficient' | 'DepositHeld' | 'DepositRefunded';
} }
/** @name PalletAssetsApproval (576) */ /** @name PalletAssetsApproval (577) */
interface PalletAssetsApproval extends Struct { interface PalletAssetsApproval extends Struct {
readonly amount: u128; readonly amount: u128;
readonly deposit: u128; readonly deposit: u128;
} }
/** @name PalletAssetsAssetMetadata (577) */ /** @name PalletAssetsAssetMetadata (578) */
interface PalletAssetsAssetMetadata extends Struct { interface PalletAssetsAssetMetadata extends Struct {
readonly deposit: u128; readonly deposit: u128;
readonly name: Bytes; readonly name: Bytes;
@@ -5435,7 +5465,7 @@ declare module '@polkadot/types/lookup' {
readonly isFrozen: bool; readonly isFrozen: bool;
} }
/** @name PalletAssetsError (578) */ /** @name PalletAssetsError (579) */
interface PalletAssetsError extends Enum { interface PalletAssetsError extends Enum {
readonly isBalanceLow: boolean; readonly isBalanceLow: boolean;
readonly isNoAccount: boolean; readonly isNoAccount: boolean;
@@ -5452,10 +5482,14 @@ declare module '@polkadot/types/lookup' {
readonly isAlreadyExists: boolean; readonly isAlreadyExists: boolean;
readonly isNoDeposit: boolean; readonly isNoDeposit: boolean;
readonly isWouldBurn: boolean; readonly isWouldBurn: boolean;
readonly type: 'BalanceLow' | 'NoAccount' | 'NoPermission' | 'Unknown' | 'Frozen' | 'InUse' | 'BadWitness' | 'MinBalanceZero' | 'NoProvider' | 'BadMetadata' | 'Unapproved' | 'WouldDie' | 'AlreadyExists' | 'NoDeposit' | 'WouldBurn'; readonly isLiveAsset: boolean;
readonly isAssetNotLive: boolean;
readonly isIncorrectStatus: boolean;
readonly isNotFrozen: boolean;
readonly type: 'BalanceLow' | 'NoAccount' | 'NoPermission' | 'Unknown' | 'Frozen' | 'InUse' | 'BadWitness' | 'MinBalanceZero' | 'NoProvider' | 'BadMetadata' | 'Unapproved' | 'WouldDie' | 'AlreadyExists' | 'NoDeposit' | 'WouldBurn' | 'LiveAsset' | 'AssetNotLive' | 'IncorrectStatus' | 'NotFrozen';
} }
/** @name PalletLotteryLotteryConfig (579) */ /** @name PalletLotteryLotteryConfig (580) */
interface PalletLotteryLotteryConfig extends Struct { interface PalletLotteryLotteryConfig extends Struct {
readonly price: u128; readonly price: u128;
readonly start: u32; readonly start: u32;
@@ -5464,7 +5498,7 @@ declare module '@polkadot/types/lookup' {
readonly repeat: bool; readonly repeat: bool;
} }
/** @name PalletLotteryError (583) */ /** @name PalletLotteryError (584) */
interface PalletLotteryError extends Enum { interface PalletLotteryError extends Enum {
readonly isNotConfigured: boolean; readonly isNotConfigured: boolean;
readonly isInProgress: boolean; readonly isInProgress: boolean;
@@ -5476,13 +5510,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotConfigured' | 'InProgress' | 'AlreadyEnded' | 'InvalidCall' | 'AlreadyParticipating' | 'TooManyCalls' | 'EncodingFailed'; readonly type: 'NotConfigured' | 'InProgress' | 'AlreadyEnded' | 'InvalidCall' | 'AlreadyParticipating' | 'TooManyCalls' | 'EncodingFailed';
} }
/** @name PalletGiltGiltBid (586) */ /** @name PalletGiltGiltBid (587) */
interface PalletGiltGiltBid extends Struct { interface PalletGiltGiltBid extends Struct {
readonly amount: u128; readonly amount: u128;
readonly who: AccountId32; readonly who: AccountId32;
} }
/** @name PalletGiltActiveGiltsTotal (588) */ /** @name PalletGiltActiveGiltsTotal (589) */
interface PalletGiltActiveGiltsTotal extends Struct { interface PalletGiltActiveGiltsTotal extends Struct {
readonly frozen: u128; readonly frozen: u128;
readonly proportion: Perquintill; readonly proportion: Perquintill;
@@ -5490,7 +5524,7 @@ declare module '@polkadot/types/lookup' {
readonly target: Perquintill; readonly target: Perquintill;
} }
/** @name PalletGiltActiveGilt (589) */ /** @name PalletGiltActiveGilt (590) */
interface PalletGiltActiveGilt extends Struct { interface PalletGiltActiveGilt extends Struct {
readonly proportion: Perquintill; readonly proportion: Perquintill;
readonly amount: u128; readonly amount: u128;
@@ -5498,7 +5532,7 @@ declare module '@polkadot/types/lookup' {
readonly expiry: u32; readonly expiry: u32;
} }
/** @name PalletGiltError (590) */ /** @name PalletGiltError (591) */
interface PalletGiltError extends Enum { interface PalletGiltError extends Enum {
readonly isDurationTooSmall: boolean; readonly isDurationTooSmall: boolean;
readonly isDurationTooBig: boolean; readonly isDurationTooBig: boolean;
@@ -5511,7 +5545,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DurationTooSmall' | 'DurationTooBig' | 'AmountTooSmall' | 'BidTooLow' | 'Unknown' | 'NotOwner' | 'NotExpired' | 'NotFound'; readonly type: 'DurationTooSmall' | 'DurationTooBig' | 'AmountTooSmall' | 'BidTooLow' | 'Unknown' | 'NotOwner' | 'NotExpired' | 'NotFound';
} }
/** @name PalletUniquesCollectionDetails (591) */ /** @name PalletUniquesCollectionDetails (592) */
interface PalletUniquesCollectionDetails extends Struct { interface PalletUniquesCollectionDetails extends Struct {
readonly owner: AccountId32; readonly owner: AccountId32;
readonly issuer: AccountId32; readonly issuer: AccountId32;
@@ -5525,7 +5559,7 @@ declare module '@polkadot/types/lookup' {
readonly isFrozen: bool; readonly isFrozen: bool;
} }
/** @name PalletUniquesItemDetails (593) */ /** @name PalletUniquesItemDetails (594) */
interface PalletUniquesItemDetails extends Struct { interface PalletUniquesItemDetails extends Struct {
readonly owner: AccountId32; readonly owner: AccountId32;
readonly approved: Option<AccountId32>; readonly approved: Option<AccountId32>;
@@ -5533,21 +5567,21 @@ declare module '@polkadot/types/lookup' {
readonly deposit: u128; readonly deposit: u128;
} }
/** @name PalletUniquesCollectionMetadata (594) */ /** @name PalletUniquesCollectionMetadata (595) */
interface PalletUniquesCollectionMetadata extends Struct { interface PalletUniquesCollectionMetadata extends Struct {
readonly deposit: u128; readonly deposit: u128;
readonly data: Bytes; readonly data: Bytes;
readonly isFrozen: bool; readonly isFrozen: bool;
} }
/** @name PalletUniquesItemMetadata (595) */ /** @name PalletUniquesItemMetadata (596) */
interface PalletUniquesItemMetadata extends Struct { interface PalletUniquesItemMetadata extends Struct {
readonly deposit: u128; readonly deposit: u128;
readonly data: Bytes; readonly data: Bytes;
readonly isFrozen: bool; readonly isFrozen: bool;
} }
/** @name PalletUniquesError (599) */ /** @name PalletUniquesError (600) */
interface PalletUniquesError extends Enum { interface PalletUniquesError extends Enum {
readonly isNoPermission: boolean; readonly isNoPermission: boolean;
readonly isUnknownCollection: boolean; readonly isUnknownCollection: boolean;
@@ -5570,7 +5604,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NoPermission' | 'UnknownCollection' | 'AlreadyExists' | 'WrongOwner' | 'BadWitness' | 'InUse' | 'Frozen' | 'WrongDelegate' | 'NoDelegate' | 'Unapproved' | 'Unaccepted' | 'Locked' | 'MaxSupplyReached' | 'MaxSupplyAlreadySet' | 'MaxSupplyTooSmall' | 'UnknownItem' | 'NotForSale' | 'BidTooLow'; readonly type: 'NoPermission' | 'UnknownCollection' | 'AlreadyExists' | 'WrongOwner' | 'BadWitness' | 'InUse' | 'Frozen' | 'WrongDelegate' | 'NoDelegate' | 'Unapproved' | 'Unaccepted' | 'Locked' | 'MaxSupplyReached' | 'MaxSupplyAlreadySet' | 'MaxSupplyTooSmall' | 'UnknownItem' | 'NotForSale' | 'BidTooLow';
} }
/** @name PalletTransactionStorageTransactionInfo (601) */ /** @name PalletTransactionStorageTransactionInfo (602) */
interface PalletTransactionStorageTransactionInfo extends Struct { interface PalletTransactionStorageTransactionInfo extends Struct {
readonly chunkRoot: H256; readonly chunkRoot: H256;
readonly contentHash: H256; readonly contentHash: H256;
@@ -5578,7 +5612,7 @@ declare module '@polkadot/types/lookup' {
readonly blockChunks: u32; readonly blockChunks: u32;
} }
/** @name PalletTransactionStorageError (603) */ /** @name PalletTransactionStorageError (604) */
interface PalletTransactionStorageError extends Enum { interface PalletTransactionStorageError extends Enum {
readonly isInsufficientFunds: boolean; readonly isInsufficientFunds: boolean;
readonly isNotConfigured: boolean; readonly isNotConfigured: boolean;
@@ -5596,7 +5630,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InsufficientFunds' | 'NotConfigured' | 'RenewedNotFound' | 'EmptyTransaction' | 'UnexpectedProof' | 'InvalidProof' | 'MissingProof' | 'MissingStateData' | 'DoubleCheck' | 'ProofNotChecked' | 'TransactionTooLarge' | 'TooManyTransactions' | 'BadContext'; readonly type: 'InsufficientFunds' | 'NotConfigured' | 'RenewedNotFound' | 'EmptyTransaction' | 'UnexpectedProof' | 'InvalidProof' | 'MissingProof' | 'MissingStateData' | 'DoubleCheck' | 'ProofNotChecked' | 'TransactionTooLarge' | 'TooManyTransactions' | 'BadContext';
} }
/** @name PalletBagsListListNode (604) */ /** @name PalletBagsListListNode (605) */
interface PalletBagsListListNode extends Struct { interface PalletBagsListListNode extends Struct {
readonly id: AccountId32; readonly id: AccountId32;
readonly prev: Option<AccountId32>; readonly prev: Option<AccountId32>;
@@ -5605,20 +5639,20 @@ declare module '@polkadot/types/lookup' {
readonly score: u64; readonly score: u64;
} }
/** @name PalletBagsListListBag (605) */ /** @name PalletBagsListListBag (606) */
interface PalletBagsListListBag extends Struct { interface PalletBagsListListBag extends Struct {
readonly head: Option<AccountId32>; readonly head: Option<AccountId32>;
readonly tail: Option<AccountId32>; readonly tail: Option<AccountId32>;
} }
/** @name PalletBagsListError (607) */ /** @name PalletBagsListError (608) */
interface PalletBagsListError extends Enum { interface PalletBagsListError extends Enum {
readonly isList: boolean; readonly isList: boolean;
readonly asList: PalletBagsListListListError; readonly asList: PalletBagsListListListError;
readonly type: 'List'; readonly type: 'List';
} }
/** @name PalletBagsListListListError (608) */ /** @name PalletBagsListListListError (609) */
interface PalletBagsListListListError extends Enum { interface PalletBagsListListListError extends Enum {
readonly isDuplicate: boolean; readonly isDuplicate: boolean;
readonly isNotHeavier: boolean; readonly isNotHeavier: boolean;
@@ -5627,7 +5661,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound'; readonly type: 'Duplicate' | 'NotHeavier' | 'NotInSameBag' | 'NodeNotFound';
} }
/** @name PalletChildBountiesChildBounty (609) */ /** @name PalletChildBountiesChildBounty (610) */
interface PalletChildBountiesChildBounty extends Struct { interface PalletChildBountiesChildBounty extends Struct {
readonly parentBounty: u32; readonly parentBounty: u32;
readonly value: u128; readonly value: u128;
@@ -5636,7 +5670,7 @@ declare module '@polkadot/types/lookup' {
readonly status: PalletChildBountiesChildBountyStatus; readonly status: PalletChildBountiesChildBountyStatus;
} }
/** @name PalletChildBountiesChildBountyStatus (610) */ /** @name PalletChildBountiesChildBountyStatus (611) */
interface PalletChildBountiesChildBountyStatus extends Enum { interface PalletChildBountiesChildBountyStatus extends Enum {
readonly isAdded: boolean; readonly isAdded: boolean;
readonly isCuratorProposed: boolean; readonly isCuratorProposed: boolean;
@@ -5656,7 +5690,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Added' | 'CuratorProposed' | 'Active' | 'PendingPayout'; readonly type: 'Added' | 'CuratorProposed' | 'Active' | 'PendingPayout';
} }
/** @name PalletChildBountiesError (611) */ /** @name PalletChildBountiesError (612) */
interface PalletChildBountiesError extends Enum { interface PalletChildBountiesError extends Enum {
readonly isParentBountyNotActive: boolean; readonly isParentBountyNotActive: boolean;
readonly isInsufficientBountyBalance: boolean; readonly isInsufficientBountyBalance: boolean;
@@ -5664,7 +5698,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'ParentBountyNotActive' | 'InsufficientBountyBalance' | 'TooManyChildBounties'; readonly type: 'ParentBountyNotActive' | 'InsufficientBountyBalance' | 'TooManyChildBounties';
} }
/** @name PalletReferendaReferendumInfoConvictionVotingTally (612) */ /** @name PalletReferendaReferendumInfoConvictionVotingTally (613) */
interface PalletReferendaReferendumInfoConvictionVotingTally extends Enum { interface PalletReferendaReferendumInfoConvictionVotingTally extends Enum {
readonly isOngoing: boolean; readonly isOngoing: boolean;
readonly asOngoing: PalletReferendaReferendumStatusConvictionVotingTally; readonly asOngoing: PalletReferendaReferendumStatusConvictionVotingTally;
@@ -5681,7 +5715,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed'; readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed';
} }
/** @name PalletReferendaReferendumStatusConvictionVotingTally (613) */ /** @name PalletReferendaReferendumStatusConvictionVotingTally (614) */
interface PalletReferendaReferendumStatusConvictionVotingTally extends Struct { interface PalletReferendaReferendumStatusConvictionVotingTally extends Struct {
readonly track: u16; readonly track: u16;
readonly origin: KitchensinkRuntimeOriginCaller; readonly origin: KitchensinkRuntimeOriginCaller;
@@ -5696,19 +5730,19 @@ declare module '@polkadot/types/lookup' {
readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>; readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>;
} }
/** @name PalletReferendaDeposit (614) */ /** @name PalletReferendaDeposit (615) */
interface PalletReferendaDeposit extends Struct { interface PalletReferendaDeposit extends Struct {
readonly who: AccountId32; readonly who: AccountId32;
readonly amount: u128; readonly amount: u128;
} }
/** @name PalletReferendaDecidingStatus (617) */ /** @name PalletReferendaDecidingStatus (618) */
interface PalletReferendaDecidingStatus extends Struct { interface PalletReferendaDecidingStatus extends Struct {
readonly since: u32; readonly since: u32;
readonly confirming: Option<u32>; readonly confirming: Option<u32>;
} }
/** @name PalletReferendaTrackInfo (623) */ /** @name PalletReferendaTrackInfo (624) */
interface PalletReferendaTrackInfo extends Struct { interface PalletReferendaTrackInfo extends Struct {
readonly name: Text; readonly name: Text;
readonly maxDeciding: u32; readonly maxDeciding: u32;
@@ -5721,7 +5755,7 @@ declare module '@polkadot/types/lookup' {
readonly minSupport: PalletReferendaCurve; readonly minSupport: PalletReferendaCurve;
} }
/** @name PalletReferendaCurve (624) */ /** @name PalletReferendaCurve (625) */
interface PalletReferendaCurve extends Enum { interface PalletReferendaCurve extends Enum {
readonly isLinearDecreasing: boolean; readonly isLinearDecreasing: boolean;
readonly asLinearDecreasing: { readonly asLinearDecreasing: {
@@ -5745,7 +5779,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'LinearDecreasing' | 'SteppedDecreasing' | 'Reciprocal'; readonly type: 'LinearDecreasing' | 'SteppedDecreasing' | 'Reciprocal';
} }
/** @name PalletReferendaError (627) */ /** @name PalletReferendaError (628) */
interface PalletReferendaError extends Enum { interface PalletReferendaError extends Enum {
readonly isNotOngoing: boolean; readonly isNotOngoing: boolean;
readonly isHasDeposit: boolean; readonly isHasDeposit: boolean;
@@ -5761,14 +5795,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit'; readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit';
} }
/** @name PalletRemarkError (628) */ /** @name PalletRemarkError (629) */
interface PalletRemarkError extends Enum { interface PalletRemarkError extends Enum {
readonly isEmpty: boolean; readonly isEmpty: boolean;
readonly isBadContext: boolean; readonly isBadContext: boolean;
readonly type: 'Empty' | 'BadContext'; readonly type: 'Empty' | 'BadContext';
} }
/** @name PalletConvictionVotingVoteVoting (630) */ /** @name PalletConvictionVotingVoteVoting (631) */
interface PalletConvictionVotingVoteVoting extends Enum { interface PalletConvictionVotingVoteVoting extends Enum {
readonly isCasting: boolean; readonly isCasting: boolean;
readonly asCasting: PalletConvictionVotingVoteCasting; readonly asCasting: PalletConvictionVotingVoteCasting;
@@ -5777,23 +5811,23 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Casting' | 'Delegating'; readonly type: 'Casting' | 'Delegating';
} }
/** @name PalletConvictionVotingVoteCasting (631) */ /** @name PalletConvictionVotingVoteCasting (632) */
interface PalletConvictionVotingVoteCasting extends Struct { interface PalletConvictionVotingVoteCasting extends Struct {
readonly votes: Vec<ITuple<[u32, PalletConvictionVotingVoteAccountVote]>>; readonly votes: Vec<ITuple<[u32, PalletConvictionVotingVoteAccountVote]>>;
readonly delegations: PalletConvictionVotingDelegations; readonly delegations: PalletConvictionVotingDelegations;
readonly prior: PalletConvictionVotingVotePriorLock; readonly prior: PalletConvictionVotingVotePriorLock;
} }
/** @name PalletConvictionVotingDelegations (635) */ /** @name PalletConvictionVotingDelegations (636) */
interface PalletConvictionVotingDelegations extends Struct { interface PalletConvictionVotingDelegations extends Struct {
readonly votes: u128; readonly votes: u128;
readonly capital: u128; readonly capital: u128;
} }
/** @name PalletConvictionVotingVotePriorLock (636) */ /** @name PalletConvictionVotingVotePriorLock (637) */
interface PalletConvictionVotingVotePriorLock extends ITuple<[u32, u128]> {} interface PalletConvictionVotingVotePriorLock extends ITuple<[u32, u128]> {}
/** @name PalletConvictionVotingVoteDelegating (637) */ /** @name PalletConvictionVotingVoteDelegating (638) */
interface PalletConvictionVotingVoteDelegating extends Struct { interface PalletConvictionVotingVoteDelegating extends Struct {
readonly balance: u128; readonly balance: u128;
readonly target: AccountId32; readonly target: AccountId32;
@@ -5802,7 +5836,7 @@ declare module '@polkadot/types/lookup' {
readonly prior: PalletConvictionVotingVotePriorLock; readonly prior: PalletConvictionVotingVotePriorLock;
} }
/** @name PalletConvictionVotingError (641) */ /** @name PalletConvictionVotingError (642) */
interface PalletConvictionVotingError extends Enum { interface PalletConvictionVotingError extends Enum {
readonly isNotOngoing: boolean; readonly isNotOngoing: boolean;
readonly isNotVoter: boolean; readonly isNotVoter: boolean;
@@ -5819,7 +5853,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotOngoing' | 'NotVoter' | 'NoPermission' | 'NoPermissionYet' | 'AlreadyDelegating' | 'AlreadyVoting' | 'InsufficientFunds' | 'NotDelegating' | 'Nonsense' | 'MaxVotesReached' | 'ClassNeeded' | 'BadClass'; readonly type: 'NotOngoing' | 'NotVoter' | 'NoPermission' | 'NoPermissionYet' | 'AlreadyDelegating' | 'AlreadyVoting' | 'InsufficientFunds' | 'NotDelegating' | 'Nonsense' | 'MaxVotesReached' | 'ClassNeeded' | 'BadClass';
} }
/** @name PalletWhitelistError (642) */ /** @name PalletWhitelistError (643) */
interface PalletWhitelistError extends Enum { interface PalletWhitelistError extends Enum {
readonly isUnavailablePreImage: boolean; readonly isUnavailablePreImage: boolean;
readonly isUndecodableCall: boolean; readonly isUndecodableCall: boolean;
@@ -5829,23 +5863,21 @@ declare module '@polkadot/types/lookup' {
readonly type: 'UnavailablePreImage' | 'UndecodableCall' | 'InvalidCallWeightWitness' | 'CallIsNotWhitelisted' | 'CallAlreadyWhitelisted'; readonly type: 'UnavailablePreImage' | 'UndecodableCall' | 'InvalidCallWeightWitness' | 'CallIsNotWhitelisted' | 'CallAlreadyWhitelisted';
} }
/** @name PalletAllianceMemberRole (647) */ /** @name PalletAllianceMemberRole (648) */
interface PalletAllianceMemberRole extends Enum { interface PalletAllianceMemberRole extends Enum {
readonly isFounder: boolean;
readonly isFellow: boolean; readonly isFellow: boolean;
readonly isAlly: boolean; readonly isAlly: boolean;
readonly isRetiring: boolean; readonly isRetiring: boolean;
readonly type: 'Founder' | 'Fellow' | 'Ally' | 'Retiring'; readonly type: 'Fellow' | 'Ally' | 'Retiring';
} }
/** @name PalletAllianceError (651) */ /** @name PalletAllianceError (652) */
interface PalletAllianceError extends Enum { interface PalletAllianceError extends Enum {
readonly isAllianceNotYetInitialized: boolean; readonly isAllianceNotYetInitialized: boolean;
readonly isAllianceAlreadyInitialized: boolean; readonly isAllianceAlreadyInitialized: boolean;
readonly isAlreadyMember: boolean; readonly isAlreadyMember: boolean;
readonly isNotMember: boolean; readonly isNotMember: boolean;
readonly isNotAlly: boolean; readonly isNotAlly: boolean;
readonly isNotFounder: boolean;
readonly isNoVotingRights: boolean; readonly isNoVotingRights: boolean;
readonly isAlreadyElevated: boolean; readonly isAlreadyElevated: boolean;
readonly isAlreadyUnscrupulous: boolean; readonly isAlreadyUnscrupulous: boolean;
@@ -5857,7 +5889,6 @@ declare module '@polkadot/types/lookup' {
readonly isWithoutIdentityDisplayAndWebsite: boolean; readonly isWithoutIdentityDisplayAndWebsite: boolean;
readonly isWithoutGoodIdentityJudgement: boolean; readonly isWithoutGoodIdentityJudgement: boolean;
readonly isMissingProposalHash: boolean; readonly isMissingProposalHash: boolean;
readonly isNotVetoableProposal: boolean;
readonly isMissingAnnouncement: boolean; readonly isMissingAnnouncement: boolean;
readonly isTooManyMembers: boolean; readonly isTooManyMembers: boolean;
readonly isTooManyAnnouncements: boolean; readonly isTooManyAnnouncements: boolean;
@@ -5865,11 +5896,11 @@ declare module '@polkadot/types/lookup' {
readonly isAlreadyRetiring: boolean; readonly isAlreadyRetiring: boolean;
readonly isRetirementNoticeNotGiven: boolean; readonly isRetirementNoticeNotGiven: boolean;
readonly isRetirementPeriodNotPassed: boolean; readonly isRetirementPeriodNotPassed: boolean;
readonly isFoundersMissing: boolean; readonly isFellowsMissing: boolean;
readonly type: 'AllianceNotYetInitialized' | 'AllianceAlreadyInitialized' | 'AlreadyMember' | 'NotMember' | 'NotAlly' | 'NotFounder' | 'NoVotingRights' | 'AlreadyElevated' | 'AlreadyUnscrupulous' | 'AccountNonGrata' | 'NotListedAsUnscrupulous' | 'TooManyUnscrupulousItems' | 'TooLongWebsiteUrl' | 'InsufficientFunds' | 'WithoutIdentityDisplayAndWebsite' | 'WithoutGoodIdentityJudgement' | 'MissingProposalHash' | 'NotVetoableProposal' | 'MissingAnnouncement' | 'TooManyMembers' | 'TooManyAnnouncements' | 'BadWitness' | 'AlreadyRetiring' | 'RetirementNoticeNotGiven' | 'RetirementPeriodNotPassed' | 'FoundersMissing'; readonly type: 'AllianceNotYetInitialized' | 'AllianceAlreadyInitialized' | 'AlreadyMember' | 'NotMember' | 'NotAlly' | 'NoVotingRights' | 'AlreadyElevated' | 'AlreadyUnscrupulous' | 'AccountNonGrata' | 'NotListedAsUnscrupulous' | 'TooManyUnscrupulousItems' | 'TooLongWebsiteUrl' | 'InsufficientFunds' | 'WithoutIdentityDisplayAndWebsite' | 'WithoutGoodIdentityJudgement' | 'MissingProposalHash' | 'MissingAnnouncement' | 'TooManyMembers' | 'TooManyAnnouncements' | 'BadWitness' | 'AlreadyRetiring' | 'RetirementNoticeNotGiven' | 'RetirementPeriodNotPassed' | 'FellowsMissing';
} }
/** @name PalletNominationPoolsPoolMember (652) */ /** @name PalletNominationPoolsPoolMember (653) */
interface PalletNominationPoolsPoolMember extends Struct { interface PalletNominationPoolsPoolMember extends Struct {
readonly poolId: u32; readonly poolId: u32;
readonly points: u128; readonly points: u128;
@@ -5877,7 +5908,7 @@ declare module '@polkadot/types/lookup' {
readonly unbondingEras: BTreeMap<u32, u128>; readonly unbondingEras: BTreeMap<u32, u128>;
} }
/** @name PalletNominationPoolsBondedPoolInner (655) */ /** @name PalletNominationPoolsBondedPoolInner (656) */
interface PalletNominationPoolsBondedPoolInner extends Struct { interface PalletNominationPoolsBondedPoolInner extends Struct {
readonly points: u128; readonly points: u128;
readonly state: PalletNominationPoolsPoolState; readonly state: PalletNominationPoolsPoolState;
@@ -5885,7 +5916,7 @@ declare module '@polkadot/types/lookup' {
readonly roles: PalletNominationPoolsPoolRoles; readonly roles: PalletNominationPoolsPoolRoles;
} }
/** @name PalletNominationPoolsPoolRoles (656) */ /** @name PalletNominationPoolsPoolRoles (657) */
interface PalletNominationPoolsPoolRoles extends Struct { interface PalletNominationPoolsPoolRoles extends Struct {
readonly depositor: AccountId32; readonly depositor: AccountId32;
readonly root: Option<AccountId32>; readonly root: Option<AccountId32>;
@@ -5893,26 +5924,26 @@ declare module '@polkadot/types/lookup' {
readonly stateToggler: Option<AccountId32>; readonly stateToggler: Option<AccountId32>;
} }
/** @name PalletNominationPoolsRewardPool (657) */ /** @name PalletNominationPoolsRewardPool (658) */
interface PalletNominationPoolsRewardPool extends Struct { interface PalletNominationPoolsRewardPool extends Struct {
readonly lastRecordedRewardCounter: u128; readonly lastRecordedRewardCounter: u128;
readonly lastRecordedTotalPayouts: u128; readonly lastRecordedTotalPayouts: u128;
readonly totalRewardsClaimed: u128; readonly totalRewardsClaimed: u128;
} }
/** @name PalletNominationPoolsSubPools (658) */ /** @name PalletNominationPoolsSubPools (659) */
interface PalletNominationPoolsSubPools extends Struct { interface PalletNominationPoolsSubPools extends Struct {
readonly noEra: PalletNominationPoolsUnbondPool; readonly noEra: PalletNominationPoolsUnbondPool;
readonly withEra: BTreeMap<u32, PalletNominationPoolsUnbondPool>; readonly withEra: BTreeMap<u32, PalletNominationPoolsUnbondPool>;
} }
/** @name PalletNominationPoolsUnbondPool (659) */ /** @name PalletNominationPoolsUnbondPool (660) */
interface PalletNominationPoolsUnbondPool extends Struct { interface PalletNominationPoolsUnbondPool extends Struct {
readonly points: u128; readonly points: u128;
readonly balance: u128; readonly balance: u128;
} }
/** @name PalletNominationPoolsError (665) */ /** @name PalletNominationPoolsError (666) */
interface PalletNominationPoolsError extends Enum { interface PalletNominationPoolsError extends Enum {
readonly isPoolNotFound: boolean; readonly isPoolNotFound: boolean;
readonly isPoolMemberNotFound: boolean; readonly isPoolMemberNotFound: boolean;
@@ -5941,7 +5972,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'PoolNotFound' | 'PoolMemberNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'AccountBelongsToOtherPool' | 'FullyUnbonding' | 'MaxUnbondingLimit' | 'CannotWithdrawAny' | 'MinimumBondNotMet' | 'OverflowRisk' | 'NotDestroying' | 'NotNominator' | 'NotKickerOrDestroying' | 'NotOpen' | 'MaxPools' | 'MaxPoolMembers' | 'CanNotChangeState' | 'DoesNotHavePermission' | 'MetadataExceedsMaxLen' | 'Defensive' | 'PartialUnbondNotAllowedPermissionlessly' | 'PoolIdInUse' | 'InvalidPoolId'; readonly type: 'PoolNotFound' | 'PoolMemberNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'AccountBelongsToOtherPool' | 'FullyUnbonding' | 'MaxUnbondingLimit' | 'CannotWithdrawAny' | 'MinimumBondNotMet' | 'OverflowRisk' | 'NotDestroying' | 'NotNominator' | 'NotKickerOrDestroying' | 'NotOpen' | 'MaxPools' | 'MaxPoolMembers' | 'CanNotChangeState' | 'DoesNotHavePermission' | 'MetadataExceedsMaxLen' | 'Defensive' | 'PartialUnbondNotAllowedPermissionlessly' | 'PoolIdInUse' | 'InvalidPoolId';
} }
/** @name PalletNominationPoolsDefensiveError (666) */ /** @name PalletNominationPoolsDefensiveError (667) */
interface PalletNominationPoolsDefensiveError extends Enum { interface PalletNominationPoolsDefensiveError extends Enum {
readonly isNotEnoughSpaceInUnbondPool: boolean; readonly isNotEnoughSpaceInUnbondPool: boolean;
readonly isPoolNotFound: boolean; readonly isPoolNotFound: boolean;
@@ -5951,7 +5982,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotEnoughSpaceInUnbondPool' | 'PoolNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'BondedStashKilledPrematurely'; readonly type: 'NotEnoughSpaceInUnbondPool' | 'PoolNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'BondedStashKilledPrematurely';
} }
/** @name PalletReferendaReferendumInfoRankedCollectiveTally (667) */ /** @name PalletReferendaReferendumInfoRankedCollectiveTally (668) */
interface PalletReferendaReferendumInfoRankedCollectiveTally extends Enum { interface PalletReferendaReferendumInfoRankedCollectiveTally extends Enum {
readonly isOngoing: boolean; readonly isOngoing: boolean;
readonly asOngoing: PalletReferendaReferendumStatusRankedCollectiveTally; readonly asOngoing: PalletReferendaReferendumStatusRankedCollectiveTally;
@@ -5968,7 +5999,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed'; readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed';
} }
/** @name PalletReferendaReferendumStatusRankedCollectiveTally (668) */ /** @name PalletReferendaReferendumStatusRankedCollectiveTally (669) */
interface PalletReferendaReferendumStatusRankedCollectiveTally extends Struct { interface PalletReferendaReferendumStatusRankedCollectiveTally extends Struct {
readonly track: u16; readonly track: u16;
readonly origin: KitchensinkRuntimeOriginCaller; readonly origin: KitchensinkRuntimeOriginCaller;
@@ -5983,12 +6014,12 @@ declare module '@polkadot/types/lookup' {
readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>; readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>;
} }
/** @name PalletRankedCollectiveMemberRecord (671) */ /** @name PalletRankedCollectiveMemberRecord (672) */
interface PalletRankedCollectiveMemberRecord extends Struct { interface PalletRankedCollectiveMemberRecord extends Struct {
readonly rank: u16; readonly rank: u16;
} }
/** @name PalletRankedCollectiveError (675) */ /** @name PalletRankedCollectiveError (676) */
interface PalletRankedCollectiveError extends Enum { interface PalletRankedCollectiveError extends Enum {
readonly isAlreadyMember: boolean; readonly isAlreadyMember: boolean;
readonly isNotMember: boolean; readonly isNotMember: boolean;
@@ -6002,13 +6033,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission'; readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission';
} }
/** @name PalletFastUnstakeUnstakeRequest (676) */ /** @name PalletFastUnstakeUnstakeRequest (677) */
interface PalletFastUnstakeUnstakeRequest extends Struct { interface PalletFastUnstakeUnstakeRequest extends Struct {
readonly stashes: Vec<ITuple<[AccountId32, u128]>>; readonly stashes: Vec<ITuple<[AccountId32, u128]>>;
readonly checked: Vec<u32>; readonly checked: Vec<u32>;
} }
/** @name PalletFastUnstakeError (679) */ /** @name PalletFastUnstakeError (680) */
interface PalletFastUnstakeError extends Enum { interface PalletFastUnstakeError extends Enum {
readonly isNotController: boolean; readonly isNotController: boolean;
readonly isAlreadyQueued: boolean; readonly isAlreadyQueued: boolean;
@@ -6019,7 +6050,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotController' | 'AlreadyQueued' | 'NotFullyBonded' | 'NotQueued' | 'AlreadyHead' | 'CallNotAllowed'; readonly type: 'NotController' | 'AlreadyQueued' | 'NotFullyBonded' | 'NotQueued' | 'AlreadyHead' | 'CallNotAllowed';
} }
/** @name SpRuntimeMultiSignature (681) */ /** @name SpRuntimeMultiSignature (682) */
interface SpRuntimeMultiSignature extends Enum { interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean; readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature; readonly asEd25519: SpCoreEd25519Signature;
@@ -6030,34 +6061,34 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
} }
/** @name SpCoreEcdsaSignature (682) */ /** @name SpCoreEcdsaSignature (683) */
interface SpCoreEcdsaSignature extends U8aFixed {} interface SpCoreEcdsaSignature extends U8aFixed {}
/** @name FrameSystemExtensionsCheckNonZeroSender (685) */ /** @name FrameSystemExtensionsCheckNonZeroSender (686) */
type FrameSystemExtensionsCheckNonZeroSender = Null; type FrameSystemExtensionsCheckNonZeroSender = Null;
/** @name FrameSystemExtensionsCheckSpecVersion (686) */ /** @name FrameSystemExtensionsCheckSpecVersion (687) */
type FrameSystemExtensionsCheckSpecVersion = Null; type FrameSystemExtensionsCheckSpecVersion = Null;
/** @name FrameSystemExtensionsCheckTxVersion (687) */ /** @name FrameSystemExtensionsCheckTxVersion (688) */
type FrameSystemExtensionsCheckTxVersion = Null; type FrameSystemExtensionsCheckTxVersion = Null;
/** @name FrameSystemExtensionsCheckGenesis (688) */ /** @name FrameSystemExtensionsCheckGenesis (689) */
type FrameSystemExtensionsCheckGenesis = Null; type FrameSystemExtensionsCheckGenesis = Null;
/** @name FrameSystemExtensionsCheckNonce (691) */ /** @name FrameSystemExtensionsCheckNonce (692) */
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {} interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
/** @name FrameSystemExtensionsCheckWeight (692) */ /** @name FrameSystemExtensionsCheckWeight (693) */
type FrameSystemExtensionsCheckWeight = Null; type FrameSystemExtensionsCheckWeight = Null;
/** @name PalletAssetTxPaymentChargeAssetTxPayment (693) */ /** @name PalletAssetTxPaymentChargeAssetTxPayment (694) */
interface PalletAssetTxPaymentChargeAssetTxPayment extends Struct { interface PalletAssetTxPaymentChargeAssetTxPayment extends Struct {
readonly tip: Compact<u128>; readonly tip: Compact<u128>;
readonly assetId: Option<u32>; readonly assetId: Option<u32>;
} }
/** @name KitchensinkRuntimeRuntime (694) */ /** @name KitchensinkRuntimeRuntime (695) */
type KitchensinkRuntimeRuntime = Null; type KitchensinkRuntimeRuntime = Null;
} // declare module } // declare module
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.9.2' };
@@ -46,7 +46,7 @@ import type { NpApiError } from '@polkadot/types/interfaces/nompools';
import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; 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, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, 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 { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, 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 { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment';
import type { Approvals } from '@polkadot/types/interfaces/poll'; import type { Approvals } from '@polkadot/types/interfaces/poll';
import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy';
import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase'; import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase';
@@ -877,6 +877,8 @@ declare module '@polkadot/types/types/registry' {
RpcMethods: RpcMethods; RpcMethods: RpcMethods;
RuntimeDbWeight: RuntimeDbWeight; RuntimeDbWeight: RuntimeDbWeight;
RuntimeDispatchInfo: RuntimeDispatchInfo; RuntimeDispatchInfo: RuntimeDispatchInfo;
RuntimeDispatchInfoV1: RuntimeDispatchInfoV1;
RuntimeDispatchInfoV2: RuntimeDispatchInfoV2;
RuntimeVersion: RuntimeVersion; RuntimeVersion: RuntimeVersion;
RuntimeVersionApi: RuntimeVersionApi; RuntimeVersionApi: RuntimeVersionApi;
RuntimeVersionPartial: RuntimeVersionPartial; RuntimeVersionPartial: RuntimeVersionPartial;
File diff suppressed because one or more lines are too long
+7 -7
View File
@@ -20,17 +20,17 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"@polkadot/x-bigint": "^10.1.12" "@polkadot/x-bigint": "^10.1.14"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-augment": "9.8.1", "@polkadot/types-augment": "9.9.2",
"@polkadot/types-support": "9.8.1", "@polkadot/types-support": "9.9.2",
"@polkadot/util-crypto": "^10.1.12" "@polkadot/util-crypto": "^10.1.14"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.9.2' };
+4 -4
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.12" "@polkadot/util": "^10.1.14"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/types": "9.8.1" "@polkadot/types": "9.9.2"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.9.2' };
+7 -7
View File
@@ -20,17 +20,17 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/networks": "^10.1.12", "@polkadot/networks": "^10.1.14",
"@polkadot/types": "9.8.1", "@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.8.1", "@polkadot/types-create": "9.9.2",
"@polkadot/util": "^10.1.12" "@polkadot/util": "^10.1.14"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api": "9.8.1" "@polkadot/api": "9.9.2"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.9.2' };
+2 -2
View File
@@ -20,10 +20,10 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/util": "^10.1.12" "@polkadot/util": "^10.1.14"
} }
} }
File diff suppressed because one or more lines are too long
@@ -5775,7 +5775,17 @@
"events": { "events": {
"type": 467 "type": 467
}, },
"constants": [], "constants": [
{
"name": "Deposit",
"type": 6,
"value": "0x34a1aec6000000000000000000000000",
"docs": [
" Deposit to take for unstaking, to make sure we're able to slash the it in order to cover",
" the costs of resources on unsuccessful unstake."
]
}
],
"errors": { "errors": {
"type": 751 "type": 751
}, },
@@ -5429,21 +5429,6 @@
"def": { "def": {
"variant": { "variant": {
"variants": [ "variants": [
{
"name": "fill_block",
"fields": [
{
"name": "ratio",
"type": 36,
"typeName": "Perbill",
"docs": []
}
],
"index": 0,
"docs": [
"A dispatch that will fill the block weight up to the given ratio."
]
},
{ {
"name": "remark", "name": "remark",
"fields": [ "fields": [
@@ -5454,7 +5439,7 @@
"docs": [] "docs": []
} }
], ],
"index": 1, "index": 0,
"docs": [ "docs": [
"Make some on-chain remark.", "Make some on-chain remark.",
"", "",
@@ -5473,7 +5458,7 @@
"docs": [] "docs": []
} }
], ],
"index": 2, "index": 1,
"docs": [ "docs": [
"Set the number of pages in the WebAssembly environment's heap." "Set the number of pages in the WebAssembly environment's heap."
] ]
@@ -5488,7 +5473,7 @@
"docs": [] "docs": []
} }
], ],
"index": 3, "index": 2,
"docs": [ "docs": [
"Set the new runtime code.", "Set the new runtime code.",
"", "",
@@ -5514,7 +5499,7 @@
"docs": [] "docs": []
} }
], ],
"index": 4, "index": 3,
"docs": [ "docs": [
"Set the new runtime code without doing any checks of the given `code`.", "Set the new runtime code without doing any checks of the given `code`.",
"", "",
@@ -5537,7 +5522,7 @@
"docs": [] "docs": []
} }
], ],
"index": 5, "index": 4,
"docs": [ "docs": [
"Set some items of storage." "Set some items of storage."
] ]
@@ -5552,7 +5537,7 @@
"docs": [] "docs": []
} }
], ],
"index": 6, "index": 5,
"docs": [ "docs": [
"Kill some items from storage." "Kill some items from storage."
] ]
@@ -5573,7 +5558,7 @@
"docs": [] "docs": []
} }
], ],
"index": 7, "index": 6,
"docs": [ "docs": [
"Kill all storage items with a key that starts with the given prefix.", "Kill all storage items with a key that starts with the given prefix.",
"", "",
@@ -5591,7 +5576,7 @@
"docs": [] "docs": []
} }
], ],
"index": 8, "index": 7,
"docs": [ "docs": [
"Make some on-chain remark and emit event." "Make some on-chain remark and emit event."
] ]
@@ -33463,26 +33448,10 @@
"A staker was slashed for requesting fast-unstake whilst being exposed." "A staker was slashed for requesting fast-unstake whilst being exposed."
] ]
}, },
{
"name": "Errored",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 2,
"docs": [
"Some internal error happened while migrating stash. They are removed as head as a",
"consequence."
]
},
{ {
"name": "InternalError", "name": "InternalError",
"fields": [], "fields": [],
"index": 3, "index": 2,
"docs": [ "docs": [
"An internal error happened. Operations will be paused now." "An internal error happened. Operations will be paused now."
] ]
@@ -33497,7 +33466,7 @@
"docs": [] "docs": []
} }
], ],
"index": 4, "index": 3,
"docs": [ "docs": [
"A batch was partially checked for the given eras, but the process did not finish." "A batch was partially checked for the given eras, but the process did not finish."
] ]
@@ -33505,7 +33474,7 @@
{ {
"name": "BatchFinished", "name": "BatchFinished",
"fields": [], "fields": [],
"index": 5, "index": 4,
"docs": [ "docs": [
"A batch was terminated.", "A batch was terminated.",
"", "",
@@ -36869,7 +36838,7 @@
"fields": [], "fields": [],
"index": 2, "index": 2,
"docs": [ "docs": [
"Balance too low to send value" "Balance too low to send value."
] ]
}, },
{ {
@@ -46884,7 +46853,7 @@
{ {
"name": "with_era", "name": "with_era",
"type": 741, "type": 741,
"typeName": "UnbondingPoolsWithEra<T>", "typeName": "BoundedBTreeMap<EraIndex, UnbondPool<T>, TotalUnbondingPools<T>>",
"docs": [] "docs": []
} }
] ]
File diff suppressed because one or more lines are too long
@@ -4689,7 +4689,17 @@
"events": { "events": {
"type": 93 "type": 93
}, },
"constants": [], "constants": [
{
"name": "Deposit",
"type": 6,
"value": "0x00e40b54020000000000000000000000",
"docs": [
" Deposit to take for unstaking, to make sure we're able to slash the it in order to cover",
" the costs of resources on unsuccessful unstake."
]
}
],
"errors": { "errors": {
"type": 638 "type": 638
}, },
@@ -6466,26 +6466,10 @@
"A staker was slashed for requesting fast-unstake whilst being exposed." "A staker was slashed for requesting fast-unstake whilst being exposed."
] ]
}, },
{
"name": "Errored",
"fields": [
{
"name": "stash",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 2,
"docs": [
"Some internal error happened while migrating stash. They are removed as head as a",
"consequence."
]
},
{ {
"name": "InternalError", "name": "InternalError",
"fields": [], "fields": [],
"index": 3, "index": 2,
"docs": [ "docs": [
"An internal error happened. Operations will be paused now." "An internal error happened. Operations will be paused now."
] ]
@@ -6500,7 +6484,7 @@
"docs": [] "docs": []
} }
], ],
"index": 4, "index": 3,
"docs": [ "docs": [
"A batch was partially checked for the given eras, but the process did not finish." "A batch was partially checked for the given eras, but the process did not finish."
] ]
@@ -6508,7 +6492,7 @@
{ {
"name": "BatchFinished", "name": "BatchFinished",
"fields": [], "fields": [],
"index": 5, "index": 4,
"docs": [ "docs": [
"A batch was terminated.", "A batch was terminated.",
"", "",
@@ -11879,21 +11863,6 @@
"def": { "def": {
"variant": { "variant": {
"variants": [ "variants": [
{
"name": "fill_block",
"fields": [
{
"name": "ratio",
"type": 42,
"typeName": "Perbill",
"docs": []
}
],
"index": 0,
"docs": [
"A dispatch that will fill the block weight up to the given ratio."
]
},
{ {
"name": "remark", "name": "remark",
"fields": [ "fields": [
@@ -11904,7 +11873,7 @@
"docs": [] "docs": []
} }
], ],
"index": 1, "index": 0,
"docs": [ "docs": [
"Make some on-chain remark.", "Make some on-chain remark.",
"", "",
@@ -11923,7 +11892,7 @@
"docs": [] "docs": []
} }
], ],
"index": 2, "index": 1,
"docs": [ "docs": [
"Set the number of pages in the WebAssembly environment's heap." "Set the number of pages in the WebAssembly environment's heap."
] ]
@@ -11938,7 +11907,7 @@
"docs": [] "docs": []
} }
], ],
"index": 3, "index": 2,
"docs": [ "docs": [
"Set the new runtime code.", "Set the new runtime code.",
"", "",
@@ -11964,7 +11933,7 @@
"docs": [] "docs": []
} }
], ],
"index": 4, "index": 3,
"docs": [ "docs": [
"Set the new runtime code without doing any checks of the given `code`.", "Set the new runtime code without doing any checks of the given `code`.",
"", "",
@@ -11987,7 +11956,7 @@
"docs": [] "docs": []
} }
], ],
"index": 5, "index": 4,
"docs": [ "docs": [
"Set some items of storage." "Set some items of storage."
] ]
@@ -12002,7 +11971,7 @@
"docs": [] "docs": []
} }
], ],
"index": 6, "index": 5,
"docs": [ "docs": [
"Kill some items from storage." "Kill some items from storage."
] ]
@@ -12023,7 +11992,7 @@
"docs": [] "docs": []
} }
], ],
"index": 7, "index": 6,
"docs": [ "docs": [
"Kill all storage items with a key that starts with the given prefix.", "Kill all storage items with a key that starts with the given prefix.",
"", "",
@@ -12041,7 +12010,7 @@
"docs": [] "docs": []
} }
], ],
"index": 8, "index": 7,
"docs": [ "docs": [
"Make some on-chain remark and emit event." "Make some on-chain remark and emit event."
] ]
@@ -32570,7 +32539,7 @@
"fields": [], "fields": [],
"index": 2, "index": 2,
"docs": [ "docs": [
"Balance too low to send value" "Balance too low to send value."
] ]
}, },
{ {
@@ -39047,7 +39016,7 @@
{ {
"name": "with_era", "name": "with_era",
"type": 628, "type": 628,
"typeName": "UnbondingPoolsWithEra<T>", "typeName": "BoundedBTreeMap<EraIndex, UnbondPool<T>, TotalUnbondingPools<T>>",
"docs": [] "docs": []
} }
] ]
File diff suppressed because one or more lines are too long
@@ -2980,7 +2980,7 @@
}, },
{ {
"name": "ProposalBondMaximum", "name": "ProposalBondMaximum",
"type": 308, "type": 307,
"value": "0x00", "value": "0x00",
"docs": [ "docs": [
" Maximum amount of funds that should be placed in a deposit for making a proposal." " Maximum amount of funds that should be placed in a deposit for making a proposal."
@@ -3159,7 +3159,7 @@
{ {
"name": "Schedule", "name": "Schedule",
"type": 496, "type": 496,
"value": "0x040000000000010000800000001000000000100000000100002000000020000000004000000300000000000000561100001b490000e1480000bd160000402d000042150000b9180000bc20000026000000f0de0000f01301009f030000e4110000d8130000d112000027280000bc2a0000241300000bf5ae000b1100007311000078110000ef110000cd100000a7100000541100003f150000f01400000a1500003c150000c61400001f15000000150000a01500001f150000fe1400001a1400004f1400000d140000372d0000f42b0000992e0000e92a00006d15000024140000f2130000e814000031150000f114000009150000ef14000015ad0600000000006fb8a50100000000ff75b00100000000c45b070000000000e9e302000000000018b106000000000078a1060000000000d5eb1400000000004d97060000000000618c060000000000b8840600000000000e8b060000000000416e1400000000002708030000000000004506000000000074000000000000006a521f0000000000b500000000000000d2a2722e0000000023a5190000000000c0ed2c0000000000e0799407000000002603000000000000d81b050000000000ab61c50700000000352e000000000000ff2c000000000000760e671000000000d990c20700000000172d000000000000aea6bb01000000007f0b0000000000007a1dc00100000000b10f000000000000feffc607000000006d3100000000000078077808000000007ed1c11b00000000afc71b15000000004d5a7808000000004cda010000000000505ee63500000000f505000000000000bf0500000000000060fb0a0000000000580f0000000000007f7d0d0000000000c00b000000000000dd72090000000000b8040000000000005f22090000000000b6040000000000001c5a35020000000011728f0100000000", "value": "0x040000000000010000800000001000000000100000000100002000000020000000004000000400000000000000bb0600001d1b0000fd140000780a0000621e00000c070000c10a0000ee150000300000004e4800008a5900005700000098070000260800001c070000e3180000c11900006f1400008413b000510600009006000098060000ff0600002e0600003f0600003b060000660800005a080000af080000d3080000fb080000dc0800007d080000ad08000055080000aa080000ed070000b7070000b90700006d200000e21d00006d220000f81d000062080000e00a00004f080000fe08000083080000880800007e0800009308000030160300000000005d6fa20100000000aa86aa01000000000cc1030000000000a416020000000000cd23030000000000f8090300000000005317110000000000f200030000000000000603000000000028fa020000000000f807030000000000d11b1000000000005d84010000000000959b0200000000007500000000000000ec84160000000000b8000000000000002b035a2e00000000fbc4140000000000d3f1280000000000fb31940700000000390300000000000080710200000000003a2cc00700000000fd2d000000000000c52c00000000000023536110000000008a06bf0700000000e72c000000000000df3cb701000000004d0b000000000000074aba01000000009c0f0000000000000857c10700000000343100000000000007596e080000000082f5601e00000000b28ace1700000000e6845e0800000000fadb0100000000007eb5933800000000f505000000000000d6050000000000009e010800000000006e0f000000000000f9240a0000000000d10b000000000000fef7050000000000c00400000000000047e3050000000000c004000000000000bd303d0200000000bfa08c0100000000b8170200000000006cd4040000000000",
"docs": [ "docs": [
" Cost schedule and limits." " Cost schedule and limits."
] ]
@@ -4576,7 +4576,7 @@
}, },
{ {
"name": "CuratorDepositMax", "name": "CuratorDepositMax",
"type": 308, "type": 307,
"value": "0x010000c16ff28623000000000000000000", "value": "0x010000c16ff28623000000000000000000",
"docs": [ "docs": [
" Maximum amount of funds that should be placed in a deposit for making a proposal." " Maximum amount of funds that should be placed in a deposit for making a proposal."
@@ -4584,7 +4584,7 @@
}, },
{ {
"name": "CuratorDepositMin", "name": "CuratorDepositMin",
"type": 308, "type": 307,
"value": "0x0100407a10f35a00000000000000000000", "value": "0x0100407a10f35a00000000000000000000",
"docs": [ "docs": [
" Minimum amount of funds that should be placed in a deposit for making a proposal." " Minimum amount of funds that should be placed in a deposit for making a proposal."
@@ -4753,7 +4753,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 431, "key": 431,
"value": 573 "value": 574
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -4771,8 +4771,8 @@
"Blake2_128Concat", "Blake2_128Concat",
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 575, "key": 576,
"value": 576 "value": 577
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -4791,7 +4791,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 577 "value": 578
} }
}, },
"fallback": "0x0000000000000000000000000000000000000000", "fallback": "0x0000000000000000000000000000000000000000",
@@ -4808,6 +4808,16 @@
"type": 93 "type": 93
}, },
"constants": [ "constants": [
{
"name": "RemoveItemsLimit",
"type": 4,
"value": "0xe8030000",
"docs": [
" Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.",
"",
" Must be configured to result in a weight that makes each call fit in a block."
]
},
{ {
"name": "AssetDeposit", "name": "AssetDeposit",
"type": 6, "type": 6,
@@ -4860,7 +4870,7 @@
} }
], ],
"errors": { "errors": {
"type": 578 "type": 579
}, },
"index": 36 "index": 36
}, },
@@ -4937,7 +4947,7 @@
"name": "Lottery", "name": "Lottery",
"modifier": "Optional", "modifier": "Optional",
"type": { "type": {
"plain": 579 "plain": 580
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -4953,7 +4963,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 0, "key": 0,
"value": 580 "value": 581
} }
}, },
"fallback": "0x0000000000", "fallback": "0x0000000000",
@@ -4996,7 +5006,7 @@
"name": "CallIndices", "name": "CallIndices",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 581 "plain": 582
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -5007,7 +5017,7 @@
] ]
}, },
"calls": { "calls": {
"type": 301 "type": 300
}, },
"events": { "events": {
"type": 94 "type": 94
@@ -5041,7 +5051,7 @@
} }
], ],
"errors": { "errors": {
"type": 583 "type": 584
}, },
"index": 38 "index": 38
}, },
@@ -5054,7 +5064,7 @@
"name": "QueueTotals", "name": "QueueTotals",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 584 "plain": 585
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -5074,7 +5084,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 585 "value": 586
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5086,7 +5096,7 @@
"name": "ActiveTotal", "name": "ActiveTotal",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 588 "plain": 589
}, },
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000", "fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000",
"docs": [ "docs": [
@@ -5102,7 +5112,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 589 "value": 590
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5113,7 +5123,7 @@
] ]
}, },
"calls": { "calls": {
"type": 302 "type": 301
}, },
"events": { "events": {
"type": 96 "type": 96
@@ -5192,7 +5202,7 @@
} }
], ],
"errors": { "errors": {
"type": 590 "type": 591
}, },
"index": 39 "index": 39
}, },
@@ -5210,7 +5220,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 591 "value": 592
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5245,7 +5255,7 @@
"Blake2_128Concat", "Blake2_128Concat",
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 592, "key": 593,
"value": 31 "value": 31
} }
}, },
@@ -5284,7 +5294,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 83, "key": 83,
"value": 593 "value": 594
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5301,7 +5311,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 594 "value": 595
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5319,7 +5329,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 83, "key": 83,
"value": 595 "value": 596
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5337,8 +5347,8 @@
"Blake2_128Concat", "Blake2_128Concat",
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 596, "key": 597,
"value": 597 "value": 598
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5356,7 +5366,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 83, "key": 83,
"value": 598 "value": 599
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5384,7 +5394,7 @@
] ]
}, },
"calls": { "calls": {
"type": 305 "type": 304
}, },
"events": { "events": {
"type": 97 "type": 97
@@ -5457,7 +5467,7 @@
} }
], ],
"errors": { "errors": {
"type": 599 "type": 600
}, },
"index": 40 "index": 40
}, },
@@ -5475,7 +5485,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 600 "value": 601
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5538,7 +5548,7 @@
"name": "BlockTransactions", "name": "BlockTransactions",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 600 "plain": 601
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [] "docs": []
@@ -5557,14 +5567,14 @@
] ]
}, },
"calls": { "calls": {
"type": 309 "type": 308
}, },
"events": { "events": {
"type": 102 "type": 102
}, },
"constants": [], "constants": [],
"errors": { "errors": {
"type": 603 "type": 604
}, },
"index": 41 "index": 41
}, },
@@ -5582,7 +5592,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 0, "key": 0,
"value": 604 "value": 605
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5612,7 +5622,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 10, "key": 10,
"value": 605 "value": 606
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5625,7 +5635,7 @@
] ]
}, },
"calls": { "calls": {
"type": 311 "type": 310
}, },
"events": { "events": {
"type": 103 "type": 103
@@ -5633,7 +5643,7 @@
"constants": [ "constants": [
{ {
"name": "BagThresholds", "name": "BagThresholds",
"type": 606, "type": 607,
"value": "0x210300407a10f35a00006a70ccd4a96000009ef3397fbc660000a907ccd5306d00003d9a67fb0c740000a9bfa275577b0000a6fdf73217830000034f5d91538b0000132445651494000078081001629d00000302f63c45a70000392e6f7fc7b10000f59c23c6f2bc00004ae76aafd1c80000598a64846fd50000129fb243d8e200003f22e1ac18f1000033a4844c3e000100e2e51b895710010076a2c0b0732101006789b407a3330100793ed8d7f646010078131b81815b01000c1cf38a567101004437eeb68a8801009eb56d1434a10100335e9f156abb010067c3c7a545d701003218f340e1f40100de0b230d59140200699c11f5ca350200ad50a2c4565902009ae41c471e7f0200d0244e6745a70200f984ad51f2d10200ace7a7984dff0200a118325b822f0300ffa4c76dbe620300580bfd8532990300a9afce6812d30300109ad81b95100400d9caa519f551040038df488970970400bee1727949e10400cc73401fc62f0500b304f91831830500828bffb4d9db05001235383d143a0600a5b42a473a9e060036662d09ab080700f73aeab4cb790700b87e93d707f20700ffec23c0d1710800b84b0beca2f90800c9dcae7afc89090091752ba867230a0064f1cd4f76c60a003609be76c3730b0078655fdff32b0c00a407f5a5b6ef0c0052f61be7c5bf0d00da71bb70e79c0e000de9127eed870f001477987fb7811000ebee65ef328b11001269fe325ca5120033f8428b3fd113008ba57a13fa0f15001b2b60d0ba6216000d1d37d0c3ca17006c64fa5c6b4919002622c7411de01a00045bb9245c901c00233d83f6c25b1e00c8771c79064420003013fddef64a2200aa8b6e848172240082c096c4b2bc260016a3faebb72b29008296524ae1c12b00a636a865a4812e00d0e2d4509e6d31009c0a9a2796883400e4faafb27fd53700e6e64d367e573b000e4bd66de7113f0088b17db746084300b07def72603e470034de249635b84b00d48bd57b077a5000d0bd20ef5b885500b8f0467801e85a0010f88aee139e60003892925301b066009c95e4fc8e236d00b4126d10dffe730028b43e5976487b00a08a1c7a42078300b09ab083a0428b002846b2f463029400c861a42ade4e9d0050d23d4ae630a700805101a7e1b1b10038e501b2ccdbbc002016527844b9c800388924ba9055d50070ca35a4aebce200805fb1355cfbf0008035685d241f0001a0c3dcd96b361001d07862e87e50210160e852d09f7d330190662c5816cf460110274c3340575b01804be277a22971013082b92dfc5a880180d276075a01a101b0f511592b34bb014031745f580cd701802f6cee59a4f40140ff799b521814026075607d2986350260fde999a60d590200e5e71c91d07e02c0df2575cff2a602a07fd975899ad102a067009d4cf0fe0220dc29a1321f2f0320ff526b0a5562038088caa383c29803e05683fb5c9bd203401dd75d9516100400317e39a06e5104c0b071129de1960480b48c9192b1e00480e8124aad242f05c007ca7082858205007c13c45623db0540836fe869523906c0700f81466c9d0640f09c5017d00707c0e624b301e37807c0332ac78510f10780074ca1e4ca700800d5a9eb8c8bf80800a849588ed3880900804254142c220a80a25170e826c50a00e8d5fafc5e720b801df64e00792a0c80d4fe64f923ee0c006dd038ee19be0d001e90a494209b0e0010bf570e0a860f00da6a9db0b57f1000bf64afd810891100bb5b60cd17a31200f963f3aed6ce1300d5f004766a0d1500e099770202601600103d663bdfc71700de3e2d4158461900ecdbadb2d8dc1a0045c70007e38c1c00b8bde0fc11581e00ba5c2a211a402000407de46dcb462200dea55b03136e2400aaf1f3fcfcb7260014226f63b62629006492803e8fbc2b008486a6c7fc7b2e002cf05fc09b673100da63f7ed32823400f0b13fbdb5ce3700f291c41047503b00422a1a3c3c0a3f002c24212f20004300ac9342d4b6354700cc6ed7a400af4b00c4d022773e70500020017d89f57d5500f86387cef3dc5a008c4c7f7e54926000206207f284a36600cc1e05cb49166d00b42a7a70c4f07300d43a90e278397b0038f461ec53f78200a07264b9b1318b0048c9b3d464f09300007fe998bd3b9d0010058f17921ca70000dfaf7f469cb100e80c880bd6c4bc0058bdcb7ddca0c80038d18d37a03bd50030d55bf01ca1e200704ac01a0fdef0ffffffffffffffff", "value": "0x210300407a10f35a00006a70ccd4a96000009ef3397fbc660000a907ccd5306d00003d9a67fb0c740000a9bfa275577b0000a6fdf73217830000034f5d91538b0000132445651494000078081001629d00000302f63c45a70000392e6f7fc7b10000f59c23c6f2bc00004ae76aafd1c80000598a64846fd50000129fb243d8e200003f22e1ac18f1000033a4844c3e000100e2e51b895710010076a2c0b0732101006789b407a3330100793ed8d7f646010078131b81815b01000c1cf38a567101004437eeb68a8801009eb56d1434a10100335e9f156abb010067c3c7a545d701003218f340e1f40100de0b230d59140200699c11f5ca350200ad50a2c4565902009ae41c471e7f0200d0244e6745a70200f984ad51f2d10200ace7a7984dff0200a118325b822f0300ffa4c76dbe620300580bfd8532990300a9afce6812d30300109ad81b95100400d9caa519f551040038df488970970400bee1727949e10400cc73401fc62f0500b304f91831830500828bffb4d9db05001235383d143a0600a5b42a473a9e060036662d09ab080700f73aeab4cb790700b87e93d707f20700ffec23c0d1710800b84b0beca2f90800c9dcae7afc89090091752ba867230a0064f1cd4f76c60a003609be76c3730b0078655fdff32b0c00a407f5a5b6ef0c0052f61be7c5bf0d00da71bb70e79c0e000de9127eed870f001477987fb7811000ebee65ef328b11001269fe325ca5120033f8428b3fd113008ba57a13fa0f15001b2b60d0ba6216000d1d37d0c3ca17006c64fa5c6b4919002622c7411de01a00045bb9245c901c00233d83f6c25b1e00c8771c79064420003013fddef64a2200aa8b6e848172240082c096c4b2bc260016a3faebb72b29008296524ae1c12b00a636a865a4812e00d0e2d4509e6d31009c0a9a2796883400e4faafb27fd53700e6e64d367e573b000e4bd66de7113f0088b17db746084300b07def72603e470034de249635b84b00d48bd57b077a5000d0bd20ef5b885500b8f0467801e85a0010f88aee139e60003892925301b066009c95e4fc8e236d00b4126d10dffe730028b43e5976487b00a08a1c7a42078300b09ab083a0428b002846b2f463029400c861a42ade4e9d0050d23d4ae630a700805101a7e1b1b10038e501b2ccdbbc002016527844b9c800388924ba9055d50070ca35a4aebce200805fb1355cfbf0008035685d241f0001a0c3dcd96b361001d07862e87e50210160e852d09f7d330190662c5816cf460110274c3340575b01804be277a22971013082b92dfc5a880180d276075a01a101b0f511592b34bb014031745f580cd701802f6cee59a4f40140ff799b521814026075607d2986350260fde999a60d590200e5e71c91d07e02c0df2575cff2a602a07fd975899ad102a067009d4cf0fe0220dc29a1321f2f0320ff526b0a5562038088caa383c29803e05683fb5c9bd203401dd75d9516100400317e39a06e5104c0b071129de1960480b48c9192b1e00480e8124aad242f05c007ca7082858205007c13c45623db0540836fe869523906c0700f81466c9d0640f09c5017d00707c0e624b301e37807c0332ac78510f10780074ca1e4ca700800d5a9eb8c8bf80800a849588ed3880900804254142c220a80a25170e826c50a00e8d5fafc5e720b801df64e00792a0c80d4fe64f923ee0c006dd038ee19be0d001e90a494209b0e0010bf570e0a860f00da6a9db0b57f1000bf64afd810891100bb5b60cd17a31200f963f3aed6ce1300d5f004766a0d1500e099770202601600103d663bdfc71700de3e2d4158461900ecdbadb2d8dc1a0045c70007e38c1c00b8bde0fc11581e00ba5c2a211a402000407de46dcb462200dea55b03136e2400aaf1f3fcfcb7260014226f63b62629006492803e8fbc2b008486a6c7fc7b2e002cf05fc09b673100da63f7ed32823400f0b13fbdb5ce3700f291c41047503b00422a1a3c3c0a3f002c24212f20004300ac9342d4b6354700cc6ed7a400af4b00c4d022773e70500020017d89f57d5500f86387cef3dc5a008c4c7f7e54926000206207f284a36600cc1e05cb49166d00b42a7a70c4f07300d43a90e278397b0038f461ec53f78200a07264b9b1318b0048c9b3d464f09300007fe998bd3b9d0010058f17921ca70000dfaf7f469cb100e80c880bd6c4bc0058bdcb7ddca0c80038d18d37a03bd50030d55bf01ca1e200704ac01a0fdef0ffffffffffffffff",
"docs": [ "docs": [
" The list of thresholds separating the various bags.", " The list of thresholds separating the various bags.",
@@ -5683,7 +5693,7 @@
} }
], ],
"errors": { "errors": {
"type": 607 "type": 608
}, },
"index": 42 "index": 42
}, },
@@ -5696,7 +5706,7 @@
"name": "MigrationProcess", "name": "MigrationProcess",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 315 "plain": 314
}, },
"fallback": "0x0000000000000000000000000000", "fallback": "0x0000000000000000000000000000",
"docs": [ "docs": [
@@ -5710,7 +5720,7 @@
"name": "AutoLimits", "name": "AutoLimits",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 313 "plain": 312
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -5723,7 +5733,7 @@
"name": "SignedMigrationMaxLimits", "name": "SignedMigrationMaxLimits",
"modifier": "Optional", "modifier": "Optional",
"type": { "type": {
"plain": 314 "plain": 313
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -5735,7 +5745,7 @@
] ]
}, },
"calls": { "calls": {
"type": 312 "type": 311
}, },
"events": { "events": {
"type": 104 "type": 104
@@ -5819,7 +5829,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 83, "key": 83,
"value": 609 "value": 610
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5864,7 +5874,7 @@
] ]
}, },
"calls": { "calls": {
"type": 318 "type": 317
}, },
"events": { "events": {
"type": 107 "type": 107
@@ -5888,7 +5898,7 @@
} }
], ],
"errors": { "errors": {
"type": 611 "type": 612
}, },
"index": 44 "index": 44
}, },
@@ -5917,7 +5927,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 612 "value": 613
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5934,7 +5944,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 88, "key": 88,
"value": 620 "value": 621
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -5965,7 +5975,7 @@
] ]
}, },
"calls": { "calls": {
"type": 319 "type": 318
}, },
"events": { "events": {
"type": 108 "type": 108
@@ -6008,7 +6018,7 @@
}, },
{ {
"name": "Tracks", "name": "Tracks",
"type": 621, "type": 622,
"value": "0x04000010726f6f74010000000a000000000000000000000000000000040000000400000002000000040000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b0000000000ca9a3b", "value": "0x04000010726f6f74010000000a000000000000000000000000000000040000000400000002000000040000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b0000000000ca9a3b",
"docs": [ "docs": [
" Information concerning the different referendum tracks." " Information concerning the different referendum tracks."
@@ -6016,7 +6026,7 @@
} }
], ],
"errors": { "errors": {
"type": 627 "type": 628
}, },
"index": 45 "index": 45
}, },
@@ -6024,17 +6034,28 @@
"name": "Remark", "name": "Remark",
"storage": null, "storage": null,
"calls": { "calls": {
"type": 321 "type": 320
}, },
"events": { "events": {
"type": 349 "type": 349
}, },
"constants": [], "constants": [],
"errors": { "errors": {
"type": 628 "type": 629
}, },
"index": 46 "index": 46
}, },
{
"name": "RootTesting",
"storage": null,
"calls": {
"type": 321
},
"events": null,
"constants": [],
"errors": null,
"index": 47
},
{ {
"name": "ConvictionVoting", "name": "ConvictionVoting",
"storage": { "storage": {
@@ -6049,8 +6070,8 @@
"Twox64Concat", "Twox64Concat",
"Twox64Concat" "Twox64Concat"
], ],
"key": 629, "key": 630,
"value": 630 "value": 631
} }
}, },
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
@@ -6068,7 +6089,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 0, "key": 0,
"value": 638 "value": 639
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6111,9 +6132,9 @@
} }
], ],
"errors": { "errors": {
"type": 641 "type": 642
}, },
"index": 47 "index": 48
}, },
{ {
"name": "Whitelist", "name": "Whitelist",
@@ -6145,9 +6166,9 @@
}, },
"constants": [], "constants": [],
"errors": { "errors": {
"type": 642 "type": 643
}, },
"index": 48 "index": 49
}, },
{ {
"name": "AllianceMotion", "name": "AllianceMotion",
@@ -6158,7 +6179,7 @@
"name": "Proposals", "name": "Proposals",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 643 "plain": 644
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -6242,9 +6263,9 @@
}, },
"constants": [], "constants": [],
"errors": { "errors": {
"type": 644 "type": 645
}, },
"index": 49 "index": 50
}, },
{ {
"name": "Alliance", "name": "Alliance",
@@ -6260,16 +6281,14 @@
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
" The IPFS CID of the alliance rule.", " The IPFS CID of the alliance rule.",
" Founders and fellows can propose a new rule with a super-majority.", " Fellows can propose a new rule with a super-majority."
"",
" Any founder has a special one-vote veto right to the rule setting."
] ]
}, },
{ {
"name": "Announcements", "name": "Announcements",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 645 "plain": 646
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -6301,8 +6320,8 @@
"hashers": [ "hashers": [
"Twox64Concat" "Twox64Concat"
], ],
"key": 647, "key": 648,
"value": 648 "value": 649
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6344,7 +6363,7 @@
"name": "UnscrupulousWebsites", "name": "UnscrupulousWebsites",
"modifier": "Default", "modifier": "Default",
"type": { "type": {
"plain": 649 "plain": 650
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -6397,15 +6416,14 @@
"type": 4, "type": 4,
"value": "0x64000000", "value": "0x64000000",
"docs": [ "docs": [
" The maximum number of members per member role. Should not exceed the sum of", " The maximum number of members per member role."
" `MaxFounders` and `MaxFellows`."
] ]
} }
], ],
"errors": { "errors": {
"type": 651 "type": 652
}, },
"index": 50 "index": 51
}, },
{ {
"name": "NominationPools", "name": "NominationPools",
@@ -6485,7 +6503,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 0, "key": 0,
"value": 652 "value": 653
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6513,7 +6531,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 4, "key": 4,
"value": 655 "value": 656
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6541,7 +6559,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 4, "key": 4,
"value": 657 "value": 658
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6570,7 +6588,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 4, "key": 4,
"value": 658 "value": 659
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6599,7 +6617,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 4, "key": 4,
"value": 664 "value": 665
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6698,9 +6716,9 @@
} }
], ],
"errors": { "errors": {
"type": 665 "type": 666
}, },
"index": 51 "index": 52
}, },
{ {
"name": "RankedPolls", "name": "RankedPolls",
@@ -6727,7 +6745,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 667 "value": 668
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6744,7 +6762,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 88, "key": 88,
"value": 669 "value": 670
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6818,7 +6836,7 @@
}, },
{ {
"name": "Tracks", "name": "Tracks",
"type": 621, "type": 622,
"value": "0x04000010726f6f74010000000a000000000000000000000000000000040000000400000002000000040000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b0000000000ca9a3b", "value": "0x04000010726f6f74010000000a000000000000000000000000000000040000000400000002000000040000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b0000000000ca9a3b",
"docs": [ "docs": [
" Information concerning the different referendum tracks." " Information concerning the different referendum tracks."
@@ -6826,9 +6844,9 @@
} }
], ],
"errors": { "errors": {
"type": 670 "type": 671
}, },
"index": 52 "index": 53
}, },
{ {
"name": "RankedCollective", "name": "RankedCollective",
@@ -6862,7 +6880,7 @@
"Twox64Concat" "Twox64Concat"
], ],
"key": 0, "key": 0,
"value": 671 "value": 672
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6879,7 +6897,7 @@
"Twox64Concat", "Twox64Concat",
"Twox64Concat" "Twox64Concat"
], ],
"key": 672, "key": 673,
"value": 4 "value": 4
} }
}, },
@@ -6897,7 +6915,7 @@
"Twox64Concat", "Twox64Concat",
"Twox64Concat" "Twox64Concat"
], ],
"key": 673, "key": 674,
"value": 0 "value": 0
} }
}, },
@@ -6934,7 +6952,7 @@
"Blake2_128Concat" "Blake2_128Concat"
], ],
"key": 4, "key": 4,
"value": 674 "value": 675
} }
}, },
"fallback": "0x00", "fallback": "0x00",
@@ -6950,9 +6968,9 @@
}, },
"constants": [], "constants": [],
"errors": { "errors": {
"type": 675 "type": 676
}, },
"index": 53 "index": 54
}, },
{ {
"name": "FastUnstake", "name": "FastUnstake",
@@ -6963,7 +6981,7 @@
"name": "Head", "name": "Head",
"modifier": "Optional", "modifier": "Optional",
"type": { "type": {
"plain": 676 "plain": 677
}, },
"fallback": "0x00", "fallback": "0x00",
"docs": [ "docs": [
@@ -7024,60 +7042,70 @@
"events": { "events": {
"type": 363 "type": 363
}, },
"constants": [], "constants": [
{
"name": "Deposit",
"type": 6,
"value": "0x00407a10f35a00000000000000000000",
"docs": [
" Deposit to take for unstaking, to make sure we're able to slash the it in order to cover",
" the costs of resources on unsuccessful unstake."
]
}
],
"errors": { "errors": {
"type": 679 "type": 680
}, },
"index": 54 "index": 55
} }
], ],
"extrinsic": { "extrinsic": {
"type": 680, "type": 681,
"version": 4, "version": 4,
"signedExtensions": [ "signedExtensions": [
{ {
"identifier": "CheckNonZeroSender", "identifier": "CheckNonZeroSender",
"type": 685, "type": 686,
"additionalSigned": 31 "additionalSigned": 31
}, },
{ {
"identifier": "CheckSpecVersion", "identifier": "CheckSpecVersion",
"type": 686,
"additionalSigned": 4
},
{
"identifier": "CheckTxVersion",
"type": 687, "type": 687,
"additionalSigned": 4 "additionalSigned": 4
}, },
{ {
"identifier": "CheckGenesis", "identifier": "CheckTxVersion",
"type": 688, "type": 688,
"additionalSigned": 11 "additionalSigned": 4
}, },
{ {
"identifier": "CheckMortality", "identifier": "CheckGenesis",
"type": 689, "type": 689,
"additionalSigned": 11 "additionalSigned": 11
}, },
{ {
"identifier": "CheckNonce", "identifier": "CheckMortality",
"type": 691, "type": 690,
"additionalSigned": 31 "additionalSigned": 11
}, },
{ {
"identifier": "CheckWeight", "identifier": "CheckNonce",
"type": 692, "type": 692,
"additionalSigned": 31 "additionalSigned": 31
}, },
{ {
"identifier": "ChargeAssetTxPayment", "identifier": "CheckWeight",
"type": 693, "type": 693,
"additionalSigned": 31 "additionalSigned": 31
},
{
"identifier": "ChargeAssetTxPayment",
"type": 694,
"additionalSigned": 31
} }
] ]
}, },
"type": 694 "type": 695
} }
} }
} }
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 // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.9.2' };
+9 -9
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs" "./detectPackage.cjs"
], ],
"type": "module", "type": "module",
"version": "9.8.1", "version": "9.9.2",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.1", "@babel/runtime": "^7.20.1",
"@polkadot/keyring": "^10.1.12", "@polkadot/keyring": "^10.1.14",
"@polkadot/types-augment": "9.8.1", "@polkadot/types-augment": "9.9.2",
"@polkadot/types-codec": "9.8.1", "@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.8.1", "@polkadot/types-create": "9.9.2",
"@polkadot/util": "^10.1.12", "@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.12", "@polkadot/util-crypto": "^10.1.14",
"rxjs": "^7.5.7" "rxjs": "^7.5.7"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^10.1.12", "@polkadot/keyring": "^10.1.14",
"@polkadot/types-support": "9.8.1" "@polkadot/types-support": "9.9.2"
} }
} }
@@ -19,11 +19,15 @@ const tx = decorateExtrinsics(registry, metadata.asLatest, metadata.version);
describe('ExtrinsicV4', (): void => { describe('ExtrinsicV4', (): void => {
it('constructs a sane Uint8Array (default)', (): void => { it('constructs a sane Uint8Array (default)', (): void => {
expect( const xt = new Extrinsic(registry);
new Extrinsic(registry).toU8a()
).toEqual(new Uint8Array([ // expect(`${xt.method.section}${xt.method.method}`).toEqual('system.fillBlock');
expect(`${xt.method.section}.${xt.method.method}`).toEqual('system.remark');
expect(xt.toU8a()).toEqual(new Uint8Array([
0, 0, // index 0, 0, // index
0, 0, 0, 0 // fillBlock Perbill // 0, 0, 0, 0 // fillBlock, Perbill
0 // remark, Vec<u8>
])); ]));
}); });
@@ -27,6 +27,16 @@ export default {
weight: 'Weight', weight: 'Weight',
class: 'DispatchClass', class: 'DispatchClass',
partialFee: 'Balance' partialFee: 'Balance'
},
RuntimeDispatchInfoV1: {
weight: 'WeightV1',
class: 'DispatchClass',
partialFee: 'Balance'
},
RuntimeDispatchInfoV2: {
weight: 'WeightV2',
class: 'DispatchClass',
partialFee: 'Balance'
} }
} }
} as Definitions; } as Definitions;
+6 -1
View File
@@ -5,6 +5,8 @@ import type { DefinitionsRpc } from '../../types';
export const rpc: DefinitionsRpc = { export const rpc: DefinitionsRpc = {
queryFeeDetails: { queryFeeDetails: {
// NOTE: Not deprecated (yet) in Substrate, but it is the intent to do so
deprecated: 'Use `api.call.transactionPaymentApi.queryFeeDetails` instead',
description: 'Query the detailed fee of a given encoded extrinsic', description: 'Query the detailed fee of a given encoded extrinsic',
params: [ params: [
{ {
@@ -21,6 +23,8 @@ export const rpc: DefinitionsRpc = {
type: 'FeeDetails' type: 'FeeDetails'
}, },
queryInfo: { queryInfo: {
// NOTE: Not deprecated (yet) in Substrate, but it is the intent to do so
deprecated: 'Use `api.call.transactionPaymentApi.queryInfo` instead',
description: 'Retrieves the fee information for an encoded extrinsic', description: 'Retrieves the fee information for an encoded extrinsic',
params: [ params: [
{ {
@@ -34,6 +38,7 @@ export const rpc: DefinitionsRpc = {
type: 'BlockHash' type: 'BlockHash'
} }
], ],
type: 'RuntimeDispatchInfo' // NOTE: Stuck on V1 forever (at least for the time being)
type: 'RuntimeDispatchInfoV1'
} }
}; };
@@ -19,23 +19,6 @@ const V1_V2_SHARED_PAY: Record<string, DefinitionCall> = {
} }
], ],
type: 'FeeDetails' type: 'FeeDetails'
},
query_info: {
description: 'The transaction info',
params: [
{
name: 'uxt',
type: 'Extrinsic'
},
{
name: 'len',
type: 'u32'
}
],
// NOTE: Since we detect the Weight type based on the runtime, we can have the same
// result for V1 & V2 (additionally, the v2 API came a bit later, so we don't want
// to fix this to V1 weights, since _some_ chains may be incorrect)
type: 'RuntimeDispatchInfo'
} }
}; };
@@ -53,41 +36,93 @@ const V1_V2_SHARED_CALL: Record<string, DefinitionCall> = {
} }
], ],
type: 'FeeDetails' type: 'FeeDetails'
},
query_call_info: {
description: 'The call info',
params: [
{
name: 'call',
type: 'Call'
},
{
name: 'len',
type: 'u32'
}
],
type: 'RuntimeDispatchInfo'
} }
}; };
export const runtime: DefinitionsCall = { export const runtime: DefinitionsCall = {
TransactionPaymentApi: [ TransactionPaymentApi: [
{ {
methods: objectSpread({}, V1_V2_SHARED_PAY), methods: objectSpread({
query_info: {
description: 'The transaction info',
params: [
{
name: 'uxt',
type: 'Extrinsic'
},
{
name: 'len',
type: 'u32'
}
],
type: 'RuntimeDispatchInfo'
}
}, V1_V2_SHARED_PAY),
version: 2 version: 2
}, },
{ {
methods: objectSpread({}, V1_V2_SHARED_PAY), methods: objectSpread({
query_info: {
description: 'The transaction info',
params: [
{
name: 'uxt',
type: 'Extrinsic'
},
{
name: 'len',
type: 'u32'
}
],
// NOTE: _Should_ be V1 (as per current Substrate), however the interface was changed mid-flight between
// versions. So we have some of each depending on runtime. (We do detect the weight type, so correct)
// type: 'RuntimeDispatchInfoV1'
type: 'RuntimeDispatchInfo'
}
}, V1_V2_SHARED_PAY),
version: 1 version: 1
} }
], ],
TransactionPaymentCallApi: [ TransactionPaymentCallApi: [
{ {
methods: objectSpread({}, V1_V2_SHARED_CALL), methods: objectSpread({
query_call_info: {
description: 'The call info',
params: [
{
name: 'call',
type: 'Call'
},
{
name: 'len',
type: 'u32'
}
],
type: 'RuntimeDispatchInfo'
}
}, V1_V2_SHARED_CALL),
version: 2 version: 2
}, },
{ {
methods: objectSpread({}, V1_V2_SHARED_CALL), methods: objectSpread({
query_call_info: {
description: 'The call info',
params: [
{
name: 'call',
type: 'Call'
},
{
name: 'len',
type: 'u32'
}
],
// NOTE: _Should_ be V1 (as per current Substrate), however the interface was changed mid-flight between
// versions. So we have some of each depending on runtime. (We do detect the weight type, so correct)
// type: 'RuntimeDispatchInfoV1'
type: 'RuntimeDispatchInfo'
}
}, V1_V2_SHARED_CALL),
version: 1 version: 1
} }
] ]
+15 -1
View File
@@ -2,7 +2,7 @@
/* eslint-disable */ /* eslint-disable */
import type { Option, Struct } from '@polkadot/types-codec'; import type { Option, Struct } from '@polkadot/types-codec';
import type { Balance, Weight } from '@polkadot/types/interfaces/runtime'; import type { Balance, Weight, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime';
import type { DispatchClass } from '@polkadot/types/interfaces/system'; import type { DispatchClass } from '@polkadot/types/interfaces/system';
/** @name FeeDetails */ /** @name FeeDetails */
@@ -24,4 +24,18 @@ export interface RuntimeDispatchInfo extends Struct {
readonly partialFee: Balance; readonly partialFee: Balance;
} }
/** @name RuntimeDispatchInfoV1 */
export interface RuntimeDispatchInfoV1 extends Struct {
readonly weight: WeightV1;
readonly class: DispatchClass;
readonly partialFee: Balance;
}
/** @name RuntimeDispatchInfoV2 */
export interface RuntimeDispatchInfoV2 extends Struct {
readonly weight: WeightV2;
readonly class: DispatchClass;
readonly partialFee: Balance;
}
export type PHANTOM_PAYMENT = 'payment'; export type PHANTOM_PAYMENT = 'payment';
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.8.1' }; export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.9.2' };
@@ -84,6 +84,8 @@ function decodeStorageKey (value?: string | Uint8Array | StorageKey | StorageEnt
} }
return { return {
// This is unknown[] above (also where assigned), the linter thinks it is any[] here
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
key: fn(...args), key: fn(...args),
method: fn.method, method: fn.method,
section: fn.section section: fn.section
+445 -413
View File
File diff suppressed because it is too large Load Diff