Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5c81e4fd3b | ||
|
|
27d21ce117 | ||
|
|
417e46016b | ||
|
|
fc7bb681f5 | ||
|
|
a0592986fa | ||
|
|
d9aa61c786 | ||
|
|
8883d355ff | ||
|
|
2ca657257c | ||
|
|
482471b878 | ||
|
|
627f990166 | ||
|
|
a73603cf0a | ||
|
|
1744544552 | ||
|
|
408de16495 | ||
|
|
2822c43df3 | ||
|
|
4fd3ac4097 | ||
|
|
2c33d3d452 | ||
|
|
65c1b8b26d | ||
|
|
7c6012ab07 |
@@ -1,5 +1,19 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 9.7.1 Nov 6, 2022
|
||||||
|
|
||||||
|
Contributed:
|
||||||
|
|
||||||
|
- Update `@substrate/connect` to latest (Thanks to https://github.com/wirednkod)
|
||||||
|
- Add `api.rpc(method, ...params)` support (Thanks to https://github.com/xlc)
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Align `ScProvider` code structure with other providers
|
||||||
|
- Add `isClonable` getter on providers (some, e.g. sc doesn't support this)
|
||||||
|
- Update to latest Substrate metadata
|
||||||
|
|
||||||
|
|
||||||
## 9.6.2 Oct 30, 2022
|
## 9.6.2 Oct 30, 2022
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|||||||
+3
-3
@@ -1,11 +1,11 @@
|
|||||||
3263 Jaco 9.6.2 (#5304)
|
3270 Jaco 9.7.1 (#5320)
|
||||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||||
37 Keith Ingram Update contract types and rpc (#4541)
|
37 Keith Ingram Update contract types and rpc (#4541)
|
||||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||||
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
||||||
16 Xiliang Chen implement entriesPaged and keysPages for query at (#4701)
|
17 Xiliang Chen able to send raw rpc methods (#5305)
|
||||||
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
||||||
13 Nikos Kontakis Bump Substrate connect to 0.7.15 (#5275)
|
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
|
||||||
11 Ian He HttpProvider support clone() (#3949)
|
11 Ian He HttpProvider support clone() (#3949)
|
||||||
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
||||||
5 Chevdor Fix metadata package link (#3458)
|
5 Chevdor Fix metadata package link (#3458)
|
||||||
|
|||||||
+7
-7
@@ -11,10 +11,10 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"versions": {
|
"versions": {
|
||||||
"git": "9.6.2",
|
"git": "9.7.1",
|
||||||
"npm": "9.6.2"
|
"npm": "9.7.1"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
@@ -36,12 +36,12 @@
|
|||||||
"test:one": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --detectOpenHandles --forceExit"
|
"test:one": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --detectOpenHandles --forceExit"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.19.6",
|
"@babel/core": "^7.20.2",
|
||||||
"@babel/register": "^7.18.9",
|
"@babel/register": "^7.18.9",
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/dev": "^0.67.150",
|
"@polkadot/dev": "^0.67.154",
|
||||||
"@polkadot/typegen": "workspace:packages/typegen",
|
"@polkadot/typegen": "workspace:packages/typegen",
|
||||||
"@types/jest": "^29.2.0",
|
"@types/jest": "^29.2.2",
|
||||||
"copyfiles": "^2.4.1"
|
"copyfiles": "^2.4.1"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
|
|||||||
@@ -20,18 +20,18 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/api-base": "9.6.2",
|
"@polkadot/api-base": "9.7.1",
|
||||||
"@polkadot/rpc-augment": "9.6.2",
|
"@polkadot/rpc-augment": "9.7.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-augment": "9.6.2",
|
"@polkadot/types-augment": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11"
|
"@polkadot/util": "^10.1.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types-support": "9.6.2"
|
"@polkadot/types-support": "9.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -247,8 +247,8 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* The maximum number of concurrent votes an account may have.
|
* The maximum number of concurrent votes an account may have.
|
||||||
*
|
*
|
||||||
* Also used to compute weight, an overly large value can
|
* Also used to compute weight, an overly large value can lead to extrinsics with large
|
||||||
* lead to extrinsic with large weight estimation: see `delegate` for instance.
|
* weight estimation: see `delegate` for instance.
|
||||||
**/
|
**/
|
||||||
maxVotes: u32 & AugmentedConst<ApiType>;
|
maxVotes: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -624,7 +624,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* The maximum amount of signatories allowed in the multisig.
|
* The maximum amount of signatories allowed in the multisig.
|
||||||
**/
|
**/
|
||||||
maxSignatories: u16 & AugmentedConst<ApiType>;
|
maxSignatories: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -458,6 +458,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The topics passed to `seal_deposit_events` contains at least one duplicate.
|
* The topics passed to `seal_deposit_events` contains at least one duplicate.
|
||||||
**/
|
**/
|
||||||
DuplicateTopics: AugmentedError<ApiType>;
|
DuplicateTopics: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* An indetermistic code was used in a context where this is not permitted.
|
||||||
|
**/
|
||||||
|
Indeterministic: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
||||||
**/
|
**/
|
||||||
@@ -1006,6 +1010,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Judgement given.
|
* Judgement given.
|
||||||
**/
|
**/
|
||||||
JudgementGiven: AugmentedError<ApiType>;
|
JudgementGiven: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Error that occurs when there is an issue paying for judgement.
|
||||||
|
**/
|
||||||
|
JudgementPaymentFailed: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* No identity found.
|
* No identity found.
|
||||||
**/
|
**/
|
||||||
@@ -1211,6 +1219,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* anymore to, for example, collect rewards).
|
* anymore to, for example, collect rewards).
|
||||||
**/
|
**/
|
||||||
FullyUnbonding: AugmentedError<ApiType>;
|
FullyUnbonding: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Pool id provided is not correct/usable.
|
||||||
|
**/
|
||||||
|
InvalidPoolId: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Too many members in the pool or system.
|
* Too many members in the pool or system.
|
||||||
**/
|
**/
|
||||||
@@ -1260,6 +1272,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Partial unbonding now allowed permissionlessly.
|
* Partial unbonding now allowed permissionlessly.
|
||||||
**/
|
**/
|
||||||
PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
|
PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Pool id currently in use.
|
||||||
|
**/
|
||||||
|
PoolIdInUse: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* An account is not a member.
|
* An account is not a member.
|
||||||
**/
|
**/
|
||||||
@@ -1401,7 +1417,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
BadTrack: AugmentedError<ApiType>;
|
BadTrack: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* There are already a full complement of referendums in progress for this track.
|
* There are already a full complement of referenda in progress for this track.
|
||||||
**/
|
**/
|
||||||
Full: AugmentedError<ApiType>;
|
Full: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -1521,7 +1537,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
BadTrack: AugmentedError<ApiType>;
|
BadTrack: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* There are already a full complement of referendums in progress for this track.
|
* There are already a full complement of referenda in progress for this track.
|
||||||
**/
|
**/
|
||||||
Full: AugmentedError<ApiType>;
|
Full: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -879,7 +879,7 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
MemberRemoved: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
MemberRemoved: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
||||||
/**
|
/**
|
||||||
* The member `who`'s rank has been changed to the given `rank`.
|
* The member `who`se rank has been changed to the given `rank`.
|
||||||
**/
|
**/
|
||||||
RankChanged: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
RankChanged: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
||||||
/**
|
/**
|
||||||
@@ -932,7 +932,7 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], { index: u32, tally: PalletRankedCollectiveTally }>;
|
Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletRankedCollectiveTally], { index: u32, tally: PalletRankedCollectiveTally }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has being submitted.
|
* A referendum has been submitted.
|
||||||
**/
|
**/
|
||||||
Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32, track: u16, proposal: FrameSupportPreimagesBounded }>;
|
Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32, track: u16, proposal: FrameSupportPreimagesBounded }>;
|
||||||
/**
|
/**
|
||||||
@@ -1014,7 +1014,7 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32, tally: PalletConvictionVotingTally }>;
|
Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32, tally: PalletConvictionVotingTally }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has being submitted.
|
* A referendum has been submitted.
|
||||||
**/
|
**/
|
||||||
Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32, track: u16, proposal: FrameSupportPreimagesBounded }>;
|
Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32, track: u16, proposal: FrameSupportPreimagesBounded }>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import '@polkadot/api-base/types/storage';
|
|||||||
|
|
||||||
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
||||||
import type { Data } from '@polkadot/types';
|
import type { Data } from '@polkadot/types';
|
||||||
import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, 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, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGiltActiveGilt, PalletGiltActiveGiltsTotal, PalletGiltGiltBid, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, 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';
|
||||||
@@ -544,14 +544,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
round: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* A sorted, bounded set of `(score, index)`, where each `index` points to a value in
|
* A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a
|
||||||
* `SignedSubmissions`.
|
* value in `SignedSubmissions`.
|
||||||
*
|
*
|
||||||
* We never need to process more than a single signed submission at a time. Signed submissions
|
* We never need to process more than a single signed submission at a time. Signed submissions
|
||||||
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
|
* can be quite large, so we're willing to pay the cost of multiple database accesses to access
|
||||||
* them one at a time instead of reading and decoding all of them at once.
|
* them one at a time instead of reading and decoding all of them at once.
|
||||||
**/
|
**/
|
||||||
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<BTreeMap<SpNposElectionsElectionScore, u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
signedSubmissionIndices: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpNposElectionsElectionScore, u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The next index to be assigned to an incoming signed submission.
|
* The next index to be assigned to an incoming signed submission.
|
||||||
*
|
*
|
||||||
@@ -1455,7 +1455,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
unappliedSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletStakingUnappliedSlash>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* The ideal number of staking participants.
|
* The ideal number of active validators.
|
||||||
**/
|
**/
|
||||||
validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
validatorCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
|
|||||||
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetsDestroyWitness, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||||
@@ -1265,6 +1265,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* the in storage version to the current
|
* the in storage version to the current
|
||||||
* [`InstructionWeights::version`](InstructionWeights).
|
* [`InstructionWeights::version`](InstructionWeights).
|
||||||
*
|
*
|
||||||
|
* - `determinism`: If this is set to any other value but [`Determinism::Deterministic`]
|
||||||
|
* then the only way to use this code is to delegate call into it from an offchain
|
||||||
|
* execution. Set to [`Determinism::Deterministic`] if in doubt.
|
||||||
|
*
|
||||||
* # Note
|
* # Note
|
||||||
*
|
*
|
||||||
* Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
|
* Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
|
||||||
@@ -1272,7 +1276,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* only be instantiated by permissioned entities. The same is true when uploading
|
* only be instantiated by permissioned entities. The same is true when uploading
|
||||||
* through [`Self::instantiate_with_code`].
|
* through [`Self::instantiate_with_code`].
|
||||||
**/
|
**/
|
||||||
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber) => SubmittableExtrinsic<ApiType>, [Bytes, Option<Compact<u128>>]>;
|
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, determinism: PalletContractsWasmDeterminism | 'Deterministic' | 'AllowIndeterminism' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<Compact<u128>>, PalletContractsWasmDeterminism]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1360,7 +1364,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Undelegate the voting power of the sending account for a particular class of polls.
|
* Undelegate the voting power of the sending account for a particular class of polls.
|
||||||
*
|
*
|
||||||
* Tokens may be unlocked following once an amount of time consistent with the lock period
|
* Tokens may be unlocked following once an amount of time consistent with the lock period
|
||||||
* of the conviction with which the delegation was issued.
|
* of the conviction with which the delegation was issued has passed.
|
||||||
*
|
*
|
||||||
* The dispatch origin of this call must be _Signed_ and the signing account must be
|
* The dispatch origin of this call must be _Signed_ and the signing account must be
|
||||||
* currently delegating.
|
* currently delegating.
|
||||||
@@ -1374,7 +1378,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
undelegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
|
undelegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
|
||||||
/**
|
/**
|
||||||
* Remove the lock caused prior voting/delegating which has expired within a particluar
|
* Remove the lock caused by prior voting/delegating which has expired within a particular
|
||||||
* class.
|
* class.
|
||||||
*
|
*
|
||||||
* The dispatch origin of this call must be _Signed_.
|
* The dispatch origin of this call must be _Signed_.
|
||||||
@@ -2798,6 +2802,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* needs at have at least `amount + existential_deposit` transferrable.
|
* needs at have at least `amount + existential_deposit` transferrable.
|
||||||
**/
|
**/
|
||||||
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, stateToggler: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, stateToggler: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
||||||
|
/**
|
||||||
|
* Create a new delegation pool with a previously used pool id
|
||||||
|
*
|
||||||
|
* # Arguments
|
||||||
|
*
|
||||||
|
* same as `create` with the inclusion of
|
||||||
|
* * `pool_id` - `A valid PoolId.
|
||||||
|
**/
|
||||||
|
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, stateToggler: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
||||||
* pools account and immediately increases the pools bond.
|
* pools account and immediately increases the pools bond.
|
||||||
@@ -5414,13 +5427,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
/**
|
/**
|
||||||
* Send a batch of dispatch calls.
|
* Send a batch of dispatch calls.
|
||||||
*
|
*
|
||||||
* May be called from any origin.
|
* May be called from any origin except `None`.
|
||||||
*
|
*
|
||||||
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
||||||
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
||||||
*
|
*
|
||||||
* If origin is root then call are dispatch without checking origin filter. (This includes
|
* If origin is root then the calls are dispatched without checking origin filter. (This
|
||||||
* bypassing `frame_system::Config::BaseCallFilter`).
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
||||||
*
|
*
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - Complexity: O(C) where C is the number of calls to be batched.
|
* - Complexity: O(C) where C is the number of calls to be batched.
|
||||||
@@ -5437,13 +5450,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Send a batch of dispatch calls and atomically execute them.
|
* Send a batch of dispatch calls and atomically execute them.
|
||||||
* The whole transaction will rollback and fail if any of the calls failed.
|
* The whole transaction will rollback and fail if any of the calls failed.
|
||||||
*
|
*
|
||||||
* May be called from any origin.
|
* May be called from any origin except `None`.
|
||||||
*
|
*
|
||||||
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
||||||
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
||||||
*
|
*
|
||||||
* If origin is root then call are dispatch without checking origin filter. (This includes
|
* If origin is root then the calls are dispatched without checking origin filter. (This
|
||||||
* bypassing `frame_system::Config::BaseCallFilter`).
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
||||||
*
|
*
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - Complexity: O(C) where C is the number of calls to be batched.
|
* - Complexity: O(C) where C is the number of calls to be batched.
|
||||||
@@ -5467,13 +5480,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Send a batch of dispatch calls.
|
* Send a batch of dispatch calls.
|
||||||
* Unlike `batch`, it allows errors and won't interrupt.
|
* Unlike `batch`, it allows errors and won't interrupt.
|
||||||
*
|
*
|
||||||
* May be called from any origin.
|
* May be called from any origin except `None`.
|
||||||
*
|
*
|
||||||
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
||||||
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
||||||
*
|
*
|
||||||
* If origin is root then call are dispatch without checking origin filter. (This includes
|
* If origin is root then the calls are dispatch without checking origin filter. (This
|
||||||
* bypassing `frame_system::Config::BaseCallFilter`).
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
||||||
*
|
*
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - Complexity: O(C) where C is the number of calls to be batched.
|
* - Complexity: O(C) where C is the number of calls to be batched.
|
||||||
|
|||||||
@@ -20,12 +20,12 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/rpc-core": "9.6.2",
|
"@polkadot/rpc-core": "9.7.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"rxjs": "^7.5.7"
|
"rxjs": "^7.5.7"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import type { Observable } from 'rxjs';
|
import type { Observable } from 'rxjs';
|
||||||
import type { AnyFunction, Callback, DefinitionRpc } from '@polkadot/types/types';
|
import type { AnyFunction, AnyJson, Callback, DefinitionRpc } from '@polkadot/types/types';
|
||||||
|
|
||||||
import { ApiTypes, PromiseResult, Push, RxResult, UnsubscribePromise } from './base';
|
import { ApiTypes, PromiseResult, Push, RxResult, UnsubscribePromise } from './base';
|
||||||
|
|
||||||
@@ -29,6 +29,8 @@ export type DecoratedRpcSection<ApiType extends ApiTypes, Section> = {
|
|||||||
: never
|
: never
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type RawRpcType<ApiType extends ApiTypes> = (method: string, ...params: unknown[]) => ApiType extends 'rxjs' ? Observable<AnyJson> : Promise<AnyJson>;
|
||||||
|
|
||||||
export type DecoratedRpc<ApiType extends ApiTypes, AllSections> = {
|
export type DecoratedRpc<ApiType extends ApiTypes, AllSections> = {
|
||||||
[S in keyof AllSections]: DecoratedRpcSection<ApiType, AllSections[S]>
|
[S in keyof AllSections]: DecoratedRpcSection<ApiType, AllSections[S]>
|
||||||
}
|
} & RawRpcType<ApiType>
|
||||||
|
|||||||
@@ -20,20 +20,20 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/api": "9.6.2",
|
"@polkadot/api": "9.7.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/types-create": "9.6.2",
|
"@polkadot/types-create": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"@polkadot/util-crypto": "^10.1.11",
|
"@polkadot/util-crypto": "^10.1.11",
|
||||||
"rxjs": "^7.5.7"
|
"rxjs": "^7.5.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "9.6.2",
|
"@polkadot/api-augment": "9.7.1",
|
||||||
"@polkadot/keyring": "^10.1.11"
|
"@polkadot/keyring": "^10.1.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -20,25 +20,25 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/api": "9.6.2",
|
"@polkadot/api": "9.7.1",
|
||||||
"@polkadot/api-augment": "9.6.2",
|
"@polkadot/api-augment": "9.7.1",
|
||||||
"@polkadot/api-base": "9.6.2",
|
"@polkadot/api-base": "9.7.1",
|
||||||
"@polkadot/rpc-core": "9.6.2",
|
"@polkadot/rpc-core": "9.7.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"@polkadot/util-crypto": "^10.1.11",
|
"@polkadot/util-crypto": "^10.1.11",
|
||||||
"rxjs": "^7.5.7"
|
"rxjs": "^7.5.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "9.6.2",
|
"@polkadot/api": "9.7.1",
|
||||||
"@polkadot/api-augment": "9.6.2",
|
"@polkadot/api-augment": "9.7.1",
|
||||||
"@polkadot/rpc-augment": "9.6.2",
|
"@polkadot/rpc-augment": "9.7.1",
|
||||||
"@polkadot/rpc-provider": "9.6.2",
|
"@polkadot/rpc-provider": "9.7.1",
|
||||||
"@polkadot/types-support": "9.6.2"
|
"@polkadot/types-support": "9.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
+15
-15
@@ -20,29 +20,29 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/api-augment": "9.6.2",
|
"@polkadot/api-augment": "9.7.1",
|
||||||
"@polkadot/api-base": "9.6.2",
|
"@polkadot/api-base": "9.7.1",
|
||||||
"@polkadot/api-derive": "9.6.2",
|
"@polkadot/api-derive": "9.7.1",
|
||||||
"@polkadot/keyring": "^10.1.11",
|
"@polkadot/keyring": "^10.1.11",
|
||||||
"@polkadot/rpc-augment": "9.6.2",
|
"@polkadot/rpc-augment": "9.7.1",
|
||||||
"@polkadot/rpc-core": "9.6.2",
|
"@polkadot/rpc-core": "9.7.1",
|
||||||
"@polkadot/rpc-provider": "9.6.2",
|
"@polkadot/rpc-provider": "9.7.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-augment": "9.6.2",
|
"@polkadot/types-augment": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/types-create": "9.6.2",
|
"@polkadot/types-create": "9.7.1",
|
||||||
"@polkadot/types-known": "9.6.2",
|
"@polkadot/types-known": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"@polkadot/util-crypto": "^10.1.11",
|
"@polkadot/util-crypto": "^10.1.11",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"rxjs": "^7.5.7"
|
"rxjs": "^7.5.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "9.6.2",
|
"@polkadot/api-augment": "9.7.1",
|
||||||
"@polkadot/types-support": "9.6.2"
|
"@polkadot/types-support": "9.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import type { StorageKey, Text, u64 } from '@polkadot/types';
|
|||||||
import type { Call, Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
import type { Call, Hash, RuntimeVersion } from '@polkadot/types/interfaces';
|
||||||
import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
|
import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
|
||||||
import type { StorageEntry } from '@polkadot/types/primitive/types';
|
import type { StorageEntry } from '@polkadot/types/primitive/types';
|
||||||
import type { AnyFunction, AnyTuple, CallFunction, Codec, DefinitionCallNamed, DefinitionRpc, DefinitionRpcSub, DefinitionsCall, DefinitionsCallEntry, DetectCodec, IMethod, IStorageKey, Registry, RegistryError, RegistryTypes } from '@polkadot/types/types';
|
import type { AnyFunction, AnyJson, AnyTuple, CallFunction, Codec, DefinitionCallNamed, DefinitionRpc, DefinitionRpcSub, DefinitionsCall, DefinitionsCallEntry, DetectCodec, IMethod, IStorageKey, Registry, RegistryError, RegistryTypes } from '@polkadot/types/types';
|
||||||
import type { HexString } from '@polkadot/util/types';
|
import type { HexString } from '@polkadot/util/types';
|
||||||
import type { SubmittableExtrinsic } from '../submittable/types';
|
import type { SubmittableExtrinsic } from '../submittable/types';
|
||||||
import type { ApiDecoration, ApiInterfaceRx, ApiOptions, ApiTypes, AugmentedQuery, DecoratedErrors, DecoratedEvents, DecoratedRpc, DecorateMethod, GenericStorageEntryFunction, PaginationOptions, QueryableConsts, QueryableStorage, QueryableStorageEntry, QueryableStorageEntryAt, QueryableStorageMulti, QueryableStorageMultiArg, SubmittableExtrinsicFunction, SubmittableExtrinsics } from '../types';
|
import type { ApiDecoration, ApiInterfaceRx, ApiOptions, ApiTypes, AugmentedQuery, DecoratedErrors, DecoratedEvents, DecoratedRpc, DecorateMethod, GenericStorageEntryFunction, PaginationOptions, QueryableConsts, QueryableStorage, QueryableStorageEntry, QueryableStorageEntryAt, QueryableStorageMulti, QueryableStorageMultiArg, SubmittableExtrinsicFunction, SubmittableExtrinsics } from '../types';
|
||||||
@@ -21,7 +21,7 @@ import { memo, RpcCore } from '@polkadot/rpc-core';
|
|||||||
import { WsProvider } from '@polkadot/rpc-provider';
|
import { WsProvider } from '@polkadot/rpc-provider';
|
||||||
import { expandMetadata, GenericExtrinsic, Metadata, typeDefinitions, TypeRegistry } from '@polkadot/types';
|
import { expandMetadata, GenericExtrinsic, Metadata, typeDefinitions, TypeRegistry } from '@polkadot/types';
|
||||||
import { getSpecRuntime } from '@polkadot/types-known';
|
import { getSpecRuntime } from '@polkadot/types-known';
|
||||||
import { arrayChunk, arrayFlatten, assertReturn, BN, compactStripLength, lazyMethod, lazyMethods, logger, nextTick, objectSpread, stringCamelCase, stringUpperFirst, u8aConcatStrict, u8aToHex } from '@polkadot/util';
|
import { arrayChunk, arrayFlatten, assertReturn, BN, compactStripLength, lazyMethod, lazyMethods, logger, nextTick, objectSpread, stringCamelCase, stringify, stringUpperFirst, u8aConcatStrict, u8aToHex } from '@polkadot/util';
|
||||||
import { blake2AsHex } from '@polkadot/util-crypto';
|
import { blake2AsHex } from '@polkadot/util-crypto';
|
||||||
|
|
||||||
import { createSubmittable } from '../submittable';
|
import { createSubmittable } from '../submittable';
|
||||||
@@ -167,7 +167,9 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
this._rx.registry = this.#registry;
|
this._rx.registry = this.#registry;
|
||||||
|
|
||||||
const thisProvider = options.source
|
const thisProvider = options.source
|
||||||
? options.source._rpcCore.provider.clone()
|
? options.source._rpcCore.provider.isClonable
|
||||||
|
? options.source._rpcCore.provider.clone()
|
||||||
|
: options.source._rpcCore.provider
|
||||||
: (options.provider || new WsProvider());
|
: (options.provider || new WsProvider());
|
||||||
|
|
||||||
this._decorateMethod = decorateMethod;
|
this._decorateMethod = decorateMethod;
|
||||||
@@ -401,15 +403,23 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
const [k, { method, section }] = allKnown[i];
|
const [k, { method, section }] = allKnown[i];
|
||||||
|
|
||||||
if (hasResults && !exposed.includes(k) && k !== 'rpc_methods') {
|
if (hasResults && !exposed.includes(k) && k !== 'rpc_methods') {
|
||||||
if ((this._rpc as Record<string, Record<string, unknown>>)[section]) {
|
if ((this._rpc as unknown as Record<string, Record<string, unknown>>)[section]) {
|
||||||
delete (this._rpc as Record<string, Record<string, unknown>>)[section][method];
|
delete (this._rpc as unknown as Record<string, Record<string, unknown>>)[section][method];
|
||||||
delete (this._rx.rpc as Record<string, Record<string, unknown>>)[section][method];
|
delete (this._rx.rpc as unknown as Record<string, Record<string, unknown>>)[section][method];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected _decorateRpc<ApiType extends ApiTypes> (rpc: RpcCore & RpcInterface, decorateMethod: DecorateMethod<ApiType>, input: Partial<DecoratedRpc<ApiType, RpcInterface>> = {}): DecoratedRpc<ApiType, RpcInterface> {
|
private _rpcSubmitter<ApiType extends ApiTypes> (decorateMethod: DecorateMethod<ApiType>): DecoratedRpc<ApiType, RpcInterface> {
|
||||||
|
const method = (method: string, ...params: any[]) => {
|
||||||
|
return from(this._rpcCore.provider.send<AnyJson>(method, params.map((p) => stringify(p))));
|
||||||
|
};
|
||||||
|
|
||||||
|
return decorateMethod(method) as DecoratedRpc<ApiType, RpcInterface>;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected _decorateRpc<ApiType extends ApiTypes> (rpc: RpcCore & RpcInterface, decorateMethod: DecorateMethod<ApiType>, input: Partial<DecoratedRpc<ApiType, RpcInterface>> = this._rpcSubmitter(decorateMethod)): DecoratedRpc<ApiType, RpcInterface> {
|
||||||
const out: Record<string, Record<string, unknown>> = input;
|
const out: Record<string, Record<string, unknown>> = input;
|
||||||
|
|
||||||
const decorateFn = (section: string, method: string): unknown => {
|
const decorateFn = (section: string, method: string): unknown => {
|
||||||
@@ -446,7 +456,7 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return out as DecoratedRpc<ApiType, RpcInterface>;
|
return out as unknown as DecoratedRpc<ApiType, RpcInterface>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// add all definition entries
|
// add all definition entries
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ export abstract class Init<ApiType extends ApiTypes> extends Decorate<ApiType> {
|
|||||||
|
|
||||||
for (let s = 0; s < sections.length; s++) {
|
for (let s = 0; s < sections.length; s++) {
|
||||||
const section = sections[s];
|
const section = sections[s];
|
||||||
const methods = Object.keys((source.rpc as Record<string, Record<string, unknown>>)[section]);
|
const methods = Object.keys((source.rpc as unknown as Record<string, Record<string, unknown>>)[section]);
|
||||||
|
|
||||||
for (let m = 0; m < methods.length; m++) {
|
for (let m = 0; m < methods.length; m++) {
|
||||||
rpcs.push(`${section}_${methods[m]}`);
|
rpcs.push(`${section}_${methods[m]}`);
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# @polkadot/api-augment
|
# @polkadot/rpc-augment
|
||||||
|
|
||||||
Generated augmentation.
|
Generated augmentation.
|
||||||
|
|||||||
@@ -20,13 +20,13 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/rpc-core": "9.6.2",
|
"@polkadot/rpc-core": "9.7.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11"
|
"@polkadot/util": "^10.1.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -20,18 +20,18 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/rpc-augment": "9.6.2",
|
"@polkadot/rpc-augment": "9.7.1",
|
||||||
"@polkadot/rpc-provider": "9.6.2",
|
"@polkadot/rpc-provider": "9.7.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"rxjs": "^7.5.7"
|
"rxjs": "^7.5.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^10.1.11",
|
"@polkadot/keyring": "^10.1.11",
|
||||||
"@polkadot/rpc-augment": "9.6.2"
|
"@polkadot/rpc-augment": "9.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -20,19 +20,19 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/keyring": "^10.1.11",
|
"@polkadot/keyring": "^10.1.11",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-support": "9.6.2",
|
"@polkadot/types-support": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"@polkadot/util-crypto": "^10.1.11",
|
"@polkadot/util-crypto": "^10.1.11",
|
||||||
"@polkadot/x-fetch": "^10.1.11",
|
"@polkadot/x-fetch": "^10.1.11",
|
||||||
"@polkadot/x-global": "^10.1.11",
|
"@polkadot/x-global": "^10.1.11",
|
||||||
"@polkadot/x-ws": "^10.1.11",
|
"@polkadot/x-ws": "^10.1.11",
|
||||||
"@substrate/connect": "0.7.15",
|
"@substrate/connect": "0.7.16",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"mock-socket": "^9.1.5",
|
"mock-socket": "^9.1.5",
|
||||||
"nock": "^13.2.9"
|
"nock": "^13.2.9"
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
|
|
||||||
export { HttpProvider } from './http';
|
export { HttpProvider } from './http';
|
||||||
export { packageInfo } from './packageInfo';
|
export { packageInfo } from './packageInfo';
|
||||||
export { WsProvider } from './ws';
|
|
||||||
export { ScProvider } from './substrate-connect';
|
export { ScProvider } from './substrate-connect';
|
||||||
|
export { WsProvider } from './ws';
|
||||||
|
|||||||
@@ -97,6 +97,13 @@ export class HttpProvider implements ProviderInterface {
|
|||||||
return this.#stats;
|
return this.#stats;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @summary `true` when this provider supports clone()
|
||||||
|
*/
|
||||||
|
public get isClonable (): boolean {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @summary Whether the node is connected or not.
|
* @summary Whether the node is connected or not.
|
||||||
* @return {boolean} true if connected
|
* @return {boolean} true if connected
|
||||||
|
|||||||
@@ -114,6 +114,10 @@ export class MockProvider implements ProviderInterface {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get isClonable (): boolean {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public get isConnected (): boolean {
|
public get isConnected (): boolean {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
// Copyright 2017-2022 @polkadot/rpc-provider authors & contributors
|
// Copyright 2017-2022 @polkadot/rpc-provider authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
import { stringify } from '@polkadot/util';
|
||||||
|
|
||||||
export interface SmoldotHealth {
|
export interface SmoldotHealth {
|
||||||
isSyncing: boolean
|
isSyncing: boolean
|
||||||
peers: number
|
peers: number
|
||||||
@@ -105,10 +107,7 @@ class InnerChecker {
|
|||||||
#isSyncing = false;
|
#isSyncing = false;
|
||||||
#nextRequestId = 0;
|
#nextRequestId = 0;
|
||||||
|
|
||||||
constructor (
|
constructor (healthCallback: (health: SmoldotHealth) => void, requestToSmoldot: (request: string) => void) {
|
||||||
healthCallback: (health: SmoldotHealth) => void,
|
|
||||||
requestToSmoldot: (request: string) => void
|
|
||||||
) {
|
|
||||||
this.#healthCallback = healthCallback;
|
this.#healthCallback = healthCallback;
|
||||||
this.#requestToSmoldot = requestToSmoldot;
|
this.#requestToSmoldot = requestToSmoldot;
|
||||||
}
|
}
|
||||||
@@ -124,12 +123,12 @@ class InnerChecker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (parsedRequest.id) {
|
if (parsedRequest.id) {
|
||||||
const newId = 'extern:' + JSON.stringify(parsedRequest.id);
|
const newId = 'extern:' + stringify(parsedRequest.id);
|
||||||
|
|
||||||
parsedRequest.id = newId;
|
parsedRequest.id = newId;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.#requestToSmoldot(JSON.stringify(parsedRequest));
|
this.#requestToSmoldot(stringify(parsedRequest));
|
||||||
};
|
};
|
||||||
|
|
||||||
responsePassThrough = (jsonRpcResponse: string): string | null => {
|
responsePassThrough = (jsonRpcResponse: string): string | null => {
|
||||||
@@ -220,7 +219,7 @@ class InnerChecker {
|
|||||||
parsedResponse.id = newId;
|
parsedResponse.id = newId;
|
||||||
}
|
}
|
||||||
|
|
||||||
return JSON.stringify(parsedResponse);
|
return stringify(parsedResponse);
|
||||||
};
|
};
|
||||||
|
|
||||||
update = (startNow: boolean): void => {
|
update = (startNow: boolean): void => {
|
||||||
@@ -241,12 +240,11 @@ class InnerChecker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Actual request starting.
|
// Actual request starting.
|
||||||
this.#currentHealthCheckId = 'health-checker:'.concat(
|
this.#currentHealthCheckId = `health-checker:${this.#nextRequestId}`;
|
||||||
this.#nextRequestId.toString()
|
|
||||||
);
|
|
||||||
this.#nextRequestId += 1;
|
this.#nextRequestId += 1;
|
||||||
|
|
||||||
this.#requestToSmoldot(
|
this.#requestToSmoldot(
|
||||||
JSON.stringify({
|
stringify({
|
||||||
id: this.#currentHealthCheckId,
|
id: this.#currentHealthCheckId,
|
||||||
jsonrpc: '2.0',
|
jsonrpc: '2.0',
|
||||||
method: 'system_health',
|
method: 'system_health',
|
||||||
@@ -284,12 +282,11 @@ class InnerChecker {
|
|||||||
throw new Error('Internal error in health checker');
|
throw new Error('Internal error in health checker');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.#currentSubunsubRequestId = 'health-checker:'.concat(
|
this.#currentSubunsubRequestId = `health-checker:${this.#nextRequestId}`;
|
||||||
this.#nextRequestId.toString()
|
|
||||||
);
|
|
||||||
this.#nextRequestId += 1;
|
this.#nextRequestId += 1;
|
||||||
|
|
||||||
this.#requestToSmoldot(
|
this.#requestToSmoldot(
|
||||||
JSON.stringify({
|
stringify({
|
||||||
id: this.#currentSubunsubRequestId,
|
id: this.#currentSubunsubRequestId,
|
||||||
jsonrpc: '2.0',
|
jsonrpc: '2.0',
|
||||||
method: 'chain_subscribeNewHeads',
|
method: 'chain_subscribeNewHeads',
|
||||||
@@ -303,12 +300,11 @@ class InnerChecker {
|
|||||||
throw new Error('Internal error in health checker');
|
throw new Error('Internal error in health checker');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.#currentSubunsubRequestId = 'health-checker:'.concat(
|
this.#currentSubunsubRequestId = `health-checker:${this.#nextRequestId}`;
|
||||||
this.#nextRequestId.toString()
|
|
||||||
);
|
|
||||||
this.#nextRequestId += 1;
|
this.#nextRequestId += 1;
|
||||||
|
|
||||||
this.#requestToSmoldot(
|
this.#requestToSmoldot(
|
||||||
JSON.stringify({
|
stringify({
|
||||||
id: this.#currentSubunsubRequestId,
|
id: this.#currentSubunsubRequestId,
|
||||||
jsonrpc: '2.0',
|
jsonrpc: '2.0',
|
||||||
method: 'chain_unsubscribeNewHeads',
|
method: 'chain_unsubscribeNewHeads',
|
||||||
@@ -332,11 +328,9 @@ export class HealthCheckError extends Error {
|
|||||||
return this.#cause;
|
return this.#cause;
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor (
|
constructor (response: unknown, message = 'Got error response asking for system health') {
|
||||||
response: unknown,
|
|
||||||
message = 'Got error response asking for system health'
|
|
||||||
) {
|
|
||||||
super(message);
|
super(message);
|
||||||
|
|
||||||
this.#cause = response;
|
this.#cause = response;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,394 +0,0 @@
|
|||||||
// Copyright 2017-2022 @polkadot/rpc-provider authors & contributors
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
import type { Config as ScConfig } from '@substrate/connect';
|
|
||||||
import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted } from '../types';
|
|
||||||
|
|
||||||
import { Chain, createScClient, ScClient, WellKnownChain } from '@substrate/connect';
|
|
||||||
import EventEmitter from 'eventemitter3';
|
|
||||||
|
|
||||||
import { isError, logger, objectSpread } from '@polkadot/util';
|
|
||||||
|
|
||||||
import { RpcCoder } from '../coder';
|
|
||||||
import { healthChecker } from './Health';
|
|
||||||
|
|
||||||
type ResponseCallback = (response: string | Error) => void
|
|
||||||
|
|
||||||
const l = logger('api-substrate-connect');
|
|
||||||
|
|
||||||
// These methods have been taken from:
|
|
||||||
// https://github.com/paritytech/smoldot/blob/17425040ddda47d539556eeaf62b88c4240d1d42/src/json_rpc/methods.rs#L338-L462
|
|
||||||
// It's important to take into account that smoldot is adding support to the new
|
|
||||||
// json-rpc-interface https://paritytech.github.io/json-rpc-interface-spec/
|
|
||||||
// However, at the moment this list only includes methods that belong to the "old" API
|
|
||||||
const subscriptionUnsubscriptionMethods = new Map<string, string>([
|
|
||||||
['author_submitAndWatchExtrinsic', 'author_unwatchExtrinsic'],
|
|
||||||
['chain_subscribeAllHeads', 'chain_unsubscribeAllHeads'],
|
|
||||||
['chain_subscribeFinalizedHeads', 'chain_unsubscribeFinalizedHeads'],
|
|
||||||
['chain_subscribeFinalisedHeads', 'chain_subscribeFinalisedHeads'],
|
|
||||||
['chain_subscribeNewHeads', 'chain_unsubscribeNewHeads'],
|
|
||||||
['chain_subscribeNewHead', 'chain_unsubscribeNewHead'],
|
|
||||||
['chain_subscribeRuntimeVersion', 'chain_unsubscribeRuntimeVersion'],
|
|
||||||
['subscribe_newHead', 'unsubscribe_newHead'],
|
|
||||||
['state_subscribeRuntimeVersion', 'state_unsubscribeRuntimeVersion'],
|
|
||||||
['state_subscribeStorage', 'state_unsubscribeStorage']
|
|
||||||
]);
|
|
||||||
|
|
||||||
const wellKnownChains = new Set(Object.values(WellKnownChain));
|
|
||||||
const scClients = new WeakMap<ScProvider, ScClient>();
|
|
||||||
|
|
||||||
export { WellKnownChain };
|
|
||||||
|
|
||||||
interface ActiveSubs {
|
|
||||||
type: string,
|
|
||||||
method: string,
|
|
||||||
params: any[],
|
|
||||||
callback: ProviderInterfaceCallback
|
|
||||||
}
|
|
||||||
|
|
||||||
export class ScProvider implements ProviderInterface {
|
|
||||||
readonly #coder: RpcCoder = new RpcCoder();
|
|
||||||
readonly #spec: string | WellKnownChain;
|
|
||||||
readonly #sharedSandbox?: ScProvider;
|
|
||||||
readonly #subscriptions: Map<string, [ResponseCallback, { unsubscribeMethod: string; id: string | number }]> = new Map();
|
|
||||||
readonly #resubscribeMethods: Map<string, ActiveSubs> = new Map();
|
|
||||||
readonly #requests: Map<number, ResponseCallback> = new Map();
|
|
||||||
readonly #eventemitter: EventEmitter = new EventEmitter();
|
|
||||||
#chain: Promise<Chain> | null = null;
|
|
||||||
#isChainReady = false;
|
|
||||||
|
|
||||||
static WellKnownChain = WellKnownChain;
|
|
||||||
|
|
||||||
public constructor (spec: string | WellKnownChain, sharedSandbox?: ScProvider) {
|
|
||||||
this.#spec = spec;
|
|
||||||
this.#sharedSandbox = sharedSandbox;
|
|
||||||
}
|
|
||||||
|
|
||||||
public get hasSubscriptions (): boolean {
|
|
||||||
// Indicates that subscriptions are supported
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public get isConnected (): boolean {
|
|
||||||
return !!this.#chain && this.#isChainReady;
|
|
||||||
}
|
|
||||||
|
|
||||||
public clone (): ProviderInterface {
|
|
||||||
throw new Error('clone() is not supported.');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Config details can be found in @substrate/connect repo following the link:
|
|
||||||
// https://github.com/paritytech/substrate-connect/blob/main/packages/connect/src/connector/index.ts
|
|
||||||
async connect (config?: ScConfig, checkerFactory = healthChecker): Promise<void> {
|
|
||||||
if (this.isConnected) {
|
|
||||||
throw new Error('Already connected!');
|
|
||||||
}
|
|
||||||
|
|
||||||
// it could happen that after emitting `disconnected` due to the fact taht
|
|
||||||
// smoldot is syncing, the consumer tries to reconnect after a certain amount
|
|
||||||
// of time... In which case we want to make sure that we don't create a new
|
|
||||||
// chain.
|
|
||||||
if (this.#chain) {
|
|
||||||
await this.#chain;
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.#sharedSandbox && !this.#sharedSandbox.isConnected) {
|
|
||||||
await this.#sharedSandbox.connect();
|
|
||||||
}
|
|
||||||
|
|
||||||
const client = this.#sharedSandbox
|
|
||||||
? scClients.get(this.#sharedSandbox)
|
|
||||||
: createScClient(config);
|
|
||||||
|
|
||||||
if (!client) {
|
|
||||||
throw new Error('Unkown ScProvider!');
|
|
||||||
}
|
|
||||||
|
|
||||||
scClients.set(this, client);
|
|
||||||
|
|
||||||
const hc = checkerFactory();
|
|
||||||
|
|
||||||
const onResponse = (res: string): void => {
|
|
||||||
const hcRes = hc.responsePassThrough(res);
|
|
||||||
|
|
||||||
if (!hcRes) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const response = JSON.parse(hcRes) as JsonRpcResponse;
|
|
||||||
let decodedResponse: string | Error;
|
|
||||||
|
|
||||||
try {
|
|
||||||
decodedResponse = this.#coder.decodeResponse(response) as string;
|
|
||||||
} catch (e) {
|
|
||||||
decodedResponse = e as Error;
|
|
||||||
}
|
|
||||||
|
|
||||||
// It's not a subscription message, but rather a standar RPC response
|
|
||||||
if (response.params?.subscription === undefined || !response.method) {
|
|
||||||
return this.#requests.get(response.id)?.(decodedResponse);
|
|
||||||
}
|
|
||||||
|
|
||||||
// We are dealing with a subscription message
|
|
||||||
const subscriptionId = `${response.method}::${response.params.subscription}`;
|
|
||||||
|
|
||||||
const callback = this.#subscriptions.get(subscriptionId)?.[0];
|
|
||||||
|
|
||||||
callback?.(decodedResponse);
|
|
||||||
};
|
|
||||||
|
|
||||||
const addChain = wellKnownChains.has(this.#spec as WellKnownChain)
|
|
||||||
? client.addWellKnownChain
|
|
||||||
: client.addChain;
|
|
||||||
|
|
||||||
this.#chain = addChain(this.#spec as WellKnownChain, onResponse).then((chain) => {
|
|
||||||
hc.setSendJsonRpc(chain.sendJsonRpc);
|
|
||||||
|
|
||||||
this.#isChainReady = false;
|
|
||||||
|
|
||||||
const cleanup = () => {
|
|
||||||
// If there are any callbacks left, we have to reject/error them.
|
|
||||||
// Otherwise, that would cause a memory leak.
|
|
||||||
const disconnectionError = new Error('Disconnected');
|
|
||||||
|
|
||||||
this.#requests.forEach((cb) => cb(disconnectionError));
|
|
||||||
this.#subscriptions.forEach(([cb]) => cb(disconnectionError));
|
|
||||||
this.#subscriptions.clear();
|
|
||||||
};
|
|
||||||
|
|
||||||
const staleSubscriptions: {
|
|
||||||
unsubscribeMethod: string
|
|
||||||
id: number | string
|
|
||||||
}[] = [];
|
|
||||||
|
|
||||||
const killStaleSubscriptions = () => {
|
|
||||||
if (staleSubscriptions.length === 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const stale = staleSubscriptions.pop();
|
|
||||||
|
|
||||||
if (!stale) {
|
|
||||||
throw new Error('Unable to get stale subscription');
|
|
||||||
}
|
|
||||||
|
|
||||||
const { id, unsubscribeMethod } = stale;
|
|
||||||
|
|
||||||
Promise
|
|
||||||
.race([
|
|
||||||
this.send(unsubscribeMethod, [id]).catch(() => undefined),
|
|
||||||
new Promise((resolve) => setTimeout(resolve, 500))
|
|
||||||
])
|
|
||||||
.then(killStaleSubscriptions)
|
|
||||||
.catch(() => undefined);
|
|
||||||
};
|
|
||||||
|
|
||||||
hc.start((health) => {
|
|
||||||
const isReady =
|
|
||||||
!health.isSyncing && (health.peers > 0 || !health.shouldHavePeers);
|
|
||||||
|
|
||||||
// if it's the same as before, then nothing has changed and we are done
|
|
||||||
if (this.#isChainReady === isReady) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.#isChainReady = isReady;
|
|
||||||
|
|
||||||
if (!isReady) {
|
|
||||||
// If we've reached this point, that means that the chain used to be "ready"
|
|
||||||
// and now we are about to emit `disconnected`.
|
|
||||||
//
|
|
||||||
// This will cause the PolkadotJs API think that the connection is
|
|
||||||
// actually dead. In reality the smoldot chain is not dead, of course.
|
|
||||||
// However, we have to cleanup all the existing callbacks because when
|
|
||||||
// the smoldot chain stops syncing, then we will emit `connected` and
|
|
||||||
// the PolkadotJs API will try to re-create the previous
|
|
||||||
// subscriptions and requests. Although, now is not a good moment
|
|
||||||
// to be sending unsubscription messages to the smoldot chain, we
|
|
||||||
// should wait until is no longer syncing to send the unsubscription
|
|
||||||
// messages from the stale subscriptions of the previous connection.
|
|
||||||
//
|
|
||||||
// That's why -before we perform the cleanup of `this.#subscriptions`-
|
|
||||||
// we keep the necessary information that we will need later on to
|
|
||||||
// kill the stale subscriptions.
|
|
||||||
[...this.#subscriptions.values()].forEach((s) => {
|
|
||||||
staleSubscriptions.push(s[1]);
|
|
||||||
});
|
|
||||||
cleanup();
|
|
||||||
|
|
||||||
this.#eventemitter.emit('disconnected');
|
|
||||||
} else {
|
|
||||||
killStaleSubscriptions();
|
|
||||||
|
|
||||||
this.#eventemitter.emit('connected');
|
|
||||||
|
|
||||||
if (this.#resubscribeMethods.size) {
|
|
||||||
this.#resubscribe();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
return objectSpread({}, chain, {
|
|
||||||
remove: () => {
|
|
||||||
hc.stop();
|
|
||||||
chain.remove();
|
|
||||||
cleanup();
|
|
||||||
},
|
|
||||||
sendJsonRpc: hc.sendJsonRpc.bind(hc)
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
try {
|
|
||||||
await this.#chain;
|
|
||||||
} catch (e) {
|
|
||||||
this.#chain = null;
|
|
||||||
this.#eventemitter.emit('error', e);
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#resubscribe = (): void => {
|
|
||||||
const promises: any[] = [];
|
|
||||||
|
|
||||||
this.#resubscribeMethods.forEach((subDetails: ActiveSubs): void => {
|
|
||||||
// only re-create subscriptions which are not in author (only area where
|
|
||||||
// transactions are created, i.e. submissions such as 'author_submitAndWatchExtrinsic'
|
|
||||||
// are not included (and will not be re-broadcast)
|
|
||||||
if (subDetails.type.startsWith('author_')) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
const promise: Promise<void> = new Promise((resolve) => {
|
|
||||||
this.subscribe(subDetails.type, subDetails.method, subDetails.params, subDetails.callback).catch((error) => console.log(error));
|
|
||||||
resolve();
|
|
||||||
});
|
|
||||||
|
|
||||||
promises.push(promise);
|
|
||||||
} catch (error) {
|
|
||||||
l.error(error);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
Promise.all(promises).catch((err) => l.log(err));
|
|
||||||
};
|
|
||||||
|
|
||||||
async disconnect (): Promise<void> {
|
|
||||||
if (!this.#chain) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const chain = await this.#chain;
|
|
||||||
|
|
||||||
this.#chain = null;
|
|
||||||
this.#isChainReady = false;
|
|
||||||
|
|
||||||
try {
|
|
||||||
chain.remove();
|
|
||||||
} catch (_) {}
|
|
||||||
|
|
||||||
this.#eventemitter.emit('disconnected');
|
|
||||||
}
|
|
||||||
|
|
||||||
public on (type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => void {
|
|
||||||
// It's possible. Although, quite unlikely, that by the time that polkadot
|
|
||||||
// subscribes to the `connected` event, the Provider is already connected.
|
|
||||||
// In that case, we must emit to let the consumer know that we are connected.
|
|
||||||
if (type === 'connected' && this.isConnected) {
|
|
||||||
sub();
|
|
||||||
}
|
|
||||||
|
|
||||||
this.#eventemitter.on(type, sub);
|
|
||||||
|
|
||||||
return (): void => {
|
|
||||||
this.#eventemitter.removeListener(type, sub);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
public async send<T = any> (method: string, params: unknown[]): Promise<T> {
|
|
||||||
if (!this.isConnected || !this.#chain) {
|
|
||||||
throw new Error('Provider is not connected');
|
|
||||||
}
|
|
||||||
|
|
||||||
const chain = await this.#chain;
|
|
||||||
const [id, json] = this.#coder.encodeJson(method, params);
|
|
||||||
|
|
||||||
const result = new Promise<T>((resolve, reject): void => {
|
|
||||||
this.#requests.set(id, (response) => {
|
|
||||||
(isError(response) ? reject : resolve)(response as unknown as T);
|
|
||||||
});
|
|
||||||
|
|
||||||
try {
|
|
||||||
chain.sendJsonRpc(json);
|
|
||||||
} catch (e) {
|
|
||||||
this.#chain = null;
|
|
||||||
|
|
||||||
try {
|
|
||||||
chain.remove();
|
|
||||||
} catch (_) {}
|
|
||||||
|
|
||||||
this.#eventemitter.emit('error', e);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
try {
|
|
||||||
return await result;
|
|
||||||
} finally {
|
|
||||||
// let's ensure that once the Promise is resolved/rejected, then we remove
|
|
||||||
// remove its entry from the internal #requests
|
|
||||||
this.#requests.delete(id);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public async subscribe (type: string, method: string, params: any[], callback: ProviderInterfaceCallback): Promise<number | string> {
|
|
||||||
if (!subscriptionUnsubscriptionMethods.has(method)) {
|
|
||||||
throw new Error(`Unsupported subscribe method: ${method}`);
|
|
||||||
}
|
|
||||||
|
|
||||||
const id = await this.send<number | string>(method, params);
|
|
||||||
const subscriptionId = `${type}::${id}`;
|
|
||||||
|
|
||||||
const cb = (response: Error | string) => {
|
|
||||||
if (response instanceof Error) {
|
|
||||||
callback(response, undefined);
|
|
||||||
} else {
|
|
||||||
callback(null, response);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const unsubscribeMethod = subscriptionUnsubscriptionMethods.get(method);
|
|
||||||
|
|
||||||
if (!unsubscribeMethod) {
|
|
||||||
throw new Error('Invalid unsubscribe method found');
|
|
||||||
}
|
|
||||||
|
|
||||||
this.#resubscribeMethods.set(subscriptionId, { callback, method, params, type });
|
|
||||||
|
|
||||||
this.#subscriptions.set(subscriptionId, [cb, { id, unsubscribeMethod }]);
|
|
||||||
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public unsubscribe (type: string, method: string, id: number | string): Promise<boolean> {
|
|
||||||
if (!this.isConnected) {
|
|
||||||
throw new Error('Provider is not connected');
|
|
||||||
}
|
|
||||||
|
|
||||||
const subscriptionId = `${type}::${id}`;
|
|
||||||
|
|
||||||
if (!this.#subscriptions.has(subscriptionId)) {
|
|
||||||
return Promise.reject(
|
|
||||||
new Error(`Unable to find active subscription=${subscriptionId}`)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.#resubscribeMethods.delete(subscriptionId);
|
|
||||||
this.#subscriptions.delete(subscriptionId);
|
|
||||||
|
|
||||||
return this.send(method, [id]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export type ScProviderClass = typeof ScProvider
|
|
||||||
export type Config = ScConfig
|
|
||||||
+2
-2
@@ -19,8 +19,8 @@
|
|||||||
// Jest has "some" issues with `await import` - we don't transform these
|
// Jest has "some" issues with `await import` - we don't transform these
|
||||||
|
|
||||||
import type { Chain, JsonRpcCallback } from '@substrate/connect';
|
import type { Chain, JsonRpcCallback } from '@substrate/connect';
|
||||||
|
import type { ScProviderClass } from '.';
|
||||||
import type { HealthChecker, SmoldotHealth } from './Health';
|
import type { HealthChecker, SmoldotHealth } from './Health';
|
||||||
import type { ScProviderClass } from './ScProvider';
|
|
||||||
|
|
||||||
import { jest } from '@jest/globals';
|
import { jest } from '@jest/globals';
|
||||||
|
|
||||||
@@ -198,7 +198,7 @@ const setChainSyncyingStatus = (isSyncing: boolean) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
({ ScProvider } = await import('./ScProvider'));
|
({ ScProvider } = await import('.'));
|
||||||
mockedConnector = (await import(
|
mockedConnector = (await import(
|
||||||
'@substrate/connect'
|
'@substrate/connect'
|
||||||
)) as unknown as ReturnType<typeof connectorFactory>;
|
)) as unknown as ReturnType<typeof connectorFactory>;
|
||||||
@@ -1,4 +1,399 @@
|
|||||||
// Copyright 2017-2022 @polkadot/rpc-provider authors & contributors
|
// Copyright 2017-2022 @polkadot/rpc-provider authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export * from './ScProvider';
|
import type { Config as ScConfig } from '@substrate/connect';
|
||||||
|
import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted } from '../types';
|
||||||
|
|
||||||
|
import { Chain, createScClient, ScClient, WellKnownChain } from '@substrate/connect';
|
||||||
|
import EventEmitter from 'eventemitter3';
|
||||||
|
|
||||||
|
import { isError, logger, objectSpread } from '@polkadot/util';
|
||||||
|
|
||||||
|
import { RpcCoder } from '../coder';
|
||||||
|
import { healthChecker } from './Health';
|
||||||
|
|
||||||
|
type ResponseCallback = (response: string | Error) => void
|
||||||
|
|
||||||
|
const l = logger('api-substrate-connect');
|
||||||
|
|
||||||
|
// These methods have been taken from:
|
||||||
|
// https://github.com/paritytech/smoldot/blob/17425040ddda47d539556eeaf62b88c4240d1d42/src/json_rpc/methods.rs#L338-L462
|
||||||
|
// It's important to take into account that smoldot is adding support to the new
|
||||||
|
// json-rpc-interface https://paritytech.github.io/json-rpc-interface-spec/
|
||||||
|
// However, at the moment this list only includes methods that belong to the "old" API
|
||||||
|
const subscriptionUnsubscriptionMethods = new Map<string, string>([
|
||||||
|
['author_submitAndWatchExtrinsic', 'author_unwatchExtrinsic'],
|
||||||
|
['chain_subscribeAllHeads', 'chain_unsubscribeAllHeads'],
|
||||||
|
['chain_subscribeFinalizedHeads', 'chain_unsubscribeFinalizedHeads'],
|
||||||
|
['chain_subscribeFinalisedHeads', 'chain_subscribeFinalisedHeads'],
|
||||||
|
['chain_subscribeNewHeads', 'chain_unsubscribeNewHeads'],
|
||||||
|
['chain_subscribeNewHead', 'chain_unsubscribeNewHead'],
|
||||||
|
['chain_subscribeRuntimeVersion', 'chain_unsubscribeRuntimeVersion'],
|
||||||
|
['subscribe_newHead', 'unsubscribe_newHead'],
|
||||||
|
['state_subscribeRuntimeVersion', 'state_unsubscribeRuntimeVersion'],
|
||||||
|
['state_subscribeStorage', 'state_unsubscribeStorage']
|
||||||
|
]);
|
||||||
|
|
||||||
|
const wellKnownChains = new Set(Object.values(WellKnownChain));
|
||||||
|
const scClients = new WeakMap<ScProvider, ScClient>();
|
||||||
|
|
||||||
|
export { WellKnownChain };
|
||||||
|
|
||||||
|
interface ActiveSubs {
|
||||||
|
type: string,
|
||||||
|
method: string,
|
||||||
|
params: any[],
|
||||||
|
callback: ProviderInterfaceCallback
|
||||||
|
}
|
||||||
|
|
||||||
|
export class ScProvider implements ProviderInterface {
|
||||||
|
readonly #coder: RpcCoder = new RpcCoder();
|
||||||
|
readonly #spec: string | WellKnownChain;
|
||||||
|
readonly #sharedSandbox?: ScProvider;
|
||||||
|
readonly #subscriptions: Map<string, [ResponseCallback, { unsubscribeMethod: string; id: string | number }]> = new Map();
|
||||||
|
readonly #resubscribeMethods: Map<string, ActiveSubs> = new Map();
|
||||||
|
readonly #requests: Map<number, ResponseCallback> = new Map();
|
||||||
|
readonly #eventemitter: EventEmitter = new EventEmitter();
|
||||||
|
#chain: Promise<Chain> | null = null;
|
||||||
|
#isChainReady = false;
|
||||||
|
|
||||||
|
static WellKnownChain = WellKnownChain;
|
||||||
|
|
||||||
|
public constructor (spec: string | WellKnownChain, sharedSandbox?: ScProvider) {
|
||||||
|
this.#spec = spec;
|
||||||
|
this.#sharedSandbox = sharedSandbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
public get hasSubscriptions (): boolean {
|
||||||
|
// Indicates that subscriptions are supported
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public get isClonable (): boolean {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public get isConnected (): boolean {
|
||||||
|
return !!this.#chain && this.#isChainReady;
|
||||||
|
}
|
||||||
|
|
||||||
|
public clone (): ProviderInterface {
|
||||||
|
throw new Error('clone() is not supported.');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Config details can be found in @substrate/connect repo following the link:
|
||||||
|
// https://github.com/paritytech/substrate-connect/blob/main/packages/connect/src/connector/index.ts
|
||||||
|
async connect (config?: ScConfig, checkerFactory = healthChecker): Promise<void> {
|
||||||
|
if (this.isConnected) {
|
||||||
|
throw new Error('Already connected!');
|
||||||
|
}
|
||||||
|
|
||||||
|
// it could happen that after emitting `disconnected` due to the fact taht
|
||||||
|
// smoldot is syncing, the consumer tries to reconnect after a certain amount
|
||||||
|
// of time... In which case we want to make sure that we don't create a new
|
||||||
|
// chain.
|
||||||
|
if (this.#chain) {
|
||||||
|
await this.#chain;
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.#sharedSandbox && !this.#sharedSandbox.isConnected) {
|
||||||
|
await this.#sharedSandbox.connect();
|
||||||
|
}
|
||||||
|
|
||||||
|
const client = this.#sharedSandbox
|
||||||
|
? scClients.get(this.#sharedSandbox)
|
||||||
|
: createScClient(config);
|
||||||
|
|
||||||
|
if (!client) {
|
||||||
|
throw new Error('Unkown ScProvider!');
|
||||||
|
}
|
||||||
|
|
||||||
|
scClients.set(this, client);
|
||||||
|
|
||||||
|
const hc = checkerFactory();
|
||||||
|
|
||||||
|
const onResponse = (res: string): void => {
|
||||||
|
const hcRes = hc.responsePassThrough(res);
|
||||||
|
|
||||||
|
if (!hcRes) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const response = JSON.parse(hcRes) as JsonRpcResponse;
|
||||||
|
let decodedResponse: string | Error;
|
||||||
|
|
||||||
|
try {
|
||||||
|
decodedResponse = this.#coder.decodeResponse(response) as string;
|
||||||
|
} catch (e) {
|
||||||
|
decodedResponse = e as Error;
|
||||||
|
}
|
||||||
|
|
||||||
|
// It's not a subscription message, but rather a standar RPC response
|
||||||
|
if (response.params?.subscription === undefined || !response.method) {
|
||||||
|
return this.#requests.get(response.id)?.(decodedResponse);
|
||||||
|
}
|
||||||
|
|
||||||
|
// We are dealing with a subscription message
|
||||||
|
const subscriptionId = `${response.method}::${response.params.subscription}`;
|
||||||
|
|
||||||
|
const callback = this.#subscriptions.get(subscriptionId)?.[0];
|
||||||
|
|
||||||
|
callback?.(decodedResponse);
|
||||||
|
};
|
||||||
|
|
||||||
|
const addChain = wellKnownChains.has(this.#spec as WellKnownChain)
|
||||||
|
? client.addWellKnownChain
|
||||||
|
: client.addChain;
|
||||||
|
|
||||||
|
this.#chain = addChain(this.#spec as WellKnownChain, onResponse).then((chain) => {
|
||||||
|
hc.setSendJsonRpc(chain.sendJsonRpc);
|
||||||
|
|
||||||
|
this.#isChainReady = false;
|
||||||
|
|
||||||
|
const cleanup = () => {
|
||||||
|
// If there are any callbacks left, we have to reject/error them.
|
||||||
|
// Otherwise, that would cause a memory leak.
|
||||||
|
const disconnectionError = new Error('Disconnected');
|
||||||
|
|
||||||
|
this.#requests.forEach((cb) => cb(disconnectionError));
|
||||||
|
this.#subscriptions.forEach(([cb]) => cb(disconnectionError));
|
||||||
|
this.#subscriptions.clear();
|
||||||
|
};
|
||||||
|
|
||||||
|
const staleSubscriptions: {
|
||||||
|
unsubscribeMethod: string
|
||||||
|
id: number | string
|
||||||
|
}[] = [];
|
||||||
|
|
||||||
|
const killStaleSubscriptions = () => {
|
||||||
|
if (staleSubscriptions.length === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const stale = staleSubscriptions.pop();
|
||||||
|
|
||||||
|
if (!stale) {
|
||||||
|
throw new Error('Unable to get stale subscription');
|
||||||
|
}
|
||||||
|
|
||||||
|
const { id, unsubscribeMethod } = stale;
|
||||||
|
|
||||||
|
Promise
|
||||||
|
.race([
|
||||||
|
this.send(unsubscribeMethod, [id]).catch(() => undefined),
|
||||||
|
new Promise((resolve) => setTimeout(resolve, 500))
|
||||||
|
])
|
||||||
|
.then(killStaleSubscriptions)
|
||||||
|
.catch(() => undefined);
|
||||||
|
};
|
||||||
|
|
||||||
|
hc.start((health) => {
|
||||||
|
const isReady =
|
||||||
|
!health.isSyncing && (health.peers > 0 || !health.shouldHavePeers);
|
||||||
|
|
||||||
|
// if it's the same as before, then nothing has changed and we are done
|
||||||
|
if (this.#isChainReady === isReady) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.#isChainReady = isReady;
|
||||||
|
|
||||||
|
if (!isReady) {
|
||||||
|
// If we've reached this point, that means that the chain used to be "ready"
|
||||||
|
// and now we are about to emit `disconnected`.
|
||||||
|
//
|
||||||
|
// This will cause the PolkadotJs API think that the connection is
|
||||||
|
// actually dead. In reality the smoldot chain is not dead, of course.
|
||||||
|
// However, we have to cleanup all the existing callbacks because when
|
||||||
|
// the smoldot chain stops syncing, then we will emit `connected` and
|
||||||
|
// the PolkadotJs API will try to re-create the previous
|
||||||
|
// subscriptions and requests. Although, now is not a good moment
|
||||||
|
// to be sending unsubscription messages to the smoldot chain, we
|
||||||
|
// should wait until is no longer syncing to send the unsubscription
|
||||||
|
// messages from the stale subscriptions of the previous connection.
|
||||||
|
//
|
||||||
|
// That's why -before we perform the cleanup of `this.#subscriptions`-
|
||||||
|
// we keep the necessary information that we will need later on to
|
||||||
|
// kill the stale subscriptions.
|
||||||
|
[...this.#subscriptions.values()].forEach((s) => {
|
||||||
|
staleSubscriptions.push(s[1]);
|
||||||
|
});
|
||||||
|
cleanup();
|
||||||
|
|
||||||
|
this.#eventemitter.emit('disconnected');
|
||||||
|
} else {
|
||||||
|
killStaleSubscriptions();
|
||||||
|
|
||||||
|
this.#eventemitter.emit('connected');
|
||||||
|
|
||||||
|
if (this.#resubscribeMethods.size) {
|
||||||
|
this.#resubscribe();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return objectSpread({}, chain, {
|
||||||
|
remove: () => {
|
||||||
|
hc.stop();
|
||||||
|
chain.remove();
|
||||||
|
cleanup();
|
||||||
|
},
|
||||||
|
sendJsonRpc: hc.sendJsonRpc.bind(hc)
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
try {
|
||||||
|
await this.#chain;
|
||||||
|
} catch (e) {
|
||||||
|
this.#chain = null;
|
||||||
|
this.#eventemitter.emit('error', e);
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#resubscribe = (): void => {
|
||||||
|
const promises: any[] = [];
|
||||||
|
|
||||||
|
this.#resubscribeMethods.forEach((subDetails: ActiveSubs): void => {
|
||||||
|
// only re-create subscriptions which are not in author (only area where
|
||||||
|
// transactions are created, i.e. submissions such as 'author_submitAndWatchExtrinsic'
|
||||||
|
// are not included (and will not be re-broadcast)
|
||||||
|
if (subDetails.type.startsWith('author_')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
const promise: Promise<void> = new Promise((resolve) => {
|
||||||
|
this.subscribe(subDetails.type, subDetails.method, subDetails.params, subDetails.callback).catch((error) => console.log(error));
|
||||||
|
resolve();
|
||||||
|
});
|
||||||
|
|
||||||
|
promises.push(promise);
|
||||||
|
} catch (error) {
|
||||||
|
l.error(error);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
Promise.all(promises).catch((err) => l.log(err));
|
||||||
|
};
|
||||||
|
|
||||||
|
async disconnect (): Promise<void> {
|
||||||
|
if (!this.#chain) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const chain = await this.#chain;
|
||||||
|
|
||||||
|
this.#chain = null;
|
||||||
|
this.#isChainReady = false;
|
||||||
|
|
||||||
|
try {
|
||||||
|
chain.remove();
|
||||||
|
} catch (_) {}
|
||||||
|
|
||||||
|
this.#eventemitter.emit('disconnected');
|
||||||
|
}
|
||||||
|
|
||||||
|
public on (type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => void {
|
||||||
|
// It's possible. Although, quite unlikely, that by the time that polkadot
|
||||||
|
// subscribes to the `connected` event, the Provider is already connected.
|
||||||
|
// In that case, we must emit to let the consumer know that we are connected.
|
||||||
|
if (type === 'connected' && this.isConnected) {
|
||||||
|
sub();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.#eventemitter.on(type, sub);
|
||||||
|
|
||||||
|
return (): void => {
|
||||||
|
this.#eventemitter.removeListener(type, sub);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
public async send<T = any> (method: string, params: unknown[]): Promise<T> {
|
||||||
|
if (!this.isConnected || !this.#chain) {
|
||||||
|
throw new Error('Provider is not connected');
|
||||||
|
}
|
||||||
|
|
||||||
|
const chain = await this.#chain;
|
||||||
|
const [id, json] = this.#coder.encodeJson(method, params);
|
||||||
|
|
||||||
|
const result = new Promise<T>((resolve, reject): void => {
|
||||||
|
this.#requests.set(id, (response) => {
|
||||||
|
(isError(response) ? reject : resolve)(response as unknown as T);
|
||||||
|
});
|
||||||
|
|
||||||
|
try {
|
||||||
|
chain.sendJsonRpc(json);
|
||||||
|
} catch (e) {
|
||||||
|
this.#chain = null;
|
||||||
|
|
||||||
|
try {
|
||||||
|
chain.remove();
|
||||||
|
} catch (_) {}
|
||||||
|
|
||||||
|
this.#eventemitter.emit('error', e);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
try {
|
||||||
|
return await result;
|
||||||
|
} finally {
|
||||||
|
// let's ensure that once the Promise is resolved/rejected, then we remove
|
||||||
|
// remove its entry from the internal #requests
|
||||||
|
this.#requests.delete(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public async subscribe (type: string, method: string, params: any[], callback: ProviderInterfaceCallback): Promise<number | string> {
|
||||||
|
if (!subscriptionUnsubscriptionMethods.has(method)) {
|
||||||
|
throw new Error(`Unsupported subscribe method: ${method}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
const id = await this.send<number | string>(method, params);
|
||||||
|
const subscriptionId = `${type}::${id}`;
|
||||||
|
|
||||||
|
const cb = (response: Error | string) => {
|
||||||
|
if (response instanceof Error) {
|
||||||
|
callback(response, undefined);
|
||||||
|
} else {
|
||||||
|
callback(null, response);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsubscribeMethod = subscriptionUnsubscriptionMethods.get(method);
|
||||||
|
|
||||||
|
if (!unsubscribeMethod) {
|
||||||
|
throw new Error('Invalid unsubscribe method found');
|
||||||
|
}
|
||||||
|
|
||||||
|
this.#resubscribeMethods.set(subscriptionId, { callback, method, params, type });
|
||||||
|
|
||||||
|
this.#subscriptions.set(subscriptionId, [cb, { id, unsubscribeMethod }]);
|
||||||
|
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public unsubscribe (type: string, method: string, id: number | string): Promise<boolean> {
|
||||||
|
if (!this.isConnected) {
|
||||||
|
throw new Error('Provider is not connected');
|
||||||
|
}
|
||||||
|
|
||||||
|
const subscriptionId = `${type}::${id}`;
|
||||||
|
|
||||||
|
if (!this.#subscriptions.has(subscriptionId)) {
|
||||||
|
return Promise.reject(
|
||||||
|
new Error(`Unable to find active subscription=${subscriptionId}`)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.#resubscribeMethods.delete(subscriptionId);
|
||||||
|
this.#subscriptions.delete(subscriptionId);
|
||||||
|
|
||||||
|
return this.send(method, [id]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type ScProviderClass = typeof ScProvider
|
||||||
|
export type Config = ScConfig
|
||||||
|
|||||||
@@ -49,8 +49,13 @@ export type ProviderInterfaceEmitted = 'connected' | 'disconnected' | 'error';
|
|||||||
export type ProviderInterfaceEmitCb = (value?: any) => any;
|
export type ProviderInterfaceEmitCb = (value?: any) => any;
|
||||||
|
|
||||||
export interface ProviderInterface {
|
export interface ProviderInterface {
|
||||||
|
/** true if the provider supports subscriptions (not available for HTTP) */
|
||||||
readonly hasSubscriptions: boolean;
|
readonly hasSubscriptions: boolean;
|
||||||
|
/** true if the clone() functionality is available on the provider */
|
||||||
|
readonly isClonable: boolean;
|
||||||
|
/** true if the provider is currently connected (ws/sc has connection logic) */
|
||||||
readonly isConnected: boolean;
|
readonly isConnected: boolean;
|
||||||
|
/** (optional) stats for the provider with connections/bytes */
|
||||||
readonly stats?: ProviderStats;
|
readonly stats?: ProviderStats;
|
||||||
|
|
||||||
clone (): ProviderInterface;
|
clone (): ProviderInterface;
|
||||||
|
|||||||
@@ -165,6 +165,13 @@ export class WsProvider implements ProviderInterface {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @summary `true` when this provider supports clone()
|
||||||
|
*/
|
||||||
|
public get isClonable (): boolean {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @summary Whether the node is connected or not.
|
* @summary Whether the node is connected or not.
|
||||||
* @return {boolean} true if connected
|
* @return {boolean} true if connected
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
||||||
@@ -30,24 +30,24 @@
|
|||||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.cjs"
|
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.cjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.19.6",
|
"@babel/core": "^7.20.2",
|
||||||
"@babel/register": "^7.18.9",
|
"@babel/register": "^7.18.9",
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/api": "9.6.2",
|
"@polkadot/api": "9.7.1",
|
||||||
"@polkadot/api-augment": "9.6.2",
|
"@polkadot/api-augment": "9.7.1",
|
||||||
"@polkadot/rpc-augment": "9.6.2",
|
"@polkadot/rpc-augment": "9.7.1",
|
||||||
"@polkadot/rpc-provider": "9.6.2",
|
"@polkadot/rpc-provider": "9.7.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-augment": "9.6.2",
|
"@polkadot/types-augment": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/types-create": "9.6.2",
|
"@polkadot/types-create": "9.7.1",
|
||||||
"@polkadot/types-support": "9.6.2",
|
"@polkadot/types-support": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"@polkadot/util-crypto": "^10.1.11",
|
"@polkadot/util-crypto": "^10.1.11",
|
||||||
"@polkadot/x-ws": "^10.1.11",
|
"@polkadot/x-ws": "^10.1.11",
|
||||||
"handlebars": "^4.7.7",
|
"handlebars": "^4.7.7",
|
||||||
"websocket": "^1.0.34",
|
"websocket": "^1.0.34",
|
||||||
"yargs": "^17.6.0"
|
"yargs": "^17.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/websocket": "^1.0.5",
|
"@types/websocket": "^1.0.5",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# @polkadot/api-augment
|
# @polkadot/types-augment
|
||||||
|
|
||||||
Generated augmentation.
|
Generated augmentation.
|
||||||
|
|||||||
@@ -20,12 +20,12 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11"
|
"@polkadot/util": "^10.1.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2327,6 +2327,7 @@ export default {
|
|||||||
upload_code: {
|
upload_code: {
|
||||||
code: 'Bytes',
|
code: 'Bytes',
|
||||||
storageDepositLimit: 'Option<Compact<u128>>',
|
storageDepositLimit: 'Option<Compact<u128>>',
|
||||||
|
determinism: 'PalletContractsWasmDeterminism',
|
||||||
},
|
},
|
||||||
remove_code: {
|
remove_code: {
|
||||||
codeHash: 'H256',
|
codeHash: 'H256',
|
||||||
@@ -2361,7 +2362,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup234: pallet_sudo::pallet::Call<T>
|
* Lookup234: pallet_contracts::wasm::Determinism
|
||||||
|
**/
|
||||||
|
PalletContractsWasmDeterminism: {
|
||||||
|
_enum: ['Deterministic', 'AllowIndeterminism']
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Lookup235: pallet_sudo::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletSudoCall: {
|
PalletSudoCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2385,7 +2392,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup235: pallet_im_online::pallet::Call<T>
|
* Lookup236: pallet_im_online::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletImOnlineCall: {
|
PalletImOnlineCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2396,7 +2403,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup236: pallet_im_online::Heartbeat<BlockNumber>
|
* Lookup237: pallet_im_online::Heartbeat<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletImOnlineHeartbeat: {
|
PalletImOnlineHeartbeat: {
|
||||||
blockNumber: 'u32',
|
blockNumber: 'u32',
|
||||||
@@ -2406,22 +2413,22 @@ export default {
|
|||||||
validatorsLen: 'u32'
|
validatorsLen: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup237: sp_core::offchain::OpaqueNetworkState
|
* Lookup238: sp_core::offchain::OpaqueNetworkState
|
||||||
**/
|
**/
|
||||||
SpCoreOffchainOpaqueNetworkState: {
|
SpCoreOffchainOpaqueNetworkState: {
|
||||||
peerId: 'OpaquePeerId',
|
peerId: 'OpaquePeerId',
|
||||||
externalAddresses: 'Vec<OpaqueMultiaddr>'
|
externalAddresses: 'Vec<OpaqueMultiaddr>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup241: pallet_im_online::sr25519::app_sr25519::Signature
|
* Lookup242: pallet_im_online::sr25519::app_sr25519::Signature
|
||||||
**/
|
**/
|
||||||
PalletImOnlineSr25519AppSr25519Signature: 'SpCoreSr25519Signature',
|
PalletImOnlineSr25519AppSr25519Signature: 'SpCoreSr25519Signature',
|
||||||
/**
|
/**
|
||||||
* Lookup242: sp_core::sr25519::Signature
|
* Lookup243: sp_core::sr25519::Signature
|
||||||
**/
|
**/
|
||||||
SpCoreSr25519Signature: '[u8;64]',
|
SpCoreSr25519Signature: '[u8;64]',
|
||||||
/**
|
/**
|
||||||
* Lookup243: pallet_identity::pallet::Call<T>
|
* Lookup244: pallet_identity::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletIdentityCall: {
|
PalletIdentityCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2481,7 +2488,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup244: pallet_identity::types::IdentityInfo<FieldLimit>
|
* Lookup245: pallet_identity::types::IdentityInfo<FieldLimit>
|
||||||
**/
|
**/
|
||||||
PalletIdentityIdentityInfo: {
|
PalletIdentityIdentityInfo: {
|
||||||
additional: 'Vec<(Data,Data)>',
|
additional: 'Vec<(Data,Data)>',
|
||||||
@@ -2495,7 +2502,7 @@ export default {
|
|||||||
twitter: 'Data'
|
twitter: 'Data'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup281: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
|
* Lookup282: pallet_identity::types::BitFlags<pallet_identity::types::IdentityField>
|
||||||
**/
|
**/
|
||||||
PalletIdentityBitFlags: {
|
PalletIdentityBitFlags: {
|
||||||
_bitLength: 64,
|
_bitLength: 64,
|
||||||
@@ -2509,13 +2516,13 @@ export default {
|
|||||||
Twitter: 128
|
Twitter: 128
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup282: pallet_identity::types::IdentityField
|
* Lookup283: pallet_identity::types::IdentityField
|
||||||
**/
|
**/
|
||||||
PalletIdentityIdentityField: {
|
PalletIdentityIdentityField: {
|
||||||
_enum: ['__Unused0', 'Display', 'Legal', '__Unused3', 'Web', '__Unused5', '__Unused6', '__Unused7', 'Riot', '__Unused9', '__Unused10', '__Unused11', '__Unused12', '__Unused13', '__Unused14', '__Unused15', 'Email', '__Unused17', '__Unused18', '__Unused19', '__Unused20', '__Unused21', '__Unused22', '__Unused23', '__Unused24', '__Unused25', '__Unused26', '__Unused27', '__Unused28', '__Unused29', '__Unused30', '__Unused31', 'PgpFingerprint', '__Unused33', '__Unused34', '__Unused35', '__Unused36', '__Unused37', '__Unused38', '__Unused39', '__Unused40', '__Unused41', '__Unused42', '__Unused43', '__Unused44', '__Unused45', '__Unused46', '__Unused47', '__Unused48', '__Unused49', '__Unused50', '__Unused51', '__Unused52', '__Unused53', '__Unused54', '__Unused55', '__Unused56', '__Unused57', '__Unused58', '__Unused59', '__Unused60', '__Unused61', '__Unused62', '__Unused63', 'Image', '__Unused65', '__Unused66', '__Unused67', '__Unused68', '__Unused69', '__Unused70', '__Unused71', '__Unused72', '__Unused73', '__Unused74', '__Unused75', '__Unused76', '__Unused77', '__Unused78', '__Unused79', '__Unused80', '__Unused81', '__Unused82', '__Unused83', '__Unused84', '__Unused85', '__Unused86', '__Unused87', '__Unused88', '__Unused89', '__Unused90', '__Unused91', '__Unused92', '__Unused93', '__Unused94', '__Unused95', '__Unused96', '__Unused97', '__Unused98', '__Unused99', '__Unused100', '__Unused101', '__Unused102', '__Unused103', '__Unused104', '__Unused105', '__Unused106', '__Unused107', '__Unused108', '__Unused109', '__Unused110', '__Unused111', '__Unused112', '__Unused113', '__Unused114', '__Unused115', '__Unused116', '__Unused117', '__Unused118', '__Unused119', '__Unused120', '__Unused121', '__Unused122', '__Unused123', '__Unused124', '__Unused125', '__Unused126', '__Unused127', 'Twitter']
|
_enum: ['__Unused0', 'Display', 'Legal', '__Unused3', 'Web', '__Unused5', '__Unused6', '__Unused7', 'Riot', '__Unused9', '__Unused10', '__Unused11', '__Unused12', '__Unused13', '__Unused14', '__Unused15', 'Email', '__Unused17', '__Unused18', '__Unused19', '__Unused20', '__Unused21', '__Unused22', '__Unused23', '__Unused24', '__Unused25', '__Unused26', '__Unused27', '__Unused28', '__Unused29', '__Unused30', '__Unused31', 'PgpFingerprint', '__Unused33', '__Unused34', '__Unused35', '__Unused36', '__Unused37', '__Unused38', '__Unused39', '__Unused40', '__Unused41', '__Unused42', '__Unused43', '__Unused44', '__Unused45', '__Unused46', '__Unused47', '__Unused48', '__Unused49', '__Unused50', '__Unused51', '__Unused52', '__Unused53', '__Unused54', '__Unused55', '__Unused56', '__Unused57', '__Unused58', '__Unused59', '__Unused60', '__Unused61', '__Unused62', '__Unused63', 'Image', '__Unused65', '__Unused66', '__Unused67', '__Unused68', '__Unused69', '__Unused70', '__Unused71', '__Unused72', '__Unused73', '__Unused74', '__Unused75', '__Unused76', '__Unused77', '__Unused78', '__Unused79', '__Unused80', '__Unused81', '__Unused82', '__Unused83', '__Unused84', '__Unused85', '__Unused86', '__Unused87', '__Unused88', '__Unused89', '__Unused90', '__Unused91', '__Unused92', '__Unused93', '__Unused94', '__Unused95', '__Unused96', '__Unused97', '__Unused98', '__Unused99', '__Unused100', '__Unused101', '__Unused102', '__Unused103', '__Unused104', '__Unused105', '__Unused106', '__Unused107', '__Unused108', '__Unused109', '__Unused110', '__Unused111', '__Unused112', '__Unused113', '__Unused114', '__Unused115', '__Unused116', '__Unused117', '__Unused118', '__Unused119', '__Unused120', '__Unused121', '__Unused122', '__Unused123', '__Unused124', '__Unused125', '__Unused126', '__Unused127', 'Twitter']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup283: pallet_identity::types::Judgement<Balance>
|
* Lookup284: pallet_identity::types::Judgement<Balance>
|
||||||
**/
|
**/
|
||||||
PalletIdentityJudgement: {
|
PalletIdentityJudgement: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2529,7 +2536,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup284: pallet_society::pallet::Call<T, I>
|
* Lookup285: pallet_society::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletSocietyCall: {
|
PalletSocietyCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2575,13 +2582,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup285: pallet_society::Judgement
|
* Lookup286: pallet_society::Judgement
|
||||||
**/
|
**/
|
||||||
PalletSocietyJudgement: {
|
PalletSocietyJudgement: {
|
||||||
_enum: ['Rebid', 'Reject', 'Approve']
|
_enum: ['Rebid', 'Reject', 'Approve']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup286: pallet_recovery::pallet::Call<T>
|
* Lookup287: pallet_recovery::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletRecoveryCall: {
|
PalletRecoveryCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2618,7 +2625,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup287: pallet_vesting::pallet::Call<T>
|
* Lookup288: pallet_vesting::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletVestingCall: {
|
PalletVestingCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2642,7 +2649,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup288: pallet_vesting::vesting_info::VestingInfo<Balance, BlockNumber>
|
* Lookup289: pallet_vesting::vesting_info::VestingInfo<Balance, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletVestingVestingInfo: {
|
PalletVestingVestingInfo: {
|
||||||
locked: 'u128',
|
locked: 'u128',
|
||||||
@@ -2650,7 +2657,7 @@ export default {
|
|||||||
startingBlock: 'u32'
|
startingBlock: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup289: pallet_scheduler::pallet::Call<T>
|
* Lookup290: pallet_scheduler::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletSchedulerCall: {
|
PalletSchedulerCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2690,7 +2697,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup291: pallet_preimage::pallet::Call<T>
|
* Lookup292: pallet_preimage::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletPreimageCall: {
|
PalletPreimageCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2718,7 +2725,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup292: pallet_proxy::pallet::Call<T>
|
* Lookup293: pallet_proxy::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletProxyCall: {
|
PalletProxyCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2771,7 +2778,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup294: pallet_multisig::pallet::Call<T>
|
* Lookup295: pallet_multisig::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletMultisigCall: {
|
PalletMultisigCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2802,7 +2809,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup296: pallet_bounties::pallet::Call<T, I>
|
* Lookup297: pallet_bounties::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletBountiesCall: {
|
PalletBountiesCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2841,7 +2848,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup297: pallet_tips::pallet::Call<T, I>
|
* Lookup298: pallet_tips::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletTipsCall: {
|
PalletTipsCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2882,7 +2889,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup298: pallet_assets::pallet::Call<T, I>
|
* Lookup299: pallet_assets::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletAssetsCall: {
|
PalletAssetsCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3010,7 +3017,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup299: pallet_assets::types::DestroyWitness
|
* Lookup300: pallet_assets::types::DestroyWitness
|
||||||
**/
|
**/
|
||||||
PalletAssetsDestroyWitness: {
|
PalletAssetsDestroyWitness: {
|
||||||
accounts: 'Compact<u32>',
|
accounts: 'Compact<u32>',
|
||||||
@@ -3018,7 +3025,7 @@ export default {
|
|||||||
approvals: 'Compact<u32>'
|
approvals: 'Compact<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup300: pallet_lottery::pallet::Call<T>
|
* Lookup301: pallet_lottery::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletLotteryCall: {
|
PalletLotteryCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3038,7 +3045,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup301: pallet_gilt::pallet::Call<T>
|
* Lookup302: pallet_gilt::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletGiltCall: {
|
PalletGiltCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3059,7 +3066,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup304: pallet_uniques::pallet::Call<T, I>
|
* Lookup305: pallet_uniques::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletUniquesCall: {
|
PalletUniquesCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3188,7 +3195,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup305: pallet_uniques::types::DestroyWitness
|
* Lookup306: pallet_uniques::types::DestroyWitness
|
||||||
**/
|
**/
|
||||||
PalletUniquesDestroyWitness: {
|
PalletUniquesDestroyWitness: {
|
||||||
items: 'Compact<u32>',
|
items: 'Compact<u32>',
|
||||||
@@ -3196,7 +3203,7 @@ export default {
|
|||||||
attributes: 'Compact<u32>'
|
attributes: 'Compact<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup308: pallet_transaction_storage::pallet::Call<T>
|
* Lookup309: pallet_transaction_storage::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletTransactionStorageCall: {
|
PalletTransactionStorageCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3213,14 +3220,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup309: sp_transaction_storage_proof::TransactionStorageProof
|
* Lookup310: sp_transaction_storage_proof::TransactionStorageProof
|
||||||
**/
|
**/
|
||||||
SpTransactionStorageProofTransactionStorageProof: {
|
SpTransactionStorageProofTransactionStorageProof: {
|
||||||
chunk: 'Bytes',
|
chunk: 'Bytes',
|
||||||
proof: 'Vec<Bytes>'
|
proof: 'Vec<Bytes>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup310: pallet_bags_list::pallet::Call<T, I>
|
* Lookup311: pallet_bags_list::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletBagsListCall: {
|
PalletBagsListCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3233,7 +3240,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup311: pallet_state_trie_migration::pallet::Call<T>
|
* Lookup312: pallet_state_trie_migration::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletStateTrieMigrationCall: {
|
PalletStateTrieMigrationCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3267,7 +3274,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup313: pallet_state_trie_migration::pallet::MigrationLimits
|
* Lookup314: pallet_state_trie_migration::pallet::MigrationLimits
|
||||||
**/
|
**/
|
||||||
PalletStateTrieMigrationMigrationLimits: {
|
PalletStateTrieMigrationMigrationLimits: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -3277,7 +3284,7 @@ export default {
|
|||||||
item: 'u32'
|
item: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup314: pallet_state_trie_migration::pallet::MigrationTask<T>
|
* Lookup315: pallet_state_trie_migration::pallet::MigrationTask<T>
|
||||||
**/
|
**/
|
||||||
PalletStateTrieMigrationMigrationTask: {
|
PalletStateTrieMigrationMigrationTask: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -3290,7 +3297,7 @@ export default {
|
|||||||
childItems: 'u32'
|
childItems: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup315: pallet_state_trie_migration::pallet::Progress<MaxKeyLen>
|
* Lookup316: pallet_state_trie_migration::pallet::Progress<MaxKeyLen>
|
||||||
**/
|
**/
|
||||||
PalletStateTrieMigrationProgress: {
|
PalletStateTrieMigrationProgress: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3300,7 +3307,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup317: pallet_child_bounties::pallet::Call<T>
|
* Lookup318: pallet_child_bounties::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletChildBountiesCall: {
|
PalletChildBountiesCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3339,7 +3346,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup318: pallet_referenda::pallet::Call<T, I>
|
* Lookup319: pallet_referenda::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletReferendaCall: {
|
PalletReferendaCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3369,7 +3376,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup319: frame_support::traits::schedule::DispatchTime<BlockNumber>
|
* Lookup320: frame_support::traits::schedule::DispatchTime<BlockNumber>
|
||||||
**/
|
**/
|
||||||
FrameSupportScheduleDispatchTime: {
|
FrameSupportScheduleDispatchTime: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3378,7 +3385,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup320: pallet_remark::pallet::Call<T>
|
* Lookup321: pallet_remark::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletRemarkCall: {
|
PalletRemarkCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3388,7 +3395,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup321: pallet_conviction_voting::pallet::Call<T, I>
|
* Lookup322: pallet_conviction_voting::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletConvictionVotingCall: {
|
PalletConvictionVotingCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3421,7 +3428,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup322: pallet_conviction_voting::vote::AccountVote<Balance>
|
* Lookup323: pallet_conviction_voting::vote::AccountVote<Balance>
|
||||||
**/
|
**/
|
||||||
PalletConvictionVotingVoteAccountVote: {
|
PalletConvictionVotingVoteAccountVote: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3436,13 +3443,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup324: pallet_conviction_voting::conviction::Conviction
|
* Lookup325: pallet_conviction_voting::conviction::Conviction
|
||||||
**/
|
**/
|
||||||
PalletConvictionVotingConviction: {
|
PalletConvictionVotingConviction: {
|
||||||
_enum: ['None', 'Locked1x', 'Locked2x', 'Locked3x', 'Locked4x', 'Locked5x', 'Locked6x']
|
_enum: ['None', 'Locked1x', 'Locked2x', 'Locked3x', 'Locked4x', 'Locked5x', 'Locked6x']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup326: pallet_whitelist::pallet::Call<T>
|
* Lookup327: pallet_whitelist::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletWhitelistCall: {
|
PalletWhitelistCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3462,7 +3469,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup328: pallet_alliance::pallet::Call<T, I>
|
* Lookup329: pallet_alliance::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletAllianceCall: {
|
PalletAllianceCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3529,14 +3536,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup329: pallet_alliance::types::DisbandWitness
|
* Lookup330: pallet_alliance::types::DisbandWitness
|
||||||
**/
|
**/
|
||||||
PalletAllianceDisbandWitness: {
|
PalletAllianceDisbandWitness: {
|
||||||
votingMembers: 'Compact<u32>',
|
votingMembers: 'Compact<u32>',
|
||||||
allyMembers: 'Compact<u32>'
|
allyMembers: 'Compact<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup330: pallet_alliance::types::Cid
|
* Lookup331: pallet_alliance::types::Cid
|
||||||
**/
|
**/
|
||||||
PalletAllianceCid: {
|
PalletAllianceCid: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -3547,20 +3554,20 @@ export default {
|
|||||||
hash_: 'PalletAllianceMultihash'
|
hash_: 'PalletAllianceMultihash'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup331: pallet_alliance::types::Version
|
* Lookup332: pallet_alliance::types::Version
|
||||||
**/
|
**/
|
||||||
PalletAllianceVersion: {
|
PalletAllianceVersion: {
|
||||||
_enum: ['V0', 'V1']
|
_enum: ['V0', 'V1']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup332: pallet_alliance::types::Multihash
|
* Lookup333: pallet_alliance::types::Multihash
|
||||||
**/
|
**/
|
||||||
PalletAllianceMultihash: {
|
PalletAllianceMultihash: {
|
||||||
code: 'u64',
|
code: 'u64',
|
||||||
digest: 'Bytes'
|
digest: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup335: pallet_alliance::UnscrupulousItem<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
|
* Lookup336: pallet_alliance::UnscrupulousItem<sp_core::crypto::AccountId32, sp_core::bounded::bounded_vec::BoundedVec<T, S>>
|
||||||
**/
|
**/
|
||||||
PalletAllianceUnscrupulousItem: {
|
PalletAllianceUnscrupulousItem: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3569,7 +3576,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup337: pallet_nomination_pools::pallet::Call<T>
|
* Lookup338: pallet_nomination_pools::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletNominationPoolsCall: {
|
PalletNominationPoolsCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3599,6 +3606,13 @@ export default {
|
|||||||
nominator: 'MultiAddress',
|
nominator: 'MultiAddress',
|
||||||
stateToggler: 'MultiAddress',
|
stateToggler: 'MultiAddress',
|
||||||
},
|
},
|
||||||
|
create_with_pool_id: {
|
||||||
|
amount: 'Compact<u128>',
|
||||||
|
root: 'MultiAddress',
|
||||||
|
nominator: 'MultiAddress',
|
||||||
|
stateToggler: 'MultiAddress',
|
||||||
|
poolId: 'u32',
|
||||||
|
},
|
||||||
nominate: {
|
nominate: {
|
||||||
poolId: 'u32',
|
poolId: 'u32',
|
||||||
validators: 'Vec<AccountId32>',
|
validators: 'Vec<AccountId32>',
|
||||||
@@ -3630,7 +3644,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup338: pallet_nomination_pools::BondExtra<Balance>
|
* Lookup339: pallet_nomination_pools::BondExtra<Balance>
|
||||||
**/
|
**/
|
||||||
PalletNominationPoolsBondExtra: {
|
PalletNominationPoolsBondExtra: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3639,13 +3653,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup339: pallet_nomination_pools::PoolState
|
* Lookup340: pallet_nomination_pools::PoolState
|
||||||
**/
|
**/
|
||||||
PalletNominationPoolsPoolState: {
|
PalletNominationPoolsPoolState: {
|
||||||
_enum: ['Open', 'Blocked', 'Destroying']
|
_enum: ['Open', 'Blocked', 'Destroying']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup340: pallet_nomination_pools::ConfigOp<T>
|
* Lookup341: pallet_nomination_pools::ConfigOp<T>
|
||||||
**/
|
**/
|
||||||
PalletNominationPoolsConfigOpU128: {
|
PalletNominationPoolsConfigOpU128: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3655,7 +3669,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup341: pallet_nomination_pools::ConfigOp<T>
|
* Lookup342: pallet_nomination_pools::ConfigOp<T>
|
||||||
**/
|
**/
|
||||||
PalletNominationPoolsConfigOpU32: {
|
PalletNominationPoolsConfigOpU32: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3665,7 +3679,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup342: pallet_nomination_pools::ConfigOp<sp_core::crypto::AccountId32>
|
* Lookup343: pallet_nomination_pools::ConfigOp<sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletNominationPoolsConfigOpAccountId32: {
|
PalletNominationPoolsConfigOpAccountId32: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3675,7 +3689,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup344: pallet_ranked_collective::pallet::Call<T, I>
|
* Lookup345: pallet_ranked_collective::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletRankedCollectiveCall: {
|
PalletRankedCollectiveCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3703,7 +3717,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup345: pallet_fast_unstake::pallet::Call<T>
|
* Lookup346: pallet_fast_unstake::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletFastUnstakeCall: {
|
PalletFastUnstakeCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3715,7 +3729,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup347: pallet_conviction_voting::types::Tally<Votes, Total>
|
* Lookup348: pallet_conviction_voting::types::Tally<Votes, Total>
|
||||||
**/
|
**/
|
||||||
PalletConvictionVotingTally: {
|
PalletConvictionVotingTally: {
|
||||||
ayes: 'u128',
|
ayes: 'u128',
|
||||||
@@ -3723,7 +3737,7 @@ export default {
|
|||||||
support: 'u128'
|
support: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup348: pallet_remark::pallet::Event<T>
|
* Lookup349: pallet_remark::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PalletRemarkEvent: {
|
PalletRemarkEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3734,7 +3748,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup349: pallet_conviction_voting::pallet::Event<T, I>
|
* Lookup350: pallet_conviction_voting::pallet::Event<T, I>
|
||||||
**/
|
**/
|
||||||
PalletConvictionVotingEvent: {
|
PalletConvictionVotingEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3743,7 +3757,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup350: pallet_whitelist::pallet::Event<T>
|
* Lookup351: pallet_whitelist::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PalletWhitelistEvent: {
|
PalletWhitelistEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3760,21 +3774,21 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup352: frame_support::dispatch::PostDispatchInfo
|
* Lookup353: frame_support::dispatch::PostDispatchInfo
|
||||||
**/
|
**/
|
||||||
FrameSupportDispatchPostDispatchInfo: {
|
FrameSupportDispatchPostDispatchInfo: {
|
||||||
actualWeight: 'Option<SpWeightsWeightV2Weight>',
|
actualWeight: 'Option<SpWeightsWeightV2Weight>',
|
||||||
paysFee: 'FrameSupportDispatchPays'
|
paysFee: 'FrameSupportDispatchPays'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup354: sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>
|
* Lookup355: sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>
|
||||||
**/
|
**/
|
||||||
SpRuntimeDispatchErrorWithPostInfo: {
|
SpRuntimeDispatchErrorWithPostInfo: {
|
||||||
postInfo: 'FrameSupportDispatchPostDispatchInfo',
|
postInfo: 'FrameSupportDispatchPostDispatchInfo',
|
||||||
error: 'SpRuntimeDispatchError'
|
error: 'SpRuntimeDispatchError'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup356: pallet_alliance::pallet::Event<T, I>
|
* Lookup357: pallet_alliance::pallet::Event<T, I>
|
||||||
**/
|
**/
|
||||||
PalletAllianceEvent: {
|
PalletAllianceEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3825,7 +3839,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup357: pallet_nomination_pools::pallet::Event<T>
|
* Lookup358: pallet_nomination_pools::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PalletNominationPoolsEvent: {
|
PalletNominationPoolsEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3885,7 +3899,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup359: pallet_ranked_collective::Tally<T, I, M>
|
* Lookup360: pallet_ranked_collective::Tally<T, I, M>
|
||||||
**/
|
**/
|
||||||
PalletRankedCollectiveTally: {
|
PalletRankedCollectiveTally: {
|
||||||
bareAyes: 'u32',
|
bareAyes: 'u32',
|
||||||
@@ -3893,7 +3907,7 @@ export default {
|
|||||||
nays: 'u32'
|
nays: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup360: pallet_ranked_collective::pallet::Event<T, I>
|
* Lookup361: pallet_ranked_collective::pallet::Event<T, I>
|
||||||
**/
|
**/
|
||||||
PalletRankedCollectiveEvent: {
|
PalletRankedCollectiveEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3917,7 +3931,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup361: pallet_ranked_collective::VoteRecord
|
* Lookup362: pallet_ranked_collective::VoteRecord
|
||||||
**/
|
**/
|
||||||
PalletRankedCollectiveVoteRecord: {
|
PalletRankedCollectiveVoteRecord: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3926,7 +3940,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup362: pallet_fast_unstake::pallet::Event<T>
|
* Lookup363: pallet_fast_unstake::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PalletFastUnstakeEvent: {
|
PalletFastUnstakeEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3949,7 +3963,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup363: frame_system::Phase
|
* Lookup364: frame_system::Phase
|
||||||
**/
|
**/
|
||||||
FrameSystemPhase: {
|
FrameSystemPhase: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3959,14 +3973,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup366: frame_system::LastRuntimeUpgradeInfo
|
* Lookup367: frame_system::LastRuntimeUpgradeInfo
|
||||||
**/
|
**/
|
||||||
FrameSystemLastRuntimeUpgradeInfo: {
|
FrameSystemLastRuntimeUpgradeInfo: {
|
||||||
specVersion: 'Compact<u32>',
|
specVersion: 'Compact<u32>',
|
||||||
specName: 'Text'
|
specName: 'Text'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup368: frame_system::limits::BlockWeights
|
* Lookup369: frame_system::limits::BlockWeights
|
||||||
**/
|
**/
|
||||||
FrameSystemLimitsBlockWeights: {
|
FrameSystemLimitsBlockWeights: {
|
||||||
baseBlock: 'SpWeightsWeightV2Weight',
|
baseBlock: 'SpWeightsWeightV2Weight',
|
||||||
@@ -3974,7 +3988,7 @@ export default {
|
|||||||
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
|
perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup369: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
|
* Lookup370: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass>
|
||||||
**/
|
**/
|
||||||
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
|
FrameSupportDispatchPerDispatchClassWeightsPerClass: {
|
||||||
normal: 'FrameSystemLimitsWeightsPerClass',
|
normal: 'FrameSystemLimitsWeightsPerClass',
|
||||||
@@ -3982,7 +3996,7 @@ export default {
|
|||||||
mandatory: 'FrameSystemLimitsWeightsPerClass'
|
mandatory: 'FrameSystemLimitsWeightsPerClass'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup370: frame_system::limits::WeightsPerClass
|
* Lookup371: frame_system::limits::WeightsPerClass
|
||||||
**/
|
**/
|
||||||
FrameSystemLimitsWeightsPerClass: {
|
FrameSystemLimitsWeightsPerClass: {
|
||||||
baseExtrinsic: 'SpWeightsWeightV2Weight',
|
baseExtrinsic: 'SpWeightsWeightV2Weight',
|
||||||
@@ -3991,13 +4005,13 @@ export default {
|
|||||||
reserved: 'Option<SpWeightsWeightV2Weight>'
|
reserved: 'Option<SpWeightsWeightV2Weight>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup371: frame_system::limits::BlockLength
|
* Lookup372: frame_system::limits::BlockLength
|
||||||
**/
|
**/
|
||||||
FrameSystemLimitsBlockLength: {
|
FrameSystemLimitsBlockLength: {
|
||||||
max: 'FrameSupportDispatchPerDispatchClassU32'
|
max: 'FrameSupportDispatchPerDispatchClassU32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup372: frame_support::dispatch::PerDispatchClass<T>
|
* Lookup373: frame_support::dispatch::PerDispatchClass<T>
|
||||||
**/
|
**/
|
||||||
FrameSupportDispatchPerDispatchClassU32: {
|
FrameSupportDispatchPerDispatchClassU32: {
|
||||||
normal: 'u32',
|
normal: 'u32',
|
||||||
@@ -4005,14 +4019,14 @@ export default {
|
|||||||
mandatory: 'u32'
|
mandatory: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup373: sp_weights::RuntimeDbWeight
|
* Lookup374: sp_weights::RuntimeDbWeight
|
||||||
**/
|
**/
|
||||||
SpWeightsRuntimeDbWeight: {
|
SpWeightsRuntimeDbWeight: {
|
||||||
read: 'u64',
|
read: 'u64',
|
||||||
write: 'u64'
|
write: 'u64'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup374: sp_version::RuntimeVersion
|
* Lookup375: sp_version::RuntimeVersion
|
||||||
**/
|
**/
|
||||||
SpVersionRuntimeVersion: {
|
SpVersionRuntimeVersion: {
|
||||||
specName: 'Text',
|
specName: 'Text',
|
||||||
@@ -4025,19 +4039,19 @@ export default {
|
|||||||
stateVersion: 'u8'
|
stateVersion: 'u8'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup378: frame_system::pallet::Error<T>
|
* Lookup379: frame_system::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
FrameSystemError: {
|
FrameSystemError: {
|
||||||
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
|
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup379: pallet_utility::pallet::Error<T>
|
* Lookup380: pallet_utility::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletUtilityError: {
|
PalletUtilityError: {
|
||||||
_enum: ['TooManyCalls']
|
_enum: ['TooManyCalls']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup386: sp_consensus_babe::digests::PreDigest
|
* Lookup387: sp_consensus_babe::digests::PreDigest
|
||||||
**/
|
**/
|
||||||
SpConsensusBabeDigestsPreDigest: {
|
SpConsensusBabeDigestsPreDigest: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -4048,7 +4062,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup387: sp_consensus_babe::digests::PrimaryPreDigest
|
* Lookup388: sp_consensus_babe::digests::PrimaryPreDigest
|
||||||
**/
|
**/
|
||||||
SpConsensusBabeDigestsPrimaryPreDigest: {
|
SpConsensusBabeDigestsPrimaryPreDigest: {
|
||||||
authorityIndex: 'u32',
|
authorityIndex: 'u32',
|
||||||
@@ -4057,14 +4071,14 @@ export default {
|
|||||||
vrfProof: '[u8;64]'
|
vrfProof: '[u8;64]'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup388: sp_consensus_babe::digests::SecondaryPlainPreDigest
|
* Lookup389: sp_consensus_babe::digests::SecondaryPlainPreDigest
|
||||||
**/
|
**/
|
||||||
SpConsensusBabeDigestsSecondaryPlainPreDigest: {
|
SpConsensusBabeDigestsSecondaryPlainPreDigest: {
|
||||||
authorityIndex: 'u32',
|
authorityIndex: 'u32',
|
||||||
slot: 'u64'
|
slot: 'u64'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup389: sp_consensus_babe::digests::SecondaryVRFPreDigest
|
* Lookup390: sp_consensus_babe::digests::SecondaryVRFPreDigest
|
||||||
**/
|
**/
|
||||||
SpConsensusBabeDigestsSecondaryVRFPreDigest: {
|
SpConsensusBabeDigestsSecondaryVRFPreDigest: {
|
||||||
authorityIndex: 'u32',
|
authorityIndex: 'u32',
|
||||||
@@ -4073,20 +4087,20 @@ export default {
|
|||||||
vrfProof: '[u8;64]'
|
vrfProof: '[u8;64]'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup390: sp_consensus_babe::BabeEpochConfiguration
|
* Lookup391: sp_consensus_babe::BabeEpochConfiguration
|
||||||
**/
|
**/
|
||||||
SpConsensusBabeBabeEpochConfiguration: {
|
SpConsensusBabeBabeEpochConfiguration: {
|
||||||
c: '(u64,u64)',
|
c: '(u64,u64)',
|
||||||
allowedSlots: 'SpConsensusBabeAllowedSlots'
|
allowedSlots: 'SpConsensusBabeAllowedSlots'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup391: pallet_babe::pallet::Error<T>
|
* Lookup392: pallet_babe::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletBabeError: {
|
PalletBabeError: {
|
||||||
_enum: ['InvalidEquivocationProof', 'InvalidKeyOwnershipProof', 'DuplicateOffenceReport', 'InvalidConfiguration']
|
_enum: ['InvalidEquivocationProof', 'InvalidKeyOwnershipProof', 'DuplicateOffenceReport', 'InvalidConfiguration']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup393: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
|
* Lookup394: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletAuthorshipUncleEntryItem: {
|
PalletAuthorshipUncleEntryItem: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -4095,19 +4109,19 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup395: pallet_authorship::pallet::Error<T>
|
* Lookup396: pallet_authorship::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletAuthorshipError: {
|
PalletAuthorshipError: {
|
||||||
_enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
|
_enum: ['InvalidUncleParent', 'UnclesAlreadySet', 'TooManyUncles', 'GenesisUncle', 'TooHighUncle', 'UncleAlreadyIncluded', 'OldUncle']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup397: pallet_indices::pallet::Error<T>
|
* Lookup398: pallet_indices::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletIndicesError: {
|
PalletIndicesError: {
|
||||||
_enum: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent']
|
_enum: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup399: pallet_balances::BalanceLock<Balance>
|
* Lookup400: pallet_balances::BalanceLock<Balance>
|
||||||
**/
|
**/
|
||||||
PalletBalancesBalanceLock: {
|
PalletBalancesBalanceLock: {
|
||||||
id: '[u8;8]',
|
id: '[u8;8]',
|
||||||
@@ -4115,38 +4129,38 @@ export default {
|
|||||||
reasons: 'PalletBalancesReasons'
|
reasons: 'PalletBalancesReasons'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup400: pallet_balances::Reasons
|
* Lookup401: pallet_balances::Reasons
|
||||||
**/
|
**/
|
||||||
PalletBalancesReasons: {
|
PalletBalancesReasons: {
|
||||||
_enum: ['Fee', 'Misc', 'All']
|
_enum: ['Fee', 'Misc', 'All']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup403: pallet_balances::ReserveData<ReserveIdentifier, Balance>
|
* Lookup404: pallet_balances::ReserveData<ReserveIdentifier, Balance>
|
||||||
**/
|
**/
|
||||||
PalletBalancesReserveData: {
|
PalletBalancesReserveData: {
|
||||||
id: '[u8;8]',
|
id: '[u8;8]',
|
||||||
amount: 'u128'
|
amount: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup405: pallet_balances::Releases
|
* Lookup406: pallet_balances::Releases
|
||||||
**/
|
**/
|
||||||
PalletBalancesReleases: {
|
PalletBalancesReleases: {
|
||||||
_enum: ['V1_0_0', 'V2_0_0']
|
_enum: ['V1_0_0', 'V2_0_0']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup406: pallet_balances::pallet::Error<T, I>
|
* Lookup407: pallet_balances::pallet::Error<T, I>
|
||||||
**/
|
**/
|
||||||
PalletBalancesError: {
|
PalletBalancesError: {
|
||||||
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
|
_enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup408: pallet_transaction_payment::Releases
|
* Lookup409: pallet_transaction_payment::Releases
|
||||||
**/
|
**/
|
||||||
PalletTransactionPaymentReleases: {
|
PalletTransactionPaymentReleases: {
|
||||||
_enum: ['V1Ancient', 'V2']
|
_enum: ['V1Ancient', 'V2']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup409: pallet_election_provider_multi_phase::Phase<Bn>
|
* Lookup410: pallet_election_provider_multi_phase::Phase<Bn>
|
||||||
**/
|
**/
|
||||||
PalletElectionProviderMultiPhasePhase: {
|
PalletElectionProviderMultiPhasePhase: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -4157,7 +4171,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup411: pallet_election_provider_multi_phase::ReadySolution<sp_core::crypto::AccountId32>
|
* Lookup412: pallet_election_provider_multi_phase::ReadySolution<sp_core::crypto::AccountId32>
|
||||||
**/
|
**/
|
||||||
PalletElectionProviderMultiPhaseReadySolution: {
|
PalletElectionProviderMultiPhaseReadySolution: {
|
||||||
supports: 'Vec<(AccountId32,SpNposElectionsSupport)>',
|
supports: 'Vec<(AccountId32,SpNposElectionsSupport)>',
|
||||||
@@ -4165,7 +4179,7 @@ export default {
|
|||||||
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
|
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup412: pallet_election_provider_multi_phase::RoundSnapshot<T>
|
* Lookup413: pallet_election_provider_multi_phase::RoundSnapshot<T>
|
||||||
**/
|
**/
|
||||||
PalletElectionProviderMultiPhaseRoundSnapshot: {
|
PalletElectionProviderMultiPhaseRoundSnapshot: {
|
||||||
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
||||||
@@ -4447,7 +4461,8 @@ export default {
|
|||||||
instructionWeightsVersion: 'Compact<u32>',
|
instructionWeightsVersion: 'Compact<u32>',
|
||||||
initial: 'Compact<u32>',
|
initial: 'Compact<u32>',
|
||||||
maximum: 'Compact<u32>',
|
maximum: 'Compact<u32>',
|
||||||
code: 'Bytes'
|
code: 'Bytes',
|
||||||
|
determinism: 'PalletContractsWasmDeterminism'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup490: pallet_contracts::wasm::OwnerInfo<T>
|
* Lookup490: pallet_contracts::wasm::OwnerInfo<T>
|
||||||
@@ -4506,6 +4521,7 @@ export default {
|
|||||||
r_if: 'r#if'
|
r_if: 'r#if'
|
||||||
},
|
},
|
||||||
version: 'u32',
|
version: 'u32',
|
||||||
|
fallback: 'u32',
|
||||||
i64const: 'u32',
|
i64const: 'u32',
|
||||||
i64load: 'u32',
|
i64load: 'u32',
|
||||||
i64store: 'u32',
|
i64store: 'u32',
|
||||||
@@ -4624,7 +4640,7 @@ export default {
|
|||||||
* Lookup499: pallet_contracts::pallet::Error<T>
|
* Lookup499: pallet_contracts::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletContractsError: {
|
PalletContractsError: {
|
||||||
_enum: ['InvalidScheduleVersion', 'InvalidCallFlags', 'OutOfGas', 'OutputBufferTooSmall', 'TransferFailed', 'MaxCallDepthReached', 'ContractNotFound', 'CodeTooLarge', 'CodeNotFound', 'OutOfBounds', 'DecodingFailed', 'ContractTrapped', 'ValueTooLarge', 'TerminatedWhileReentrant', 'InputForwarded', 'RandomSubjectTooLong', 'TooManyTopics', 'DuplicateTopics', 'NoChainExtension', 'DeletionQueueFull', 'DuplicateContract', 'TerminatedInConstructor', 'DebugMessageInvalidUTF8', 'ReentranceDenied', 'StorageDepositNotEnoughFunds', 'StorageDepositLimitExhausted', 'CodeInUse', 'ContractReverted', 'CodeRejected']
|
_enum: ['InvalidScheduleVersion', 'InvalidCallFlags', 'OutOfGas', 'OutputBufferTooSmall', 'TransferFailed', 'MaxCallDepthReached', 'ContractNotFound', 'CodeTooLarge', 'CodeNotFound', 'OutOfBounds', 'DecodingFailed', 'ContractTrapped', 'ValueTooLarge', 'TerminatedWhileReentrant', 'InputForwarded', 'RandomSubjectTooLong', 'TooManyTopics', 'DuplicateTopics', 'NoChainExtension', 'DeletionQueueFull', 'DuplicateContract', 'TerminatedInConstructor', 'DebugMessageInvalidUTF8', 'ReentranceDenied', 'StorageDepositNotEnoughFunds', 'StorageDepositLimitExhausted', 'CodeInUse', 'ContractReverted', 'CodeRejected', 'Indeterministic']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup500: pallet_sudo::pallet::Error<T>
|
* Lookup500: pallet_sudo::pallet::Error<T>
|
||||||
@@ -4672,7 +4688,7 @@ export default {
|
|||||||
* Lookup524: pallet_identity::pallet::Error<T>
|
* Lookup524: pallet_identity::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletIdentityError: {
|
PalletIdentityError: {
|
||||||
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity']
|
_enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup526: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
|
* Lookup526: pallet_society::Bid<sp_core::crypto::AccountId32, Balance>
|
||||||
@@ -4805,7 +4821,7 @@ export default {
|
|||||||
_enum: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy']
|
_enum: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup563: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32>
|
* Lookup563: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32, MaxApprovals>
|
||||||
**/
|
**/
|
||||||
PalletMultisigMultisig: {
|
PalletMultisigMultisig: {
|
||||||
when: 'PalletMultisigTimepoint',
|
when: 'PalletMultisigTimepoint',
|
||||||
@@ -5341,7 +5357,9 @@ export default {
|
|||||||
DoesNotHavePermission: 'Null',
|
DoesNotHavePermission: 'Null',
|
||||||
MetadataExceedsMaxLen: 'Null',
|
MetadataExceedsMaxLen: 'Null',
|
||||||
Defensive: 'PalletNominationPoolsDefensiveError',
|
Defensive: 'PalletNominationPoolsDefensiveError',
|
||||||
PartialUnbondNotAllowedPermissionlessly: 'Null'
|
PartialUnbondNotAllowedPermissionlessly: 'Null',
|
||||||
|
PoolIdInUse: 'Null',
|
||||||
|
InvalidPoolId: 'Null'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -2477,6 +2477,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asUploadCode: {
|
readonly asUploadCode: {
|
||||||
readonly code: Bytes;
|
readonly code: Bytes;
|
||||||
readonly storageDepositLimit: Option<Compact<u128>>;
|
readonly storageDepositLimit: Option<Compact<u128>>;
|
||||||
|
readonly determinism: PalletContractsWasmDeterminism;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveCode: boolean;
|
readonly isRemoveCode: boolean;
|
||||||
readonly asRemoveCode: {
|
readonly asRemoveCode: {
|
||||||
@@ -2516,7 +2517,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'CallOldWeight' | 'InstantiateWithCodeOldWeight' | 'InstantiateOldWeight' | 'UploadCode' | 'RemoveCode' | 'SetCode' | 'Call' | 'InstantiateWithCode' | 'Instantiate';
|
readonly type: 'CallOldWeight' | 'InstantiateWithCodeOldWeight' | 'InstantiateOldWeight' | 'UploadCode' | 'RemoveCode' | 'SetCode' | 'Call' | 'InstantiateWithCode' | 'Instantiate';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSudoCall (234) */
|
/** @name PalletContractsWasmDeterminism (234) */
|
||||||
|
interface PalletContractsWasmDeterminism extends Enum {
|
||||||
|
readonly isDeterministic: boolean;
|
||||||
|
readonly isAllowIndeterminism: boolean;
|
||||||
|
readonly type: 'Deterministic' | 'AllowIndeterminism';
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name PalletSudoCall (235) */
|
||||||
interface PalletSudoCall extends Enum {
|
interface PalletSudoCall extends Enum {
|
||||||
readonly isSudo: boolean;
|
readonly isSudo: boolean;
|
||||||
readonly asSudo: {
|
readonly asSudo: {
|
||||||
@@ -2539,7 +2547,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
|
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletImOnlineCall (235) */
|
/** @name PalletImOnlineCall (236) */
|
||||||
interface PalletImOnlineCall extends Enum {
|
interface PalletImOnlineCall extends Enum {
|
||||||
readonly isHeartbeat: boolean;
|
readonly isHeartbeat: boolean;
|
||||||
readonly asHeartbeat: {
|
readonly asHeartbeat: {
|
||||||
@@ -2549,7 +2557,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Heartbeat';
|
readonly type: 'Heartbeat';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletImOnlineHeartbeat (236) */
|
/** @name PalletImOnlineHeartbeat (237) */
|
||||||
interface PalletImOnlineHeartbeat extends Struct {
|
interface PalletImOnlineHeartbeat extends Struct {
|
||||||
readonly blockNumber: u32;
|
readonly blockNumber: u32;
|
||||||
readonly networkState: SpCoreOffchainOpaqueNetworkState;
|
readonly networkState: SpCoreOffchainOpaqueNetworkState;
|
||||||
@@ -2558,19 +2566,19 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly validatorsLen: u32;
|
readonly validatorsLen: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpCoreOffchainOpaqueNetworkState (237) */
|
/** @name SpCoreOffchainOpaqueNetworkState (238) */
|
||||||
interface SpCoreOffchainOpaqueNetworkState extends Struct {
|
interface SpCoreOffchainOpaqueNetworkState extends Struct {
|
||||||
readonly peerId: OpaquePeerId;
|
readonly peerId: OpaquePeerId;
|
||||||
readonly externalAddresses: Vec<OpaqueMultiaddr>;
|
readonly externalAddresses: Vec<OpaqueMultiaddr>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletImOnlineSr25519AppSr25519Signature (241) */
|
/** @name PalletImOnlineSr25519AppSr25519Signature (242) */
|
||||||
interface PalletImOnlineSr25519AppSr25519Signature extends SpCoreSr25519Signature {}
|
interface PalletImOnlineSr25519AppSr25519Signature extends SpCoreSr25519Signature {}
|
||||||
|
|
||||||
/** @name SpCoreSr25519Signature (242) */
|
/** @name SpCoreSr25519Signature (243) */
|
||||||
interface SpCoreSr25519Signature extends U8aFixed {}
|
interface SpCoreSr25519Signature extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PalletIdentityCall (243) */
|
/** @name PalletIdentityCall (244) */
|
||||||
interface PalletIdentityCall extends Enum {
|
interface PalletIdentityCall extends Enum {
|
||||||
readonly isAddRegistrar: boolean;
|
readonly isAddRegistrar: boolean;
|
||||||
readonly asAddRegistrar: {
|
readonly asAddRegistrar: {
|
||||||
@@ -2638,7 +2646,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
|
readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityIdentityInfo (244) */
|
/** @name PalletIdentityIdentityInfo (245) */
|
||||||
interface PalletIdentityIdentityInfo extends Struct {
|
interface PalletIdentityIdentityInfo extends Struct {
|
||||||
readonly additional: Vec<ITuple<[Data, Data]>>;
|
readonly additional: Vec<ITuple<[Data, Data]>>;
|
||||||
readonly display: Data;
|
readonly display: Data;
|
||||||
@@ -2651,7 +2659,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly twitter: Data;
|
readonly twitter: Data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityBitFlags (281) */
|
/** @name PalletIdentityBitFlags (282) */
|
||||||
interface PalletIdentityBitFlags extends Set {
|
interface PalletIdentityBitFlags extends Set {
|
||||||
readonly isDisplay: boolean;
|
readonly isDisplay: boolean;
|
||||||
readonly isLegal: boolean;
|
readonly isLegal: boolean;
|
||||||
@@ -2663,7 +2671,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isTwitter: boolean;
|
readonly isTwitter: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityIdentityField (282) */
|
/** @name PalletIdentityIdentityField (283) */
|
||||||
interface PalletIdentityIdentityField extends Enum {
|
interface PalletIdentityIdentityField extends Enum {
|
||||||
readonly isDisplay: boolean;
|
readonly isDisplay: boolean;
|
||||||
readonly isLegal: boolean;
|
readonly isLegal: boolean;
|
||||||
@@ -2676,7 +2684,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';
|
readonly type: 'Display' | 'Legal' | 'Web' | 'Riot' | 'Email' | 'PgpFingerprint' | 'Image' | 'Twitter';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIdentityJudgement (283) */
|
/** @name PalletIdentityJudgement (284) */
|
||||||
interface PalletIdentityJudgement extends Enum {
|
interface PalletIdentityJudgement extends Enum {
|
||||||
readonly isUnknown: boolean;
|
readonly isUnknown: boolean;
|
||||||
readonly isFeePaid: boolean;
|
readonly isFeePaid: boolean;
|
||||||
@@ -2689,7 +2697,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';
|
readonly type: 'Unknown' | 'FeePaid' | 'Reasonable' | 'KnownGood' | 'OutOfDate' | 'LowQuality' | 'Erroneous';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyCall (284) */
|
/** @name PalletSocietyCall (285) */
|
||||||
interface PalletSocietyCall extends Enum {
|
interface PalletSocietyCall extends Enum {
|
||||||
readonly isBid: boolean;
|
readonly isBid: boolean;
|
||||||
readonly asBid: {
|
readonly asBid: {
|
||||||
@@ -2743,7 +2751,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Bid' | 'Unbid' | 'Vouch' | 'Unvouch' | 'Vote' | 'DefenderVote' | 'Payout' | 'Found' | 'Unfound' | 'JudgeSuspendedMember' | 'JudgeSuspendedCandidate' | 'SetMaxMembers';
|
readonly type: 'Bid' | 'Unbid' | 'Vouch' | 'Unvouch' | 'Vote' | 'DefenderVote' | 'Payout' | 'Found' | 'Unfound' | 'JudgeSuspendedMember' | 'JudgeSuspendedCandidate' | 'SetMaxMembers';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyJudgement (285) */
|
/** @name PalletSocietyJudgement (286) */
|
||||||
interface PalletSocietyJudgement extends Enum {
|
interface PalletSocietyJudgement extends Enum {
|
||||||
readonly isRebid: boolean;
|
readonly isRebid: boolean;
|
||||||
readonly isReject: boolean;
|
readonly isReject: boolean;
|
||||||
@@ -2751,7 +2759,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Rebid' | 'Reject' | 'Approve';
|
readonly type: 'Rebid' | 'Reject' | 'Approve';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRecoveryCall (286) */
|
/** @name PalletRecoveryCall (287) */
|
||||||
interface PalletRecoveryCall extends Enum {
|
interface PalletRecoveryCall extends Enum {
|
||||||
readonly isAsRecovered: boolean;
|
readonly isAsRecovered: boolean;
|
||||||
readonly asAsRecovered: {
|
readonly asAsRecovered: {
|
||||||
@@ -2794,7 +2802,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'AsRecovered' | 'SetRecovered' | 'CreateRecovery' | 'InitiateRecovery' | 'VouchRecovery' | 'ClaimRecovery' | 'CloseRecovery' | 'RemoveRecovery' | 'CancelRecovered';
|
readonly type: 'AsRecovered' | 'SetRecovered' | 'CreateRecovery' | 'InitiateRecovery' | 'VouchRecovery' | 'ClaimRecovery' | 'CloseRecovery' | 'RemoveRecovery' | 'CancelRecovered';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletVestingCall (287) */
|
/** @name PalletVestingCall (288) */
|
||||||
interface PalletVestingCall extends Enum {
|
interface PalletVestingCall extends Enum {
|
||||||
readonly isVest: boolean;
|
readonly isVest: boolean;
|
||||||
readonly isVestOther: boolean;
|
readonly isVestOther: boolean;
|
||||||
@@ -2820,14 +2828,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Vest' | 'VestOther' | 'VestedTransfer' | 'ForceVestedTransfer' | 'MergeSchedules';
|
readonly type: 'Vest' | 'VestOther' | 'VestedTransfer' | 'ForceVestedTransfer' | 'MergeSchedules';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletVestingVestingInfo (288) */
|
/** @name PalletVestingVestingInfo (289) */
|
||||||
interface PalletVestingVestingInfo extends Struct {
|
interface PalletVestingVestingInfo extends Struct {
|
||||||
readonly locked: u128;
|
readonly locked: u128;
|
||||||
readonly perBlock: u128;
|
readonly perBlock: u128;
|
||||||
readonly startingBlock: u32;
|
readonly startingBlock: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSchedulerCall (289) */
|
/** @name PalletSchedulerCall (290) */
|
||||||
interface PalletSchedulerCall extends Enum {
|
interface PalletSchedulerCall extends Enum {
|
||||||
readonly isSchedule: boolean;
|
readonly isSchedule: boolean;
|
||||||
readonly asSchedule: {
|
readonly asSchedule: {
|
||||||
@@ -2871,7 +2879,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter';
|
readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletPreimageCall (291) */
|
/** @name PalletPreimageCall (292) */
|
||||||
interface PalletPreimageCall extends Enum {
|
interface PalletPreimageCall extends Enum {
|
||||||
readonly isNotePreimage: boolean;
|
readonly isNotePreimage: boolean;
|
||||||
readonly asNotePreimage: {
|
readonly asNotePreimage: {
|
||||||
@@ -2892,7 +2900,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';
|
readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletProxyCall (292) */
|
/** @name PalletProxyCall (293) */
|
||||||
interface PalletProxyCall extends Enum {
|
interface PalletProxyCall extends Enum {
|
||||||
readonly isProxy: boolean;
|
readonly isProxy: boolean;
|
||||||
readonly asProxy: {
|
readonly asProxy: {
|
||||||
@@ -2952,7 +2960,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'CreatePure' | 'KillPure' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced';
|
readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'CreatePure' | 'KillPure' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletMultisigCall (294) */
|
/** @name PalletMultisigCall (295) */
|
||||||
interface PalletMultisigCall extends Enum {
|
interface PalletMultisigCall extends Enum {
|
||||||
readonly isAsMultiThreshold1: boolean;
|
readonly isAsMultiThreshold1: boolean;
|
||||||
readonly asAsMultiThreshold1: {
|
readonly asAsMultiThreshold1: {
|
||||||
@@ -2985,7 +2993,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'AsMultiThreshold1' | 'AsMulti' | 'ApproveAsMulti' | 'CancelAsMulti';
|
readonly type: 'AsMultiThreshold1' | 'AsMulti' | 'ApproveAsMulti' | 'CancelAsMulti';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBountiesCall (296) */
|
/** @name PalletBountiesCall (297) */
|
||||||
interface PalletBountiesCall extends Enum {
|
interface PalletBountiesCall extends Enum {
|
||||||
readonly isProposeBounty: boolean;
|
readonly isProposeBounty: boolean;
|
||||||
readonly asProposeBounty: {
|
readonly asProposeBounty: {
|
||||||
@@ -3031,7 +3039,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'ProposeBounty' | 'ApproveBounty' | 'ProposeCurator' | 'UnassignCurator' | 'AcceptCurator' | 'AwardBounty' | 'ClaimBounty' | 'CloseBounty' | 'ExtendBountyExpiry';
|
readonly type: 'ProposeBounty' | 'ApproveBounty' | 'ProposeCurator' | 'UnassignCurator' | 'AcceptCurator' | 'AwardBounty' | 'ClaimBounty' | 'CloseBounty' | 'ExtendBountyExpiry';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTipsCall (297) */
|
/** @name PalletTipsCall (298) */
|
||||||
interface PalletTipsCall extends Enum {
|
interface PalletTipsCall extends Enum {
|
||||||
readonly isReportAwesome: boolean;
|
readonly isReportAwesome: boolean;
|
||||||
readonly asReportAwesome: {
|
readonly asReportAwesome: {
|
||||||
@@ -3064,7 +3072,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'ReportAwesome' | 'RetractTip' | 'TipNew' | 'Tip' | 'CloseTip' | 'SlashTip';
|
readonly type: 'ReportAwesome' | 'RetractTip' | 'TipNew' | 'Tip' | 'CloseTip' | 'SlashTip';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAssetsCall (298) */
|
/** @name PalletAssetsCall (299) */
|
||||||
interface PalletAssetsCall extends Enum {
|
interface PalletAssetsCall extends Enum {
|
||||||
readonly isCreate: boolean;
|
readonly isCreate: boolean;
|
||||||
readonly asCreate: {
|
readonly asCreate: {
|
||||||
@@ -3215,14 +3223,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Create' | 'ForceCreate' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'TransferKeepAlive' | 'ForceTransfer' | 'Freeze' | 'Thaw' | 'FreezeAsset' | 'ThawAsset' | 'TransferOwnership' | 'SetTeam' | 'SetMetadata' | 'ClearMetadata' | 'ForceSetMetadata' | 'ForceClearMetadata' | 'ForceAssetStatus' | 'ApproveTransfer' | 'CancelApproval' | 'ForceCancelApproval' | 'TransferApproved' | 'Touch' | 'Refund';
|
readonly type: 'Create' | 'ForceCreate' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'TransferKeepAlive' | 'ForceTransfer' | 'Freeze' | 'Thaw' | 'FreezeAsset' | 'ThawAsset' | 'TransferOwnership' | 'SetTeam' | 'SetMetadata' | 'ClearMetadata' | 'ForceSetMetadata' | 'ForceClearMetadata' | 'ForceAssetStatus' | 'ApproveTransfer' | 'CancelApproval' | 'ForceCancelApproval' | 'TransferApproved' | 'Touch' | 'Refund';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAssetsDestroyWitness (299) */
|
/** @name PalletAssetsDestroyWitness (300) */
|
||||||
interface PalletAssetsDestroyWitness extends Struct {
|
interface PalletAssetsDestroyWitness extends Struct {
|
||||||
readonly accounts: Compact<u32>;
|
readonly accounts: Compact<u32>;
|
||||||
readonly sufficients: Compact<u32>;
|
readonly sufficients: Compact<u32>;
|
||||||
readonly approvals: Compact<u32>;
|
readonly approvals: Compact<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletLotteryCall (300) */
|
/** @name PalletLotteryCall (301) */
|
||||||
interface PalletLotteryCall extends Enum {
|
interface PalletLotteryCall extends Enum {
|
||||||
readonly isBuyTicket: boolean;
|
readonly isBuyTicket: boolean;
|
||||||
readonly asBuyTicket: {
|
readonly asBuyTicket: {
|
||||||
@@ -3243,7 +3251,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'BuyTicket' | 'SetCalls' | 'StartLottery' | 'StopRepeat';
|
readonly type: 'BuyTicket' | 'SetCalls' | 'StartLottery' | 'StopRepeat';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletGiltCall (301) */
|
/** @name PalletGiltCall (302) */
|
||||||
interface PalletGiltCall extends Enum {
|
interface PalletGiltCall extends Enum {
|
||||||
readonly isPlaceBid: boolean;
|
readonly isPlaceBid: boolean;
|
||||||
readonly asPlaceBid: {
|
readonly asPlaceBid: {
|
||||||
@@ -3266,7 +3274,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'PlaceBid' | 'RetractBid' | 'SetTarget' | 'Thaw';
|
readonly type: 'PlaceBid' | 'RetractBid' | 'SetTarget' | 'Thaw';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletUniquesCall (304) */
|
/** @name PalletUniquesCall (305) */
|
||||||
interface PalletUniquesCall extends Enum {
|
interface PalletUniquesCall extends Enum {
|
||||||
readonly isCreate: boolean;
|
readonly isCreate: boolean;
|
||||||
readonly asCreate: {
|
readonly asCreate: {
|
||||||
@@ -3419,14 +3427,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Create' | 'ForceCreate' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'Redeposit' | 'Freeze' | 'Thaw' | 'FreezeCollection' | 'ThawCollection' | 'TransferOwnership' | 'SetTeam' | 'ApproveTransfer' | 'CancelApproval' | 'ForceItemStatus' | 'SetAttribute' | 'ClearAttribute' | 'SetMetadata' | 'ClearMetadata' | 'SetCollectionMetadata' | 'ClearCollectionMetadata' | 'SetAcceptOwnership' | 'SetCollectionMaxSupply' | 'SetPrice' | 'BuyItem';
|
readonly type: 'Create' | 'ForceCreate' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'Redeposit' | 'Freeze' | 'Thaw' | 'FreezeCollection' | 'ThawCollection' | 'TransferOwnership' | 'SetTeam' | 'ApproveTransfer' | 'CancelApproval' | 'ForceItemStatus' | 'SetAttribute' | 'ClearAttribute' | 'SetMetadata' | 'ClearMetadata' | 'SetCollectionMetadata' | 'ClearCollectionMetadata' | 'SetAcceptOwnership' | 'SetCollectionMaxSupply' | 'SetPrice' | 'BuyItem';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletUniquesDestroyWitness (305) */
|
/** @name PalletUniquesDestroyWitness (306) */
|
||||||
interface PalletUniquesDestroyWitness extends Struct {
|
interface PalletUniquesDestroyWitness extends Struct {
|
||||||
readonly items: Compact<u32>;
|
readonly items: Compact<u32>;
|
||||||
readonly itemMetadatas: Compact<u32>;
|
readonly itemMetadatas: Compact<u32>;
|
||||||
readonly attributes: Compact<u32>;
|
readonly attributes: Compact<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionStorageCall (308) */
|
/** @name PalletTransactionStorageCall (309) */
|
||||||
interface PalletTransactionStorageCall extends Enum {
|
interface PalletTransactionStorageCall extends Enum {
|
||||||
readonly isStore: boolean;
|
readonly isStore: boolean;
|
||||||
readonly asStore: {
|
readonly asStore: {
|
||||||
@@ -3444,13 +3452,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Store' | 'Renew' | 'CheckProof';
|
readonly type: 'Store' | 'Renew' | 'CheckProof';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpTransactionStorageProofTransactionStorageProof (309) */
|
/** @name SpTransactionStorageProofTransactionStorageProof (310) */
|
||||||
interface SpTransactionStorageProofTransactionStorageProof extends Struct {
|
interface SpTransactionStorageProofTransactionStorageProof extends Struct {
|
||||||
readonly chunk: Bytes;
|
readonly chunk: Bytes;
|
||||||
readonly proof: Vec<Bytes>;
|
readonly proof: Vec<Bytes>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBagsListCall (310) */
|
/** @name PalletBagsListCall (311) */
|
||||||
interface PalletBagsListCall extends Enum {
|
interface PalletBagsListCall extends Enum {
|
||||||
readonly isRebag: boolean;
|
readonly isRebag: boolean;
|
||||||
readonly asRebag: {
|
readonly asRebag: {
|
||||||
@@ -3463,7 +3471,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Rebag' | 'PutInFrontOf';
|
readonly type: 'Rebag' | 'PutInFrontOf';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStateTrieMigrationCall (311) */
|
/** @name PalletStateTrieMigrationCall (312) */
|
||||||
interface PalletStateTrieMigrationCall extends Enum {
|
interface PalletStateTrieMigrationCall extends Enum {
|
||||||
readonly isControlAutoMigration: boolean;
|
readonly isControlAutoMigration: boolean;
|
||||||
readonly asControlAutoMigration: {
|
readonly asControlAutoMigration: {
|
||||||
@@ -3498,13 +3506,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'ControlAutoMigration' | 'ContinueMigrate' | 'MigrateCustomTop' | 'MigrateCustomChild' | 'SetSignedMaxLimits' | 'ForceSetProgress';
|
readonly type: 'ControlAutoMigration' | 'ContinueMigrate' | 'MigrateCustomTop' | 'MigrateCustomChild' | 'SetSignedMaxLimits' | 'ForceSetProgress';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStateTrieMigrationMigrationLimits (313) */
|
/** @name PalletStateTrieMigrationMigrationLimits (314) */
|
||||||
interface PalletStateTrieMigrationMigrationLimits extends Struct {
|
interface PalletStateTrieMigrationMigrationLimits extends Struct {
|
||||||
readonly size_: u32;
|
readonly size_: u32;
|
||||||
readonly item: u32;
|
readonly item: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStateTrieMigrationMigrationTask (314) */
|
/** @name PalletStateTrieMigrationMigrationTask (315) */
|
||||||
interface PalletStateTrieMigrationMigrationTask extends Struct {
|
interface PalletStateTrieMigrationMigrationTask extends Struct {
|
||||||
readonly progressTop: PalletStateTrieMigrationProgress;
|
readonly progressTop: PalletStateTrieMigrationProgress;
|
||||||
readonly progressChild: PalletStateTrieMigrationProgress;
|
readonly progressChild: PalletStateTrieMigrationProgress;
|
||||||
@@ -3513,7 +3521,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly childItems: u32;
|
readonly childItems: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletStateTrieMigrationProgress (315) */
|
/** @name PalletStateTrieMigrationProgress (316) */
|
||||||
interface PalletStateTrieMigrationProgress extends Enum {
|
interface PalletStateTrieMigrationProgress extends Enum {
|
||||||
readonly isToStart: boolean;
|
readonly isToStart: boolean;
|
||||||
readonly isLastKey: boolean;
|
readonly isLastKey: boolean;
|
||||||
@@ -3522,7 +3530,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'ToStart' | 'LastKey' | 'Complete';
|
readonly type: 'ToStart' | 'LastKey' | 'Complete';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletChildBountiesCall (317) */
|
/** @name PalletChildBountiesCall (318) */
|
||||||
interface PalletChildBountiesCall extends Enum {
|
interface PalletChildBountiesCall extends Enum {
|
||||||
readonly isAddChildBounty: boolean;
|
readonly isAddChildBounty: boolean;
|
||||||
readonly asAddChildBounty: {
|
readonly asAddChildBounty: {
|
||||||
@@ -3566,7 +3574,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'AddChildBounty' | 'ProposeCurator' | 'AcceptCurator' | 'UnassignCurator' | 'AwardChildBounty' | 'ClaimChildBounty' | 'CloseChildBounty';
|
readonly type: 'AddChildBounty' | 'ProposeCurator' | 'AcceptCurator' | 'UnassignCurator' | 'AwardChildBounty' | 'ClaimChildBounty' | 'CloseChildBounty';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletReferendaCall (318) */
|
/** @name PalletReferendaCall (319) */
|
||||||
interface PalletReferendaCall extends Enum {
|
interface PalletReferendaCall extends Enum {
|
||||||
readonly isSubmit: boolean;
|
readonly isSubmit: boolean;
|
||||||
readonly asSubmit: {
|
readonly asSubmit: {
|
||||||
@@ -3601,7 +3609,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Submit' | 'PlaceDecisionDeposit' | 'RefundDecisionDeposit' | 'Cancel' | 'Kill' | 'NudgeReferendum' | 'OneFewerDeciding';
|
readonly type: 'Submit' | 'PlaceDecisionDeposit' | 'RefundDecisionDeposit' | 'Cancel' | 'Kill' | 'NudgeReferendum' | 'OneFewerDeciding';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSupportScheduleDispatchTime (319) */
|
/** @name FrameSupportScheduleDispatchTime (320) */
|
||||||
interface FrameSupportScheduleDispatchTime extends Enum {
|
interface FrameSupportScheduleDispatchTime extends Enum {
|
||||||
readonly isAt: boolean;
|
readonly isAt: boolean;
|
||||||
readonly asAt: u32;
|
readonly asAt: u32;
|
||||||
@@ -3610,7 +3618,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'At' | 'After';
|
readonly type: 'At' | 'After';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRemarkCall (320) */
|
/** @name PalletRemarkCall (321) */
|
||||||
interface PalletRemarkCall extends Enum {
|
interface PalletRemarkCall extends Enum {
|
||||||
readonly isStore: boolean;
|
readonly isStore: boolean;
|
||||||
readonly asStore: {
|
readonly asStore: {
|
||||||
@@ -3619,7 +3627,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Store';
|
readonly type: 'Store';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletConvictionVotingCall (321) */
|
/** @name PalletConvictionVotingCall (322) */
|
||||||
interface PalletConvictionVotingCall extends Enum {
|
interface PalletConvictionVotingCall extends Enum {
|
||||||
readonly isVote: boolean;
|
readonly isVote: boolean;
|
||||||
readonly asVote: {
|
readonly asVote: {
|
||||||
@@ -3656,7 +3664,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Vote' | 'Delegate' | 'Undelegate' | 'Unlock' | 'RemoveVote' | 'RemoveOtherVote';
|
readonly type: 'Vote' | 'Delegate' | 'Undelegate' | 'Unlock' | 'RemoveVote' | 'RemoveOtherVote';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletConvictionVotingVoteAccountVote (322) */
|
/** @name PalletConvictionVotingVoteAccountVote (323) */
|
||||||
interface PalletConvictionVotingVoteAccountVote extends Enum {
|
interface PalletConvictionVotingVoteAccountVote extends Enum {
|
||||||
readonly isStandard: boolean;
|
readonly isStandard: boolean;
|
||||||
readonly asStandard: {
|
readonly asStandard: {
|
||||||
@@ -3671,7 +3679,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Standard' | 'Split';
|
readonly type: 'Standard' | 'Split';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletConvictionVotingConviction (324) */
|
/** @name PalletConvictionVotingConviction (325) */
|
||||||
interface PalletConvictionVotingConviction extends Enum {
|
interface PalletConvictionVotingConviction extends Enum {
|
||||||
readonly isNone: boolean;
|
readonly isNone: boolean;
|
||||||
readonly isLocked1x: boolean;
|
readonly isLocked1x: boolean;
|
||||||
@@ -3683,7 +3691,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x';
|
readonly type: 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletWhitelistCall (326) */
|
/** @name PalletWhitelistCall (327) */
|
||||||
interface PalletWhitelistCall extends Enum {
|
interface PalletWhitelistCall extends Enum {
|
||||||
readonly isWhitelistCall: boolean;
|
readonly isWhitelistCall: boolean;
|
||||||
readonly asWhitelistCall: {
|
readonly asWhitelistCall: {
|
||||||
@@ -3705,7 +3713,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'WhitelistCall' | 'RemoveWhitelistedCall' | 'DispatchWhitelistedCall' | 'DispatchWhitelistedCallWithPreimage';
|
readonly type: 'WhitelistCall' | 'RemoveWhitelistedCall' | 'DispatchWhitelistedCall' | 'DispatchWhitelistedCallWithPreimage';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAllianceCall (328) */
|
/** @name PalletAllianceCall (329) */
|
||||||
interface PalletAllianceCall extends Enum {
|
interface PalletAllianceCall extends Enum {
|
||||||
readonly isPropose: boolean;
|
readonly isPropose: boolean;
|
||||||
readonly asPropose: {
|
readonly asPropose: {
|
||||||
@@ -3785,33 +3793,33 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Propose' | 'Vote' | 'Veto' | 'CloseOldWeight' | 'InitMembers' | 'Disband' | 'SetRule' | 'Announce' | 'RemoveAnnouncement' | 'JoinAlliance' | 'NominateAlly' | 'ElevateAlly' | 'GiveRetirementNotice' | 'Retire' | 'KickMember' | 'AddUnscrupulousItems' | 'RemoveUnscrupulousItems' | 'Close';
|
readonly type: 'Propose' | 'Vote' | 'Veto' | 'CloseOldWeight' | 'InitMembers' | 'Disband' | 'SetRule' | 'Announce' | 'RemoveAnnouncement' | 'JoinAlliance' | 'NominateAlly' | 'ElevateAlly' | 'GiveRetirementNotice' | 'Retire' | 'KickMember' | 'AddUnscrupulousItems' | 'RemoveUnscrupulousItems' | 'Close';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAllianceDisbandWitness (329) */
|
/** @name PalletAllianceDisbandWitness (330) */
|
||||||
interface PalletAllianceDisbandWitness extends Struct {
|
interface PalletAllianceDisbandWitness extends Struct {
|
||||||
readonly votingMembers: Compact<u32>;
|
readonly votingMembers: Compact<u32>;
|
||||||
readonly allyMembers: Compact<u32>;
|
readonly allyMembers: Compact<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAllianceCid (330) */
|
/** @name PalletAllianceCid (331) */
|
||||||
interface PalletAllianceCid extends Struct {
|
interface PalletAllianceCid extends Struct {
|
||||||
readonly version: PalletAllianceVersion;
|
readonly version: PalletAllianceVersion;
|
||||||
readonly codec: u64;
|
readonly codec: u64;
|
||||||
readonly hash_: PalletAllianceMultihash;
|
readonly hash_: PalletAllianceMultihash;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAllianceVersion (331) */
|
/** @name PalletAllianceVersion (332) */
|
||||||
interface PalletAllianceVersion extends Enum {
|
interface PalletAllianceVersion extends Enum {
|
||||||
readonly isV0: boolean;
|
readonly isV0: boolean;
|
||||||
readonly isV1: boolean;
|
readonly isV1: boolean;
|
||||||
readonly type: 'V0' | 'V1';
|
readonly type: 'V0' | 'V1';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAllianceMultihash (332) */
|
/** @name PalletAllianceMultihash (333) */
|
||||||
interface PalletAllianceMultihash extends Struct {
|
interface PalletAllianceMultihash extends Struct {
|
||||||
readonly code: u64;
|
readonly code: u64;
|
||||||
readonly digest: Bytes;
|
readonly digest: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAllianceUnscrupulousItem (335) */
|
/** @name PalletAllianceUnscrupulousItem (336) */
|
||||||
interface PalletAllianceUnscrupulousItem extends Enum {
|
interface PalletAllianceUnscrupulousItem extends Enum {
|
||||||
readonly isAccountId: boolean;
|
readonly isAccountId: boolean;
|
||||||
readonly asAccountId: AccountId32;
|
readonly asAccountId: AccountId32;
|
||||||
@@ -3820,7 +3828,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'AccountId' | 'Website';
|
readonly type: 'AccountId' | 'Website';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletNominationPoolsCall (337) */
|
/** @name PalletNominationPoolsCall (338) */
|
||||||
interface PalletNominationPoolsCall extends Enum {
|
interface PalletNominationPoolsCall extends Enum {
|
||||||
readonly isJoin: boolean;
|
readonly isJoin: boolean;
|
||||||
readonly asJoin: {
|
readonly asJoin: {
|
||||||
@@ -3854,6 +3862,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly nominator: MultiAddress;
|
readonly nominator: MultiAddress;
|
||||||
readonly stateToggler: MultiAddress;
|
readonly stateToggler: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
|
readonly isCreateWithPoolId: boolean;
|
||||||
|
readonly asCreateWithPoolId: {
|
||||||
|
readonly amount: Compact<u128>;
|
||||||
|
readonly root: MultiAddress;
|
||||||
|
readonly nominator: MultiAddress;
|
||||||
|
readonly stateToggler: MultiAddress;
|
||||||
|
readonly poolId: u32;
|
||||||
|
} & Struct;
|
||||||
readonly isNominate: boolean;
|
readonly isNominate: boolean;
|
||||||
readonly asNominate: {
|
readonly asNominate: {
|
||||||
readonly poolId: u32;
|
readonly poolId: u32;
|
||||||
@@ -3888,10 +3904,10 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asChill: {
|
readonly asChill: {
|
||||||
readonly poolId: u32;
|
readonly poolId: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'Join' | 'BondExtra' | 'ClaimPayout' | 'Unbond' | 'PoolWithdrawUnbonded' | 'WithdrawUnbonded' | 'Create' | 'Nominate' | 'SetState' | 'SetMetadata' | 'SetConfigs' | 'UpdateRoles' | 'Chill';
|
readonly type: 'Join' | 'BondExtra' | 'ClaimPayout' | 'Unbond' | 'PoolWithdrawUnbonded' | 'WithdrawUnbonded' | 'Create' | 'CreateWithPoolId' | 'Nominate' | 'SetState' | 'SetMetadata' | 'SetConfigs' | 'UpdateRoles' | 'Chill';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletNominationPoolsBondExtra (338) */
|
/** @name PalletNominationPoolsBondExtra (339) */
|
||||||
interface PalletNominationPoolsBondExtra extends Enum {
|
interface PalletNominationPoolsBondExtra extends Enum {
|
||||||
readonly isFreeBalance: boolean;
|
readonly isFreeBalance: boolean;
|
||||||
readonly asFreeBalance: u128;
|
readonly asFreeBalance: u128;
|
||||||
@@ -3899,7 +3915,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'FreeBalance' | 'Rewards';
|
readonly type: 'FreeBalance' | 'Rewards';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletNominationPoolsPoolState (339) */
|
/** @name PalletNominationPoolsPoolState (340) */
|
||||||
interface PalletNominationPoolsPoolState extends Enum {
|
interface PalletNominationPoolsPoolState extends Enum {
|
||||||
readonly isOpen: boolean;
|
readonly isOpen: boolean;
|
||||||
readonly isBlocked: boolean;
|
readonly isBlocked: boolean;
|
||||||
@@ -3907,7 +3923,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Open' | 'Blocked' | 'Destroying';
|
readonly type: 'Open' | 'Blocked' | 'Destroying';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletNominationPoolsConfigOpU128 (340) */
|
/** @name PalletNominationPoolsConfigOpU128 (341) */
|
||||||
interface PalletNominationPoolsConfigOpU128 extends Enum {
|
interface PalletNominationPoolsConfigOpU128 extends Enum {
|
||||||
readonly isNoop: boolean;
|
readonly isNoop: boolean;
|
||||||
readonly isSet: boolean;
|
readonly isSet: boolean;
|
||||||
@@ -3916,7 +3932,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Noop' | 'Set' | 'Remove';
|
readonly type: 'Noop' | 'Set' | 'Remove';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletNominationPoolsConfigOpU32 (341) */
|
/** @name PalletNominationPoolsConfigOpU32 (342) */
|
||||||
interface PalletNominationPoolsConfigOpU32 extends Enum {
|
interface PalletNominationPoolsConfigOpU32 extends Enum {
|
||||||
readonly isNoop: boolean;
|
readonly isNoop: boolean;
|
||||||
readonly isSet: boolean;
|
readonly isSet: boolean;
|
||||||
@@ -3925,7 +3941,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Noop' | 'Set' | 'Remove';
|
readonly type: 'Noop' | 'Set' | 'Remove';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletNominationPoolsConfigOpAccountId32 (342) */
|
/** @name PalletNominationPoolsConfigOpAccountId32 (343) */
|
||||||
interface PalletNominationPoolsConfigOpAccountId32 extends Enum {
|
interface PalletNominationPoolsConfigOpAccountId32 extends Enum {
|
||||||
readonly isNoop: boolean;
|
readonly isNoop: boolean;
|
||||||
readonly isSet: boolean;
|
readonly isSet: boolean;
|
||||||
@@ -3934,7 +3950,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Noop' | 'Set' | 'Remove';
|
readonly type: 'Noop' | 'Set' | 'Remove';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRankedCollectiveCall (344) */
|
/** @name PalletRankedCollectiveCall (345) */
|
||||||
interface PalletRankedCollectiveCall extends Enum {
|
interface PalletRankedCollectiveCall extends Enum {
|
||||||
readonly isAddMember: boolean;
|
readonly isAddMember: boolean;
|
||||||
readonly asAddMember: {
|
readonly asAddMember: {
|
||||||
@@ -3966,7 +3982,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'AddMember' | 'PromoteMember' | 'DemoteMember' | 'RemoveMember' | 'Vote' | 'CleanupPoll';
|
readonly type: 'AddMember' | 'PromoteMember' | 'DemoteMember' | 'RemoveMember' | 'Vote' | 'CleanupPoll';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletFastUnstakeCall (345) */
|
/** @name PalletFastUnstakeCall (346) */
|
||||||
interface PalletFastUnstakeCall extends Enum {
|
interface PalletFastUnstakeCall extends Enum {
|
||||||
readonly isRegisterFastUnstake: boolean;
|
readonly isRegisterFastUnstake: boolean;
|
||||||
readonly isDeregister: boolean;
|
readonly isDeregister: boolean;
|
||||||
@@ -3977,14 +3993,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'RegisterFastUnstake' | 'Deregister' | 'Control';
|
readonly type: 'RegisterFastUnstake' | 'Deregister' | 'Control';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletConvictionVotingTally (347) */
|
/** @name PalletConvictionVotingTally (348) */
|
||||||
interface PalletConvictionVotingTally extends Struct {
|
interface PalletConvictionVotingTally extends Struct {
|
||||||
readonly ayes: u128;
|
readonly ayes: u128;
|
||||||
readonly nays: u128;
|
readonly nays: u128;
|
||||||
readonly support: u128;
|
readonly support: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRemarkEvent (348) */
|
/** @name PalletRemarkEvent (349) */
|
||||||
interface PalletRemarkEvent extends Enum {
|
interface PalletRemarkEvent extends Enum {
|
||||||
readonly isStored: boolean;
|
readonly isStored: boolean;
|
||||||
readonly asStored: {
|
readonly asStored: {
|
||||||
@@ -3994,7 +4010,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Stored';
|
readonly type: 'Stored';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletConvictionVotingEvent (349) */
|
/** @name PalletConvictionVotingEvent (350) */
|
||||||
interface PalletConvictionVotingEvent extends Enum {
|
interface PalletConvictionVotingEvent extends Enum {
|
||||||
readonly isDelegated: boolean;
|
readonly isDelegated: boolean;
|
||||||
readonly asDelegated: ITuple<[AccountId32, AccountId32]>;
|
readonly asDelegated: ITuple<[AccountId32, AccountId32]>;
|
||||||
@@ -4003,7 +4019,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Delegated' | 'Undelegated';
|
readonly type: 'Delegated' | 'Undelegated';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletWhitelistEvent (350) */
|
/** @name PalletWhitelistEvent (351) */
|
||||||
interface PalletWhitelistEvent extends Enum {
|
interface PalletWhitelistEvent extends Enum {
|
||||||
readonly isCallWhitelisted: boolean;
|
readonly isCallWhitelisted: boolean;
|
||||||
readonly asCallWhitelisted: {
|
readonly asCallWhitelisted: {
|
||||||
@@ -4021,19 +4037,19 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'CallWhitelisted' | 'WhitelistedCallRemoved' | 'WhitelistedCallDispatched';
|
readonly type: 'CallWhitelisted' | 'WhitelistedCallRemoved' | 'WhitelistedCallDispatched';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSupportDispatchPostDispatchInfo (352) */
|
/** @name FrameSupportDispatchPostDispatchInfo (353) */
|
||||||
interface FrameSupportDispatchPostDispatchInfo extends Struct {
|
interface FrameSupportDispatchPostDispatchInfo extends Struct {
|
||||||
readonly actualWeight: Option<SpWeightsWeightV2Weight>;
|
readonly actualWeight: Option<SpWeightsWeightV2Weight>;
|
||||||
readonly paysFee: FrameSupportDispatchPays;
|
readonly paysFee: FrameSupportDispatchPays;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpRuntimeDispatchErrorWithPostInfo (354) */
|
/** @name SpRuntimeDispatchErrorWithPostInfo (355) */
|
||||||
interface SpRuntimeDispatchErrorWithPostInfo extends Struct {
|
interface SpRuntimeDispatchErrorWithPostInfo extends Struct {
|
||||||
readonly postInfo: FrameSupportDispatchPostDispatchInfo;
|
readonly postInfo: FrameSupportDispatchPostDispatchInfo;
|
||||||
readonly error: SpRuntimeDispatchError;
|
readonly error: SpRuntimeDispatchError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAllianceEvent (356) */
|
/** @name PalletAllianceEvent (357) */
|
||||||
interface PalletAllianceEvent extends Enum {
|
interface PalletAllianceEvent extends Enum {
|
||||||
readonly isNewRuleSet: boolean;
|
readonly isNewRuleSet: boolean;
|
||||||
readonly asNewRuleSet: {
|
readonly asNewRuleSet: {
|
||||||
@@ -4094,7 +4110,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NewRuleSet' | 'Announced' | 'AnnouncementRemoved' | 'MembersInitialized' | 'NewAllyJoined' | 'AllyElevated' | 'MemberRetirementPeriodStarted' | 'MemberRetired' | 'MemberKicked' | 'UnscrupulousItemAdded' | 'UnscrupulousItemRemoved' | 'AllianceDisbanded';
|
readonly type: 'NewRuleSet' | 'Announced' | 'AnnouncementRemoved' | 'MembersInitialized' | 'NewAllyJoined' | 'AllyElevated' | 'MemberRetirementPeriodStarted' | 'MemberRetired' | 'MemberKicked' | 'UnscrupulousItemAdded' | 'UnscrupulousItemRemoved' | 'AllianceDisbanded';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletNominationPoolsEvent (357) */
|
/** @name PalletNominationPoolsEvent (358) */
|
||||||
interface PalletNominationPoolsEvent extends Enum {
|
interface PalletNominationPoolsEvent extends Enum {
|
||||||
readonly isCreated: boolean;
|
readonly isCreated: boolean;
|
||||||
readonly asCreated: {
|
readonly asCreated: {
|
||||||
@@ -4163,14 +4179,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Created' | 'Bonded' | 'PaidOut' | 'Unbonded' | 'Withdrawn' | 'Destroyed' | 'StateChanged' | 'MemberRemoved' | 'RolesUpdated' | 'PoolSlashed' | 'UnbondingPoolSlashed';
|
readonly type: 'Created' | 'Bonded' | 'PaidOut' | 'Unbonded' | 'Withdrawn' | 'Destroyed' | 'StateChanged' | 'MemberRemoved' | 'RolesUpdated' | 'PoolSlashed' | 'UnbondingPoolSlashed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRankedCollectiveTally (359) */
|
/** @name PalletRankedCollectiveTally (360) */
|
||||||
interface PalletRankedCollectiveTally extends Struct {
|
interface PalletRankedCollectiveTally extends Struct {
|
||||||
readonly bareAyes: u32;
|
readonly bareAyes: u32;
|
||||||
readonly ayes: u32;
|
readonly ayes: u32;
|
||||||
readonly nays: u32;
|
readonly nays: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRankedCollectiveEvent (360) */
|
/** @name PalletRankedCollectiveEvent (361) */
|
||||||
interface PalletRankedCollectiveEvent extends Enum {
|
interface PalletRankedCollectiveEvent extends Enum {
|
||||||
readonly isMemberAdded: boolean;
|
readonly isMemberAdded: boolean;
|
||||||
readonly asMemberAdded: {
|
readonly asMemberAdded: {
|
||||||
@@ -4196,7 +4212,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'MemberAdded' | 'RankChanged' | 'MemberRemoved' | 'Voted';
|
readonly type: 'MemberAdded' | 'RankChanged' | 'MemberRemoved' | 'Voted';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRankedCollectiveVoteRecord (361) */
|
/** @name PalletRankedCollectiveVoteRecord (362) */
|
||||||
interface PalletRankedCollectiveVoteRecord extends Enum {
|
interface PalletRankedCollectiveVoteRecord extends Enum {
|
||||||
readonly isAye: boolean;
|
readonly isAye: boolean;
|
||||||
readonly asAye: u32;
|
readonly asAye: u32;
|
||||||
@@ -4205,7 +4221,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Aye' | 'Nay';
|
readonly type: 'Aye' | 'Nay';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletFastUnstakeEvent (362) */
|
/** @name PalletFastUnstakeEvent (363) */
|
||||||
interface PalletFastUnstakeEvent extends Enum {
|
interface PalletFastUnstakeEvent extends Enum {
|
||||||
readonly isUnstaked: boolean;
|
readonly isUnstaked: boolean;
|
||||||
readonly asUnstaked: {
|
readonly asUnstaked: {
|
||||||
@@ -4230,7 +4246,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Unstaked' | 'Slashed' | 'Checking' | 'Errored' | 'InternalError';
|
readonly type: 'Unstaked' | 'Slashed' | 'Checking' | 'Errored' | 'InternalError';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSystemPhase (363) */
|
/** @name FrameSystemPhase (364) */
|
||||||
interface FrameSystemPhase extends Enum {
|
interface FrameSystemPhase extends Enum {
|
||||||
readonly isApplyExtrinsic: boolean;
|
readonly isApplyExtrinsic: boolean;
|
||||||
readonly asApplyExtrinsic: u32;
|
readonly asApplyExtrinsic: u32;
|
||||||
@@ -4239,27 +4255,27 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
|
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSystemLastRuntimeUpgradeInfo (366) */
|
/** @name FrameSystemLastRuntimeUpgradeInfo (367) */
|
||||||
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
|
interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
|
||||||
readonly specVersion: Compact<u32>;
|
readonly specVersion: Compact<u32>;
|
||||||
readonly specName: Text;
|
readonly specName: Text;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSystemLimitsBlockWeights (368) */
|
/** @name FrameSystemLimitsBlockWeights (369) */
|
||||||
interface FrameSystemLimitsBlockWeights extends Struct {
|
interface FrameSystemLimitsBlockWeights extends Struct {
|
||||||
readonly baseBlock: SpWeightsWeightV2Weight;
|
readonly baseBlock: SpWeightsWeightV2Weight;
|
||||||
readonly maxBlock: SpWeightsWeightV2Weight;
|
readonly maxBlock: SpWeightsWeightV2Weight;
|
||||||
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
|
readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (369) */
|
/** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (370) */
|
||||||
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
|
interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct {
|
||||||
readonly normal: FrameSystemLimitsWeightsPerClass;
|
readonly normal: FrameSystemLimitsWeightsPerClass;
|
||||||
readonly operational: FrameSystemLimitsWeightsPerClass;
|
readonly operational: FrameSystemLimitsWeightsPerClass;
|
||||||
readonly mandatory: FrameSystemLimitsWeightsPerClass;
|
readonly mandatory: FrameSystemLimitsWeightsPerClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSystemLimitsWeightsPerClass (370) */
|
/** @name FrameSystemLimitsWeightsPerClass (371) */
|
||||||
interface FrameSystemLimitsWeightsPerClass extends Struct {
|
interface FrameSystemLimitsWeightsPerClass extends Struct {
|
||||||
readonly baseExtrinsic: SpWeightsWeightV2Weight;
|
readonly baseExtrinsic: SpWeightsWeightV2Weight;
|
||||||
readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
|
readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>;
|
||||||
@@ -4267,25 +4283,25 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly reserved: Option<SpWeightsWeightV2Weight>;
|
readonly reserved: Option<SpWeightsWeightV2Weight>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSystemLimitsBlockLength (371) */
|
/** @name FrameSystemLimitsBlockLength (372) */
|
||||||
interface FrameSystemLimitsBlockLength extends Struct {
|
interface FrameSystemLimitsBlockLength extends Struct {
|
||||||
readonly max: FrameSupportDispatchPerDispatchClassU32;
|
readonly max: FrameSupportDispatchPerDispatchClassU32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSupportDispatchPerDispatchClassU32 (372) */
|
/** @name FrameSupportDispatchPerDispatchClassU32 (373) */
|
||||||
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
|
interface FrameSupportDispatchPerDispatchClassU32 extends Struct {
|
||||||
readonly normal: u32;
|
readonly normal: u32;
|
||||||
readonly operational: u32;
|
readonly operational: u32;
|
||||||
readonly mandatory: u32;
|
readonly mandatory: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpWeightsRuntimeDbWeight (373) */
|
/** @name SpWeightsRuntimeDbWeight (374) */
|
||||||
interface SpWeightsRuntimeDbWeight extends Struct {
|
interface SpWeightsRuntimeDbWeight extends Struct {
|
||||||
readonly read: u64;
|
readonly read: u64;
|
||||||
readonly write: u64;
|
readonly write: u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpVersionRuntimeVersion (374) */
|
/** @name SpVersionRuntimeVersion (375) */
|
||||||
interface SpVersionRuntimeVersion extends Struct {
|
interface SpVersionRuntimeVersion extends Struct {
|
||||||
readonly specName: Text;
|
readonly specName: Text;
|
||||||
readonly implName: Text;
|
readonly implName: Text;
|
||||||
@@ -4297,7 +4313,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly stateVersion: u8;
|
readonly stateVersion: u8;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSystemError (378) */
|
/** @name FrameSystemError (379) */
|
||||||
interface FrameSystemError extends Enum {
|
interface FrameSystemError extends Enum {
|
||||||
readonly isInvalidSpecName: boolean;
|
readonly isInvalidSpecName: boolean;
|
||||||
readonly isSpecVersionNeedsToIncrease: boolean;
|
readonly isSpecVersionNeedsToIncrease: boolean;
|
||||||
@@ -4308,13 +4324,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
|
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletUtilityError (379) */
|
/** @name PalletUtilityError (380) */
|
||||||
interface PalletUtilityError extends Enum {
|
interface PalletUtilityError extends Enum {
|
||||||
readonly isTooManyCalls: boolean;
|
readonly isTooManyCalls: boolean;
|
||||||
readonly type: 'TooManyCalls';
|
readonly type: 'TooManyCalls';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusBabeDigestsPreDigest (386) */
|
/** @name SpConsensusBabeDigestsPreDigest (387) */
|
||||||
interface SpConsensusBabeDigestsPreDigest extends Enum {
|
interface SpConsensusBabeDigestsPreDigest extends Enum {
|
||||||
readonly isPrimary: boolean;
|
readonly isPrimary: boolean;
|
||||||
readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest;
|
readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest;
|
||||||
@@ -4325,7 +4341,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF';
|
readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusBabeDigestsPrimaryPreDigest (387) */
|
/** @name SpConsensusBabeDigestsPrimaryPreDigest (388) */
|
||||||
interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct {
|
interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct {
|
||||||
readonly authorityIndex: u32;
|
readonly authorityIndex: u32;
|
||||||
readonly slot: u64;
|
readonly slot: u64;
|
||||||
@@ -4333,13 +4349,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly vrfProof: U8aFixed;
|
readonly vrfProof: U8aFixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (388) */
|
/** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (389) */
|
||||||
interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct {
|
interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct {
|
||||||
readonly authorityIndex: u32;
|
readonly authorityIndex: u32;
|
||||||
readonly slot: u64;
|
readonly slot: u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (389) */
|
/** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (390) */
|
||||||
interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct {
|
interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct {
|
||||||
readonly authorityIndex: u32;
|
readonly authorityIndex: u32;
|
||||||
readonly slot: u64;
|
readonly slot: u64;
|
||||||
@@ -4347,13 +4363,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly vrfProof: U8aFixed;
|
readonly vrfProof: U8aFixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusBabeBabeEpochConfiguration (390) */
|
/** @name SpConsensusBabeBabeEpochConfiguration (391) */
|
||||||
interface SpConsensusBabeBabeEpochConfiguration extends Struct {
|
interface SpConsensusBabeBabeEpochConfiguration extends Struct {
|
||||||
readonly c: ITuple<[u64, u64]>;
|
readonly c: ITuple<[u64, u64]>;
|
||||||
readonly allowedSlots: SpConsensusBabeAllowedSlots;
|
readonly allowedSlots: SpConsensusBabeAllowedSlots;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBabeError (391) */
|
/** @name PalletBabeError (392) */
|
||||||
interface PalletBabeError extends Enum {
|
interface PalletBabeError extends Enum {
|
||||||
readonly isInvalidEquivocationProof: boolean;
|
readonly isInvalidEquivocationProof: boolean;
|
||||||
readonly isInvalidKeyOwnershipProof: boolean;
|
readonly isInvalidKeyOwnershipProof: boolean;
|
||||||
@@ -4362,7 +4378,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InvalidEquivocationProof' | 'InvalidKeyOwnershipProof' | 'DuplicateOffenceReport' | 'InvalidConfiguration';
|
readonly type: 'InvalidEquivocationProof' | 'InvalidKeyOwnershipProof' | 'DuplicateOffenceReport' | 'InvalidConfiguration';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAuthorshipUncleEntryItem (393) */
|
/** @name PalletAuthorshipUncleEntryItem (394) */
|
||||||
interface PalletAuthorshipUncleEntryItem extends Enum {
|
interface PalletAuthorshipUncleEntryItem extends Enum {
|
||||||
readonly isInclusionHeight: boolean;
|
readonly isInclusionHeight: boolean;
|
||||||
readonly asInclusionHeight: u32;
|
readonly asInclusionHeight: u32;
|
||||||
@@ -4371,7 +4387,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InclusionHeight' | 'Uncle';
|
readonly type: 'InclusionHeight' | 'Uncle';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletAuthorshipError (395) */
|
/** @name PalletAuthorshipError (396) */
|
||||||
interface PalletAuthorshipError extends Enum {
|
interface PalletAuthorshipError extends Enum {
|
||||||
readonly isInvalidUncleParent: boolean;
|
readonly isInvalidUncleParent: boolean;
|
||||||
readonly isUnclesAlreadySet: boolean;
|
readonly isUnclesAlreadySet: boolean;
|
||||||
@@ -4383,7 +4399,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
|
readonly type: 'InvalidUncleParent' | 'UnclesAlreadySet' | 'TooManyUncles' | 'GenesisUncle' | 'TooHighUncle' | 'UncleAlreadyIncluded' | 'OldUncle';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletIndicesError (397) */
|
/** @name PalletIndicesError (398) */
|
||||||
interface PalletIndicesError extends Enum {
|
interface PalletIndicesError extends Enum {
|
||||||
readonly isNotAssigned: boolean;
|
readonly isNotAssigned: boolean;
|
||||||
readonly isNotOwner: boolean;
|
readonly isNotOwner: boolean;
|
||||||
@@ -4393,14 +4409,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NotAssigned' | 'NotOwner' | 'InUse' | 'NotTransfer' | 'Permanent';
|
readonly type: 'NotAssigned' | 'NotOwner' | 'InUse' | 'NotTransfer' | 'Permanent';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBalancesBalanceLock (399) */
|
/** @name PalletBalancesBalanceLock (400) */
|
||||||
interface PalletBalancesBalanceLock extends Struct {
|
interface PalletBalancesBalanceLock extends Struct {
|
||||||
readonly id: U8aFixed;
|
readonly id: U8aFixed;
|
||||||
readonly amount: u128;
|
readonly amount: u128;
|
||||||
readonly reasons: PalletBalancesReasons;
|
readonly reasons: PalletBalancesReasons;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBalancesReasons (400) */
|
/** @name PalletBalancesReasons (401) */
|
||||||
interface PalletBalancesReasons extends Enum {
|
interface PalletBalancesReasons extends Enum {
|
||||||
readonly isFee: boolean;
|
readonly isFee: boolean;
|
||||||
readonly isMisc: boolean;
|
readonly isMisc: boolean;
|
||||||
@@ -4408,20 +4424,20 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Fee' | 'Misc' | 'All';
|
readonly type: 'Fee' | 'Misc' | 'All';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBalancesReserveData (403) */
|
/** @name PalletBalancesReserveData (404) */
|
||||||
interface PalletBalancesReserveData extends Struct {
|
interface PalletBalancesReserveData extends Struct {
|
||||||
readonly id: U8aFixed;
|
readonly id: U8aFixed;
|
||||||
readonly amount: u128;
|
readonly amount: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBalancesReleases (405) */
|
/** @name PalletBalancesReleases (406) */
|
||||||
interface PalletBalancesReleases extends Enum {
|
interface PalletBalancesReleases extends Enum {
|
||||||
readonly isV100: boolean;
|
readonly isV100: boolean;
|
||||||
readonly isV200: boolean;
|
readonly isV200: boolean;
|
||||||
readonly type: 'V100' | 'V200';
|
readonly type: 'V100' | 'V200';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBalancesError (406) */
|
/** @name PalletBalancesError (407) */
|
||||||
interface PalletBalancesError extends Enum {
|
interface PalletBalancesError extends Enum {
|
||||||
readonly isVestingBalance: boolean;
|
readonly isVestingBalance: boolean;
|
||||||
readonly isLiquidityRestrictions: boolean;
|
readonly isLiquidityRestrictions: boolean;
|
||||||
@@ -4434,14 +4450,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionPaymentReleases (408) */
|
/** @name PalletTransactionPaymentReleases (409) */
|
||||||
interface PalletTransactionPaymentReleases extends Enum {
|
interface PalletTransactionPaymentReleases extends Enum {
|
||||||
readonly isV1Ancient: boolean;
|
readonly isV1Ancient: boolean;
|
||||||
readonly isV2: boolean;
|
readonly isV2: boolean;
|
||||||
readonly type: 'V1Ancient' | 'V2';
|
readonly type: 'V1Ancient' | 'V2';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionProviderMultiPhasePhase (409) */
|
/** @name PalletElectionProviderMultiPhasePhase (410) */
|
||||||
interface PalletElectionProviderMultiPhasePhase extends Enum {
|
interface PalletElectionProviderMultiPhasePhase extends Enum {
|
||||||
readonly isOff: boolean;
|
readonly isOff: boolean;
|
||||||
readonly isSigned: boolean;
|
readonly isSigned: boolean;
|
||||||
@@ -4451,14 +4467,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Off' | 'Signed' | 'Unsigned' | 'Emergency';
|
readonly type: 'Off' | 'Signed' | 'Unsigned' | 'Emergency';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionProviderMultiPhaseReadySolution (411) */
|
/** @name PalletElectionProviderMultiPhaseReadySolution (412) */
|
||||||
interface PalletElectionProviderMultiPhaseReadySolution extends Struct {
|
interface PalletElectionProviderMultiPhaseReadySolution extends Struct {
|
||||||
readonly supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>;
|
readonly supports: Vec<ITuple<[AccountId32, SpNposElectionsSupport]>>;
|
||||||
readonly score: SpNposElectionsElectionScore;
|
readonly score: SpNposElectionsElectionScore;
|
||||||
readonly compute: PalletElectionProviderMultiPhaseElectionCompute;
|
readonly compute: PalletElectionProviderMultiPhaseElectionCompute;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletElectionProviderMultiPhaseRoundSnapshot (412) */
|
/** @name PalletElectionProviderMultiPhaseRoundSnapshot (413) */
|
||||||
interface PalletElectionProviderMultiPhaseRoundSnapshot extends Struct {
|
interface PalletElectionProviderMultiPhaseRoundSnapshot extends Struct {
|
||||||
readonly voters: Vec<ITuple<[AccountId32, u64, Vec<AccountId32>]>>;
|
readonly voters: Vec<ITuple<[AccountId32, u64, Vec<AccountId32>]>>;
|
||||||
readonly targets: Vec<AccountId32>;
|
readonly targets: Vec<AccountId32>;
|
||||||
@@ -4831,6 +4847,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly initial: Compact<u32>;
|
readonly initial: Compact<u32>;
|
||||||
readonly maximum: Compact<u32>;
|
readonly maximum: Compact<u32>;
|
||||||
readonly code: Bytes;
|
readonly code: Bytes;
|
||||||
|
readonly determinism: PalletContractsWasmDeterminism;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletContractsWasmOwnerInfo (490) */
|
/** @name PalletContractsWasmOwnerInfo (490) */
|
||||||
@@ -4880,6 +4897,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
/** @name PalletContractsScheduleInstructionWeights (497) */
|
/** @name PalletContractsScheduleInstructionWeights (497) */
|
||||||
interface PalletContractsScheduleInstructionWeights extends Struct {
|
interface PalletContractsScheduleInstructionWeights extends Struct {
|
||||||
readonly version: u32;
|
readonly version: u32;
|
||||||
|
readonly fallback: u32;
|
||||||
readonly i64const: u32;
|
readonly i64const: u32;
|
||||||
readonly i64load: u32;
|
readonly i64load: u32;
|
||||||
readonly i64store: u32;
|
readonly i64store: u32;
|
||||||
@@ -5022,7 +5040,8 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isCodeInUse: boolean;
|
readonly isCodeInUse: boolean;
|
||||||
readonly isContractReverted: boolean;
|
readonly isContractReverted: boolean;
|
||||||
readonly isCodeRejected: boolean;
|
readonly isCodeRejected: boolean;
|
||||||
readonly type: 'InvalidScheduleVersion' | 'InvalidCallFlags' | 'OutOfGas' | 'OutputBufferTooSmall' | 'TransferFailed' | 'MaxCallDepthReached' | 'ContractNotFound' | 'CodeTooLarge' | 'CodeNotFound' | 'OutOfBounds' | 'DecodingFailed' | 'ContractTrapped' | 'ValueTooLarge' | 'TerminatedWhileReentrant' | 'InputForwarded' | 'RandomSubjectTooLong' | 'TooManyTopics' | 'DuplicateTopics' | 'NoChainExtension' | 'DeletionQueueFull' | 'DuplicateContract' | 'TerminatedInConstructor' | 'DebugMessageInvalidUTF8' | 'ReentranceDenied' | 'StorageDepositNotEnoughFunds' | 'StorageDepositLimitExhausted' | 'CodeInUse' | 'ContractReverted' | 'CodeRejected';
|
readonly isIndeterministic: boolean;
|
||||||
|
readonly type: 'InvalidScheduleVersion' | 'InvalidCallFlags' | 'OutOfGas' | 'OutputBufferTooSmall' | 'TransferFailed' | 'MaxCallDepthReached' | 'ContractNotFound' | 'CodeTooLarge' | 'CodeNotFound' | 'OutOfBounds' | 'DecodingFailed' | 'ContractTrapped' | 'ValueTooLarge' | 'TerminatedWhileReentrant' | 'InputForwarded' | 'RandomSubjectTooLong' | 'TooManyTopics' | 'DuplicateTopics' | 'NoChainExtension' | 'DeletionQueueFull' | 'DuplicateContract' | 'TerminatedInConstructor' | 'DebugMessageInvalidUTF8' | 'ReentranceDenied' | 'StorageDepositNotEnoughFunds' | 'StorageDepositLimitExhausted' | 'CodeInUse' | 'ContractReverted' | 'CodeRejected' | 'Indeterministic';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSudoError (500) */
|
/** @name PalletSudoError (500) */
|
||||||
@@ -5083,7 +5102,8 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isNotSub: boolean;
|
readonly isNotSub: boolean;
|
||||||
readonly isNotOwned: boolean;
|
readonly isNotOwned: boolean;
|
||||||
readonly isJudgementForDifferentIdentity: boolean;
|
readonly isJudgementForDifferentIdentity: boolean;
|
||||||
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity';
|
readonly isJudgementPaymentFailed: boolean;
|
||||||
|
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletSocietyBid (526) */
|
/** @name PalletSocietyBid (526) */
|
||||||
@@ -5914,7 +5934,9 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isDefensive: boolean;
|
readonly isDefensive: boolean;
|
||||||
readonly asDefensive: PalletNominationPoolsDefensiveError;
|
readonly asDefensive: PalletNominationPoolsDefensiveError;
|
||||||
readonly isPartialUnbondNotAllowedPermissionlessly: boolean;
|
readonly isPartialUnbondNotAllowedPermissionlessly: boolean;
|
||||||
readonly type: 'PoolNotFound' | 'PoolMemberNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'AccountBelongsToOtherPool' | 'FullyUnbonding' | 'MaxUnbondingLimit' | 'CannotWithdrawAny' | 'MinimumBondNotMet' | 'OverflowRisk' | 'NotDestroying' | 'NotNominator' | 'NotKickerOrDestroying' | 'NotOpen' | 'MaxPools' | 'MaxPoolMembers' | 'CanNotChangeState' | 'DoesNotHavePermission' | 'MetadataExceedsMaxLen' | 'Defensive' | 'PartialUnbondNotAllowedPermissionlessly';
|
readonly isPoolIdInUse: boolean;
|
||||||
|
readonly isInvalidPoolId: boolean;
|
||||||
|
readonly type: 'PoolNotFound' | 'PoolMemberNotFound' | 'RewardPoolNotFound' | 'SubPoolsNotFound' | 'AccountBelongsToOtherPool' | 'FullyUnbonding' | 'MaxUnbondingLimit' | 'CannotWithdrawAny' | 'MinimumBondNotMet' | 'OverflowRisk' | 'NotDestroying' | 'NotNominator' | 'NotKickerOrDestroying' | 'NotOpen' | 'MaxPools' | 'MaxPoolMembers' | 'CanNotChangeState' | 'DoesNotHavePermission' | 'MetadataExceedsMaxLen' | 'Defensive' | 'PartialUnbondNotAllowedPermissionlessly' | 'PoolIdInUse' | 'InvalidPoolId';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletNominationPoolsDefensiveError (665) */
|
/** @name PalletNominationPoolsDefensiveError (665) */
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
|
|||||||
|
# @polkadot/types-codec
|
||||||
|
|
||||||
|
Base scale-codec types.
|
||||||
@@ -20,17 +20,17 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"@polkadot/x-bigint": "^10.1.11"
|
"@polkadot/x-bigint": "^10.1.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-augment": "9.6.2",
|
"@polkadot/types-augment": "9.7.1",
|
||||||
"@polkadot/types-support": "9.6.2",
|
"@polkadot/types-support": "9.7.1",
|
||||||
"@polkadot/util-crypto": "^10.1.11"
|
"@polkadot/util-crypto": "^10.1.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import type { Codec, CodecClass, Registry } from '../types';
|
|||||||
import { u8aToHex } from '@polkadot/util';
|
import { u8aToHex } from '@polkadot/util';
|
||||||
|
|
||||||
/** @internal */
|
/** @internal */
|
||||||
function formatFailure (registry: Registry, result: unknown[], { message }: Error, u8a: Uint8Array, i: number, count: number, Type: CodecClass, key?: string): string {
|
function formatFailure (registry: Registry, fn: 'decodeU8a' | 'decodeU8aStruct' | 'decodeU8aVec', result: unknown[], { message }: Error, u8a: Uint8Array, i: number, count: number, Type: CodecClass, key?: string): string {
|
||||||
let type = '';
|
let type = '';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -19,7 +19,7 @@ function formatFailure (registry: Registry, result: unknown[], { message }: Erro
|
|||||||
// but at this point not quite sure how to include and format it (it can be quite massive)
|
// but at this point not quite sure how to include and format it (it can be quite massive)
|
||||||
// console.error(JSON.stringify(result, null, 2));
|
// console.error(JSON.stringify(result, null, 2));
|
||||||
|
|
||||||
return `decodeU8a: failed at ${u8aToHex(u8a.subarray(0, 16))}…${key ? ` on ${key}` : ''} (index ${i + 1}/${count})${type}:: ${message}`;
|
return `${fn}: failed at ${u8aToHex(u8a.subarray(0, 16))}…${key ? ` on ${key}` : ''} (index ${i + 1}/${count})${type}:: ${message}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -46,7 +46,7 @@ export function decodeU8a <T extends Codec = Codec> (registry: Registry, result:
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new Error(formatFailure(registry, result, error as Error, u8a.subarray(offset), i, count, Types[i], keys[i]));
|
throw new Error(formatFailure(registry, 'decodeU8a', result, error as Error, u8a.subarray(offset), i, count, Types[i], keys[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
return [result, offset];
|
return [result, offset];
|
||||||
@@ -72,7 +72,7 @@ export function decodeU8aStruct (registry: Registry, result: [string, Codec][],
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new Error(formatFailure(registry, result, error as Error, u8a.subarray(offset), i, count, Types[i], keys[i]));
|
throw new Error(formatFailure(registry, 'decodeU8aStruct', result, error as Error, u8a.subarray(offset), i, count, Types[i], keys[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
return [result, offset];
|
return [result, offset];
|
||||||
@@ -98,7 +98,7 @@ export function decodeU8aVec <T extends Codec = Codec> (registry: Registry, resu
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new Error(formatFailure(registry, result, error as Error, u8a.subarray(offset), i, count, Type));
|
throw new Error(formatFailure(registry, 'decodeU8aVec', result, error as Error, u8a.subarray(offset), i, count, Type));
|
||||||
}
|
}
|
||||||
|
|
||||||
return [offset, offset - startAt];
|
return [offset, offset - startAt];
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# @polkadot/types-create
|
||||||
|
|
||||||
|
Base type-creation functionality.
|
||||||
@@ -20,14 +20,14 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11"
|
"@polkadot/util": "^10.1.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "9.6.2"
|
"@polkadot/types": "9.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -20,17 +20,17 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/networks": "^10.1.11",
|
"@polkadot/networks": "^10.1.11",
|
||||||
"@polkadot/types": "9.6.2",
|
"@polkadot/types": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/types-create": "9.6.2",
|
"@polkadot/types-create": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11"
|
"@polkadot/util": "^10.1.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "9.6.2"
|
"@polkadot/api": "9.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# @polkadot/types-known
|
# @polkadot/types-support
|
||||||
|
|
||||||
Specific known base type overrides (e.g. `Address`, etc) for chains & specs. This does not contain user-specfic types.
|
Supporting files for type operations, generally used in test environments.
|
||||||
|
|||||||
@@ -20,10 +20,10 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/util": "^10.1.11"
|
"@polkadot/util": "^10.1.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -162,7 +162,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 11,
|
"key": 11,
|
||||||
"value": 365
|
"value": 366
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -183,7 +183,7 @@
|
|||||||
"name": "LastRuntimeUpgrade",
|
"name": "LastRuntimeUpgrade",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 366
|
"plain": 367
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
"name": "ExecutionPhase",
|
"name": "ExecutionPhase",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 363
|
"plain": 364
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -235,7 +235,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "BlockWeights",
|
"name": "BlockWeights",
|
||||||
"type": 368,
|
"type": 369,
|
||||||
"value": "0x07e0d1a93e01000b00204aa9d10113ffffffffffffffff4236931400010b70fae4a82e011366666666666666a6010b0098f73e5d0113ffffffffffffffbf0100004236931400010b70823713a3011366666666666666e6010b00204aa9d10113ffffffffffffffff01070088526a741300000000000000404236931400000000",
|
"value": "0x07e0d1a93e01000b00204aa9d10113ffffffffffffffff4236931400010b70fae4a82e011366666666666666a6010b0098f73e5d0113ffffffffffffffbf0100004236931400010b70823713a3011366666666666666e6010b00204aa9d10113ffffffffffffffff01070088526a741300000000000000404236931400000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Block & extrinsics weights: base values and limits."
|
" Block & extrinsics weights: base values and limits."
|
||||||
@@ -243,7 +243,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "BlockLength",
|
"name": "BlockLength",
|
||||||
"type": 371,
|
"type": 372,
|
||||||
"value": "0x00003c000000500000005000",
|
"value": "0x00003c000000500000005000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The maximum length of a block (in bytes)."
|
" The maximum length of a block (in bytes)."
|
||||||
@@ -259,7 +259,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "DbWeight",
|
"name": "DbWeight",
|
||||||
"type": 373,
|
"type": 374,
|
||||||
"value": "0x40787d010000000000e1f50500000000",
|
"value": "0x40787d010000000000e1f50500000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The weight of runtime database operations the runtime can invoke."
|
" The weight of runtime database operations the runtime can invoke."
|
||||||
@@ -267,7 +267,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Version",
|
"name": "Version",
|
||||||
"type": 374,
|
"type": 375,
|
||||||
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000c010000000000003cdf6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf50300000017a6bc0d0062aeb301000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a801000000f3ff14d5ab5270590100000091d5df18b0d2cf5801000000ab3c0572291feb8b010000000200000001",
|
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000c010000000000003cdf6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf50300000017a6bc0d0062aeb301000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a801000000f3ff14d5ab5270590100000091d5df18b0d2cf5801000000ab3c0572291feb8b010000000200000001",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Get the chain's current version."
|
" Get the chain's current version."
|
||||||
@@ -287,7 +287,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 378
|
"type": 379
|
||||||
},
|
},
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
@@ -311,7 +311,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 379
|
"type": 380
|
||||||
},
|
},
|
||||||
"index": 1
|
"index": 1
|
||||||
},
|
},
|
||||||
@@ -335,7 +335,7 @@
|
|||||||
"name": "Authorities",
|
"name": "Authorities",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 380
|
"plain": 381
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -411,7 +411,7 @@
|
|||||||
"name": "NextAuthorities",
|
"name": "NextAuthorities",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 380
|
"plain": 381
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -446,7 +446,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 383
|
"value": 384
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -458,7 +458,7 @@
|
|||||||
"name": "Initialized",
|
"name": "Initialized",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 385
|
"plain": 386
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -514,7 +514,7 @@
|
|||||||
"name": "EpochConfig",
|
"name": "EpochConfig",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 390
|
"plain": 391
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -526,7 +526,7 @@
|
|||||||
"name": "NextEpochConfig",
|
"name": "NextEpochConfig",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 390
|
"plain": 391
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -573,7 +573,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 391
|
"type": 392
|
||||||
},
|
},
|
||||||
"index": 2
|
"index": 2
|
||||||
},
|
},
|
||||||
@@ -635,7 +635,7 @@
|
|||||||
"name": "Uncles",
|
"name": "Uncles",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 392
|
"plain": 393
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -683,7 +683,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 395
|
"type": 396
|
||||||
},
|
},
|
||||||
"index": 4
|
"index": 4
|
||||||
},
|
},
|
||||||
@@ -701,7 +701,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 4,
|
"key": 4,
|
||||||
"value": 396
|
"value": 397
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -728,7 +728,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 397
|
"type": 398
|
||||||
},
|
},
|
||||||
"index": 5
|
"index": 5
|
||||||
},
|
},
|
||||||
@@ -797,7 +797,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 398
|
"value": 399
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -815,7 +815,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 402
|
"value": 403
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -827,7 +827,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 405
|
"plain": 406
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -872,7 +872,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 406
|
"type": 407
|
||||||
},
|
},
|
||||||
"index": 6
|
"index": 6
|
||||||
},
|
},
|
||||||
@@ -885,7 +885,7 @@
|
|||||||
"name": "NextFeeMultiplier",
|
"name": "NextFeeMultiplier",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 407
|
"plain": 408
|
||||||
},
|
},
|
||||||
"fallback": "0x000064a7b3b6e00d0000000000000000",
|
"fallback": "0x000064a7b3b6e00d0000000000000000",
|
||||||
"docs": []
|
"docs": []
|
||||||
@@ -894,7 +894,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 408
|
"plain": 409
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": []
|
"docs": []
|
||||||
@@ -974,7 +974,7 @@
|
|||||||
"name": "CurrentPhase",
|
"name": "CurrentPhase",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 409
|
"plain": 410
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -985,7 +985,7 @@
|
|||||||
"name": "QueuedSolution",
|
"name": "QueuedSolution",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 411
|
"plain": 412
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -996,7 +996,7 @@
|
|||||||
"name": "Snapshot",
|
"name": "Snapshot",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 412
|
"plain": 413
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -1054,12 +1054,12 @@
|
|||||||
"name": "SignedSubmissionIndices",
|
"name": "SignedSubmissionIndices",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 416
|
"plain": 417
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" A sorted, bounded set of `(score, index)`, where each `index` points to a value in",
|
" A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a",
|
||||||
" `SignedSubmissions`.",
|
" value in `SignedSubmissions`.",
|
||||||
"",
|
"",
|
||||||
" We never need to process more than a single signed submission at a time. Signed submissions",
|
" We never need to process more than a single signed submission at a time. Signed submissions",
|
||||||
" can be quite large, so we're willing to pay the cost of multiple database accesses to access",
|
" can be quite large, so we're willing to pay the cost of multiple database accesses to access",
|
||||||
@@ -1286,7 +1286,7 @@
|
|||||||
},
|
},
|
||||||
"fallback": "0x00000000",
|
"fallback": "0x00000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The ideal number of staking participants."
|
" The ideal number of active validators."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1729,7 +1729,7 @@
|
|||||||
"name": "BondedEras",
|
"name": "BondedEras",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 365
|
"plain": 366
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -2664,7 +2664,7 @@
|
|||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
"name": "PalletId",
|
"name": "PalletId",
|
||||||
"type": 255,
|
"type": 256,
|
||||||
"value": "0x706872656c656374",
|
"value": "0x706872656c656374",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Identifier for the elections-phragmen pallet's lock"
|
" Identifier for the elections-phragmen pallet's lock"
|
||||||
@@ -2969,7 +2969,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ProposalBondMaximum",
|
"name": "ProposalBondMaximum",
|
||||||
"type": 307,
|
"type": 308,
|
||||||
"value": "0x00",
|
"value": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Maximum amount of funds that should be placed in a deposit for making a proposal."
|
" Maximum amount of funds that should be placed in a deposit for making a proposal."
|
||||||
@@ -3148,7 +3148,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Schedule",
|
"name": "Schedule",
|
||||||
"type": 495,
|
"type": 495,
|
||||||
"value": "0x040000000000010000800000001000000000100000000100002000000020000000004000000300000039120000d84f00007a440000d813000007300000941b0000011d0000d12400001e00000000fa0000e73001001b030000df160000c3140000dc1400002d2800002b2a0000431200008aa3ad009a100000ea10000086100000721000007c1000009a100000861000008b1000003b100000f9100000591000009f100000b3100000db100000c7100000a9100000ef100000a9100000d11000009f1000002d2d0000c9220000f12c0000bd2400005d1100005d1100000d1100003f1100009911000067110000bb1200000712000026c1060000000000e5f8a401000000002fc6b001000000006266070000000000c1040300000000009dc006000000000004b40600000000009e0615000000000088b7060000000000eab10600000000000a9a0600000000003ea20600000000005d0a1300000000006dfb0200000000009e62060000000000750000000000000010e41f0000000000b30000000000000018205d2e0000000047351a0000000000dc382e0000000000defa9407000000003603000000000000b40f050000000000fbd7c20700000000322e000000000000002d00000000000045ac880f000000006ff0c00700000000182d00000000000068b8b701000000004c0b0000000000007275bc0100000000a40f000000000000ff3fc50700000000733100000000000049247808000000008c90f11b000000007d0ec51500000000ad3768080000000025db010000000000c851433600000000f5050000000000000306000000000000d1800a0000000000460f0000000000000de60c0000000000d00b000000000000849d080000000000a504000000000000cb8d080000000000a504000000000000fa383602000000003a4c890100000000",
|
"value": "0x040000000000010000800000001000000000100000000100002000000020000000004000000300000000000000ee1000006c4e0000504a000025180000192e0000dd1500000f1b0000c321000028000000ecdb0000dc1101000b040000aa120000a8140000921300009d270000922b0000bd1300008dadd8002b120000071200004e120000b11200003d110000cc1100005e1200002f1600003916000043160000691600004c160000481600004a160000cd160000741600003a160000841500000615000032150000782e0000132d0000283000007a2c0000701600008815000052150000f31600002b160000931600003716000067160000bac50600000000009405a40100000000bbdeae0100000000816607000000000070c502000000000036b0060000000000819c0600000000002985140000000000d0a00600000000006da506000000000002960600000000008498060000000000c00b140000000000fdf6020000000000e1450600000000007500000000000000c39e170000000000df00000000000000fc6c672e0000000002f518000000000094162c0000000000e2c395070000000057030000000000001300050000000000698ac207000000006e2e000000000000d92c00000000000054496310000000005abebe0700000000ee2c0000000000004499b701000000003c0b00000000000015acbc0100000000f40f000000000000d1f2c307000000008f31000000000000e220750800000000a972852100000000576ef21a000000008a3a6c08000000003eda0100000000000842a03b00000000f505000000000000c605000000000000c7100b0000000000730f00000000000097980d0000000000d80b0000000000009108090000000000bc04000000000000a905090000000000bc04000000000000741d35020000000059a8880100000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Cost schedule and limits."
|
" Cost schedule and limits."
|
||||||
]
|
]
|
||||||
@@ -3237,7 +3237,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 234
|
"type": 235
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 64
|
"type": 64
|
||||||
@@ -3326,7 +3326,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 235
|
"type": 236
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 66
|
"type": 66
|
||||||
@@ -3416,7 +3416,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 512,
|
"key": 512,
|
||||||
"value": 364
|
"value": 365
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3524,7 +3524,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 280
|
"value": 281
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -3571,7 +3571,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 243
|
"type": 244
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 77
|
"type": 77
|
||||||
@@ -3863,7 +3863,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 284
|
"type": 285
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 78
|
"type": 78
|
||||||
@@ -4014,7 +4014,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 286
|
"type": 287
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 80
|
"type": 80
|
||||||
@@ -4114,7 +4114,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 287
|
"type": 288
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 81
|
"type": 81
|
||||||
@@ -4194,7 +4194,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 289
|
"type": 290
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 82
|
"type": 82
|
||||||
@@ -4262,7 +4262,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 291
|
"type": 292
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 85
|
"type": 85
|
||||||
@@ -4316,7 +4316,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 292
|
"type": 293
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 86
|
"type": 86
|
||||||
@@ -4415,7 +4415,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 294
|
"type": 295
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 89
|
"type": 89
|
||||||
@@ -4446,8 +4446,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "MaxSignatories",
|
"name": "MaxSignatories",
|
||||||
"type": 88,
|
"type": 4,
|
||||||
"value": "0x6400",
|
"value": "0x64000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The maximum amount of signatories allowed in the multisig."
|
" The maximum amount of signatories allowed in the multisig."
|
||||||
]
|
]
|
||||||
@@ -4522,7 +4522,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 296
|
"type": 297
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 91
|
"type": 91
|
||||||
@@ -4565,7 +4565,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "CuratorDepositMax",
|
"name": "CuratorDepositMax",
|
||||||
"type": 307,
|
"type": 308,
|
||||||
"value": "0x010000c16ff28623000000000000000000",
|
"value": "0x010000c16ff28623000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Maximum amount of funds that should be placed in a deposit for making a proposal."
|
" Maximum amount of funds that should be placed in a deposit for making a proposal."
|
||||||
@@ -4573,7 +4573,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "CuratorDepositMin",
|
"name": "CuratorDepositMin",
|
||||||
"type": 307,
|
"type": 308,
|
||||||
"value": "0x0100407a10f35a00000000000000000000",
|
"value": "0x0100407a10f35a00000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Minimum amount of funds that should be placed in a deposit for making a proposal."
|
" Minimum amount of funds that should be placed in a deposit for making a proposal."
|
||||||
@@ -4656,7 +4656,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 297
|
"type": 298
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 92
|
"type": 92
|
||||||
@@ -4791,7 +4791,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 298
|
"type": 299
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 93
|
"type": 93
|
||||||
@@ -4996,7 +4996,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 300
|
"type": 301
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 94
|
"type": 94
|
||||||
@@ -5102,7 +5102,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 301
|
"type": 302
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 96
|
"type": 96
|
||||||
@@ -5373,7 +5373,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 304
|
"type": 305
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 97
|
"type": 97
|
||||||
@@ -5546,7 +5546,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 308
|
"type": 309
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 102
|
"type": 102
|
||||||
@@ -5614,7 +5614,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 310
|
"type": 311
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 103
|
"type": 103
|
||||||
@@ -5685,7 +5685,7 @@
|
|||||||
"name": "MigrationProcess",
|
"name": "MigrationProcess",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 314
|
"plain": 315
|
||||||
},
|
},
|
||||||
"fallback": "0x0000000000000000000000000000",
|
"fallback": "0x0000000000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5699,7 +5699,7 @@
|
|||||||
"name": "AutoLimits",
|
"name": "AutoLimits",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 312
|
"plain": 313
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5712,7 +5712,7 @@
|
|||||||
"name": "SignedMigrationMaxLimits",
|
"name": "SignedMigrationMaxLimits",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 313
|
"plain": 314
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5724,7 +5724,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 311
|
"type": 312
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 104
|
"type": 104
|
||||||
@@ -5853,7 +5853,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 317
|
"type": 318
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 107
|
"type": 107
|
||||||
@@ -5954,7 +5954,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 318
|
"type": 319
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 108
|
"type": 108
|
||||||
@@ -6013,10 +6013,10 @@
|
|||||||
"name": "Remark",
|
"name": "Remark",
|
||||||
"storage": null,
|
"storage": null,
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 320
|
"type": 321
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 348
|
"type": 349
|
||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -6070,10 +6070,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 321
|
"type": 322
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 349
|
"type": 350
|
||||||
},
|
},
|
||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
@@ -6083,8 +6083,8 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The maximum number of concurrent votes an account may have.",
|
" The maximum number of concurrent votes an account may have.",
|
||||||
"",
|
"",
|
||||||
" Also used to compute weight, an overly large value can",
|
" Also used to compute weight, an overly large value can lead to extrinsics with large",
|
||||||
" lead to extrinsic with large weight estimation: see `delegate` for instance."
|
" weight estimation: see `delegate` for instance."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -6127,10 +6127,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 326
|
"type": 327
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 350
|
"type": 351
|
||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -6224,10 +6224,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 327
|
"type": 328
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 355
|
"type": 356
|
||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -6244,7 +6244,7 @@
|
|||||||
"name": "Rule",
|
"name": "Rule",
|
||||||
"modifier": "Optional",
|
"modifier": "Optional",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 330
|
"plain": 331
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -6343,10 +6343,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 328
|
"type": 329
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 356
|
"type": 357
|
||||||
},
|
},
|
||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
@@ -6652,10 +6652,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 337
|
"type": 338
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 357
|
"type": 358
|
||||||
},
|
},
|
||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
@@ -6764,10 +6764,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 343
|
"type": 344
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 358
|
"type": 359
|
||||||
},
|
},
|
||||||
"constants": [
|
"constants": [
|
||||||
{
|
{
|
||||||
@@ -6906,7 +6906,7 @@
|
|||||||
"Twox64Concat"
|
"Twox64Concat"
|
||||||
],
|
],
|
||||||
"key": 430,
|
"key": 430,
|
||||||
"value": 361
|
"value": 362
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -6932,10 +6932,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 344
|
"type": 345
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 360
|
"type": 361
|
||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -7008,10 +7008,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 345
|
"type": 346
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 362
|
"type": 363
|
||||||
},
|
},
|
||||||
"constants": [],
|
"constants": [],
|
||||||
"errors": {
|
"errors": {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
@@ -20,20 +20,20 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.6.2",
|
"version": "9.7.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.20.1",
|
||||||
"@polkadot/keyring": "^10.1.11",
|
"@polkadot/keyring": "^10.1.11",
|
||||||
"@polkadot/types-augment": "9.6.2",
|
"@polkadot/types-augment": "9.7.1",
|
||||||
"@polkadot/types-codec": "9.6.2",
|
"@polkadot/types-codec": "9.7.1",
|
||||||
"@polkadot/types-create": "9.6.2",
|
"@polkadot/types-create": "9.7.1",
|
||||||
"@polkadot/util": "^10.1.11",
|
"@polkadot/util": "^10.1.11",
|
||||||
"@polkadot/util-crypto": "^10.1.11",
|
"@polkadot/util-crypto": "^10.1.11",
|
||||||
"rxjs": "^7.5.7"
|
"rxjs": "^7.5.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^10.1.11",
|
"@polkadot/keyring": "^10.1.11",
|
||||||
"@polkadot/types-support": "9.6.2"
|
"@polkadot/types-support": "9.7.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.6.2' };
|
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.7.1' };
|
||||||
|
|||||||
Reference in New Issue
Block a user