Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44590fd235 | ||
|
|
fdd4d3a16d | ||
|
|
c8307138a9 | ||
|
|
6e5697fc8e | ||
|
|
0dc114227c | ||
|
|
006c6b02b1 | ||
|
|
6984329a2b | ||
|
|
954a6f11de | ||
|
|
9247a40a15 | ||
|
|
85ddffde61 | ||
|
|
4dff632fa6 | ||
|
|
a7e3e15a7a | ||
|
|
385068e542 | ||
|
|
210454dfe6 | ||
|
|
8264c5db11 | ||
|
|
9e66524714 | ||
|
|
77202c4dd3 | ||
|
|
9d61aaa1f3 | ||
|
|
a147a7c769 | ||
|
|
a8b180b387 | ||
|
|
266427c8f4 | ||
|
|
e94af85e69 | ||
|
|
9be16a40ef | ||
|
|
2b92fd94af | ||
|
|
0b6f786108 | ||
|
|
b0a3c206ab | ||
|
|
98ae45c64b | ||
|
|
116501f89a |
+25
-1
@@ -1,10 +1,34 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 9.4.1 Sep 17, 2022
|
||||
|
||||
Contributed:
|
||||
|
||||
- Update `@substrate/connect` to latest (Thanks to https://github.com/wirednkod)
|
||||
|
||||
Changes:
|
||||
|
||||
- Cater for v1.5 Weight JSON representation (via RPC)
|
||||
- Polkadot 9270, Kusama 9280 & Westend 9290 upgrade blocks
|
||||
- Update to latest Substrate, Polkadot & Kusama metadata
|
||||
|
||||
|
||||
## 9.3.3 Sep 6, 2022
|
||||
|
||||
Contributed:
|
||||
|
||||
- Ensure JS reserved words are aliassed in types (Thanks to https://github.com/dqbd)
|
||||
|
||||
Changes:
|
||||
|
||||
- Fix and adjust tests for `AccountId{32, 33}`
|
||||
|
||||
|
||||
## 9.3.2 Sep 4, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
- Cater for v2 Weight types (structure to inner value)
|
||||
- Cater for v1.5 Weight types (structure to inner value)
|
||||
- Westend 9280 & Kusama 9271 upgrade blocks
|
||||
- Update to latest Substrate, Polkadot & Kusama metadata
|
||||
|
||||
|
||||
+3
-2
@@ -1,4 +1,4 @@
|
||||
3217 Jaco 9.3.2 (#5202)
|
||||
3229 Jaco 9.4.1 (#5225)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
@@ -7,7 +7,7 @@
|
||||
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
||||
11 Ian He HttpProvider support clone() (#3949)
|
||||
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
||||
9 Nikos Kontakis Bump substrate-connect to 0.7.11 (#5173)
|
||||
10 Nikos Kontakis Bump substrate connect to 0.7.12 (#5214)
|
||||
5 Chevdor Fix metadata package link (#3458)
|
||||
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
||||
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
||||
@@ -55,6 +55,7 @@
|
||||
1 Daniel Maricic Fixed typo in README (#2402)
|
||||
1 Daniel Savu fix: Generate custom type definitions (#4224)
|
||||
1 David Don't log full error (#2952)
|
||||
1 David Duong Avoid reserved words during named enum fields augmentation (#5203)
|
||||
1 Denis Tsai realign AccountKey20Junction to polkadot xcm's Junction enum (#3770)
|
||||
1 djuanito.eth Update fees to current constants (#2320)
|
||||
1 Drew Stone Update evm definitions to include vicinity (#2279)
|
||||
|
||||
+8
-8
@@ -11,10 +11,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"versions": {
|
||||
"git": "9.3.2",
|
||||
"npm": "9.3.2"
|
||||
"git": "9.4.1",
|
||||
"npm": "9.4.1"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
@@ -36,15 +36,15 @@
|
||||
"test:one": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --detectOpenHandles --forceExit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.18.13",
|
||||
"@babel/core": "^7.19.1",
|
||||
"@babel/register": "^7.18.9",
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/dev": "^0.67.120",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/dev": "^0.67.130",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/jest": "^29.0.0",
|
||||
"@types/jest": "^29.0.3",
|
||||
"copyfiles": "^2.4.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"typescript": "^4.8.2"
|
||||
"typescript": "^4.8.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api-base": "9.3.2",
|
||||
"@polkadot/rpc-augment": "9.3.2",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-augment": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7"
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/api-base": "9.4.1",
|
||||
"@polkadot/rpc-augment": "9.4.1",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-augment": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "9.3.2"
|
||||
"@polkadot/types-support": "9.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec } from '@polkadot/types-codec/types';
|
||||
import type { Perbill, Percent, Permill, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -258,6 +258,9 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* take place over multiple blocks.
|
||||
**/
|
||||
maxElectingVoters: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxLength: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxVotesPerVoter: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxWeight: Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The priority of the unsigned transaction submitted in the unsigned-phase
|
||||
**/
|
||||
@@ -772,7 +775,7 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
/**
|
||||
* The weight of runtime database operations the runtime can invoke.
|
||||
**/
|
||||
dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
||||
dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The designated SS58 prefix of this chain.
|
||||
*
|
||||
|
||||
@@ -752,6 +752,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The target is invalid.
|
||||
**/
|
||||
InvalidTarget: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The provided judgement was for a different identity.
|
||||
**/
|
||||
JudgementForDifferentIdentity: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Judgement given.
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, KusamaRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportDispatchDispatchInfo, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -1036,11 +1036,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
/**
|
||||
* An extrinsic failed.
|
||||
**/
|
||||
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo }>;
|
||||
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
||||
/**
|
||||
* An extrinsic completed successfully.
|
||||
**/
|
||||
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchInfo: FrameSupportWeightsDispatchInfo }>;
|
||||
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
||||
/**
|
||||
* An account was reaped.
|
||||
**/
|
||||
|
||||
@@ -11,7 +11,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportWeightsPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KusamaRuntimeSessionKeys, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||
@@ -1739,7 +1739,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* The current weight for the block.
|
||||
**/
|
||||
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Digest of the current block, also part of the block header.
|
||||
**/
|
||||
|
||||
@@ -1670,6 +1670,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `target`: the account whose identity the judgement is upon. This must be an account
|
||||
* with a registered identity.
|
||||
* - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
|
||||
* - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.
|
||||
*
|
||||
* Emits `JudgementGiven` if successful.
|
||||
*
|
||||
@@ -1681,7 +1682,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - One event.
|
||||
* # </weight>
|
||||
**/
|
||||
provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement]>;
|
||||
provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
|
||||
/**
|
||||
* Remove the sender as a sub-account.
|
||||
*
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec } from '@polkadot/types-codec/types';
|
||||
import type { Perbill, Percent, Permill, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -258,6 +258,9 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* take place over multiple blocks.
|
||||
**/
|
||||
maxElectingVoters: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxLength: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxVotesPerVoter: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxWeight: Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The priority of the unsigned transaction submitted in the unsigned-phase
|
||||
**/
|
||||
@@ -639,7 +642,7 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
/**
|
||||
* The weight of runtime database operations the runtime can invoke.
|
||||
**/
|
||||
dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
||||
dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The designated SS58 prefix of this chain.
|
||||
*
|
||||
|
||||
@@ -713,6 +713,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The target is invalid.
|
||||
**/
|
||||
InvalidTarget: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The provided judgement was for a different identity.
|
||||
**/
|
||||
JudgementForDifferentIdentity: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Judgement given.
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportDispatchDispatchInfo, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -911,11 +911,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
/**
|
||||
* An extrinsic failed.
|
||||
**/
|
||||
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo }>;
|
||||
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
||||
/**
|
||||
* An extrinsic completed successfully.
|
||||
**/
|
||||
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchInfo: FrameSupportWeightsDispatchInfo }>;
|
||||
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
||||
/**
|
||||
* An account was reaped.
|
||||
**/
|
||||
|
||||
@@ -11,7 +11,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportWeightsPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||
@@ -1619,7 +1619,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* The current weight for the block.
|
||||
**/
|
||||
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Digest of the current block, also part of the block header.
|
||||
**/
|
||||
|
||||
@@ -1619,6 +1619,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `target`: the account whose identity the judgement is upon. This must be an account
|
||||
* with a registered identity.
|
||||
* - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
|
||||
* - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.
|
||||
*
|
||||
* Emits `JudgementGiven` if successful.
|
||||
*
|
||||
@@ -1630,7 +1631,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - One event.
|
||||
* # </weight>
|
||||
**/
|
||||
provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement]>;
|
||||
provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
|
||||
/**
|
||||
* Remove the sender as a sub-account.
|
||||
*
|
||||
|
||||
@@ -7,9 +7,9 @@ import '@polkadot/api-base/types/consts';
|
||||
|
||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec } from '@polkadot/types-codec/types';
|
||||
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { Perbill, Percent, Permill, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -419,6 +419,9 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* take place over multiple blocks.
|
||||
**/
|
||||
maxElectingVoters: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxLength: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxVotesPerVoter: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxWeight: Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The priority of the unsigned transaction submitted in the unsigned-phase
|
||||
**/
|
||||
@@ -779,6 +782,10 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* The minimum amount to be used as a deposit for a public referendum proposal.
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Information concerning the different referendum tracks.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
@@ -844,6 +851,10 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* The minimum amount to be used as a deposit for a public referendum proposal.
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Information concerning the different referendum tracks.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
@@ -997,7 +1008,7 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
/**
|
||||
* The weight of runtime database operations the runtime can invoke.
|
||||
**/
|
||||
dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
||||
dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The designated SS58 prefix of this chain.
|
||||
*
|
||||
|
||||
@@ -1000,6 +1000,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The target is invalid.
|
||||
**/
|
||||
InvalidTarget: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The provided judgement was for a different identity.
|
||||
**/
|
||||
JudgementForDifferentIdentity: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Judgement given.
|
||||
**/
|
||||
|
||||
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPostDispatchInfo, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -17,9 +17,9 @@ declare module '@polkadot/api-base/types/events' {
|
||||
interface AugmentedEvents<ApiType extends ApiTypes> {
|
||||
alliance: {
|
||||
/**
|
||||
* Alliance disbanded.
|
||||
* Alliance disbanded. Includes number deleted members and unreserved deposits.
|
||||
**/
|
||||
AllianceDisbanded: AugmentedEvent<ApiType, [members: Vec<AccountId32>, proposals: Vec<H256>], { members: Vec<AccountId32>, proposals: Vec<H256> }>;
|
||||
AllianceDisbanded: AugmentedEvent<ApiType, [votingMembers: u32, allyMembers: u32, unreserved: u32], { votingMembers: u32, allyMembers: u32, unreserved: u32 }>;
|
||||
/**
|
||||
* An ally has been elevated to Fellow.
|
||||
**/
|
||||
@@ -314,6 +314,16 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
contracts: {
|
||||
/**
|
||||
* A contract was called either by a plain account or another contract.
|
||||
*
|
||||
* # Note
|
||||
*
|
||||
* Please keep in mind that like all events this is only emitted for successful
|
||||
* calls. This is because on failure all storage changes including events are
|
||||
* rolled back.
|
||||
**/
|
||||
Called: AugmentedEvent<ApiType, [caller: AccountId32, contract: AccountId32], { caller: AccountId32, contract: AccountId32 }>;
|
||||
/**
|
||||
* A code with the specified hash was removed.
|
||||
**/
|
||||
@@ -330,6 +340,16 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A custom event emitted by the contract.
|
||||
**/
|
||||
ContractEmitted: AugmentedEvent<ApiType, [contract: AccountId32, data: Bytes], { contract: AccountId32, data: Bytes }>;
|
||||
/**
|
||||
* A contract delegate called a code hash.
|
||||
*
|
||||
* # Note
|
||||
*
|
||||
* Please keep in mind that like all events this is only emitted for successful
|
||||
* calls. This is because on failure all storage changes including events are
|
||||
* rolled back.
|
||||
**/
|
||||
DelegateCalled: AugmentedEvent<ApiType, [contract: AccountId32, codeHash: H256], { contract: AccountId32, codeHash: H256 }>;
|
||||
/**
|
||||
* Contract deployed by address at the specified address.
|
||||
**/
|
||||
@@ -1249,11 +1269,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
/**
|
||||
* An extrinsic failed.
|
||||
**/
|
||||
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportWeightsDispatchInfo }>;
|
||||
ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
||||
/**
|
||||
* An extrinsic completed successfully.
|
||||
**/
|
||||
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportWeightsDispatchInfo], { dispatchInfo: FrameSupportWeightsDispatchInfo }>;
|
||||
ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo }>;
|
||||
/**
|
||||
* An account was reaped.
|
||||
**/
|
||||
@@ -1594,7 +1614,7 @@ declare module '@polkadot/api-base/types/events' {
|
||||
};
|
||||
whitelist: {
|
||||
CallWhitelisted: AugmentedEvent<ApiType, [callHash: H256], { callHash: H256 }>;
|
||||
WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportWeightsPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], { callHash: H256, result: Result<FrameSupportWeightsPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }>;
|
||||
WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], { callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }>;
|
||||
WhitelistedCallRemoved: AugmentedEvent<ApiType, [callHash: H256], { callHash: H256 }>;
|
||||
/**
|
||||
* Generic event
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
|
||||
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportWeightsPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageDeletedContract, PalletContractsStorageRawContractInfo, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduledV3, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||
@@ -1537,7 +1537,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* The current weight for the block.
|
||||
**/
|
||||
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Digest of the current block, also part of the block header.
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
|
||||
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceForceSetWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, 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 } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, 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 } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||
@@ -33,27 +33,29 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Requires the sender to be a founder or fellow.
|
||||
**/
|
||||
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<Weight> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<Weight>, Compact<u32>]>;
|
||||
/**
|
||||
* Disband the Alliance, remove all active members and unreserve deposits.
|
||||
*
|
||||
* Witness data must be set.
|
||||
**/
|
||||
disband: AugmentedSubmittable<(witness: PalletAllianceDisbandWitness | { votingMembers?: any; allyMembers?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceDisbandWitness]>;
|
||||
/**
|
||||
* Elevate an ally to fellow.
|
||||
**/
|
||||
elevateAlly: AugmentedSubmittable<(ally: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||
/**
|
||||
* Initialize the founders, fellows, and allies.
|
||||
* Founders must be provided to initialize the Alliance.
|
||||
*
|
||||
* Provide witness data to disband current Alliance before initializing new.
|
||||
* Alliance must be empty or disband first to initialize new.
|
||||
*
|
||||
* Alliance is only disbanded if new member set is not provided.
|
||||
*
|
||||
* Must be called by the Root origin.
|
||||
**/
|
||||
forceSetMembers: AugmentedSubmittable<(founders: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], witness: PalletAllianceForceSetWitness | { proposals?: any; votingMembers?: any; allyMembers?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>, Vec<AccountId32>, PalletAllianceForceSetWitness]>;
|
||||
/**
|
||||
* As a member, give a retirement notice and start a retirement period required to pass in
|
||||
* order to retire.
|
||||
**/
|
||||
giveRetirementNotice: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Initialize the Alliance, onboard founders, fellows, and allies.
|
||||
*
|
||||
* Founders must be not empty.
|
||||
* The Alliance must be empty.
|
||||
* 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>]>;
|
||||
/**
|
||||
* Submit oneself for candidacy. A fixed deposit is reserved.
|
||||
**/
|
||||
@@ -2234,6 +2236,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `target`: the account whose identity the judgement is upon. This must be an account
|
||||
* with a registered identity.
|
||||
* - `judgement`: the judgement of the registrar of index `reg_index` about `target`.
|
||||
* - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.
|
||||
*
|
||||
* Emits `JudgementGiven` if successful.
|
||||
*
|
||||
@@ -2245,7 +2248,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - One event.
|
||||
* # </weight>
|
||||
**/
|
||||
provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement]>;
|
||||
provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
|
||||
/**
|
||||
* Remove the sender as a sub-account.
|
||||
*
|
||||
@@ -4980,7 +4983,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
/**
|
||||
* Approve an item to be transferred by a delegated third-party account.
|
||||
*
|
||||
* Origin must be Signed and must be the owner of the `item`.
|
||||
* The origin must conform to `ForceOrigin` or must be `Signed` and the sender must be
|
||||
* either the owner of the `item` or the admin of the collection.
|
||||
*
|
||||
* - `collection`: The collection of the item to be approved for delegated transfer.
|
||||
* - `item`: The item of the item to be approved for delegated transfer.
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/rpc-core": "9.3.2",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/rpc-core": "9.4.1",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"rxjs": "^7.5.6"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api": "9.3.2",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/types-create": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@polkadot/util-crypto": "^10.1.7",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/api": "9.4.1",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/types-create": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"@polkadot/util-crypto": "^10.1.8",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "9.3.2",
|
||||
"@polkadot/keyring": "^10.1.7"
|
||||
"@polkadot/api-augment": "9.4.1",
|
||||
"@polkadot/keyring": "^10.1.8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,25 +20,25 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api": "9.3.2",
|
||||
"@polkadot/api-augment": "9.3.2",
|
||||
"@polkadot/api-base": "9.3.2",
|
||||
"@polkadot/rpc-core": "9.3.2",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@polkadot/util-crypto": "^10.1.7",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/api": "9.4.1",
|
||||
"@polkadot/api-augment": "9.4.1",
|
||||
"@polkadot/api-base": "9.4.1",
|
||||
"@polkadot/rpc-core": "9.4.1",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"@polkadot/util-crypto": "^10.1.8",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "9.3.2",
|
||||
"@polkadot/api-augment": "9.3.2",
|
||||
"@polkadot/rpc-augment": "9.3.2",
|
||||
"@polkadot/rpc-provider": "9.3.2",
|
||||
"@polkadot/types-support": "9.3.2"
|
||||
"@polkadot/api": "9.4.1",
|
||||
"@polkadot/api-augment": "9.4.1",
|
||||
"@polkadot/rpc-augment": "9.4.1",
|
||||
"@polkadot/rpc-provider": "9.4.1",
|
||||
"@polkadot/types-support": "9.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
+18
-18
@@ -20,29 +20,29 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api-augment": "9.3.2",
|
||||
"@polkadot/api-base": "9.3.2",
|
||||
"@polkadot/api-derive": "9.3.2",
|
||||
"@polkadot/keyring": "^10.1.7",
|
||||
"@polkadot/rpc-augment": "9.3.2",
|
||||
"@polkadot/rpc-core": "9.3.2",
|
||||
"@polkadot/rpc-provider": "9.3.2",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-augment": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/types-create": "9.3.2",
|
||||
"@polkadot/types-known": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@polkadot/util-crypto": "^10.1.7",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/api-augment": "9.4.1",
|
||||
"@polkadot/api-base": "9.4.1",
|
||||
"@polkadot/api-derive": "9.4.1",
|
||||
"@polkadot/keyring": "^10.1.8",
|
||||
"@polkadot/rpc-augment": "9.4.1",
|
||||
"@polkadot/rpc-core": "9.4.1",
|
||||
"@polkadot/rpc-provider": "9.4.1",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-augment": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/types-create": "9.4.1",
|
||||
"@polkadot/types-known": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"@polkadot/util-crypto": "^10.1.8",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "9.3.2",
|
||||
"@polkadot/types-support": "9.3.2"
|
||||
"@polkadot/api-augment": "9.4.1",
|
||||
"@polkadot/types-support": "9.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/rpc-core": "9.3.2",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7"
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/rpc-core": "9.4.1",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/rpc-augment": "9.3.2",
|
||||
"@polkadot/rpc-provider": "9.3.2",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/rpc-augment": "9.4.1",
|
||||
"@polkadot/rpc-provider": "9.4.1",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^10.1.7",
|
||||
"@polkadot/rpc-augment": "9.3.2"
|
||||
"@polkadot/keyring": "^10.1.8",
|
||||
"@polkadot/rpc-augment": "9.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,19 +20,19 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/keyring": "^10.1.7",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-support": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@polkadot/util-crypto": "^10.1.7",
|
||||
"@polkadot/x-fetch": "^10.1.7",
|
||||
"@polkadot/x-global": "^10.1.7",
|
||||
"@polkadot/x-ws": "^10.1.7",
|
||||
"@substrate/connect": "0.7.11",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/keyring": "^10.1.8",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-support": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"@polkadot/util-crypto": "^10.1.8",
|
||||
"@polkadot/x-fetch": "^10.1.8",
|
||||
"@polkadot/x-global": "^10.1.8",
|
||||
"@polkadot/x-ws": "^10.1.8",
|
||||
"@substrate/connect": "0.7.13",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"mock-socket": "^9.1.5",
|
||||
"nock": "^13.2.9"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
||||
@@ -30,21 +30,21 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.18.13",
|
||||
"@babel/core": "^7.19.1",
|
||||
"@babel/register": "^7.18.9",
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/api": "9.3.2",
|
||||
"@polkadot/api-augment": "9.3.2",
|
||||
"@polkadot/rpc-augment": "9.3.2",
|
||||
"@polkadot/rpc-provider": "9.3.2",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-augment": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/types-create": "9.3.2",
|
||||
"@polkadot/types-support": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@polkadot/util-crypto": "^10.1.7",
|
||||
"@polkadot/x-ws": "^10.1.7",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/api": "9.4.1",
|
||||
"@polkadot/api-augment": "9.4.1",
|
||||
"@polkadot/rpc-augment": "9.4.1",
|
||||
"@polkadot/rpc-provider": "9.4.1",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-augment": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/types-create": "9.4.1",
|
||||
"@polkadot/types-support": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"@polkadot/util-crypto": "^10.1.8",
|
||||
"@polkadot/x-ws": "^10.1.8",
|
||||
"handlebars": "^4.7.7",
|
||||
"websocket": "^1.0.34",
|
||||
"yargs": "^17.5.1"
|
||||
|
||||
@@ -17,7 +17,48 @@ import { compareName, createImports, formatType, initMeta, readTemplate, setImpo
|
||||
const generateForMetaTemplate = Handlebars.compile(readTemplate('events'));
|
||||
|
||||
// For babel itself we need some extra aliasing
|
||||
const ALIAS = ['symbol'];
|
||||
// Also avoid reserved words to prevent generating invalid TS
|
||||
// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#reserved_words
|
||||
const ALIAS = [
|
||||
'symbol',
|
||||
'break',
|
||||
'case',
|
||||
'catch',
|
||||
'class',
|
||||
'const',
|
||||
'continue',
|
||||
'debugger',
|
||||
'default',
|
||||
'delete',
|
||||
'do',
|
||||
'else',
|
||||
'export',
|
||||
'extends',
|
||||
'false',
|
||||
'finally',
|
||||
'for',
|
||||
'function',
|
||||
'if',
|
||||
'import',
|
||||
'in',
|
||||
'instanceof',
|
||||
'new',
|
||||
'null',
|
||||
'return',
|
||||
'static',
|
||||
'super',
|
||||
'switch',
|
||||
'this',
|
||||
'throw',
|
||||
'true',
|
||||
'try',
|
||||
'typeof',
|
||||
'var',
|
||||
'void',
|
||||
'while',
|
||||
'with',
|
||||
'yield'
|
||||
];
|
||||
|
||||
/** @internal */
|
||||
function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes, isStrict: boolean, customLookupDefinitions?: Definitions): void {
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7"
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -417,11 +417,11 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup130: xcm::v2::Xcm<Call>
|
||||
* Lookup130: xcm::v2::Xcm<RuntimeCall>
|
||||
**/
|
||||
XcmV2Xcm: 'Vec<XcmV2Instruction>',
|
||||
/**
|
||||
* Lookup132: xcm::v2::Instruction<Call>
|
||||
* Lookup132: xcm::v2::Instruction<RuntimeCall>
|
||||
**/
|
||||
XcmV2Instruction: {
|
||||
_enum: {
|
||||
@@ -1623,7 +1623,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup423: xcm::VersionedXcm<Call>
|
||||
* Lookup423: xcm::VersionedXcm<RuntimeCall>
|
||||
**/
|
||||
XcmVersionedXcm: {
|
||||
_enum: {
|
||||
@@ -1633,7 +1633,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup424: xcm::v0::Xcm<Call>
|
||||
* Lookup424: xcm::v0::Xcm<RuntimeCall>
|
||||
**/
|
||||
XcmV0Xcm: {
|
||||
_enum: {
|
||||
@@ -1687,7 +1687,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup426: xcm::v0::order::Order<Call>
|
||||
* Lookup426: xcm::v0::order::Order<RuntimeCall>
|
||||
**/
|
||||
XcmV0Order: {
|
||||
_enum: {
|
||||
@@ -1738,7 +1738,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup429: xcm::v1::Xcm<Call>
|
||||
* Lookup429: xcm::v1::Xcm<RuntimeCall>
|
||||
**/
|
||||
XcmV1Xcm: {
|
||||
_enum: {
|
||||
@@ -1797,7 +1797,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup431: xcm::v1::order::Order<Call>
|
||||
* Lookup431: xcm::v1::order::Order<RuntimeCall>
|
||||
**/
|
||||
XcmV1Order: {
|
||||
_enum: {
|
||||
|
||||
@@ -24,9 +24,9 @@ export default {
|
||||
feeFrozen: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup7: frame_support::weights::PerDispatchClass<frame_support::weights::weight_v2::Weight>
|
||||
* Lookup7: frame_support::dispatch::PerDispatchClass<sp_weights::weight_v2::Weight>
|
||||
**/
|
||||
FrameSupportWeightsPerDispatchClassWeight: {
|
||||
FrameSupportDispatchPerDispatchClassWeight: {
|
||||
normal: 'Weight',
|
||||
operational: 'Weight',
|
||||
mandatory: 'Weight'
|
||||
@@ -54,7 +54,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup17: frame_system::EventRecord<kitchensink_runtime::Event, primitive_types::H256>
|
||||
* Lookup17: frame_system::EventRecord<kitchensink_runtime::RuntimeEvent, primitive_types::H256>
|
||||
**/
|
||||
FrameSystemEventRecord: {
|
||||
phase: 'FrameSystemPhase',
|
||||
@@ -67,11 +67,11 @@ export default {
|
||||
FrameSystemEvent: {
|
||||
_enum: {
|
||||
ExtrinsicSuccess: {
|
||||
dispatchInfo: 'FrameSupportWeightsDispatchInfo',
|
||||
dispatchInfo: 'FrameSupportDispatchDispatchInfo',
|
||||
},
|
||||
ExtrinsicFailed: {
|
||||
dispatchError: 'SpRuntimeDispatchError',
|
||||
dispatchInfo: 'FrameSupportWeightsDispatchInfo',
|
||||
dispatchInfo: 'FrameSupportDispatchDispatchInfo',
|
||||
},
|
||||
CodeUpdated: 'Null',
|
||||
NewAccount: {
|
||||
@@ -90,23 +90,23 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup20: frame_support::weights::DispatchInfo
|
||||
* Lookup20: frame_support::dispatch::DispatchInfo
|
||||
**/
|
||||
FrameSupportWeightsDispatchInfo: {
|
||||
FrameSupportDispatchDispatchInfo: {
|
||||
weight: 'Weight',
|
||||
class: 'FrameSupportWeightsDispatchClass',
|
||||
paysFee: 'FrameSupportWeightsPays'
|
||||
class: 'FrameSupportDispatchDispatchClass',
|
||||
paysFee: 'FrameSupportDispatchPays'
|
||||
},
|
||||
/**
|
||||
* Lookup21: frame_support::weights::DispatchClass
|
||||
* Lookup21: frame_support::dispatch::DispatchClass
|
||||
**/
|
||||
FrameSupportWeightsDispatchClass: {
|
||||
FrameSupportDispatchDispatchClass: {
|
||||
_enum: ['Normal', 'Operational', 'Mandatory']
|
||||
},
|
||||
/**
|
||||
* Lookup22: frame_support::weights::Pays
|
||||
* Lookup22: frame_support::dispatch::Pays
|
||||
**/
|
||||
FrameSupportWeightsPays: {
|
||||
FrameSupportDispatchPays: {
|
||||
_enum: ['Yes', 'No']
|
||||
},
|
||||
/**
|
||||
@@ -611,7 +611,15 @@ export default {
|
||||
ContractCodeUpdated: {
|
||||
contract: 'AccountId32',
|
||||
newCodeHash: 'H256',
|
||||
oldCodeHash: 'H256'
|
||||
oldCodeHash: 'H256',
|
||||
},
|
||||
Called: {
|
||||
caller: 'AccountId32',
|
||||
contract: 'AccountId32',
|
||||
},
|
||||
DelegateCalled: {
|
||||
contract: 'AccountId32',
|
||||
codeHash: 'H256'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1483,22 +1491,22 @@ export default {
|
||||
},
|
||||
WhitelistedCallDispatched: {
|
||||
callHash: 'H256',
|
||||
result: 'Result<FrameSupportWeightsPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>'
|
||||
result: 'Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup114: frame_support::weights::PostDispatchInfo
|
||||
* Lookup114: frame_support::dispatch::PostDispatchInfo
|
||||
**/
|
||||
FrameSupportWeightsPostDispatchInfo: {
|
||||
FrameSupportDispatchPostDispatchInfo: {
|
||||
actualWeight: 'Option<Weight>',
|
||||
paysFee: 'FrameSupportWeightsPays'
|
||||
paysFee: 'FrameSupportDispatchPays'
|
||||
},
|
||||
/**
|
||||
* Lookup116: sp_runtime::DispatchErrorWithPostInfo<frame_support::weights::PostDispatchInfo>
|
||||
* Lookup116: sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>
|
||||
**/
|
||||
SpRuntimeDispatchErrorWithPostInfo: {
|
||||
postInfo: 'FrameSupportWeightsPostDispatchInfo',
|
||||
postInfo: 'FrameSupportDispatchPostDispatchInfo',
|
||||
error: 'SpRuntimeDispatchError'
|
||||
},
|
||||
/**
|
||||
@@ -1546,8 +1554,9 @@ export default {
|
||||
items: 'Vec<PalletAllianceUnscrupulousItem>',
|
||||
},
|
||||
AllianceDisbanded: {
|
||||
members: 'Vec<AccountId32>',
|
||||
proposals: 'Vec<H256>'
|
||||
votingMembers: 'u32',
|
||||
allyMembers: 'u32',
|
||||
unreserved: 'u32'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1576,7 +1585,7 @@ export default {
|
||||
digest: 'Bytes'
|
||||
},
|
||||
/**
|
||||
* Lookup125: pallet_alliance::UnscrupulousItem<sp_core::crypto::AccountId32, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
|
||||
* Lookup125: pallet_alliance::UnscrupulousItem<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
|
||||
**/
|
||||
PalletAllianceUnscrupulousItem: {
|
||||
_enum: {
|
||||
@@ -1585,7 +1594,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup128: pallet_nomination_pools::pallet::Event<T>
|
||||
* Lookup127: pallet_nomination_pools::pallet::Event<T>
|
||||
**/
|
||||
PalletNominationPoolsEvent: {
|
||||
_enum: {
|
||||
@@ -1645,13 +1654,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup129: pallet_nomination_pools::PoolState
|
||||
* Lookup128: pallet_nomination_pools::PoolState
|
||||
**/
|
||||
PalletNominationPoolsPoolState: {
|
||||
_enum: ['Open', 'Blocked', 'Destroying']
|
||||
},
|
||||
/**
|
||||
* Lookup131: pallet_ranked_collective::Tally<T, I, M>
|
||||
* Lookup130: pallet_ranked_collective::Tally<T, I, M>
|
||||
**/
|
||||
PalletRankedCollectiveTally: {
|
||||
bareAyes: 'u32',
|
||||
@@ -1659,7 +1668,7 @@ export default {
|
||||
nays: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup132: pallet_ranked_collective::pallet::Event<T, I>
|
||||
* Lookup131: pallet_ranked_collective::pallet::Event<T, I>
|
||||
**/
|
||||
PalletRankedCollectiveEvent: {
|
||||
_enum: {
|
||||
@@ -1683,7 +1692,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup133: pallet_ranked_collective::VoteRecord
|
||||
* Lookup132: pallet_ranked_collective::VoteRecord
|
||||
**/
|
||||
PalletRankedCollectiveVoteRecord: {
|
||||
_enum: {
|
||||
@@ -1692,7 +1701,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup134: frame_system::Phase
|
||||
* Lookup133: frame_system::Phase
|
||||
**/
|
||||
FrameSystemPhase: {
|
||||
_enum: {
|
||||
@@ -1752,12 +1761,12 @@ export default {
|
||||
FrameSystemLimitsBlockWeights: {
|
||||
baseBlock: 'Weight',
|
||||
maxBlock: 'Weight',
|
||||
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
|
||||
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
|
||||
},
|
||||
/**
|
||||
* Lookup144: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
|
||||
* Lookup144: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
|
||||
**/
|
||||
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
|
||||
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
|
||||
normal: 'FrameSystemLimitsWeightsPerClass',
|
||||
operational: 'FrameSystemLimitsWeightsPerClass',
|
||||
mandatory: 'FrameSystemLimitsWeightsPerClass'
|
||||
@@ -1775,20 +1784,20 @@ export default {
|
||||
* Lookup146: frame_system::limits::BlockLength
|
||||
**/
|
||||
FrameSystemLimitsBlockLength: {
|
||||
max: 'FrameSupportWeightsPerDispatchClassU32'
|
||||
max: 'FrameSupportDispatchPerDispatchClassU32'
|
||||
},
|
||||
/**
|
||||
* Lookup147: frame_support::weights::PerDispatchClass<T>
|
||||
* Lookup147: frame_support::dispatch::PerDispatchClass<T>
|
||||
**/
|
||||
FrameSupportWeightsPerDispatchClassU32: {
|
||||
FrameSupportDispatchPerDispatchClassU32: {
|
||||
normal: 'u32',
|
||||
operational: 'u32',
|
||||
mandatory: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup148: frame_support::weights::RuntimeDbWeight
|
||||
* Lookup148: sp_weights::RuntimeDbWeight
|
||||
**/
|
||||
FrameSupportWeightsRuntimeDbWeight: {
|
||||
SpWeightsRuntimeDbWeight: {
|
||||
read: 'u64',
|
||||
write: 'u64'
|
||||
},
|
||||
@@ -2667,6 +2676,7 @@ export default {
|
||||
regIndex: 'Compact<u32>',
|
||||
target: 'MultiAddress',
|
||||
judgement: 'PalletIdentityJudgement',
|
||||
identity: 'H256',
|
||||
},
|
||||
kill_identity: {
|
||||
target: 'MultiAddress',
|
||||
@@ -2895,7 +2905,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup324: frame_support::traits::schedule::MaybeHashed<kitchensink_runtime::Call, primitive_types::H256>
|
||||
* Lookup324: frame_support::traits::schedule::MaybeHashed<kitchensink_runtime::RuntimeCall, primitive_types::H256>
|
||||
**/
|
||||
FrameSupportScheduleMaybeHashed: {
|
||||
_enum: {
|
||||
@@ -3781,11 +3791,13 @@ export default {
|
||||
proposalWeightBound: 'Compact<Weight>',
|
||||
lengthBound: 'Compact<u32>',
|
||||
},
|
||||
force_set_members: {
|
||||
init_members: {
|
||||
founders: 'Vec<AccountId32>',
|
||||
fellows: 'Vec<AccountId32>',
|
||||
allies: 'Vec<AccountId32>',
|
||||
witness: 'PalletAllianceForceSetWitness',
|
||||
},
|
||||
disband: {
|
||||
witness: 'PalletAllianceDisbandWitness',
|
||||
},
|
||||
set_rule: {
|
||||
rule: 'PalletAllianceCid',
|
||||
@@ -3817,10 +3829,9 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup369: pallet_alliance::types::ForceSetWitness
|
||||
* Lookup369: pallet_alliance::types::DisbandWitness
|
||||
**/
|
||||
PalletAllianceForceSetWitness: {
|
||||
proposals: 'Compact<u32>',
|
||||
PalletAllianceDisbandWitness: {
|
||||
votingMembers: 'Compact<u32>',
|
||||
allyMembers: 'Compact<u32>'
|
||||
},
|
||||
@@ -4611,7 +4622,7 @@ export default {
|
||||
* Lookup522: pallet_identity::pallet::Error<T>
|
||||
**/
|
||||
PalletIdentityError: {
|
||||
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned']
|
||||
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity']
|
||||
},
|
||||
/**
|
||||
* Lookup524: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
|
||||
@@ -4649,7 +4660,7 @@ export default {
|
||||
_enum: ['BadPosition', 'NotMember', 'AlreadyMember', 'Suspended', 'NotSuspended', 'NoPayout', 'AlreadyFounded', 'InsufficientPot', 'AlreadyVouching', 'NotVouching', 'Head', 'Founder', 'AlreadyBid', 'AlreadyCandidate', 'NotCandidate', 'MaxMembers', 'NotFounder', 'NotHead']
|
||||
},
|
||||
/**
|
||||
* Lookup533: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_runtime::bounded::bounded_vec::BoundedVec<sp_core::crypto::AccountId32, S>>
|
||||
* Lookup533: pallet_recovery::RecoveryConfig<BlockNumber, Balance, sp_core::bounded::bounded_vec::BoundedVec<sp_core::crypto::AccountId32, S>>
|
||||
**/
|
||||
PalletRecoveryRecoveryConfig: {
|
||||
delayPeriod: 'u32',
|
||||
@@ -4658,7 +4669,7 @@ export default {
|
||||
threshold: 'u16'
|
||||
},
|
||||
/**
|
||||
* Lookup535: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_runtime::bounded::bounded_vec::BoundedVec<sp_core::crypto::AccountId32, S>>
|
||||
* Lookup535: pallet_recovery::ActiveRecovery<BlockNumber, Balance, sp_core::bounded::bounded_vec::BoundedVec<sp_core::crypto::AccountId32, S>>
|
||||
**/
|
||||
PalletRecoveryActiveRecovery: {
|
||||
created: 'u32',
|
||||
@@ -4684,7 +4695,7 @@ export default {
|
||||
_enum: ['NotVesting', 'AtMaxVestingSchedules', 'AmountLow', 'ScheduleIndexOutOfBounds', 'InvalidScheduleParams']
|
||||
},
|
||||
/**
|
||||
* Lookup543: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<kitchensink_runtime::Call, primitive_types::H256>, BlockNumber, kitchensink_runtime::OriginCaller, sp_core::crypto::AccountId32>
|
||||
* Lookup543: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<kitchensink_runtime::RuntimeCall, primitive_types::H256>, BlockNumber, kitchensink_runtime::OriginCaller, sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletSchedulerScheduledV3: {
|
||||
maybeId: 'Option<Bytes>',
|
||||
@@ -4853,7 +4864,7 @@ export default {
|
||||
deposit: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup573: pallet_assets::types::AssetMetadata<DepositBalance, sp_runtime::bounded::bounded_vec::BoundedVec<T, S>>
|
||||
* Lookup573: pallet_assets::types::AssetMetadata<DepositBalance, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
|
||||
**/
|
||||
PalletAssetsAssetMetadata: {
|
||||
deposit: 'u128',
|
||||
@@ -5089,19 +5100,56 @@ export default {
|
||||
confirming: 'Option<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup617: pallet_referenda::pallet::Error<T, I>
|
||||
* Lookup619: pallet_referenda::types::TrackInfo<Balance, Moment>
|
||||
**/
|
||||
PalletReferendaTrackInfo: {
|
||||
name: 'Text',
|
||||
maxDeciding: 'u32',
|
||||
decisionDeposit: 'u128',
|
||||
preparePeriod: 'u32',
|
||||
decisionPeriod: 'u32',
|
||||
confirmPeriod: 'u32',
|
||||
minEnactmentPeriod: 'u32',
|
||||
minApproval: 'PalletReferendaCurve',
|
||||
minSupport: 'PalletReferendaCurve'
|
||||
},
|
||||
/**
|
||||
* Lookup620: pallet_referenda::types::Curve
|
||||
**/
|
||||
PalletReferendaCurve: {
|
||||
_enum: {
|
||||
LinearDecreasing: {
|
||||
length: 'Perbill',
|
||||
floor: 'Perbill',
|
||||
ceil: 'Perbill',
|
||||
},
|
||||
SteppedDecreasing: {
|
||||
begin: 'Perbill',
|
||||
end: 'Perbill',
|
||||
step: 'Perbill',
|
||||
period: 'Perbill',
|
||||
},
|
||||
Reciprocal: {
|
||||
factor: 'i64',
|
||||
xOffset: 'i64',
|
||||
yOffset: 'i64'
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup623: pallet_referenda::pallet::Error<T, I>
|
||||
**/
|
||||
PalletReferendaError: {
|
||||
_enum: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit']
|
||||
},
|
||||
/**
|
||||
* Lookup618: pallet_remark::pallet::Error<T>
|
||||
* Lookup624: pallet_remark::pallet::Error<T>
|
||||
**/
|
||||
PalletRemarkError: {
|
||||
_enum: ['Empty', 'BadContext']
|
||||
},
|
||||
/**
|
||||
* Lookup620: pallet_conviction_voting::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber, PollIndex, MaxVotes>
|
||||
* Lookup626: pallet_conviction_voting::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber, PollIndex, MaxVotes>
|
||||
**/
|
||||
PalletConvictionVotingVoteVoting: {
|
||||
_enum: {
|
||||
@@ -5110,7 +5158,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup621: pallet_conviction_voting::vote::Casting<Balance, BlockNumber, PollIndex, MaxVotes>
|
||||
* Lookup627: pallet_conviction_voting::vote::Casting<Balance, BlockNumber, PollIndex, MaxVotes>
|
||||
**/
|
||||
PalletConvictionVotingVoteCasting: {
|
||||
votes: 'Vec<(u32,PalletConvictionVotingVoteAccountVote)>',
|
||||
@@ -5118,18 +5166,18 @@ export default {
|
||||
prior: 'PalletConvictionVotingVotePriorLock'
|
||||
},
|
||||
/**
|
||||
* Lookup625: pallet_conviction_voting::types::Delegations<Balance>
|
||||
* Lookup631: pallet_conviction_voting::types::Delegations<Balance>
|
||||
**/
|
||||
PalletConvictionVotingDelegations: {
|
||||
votes: 'u128',
|
||||
capital: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup626: pallet_conviction_voting::vote::PriorLock<BlockNumber, Balance>
|
||||
* Lookup632: pallet_conviction_voting::vote::PriorLock<BlockNumber, Balance>
|
||||
**/
|
||||
PalletConvictionVotingVotePriorLock: '(u32,u128)',
|
||||
/**
|
||||
* Lookup627: pallet_conviction_voting::vote::Delegating<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
||||
* Lookup633: pallet_conviction_voting::vote::Delegating<Balance, sp_core::crypto::AccountId32, BlockNumber>
|
||||
**/
|
||||
PalletConvictionVotingVoteDelegating: {
|
||||
balance: 'u128',
|
||||
@@ -5139,31 +5187,31 @@ export default {
|
||||
prior: 'PalletConvictionVotingVotePriorLock'
|
||||
},
|
||||
/**
|
||||
* Lookup631: pallet_conviction_voting::pallet::Error<T, I>
|
||||
* Lookup637: pallet_conviction_voting::pallet::Error<T, I>
|
||||
**/
|
||||
PalletConvictionVotingError: {
|
||||
_enum: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass']
|
||||
},
|
||||
/**
|
||||
* Lookup632: pallet_whitelist::pallet::Error<T>
|
||||
* Lookup638: pallet_whitelist::pallet::Error<T>
|
||||
**/
|
||||
PalletWhitelistError: {
|
||||
_enum: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted']
|
||||
},
|
||||
/**
|
||||
* Lookup637: pallet_alliance::MemberRole
|
||||
* Lookup643: pallet_alliance::MemberRole
|
||||
**/
|
||||
PalletAllianceMemberRole: {
|
||||
_enum: ['Founder', 'Fellow', 'Ally', 'Retiring']
|
||||
},
|
||||
/**
|
||||
* Lookup642: pallet_alliance::pallet::Error<T, I>
|
||||
* Lookup648: pallet_alliance::pallet::Error<T, I>
|
||||
**/
|
||||
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']
|
||||
},
|
||||
/**
|
||||
* Lookup643: pallet_nomination_pools::PoolMember<T>
|
||||
* Lookup649: pallet_nomination_pools::PoolMember<T>
|
||||
**/
|
||||
PalletNominationPoolsPoolMember: {
|
||||
poolId: 'u32',
|
||||
@@ -5172,7 +5220,7 @@ export default {
|
||||
unbondingEras: 'BTreeMap<u32, u128>'
|
||||
},
|
||||
/**
|
||||
* Lookup646: pallet_nomination_pools::BondedPoolInner<T>
|
||||
* Lookup652: pallet_nomination_pools::BondedPoolInner<T>
|
||||
**/
|
||||
PalletNominationPoolsBondedPoolInner: {
|
||||
points: 'u128',
|
||||
@@ -5181,7 +5229,7 @@ export default {
|
||||
roles: 'PalletNominationPoolsPoolRoles'
|
||||
},
|
||||
/**
|
||||
* Lookup647: pallet_nomination_pools::PoolRoles<sp_core::crypto::AccountId32>
|
||||
* Lookup653: pallet_nomination_pools::PoolRoles<sp_core::crypto::AccountId32>
|
||||
**/
|
||||
PalletNominationPoolsPoolRoles: {
|
||||
depositor: 'AccountId32',
|
||||
@@ -5190,7 +5238,7 @@ export default {
|
||||
stateToggler: 'Option<AccountId32>'
|
||||
},
|
||||
/**
|
||||
* Lookup648: pallet_nomination_pools::RewardPool<T>
|
||||
* Lookup654: pallet_nomination_pools::RewardPool<T>
|
||||
**/
|
||||
PalletNominationPoolsRewardPool: {
|
||||
lastRecordedRewardCounter: 'u128',
|
||||
@@ -5198,21 +5246,21 @@ export default {
|
||||
totalRewardsClaimed: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup649: pallet_nomination_pools::SubPools<T>
|
||||
* Lookup655: pallet_nomination_pools::SubPools<T>
|
||||
**/
|
||||
PalletNominationPoolsSubPools: {
|
||||
noEra: 'PalletNominationPoolsUnbondPool',
|
||||
withEra: 'BTreeMap<u32, PalletNominationPoolsUnbondPool>'
|
||||
},
|
||||
/**
|
||||
* Lookup650: pallet_nomination_pools::UnbondPool<T>
|
||||
* Lookup656: pallet_nomination_pools::UnbondPool<T>
|
||||
**/
|
||||
PalletNominationPoolsUnbondPool: {
|
||||
points: 'u128',
|
||||
balance: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup656: pallet_nomination_pools::pallet::Error<T>
|
||||
* Lookup662: pallet_nomination_pools::pallet::Error<T>
|
||||
**/
|
||||
PalletNominationPoolsError: {
|
||||
_enum: {
|
||||
@@ -5240,13 +5288,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup657: pallet_nomination_pools::pallet::DefensiveError
|
||||
* Lookup663: pallet_nomination_pools::pallet::DefensiveError
|
||||
**/
|
||||
PalletNominationPoolsDefensiveError: {
|
||||
_enum: ['NotEnoughSpaceInUnbondPool', 'PoolNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'BondedStashKilledPrematurely']
|
||||
},
|
||||
/**
|
||||
* Lookup658: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, primitive_types::H256, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
* Lookup664: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, primitive_types::H256, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
**/
|
||||
PalletReferendaReferendumInfoRankedCollectiveTally: {
|
||||
_enum: {
|
||||
@@ -5259,7 +5307,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup659: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, primitive_types::H256, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
* Lookup665: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, primitive_types::H256, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||
**/
|
||||
PalletReferendaReferendumStatusRankedCollectiveTally: {
|
||||
track: 'u16',
|
||||
@@ -5275,19 +5323,19 @@ export default {
|
||||
alarm: 'Option<(u32,(u32,u32))>'
|
||||
},
|
||||
/**
|
||||
* Lookup662: pallet_ranked_collective::MemberRecord
|
||||
* Lookup668: pallet_ranked_collective::MemberRecord
|
||||
**/
|
||||
PalletRankedCollectiveMemberRecord: {
|
||||
rank: 'u16'
|
||||
},
|
||||
/**
|
||||
* Lookup666: pallet_ranked_collective::pallet::Error<T, I>
|
||||
* Lookup672: pallet_ranked_collective::pallet::Error<T, I>
|
||||
**/
|
||||
PalletRankedCollectiveError: {
|
||||
_enum: ['AlreadyMember', 'NotMember', 'NotPolling', 'Ongoing', 'NoneRemaining', 'Corruption', 'RankTooLow', 'InvalidWitness', 'NoPermission']
|
||||
},
|
||||
/**
|
||||
* Lookup668: sp_runtime::MultiSignature
|
||||
* Lookup674: sp_runtime::MultiSignature
|
||||
**/
|
||||
SpRuntimeMultiSignature: {
|
||||
_enum: {
|
||||
@@ -5297,42 +5345,42 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup669: sp_core::ecdsa::Signature
|
||||
* Lookup675: sp_core::ecdsa::Signature
|
||||
**/
|
||||
SpCoreEcdsaSignature: '[u8;65]',
|
||||
/**
|
||||
* Lookup672: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
|
||||
* Lookup678: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckNonZeroSender: 'Null',
|
||||
/**
|
||||
* Lookup673: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
|
||||
* Lookup679: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckSpecVersion: 'Null',
|
||||
/**
|
||||
* Lookup674: frame_system::extensions::check_tx_version::CheckTxVersion<T>
|
||||
* Lookup680: frame_system::extensions::check_tx_version::CheckTxVersion<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckTxVersion: 'Null',
|
||||
/**
|
||||
* Lookup675: frame_system::extensions::check_genesis::CheckGenesis<T>
|
||||
* Lookup681: frame_system::extensions::check_genesis::CheckGenesis<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckGenesis: 'Null',
|
||||
/**
|
||||
* Lookup678: frame_system::extensions::check_nonce::CheckNonce<T>
|
||||
* Lookup684: frame_system::extensions::check_nonce::CheckNonce<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
|
||||
/**
|
||||
* Lookup679: frame_system::extensions::check_weight::CheckWeight<T>
|
||||
* Lookup685: frame_system::extensions::check_weight::CheckWeight<T>
|
||||
**/
|
||||
FrameSystemExtensionsCheckWeight: 'Null',
|
||||
/**
|
||||
* Lookup680: pallet_asset_tx_payment::ChargeAssetTxPayment<T>
|
||||
* Lookup686: pallet_asset_tx_payment::ChargeAssetTxPayment<T>
|
||||
**/
|
||||
PalletAssetTxPaymentChargeAssetTxPayment: {
|
||||
tip: 'Compact<u128>',
|
||||
assetId: 'Option<u32>'
|
||||
},
|
||||
/**
|
||||
* Lookup681: kitchensink_runtime::Runtime
|
||||
* Lookup687: kitchensink_runtime::Runtime
|
||||
**/
|
||||
KitchensinkRuntimeRuntime: 'Null'
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
import '@polkadot/types/lookup';
|
||||
|
||||
import type { Data } from '@polkadot/types';
|
||||
import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U8aFixed, Vec, WrapperKeepOpaque, bool, i64, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { Vote } from '@polkadot/types/interfaces/elections';
|
||||
import type { OpaqueMultiaddr, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
|
||||
@@ -31,8 +31,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly feeFrozen: u128;
|
||||
}
|
||||
|
||||
/** @name FrameSupportWeightsPerDispatchClassWeight (7) */
|
||||
interface FrameSupportWeightsPerDispatchClassWeight extends Struct {
|
||||
/** @name FrameSupportDispatchPerDispatchClassWeight (7) */
|
||||
interface FrameSupportDispatchPerDispatchClassWeight extends Struct {
|
||||
readonly normal: Weight;
|
||||
readonly operational: Weight;
|
||||
readonly mandatory: Weight;
|
||||
@@ -68,12 +68,12 @@ declare module '@polkadot/types/lookup' {
|
||||
interface FrameSystemEvent extends Enum {
|
||||
readonly isExtrinsicSuccess: boolean;
|
||||
readonly asExtrinsicSuccess: {
|
||||
readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
|
||||
readonly dispatchInfo: FrameSupportDispatchDispatchInfo;
|
||||
} & Struct;
|
||||
readonly isExtrinsicFailed: boolean;
|
||||
readonly asExtrinsicFailed: {
|
||||
readonly dispatchError: SpRuntimeDispatchError;
|
||||
readonly dispatchInfo: FrameSupportWeightsDispatchInfo;
|
||||
readonly dispatchInfo: FrameSupportDispatchDispatchInfo;
|
||||
} & Struct;
|
||||
readonly isCodeUpdated: boolean;
|
||||
readonly isNewAccount: boolean;
|
||||
@@ -92,23 +92,23 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
|
||||
}
|
||||
|
||||
/** @name FrameSupportWeightsDispatchInfo (20) */
|
||||
interface FrameSupportWeightsDispatchInfo extends Struct {
|
||||
/** @name FrameSupportDispatchDispatchInfo (20) */
|
||||
interface FrameSupportDispatchDispatchInfo extends Struct {
|
||||
readonly weight: Weight;
|
||||
readonly class: FrameSupportWeightsDispatchClass;
|
||||
readonly paysFee: FrameSupportWeightsPays;
|
||||
readonly class: FrameSupportDispatchDispatchClass;
|
||||
readonly paysFee: FrameSupportDispatchPays;
|
||||
}
|
||||
|
||||
/** @name FrameSupportWeightsDispatchClass (21) */
|
||||
interface FrameSupportWeightsDispatchClass extends Enum {
|
||||
/** @name FrameSupportDispatchDispatchClass (21) */
|
||||
interface FrameSupportDispatchDispatchClass extends Enum {
|
||||
readonly isNormal: boolean;
|
||||
readonly isOperational: boolean;
|
||||
readonly isMandatory: boolean;
|
||||
readonly type: 'Normal' | 'Operational' | 'Mandatory';
|
||||
}
|
||||
|
||||
/** @name FrameSupportWeightsPays (22) */
|
||||
interface FrameSupportWeightsPays extends Enum {
|
||||
/** @name FrameSupportDispatchPays (22) */
|
||||
interface FrameSupportDispatchPays extends Enum {
|
||||
readonly isYes: boolean;
|
||||
readonly isNo: boolean;
|
||||
readonly type: 'Yes' | 'No';
|
||||
@@ -689,7 +689,17 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly newCodeHash: H256;
|
||||
readonly oldCodeHash: H256;
|
||||
} & Struct;
|
||||
readonly type: 'Instantiated' | 'Terminated' | 'CodeStored' | 'ContractEmitted' | 'CodeRemoved' | 'ContractCodeUpdated';
|
||||
readonly isCalled: boolean;
|
||||
readonly asCalled: {
|
||||
readonly caller: AccountId32;
|
||||
readonly contract: AccountId32;
|
||||
} & Struct;
|
||||
readonly isDelegateCalled: boolean;
|
||||
readonly asDelegateCalled: {
|
||||
readonly contract: AccountId32;
|
||||
readonly codeHash: H256;
|
||||
} & Struct;
|
||||
readonly type: 'Instantiated' | 'Terminated' | 'CodeStored' | 'ContractEmitted' | 'CodeRemoved' | 'ContractCodeUpdated' | 'Called' | 'DelegateCalled';
|
||||
}
|
||||
|
||||
/** @name PalletSudoEvent (64) */
|
||||
@@ -1653,20 +1663,20 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isWhitelistedCallDispatched: boolean;
|
||||
readonly asWhitelistedCallDispatched: {
|
||||
readonly callHash: H256;
|
||||
readonly result: Result<FrameSupportWeightsPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
||||
readonly result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
||||
} & Struct;
|
||||
readonly type: 'CallWhitelisted' | 'WhitelistedCallRemoved' | 'WhitelistedCallDispatched';
|
||||
}
|
||||
|
||||
/** @name FrameSupportWeightsPostDispatchInfo (114) */
|
||||
interface FrameSupportWeightsPostDispatchInfo extends Struct {
|
||||
/** @name FrameSupportDispatchPostDispatchInfo (114) */
|
||||
interface FrameSupportDispatchPostDispatchInfo extends Struct {
|
||||
readonly actualWeight: Option<Weight>;
|
||||
readonly paysFee: FrameSupportWeightsPays;
|
||||
readonly paysFee: FrameSupportDispatchPays;
|
||||
}
|
||||
|
||||
/** @name SpRuntimeDispatchErrorWithPostInfo (116) */
|
||||
interface SpRuntimeDispatchErrorWithPostInfo extends Struct {
|
||||
readonly postInfo: FrameSupportWeightsPostDispatchInfo;
|
||||
readonly postInfo: FrameSupportDispatchPostDispatchInfo;
|
||||
readonly error: SpRuntimeDispatchError;
|
||||
}
|
||||
|
||||
@@ -1724,8 +1734,9 @@ declare module '@polkadot/types/lookup' {
|
||||
} & Struct;
|
||||
readonly isAllianceDisbanded: boolean;
|
||||
readonly asAllianceDisbanded: {
|
||||
readonly members: Vec<AccountId32>;
|
||||
readonly proposals: Vec<H256>;
|
||||
readonly votingMembers: u32;
|
||||
readonly allyMembers: u32;
|
||||
readonly unreserved: u32;
|
||||
} & Struct;
|
||||
readonly type: 'NewRuleSet' | 'Announced' | 'AnnouncementRemoved' | 'MembersInitialized' | 'NewAllyJoined' | 'AllyElevated' | 'MemberRetirementPeriodStarted' | 'MemberRetired' | 'MemberKicked' | 'UnscrupulousItemAdded' | 'UnscrupulousItemRemoved' | 'AllianceDisbanded';
|
||||
}
|
||||
@@ -1759,7 +1770,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'AccountId' | 'Website';
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsEvent (128) */
|
||||
/** @name PalletNominationPoolsEvent (127) */
|
||||
interface PalletNominationPoolsEvent extends Enum {
|
||||
readonly isCreated: boolean;
|
||||
readonly asCreated: {
|
||||
@@ -1828,7 +1839,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Created' | 'Bonded' | 'PaidOut' | 'Unbonded' | 'Withdrawn' | 'Destroyed' | 'StateChanged' | 'MemberRemoved' | 'RolesUpdated' | 'PoolSlashed' | 'UnbondingPoolSlashed';
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsPoolState (129) */
|
||||
/** @name PalletNominationPoolsPoolState (128) */
|
||||
interface PalletNominationPoolsPoolState extends Enum {
|
||||
readonly isOpen: boolean;
|
||||
readonly isBlocked: boolean;
|
||||
@@ -1836,14 +1847,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Open' | 'Blocked' | 'Destroying';
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveTally (131) */
|
||||
/** @name PalletRankedCollectiveTally (130) */
|
||||
interface PalletRankedCollectiveTally extends Struct {
|
||||
readonly bareAyes: u32;
|
||||
readonly ayes: u32;
|
||||
readonly nays: u32;
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveEvent (132) */
|
||||
/** @name PalletRankedCollectiveEvent (131) */
|
||||
interface PalletRankedCollectiveEvent extends Enum {
|
||||
readonly isMemberAdded: boolean;
|
||||
readonly asMemberAdded: {
|
||||
@@ -1869,7 +1880,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'MemberAdded' | 'RankChanged' | 'MemberRemoved' | 'Voted';
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveVoteRecord (133) */
|
||||
/** @name PalletRankedCollectiveVoteRecord (132) */
|
||||
interface PalletRankedCollectiveVoteRecord extends Enum {
|
||||
readonly isAye: boolean;
|
||||
readonly asAye: u32;
|
||||
@@ -1878,7 +1889,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Aye' | 'Nay';
|
||||
}
|
||||
|
||||
/** @name FrameSystemPhase (134) */
|
||||
/** @name FrameSystemPhase (133) */
|
||||
interface FrameSystemPhase extends Enum {
|
||||
readonly isApplyExtrinsic: boolean;
|
||||
readonly asApplyExtrinsic: u32;
|
||||
@@ -1939,11 +1950,11 @@ declare module '@polkadot/types/lookup' {
|
||||
interface FrameSystemLimitsBlockWeights extends Struct {
|
||||
readonly baseBlock: Weight;
|
||||
readonly maxBlock: Weight;
|
||||
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
|
||||
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
|
||||
}
|
||||
|
||||
/** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (144) */
|
||||
interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
|
||||
/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (144) */
|
||||
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
|
||||
readonly normal: FrameSystemLimitsWeightsPerClass;
|
||||
readonly operational: FrameSystemLimitsWeightsPerClass;
|
||||
readonly mandatory: FrameSystemLimitsWeightsPerClass;
|
||||
@@ -1959,18 +1970,18 @@ declare module '@polkadot/types/lookup' {
|
||||
|
||||
/** @name FrameSystemLimitsBlockLength (146) */
|
||||
interface FrameSystemLimitsBlockLength extends Struct {
|
||||
readonly max: FrameSupportWeightsPerDispatchClassU32;
|
||||
readonly max: FrameSupportDispatchPerDispatchClassU32;
|
||||
}
|
||||
|
||||
/** @name FrameSupportWeightsPerDispatchClassU32 (147) */
|
||||
interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
|
||||
/** @name FrameSupportDispatchPerDispatchClassU32 (147) */
|
||||
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
|
||||
readonly normal: u32;
|
||||
readonly operational: u32;
|
||||
readonly mandatory: u32;
|
||||
}
|
||||
|
||||
/** @name FrameSupportWeightsRuntimeDbWeight (148) */
|
||||
interface FrameSupportWeightsRuntimeDbWeight extends Struct {
|
||||
/** @name SpWeightsRuntimeDbWeight (148) */
|
||||
interface SpWeightsRuntimeDbWeight extends Struct {
|
||||
readonly read: u64;
|
||||
readonly write: u64;
|
||||
}
|
||||
@@ -2889,6 +2900,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly regIndex: Compact<u32>;
|
||||
readonly target: MultiAddress;
|
||||
readonly judgement: PalletIdentityJudgement;
|
||||
readonly identity: H256;
|
||||
} & Struct;
|
||||
readonly isKillIdentity: boolean;
|
||||
readonly asKillIdentity: {
|
||||
@@ -4050,12 +4062,15 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly proposalWeightBound: Compact<Weight>;
|
||||
readonly lengthBound: Compact<u32>;
|
||||
} & Struct;
|
||||
readonly isForceSetMembers: boolean;
|
||||
readonly asForceSetMembers: {
|
||||
readonly isInitMembers: boolean;
|
||||
readonly asInitMembers: {
|
||||
readonly founders: Vec<AccountId32>;
|
||||
readonly fellows: Vec<AccountId32>;
|
||||
readonly allies: Vec<AccountId32>;
|
||||
readonly witness: PalletAllianceForceSetWitness;
|
||||
} & Struct;
|
||||
readonly isDisband: boolean;
|
||||
readonly asDisband: {
|
||||
readonly witness: PalletAllianceDisbandWitness;
|
||||
} & Struct;
|
||||
readonly isSetRule: boolean;
|
||||
readonly asSetRule: {
|
||||
@@ -4092,12 +4107,11 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asRemoveUnscrupulousItems: {
|
||||
readonly items: Vec<PalletAllianceUnscrupulousItem>;
|
||||
} & Struct;
|
||||
readonly type: 'Propose' | 'Vote' | 'Veto' | 'Close' | 'ForceSetMembers' | 'SetRule' | 'Announce' | 'RemoveAnnouncement' | 'JoinAlliance' | 'NominateAlly' | 'ElevateAlly' | 'GiveRetirementNotice' | 'Retire' | 'KickMember' | 'AddUnscrupulousItems' | 'RemoveUnscrupulousItems';
|
||||
readonly type: 'Propose' | 'Vote' | 'Veto' | 'Close' | 'InitMembers' | 'Disband' | 'SetRule' | 'Announce' | 'RemoveAnnouncement' | 'JoinAlliance' | 'NominateAlly' | 'ElevateAlly' | 'GiveRetirementNotice' | 'Retire' | 'KickMember' | 'AddUnscrupulousItems' | 'RemoveUnscrupulousItems';
|
||||
}
|
||||
|
||||
/** @name PalletAllianceForceSetWitness (369) */
|
||||
interface PalletAllianceForceSetWitness extends Struct {
|
||||
readonly proposals: Compact<u32>;
|
||||
/** @name PalletAllianceDisbandWitness (369) */
|
||||
interface PalletAllianceDisbandWitness extends Struct {
|
||||
readonly votingMembers: Compact<u32>;
|
||||
readonly allyMembers: Compact<u32>;
|
||||
}
|
||||
@@ -5034,7 +5048,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isAlreadyClaimed: boolean;
|
||||
readonly isNotSub: boolean;
|
||||
readonly isNotOwned: boolean;
|
||||
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned';
|
||||
readonly isJudgementForDifferentIdentity: boolean;
|
||||
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity';
|
||||
}
|
||||
|
||||
/** @name PalletSocietyBid (524) */
|
||||
@@ -5629,7 +5644,44 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly confirming: Option<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletReferendaError (617) */
|
||||
/** @name PalletReferendaTrackInfo (619) */
|
||||
interface PalletReferendaTrackInfo extends Struct {
|
||||
readonly name: Text;
|
||||
readonly maxDeciding: u32;
|
||||
readonly decisionDeposit: u128;
|
||||
readonly preparePeriod: u32;
|
||||
readonly decisionPeriod: u32;
|
||||
readonly confirmPeriod: u32;
|
||||
readonly minEnactmentPeriod: u32;
|
||||
readonly minApproval: PalletReferendaCurve;
|
||||
readonly minSupport: PalletReferendaCurve;
|
||||
}
|
||||
|
||||
/** @name PalletReferendaCurve (620) */
|
||||
interface PalletReferendaCurve extends Enum {
|
||||
readonly isLinearDecreasing: boolean;
|
||||
readonly asLinearDecreasing: {
|
||||
readonly length: Perbill;
|
||||
readonly floor: Perbill;
|
||||
readonly ceil: Perbill;
|
||||
} & Struct;
|
||||
readonly isSteppedDecreasing: boolean;
|
||||
readonly asSteppedDecreasing: {
|
||||
readonly begin: Perbill;
|
||||
readonly end: Perbill;
|
||||
readonly step: Perbill;
|
||||
readonly period: Perbill;
|
||||
} & Struct;
|
||||
readonly isReciprocal: boolean;
|
||||
readonly asReciprocal: {
|
||||
readonly factor: i64;
|
||||
readonly xOffset: i64;
|
||||
readonly yOffset: i64;
|
||||
} & Struct;
|
||||
readonly type: 'LinearDecreasing' | 'SteppedDecreasing' | 'Reciprocal';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaError (623) */
|
||||
interface PalletReferendaError extends Enum {
|
||||
readonly isNotOngoing: boolean;
|
||||
readonly isHasDeposit: boolean;
|
||||
@@ -5645,14 +5697,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotOngoing' | 'HasDeposit' | 'BadTrack' | 'Full' | 'QueueEmpty' | 'BadReferendum' | 'NothingToDo' | 'NoTrack' | 'Unfinished' | 'NoPermission' | 'NoDeposit';
|
||||
}
|
||||
|
||||
/** @name PalletRemarkError (618) */
|
||||
/** @name PalletRemarkError (624) */
|
||||
interface PalletRemarkError extends Enum {
|
||||
readonly isEmpty: boolean;
|
||||
readonly isBadContext: boolean;
|
||||
readonly type: 'Empty' | 'BadContext';
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingVoteVoting (620) */
|
||||
/** @name PalletConvictionVotingVoteVoting (626) */
|
||||
interface PalletConvictionVotingVoteVoting extends Enum {
|
||||
readonly isCasting: boolean;
|
||||
readonly asCasting: PalletConvictionVotingVoteCasting;
|
||||
@@ -5661,23 +5713,23 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Casting' | 'Delegating';
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingVoteCasting (621) */
|
||||
/** @name PalletConvictionVotingVoteCasting (627) */
|
||||
interface PalletConvictionVotingVoteCasting extends Struct {
|
||||
readonly votes: Vec<ITuple<[u32, PalletConvictionVotingVoteAccountVote]>>;
|
||||
readonly delegations: PalletConvictionVotingDelegations;
|
||||
readonly prior: PalletConvictionVotingVotePriorLock;
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingDelegations (625) */
|
||||
/** @name PalletConvictionVotingDelegations (631) */
|
||||
interface PalletConvictionVotingDelegations extends Struct {
|
||||
readonly votes: u128;
|
||||
readonly capital: u128;
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingVotePriorLock (626) */
|
||||
/** @name PalletConvictionVotingVotePriorLock (632) */
|
||||
interface PalletConvictionVotingVotePriorLock extends ITuple<[u32, u128]> {}
|
||||
|
||||
/** @name PalletConvictionVotingVoteDelegating (627) */
|
||||
/** @name PalletConvictionVotingVoteDelegating (633) */
|
||||
interface PalletConvictionVotingVoteDelegating extends Struct {
|
||||
readonly balance: u128;
|
||||
readonly target: AccountId32;
|
||||
@@ -5686,7 +5738,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly prior: PalletConvictionVotingVotePriorLock;
|
||||
}
|
||||
|
||||
/** @name PalletConvictionVotingError (631) */
|
||||
/** @name PalletConvictionVotingError (637) */
|
||||
interface PalletConvictionVotingError extends Enum {
|
||||
readonly isNotOngoing: boolean;
|
||||
readonly isNotVoter: boolean;
|
||||
@@ -5703,7 +5755,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotOngoing' | 'NotVoter' | 'NoPermission' | 'NoPermissionYet' | 'AlreadyDelegating' | 'AlreadyVoting' | 'InsufficientFunds' | 'NotDelegating' | 'Nonsense' | 'MaxVotesReached' | 'ClassNeeded' | 'BadClass';
|
||||
}
|
||||
|
||||
/** @name PalletWhitelistError (632) */
|
||||
/** @name PalletWhitelistError (638) */
|
||||
interface PalletWhitelistError extends Enum {
|
||||
readonly isUnavailablePreImage: boolean;
|
||||
readonly isUndecodableCall: boolean;
|
||||
@@ -5713,7 +5765,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'UnavailablePreImage' | 'UndecodableCall' | 'InvalidCallWeightWitness' | 'CallIsNotWhitelisted' | 'CallAlreadyWhitelisted';
|
||||
}
|
||||
|
||||
/** @name PalletAllianceMemberRole (637) */
|
||||
/** @name PalletAllianceMemberRole (643) */
|
||||
interface PalletAllianceMemberRole extends Enum {
|
||||
readonly isFounder: boolean;
|
||||
readonly isFellow: boolean;
|
||||
@@ -5722,7 +5774,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Founder' | 'Fellow' | 'Ally' | 'Retiring';
|
||||
}
|
||||
|
||||
/** @name PalletAllianceError (642) */
|
||||
/** @name PalletAllianceError (648) */
|
||||
interface PalletAllianceError extends Enum {
|
||||
readonly isAllianceNotYetInitialized: boolean;
|
||||
readonly isAllianceAlreadyInitialized: boolean;
|
||||
@@ -5753,7 +5805,7 @@ declare module '@polkadot/types/lookup' {
|
||||
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';
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsPoolMember (643) */
|
||||
/** @name PalletNominationPoolsPoolMember (649) */
|
||||
interface PalletNominationPoolsPoolMember extends Struct {
|
||||
readonly poolId: u32;
|
||||
readonly points: u128;
|
||||
@@ -5761,7 +5813,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly unbondingEras: BTreeMap<u32, u128>;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsBondedPoolInner (646) */
|
||||
/** @name PalletNominationPoolsBondedPoolInner (652) */
|
||||
interface PalletNominationPoolsBondedPoolInner extends Struct {
|
||||
readonly points: u128;
|
||||
readonly state: PalletNominationPoolsPoolState;
|
||||
@@ -5769,7 +5821,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly roles: PalletNominationPoolsPoolRoles;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsPoolRoles (647) */
|
||||
/** @name PalletNominationPoolsPoolRoles (653) */
|
||||
interface PalletNominationPoolsPoolRoles extends Struct {
|
||||
readonly depositor: AccountId32;
|
||||
readonly root: Option<AccountId32>;
|
||||
@@ -5777,26 +5829,26 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly stateToggler: Option<AccountId32>;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsRewardPool (648) */
|
||||
/** @name PalletNominationPoolsRewardPool (654) */
|
||||
interface PalletNominationPoolsRewardPool extends Struct {
|
||||
readonly lastRecordedRewardCounter: u128;
|
||||
readonly lastRecordedTotalPayouts: u128;
|
||||
readonly totalRewardsClaimed: u128;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsSubPools (649) */
|
||||
/** @name PalletNominationPoolsSubPools (655) */
|
||||
interface PalletNominationPoolsSubPools extends Struct {
|
||||
readonly noEra: PalletNominationPoolsUnbondPool;
|
||||
readonly withEra: BTreeMap<u32, PalletNominationPoolsUnbondPool>;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsUnbondPool (650) */
|
||||
/** @name PalletNominationPoolsUnbondPool (656) */
|
||||
interface PalletNominationPoolsUnbondPool extends Struct {
|
||||
readonly points: u128;
|
||||
readonly balance: u128;
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsError (656) */
|
||||
/** @name PalletNominationPoolsError (662) */
|
||||
interface PalletNominationPoolsError extends Enum {
|
||||
readonly isPoolNotFound: boolean;
|
||||
readonly isPoolMemberNotFound: boolean;
|
||||
@@ -5823,7 +5875,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';
|
||||
}
|
||||
|
||||
/** @name PalletNominationPoolsDefensiveError (657) */
|
||||
/** @name PalletNominationPoolsDefensiveError (663) */
|
||||
interface PalletNominationPoolsDefensiveError extends Enum {
|
||||
readonly isNotEnoughSpaceInUnbondPool: boolean;
|
||||
readonly isPoolNotFound: boolean;
|
||||
@@ -5833,7 +5885,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'NotEnoughSpaceInUnbondPool' | 'PoolNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'BondedStashKilledPrematurely';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaReferendumInfoRankedCollectiveTally (658) */
|
||||
/** @name PalletReferendaReferendumInfoRankedCollectiveTally (664) */
|
||||
interface PalletReferendaReferendumInfoRankedCollectiveTally extends Enum {
|
||||
readonly isOngoing: boolean;
|
||||
readonly asOngoing: PalletReferendaReferendumStatusRankedCollectiveTally;
|
||||
@@ -5850,7 +5902,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaReferendumStatusRankedCollectiveTally (659) */
|
||||
/** @name PalletReferendaReferendumStatusRankedCollectiveTally (665) */
|
||||
interface PalletReferendaReferendumStatusRankedCollectiveTally extends Struct {
|
||||
readonly track: u16;
|
||||
readonly origin: KitchensinkRuntimeOriginCaller;
|
||||
@@ -5865,12 +5917,12 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>;
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveMemberRecord (662) */
|
||||
/** @name PalletRankedCollectiveMemberRecord (668) */
|
||||
interface PalletRankedCollectiveMemberRecord extends Struct {
|
||||
readonly rank: u16;
|
||||
}
|
||||
|
||||
/** @name PalletRankedCollectiveError (666) */
|
||||
/** @name PalletRankedCollectiveError (672) */
|
||||
interface PalletRankedCollectiveError extends Enum {
|
||||
readonly isAlreadyMember: boolean;
|
||||
readonly isNotMember: boolean;
|
||||
@@ -5884,7 +5936,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'AlreadyMember' | 'NotMember' | 'NotPolling' | 'Ongoing' | 'NoneRemaining' | 'Corruption' | 'RankTooLow' | 'InvalidWitness' | 'NoPermission';
|
||||
}
|
||||
|
||||
/** @name SpRuntimeMultiSignature (668) */
|
||||
/** @name SpRuntimeMultiSignature (674) */
|
||||
interface SpRuntimeMultiSignature extends Enum {
|
||||
readonly isEd25519: boolean;
|
||||
readonly asEd25519: SpCoreEd25519Signature;
|
||||
@@ -5895,34 +5947,34 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
|
||||
}
|
||||
|
||||
/** @name SpCoreEcdsaSignature (669) */
|
||||
/** @name SpCoreEcdsaSignature (675) */
|
||||
interface SpCoreEcdsaSignature extends U8aFixed {}
|
||||
|
||||
/** @name FrameSystemExtensionsCheckNonZeroSender (672) */
|
||||
/** @name FrameSystemExtensionsCheckNonZeroSender (678) */
|
||||
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckSpecVersion (673) */
|
||||
/** @name FrameSystemExtensionsCheckSpecVersion (679) */
|
||||
type FrameSystemExtensionsCheckSpecVersion = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckTxVersion (674) */
|
||||
/** @name FrameSystemExtensionsCheckTxVersion (680) */
|
||||
type FrameSystemExtensionsCheckTxVersion = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckGenesis (675) */
|
||||
/** @name FrameSystemExtensionsCheckGenesis (681) */
|
||||
type FrameSystemExtensionsCheckGenesis = Null;
|
||||
|
||||
/** @name FrameSystemExtensionsCheckNonce (678) */
|
||||
/** @name FrameSystemExtensionsCheckNonce (684) */
|
||||
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
|
||||
|
||||
/** @name FrameSystemExtensionsCheckWeight (679) */
|
||||
/** @name FrameSystemExtensionsCheckWeight (685) */
|
||||
type FrameSystemExtensionsCheckWeight = Null;
|
||||
|
||||
/** @name PalletAssetTxPaymentChargeAssetTxPayment (680) */
|
||||
/** @name PalletAssetTxPaymentChargeAssetTxPayment (686) */
|
||||
interface PalletAssetTxPaymentChargeAssetTxPayment extends Struct {
|
||||
readonly tip: Compact<u128>;
|
||||
readonly assetId: Option<u32>;
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeRuntime (681) */
|
||||
/** @name KitchensinkRuntimeRuntime (687) */
|
||||
type KitchensinkRuntimeRuntime = Null;
|
||||
|
||||
} // declare module
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -20,17 +20,17 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@polkadot/x-bigint": "^10.1.7"
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"@polkadot/x-bigint": "^10.1.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-augment": "9.3.2",
|
||||
"@polkadot/types-support": "9.3.2",
|
||||
"@polkadot/util-crypto": "^10.1.7"
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-augment": "9.4.1",
|
||||
"@polkadot/types-support": "9.4.1",
|
||||
"@polkadot/util-crypto": "^10.1.8"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { AnyNumber, Inspect, INumber, IU8a, Registry, UIntBitLength } from '../types';
|
||||
|
||||
import { BN, BN_BILLION, BN_HUNDRED, BN_MILLION, BN_QUINTILL, bnToBn, bnToHex, bnToU8a, formatBalance, formatNumber, hexToBn, isBn, isHex, isNumber, isString, isU8a, u8aToBn, u8aToNumber } from '@polkadot/util';
|
||||
import { BN, BN_BILLION, BN_HUNDRED, BN_MILLION, BN_QUINTILL, bnToBn, bnToHex, bnToU8a, formatBalance, formatNumber, hexToBn, isBn, isFunction, isHex, isNumber, isObject, isString, isU8a, u8aToBn, u8aToNumber } from '@polkadot/util';
|
||||
|
||||
export const DEFAULT_UINT_BITS = 64;
|
||||
|
||||
@@ -25,7 +25,7 @@ function toPercentage (value: BN, divisor: BN): string {
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
function decodeAbstractInt (value: Exclude<AnyNumber, Uint8Array>, isNegative: boolean): string | number {
|
||||
function decodeAbstractInt (value: Exclude<AnyNumber, Uint8Array> | Record<string, string>, isNegative: boolean): string | number {
|
||||
if (isNumber(value)) {
|
||||
if (!Number.isInteger(value) || value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER) {
|
||||
throw new Error('Number needs to be an integer <= Number.MAX_SAFE_INTEGER, i.e. 2 ^ 53 - 1');
|
||||
@@ -44,9 +44,26 @@ function decodeAbstractInt (value: Exclude<AnyNumber, Uint8Array>, isNegative: b
|
||||
return value;
|
||||
} else if (isBn(value)) {
|
||||
return value.toString();
|
||||
} else if (isObject(value) && !isFunction(value.toBn)) {
|
||||
// Allow the construction from an object with a single top-level key. This means that
|
||||
// single key objects can be treated equivalently to numbers, assuming they meet the
|
||||
// specific requirements. (This is useful in Weights 1.5 where Objects are compact)
|
||||
const keys = Object.keys(value);
|
||||
|
||||
if (keys.length !== 1) {
|
||||
throw new Error('Unable to construct number from multi-key object');
|
||||
}
|
||||
|
||||
const inner = value[keys[0]];
|
||||
|
||||
if (!isString(inner) && !isNumber(inner)) {
|
||||
throw new Error('Unable to construct from object with non-string/non-number value');
|
||||
}
|
||||
|
||||
return decodeAbstractInt(inner, isNegative);
|
||||
}
|
||||
|
||||
return bnToBn(value).toString();
|
||||
return bnToBn(value as bigint).toString();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,6 +25,17 @@ describe('Int', (): void => {
|
||||
).toEqual(-1234);
|
||||
});
|
||||
|
||||
it('can construct via a single-entry struct', (): void => {
|
||||
expect(
|
||||
// @ts-expect-error We could receive these via JSON
|
||||
new Int(registry, { ref_time: 1234 }).toNumber()
|
||||
).toEqual(1234);
|
||||
expect(
|
||||
// @ts-expect-error We could receive these via JSON
|
||||
() => new Int(registry, { ref_time: 1234, zoo: 4567 }).toNumber()
|
||||
).toThrow(/Unable to construct number from/);
|
||||
});
|
||||
|
||||
it('converts to Little Endian from the provided value', (): void => {
|
||||
expect(
|
||||
new Int(registry, -1234).toU8a()
|
||||
|
||||
@@ -66,4 +66,34 @@ describe('WrapperKeepOpaque', (): void => {
|
||||
outer: [new Uint8Array([4 << 2])]
|
||||
});
|
||||
});
|
||||
|
||||
it('has a sane in-wrapper representation', (): void => {
|
||||
const set = registry.createType(
|
||||
'BTreeSet<OpaquePeerId>',
|
||||
// prefix
|
||||
'0x' +
|
||||
// 4 items, 16 >> 2
|
||||
'10' +
|
||||
// opaque length
|
||||
'9c' +
|
||||
// bytes length
|
||||
'98' + '0024080112201ce5f00ef6e89374afb625f1ae4c1546d31234e87e3c3f51a62b91dd6bfa57df' +
|
||||
// repeat the same for the next 3...
|
||||
'9c98002408011220876a7b4984f98006dc8d666e28b60de307309835d775e7755cc770328cdacf2e9c98002408011220c81bc1d7057a1511eb9496f056f6f53cdfe0e14c8bd5ffca47c70a8d76c1326d9c98002408011220dacde7714d8551f674b8bb4b54239383c76a2b286fa436e93b2b7eb226bf4de7'
|
||||
);
|
||||
const val = [...set.values()];
|
||||
|
||||
expect(val.map((v) => v.toHex())).toEqual([
|
||||
'0x980024080112201ce5f00ef6e89374afb625f1ae4c1546d31234e87e3c3f51a62b91dd6bfa57df',
|
||||
'0x98002408011220876a7b4984f98006dc8d666e28b60de307309835d775e7755cc770328cdacf2e',
|
||||
'0x98002408011220c81bc1d7057a1511eb9496f056f6f53cdfe0e14c8bd5ffca47c70a8d76c1326d',
|
||||
'0x98002408011220dacde7714d8551f674b8bb4b54239383c76a2b286fa436e93b2b7eb226bf4de7'
|
||||
]);
|
||||
expect(val.map((v) => v.toHuman())).toEqual([
|
||||
'0x0024080112201ce5f00ef6e89374afb625f1ae4c1546d31234e87e3c3f51a62b91dd6bfa57df',
|
||||
'0x002408011220876a7b4984f98006dc8d666e28b60de307309835d775e7755cc770328cdacf2e',
|
||||
'0x002408011220c81bc1d7057a1511eb9496f056f6f53cdfe0e14c8bd5ffca47c70a8d76c1326d',
|
||||
'0x002408011220dacde7714d8551f674b8bb4b54239383c76a2b286fa436e93b2b7eb226bf4de7'
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7"
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "9.3.2"
|
||||
"@polkadot/types": "9.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -20,17 +20,17 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/networks": "^10.1.7",
|
||||
"@polkadot/types": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/types-create": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7"
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/networks": "^10.1.8",
|
||||
"@polkadot/types": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/types-create": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "9.3.2"
|
||||
"@polkadot/api": "9.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
@@ -15,7 +15,8 @@ const sharedTypes = {
|
||||
Keys: 'SessionKeys6',
|
||||
ProxyType: {
|
||||
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction']
|
||||
}
|
||||
},
|
||||
Weight: 'u64'
|
||||
};
|
||||
|
||||
const addrIndicesTypes = {
|
||||
|
||||
@@ -23,7 +23,8 @@ const sharedTypes = {
|
||||
CancelProxy: 6,
|
||||
Auction: 7
|
||||
}
|
||||
}
|
||||
},
|
||||
Weight: 'u64'
|
||||
};
|
||||
|
||||
const addrAccountIdTypes = {
|
||||
|
||||
@@ -14,7 +14,8 @@ import { objectSpread } from '@polkadot/util';
|
||||
const sharedTypes = {
|
||||
DispatchErrorModule: 'DispatchErrorModuleU8',
|
||||
FullIdentification: '()', // No staking, only session (as per config)
|
||||
Keys: 'SessionKeys7B'
|
||||
Keys: 'SessionKeys7B',
|
||||
Weight: 'u64'
|
||||
};
|
||||
|
||||
const versioned: OverrideVersionedType[] = [
|
||||
|
||||
@@ -21,7 +21,8 @@ const sharedTypes = {
|
||||
'AssetManager',
|
||||
'Staking'
|
||||
]
|
||||
}
|
||||
},
|
||||
Weight: 'u64'
|
||||
};
|
||||
|
||||
// these are override types for Statemine, Statemint, Westmint
|
||||
|
||||
@@ -17,7 +17,8 @@ const sharedTypes = {
|
||||
Keys: 'SessionKeys6',
|
||||
ProxyType: {
|
||||
_enum: ['Any', 'NonTransfer', 'Staking', 'SudoBalances', 'IdentityJudgement', 'CancelProxy']
|
||||
}
|
||||
},
|
||||
Weight: 'u64'
|
||||
};
|
||||
|
||||
const addrAccountIdTypes = {
|
||||
|
||||
@@ -3758,6 +3758,76 @@ const upgrades: ChainUpgradesGenerated = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
14433840,
|
||||
9280,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
@@ -2294,6 +2294,68 @@ const upgrades: ChainUpgradesGenerated = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
11933818,
|
||||
9270,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
@@ -3526,6 +3526,76 @@ const upgrades: ChainUpgradesGenerated = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
12604343,
|
||||
9290,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ const upgrades: ChainUpgradesManual = [
|
||||
[9611377, 9100], [9625129, 9111], [9866422, 9122], [10403784, 9130], [10960765, 9150],
|
||||
[11006614, 9151], [11404482, 9160], [11601803, 9170], [12008022, 9180], [12405451, 9190],
|
||||
[12665416, 9200], [12909508, 9220], [13109752, 9230], [13555777, 9250], [13727747, 9260],
|
||||
[14248044, 9271]
|
||||
[14248044, 9271], [14433840, 9280]
|
||||
];
|
||||
|
||||
export default upgrades;
|
||||
|
||||
@@ -11,7 +11,8 @@ const upgrades: ChainUpgradesManual = [
|
||||
[3613564, 27], [3899547, 28], [4345767, 29], [4876134, 30], [5661442, 9050],
|
||||
[6321619, 9080], [6713249, 9090], [7217907, 9100], [7229126, 9110], [7560558, 9122],
|
||||
[8115869, 9140], [8638103, 9151], [9280179, 9170], [9738717, 9180], [10156856, 9190],
|
||||
[10458576, 9200], [10655116, 9220], [10879371, 9230], [11328884, 9250], [11532856, 9260]
|
||||
[10458576, 9200], [10655116, 9220], [10879371, 9230], [11328884, 9250], [11532856, 9260],
|
||||
[11933818, 9270]
|
||||
];
|
||||
|
||||
export default upgrades;
|
||||
|
||||
@@ -15,7 +15,8 @@ const upgrades: ChainUpgradesManual = [
|
||||
[7968866, 9121], [7982889, 9122], [8514322, 9130], [9091726, 9140], [9091774, 9150],
|
||||
[9406726, 9160], [9921066, 9170], [10007115, 9180], [10480973, 9190], [10578091, 9200],
|
||||
[10678509, 9210], [10811001, 9220], [11096116, 9230], [11409279, 9250], [11584820, 9251],
|
||||
[11716837, 9260], [11876919, 9261], [11987927, 9270], [12077324, 9271], [12301871, 9280]
|
||||
[11716837, 9260], [11876919, 9261], [11987927, 9270], [12077324, 9271], [12301871, 9280],
|
||||
[12604343, 9290]
|
||||
];
|
||||
|
||||
export default upgrades;
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/util": "^10.1.7"
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/util": "^10.1.8"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -268,7 +268,7 @@
|
||||
{
|
||||
"name": "Version",
|
||||
"type": 175,
|
||||
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000402400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a801000000f3ff14d5ab5270590100000017a6bc0d0062aeb3010000000c00000000",
|
||||
"value": "0x186b7573616d61347061726974792d6b7573616d61020000004a2400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a801000000f3ff14d5ab5270590100000017a6bc0d0062aeb3010000000d00000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -4622,6 +4622,24 @@
|
||||
"docs": [
|
||||
" The maximum number of electable targets to put in the snapshot."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxLength",
|
||||
"type": 4,
|
||||
"value": "0x00003600",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxWeight",
|
||||
"type": 8,
|
||||
"value": "0x7037a32057010000",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxVotesPerVoter",
|
||||
"type": 4,
|
||||
"value": "0x18000000",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"PerDispatchClass"
|
||||
],
|
||||
"params": [
|
||||
@@ -217,8 +217,7 @@
|
||||
"id": 8,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"sp_weights",
|
||||
"weight_v2",
|
||||
"Weight"
|
||||
],
|
||||
@@ -494,7 +493,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"kusama_runtime",
|
||||
"Event"
|
||||
"RuntimeEvent"
|
||||
],
|
||||
"params": [],
|
||||
"def": {
|
||||
@@ -1177,7 +1176,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"DispatchInfo"
|
||||
],
|
||||
"params": [],
|
||||
@@ -1213,7 +1212,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"DispatchClass"
|
||||
],
|
||||
"params": [],
|
||||
@@ -1249,7 +1248,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"Pays"
|
||||
],
|
||||
"params": [],
|
||||
@@ -10172,7 +10171,7 @@
|
||||
"id": 129,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -10395,7 +10394,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -10405,7 +10404,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 134,
|
||||
"typeName": "Vec<Instruction<Call>>",
|
||||
"typeName": "Vec<Instruction<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
@@ -10437,7 +10436,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -10570,7 +10569,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 147,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -10871,7 +10870,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 133,
|
||||
"typeName": "Xcm<Call>",
|
||||
"typeName": "Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -10884,7 +10883,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 133,
|
||||
"typeName": "Xcm<Call>",
|
||||
"typeName": "Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -12728,7 +12727,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"PerDispatchClass"
|
||||
],
|
||||
"params": [
|
||||
@@ -12875,7 +12874,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"PerDispatchClass"
|
||||
],
|
||||
"params": [
|
||||
@@ -12915,8 +12914,7 @@
|
||||
"id": 174,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"sp_weights",
|
||||
"RuntimeDbWeight"
|
||||
],
|
||||
"params": [],
|
||||
@@ -13141,7 +13139,7 @@
|
||||
"id": 180,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -13335,7 +13333,7 @@
|
||||
"id": 188,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -14422,7 +14420,7 @@
|
||||
"id": 209,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -14544,7 +14542,7 @@
|
||||
"id": 213,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -15030,7 +15028,7 @@
|
||||
"id": 221,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -15325,7 +15323,7 @@
|
||||
"id": 228,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -15518,7 +15516,7 @@
|
||||
"id": 234,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -17754,7 +17752,7 @@
|
||||
"id": 273,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -18371,7 +18369,7 @@
|
||||
"id": 287,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -18496,7 +18494,7 @@
|
||||
"id": 291,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -18530,7 +18528,7 @@
|
||||
"id": 292,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -20372,7 +20370,7 @@
|
||||
"id": 320,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -20407,7 +20405,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"kusama_runtime",
|
||||
"Call"
|
||||
"RuntimeCall"
|
||||
],
|
||||
"params": [],
|
||||
"def": {
|
||||
@@ -22646,7 +22644,7 @@
|
||||
{
|
||||
"name": "calls",
|
||||
"type": 337,
|
||||
"typeName": "Vec<<T as Config>::Call>",
|
||||
"typeName": "Vec<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22685,7 +22683,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 321,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22712,7 +22710,7 @@
|
||||
{
|
||||
"name": "calls",
|
||||
"type": 337,
|
||||
"typeName": "Vec<<T as Config>::Call>",
|
||||
"typeName": "Vec<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22746,7 +22744,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 321,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22770,7 +22768,7 @@
|
||||
{
|
||||
"name": "calls",
|
||||
"type": 337,
|
||||
"typeName": "Vec<<T as Config>::Call>",
|
||||
"typeName": "Vec<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -23506,6 +23504,12 @@
|
||||
"type": 384,
|
||||
"typeName": "Judgement<BalanceOf<T>>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "identity",
|
||||
"type": 10,
|
||||
"typeName": "T::Hash",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 9,
|
||||
@@ -23519,6 +23523,7 @@
|
||||
"- `target`: the account whose identity the judgement is upon. This must be an account",
|
||||
" with a registered identity.",
|
||||
"- `judgement`: the judgement of the registrar of index `reg_index` about `target`.",
|
||||
"- `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.",
|
||||
"",
|
||||
"Emits `JudgementGiven` if successful.",
|
||||
"",
|
||||
@@ -23742,7 +23747,7 @@
|
||||
"id": 347,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -25504,7 +25509,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 321,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -26325,7 +26330,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 321,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -26685,7 +26690,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 321,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -26787,7 +26792,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 321,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -33674,7 +33679,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 553,
|
||||
"typeName": "Box<VersionedXcm<<T as SysConfig>::Call>>",
|
||||
"typeName": "Box<VersionedXcm<<T as SysConfig>::RuntimeCall>>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -33910,7 +33915,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -33923,7 +33928,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 543,
|
||||
"typeName": "v0::Xcm<Call>",
|
||||
"typeName": "v0::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -33936,7 +33941,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 548,
|
||||
"typeName": "v1::Xcm<Call>",
|
||||
"typeName": "v1::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -33949,7 +33954,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 133,
|
||||
"typeName": "v2::Xcm<Call>",
|
||||
"typeName": "v2::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -33972,7 +33977,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -33991,7 +33996,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 544,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34010,7 +34015,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 544,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34029,7 +34034,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 544,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34117,7 +34122,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 147,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34199,7 +34204,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 543,
|
||||
"typeName": "alloc::boxed::Box<Xcm<Call>>",
|
||||
"typeName": "alloc::boxed::Box<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34236,7 +34241,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -34417,7 +34422,7 @@
|
||||
{
|
||||
"name": "xcm",
|
||||
"type": 546,
|
||||
"typeName": "Vec<Xcm<Call>>",
|
||||
"typeName": "Vec<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34484,7 +34489,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -34503,7 +34508,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 549,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34522,7 +34527,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 549,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34541,7 +34546,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 549,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34629,7 +34634,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 147,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34711,7 +34716,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 548,
|
||||
"typeName": "alloc::boxed::Box<Xcm<Call>>",
|
||||
"typeName": "alloc::boxed::Box<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -34773,7 +34778,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -34966,7 +34971,7 @@
|
||||
{
|
||||
"name": "instructions",
|
||||
"type": 551,
|
||||
"typeName": "Vec<Xcm<Call>>",
|
||||
"typeName": "Vec<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35045,7 +35050,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -35058,7 +35063,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 554,
|
||||
"typeName": "v0::Xcm<Call>",
|
||||
"typeName": "v0::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35071,7 +35076,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 559,
|
||||
"typeName": "v1::Xcm<Call>",
|
||||
"typeName": "v1::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35084,7 +35089,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 563,
|
||||
"typeName": "v2::Xcm<Call>",
|
||||
"typeName": "v2::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35107,7 +35112,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -35126,7 +35131,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 555,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35145,7 +35150,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 555,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35164,7 +35169,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 555,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35252,7 +35257,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 558,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35334,7 +35339,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 554,
|
||||
"typeName": "alloc::boxed::Box<Xcm<Call>>",
|
||||
"typeName": "alloc::boxed::Box<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35371,7 +35376,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -35552,7 +35557,7 @@
|
||||
{
|
||||
"name": "xcm",
|
||||
"type": 557,
|
||||
"typeName": "Vec<Xcm<Call>>",
|
||||
"typeName": "Vec<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35617,7 +35622,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -35636,7 +35641,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 560,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35655,7 +35660,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 560,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35674,7 +35679,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 560,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35762,7 +35767,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 558,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35844,7 +35849,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 559,
|
||||
"typeName": "alloc::boxed::Box<Xcm<Call>>",
|
||||
"typeName": "alloc::boxed::Box<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -35906,7 +35911,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -36099,7 +36104,7 @@
|
||||
{
|
||||
"name": "instructions",
|
||||
"type": 562,
|
||||
"typeName": "Vec<Xcm<Call>>",
|
||||
"typeName": "Vec<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -36135,7 +36140,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -36145,7 +36150,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 564,
|
||||
"typeName": "Vec<Instruction<Call>>",
|
||||
"typeName": "Vec<Instruction<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
@@ -36177,7 +36182,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -36310,7 +36315,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 558,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -36611,7 +36616,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 563,
|
||||
"typeName": "Xcm<Call>",
|
||||
"typeName": "Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -36624,7 +36629,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 563,
|
||||
"typeName": "Xcm<Call>",
|
||||
"typeName": "Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -36869,7 +36874,7 @@
|
||||
"id": 568,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -37274,7 +37279,7 @@
|
||||
"id": 574,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -37411,7 +37416,7 @@
|
||||
"id": 577,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -37759,7 +37764,7 @@
|
||||
"id": 585,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -37834,7 +37839,7 @@
|
||||
"id": 589,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -37868,7 +37873,7 @@
|
||||
"id": 590,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -38140,6 +38145,14 @@
|
||||
"docs": [
|
||||
"Sub-account isn't owned by sender."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "JudgementForDifferentIdentity",
|
||||
"fields": [],
|
||||
"index": 16,
|
||||
"docs": [
|
||||
"The provided judgement was for a different identity."
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -38614,7 +38627,7 @@
|
||||
"id": 606,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -38849,7 +38862,7 @@
|
||||
"id": 609,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -39179,7 +39192,7 @@
|
||||
"id": 618,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -39288,7 +39301,7 @@
|
||||
"id": 622,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -39784,7 +39797,7 @@
|
||||
"id": 632,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -40058,7 +40071,7 @@
|
||||
"id": 636,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -40724,7 +40737,7 @@
|
||||
"id": 649,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_btree_map",
|
||||
"BoundedBTreeMap"
|
||||
@@ -40996,7 +41009,7 @@
|
||||
"id": 655,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -41030,7 +41043,7 @@
|
||||
"id": 656,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -41549,7 +41562,7 @@
|
||||
"id": 668,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_btree_map",
|
||||
"BoundedBTreeMap"
|
||||
@@ -41818,7 +41831,7 @@
|
||||
"id": 675,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_btree_map",
|
||||
"BoundedBTreeMap"
|
||||
@@ -41914,7 +41927,7 @@
|
||||
"id": 679,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -45808,7 +45821,7 @@
|
||||
"id": 763,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -268,7 +268,7 @@
|
||||
{
|
||||
"name": "Version",
|
||||
"type": 172,
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000402400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a0600000017a6bc0d0062aeb301000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a801000000f3ff14d5ab527059010000000d00000000",
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f74000000004a2400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a0600000017a6bc0d0062aeb301000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a801000000f3ff14d5ab527059010000000e00000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -4181,6 +4181,24 @@
|
||||
"docs": [
|
||||
" The maximum number of electable targets to put in the snapshot."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxLength",
|
||||
"type": 4,
|
||||
"value": "0x00003600",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxWeight",
|
||||
"type": 8,
|
||||
"value": "0x68151d3557010000",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxVotesPerVoter",
|
||||
"type": 4,
|
||||
"value": "0x10000000",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"PerDispatchClass"
|
||||
],
|
||||
"params": [
|
||||
@@ -217,8 +217,7 @@
|
||||
"id": 8,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"sp_weights",
|
||||
"weight_v2",
|
||||
"Weight"
|
||||
],
|
||||
@@ -494,7 +493,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"polkadot_runtime",
|
||||
"Event"
|
||||
"RuntimeEvent"
|
||||
],
|
||||
"params": [],
|
||||
"def": {
|
||||
@@ -1138,7 +1137,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"DispatchInfo"
|
||||
],
|
||||
"params": [],
|
||||
@@ -1174,7 +1173,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"DispatchClass"
|
||||
],
|
||||
"params": [],
|
||||
@@ -1210,7 +1209,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"Pays"
|
||||
],
|
||||
"params": [],
|
||||
@@ -9517,7 +9516,7 @@
|
||||
"id": 126,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -9740,7 +9739,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -9750,7 +9749,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 131,
|
||||
"typeName": "Vec<Instruction<Call>>",
|
||||
"typeName": "Vec<Instruction<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
@@ -9782,7 +9781,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -9915,7 +9914,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 144,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -10216,7 +10215,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 130,
|
||||
"typeName": "Xcm<Call>",
|
||||
"typeName": "Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -10229,7 +10228,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 130,
|
||||
"typeName": "Xcm<Call>",
|
||||
"typeName": "Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -12073,7 +12072,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"PerDispatchClass"
|
||||
],
|
||||
"params": [
|
||||
@@ -12220,7 +12219,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"dispatch",
|
||||
"PerDispatchClass"
|
||||
],
|
||||
"params": [
|
||||
@@ -12260,8 +12259,7 @@
|
||||
"id": 171,
|
||||
"type": {
|
||||
"path": [
|
||||
"frame_support",
|
||||
"weights",
|
||||
"sp_weights",
|
||||
"RuntimeDbWeight"
|
||||
],
|
||||
"params": [],
|
||||
@@ -12658,7 +12656,7 @@
|
||||
"type": {
|
||||
"path": [
|
||||
"polkadot_runtime",
|
||||
"Call"
|
||||
"RuntimeCall"
|
||||
],
|
||||
"params": [],
|
||||
"def": {
|
||||
@@ -19211,7 +19209,7 @@
|
||||
{
|
||||
"name": "calls",
|
||||
"type": 254,
|
||||
"typeName": "Vec<<T as Config>::Call>",
|
||||
"typeName": "Vec<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -19250,7 +19248,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 181,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -19277,7 +19275,7 @@
|
||||
{
|
||||
"name": "calls",
|
||||
"type": 254,
|
||||
"typeName": "Vec<<T as Config>::Call>",
|
||||
"typeName": "Vec<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -19311,7 +19309,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 181,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -19335,7 +19333,7 @@
|
||||
{
|
||||
"name": "calls",
|
||||
"type": 254,
|
||||
"typeName": "Vec<<T as Config>::Call>",
|
||||
"typeName": "Vec<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -20071,6 +20069,12 @@
|
||||
"type": 301,
|
||||
"typeName": "Judgement<BalanceOf<T>>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "identity",
|
||||
"type": 10,
|
||||
"typeName": "T::Hash",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 9,
|
||||
@@ -20084,6 +20088,7 @@
|
||||
"- `target`: the account whose identity the judgement is upon. This must be an account",
|
||||
" with a registered identity.",
|
||||
"- `judgement`: the judgement of the registrar of index `reg_index` about `target`.",
|
||||
"- `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.",
|
||||
"",
|
||||
"Emits `JudgementGiven` if successful.",
|
||||
"",
|
||||
@@ -20307,7 +20312,7 @@
|
||||
"id": 264,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -21530,7 +21535,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 181,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -21890,7 +21895,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 181,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -21992,7 +21997,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 181,
|
||||
"typeName": "Box<<T as Config>::Call>",
|
||||
"typeName": "Box<<T as Config>::RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28239,7 +28244,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 434,
|
||||
"typeName": "Box<VersionedXcm<<T as SysConfig>::Call>>",
|
||||
"typeName": "Box<VersionedXcm<<T as SysConfig>::RuntimeCall>>",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -28475,7 +28480,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -28488,7 +28493,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 424,
|
||||
"typeName": "v0::Xcm<Call>",
|
||||
"typeName": "v0::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28501,7 +28506,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 429,
|
||||
"typeName": "v1::Xcm<Call>",
|
||||
"typeName": "v1::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28514,7 +28519,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 130,
|
||||
"typeName": "v2::Xcm<Call>",
|
||||
"typeName": "v2::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28537,7 +28542,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -28556,7 +28561,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 425,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28575,7 +28580,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 425,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28594,7 +28599,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 425,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28682,7 +28687,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 144,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28764,7 +28769,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 424,
|
||||
"typeName": "alloc::boxed::Box<Xcm<Call>>",
|
||||
"typeName": "alloc::boxed::Box<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -28801,7 +28806,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -28982,7 +28987,7 @@
|
||||
{
|
||||
"name": "xcm",
|
||||
"type": 427,
|
||||
"typeName": "Vec<Xcm<Call>>",
|
||||
"typeName": "Vec<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29049,7 +29054,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -29068,7 +29073,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 430,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29087,7 +29092,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 430,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29106,7 +29111,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 430,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29194,7 +29199,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 144,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29276,7 +29281,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 429,
|
||||
"typeName": "alloc::boxed::Box<Xcm<Call>>",
|
||||
"typeName": "alloc::boxed::Box<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29338,7 +29343,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -29531,7 +29536,7 @@
|
||||
{
|
||||
"name": "instructions",
|
||||
"type": 432,
|
||||
"typeName": "Vec<Xcm<Call>>",
|
||||
"typeName": "Vec<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29610,7 +29615,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -29623,7 +29628,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 435,
|
||||
"typeName": "v0::Xcm<Call>",
|
||||
"typeName": "v0::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29636,7 +29641,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 440,
|
||||
"typeName": "v1::Xcm<Call>",
|
||||
"typeName": "v1::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29649,7 +29654,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 444,
|
||||
"typeName": "v2::Xcm<Call>",
|
||||
"typeName": "v2::Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29672,7 +29677,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -29691,7 +29696,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 436,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29710,7 +29715,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 436,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29729,7 +29734,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 436,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29817,7 +29822,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 439,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29899,7 +29904,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 435,
|
||||
"typeName": "alloc::boxed::Box<Xcm<Call>>",
|
||||
"typeName": "alloc::boxed::Box<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -29936,7 +29941,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -30117,7 +30122,7 @@
|
||||
{
|
||||
"name": "xcm",
|
||||
"type": 438,
|
||||
"typeName": "Vec<Xcm<Call>>",
|
||||
"typeName": "Vec<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -30182,7 +30187,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -30201,7 +30206,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 441,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -30220,7 +30225,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 441,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -30239,7 +30244,7 @@
|
||||
{
|
||||
"name": "effects",
|
||||
"type": 441,
|
||||
"typeName": "Vec<Order<Call>>",
|
||||
"typeName": "Vec<Order<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -30327,7 +30332,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 439,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -30409,7 +30414,7 @@
|
||||
{
|
||||
"name": "message",
|
||||
"type": 440,
|
||||
"typeName": "alloc::boxed::Box<Xcm<Call>>",
|
||||
"typeName": "alloc::boxed::Box<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -30471,7 +30476,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -30664,7 +30669,7 @@
|
||||
{
|
||||
"name": "instructions",
|
||||
"type": 443,
|
||||
"typeName": "Vec<Xcm<Call>>",
|
||||
"typeName": "Vec<Xcm<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -30700,7 +30705,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -30710,7 +30715,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 445,
|
||||
"typeName": "Vec<Instruction<Call>>",
|
||||
"typeName": "Vec<Instruction<RuntimeCall>>",
|
||||
"docs": []
|
||||
}
|
||||
]
|
||||
@@ -30742,7 +30747,7 @@
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "Call",
|
||||
"name": "RuntimeCall",
|
||||
"type": null
|
||||
}
|
||||
],
|
||||
@@ -30875,7 +30880,7 @@
|
||||
{
|
||||
"name": "call",
|
||||
"type": 439,
|
||||
"typeName": "DoubleEncoded<Call>",
|
||||
"typeName": "DoubleEncoded<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -31176,7 +31181,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 444,
|
||||
"typeName": "Xcm<Call>",
|
||||
"typeName": "Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -31189,7 +31194,7 @@
|
||||
{
|
||||
"name": null,
|
||||
"type": 444,
|
||||
"typeName": "Xcm<Call>",
|
||||
"typeName": "Xcm<RuntimeCall>",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -31418,7 +31423,7 @@
|
||||
"id": 450,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -31525,7 +31530,7 @@
|
||||
"id": 452,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -31586,7 +31591,7 @@
|
||||
"id": 455,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -32050,7 +32055,7 @@
|
||||
"id": 467,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -32172,7 +32177,7 @@
|
||||
"id": 471,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -32432,7 +32437,7 @@
|
||||
"id": 478,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -32674,7 +32679,7 @@
|
||||
"id": 483,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -32795,7 +32800,7 @@
|
||||
"id": 487,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -33836,7 +33841,7 @@
|
||||
"id": 514,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -33953,7 +33958,7 @@
|
||||
"id": 516,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -34078,7 +34083,7 @@
|
||||
"id": 520,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -34112,7 +34117,7 @@
|
||||
"id": 521,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"weak_bounded_vec",
|
||||
"WeakBoundedVec"
|
||||
@@ -34990,7 +34995,7 @@
|
||||
"id": 540,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -35189,7 +35194,7 @@
|
||||
"id": 543,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -35594,7 +35599,7 @@
|
||||
"id": 549,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -35731,7 +35736,7 @@
|
||||
"id": 552,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -35997,7 +36002,7 @@
|
||||
"id": 558,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -36221,7 +36226,7 @@
|
||||
"id": 564,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -36296,7 +36301,7 @@
|
||||
"id": 568,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -36330,7 +36335,7 @@
|
||||
"id": 569,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -36602,6 +36607,14 @@
|
||||
"docs": [
|
||||
"Sub-account isn't owned by sender."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "JudgementForDifferentIdentity",
|
||||
"fields": [],
|
||||
"index": 16,
|
||||
"docs": [
|
||||
"The provided judgement was for a different identity."
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -36629,7 +36642,7 @@
|
||||
"id": 575,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -36738,7 +36751,7 @@
|
||||
"id": 579,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -37309,7 +37322,7 @@
|
||||
"id": 589,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -37975,7 +37988,7 @@
|
||||
"id": 602,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_btree_map",
|
||||
"BoundedBTreeMap"
|
||||
@@ -38488,7 +38501,7 @@
|
||||
"id": 614,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_btree_map",
|
||||
"BoundedBTreeMap"
|
||||
@@ -38784,7 +38797,7 @@
|
||||
"id": 623,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_btree_map",
|
||||
"BoundedBTreeMap"
|
||||
@@ -38880,7 +38893,7 @@
|
||||
"id": 627,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
@@ -42774,7 +42787,7 @@
|
||||
"id": 711,
|
||||
"type": {
|
||||
"path": [
|
||||
"sp_runtime",
|
||||
"sp_core",
|
||||
"bounded",
|
||||
"bounded_vec",
|
||||
"BoundedVec"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -217,7 +217,7 @@
|
||||
"name": "ExecutionPhase",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"plain": 134
|
||||
"plain": 133
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -1248,6 +1248,24 @@
|
||||
"docs": [
|
||||
" The maximum number of electable targets to put in the snapshot."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxLength",
|
||||
"type": 4,
|
||||
"value": "0x00003600",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxWeight",
|
||||
"type": 8,
|
||||
"value": "0x90283b6a2d010000",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
"name": "MinerMaxVotesPerVoter",
|
||||
"type": 4,
|
||||
"value": "0x10000000",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
@@ -3135,7 +3153,7 @@
|
||||
{
|
||||
"name": "Schedule",
|
||||
"type": 493,
|
||||
"value": "0x0400000000000100008000000010000000001000000001000020000000200000000040000002000000f40b0000d01b0000d61f00007215000064280000da0c00005a140000c21a00002800000028ff0000404101005e0600006c0c0000ec0e00009a0b00009c22000036290000de0d00006c27b200a00a0000fa0a0000e60a00004a0b0000ec090000000a0000640a0000e0100000441100001211000044110000d6100000fe100000e010000094110000cc100000fe1000000410000022100000dc0f0000302a00001e2d0000522b0000c42c0000fa0f000018100000be0f0000c21000003a11000030110000301100004411000051d10700000000002026b80100000000fed4c301000000002a7a0800000000002845030000000000a6c70700000000006cbe070000000000a34816000000000067c307000000000083b8070000000000aba707000000000061ad0700000000001dd2120000000000ccaf03000000000024b107000000000075000000000000000000000000000000b200000000000000684b4d270000000087731900000000005bc42d00000000006bd5a507000000003903000000000000823d0600000000003a38c40700000000de210000000000005b210000000000004235ef07000000005e95c007000000006d21000000000000d9cdb8010000000048090000000000008ef8bd01000000005b0d00000000000022e5c50700000000aa25000000000000329091080000000092d785120000000026087f0c00000000a44fa1080000000083da010000000000e843992d000000005428000000000000ed05000000000000b3b10b00000000004a0f00000000000000100e0000000000b70b000000000000aed9090000000000880400000000000020c70900000000008704000000000000258c490200000000d7a0880100000000",
|
||||
"value": "0x040000000000010000800000001000000000100000000100002000000020000000004000000300000039120000d84f00007a440000d813000007300000941b0000011d0000d12400001e00000000fa0000e73001001b030000df160000c3140000dc1400002d2800002b2a0000431200008aa3ad009a100000ea10000086100000721000007c1000009a100000861000008b1000003b100000f9100000591000009f100000b3100000db100000c7100000a9100000ef100000a9100000d11000009f1000002d2d0000c9220000f12c0000bd2400005d1100005d1100000d1100003f1100009911000067110000bb1200000712000026c1060000000000e5f8a401000000002fc6b001000000006266070000000000c1040300000000009dc006000000000004b40600000000009e0615000000000088b7060000000000eab10600000000000a9a0600000000003ea20600000000005d0a1300000000006dfb0200000000009e62060000000000750000000000000010e41f0000000000b30000000000000018205d2e0000000047351a0000000000dc382e0000000000defa9407000000003603000000000000b40f050000000000fbd7c20700000000322e000000000000002d00000000000045ac880f000000006ff0c00700000000182d00000000000068b8b701000000004c0b0000000000007275bc0100000000a40f000000000000ff3fc50700000000733100000000000049247808000000008c90f11b000000007d0ec51500000000ad3768080000000025db010000000000c851433600000000f5050000000000000306000000000000d1800a0000000000460f0000000000000de60c0000000000d00b000000000000849d080000000000a504000000000000cb8d080000000000a504000000000000fa383602000000003a4c890100000000",
|
||||
"docs": [
|
||||
" Cost schedule and limits."
|
||||
]
|
||||
@@ -3428,7 +3446,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 510,
|
||||
"value": 127
|
||||
"value": 134
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6013,10 +6031,18 @@
|
||||
" fewer storage reads/writes needed for smaller voters, but also result in delays to the",
|
||||
" automatic referendum status changes. Explicit servicing instructions are unaffected."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Tracks",
|
||||
"type": 617,
|
||||
"value": "0x04000010726f6f74010000000a000000000000000000000000000000040000000400000002000000040000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b0000000000ca9a3b",
|
||||
"docs": [
|
||||
" Information concerning the different referendum tracks."
|
||||
]
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 617
|
||||
"type": 623
|
||||
},
|
||||
"index": 45
|
||||
},
|
||||
@@ -6031,7 +6057,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 618
|
||||
"type": 624
|
||||
},
|
||||
"index": 46
|
||||
},
|
||||
@@ -6049,8 +6075,8 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 619,
|
||||
"value": 620
|
||||
"key": 625,
|
||||
"value": 626
|
||||
}
|
||||
},
|
||||
"fallback": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
@@ -6068,7 +6094,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 628
|
||||
"value": 634
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6111,7 +6137,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 631
|
||||
"type": 637
|
||||
},
|
||||
"index": 47
|
||||
},
|
||||
@@ -6145,7 +6171,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 632
|
||||
"type": 638
|
||||
},
|
||||
"index": 48
|
||||
},
|
||||
@@ -6158,7 +6184,7 @@
|
||||
"name": "Proposals",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 633
|
||||
"plain": 639
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -6242,7 +6268,7 @@
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 634
|
||||
"type": 640
|
||||
},
|
||||
"index": 49
|
||||
},
|
||||
@@ -6269,7 +6295,7 @@
|
||||
"name": "Announcements",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 635
|
||||
"plain": 641
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -6301,8 +6327,8 @@
|
||||
"hashers": [
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 637,
|
||||
"value": 638
|
||||
"key": 643,
|
||||
"value": 644
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6332,7 +6358,7 @@
|
||||
"name": "UnscrupulousAccounts",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 639
|
||||
"plain": 645
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -6344,7 +6370,7 @@
|
||||
"name": "UnscrupulousWebsites",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 640
|
||||
"plain": 646
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
@@ -6403,7 +6429,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 642
|
||||
"type": 648
|
||||
},
|
||||
"index": 50
|
||||
},
|
||||
@@ -6485,7 +6511,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 643
|
||||
"value": 649
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6513,7 +6539,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 646
|
||||
"value": 652
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6541,7 +6567,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 648
|
||||
"value": 654
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6570,7 +6596,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 649
|
||||
"value": 655
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6599,7 +6625,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 655
|
||||
"value": 661
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6666,7 +6692,7 @@
|
||||
"type": 370
|
||||
},
|
||||
"events": {
|
||||
"type": 128
|
||||
"type": 127
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -6698,7 +6724,7 @@
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 656
|
||||
"type": 662
|
||||
},
|
||||
"index": 51
|
||||
},
|
||||
@@ -6727,7 +6753,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 658
|
||||
"value": 664
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6744,7 +6770,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 88,
|
||||
"value": 660
|
||||
"value": 666
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6778,7 +6804,7 @@
|
||||
"type": 375
|
||||
},
|
||||
"events": {
|
||||
"type": 130
|
||||
"type": 129
|
||||
},
|
||||
"constants": [
|
||||
{
|
||||
@@ -6815,10 +6841,18 @@
|
||||
" fewer storage reads/writes needed for smaller voters, but also result in delays to the",
|
||||
" automatic referendum status changes. Explicit servicing instructions are unaffected."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Tracks",
|
||||
"type": 617,
|
||||
"value": "0x04000010726f6f74010000000a000000000000000000000000000000040000000400000002000000040000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b0000000000ca9a3b",
|
||||
"docs": [
|
||||
" Information concerning the different referendum tracks."
|
||||
]
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
"type": 661
|
||||
"type": 667
|
||||
},
|
||||
"index": 52
|
||||
},
|
||||
@@ -6854,7 +6888,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 0,
|
||||
"value": 662
|
||||
"value": 668
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6871,7 +6905,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 663,
|
||||
"key": 669,
|
||||
"value": 4
|
||||
}
|
||||
},
|
||||
@@ -6889,7 +6923,7 @@
|
||||
"Twox64Concat",
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 664,
|
||||
"key": 670,
|
||||
"value": 0
|
||||
}
|
||||
},
|
||||
@@ -6909,7 +6943,7 @@
|
||||
"Twox64Concat"
|
||||
],
|
||||
"key": 428,
|
||||
"value": 133
|
||||
"value": 132
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6926,7 +6960,7 @@
|
||||
"Blake2_128Concat"
|
||||
],
|
||||
"key": 4,
|
||||
"value": 665
|
||||
"value": 671
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
@@ -6938,62 +6972,62 @@
|
||||
"type": 376
|
||||
},
|
||||
"events": {
|
||||
"type": 132
|
||||
"type": 131
|
||||
},
|
||||
"constants": [],
|
||||
"errors": {
|
||||
"type": 666
|
||||
"type": 672
|
||||
},
|
||||
"index": 53
|
||||
}
|
||||
],
|
||||
"extrinsic": {
|
||||
"type": 667,
|
||||
"type": 673,
|
||||
"version": 4,
|
||||
"signedExtensions": [
|
||||
{
|
||||
"identifier": "CheckNonZeroSender",
|
||||
"type": 672,
|
||||
"additionalSigned": 30
|
||||
},
|
||||
{
|
||||
"identifier": "CheckSpecVersion",
|
||||
"type": 673,
|
||||
"additionalSigned": 4
|
||||
},
|
||||
{
|
||||
"identifier": "CheckTxVersion",
|
||||
"type": 674,
|
||||
"additionalSigned": 4
|
||||
},
|
||||
{
|
||||
"identifier": "CheckGenesis",
|
||||
"type": 675,
|
||||
"additionalSigned": 10
|
||||
},
|
||||
{
|
||||
"identifier": "CheckMortality",
|
||||
"type": 676,
|
||||
"additionalSigned": 10
|
||||
},
|
||||
{
|
||||
"identifier": "CheckNonce",
|
||||
"type": 678,
|
||||
"additionalSigned": 30
|
||||
},
|
||||
{
|
||||
"identifier": "CheckWeight",
|
||||
"identifier": "CheckSpecVersion",
|
||||
"type": 679,
|
||||
"additionalSigned": 4
|
||||
},
|
||||
{
|
||||
"identifier": "CheckTxVersion",
|
||||
"type": 680,
|
||||
"additionalSigned": 4
|
||||
},
|
||||
{
|
||||
"identifier": "CheckGenesis",
|
||||
"type": 681,
|
||||
"additionalSigned": 10
|
||||
},
|
||||
{
|
||||
"identifier": "CheckMortality",
|
||||
"type": 682,
|
||||
"additionalSigned": 10
|
||||
},
|
||||
{
|
||||
"identifier": "CheckNonce",
|
||||
"type": 684,
|
||||
"additionalSigned": 30
|
||||
},
|
||||
{
|
||||
"identifier": "CheckWeight",
|
||||
"type": 685,
|
||||
"additionalSigned": 30
|
||||
},
|
||||
{
|
||||
"identifier": "ChargeAssetTxPayment",
|
||||
"type": 680,
|
||||
"type": 686,
|
||||
"additionalSigned": 30
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": 681
|
||||
"type": 687
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
+10
-10
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "9.3.2",
|
||||
"version": "9.4.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.9",
|
||||
"@polkadot/keyring": "^10.1.7",
|
||||
"@polkadot/types-augment": "9.3.2",
|
||||
"@polkadot/types-codec": "9.3.2",
|
||||
"@polkadot/types-create": "9.3.2",
|
||||
"@polkadot/util": "^10.1.7",
|
||||
"@polkadot/util-crypto": "^10.1.7",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@polkadot/keyring": "^10.1.8",
|
||||
"@polkadot/types-augment": "9.4.1",
|
||||
"@polkadot/types-codec": "9.4.1",
|
||||
"@polkadot/types-create": "9.4.1",
|
||||
"@polkadot/util": "^10.1.8",
|
||||
"@polkadot/util-crypto": "^10.1.8",
|
||||
"rxjs": "^7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^10.1.7",
|
||||
"@polkadot/types-support": "9.3.2"
|
||||
"@polkadot/keyring": "^10.1.8",
|
||||
"@polkadot/types-support": "9.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,11 +36,11 @@ describe('AccountId', (): void => {
|
||||
});
|
||||
|
||||
describe('decoding', (): void => {
|
||||
const testDecode = (type: string, input: Uint8Array | string, expected: string): void =>
|
||||
const testDecode = (type: string, input: Uint8Array | string, expected: string, createType = 'AccountId'): void =>
|
||||
it(`can decode from ${type}`, (): void => {
|
||||
expect(
|
||||
registry
|
||||
.createType('AccountId', input)
|
||||
.createType(createType, input)
|
||||
.toString()
|
||||
).toBe(expected);
|
||||
});
|
||||
@@ -51,6 +51,28 @@ describe('AccountId', (): void => {
|
||||
).toThrow(/Invalid AccountId provided, expected 32 bytes/);
|
||||
});
|
||||
|
||||
it('correctly encodes for AccountId32', (): void => {
|
||||
const s = '5CHCWUYMmDGeJjiuaQ1LnrsAWacDhiTAV6vCfytSxoqBdCCb';
|
||||
const h = '0x0987654309876543098765430987654309876543098765430987654309876543';
|
||||
const a = registry.createType('AccountId32', s);
|
||||
|
||||
expect(a).toHaveLength(32);
|
||||
expect(a.toHex()).toEqual(h);
|
||||
expect(a.toString()).toEqual(s);
|
||||
expect(registry.createType('AccountId32', h).toString()).toEqual(s);
|
||||
});
|
||||
|
||||
it('correctly encodes for AccountId33', (): void => {
|
||||
const s = 'KWnVo6ZQe9A3fHZy4QYWMR6QyZLT4hxUs37pX465bKhfsMobh';
|
||||
const h = '0x098765430987654309876543098765430987654309876543098765430987654309';
|
||||
const a = registry.createType('AccountId33', s);
|
||||
|
||||
expect(a).toHaveLength(33);
|
||||
expect(a.toHex()).toEqual(h);
|
||||
expect(a.toString()).toEqual(s);
|
||||
expect(registry.createType('AccountId33', h).toString()).toEqual(s);
|
||||
});
|
||||
|
||||
testDecode(
|
||||
'AccountId',
|
||||
registry.createType('AccountId', '0x0102030405060708010203040506070801020304050607080102030405060708'),
|
||||
@@ -59,7 +81,8 @@ describe('AccountId', (): void => {
|
||||
testDecode(
|
||||
'AccountId33',
|
||||
registry.createType('AccountId33', '0x098765430987654309876543098765430987654309876543098765430987654309'),
|
||||
'5CHCWUYMmDGeJjiuaQ1LnrsAWacDhiTAV6vCfytSxoqBdCCb'
|
||||
'KWnVo6ZQe9A3fHZy4QYWMR6QyZLT4hxUs37pX465bKhfsMobh',
|
||||
'AccountId33'
|
||||
);
|
||||
testDecode('hex', '0x0102030405060708010203040506070801020304050607080102030405060708', '5C62W7ELLAAfix9LYrcx5smtcffbhvThkM5x7xfMeYXCtGwF');
|
||||
testDecode('string', '5C62W7ELLAAfix9LYrcx5smtcffbhvThkM5x7xfMeYXCtGwF', '5C62W7ELLAAfix9LYrcx5smtcffbhvThkM5x7xfMeYXCtGwF');
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2022 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AnyString, AnyU8a, Registry } from '@polkadot/types-codec/types';
|
||||
import type { AnyString, AnyU8a, Registry, U8aBitLength } from '@polkadot/types-codec/types';
|
||||
|
||||
import { U8aFixed } from '@polkadot/types-codec';
|
||||
import { hexToU8a, isHex, isString, isU8a, u8aToU8a } from '@polkadot/util';
|
||||
@@ -32,7 +32,7 @@ class BaseAccountId extends U8aFixed {
|
||||
throw new Error(`Invalid AccountId provided, expected ${allowedBits >> 3} bytes, found ${decoded.length}`);
|
||||
}
|
||||
|
||||
super(registry, decoded, 256);
|
||||
super(registry, decoded, allowedBits as U8aBitLength);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -47,8 +47,9 @@ const PATHS_ALIAS = splitNamespace([
|
||||
'sp_core::crypto::AccountId32',
|
||||
'sp_runtime::generic::era::Era',
|
||||
'sp_runtime::multiaddress::MultiAddress',
|
||||
// weights v2 is a structure, treated as a u64 vis refTime
|
||||
// weights v2 (1.5+) is a structure, treated as a u64 via refTime (these are used compact)
|
||||
'frame_support::weights::weight_v2::Weight',
|
||||
'sp_weights::weight_v2::Weight',
|
||||
// ethereum overrides (Frontier, Moonbeam, Polkadot claims)
|
||||
'account::AccountId20',
|
||||
'polkadot_runtime_common::claims::EthereumAddress',
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.3.2' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.4.1' };
|
||||
|
||||
Reference in New Issue
Block a user