Compare commits

..
8 Commits
Author SHA1 Message Date
github-actions[bot] da289238b0 [CI Skip] release/stable 10.12.2
skip-checks: true
2024-03-11 13:05:36 +00:00
Tarik Gul 8289e181cc 10.12.2 (#5814) 2024-03-11 14:58:13 +02:00
github-actions[bot] d06860861c [CI Skip] bump/beta 10.12.2-2-x
skip-checks: true
2024-03-07 13:42:56 +00:00
Tarik GulandAlberto Nicolas Penayo 1797d6b42c Update docs in types-support for retrieving metadata for typegen (#5809)
* Update docs in types-support for retrieving metadata for typegen

* nit

* copy notes

* Update packages/types-support/src/metadata/README.md

Co-authored-by: Alberto Nicolas Penayo <74352651+bee344@users.noreply.github.com>

* Update packages/types-support/src/metadata/README.md

Co-authored-by: Alberto Nicolas Penayo <74352651+bee344@users.noreply.github.com>

---------

Co-authored-by: Alberto Nicolas Penayo <74352651+bee344@users.noreply.github.com>
2024-03-07 15:35:46 +02:00
github-actions[bot] 6a9a53c48c [CI Skip] bump/beta 10.12.2-1-x
skip-checks: true
2024-03-06 18:24:57 +00:00
Tarik Gul d680b3dd39 Bump to latest Substrate metadata (#5807)
* Bump to latest substrate metadata

* Bump to latest Substrate metadata

* Update type-support docs for metadata

* Update docs again

* fix compat issues

* adjust types
2024-03-06 20:17:23 +02:00
github-actions[bot] 3b479879ca [CI Skip] bump/beta 10.12.2-0-x
skip-checks: true
2024-03-04 17:04:54 +00:00
Ermal Kaleci ea2c942ece fix cache key (rpc-provider) (#5745) 2024-03-04 11:57:45 -05:00
61 changed files with 10469 additions and 6999 deletions
+11
View File
@@ -1,5 +1,16 @@
# CHANGELOG
## 10.12.2 Mar 11, 2024
Contributed:
- fix cache key (rpc-provider) (Thanks to https://github.com/ermalkaleci)
Changes:
- Update to latest Substrate metadata
## 10.12.1 Mar 4, 2024
Contributed:
+2 -1
View File
@@ -8,7 +8,7 @@
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
11 Ian He HttpProvider support clone() (#3949)
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
7 Tarik Gul 10.12.1 (#5804)
10 Tarik Gul 10.12.2 (#5814)
6 Andreea Eftene Update check for contract instantiation (#5699)
5 Chevdor Fix metadata package link (#3458)
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
@@ -70,6 +70,7 @@
1 djuanito.eth Update fees to current constants (#2320)
1 Drew Stone Update evm definitions to include vicinity (#2279)
1 Dylan Galea Updated users of the polkadot-js/api (#2027)
1 Ermal Kaleci fix cache key (rpc-provider) (#5745)
1 flex Change BeefySignedCommitment signatures type to EcdsaSignature (#4204)
1 Florian Franzen metadataMd: use endpoint for rpc and runtime details too (#5628)
1 Furqan A fix: fixed 404 to the docs from the api readme (#3985)
+3 -3
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"versions": {
"git": "10.12.1",
"npm": "10.12.1"
"git": "10.12.2",
"npm": "10.12.2"
},
"workspaces": [
"packages/*"
+6 -6
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "10.12.1",
"@polkadot/rpc-augment": "10.12.1",
"@polkadot/types": "10.12.1",
"@polkadot/types-augment": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/api-base": "10.12.2",
"@polkadot/rpc-augment": "10.12.2",
"@polkadot/types": "10.12.2",
"@polkadot/types-augment": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.12.2' };
+51 -19
View File
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec, ITuple } from '@polkadot/types-codec/types';
import type { Perbill, Percent, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsEnvironment, PalletContractsSchedule, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { FrameSupportPalletId, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsEnvironment, PalletContractsSchedule, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -52,10 +52,6 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec;
};
assetConversion: {
/**
* A setting to allow creating pools with both non-native assets.
**/
allowMultiAssetPools: bool & AugmentedConst<ApiType>;
/**
* A fee to withdraw the liquidity.
**/
@@ -80,6 +76,10 @@ declare module '@polkadot/api-base/types/consts' {
* A one-time fee to setup the pool.
**/
poolSetupFee: u128 & AugmentedConst<ApiType>;
/**
* Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
**/
poolSetupFeeAsset: FrameSupportTokensFungibleUnionOfNativeOrWithId & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -167,10 +167,6 @@ declare module '@polkadot/api-base/types/consts' {
* The maximum number of individual freeze locks that can exist on an account at any time.
**/
maxFreezes: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of holds that can exist on an account at any time.
**/
maxHolds: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of locks that should exist on an account.
* Not strictly enforced, but used for weight estimation.
@@ -185,6 +181,29 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
beefy: {
/**
* The maximum number of authorities that can be added.
**/
maxAuthorities: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of nominators for each validator.
**/
maxNominators: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of entries to keep in the set id to session index mapping.
*
* Since the `SetIdSession` map is only used for validating equivocations this
* value should relate to the bonding duration of whatever staking system is
* being used (if any). If equivocation handling is not enabled then this value
* can be zero.
**/
maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
bounties: {
/**
* The amount held on deposit for placing a bounty proposal.
@@ -269,9 +288,15 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec;
};
contracts: {
/**
* The version of the HostFn APIs that are available in the runtime.
*
* Only valid value is `()`.
**/
apiVersion: u16 & AugmentedConst<ApiType>;
/**
* The percentage of the storage deposit that should be held for using a code hash.
* Instantiating a contract, or calling [`chain_extension::Ext::add_delegate_dependency`]
* Instantiating a contract, or calling [`chain_extension::Ext::lock_delegate_dependency`]
* protects the code from being removed. In order to prevent abuse these actions are
* protected with a percentage of the code deposit.
**/
@@ -317,7 +342,7 @@ declare module '@polkadot/api-base/types/consts' {
maxDebugBufferLen: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of delegate_dependencies that a contract can lock with
* [`chain_extension::Ext::add_delegate_dependency`].
* [`chain_extension::Ext::lock_delegate_dependency`].
**/
maxDelegateDependencies: u32 & AugmentedConst<ApiType>;
/**
@@ -457,11 +482,6 @@ declare module '@polkadot/api-base/types/consts' {
* "better" in the Signed phase.
**/
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better" in the Unsigned phase.
**/
betterUnsignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The maximum number of winners that can be elected by this `ElectionProvider`
* implementation.
@@ -631,7 +651,7 @@ declare module '@polkadot/api-base/types/consts' {
};
identity: {
/**
* The amount held on deposit for a registered identity
* The amount held on deposit for a registered identity.
**/
basicDeposit: u128 & AugmentedConst<ApiType>;
/**
@@ -647,6 +667,18 @@ declare module '@polkadot/api-base/types/consts' {
* The maximum number of sub-accounts allowed per identified account.
**/
maxSubAccounts: u32 & AugmentedConst<ApiType>;
/**
* The maximum length of a suffix.
**/
maxSuffixLength: u32 & AugmentedConst<ApiType>;
/**
* The maximum length of a username, including its suffix and any system-added delimiters.
**/
maxUsernameLength: u32 & AugmentedConst<ApiType>;
/**
* The number of blocks within which a username grant must be accepted.
**/
pendingUsernameExpiration: u32 & AugmentedConst<ApiType>;
/**
* The amount held on deposit for a registered subaccount. This should account for the fact
* that one storage item's value will increase by the size of an account ID, and there will
@@ -1418,7 +1450,7 @@ declare module '@polkadot/api-base/types/consts' {
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
*
* For more info see
* <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
**/
maxKeyLen: u32 & AugmentedConst<ApiType>;
/**
@@ -1509,7 +1541,7 @@ declare module '@polkadot/api-base/types/consts' {
**/
tipFindersFee: Percent & AugmentedConst<ApiType>;
/**
* The amount held on deposit for placing a tip report.
* The non-zero amount held on deposit for placing a tip report.
**/
tipReportDepositBase: u128 & AugmentedConst<ApiType>;
/**
+94 -34
View File
@@ -196,27 +196,21 @@ declare module '@polkadot/api-base/types/errors' {
**/
AssetTwoWithdrawalDidNotMeetMinimum: AugmentedError<ApiType>;
/**
* Unable to find an element in an array/vec that should have one-to-one correspondence
* with another. For example, an array of assets constituting a `path` should have a
* corresponding array of `amounts` along the path.
* The destination account cannot exist with the swapped funds.
**/
CorrespondenceError: AugmentedError<ApiType>;
/**
* Provided assets are equal.
**/
EqualAssets: AugmentedError<ApiType>;
BelowMinimum: AugmentedError<ApiType>;
/**
* It was not possible to get or increment the Id of the pool.
**/
IncorrectPoolAssetId: AugmentedError<ApiType>;
/**
* Insufficient liquidity in the pool.
**/
InsufficientLiquidity: AugmentedError<ApiType>;
/**
* Insufficient liquidity minted.
**/
InsufficientLiquidityMinted: AugmentedError<ApiType>;
/**
* Provided asset pair is not supported for pool.
**/
InvalidAssetPair: AugmentedError<ApiType>;
/**
* The provided path must consists of 2 assets at least.
**/
@@ -233,18 +227,10 @@ declare module '@polkadot/api-base/types/errors' {
* An overflow happened.
**/
Overflow: AugmentedError<ApiType>;
/**
* It was not possible to calculate path data.
**/
PathError: AugmentedError<ApiType>;
/**
* Pool already exists.
**/
PoolExists: AugmentedError<ApiType>;
/**
* Only pools with native on one side are valid.
**/
PoolMustContainNativeCurrency: AugmentedError<ApiType>;
/**
* The pool doesn't exist.
**/
@@ -262,10 +248,6 @@ declare module '@polkadot/api-base/types/errors' {
* minimal amount.
**/
ReserveLeftLessThanMinimal: AugmentedError<ApiType>;
/**
* Provided asset is not supported for pool.
**/
UnsupportedAsset: AugmentedError<ApiType>;
/**
* Desired amount can't be zero.
**/
@@ -288,6 +270,10 @@ declare module '@polkadot/api-base/types/errors' {
* The given asset ID already has an assigned conversion rate and cannot be re-created.
**/
AlreadyExists: AugmentedError<ApiType>;
/**
* Overflow ocurred when calculating the inverse rate.
**/
Overflow: AugmentedError<ApiType>;
/**
* The given asset ID is unknown.
**/
@@ -413,6 +399,10 @@ declare module '@polkadot/api-base/types/errors' {
* Beneficiary account must pre-exist.
**/
DeadAccount: AugmentedError<ApiType>;
/**
* The delta cannot be zero.
**/
DeltaZero: AugmentedError<ApiType>;
/**
* Value too low to create account due to existential deposit.
**/
@@ -429,6 +419,10 @@ declare module '@polkadot/api-base/types/errors' {
* Balance too low to send value.
**/
InsufficientBalance: AugmentedError<ApiType>;
/**
* The issuance cannot be modified since it is already deactivated.
**/
IssuanceDeactivated: AugmentedError<ApiType>;
/**
* Account liquidity restrictions prevent withdrawal.
**/
@@ -438,7 +432,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
TooManyFreezes: AugmentedError<ApiType>;
/**
* Number of holds exceed `MaxHolds`.
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
**/
TooManyHolds: AugmentedError<ApiType>;
/**
@@ -454,6 +448,28 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
beefy: {
/**
* A given equivocation report is valid but already previously reported.
**/
DuplicateOffenceReport: AugmentedError<ApiType>;
/**
* Submitted configuration is invalid.
**/
InvalidConfiguration: AugmentedError<ApiType>;
/**
* An equivocation proof provided as part of an equivocation report is invalid.
**/
InvalidEquivocationProof: AugmentedError<ApiType>;
/**
* A key ownership proof provided as part of an equivocation report is invalid.
**/
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
bounties: {
/**
* The bounty cannot be closed because it has active child bounties.
@@ -818,7 +834,7 @@ declare module '@polkadot/api-base/types/errors' {
AlreadyDelegating: AugmentedError<ApiType>;
/**
* The account currently has votes attached to it and the operation cannot succeed until
* these are removed, either through `unvote` or `reap_vote`.
* these are removed through `remove_vote`.
**/
AlreadyVoting: AugmentedError<ApiType>;
/**
@@ -1088,6 +1104,10 @@ declare module '@polkadot/api-base/types/errors' {
* OCW submitted solution for wrong round
**/
OcwCallWrongEra: AugmentedError<ApiType>;
/**
* Sumission was prepared for a different round.
**/
PreDispatchDifferentRound: AugmentedError<ApiType>;
/**
* Submission was too early.
**/
@@ -1304,10 +1324,22 @@ declare module '@polkadot/api-base/types/errors' {
* Invalid judgement.
**/
InvalidJudgement: AugmentedError<ApiType>;
/**
* The signature on a username was not valid.
**/
InvalidSignature: AugmentedError<ApiType>;
/**
* The provided suffix is too long.
**/
InvalidSuffix: AugmentedError<ApiType>;
/**
* The target is invalid.
**/
InvalidTarget: AugmentedError<ApiType>;
/**
* The username does not meet the requirements.
**/
InvalidUsername: AugmentedError<ApiType>;
/**
* The provided judgement was for a different identity.
**/
@@ -1320,10 +1352,18 @@ declare module '@polkadot/api-base/types/errors' {
* Error that occurs when there is an issue paying for judgement.
**/
JudgementPaymentFailed: AugmentedError<ApiType>;
/**
* The authority cannot allocate any more usernames.
**/
NoAllocation: AugmentedError<ApiType>;
/**
* No identity found.
**/
NoIdentity: AugmentedError<ApiType>;
/**
* The username cannot be forcefully removed because it can still be accepted.
**/
NotExpired: AugmentedError<ApiType>;
/**
* Account isn't found.
**/
@@ -1340,6 +1380,18 @@ declare module '@polkadot/api-base/types/errors' {
* Sender is not a sub-account.
**/
NotSub: AugmentedError<ApiType>;
/**
* The sender does not have permission to issue a username.
**/
NotUsernameAuthority: AugmentedError<ApiType>;
/**
* The requested username does not exist.
**/
NoUsername: AugmentedError<ApiType>;
/**
* Setting this username requires a signature, but none was provided.
**/
RequiresSignature: AugmentedError<ApiType>;
/**
* Sticky judgement.
**/
@@ -1352,6 +1404,10 @@ declare module '@polkadot/api-base/types/errors' {
* Too many subs-accounts.
**/
TooManySubAccounts: AugmentedError<ApiType>;
/**
* The username is already taken.
**/
UsernameTaken: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -2160,6 +2216,10 @@ declare module '@polkadot/api-base/types/errors' {
* The member's rank is too low to vote.
**/
RankTooLow: AugmentedError<ApiType>;
/**
* The new member to exchange is the same as the old member
**/
SameMember: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -2813,10 +2873,6 @@ declare module '@polkadot/api-base/types/errors' {
* The origin filter prevent the call to be dispatched.
**/
CallFiltered: AugmentedError<ApiType>;
/**
* The specified [`Task`] failed during execution.
**/
FailedTask: AugmentedError<ApiType>;
/**
* Failed to extract the runtime version from the new runtime.
*
@@ -2828,10 +2884,6 @@ declare module '@polkadot/api-base/types/errors' {
* and the new runtime.
**/
InvalidSpecName: AugmentedError<ApiType>;
/**
* The specified [`Task`] is not valid.
**/
InvalidTask: AugmentedError<ApiType>;
/**
* Suicide called when the account has non-default composite data.
**/
@@ -2840,11 +2892,19 @@ declare module '@polkadot/api-base/types/errors' {
* There is a non-zero reference count preventing the account from being purged.
**/
NonZeroRefCount: AugmentedError<ApiType>;
/**
* No upgrade authorized.
**/
NothingAuthorized: AugmentedError<ApiType>;
/**
* The specification version is not allowed to decrease between the current runtime
* and the new runtime.
**/
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
/**
* The submitted code is not authorized.
**/
Unauthorized: AugmentedError<ApiType>;
/**
* Generic error
**/
+81 -19
View File
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeTask, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -113,24 +113,24 @@ declare module '@polkadot/api-base/types/events' {
/**
* A successful call of the `AddLiquidity` extrinsic will create this event.
**/
LiquidityAdded: AugmentedEvent<ApiType, [who: AccountId32, mintTo: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, amount1Provided: u128, amount2Provided: u128, lpToken: u32, lpTokenMinted: u128], { who: AccountId32, mintTo: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, amount1Provided: u128, amount2Provided: u128, lpToken: u32, lpTokenMinted: u128 }>;
LiquidityAdded: AugmentedEvent<ApiType, [who: AccountId32, mintTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1Provided: u128, amount2Provided: u128, lpToken: u32, lpTokenMinted: u128], { who: AccountId32, mintTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1Provided: u128, amount2Provided: u128, lpToken: u32, lpTokenMinted: u128 }>;
/**
* A successful call of the `RemoveLiquidity` extrinsic will create this event.
**/
LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill], { who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill }>;
LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill], { who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill }>;
/**
* A successful call of the `CretaPool` extrinsic will create this event.
**/
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, poolAccount: AccountId32, lpToken: u32], { creator: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, poolAccount: AccountId32, lpToken: u32 }>;
PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, poolAccount: AccountId32, lpToken: u32], { creator: AccountId32, poolId: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>, poolAccount: AccountId32, lpToken: u32 }>;
/**
* Assets have been converted from one to another.
**/
SwapCreditExecuted: AugmentedEvent<ApiType, [amountIn: u128, amountOut: u128, path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>>], { amountIn: u128, amountOut: u128, path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>> }>;
/**
* Assets have been converted from one to another. Both `SwapExactTokenForToken`
* and `SwapTokenForExactToken` will generate this event.
**/
SwapExecuted: AugmentedEvent<ApiType, [who: AccountId32, sendTo: AccountId32, path: Vec<PalletAssetConversionNativeOrAssetId>, amountIn: u128, amountOut: u128], { who: AccountId32, sendTo: AccountId32, path: Vec<PalletAssetConversionNativeOrAssetId>, amountIn: u128, amountOut: u128 }>;
/**
* An amount has been transferred from one account to another.
**/
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, asset: PalletAssetConversionNativeOrAssetId, amount: u128], { from: AccountId32, to: AccountId32, asset: PalletAssetConversionNativeOrAssetId, amount: u128 }>;
SwapExecuted: AugmentedEvent<ApiType, [who: AccountId32, sendTo: AccountId32, amountIn: u128, amountOut: u128, path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>>], { who: AccountId32, sendTo: AccountId32, amountIn: u128, amountOut: u128, path: Vec<ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, u128]>> }>;
/**
* Generic event
**/
@@ -341,6 +341,10 @@ declare module '@polkadot/api-base/types/events' {
* Some balance was thawed.
**/
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* The `TotalIssuance` was forcefully changed.
**/
TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], { old: u128, new_: u128 }>;
/**
* Transfer succeeded.
**/
@@ -677,6 +681,10 @@ declare module '@polkadot/api-base/types/events' {
* Member has stated evidence of their efforts their request for rank.
**/
Requested: AugmentedEvent<ApiType, [who: AccountId32, wish: PalletCoreFellowshipWish], { who: AccountId32, wish: PalletCoreFellowshipWish }>;
/**
* A member had its AccountId swapped.
**/
Swapped: AugmentedEvent<ApiType, [who: AccountId32, newWho: AccountId32], { who: AccountId32, newWho: AccountId32 }>;
/**
* Generic event
**/
@@ -939,6 +947,19 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
identity: {
/**
* A username authority was added.
**/
AuthorityAdded: AugmentedEvent<ApiType, [authority: AccountId32], { authority: AccountId32 }>;
/**
* A username authority was removed.
**/
AuthorityRemoved: AugmentedEvent<ApiType, [authority: AccountId32], { authority: AccountId32 }>;
/**
* A dangling username (as in, a username corresponding to an account that has removed its
* identity) has been removed.
**/
DanglingUsernameRemoved: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
/**
* A name was cleared, and the given balance returned.
**/
@@ -963,6 +984,14 @@ declare module '@polkadot/api-base/types/events' {
* A judgement request was retracted.
**/
JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
/**
* A queued username passed its expiration without being claimed and was removed.
**/
PreapprovalExpired: AugmentedEvent<ApiType, [whose: AccountId32], { whose: AccountId32 }>;
/**
* A username was set as a primary and can be looked up from `who`.
**/
PrimaryUsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
/**
* A registrar was added.
**/
@@ -980,6 +1009,14 @@ declare module '@polkadot/api-base/types/events' {
* main identity account to the sub-identity account.
**/
SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
/**
* A username was queued, but `who` must accept it prior to `expiration`.
**/
UsernameQueued: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes, expiration: u32], { who: AccountId32, username: Bytes, expiration: u32 }>;
/**
* A username was set for `who`.
**/
UsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
/**
* Generic event
**/
@@ -1404,6 +1441,18 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
parameters: {
/**
* A Parameter was set.
*
* Is also emitted when the value was not changed.
**/
Updated: AugmentedEvent<ApiType, [key: KitchensinkRuntimeRuntimeParametersKey, oldValue: Option<KitchensinkRuntimeRuntimeParametersValue>, newValue: Option<KitchensinkRuntimeRuntimeParametersValue>], { key: KitchensinkRuntimeRuntimeParametersKey, oldValue: Option<KitchensinkRuntimeRuntimeParametersValue>, newValue: Option<KitchensinkRuntimeRuntimeParametersValue> }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
poolAssets: {
/**
* Accounts were destroyed for given asset.
@@ -1564,6 +1613,10 @@ declare module '@polkadot/api-base/types/events' {
* A member `who` has been added.
**/
MemberAdded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
/**
* The member `who` had their `AccountId` changed to `new_who`.
**/
MemberExchanged: AugmentedEvent<ApiType, [who: AccountId32, newWho: AccountId32], { who: AccountId32, newWho: AccountId32 }>;
/**
* The member `who` of given `rank` has been removed from the collective.
**/
@@ -1819,6 +1872,10 @@ declare module '@polkadot/api-base/types/events' {
* A member registered for a payout.
**/
Registered: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* A member swapped their account.
**/
Swapped: AugmentedEvent<ApiType, [who: AccountId32, newWho: AccountId32], { who: AccountId32, newWho: AccountId32 }>;
/**
* Generic event
**/
@@ -1845,6 +1902,19 @@ declare module '@polkadot/api-base/types/events' {
* The given task can never be executed since it is overweight.
**/
PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
/**
* Cancel a retry configuration for some task.
**/
RetryCancelled: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
/**
* The given task was unable to be retried since the agenda is full at that block or there
* was not enough weight to reschedule it.
**/
RetryFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>;
/**
* Set a retry configuration for some task.
**/
RetrySet: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, period: u32, retries: u8], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, period: u32, retries: u8 }>;
/**
* Scheduled some task.
**/
@@ -2114,17 +2184,9 @@ declare module '@polkadot/api-base/types/events' {
**/
Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
/**
* A [`Task`] has finished executing.
* An upgrade was authorized.
**/
TaskCompleted: AugmentedEvent<ApiType, [task: KitchensinkRuntimeRuntimeTask], { task: KitchensinkRuntimeRuntimeTask }>;
/**
* A [`Task`] failed during execution.
**/
TaskFailed: AugmentedEvent<ApiType, [task: KitchensinkRuntimeRuntimeTask, err: SpRuntimeDispatchError], { task: KitchensinkRuntimeRuntimeTask, err: SpRuntimeDispatchError }>;
/**
* A [`Task`] has started executing
**/
TaskStarted: AugmentedEvent<ApiType, [task: KitchensinkRuntimeRuntimeTask], { task: KitchensinkRuntimeRuntimeTask }>;
UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256, checkVersion: bool }>;
/**
* Generic event
**/
+128 -8
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionNativeOrAssetId, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerAllowedRenewalId, PalletBrokerAllowedRenewalRecord, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerPoolIoRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerAllowedRenewalId, PalletBrokerAllowedRenewalRecord, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerPoolIoRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -95,7 +95,7 @@ declare module '@polkadot/api-base/types/storage' {
* Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
* created rather than people sending tokens directly to a pool's public account.
**/
pools: AugmentedQuery<ApiType, (arg: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]> | [PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array, PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array]) => Observable<Option<PalletAssetConversionPoolInfo>>, [ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>]>;
pools: AugmentedQuery<ApiType, (arg: ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]> | [FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array]) => Observable<Option<PalletAssetConversionPoolInfo>>, [ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>]> & QueryableStorageEntry<ApiType, [ITuple<[FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>]>;
/**
* Generic query
**/
@@ -332,6 +332,43 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
beefy: {
/**
* The current authorities set
**/
authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Block number where BEEFY consensus is enabled/started.
* By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively
* restarted from the newly set block number.
**/
genesisBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Authorities set scheduled to be used with the next session
**/
nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A mapping from BEEFY set ID to the index of the *most recent* session for which its
* members were responsible.
*
* This is only used for validating equivocation proofs. An equivocation proof must
* contains a key-ownership proof for a given session, therefore we need a way to tie
* together sessions and BEEFY set ids, i.e. we need to validate that a validator
* was the owner of a given key on a given session, and what the active set ID was
* during that session.
*
* TWOX-NOTE: `ValidatorSetId` is not under user control.
**/
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
/**
* The current validator set id
**/
validatorSetId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
bounties: {
/**
* Bounties that have been made.
@@ -363,6 +400,10 @@ declare module '@polkadot/api-base/types/storage' {
* The current configuration of this pallet.
**/
configuration: AugmentedQuery<ApiType, () => Observable<Option<PalletBrokerConfigRecord>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Received core count change from the relay chain.
**/
coreCountInbox: AugmentedQuery<ApiType, () => Observable<Option<u16>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Record of a single contribution to the Instantaneous Coretime Pool.
**/
@@ -643,6 +684,7 @@ declare module '@polkadot/api-base/types/storage' {
* Desired number of targets to elect for this round.
*
* Only exists when [`Snapshot`] is present.
* Note: This storage type must only be mutated through [`SnapshotWrapper`].
**/
desiredTargets: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
@@ -702,12 +744,14 @@ declare module '@polkadot/api-base/types/storage' {
* Snapshot data of the round.
*
* This is created at the beginning of the signed phase and cleared upon calling `elect`.
* Note: This storage type must only be mutated through [`SnapshotWrapper`].
**/
snapshot: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseRoundSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The metadata of the [`RoundSnapshot`]
*
* Only exists when [`Snapshot`] is present.
* Note: This storage type must only be mutated through [`SnapshotWrapper`].
**/
snapshotMetadata: AugmentedQuery<ApiType, () => Observable<Option<PalletElectionProviderMultiPhaseSolutionOrSnapshotSize>>, []> & QueryableStorageEntry<ApiType, []>;
/**
@@ -865,13 +909,45 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
historical: {
/**
* Mapping from historical session indices to session-data root hash and validator count.
**/
historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The range of historical sessions we store. [first, last)
**/
storedRange: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
identity: {
/**
* Information that is pertinent to identify the entity behind an account.
* Reverse lookup from `username` to the `AccountId` that has registered it. The value should
* be a key in the `IdentityOf` map, but it may not if the user has cleared their identity.
*
* Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one
* primary username.
**/
accountOfUsername: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<AccountId32>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
/**
* Information that is pertinent to identify the entity behind an account. First item is the
* registration, second is the account's primary username.
*
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
**/
identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Usernames that an authority has granted, but that the account controller has not confirmed
* that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
* because they are a pure proxy, multisig, etc. In order to confirm it, they should call
* [`Call::accept_username`].
*
* First tuple item is the account and second is the acceptance deadline.
**/
pendingUsernames: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
/**
* The set of registrars. Not expected to get very big as can only be added through a
* special origin (likely a council motion).
@@ -892,6 +968,10 @@ declare module '@polkadot/api-base/types/storage' {
* context. If the account is not some other account's sub-identity, then just `None`.
**/
superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* A map of the accounts who are authorized to grant usernames.
**/
usernameAuthorities: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityAuthorityProperties>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -1038,6 +1118,22 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
mmrLeaf: {
/**
* Details of current BEEFY authority set.
**/
beefyAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Details of next BEEFY authority set.
*
* This storage entry is used as cache for calls to `update_beefy_next_authority_set`.
**/
beefyNextAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
multisig: {
/**
* The set of open multisig operations.
@@ -1239,13 +1335,13 @@ declare module '@polkadot/api-base/types/storage' {
/**
* A reverse lookup from the pool's account id to its id.
*
* This is only used for slashing. In all other instances, the pool id is used, and the
* accounts are deterministically derived from it.
* This is only used for slashing and on automatic withdraw update. In all other instances, the
* pool id is used, and the accounts are deterministically derived from it.
**/
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
* claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
**/
rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
@@ -1280,6 +1376,16 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
parameters: {
/**
* Stored parameters.
**/
parameters: AugmentedQuery<ApiType, (arg: KitchensinkRuntimeRuntimeParametersKey | { Storage: any } | { Contract: any } | string | Uint8Array) => Observable<Option<KitchensinkRuntimeRuntimeParametersValue>>, [KitchensinkRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [KitchensinkRuntimeRuntimeParametersKey]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
poolAssets: {
/**
* The holdings of a specific account for a specific asset.
@@ -1547,6 +1653,10 @@ declare module '@polkadot/api-base/types/storage' {
* identities.
**/
lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;
/**
* Retry configurations for items to be executed, indexed by task address.
**/
retries: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletSchedulerRetryConfig>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
/**
* Generic query
**/
@@ -1849,6 +1959,12 @@ declare module '@polkadot/api-base/types/storage' {
* When this value is not set, no limits are enforced.
**/
maxNominatorsCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Maximum staked rewards, i.e. the percentage of the era inflation that
* is used for stake rewards.
* See [Era payout](./index.html#era-payout).
**/
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The maximum validator count before we stop allowing new validators to join.
*
@@ -1920,7 +2036,7 @@ declare module '@polkadot/api-base/types/storage' {
*
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
**/
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletStakingRewardDestination>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Slashing spans for stash accounts.
**/
@@ -2004,6 +2120,10 @@ declare module '@polkadot/api-base/types/storage' {
* Total length (in bytes) for all extrinsics put together, for the current block.
**/
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* `Some` if a code upgrade has been authorized.
**/
authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Map of block numbers to block hashes.
**/
@@ -10,6 +10,7 @@ import type { Bytes, Null, Option, Result, Vec, bool, u128, u32 } from '@polkado
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { TAssetBalance } from '@polkadot/types/interfaces/assets';
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
import type { BeefyEquivocationProof, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy';
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
import type { BlockHash } from '@polkadot/types/interfaces/chain';
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
@@ -116,6 +117,29 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x49eaaf1b548a0cb0/3 */
beefyApi: {
/**
* Return the block number where BEEFY consensus is enabled/started
**/
beefyGenesis: AugmentedCall<ApiType, () => Observable<Option<BlockNumber>>>;
/**
* Generates a proof of key ownership for the given authority in the given set.
**/
generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: ValidatorSetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
/**
* Submits an unsigned extrinsic to report an equivocation.
**/
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: BeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
/**
* Return the current active BEEFY validator set
**/
validatorSet: AugmentedCall<ApiType, () => Observable<Option<ValidatorSet>>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x40fe3ad401f8959a/6 */
blockBuilder: {
/**
+108 -12
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeTask, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -126,23 +126,23 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* See [`Pallet::add_liquidity`].
**/
addLiquidity: AugmentedSubmittable<(asset1: PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array, asset2: PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array, amount1Desired: u128 | AnyNumber | Uint8Array, amount2Desired: u128 | AnyNumber | Uint8Array, amount1Min: u128 | AnyNumber | Uint8Array, amount2Min: u128 | AnyNumber | Uint8Array, mintTo: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId, u128, u128, u128, u128, AccountId32]>;
addLiquidity: AugmentedSubmittable<(asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, amount1Desired: u128 | AnyNumber | Uint8Array, amount2Desired: u128 | AnyNumber | Uint8Array, amount1Min: u128 | AnyNumber | Uint8Array, amount2Min: u128 | AnyNumber | Uint8Array, mintTo: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId, u128, u128, u128, u128, AccountId32]>;
/**
* See [`Pallet::create_pool`].
**/
createPool: AugmentedSubmittable<(asset1: PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array, asset2: PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>;
createPool: AugmentedSubmittable<(asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId]>;
/**
* See [`Pallet::remove_liquidity`].
**/
removeLiquidity: AugmentedSubmittable<(asset1: PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array, asset2: PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array, lpTokenBurn: u128 | AnyNumber | Uint8Array, amount1MinReceive: u128 | AnyNumber | Uint8Array, amount2MinReceive: u128 | AnyNumber | Uint8Array, withdrawTo: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId, u128, u128, u128, AccountId32]>;
removeLiquidity: AugmentedSubmittable<(asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array, lpTokenBurn: u128 | AnyNumber | Uint8Array, amount1MinReceive: u128 | AnyNumber | Uint8Array, amount2MinReceive: u128 | AnyNumber | Uint8Array, withdrawTo: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensFungibleUnionOfNativeOrWithId, u128, u128, u128, AccountId32]>;
/**
* See [`Pallet::swap_exact_tokens_for_tokens`].
**/
swapExactTokensForTokens: AugmentedSubmittable<(path: Vec<PalletAssetConversionNativeOrAssetId> | (PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array)[], amountIn: u128 | AnyNumber | Uint8Array, amountOutMin: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PalletAssetConversionNativeOrAssetId>, u128, u128, AccountId32, bool]>;
swapExactTokensForTokens: AugmentedSubmittable<(path: Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId> | (FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array)[], amountIn: u128 | AnyNumber | Uint8Array, amountOutMin: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId>, u128, u128, AccountId32, bool]>;
/**
* See [`Pallet::swap_tokens_for_exact_tokens`].
**/
swapTokensForExactTokens: AugmentedSubmittable<(path: Vec<PalletAssetConversionNativeOrAssetId> | (PalletAssetConversionNativeOrAssetId | { Native: any } | { Asset: any } | string | Uint8Array)[], amountOut: u128 | AnyNumber | Uint8Array, amountInMax: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PalletAssetConversionNativeOrAssetId>, u128, u128, AccountId32, bool]>;
swapTokensForExactTokens: AugmentedSubmittable<(path: Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId> | (FrameSupportTokensFungibleUnionOfNativeOrWithId | { Native: any } | { WithId: any } | string | Uint8Array)[], amountOut: u128 | AnyNumber | Uint8Array, amountInMax: u128 | AnyNumber | Uint8Array, sendTo: AccountId32 | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<FrameSupportTokensFungibleUnionOfNativeOrWithId>, u128, u128, AccountId32, bool]>;
/**
* Generic tx
**/
@@ -319,6 +319,10 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
balances: {
/**
* See [`Pallet::force_adjust_total_issuance`].
**/
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
/**
* See [`Pallet::force_set_balance`].
**/
@@ -352,6 +356,24 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
beefy: {
/**
* See [`Pallet::report_equivocation`].
**/
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
/**
* See [`Pallet::report_equivocation_unsigned`].
**/
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusBeefyEquivocationProof | { first?: any; second?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBeefyEquivocationProof, SpSessionMembershipProof]>;
/**
* See [`Pallet::set_new_genesis`].
**/
setNewGenesis: AugmentedSubmittable<(delayInBlocks: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
bounties: {
/**
* See [`Pallet::accept_curator`].
@@ -427,6 +449,10 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::interlace`].
**/
interlace: AugmentedSubmittable<(regionId: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array, pivot: PalletBrokerCoreMask | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, PalletBrokerCoreMask]>;
/**
* See [`Pallet::notify_core_count`].
**/
notifyCoreCount: AugmentedSubmittable<(coreCount: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
/**
* See [`Pallet::partition`].
**/
@@ -851,6 +877,10 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
identity: {
/**
* See [`Pallet::accept_username`].
**/
acceptUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::add_registrar`].
**/
@@ -859,6 +889,10 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::add_sub`].
**/
addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
/**
* See [`Pallet::add_username_authority`].
**/
addUsernameAuthority: AugmentedSubmittable<(authority: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, suffix: Bytes | string | Uint8Array, allocation: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Bytes, u32]>;
/**
* See [`Pallet::cancel_request`].
**/
@@ -879,10 +913,22 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::quit_sub`].
**/
quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* See [`Pallet::remove_dangling_username`].
**/
removeDanglingUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::remove_expired_approval`].
**/
removeExpiredApproval: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::remove_sub`].
**/
removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* See [`Pallet::remove_username_authority`].
**/
removeUsernameAuthority: AugmentedSubmittable<(authority: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* See [`Pallet::rename_sub`].
**/
@@ -907,10 +953,18 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::set_identity`].
**/
setIdentity: AugmentedSubmittable<(info: PalletIdentityLegacyIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityLegacyIdentityInfo]>;
/**
* See [`Pallet::set_primary_username`].
**/
setPrimaryUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::set_subs`].
**/
setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;
/**
* See [`Pallet::set_username_for`].
**/
setUsernameFor: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, username: Bytes | string | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [MultiAddress, Bytes, Option<SpRuntimeMultiSignature>]>;
/**
* Generic tx
**/
@@ -1182,7 +1236,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* See [`Pallet::transfer_ownership`].
**/
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, newOwner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
/**
* See [`Pallet::unlock_item_transfer`].
**/
@@ -1328,6 +1382,16 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
parameters: {
/**
* See [`Pallet::set_parameter`].
**/
setParameter: AugmentedSubmittable<(keyValue: KitchensinkRuntimeRuntimeParameters | { Storage: any } | { Contract: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeRuntimeParameters]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
poolAssets: {
/**
* See [`Pallet::approve_transfer`].
@@ -1561,6 +1625,10 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::demote_member`].
**/
demoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* See [`Pallet::exchange_member`].
**/
exchangeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newWho: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
/**
* See [`Pallet::promote_member`].
**/
@@ -1809,6 +1877,14 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::cancel_named`].
**/
cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
/**
* See [`Pallet::cancel_retry`].
**/
cancelRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>]>;
/**
* See [`Pallet::cancel_retry_named`].
**/
cancelRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
/**
* See [`Pallet::schedule`].
**/
@@ -1825,6 +1901,14 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::schedule_named_after`].
**/
scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>;
/**
* See [`Pallet::set_retry`].
**/
setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>, u8, u32]>;
/**
* See [`Pallet::set_retry_named`].
**/
setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
/**
* Generic tx
**/
@@ -1838,7 +1922,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* See [`Pallet::set_keys`].
**/
setKeys: AugmentedSubmittable<(keys: KitchensinkRuntimeSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any; mixnet?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeSessionKeys, Bytes]>;
setKeys: AugmentedSubmittable<(keys: KitchensinkRuntimeSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any; mixnet?: any; beefy?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeSessionKeys, Bytes]>;
/**
* Generic tx
**/
@@ -1951,6 +2035,10 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::chill_other`].
**/
chillOther: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* See [`Pallet::deprecate_controller_batch`].
**/
deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
/**
* See [`Pallet::force_apply_min_commission`].
**/
@@ -2022,7 +2110,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* See [`Pallet::set_staking_configs`].
**/
setStakingConfigs: AugmentedSubmittable<(minNominatorBond: PalletStakingPalletConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, minValidatorBond: PalletStakingPalletConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxNominatorCount: PalletStakingPalletConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxValidatorCount: PalletStakingPalletConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, chillThreshold: PalletStakingPalletConfigOpPercent | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, minCommission: PalletStakingPalletConfigOpPerbill | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill]>;
setStakingConfigs: AugmentedSubmittable<(minNominatorBond: PalletStakingPalletConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, minValidatorBond: PalletStakingPalletConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxNominatorCount: PalletStakingPalletConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxValidatorCount: PalletStakingPalletConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, chillThreshold: PalletStakingPalletConfigOpPercent | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, minCommission: PalletStakingPalletConfigOpPerbill | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxStakedRewards: PalletStakingPalletConfigOpPercent | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent]>;
/**
* See [`Pallet::set_validator_count`].
**/
@@ -2106,9 +2194,17 @@ declare module '@polkadot/api-base/types/submittable' {
};
system: {
/**
* See [`Pallet::do_task`].
* See [`Pallet::apply_authorized_upgrade`].
**/
doTask: AugmentedSubmittable<(task: KitchensinkRuntimeRuntimeTask | { TasksExample: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [KitchensinkRuntimeRuntimeTask]>;
applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::authorize_upgrade`].
**/
authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/**
* See [`Pallet::authorize_upgrade_without_checks`].
**/
authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/**
* See [`Pallet::kill_prefix`].
**/
@@ -2428,7 +2524,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* See [`Pallet::transfer_ownership`].
**/
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, newOwner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
/**
* Generic tx
**/
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "10.12.1",
"@polkadot/types": "10.12.1",
"@polkadot/rpc-core": "10.12.2",
"@polkadot/types": "10.12.2",
"@polkadot/util": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.12.2' };
+8 -8
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "10.12.1",
"@polkadot/api-augment": "10.12.1",
"@polkadot/types": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/types-create": "10.12.1",
"@polkadot/api": "10.12.2",
"@polkadot/api-augment": "10.12.2",
"@polkadot/types": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/types-create": "10.12.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "10.12.1",
"@polkadot/api-augment": "10.12.2",
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-support": "10.12.1"
"@polkadot/types-support": "10.12.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.12.2' };
+12 -12
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "10.12.1",
"@polkadot/api-augment": "10.12.1",
"@polkadot/api-base": "10.12.1",
"@polkadot/rpc-core": "10.12.1",
"@polkadot/types": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/api": "10.12.2",
"@polkadot/api-augment": "10.12.2",
"@polkadot/api-base": "10.12.2",
"@polkadot/rpc-core": "10.12.2",
"@polkadot/types": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api": "10.12.1",
"@polkadot/api-augment": "10.12.1",
"@polkadot/rpc-augment": "10.12.1",
"@polkadot/rpc-provider": "10.12.1",
"@polkadot/types-support": "10.12.1"
"@polkadot/api": "10.12.2",
"@polkadot/api-augment": "10.12.2",
"@polkadot/rpc-augment": "10.12.2",
"@polkadot/rpc-provider": "10.12.2",
"@polkadot/types-support": "10.12.2"
}
}
+16 -7
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
import type { Data } from '@polkadot/types';
import type { Bytes, Data } from '@polkadot/types';
import type { AccountId } from '@polkadot/types/interfaces';
import type { PalletIdentityIdentityInfo, PalletIdentityRegistration } from '@polkadot/types/lookup';
import type { Option } from '@polkadot/types-codec';
@@ -40,12 +40,21 @@ function extractOther (additional: IdentityInfoAdditional[]): Record<string, str
}, {});
}
function extractIdentity (identityOfOpt?: Option<PalletIdentityRegistration>, superOf?: [AccountId, Data]): DeriveAccountRegistration {
// handle compatibility between generations of structures
function identityCompat (identityOfOpt: Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>> | Option<PalletIdentityRegistration>): PalletIdentityRegistration {
const identity = identityOfOpt.unwrap();
return Array.isArray(identity)
? identity[0]
: identity;
}
function extractIdentity (identityOfOpt?: Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>> | Option<PalletIdentityRegistration>, superOf?: [AccountId, Data]): DeriveAccountRegistration {
if (!identityOfOpt?.isSome) {
return { judgements: [] };
}
const { info, judgements } = identityOfOpt.unwrap();
const { info, judgements } = identityCompat(identityOfOpt);
const topDisplay = dataAsString(info.display);
return {
@@ -64,7 +73,7 @@ function extractIdentity (identityOfOpt?: Option<PalletIdentityRegistration>, su
};
}
function getParent (api: DeriveApi, identityOfOpt: Option<PalletIdentityRegistration> | undefined, superOfOpt: Option<ITuple<[AccountId, Data]>> | undefined): Observable<[Option<PalletIdentityRegistration> | undefined, [AccountId, Data] | undefined]> {
function getParent (api: DeriveApi, identityOfOpt: Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>> | Option<PalletIdentityRegistration> | undefined, superOfOpt: Option<ITuple<[AccountId, Data]>> | undefined): Observable<[Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>> | Option<PalletIdentityRegistration> | undefined, [AccountId, Data] | undefined]> {
if (identityOfOpt?.isSome) {
// this identity has something set
return of([identityOfOpt, undefined]);
@@ -83,8 +92,8 @@ function getParent (api: DeriveApi, identityOfOpt: Option<PalletIdentityRegistra
return of([undefined, undefined]);
}
export function _identity (instanceId: string, api: DeriveApi): (accountId?: AccountId | Uint8Array | string) => Observable<[Option<PalletIdentityRegistration> | undefined, Option<ITuple<[AccountId, Data]>> | undefined]> {
return memo(instanceId, (accountId?: AccountId | Uint8Array | string): Observable<[Option<PalletIdentityRegistration> | undefined, Option<ITuple<[AccountId, Data]>> | undefined]> =>
export function _identity (instanceId: string, api: DeriveApi): (accountId?: AccountId | Uint8Array | string) => Observable<[Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>> | Option<PalletIdentityRegistration> | undefined, Option<ITuple<[AccountId, Data]>> | undefined]> {
return memo(instanceId, (accountId?: AccountId | Uint8Array | string): Observable<[Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>> | Option<PalletIdentityRegistration> | undefined, Option<ITuple<[AccountId, Data]>> | undefined]> =>
accountId && api.query.identity?.identityOf
? combineLatest([
api.query.identity.identityOf(accountId),
@@ -132,7 +141,7 @@ export function hasIdentityMulti (instanceId: string, api: DeriveApi): (accountI
let display: string | undefined;
if (identityOfOpt && identityOfOpt.isSome) {
const value = dataAsString(identityOfOpt.unwrap().info.display);
const value = dataAsString(identityCompat(identityOfOpt).info.display);
if (value && !isHex(value)) {
display = value;
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.12.2' };
+12 -4
View File
@@ -11,7 +11,15 @@ import { combineLatest, map, of, switchMap } from 'rxjs';
import { firstMemo, memo } from '../util/index.js';
function parseDetails (stashId: AccountId, controllerIdOpt: Option<AccountId> | null, nominatorsOpt: Option<PalletStakingNominations>, rewardDestination: PalletStakingRewardDestination, validatorPrefs: PalletStakingValidatorPrefs, exposure: PalletStakingExposure, stakingLedgerOpt: Option<PalletStakingStakingLedger>): DeriveStakingQuery {
// handle compatibility between generations of structures
function rewardDestinationCompat (rewardDestination: PalletStakingRewardDestination | Option<PalletStakingRewardDestination>): PalletStakingRewardDestination | null {
// We ensure the type is an Option by checking if isSome is a boolean. When isSome doesn't exist it will always return undefined.
return typeof (rewardDestination as Option<PalletStakingRewardDestination>).isSome === 'boolean'
? (rewardDestination as Option<PalletStakingRewardDestination>).unwrapOr(null)
: (rewardDestination as PalletStakingRewardDestination);
}
function parseDetails (stashId: AccountId, controllerIdOpt: Option<AccountId> | null, nominatorsOpt: Option<PalletStakingNominations>, rewardDestinationOpts: Option<PalletStakingRewardDestination> | PalletStakingRewardDestination, validatorPrefs: PalletStakingValidatorPrefs, exposure: PalletStakingExposure, stakingLedgerOpt: Option<PalletStakingStakingLedger>): DeriveStakingQuery {
return {
accountId: stashId,
controllerId: controllerIdOpt?.unwrapOr(null) || null,
@@ -19,7 +27,7 @@ function parseDetails (stashId: AccountId, controllerIdOpt: Option<AccountId> |
nominators: nominatorsOpt.isSome
? nominatorsOpt.unwrap().targets
: [],
rewardDestination,
rewardDestination: rewardDestinationCompat(rewardDestinationOpts),
stakingLedger: stakingLedgerOpt.unwrapOrDefault(),
stashId,
validatorPrefs
@@ -49,9 +57,9 @@ function getLedgers (api: DeriveApi, optIds: (Option<AccountId> | null)[], { wit
);
}
function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraIndex, { withController, withDestination, withExposure, withLedger, withNominations, withPrefs }: StakingQueryFlags): Observable<[(Option<AccountId> | null)[], Option<PalletStakingNominations>[], PalletStakingRewardDestination[], PalletStakingValidatorPrefs[], PalletStakingExposure[]]> {
function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraIndex, { withController, withDestination, withExposure, withLedger, withNominations, withPrefs }: StakingQueryFlags): Observable<[(Option<AccountId> | null)[], Option<PalletStakingNominations>[], Option<PalletStakingRewardDestination>[], PalletStakingValidatorPrefs[], PalletStakingExposure[]]> {
const emptyNoms = api.registry.createType<Option<PalletStakingNominations>>('Option<Nominations>');
const emptyRewa = api.registry.createType<PalletStakingRewardDestination>('RewardDestination');
const emptyRewa = api.registry.createType<Option<PalletStakingRewardDestination>>('RewardDestination');
const emptyExpo = api.registry.createType<PalletStakingExposure>('Exposure');
const emptyPrefs = api.registry.createType<PalletStakingValidatorPrefs>('ValidatorPrefs');
+1 -1
View File
@@ -109,7 +109,7 @@ export interface DeriveStakingStash {
controllerId: AccountId | null;
exposure: PalletStakingExposure;
nominators: AccountId[];
rewardDestination: PalletStakingRewardDestination;
rewardDestination: PalletStakingRewardDestination | null;
stashId: AccountId;
validatorPrefs: PalletStakingValidatorPrefs;
}
+14 -14
View File
@@ -18,21 +18,21 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "10.12.1",
"@polkadot/api-base": "10.12.1",
"@polkadot/api-derive": "10.12.1",
"@polkadot/api-augment": "10.12.2",
"@polkadot/api-base": "10.12.2",
"@polkadot/api-derive": "10.12.2",
"@polkadot/keyring": "^12.6.2",
"@polkadot/rpc-augment": "10.12.1",
"@polkadot/rpc-core": "10.12.1",
"@polkadot/rpc-provider": "10.12.1",
"@polkadot/types": "10.12.1",
"@polkadot/types-augment": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/types-create": "10.12.1",
"@polkadot/types-known": "10.12.1",
"@polkadot/rpc-augment": "10.12.2",
"@polkadot/rpc-core": "10.12.2",
"@polkadot/rpc-provider": "10.12.2",
"@polkadot/types": "10.12.2",
"@polkadot/types-augment": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/types-create": "10.12.2",
"@polkadot/types-known": "10.12.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"eventemitter3": "^5.0.1",
@@ -40,7 +40,7 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "10.12.1",
"@polkadot/types-support": "10.12.1"
"@polkadot/api-augment": "10.12.2",
"@polkadot/types-support": "10.12.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.12.2' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "10.12.1",
"@polkadot/types": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/rpc-core": "10.12.2",
"@polkadot/types": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.12.2' };
+5 -5
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "10.12.1",
"@polkadot/rpc-provider": "10.12.1",
"@polkadot/types": "10.12.1",
"@polkadot/rpc-augment": "10.12.2",
"@polkadot/rpc-provider": "10.12.2",
"@polkadot/types": "10.12.2",
"@polkadot/util": "^12.6.2",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/rpc-augment": "10.12.1"
"@polkadot/rpc-augment": "10.12.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.12.2' };
+3 -3
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types": "10.12.1",
"@polkadot/types-support": "10.12.1",
"@polkadot/types": "10.12.2",
"@polkadot/types-support": "10.12.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-fetch": "^12.6.2",
+4 -3
View File
@@ -3,7 +3,7 @@
import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted, ProviderStats } from '../types.js';
import { logger, noop } from '@polkadot/util';
import { logger, noop, stringify } from '@polkadot/util';
import { fetch } from '@polkadot/x-fetch';
import { RpcCoder } from '../coder/index.js';
@@ -125,15 +125,16 @@ export class HttpProvider implements ProviderInterface {
this.#stats.total.requests++;
const [, body] = this.#coder.encodeJson(method, params);
const cacheKey = isCacheable ? `${method}::${stringify(params)}` : '';
let resultPromise: Promise<T> | null = isCacheable
? this.#callCache.get(body)
? this.#callCache.get(cacheKey)
: null;
if (!resultPromise) {
resultPromise = this.#send(body);
if (isCacheable) {
this.#callCache.set(body, resultPromise);
this.#callCache.set(cacheKey, resultPromise);
}
} else {
this.#stats.total.cached++;
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.12.2' };
+4 -3
View File
@@ -6,7 +6,7 @@ import type { EndpointStats, JsonRpcResponse, ProviderInterface, ProviderInterfa
import { EventEmitter } from 'eventemitter3';
import { isChildClass, isNull, isUndefined, logger, noop, objectSpread } from '@polkadot/util';
import { isChildClass, isNull, isUndefined, logger, noop, objectSpread, stringify } from '@polkadot/util';
import { xglobal } from '@polkadot/x-global';
import { WebSocket } from '@polkadot/x-ws';
@@ -312,15 +312,16 @@ export class WsProvider implements ProviderInterface {
this.#stats.total.requests++;
const [id, body] = this.#coder.encodeJson(method, params);
const cacheKey = isCacheable ? `${method}::${stringify(params)}` : '';
let resultPromise: Promise<T> | null = isCacheable
? this.#callCache.get(body)
? this.#callCache.get(cacheKey)
: null;
if (!resultPromise) {
resultPromise = this.#send(id, body, method, params, subscription);
if (isCacheable) {
this.#callCache.set(body, resultPromise);
this.#callCache.set(cacheKey, resultPromise);
}
} else {
this.#endpointStats.cached++;
+10 -10
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,15 +28,15 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "10.12.1",
"@polkadot/api-augment": "10.12.1",
"@polkadot/rpc-augment": "10.12.1",
"@polkadot/rpc-provider": "10.12.1",
"@polkadot/types": "10.12.1",
"@polkadot/types-augment": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/types-create": "10.12.1",
"@polkadot/types-support": "10.12.1",
"@polkadot/api": "10.12.2",
"@polkadot/api-augment": "10.12.2",
"@polkadot/rpc-augment": "10.12.2",
"@polkadot/rpc-provider": "10.12.2",
"@polkadot/types": "10.12.2",
"@polkadot/types-augment": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/types-create": "10.12.2",
"@polkadot/types-support": "10.12.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"@polkadot/x-ws": "^12.6.2",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.12.2' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/types": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/types": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
}
@@ -4,56 +4,6 @@
/* eslint-disable sort-keys */
export default {
/**
* Lookup94: pallet_beefy::pallet::Call<T>
**/
PalletBeefyCall: {
_enum: {
report_equivocation: {
equivocationProof: 'SpConsensusBeefyEquivocationProof',
keyOwnerProof: 'SpSessionMembershipProof',
},
report_equivocation_unsigned: {
equivocationProof: 'SpConsensusBeefyEquivocationProof',
keyOwnerProof: 'SpSessionMembershipProof'
}
}
},
/**
* Lookup95: sp_consensus_beefy::EquivocationProof<Number, sp_consensus_beefy::ecdsa_crypto::Public, sp_consensus_beefy::ecdsa_crypto::Signature>
**/
SpConsensusBeefyEquivocationProof: {
first: 'SpConsensusBeefyVoteMessage',
second: 'SpConsensusBeefyVoteMessage'
},
/**
* Lookup96: sp_consensus_beefy::ecdsa_crypto::Public
**/
SpConsensusBeefyEcdsaCryptoPublic: 'SpCoreEcdsaPublic',
/**
* Lookup99: sp_consensus_beefy::ecdsa_crypto::Signature
**/
SpConsensusBeefyEcdsaCryptoSignature: 'SpCoreEcdsaSignature',
/**
* Lookup102: sp_consensus_beefy::VoteMessage<Number, sp_consensus_beefy::ecdsa_crypto::Public, sp_consensus_beefy::ecdsa_crypto::Signature>
**/
SpConsensusBeefyVoteMessage: {
commitment: 'SpConsensusBeefyCommitment',
id: 'SpConsensusBeefyEcdsaCryptoPublic',
signature: 'SpConsensusBeefyEcdsaCryptoSignature'
},
/**
* Lookup103: sp_consensus_beefy::commitment::Commitment<TBlockNumber>
**/
SpConsensusBeefyCommitment: {
payload: 'SpConsensusBeefyPayload',
blockNumber: 'u32',
validatorSetId: 'u64'
},
/**
* Lookup104: sp_consensus_beefy::payload::Payload
**/
SpConsensusBeefyPayload: 'Vec<([u8;2],Bytes)>',
/**
* Lookup109: kusama_runtime::SessionKeys
**/
@@ -260,20 +210,6 @@ export default {
Nis: 'PalletNisHoldReason'
}
},
/**
* Lookup591: pallet_beefy::pallet::Error<T>
**/
PalletBeefyError: {
_enum: ['InvalidKeyOwnershipProof', 'InvalidEquivocationProof', 'DuplicateOffenceReport']
},
/**
* Lookup592: sp_consensus_beefy::mmr::BeefyAuthoritySet<primitive_types::H256>
**/
SpConsensusBeefyMmrBeefyAuthoritySet: {
id: 'u64',
len: 'u32',
keysetCommitment: 'H256'
},
/**
* Lookup891: kusama_runtime::Runtime
**/
@@ -1132,10 +1132,6 @@ export default {
Ecdsa: 'SpCoreEcdsaPublic'
}
},
/**
* Lookup344: sp_core::ecdsa::Public
**/
SpCoreEcdsaPublic: '[u8;33]',
/**
* Lookup349: pallet_xcm::pallet::Call<T>
**/
File diff suppressed because it is too large Load Diff
@@ -5,55 +5,11 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/lookup';
import type { Bytes, Compact, Enum, Null, Struct, U8aFixed, Vec, u16, u32, u64 } from '@polkadot/types-codec';
import type { Compact, Enum, Null, Struct, Vec, u16, u32 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { H256, PerU16 } from '@polkadot/types/interfaces/runtime';
import type { PerU16 } from '@polkadot/types/interfaces/runtime';
declare module '@polkadot/types/lookup' {
/** @name PalletBeefyCall (94) */
interface PalletBeefyCall extends Enum {
readonly isReportEquivocation: boolean;
readonly asReportEquivocation: {
readonly equivocationProof: SpConsensusBeefyEquivocationProof;
readonly keyOwnerProof: SpSessionMembershipProof;
} & Struct;
readonly isReportEquivocationUnsigned: boolean;
readonly asReportEquivocationUnsigned: {
readonly equivocationProof: SpConsensusBeefyEquivocationProof;
readonly keyOwnerProof: SpSessionMembershipProof;
} & Struct;
readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned';
}
/** @name SpConsensusBeefyEquivocationProof (95) */
interface SpConsensusBeefyEquivocationProof extends Struct {
readonly first: SpConsensusBeefyVoteMessage;
readonly second: SpConsensusBeefyVoteMessage;
}
/** @name SpConsensusBeefyEcdsaCryptoPublic (96) */
interface SpConsensusBeefyEcdsaCryptoPublic extends SpCoreEcdsaPublic {}
/** @name SpConsensusBeefyEcdsaCryptoSignature (99) */
interface SpConsensusBeefyEcdsaCryptoSignature extends SpCoreEcdsaSignature {}
/** @name SpConsensusBeefyVoteMessage (102) */
interface SpConsensusBeefyVoteMessage extends Struct {
readonly commitment: SpConsensusBeefyCommitment;
readonly id: SpConsensusBeefyEcdsaCryptoPublic;
readonly signature: SpConsensusBeefyEcdsaCryptoSignature;
}
/** @name SpConsensusBeefyCommitment (103) */
interface SpConsensusBeefyCommitment extends Struct {
readonly payload: SpConsensusBeefyPayload;
readonly blockNumber: u32;
readonly validatorSetId: u64;
}
/** @name SpConsensusBeefyPayload (104) */
interface SpConsensusBeefyPayload extends Vec<ITuple<[U8aFixed, Bytes]>> {}
/** @name KusamaRuntimeSessionKeys (109) */
interface KusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpConsensusGrandpaAppPublic;
@@ -160,21 +116,6 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Nis';
}
/** @name PalletBeefyError (591) */
interface PalletBeefyError extends Enum {
readonly isInvalidKeyOwnershipProof: boolean;
readonly isInvalidEquivocationProof: boolean;
readonly isDuplicateOffenceReport: boolean;
readonly type: 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
}
/** @name SpConsensusBeefyMmrBeefyAuthoritySet (592) */
interface SpConsensusBeefyMmrBeefyAuthoritySet extends Struct {
readonly id: u64;
readonly len: u32;
readonly keysetCommitment: H256;
}
/** @name KusamaRuntimeRuntime (891) */
type KusamaRuntimeRuntime = Null;
@@ -991,9 +991,6 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
/** @name SpCoreEcdsaPublic (344) */
interface SpCoreEcdsaPublic extends U8aFixed {}
/** @name PalletXcmCall (349) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.12.2' };
+1 -10
View File
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry';
import type { KusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, KusamaRuntimeNposCompactSolution24, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeRuntime, KusamaRuntimeRuntimeHoldReason, KusamaRuntimeSessionKeys, PalletBeefyCall, PalletBeefyError, SpConsensusBeefyCommitment, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyEcdsaCryptoSignature, SpConsensusBeefyEquivocationProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyPayload, SpConsensusBeefyVoteMessage } from '@polkadot/types/lookup';
import type { KusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, KusamaRuntimeNposCompactSolution24, KusamaRuntimeOriginCaller, KusamaRuntimeProxyType, KusamaRuntimeRuntime, KusamaRuntimeRuntimeHoldReason, KusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
@@ -16,14 +16,5 @@ declare module '@polkadot/types/types/registry' {
KusamaRuntimeRuntime: KusamaRuntimeRuntime;
KusamaRuntimeRuntimeHoldReason: KusamaRuntimeRuntimeHoldReason;
KusamaRuntimeSessionKeys: KusamaRuntimeSessionKeys;
PalletBeefyCall: PalletBeefyCall;
PalletBeefyError: PalletBeefyError;
SpConsensusBeefyCommitment: SpConsensusBeefyCommitment;
SpConsensusBeefyEcdsaCryptoPublic: SpConsensusBeefyEcdsaCryptoPublic;
SpConsensusBeefyEcdsaCryptoSignature: SpConsensusBeefyEcdsaCryptoSignature;
SpConsensusBeefyEquivocationProof: SpConsensusBeefyEquivocationProof;
SpConsensusBeefyMmrBeefyAuthoritySet: SpConsensusBeefyMmrBeefyAuthoritySet;
SpConsensusBeefyPayload: SpConsensusBeefyPayload;
SpConsensusBeefyVoteMessage: SpConsensusBeefyVoteMessage;
} // InterfaceTypes
} // declare module
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4 -4
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.6.2",
@@ -26,9 +26,9 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "10.12.1",
"@polkadot/types-augment": "10.12.1",
"@polkadot/types-support": "10.12.1",
"@polkadot/types": "10.12.2",
"@polkadot/types-augment": "10.12.2",
"@polkadot/types-support": "10.12.2",
"@polkadot/util-crypto": "^12.6.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.12.2' };
+3 -3
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "10.12.1",
"@polkadot/types-codec": "10.12.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "10.12.1"
"@polkadot/types": "10.12.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.12.2' };
+5 -5
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^12.6.2",
"@polkadot/types": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/types-create": "10.12.1",
"@polkadot/types": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/types-create": "10.12.2",
"@polkadot/util": "^12.6.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api": "10.12.1"
"@polkadot/api": "10.12.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.12.2' };
+1 -1
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.6.2",
+54 -1
View File
@@ -1,4 +1,57 @@
## extraction
## Extraction (Current)
For Substrate -
Clone the [polkadot-sdk](https://github.com/paritytech/polkadot-sdk) repository and from the ROOT run:
`cargo build --release && ./target/release/substrate-node --dev`
`--dev` sets the flag `--tmp` automatically so there is no need for purging the dev db.
For Polkadot & Kusama -
Clone the [polkadot-fellows/runtimes](https://github.com/polkadot-fellows/runtimes/tree/main) repository and from the ROOT run:
```bash
$ unset SKIP_WASM_BUILD
$ cargo build --release -p chain-spec-generator --features fast-runtime
$ ./target/release/chain-spec-generator polkadot-dev > polkadotDevChainSpec.json
```
- For kusama just change the `polkadotDevChainSpec.json` to `kusamaDevChainSpec.json`.
- When you have the `polkadot-sdk` cloned, make sure to copy the chainspec from the `runtimes` repository to `polkadot-sdk` repository.
Clone the [polkadot-sdk](https://github.com/paritytech/polkadot-sdk) repository, checkout the most recent releases tag and from the ROOT run:
```bash
$ cargo build --release --bin polkadot-prepare-worker --features fast-runtime
$ cargo build --release --bin polkadot-execute-worker --features fast-runtime
$ cargo build --release --bin polkadot --features fast-runtime
$ cp ../runtimes/polkadotDevChainSpec.json .
$ ./target/release/polkadot --chain polkadotDevChainSpec.json
```
To retrieve the metadata -
`curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "state_getMetadata", "params":[]}' http://localhost:9944`
- Add it to the relevant folders e.g. `v14/{kusama, polkadot, substrate}-hex.json`
To retrieve the rpc methods -
`curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "rpc_methods", "params":[]}' http://localhost:9944`
- Add it to the relevant folders e.g. `v14/{kusama, polkadot, substrate}-rpc.ts`
To retrieve the runtime versions -
`curl -H "Content-Type: application/json" -d '{"id":"1", "jsonrpc":"2.0", "method": "state_getRuntimeVersion", "params":[]}' http://localhost:9944`
- Add it to the relevant folders e.g. `v14/{kusama, polkadot, substrate}-ver.ts`
NOTE: This all works for manual updating, but for an easier process run from root for each respective chain: `node ./scripts/metadata-get.mjs`
## extraction (Legacy)
For Substrate & Polkadot (dev chains) -
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -18,6 +18,9 @@ export default {
"author_submitExtrinsic",
"author_unwatchExtrinsic",
"babe_epochAuthorship",
"beefy_getFinalizedHead",
"beefy_subscribeJustifications",
"beefy_unsubscribeJustifications",
"chainHead_unstable_body",
"chainHead_unstable_call",
"chainHead_unstable_continue",
@@ -122,8 +125,8 @@ export default {
"system_syncState",
"system_unstable_networkState",
"system_version",
"transaction_unstable_submitAndWatch",
"transaction_unstable_unwatch",
"transactionWatch_unstable_submitAndWatch",
"transactionWatch_unstable_unwatch",
"unsubscribe_newHead"
]
};
File diff suppressed because it is too large Load Diff
@@ -84,6 +84,10 @@ export default {
"0x899a250cbe84f250",
1
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.12.2' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "10.12.1",
"version": "10.12.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-augment": "10.12.1",
"@polkadot/types-codec": "10.12.1",
"@polkadot/types-create": "10.12.1",
"@polkadot/types-augment": "10.12.2",
"@polkadot/types-codec": "10.12.2",
"@polkadot/types-create": "10.12.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"rxjs": "^7.8.1",
@@ -32,6 +32,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^12.6.2",
"@polkadot/types-support": "10.12.1"
"@polkadot/types-support": "10.12.2"
}
}
@@ -36,7 +36,7 @@ describe('decorateEvents', (): void => {
],
fields: [
{ docs: [], name: 'stash', type: 0, typeName: 'T::AccountId' },
{ docs: [], name: 'dest', type: 50, typeName: 'RewardDestination<T::AccountId>' },
{ docs: [], name: 'dest', type: 48, typeName: 'RewardDestination<T::AccountId>' },
{ docs: [], name: 'amount', type: 6, typeName: 'BalanceOf<T>' }
],
index: 1,
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.12.1' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.12.2' };
+79 -79
View File
@@ -444,26 +444,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@npm:10.12.1, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@npm:10.12.2, @polkadot/api-augment@workspace:packages/api-augment":
version: 0.0.0-use.local
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
dependencies:
"@polkadot/api-base": "npm:10.12.1"
"@polkadot/rpc-augment": "npm:10.12.1"
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-augment": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/api-base": "npm:10.12.2"
"@polkadot/rpc-augment": "npm:10.12.2"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-augment": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/api-base@npm:10.12.1, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@npm:10.12.2, @polkadot/api-base@workspace:packages/api-base":
version: 0.0.0-use.local
resolution: "@polkadot/api-base@workspace:packages/api-base"
dependencies:
"@polkadot/rpc-core": "npm:10.12.1"
"@polkadot/types": "npm:10.12.1"
"@polkadot/rpc-core": "npm:10.12.2"
"@polkadot/types": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
@@ -474,13 +474,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@polkadot/api": "npm:10.12.1"
"@polkadot/api-augment": "npm:10.12.1"
"@polkadot/api": "npm:10.12.2"
"@polkadot/api-augment": "npm:10.12.2"
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/types-create": "npm:10.12.1"
"@polkadot/types-support": "npm:10.12.1"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/types-create": "npm:10.12.2"
"@polkadot/types-support": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
@@ -488,19 +488,19 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api-derive@npm:10.12.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@npm:10.12.2, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@polkadot/api": "npm:10.12.1"
"@polkadot/api-augment": "npm:10.12.1"
"@polkadot/api-base": "npm:10.12.1"
"@polkadot/rpc-augment": "npm:10.12.1"
"@polkadot/rpc-core": "npm:10.12.1"
"@polkadot/rpc-provider": "npm:10.12.1"
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/types-support": "npm:10.12.1"
"@polkadot/api": "npm:10.12.2"
"@polkadot/api-augment": "npm:10.12.2"
"@polkadot/api-base": "npm:10.12.2"
"@polkadot/rpc-augment": "npm:10.12.2"
"@polkadot/rpc-core": "npm:10.12.2"
"@polkadot/rpc-provider": "npm:10.12.2"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/types-support": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
@@ -508,23 +508,23 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@npm:10.12.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@npm:10.12.2, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@polkadot/api-augment": "npm:10.12.1"
"@polkadot/api-base": "npm:10.12.1"
"@polkadot/api-derive": "npm:10.12.1"
"@polkadot/api-augment": "npm:10.12.2"
"@polkadot/api-base": "npm:10.12.2"
"@polkadot/api-derive": "npm:10.12.2"
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/rpc-augment": "npm:10.12.1"
"@polkadot/rpc-core": "npm:10.12.1"
"@polkadot/rpc-provider": "npm:10.12.1"
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-augment": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/types-create": "npm:10.12.1"
"@polkadot/types-known": "npm:10.12.1"
"@polkadot/types-support": "npm:10.12.1"
"@polkadot/rpc-augment": "npm:10.12.2"
"@polkadot/rpc-core": "npm:10.12.2"
"@polkadot/rpc-provider": "npm:10.12.2"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-augment": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/types-create": "npm:10.12.2"
"@polkadot/types-known": "npm:10.12.2"
"@polkadot/types-support": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
eventemitter3: "npm:^5.0.1"
@@ -654,39 +654,39 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@npm:10.12.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@npm:10.12.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
dependencies:
"@polkadot/rpc-core": "npm:10.12.1"
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/rpc-core": "npm:10.12.2"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:10.12.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@npm:10.12.2, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/rpc-augment": "npm:10.12.1"
"@polkadot/rpc-provider": "npm:10.12.1"
"@polkadot/types": "npm:10.12.1"
"@polkadot/rpc-augment": "npm:10.12.2"
"@polkadot/rpc-provider": "npm:10.12.2"
"@polkadot/types": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@npm:10.12.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@npm:10.12.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-support": "npm:10.12.1"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-support": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-fetch": "npm:^12.6.2"
@@ -707,15 +707,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@polkadot/api": "npm:10.12.1"
"@polkadot/api-augment": "npm:10.12.1"
"@polkadot/rpc-augment": "npm:10.12.1"
"@polkadot/rpc-provider": "npm:10.12.1"
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-augment": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/types-create": "npm:10.12.1"
"@polkadot/types-support": "npm:10.12.1"
"@polkadot/api": "npm:10.12.2"
"@polkadot/api-augment": "npm:10.12.2"
"@polkadot/rpc-augment": "npm:10.12.2"
"@polkadot/rpc-provider": "npm:10.12.2"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-augment": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/types-create": "npm:10.12.2"
"@polkadot/types-support": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-ws": "npm:^12.6.2"
@@ -732,24 +732,24 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@npm:10.12.1, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@npm:10.12.2, @polkadot/types-augment@workspace:packages/types-augment":
version: 0.0.0-use.local
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
dependencies:
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-codec@npm:10.12.1, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@npm:10.12.2, @polkadot/types-codec@workspace:packages/types-codec":
version: 0.0.0-use.local
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
dependencies:
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-augment": "npm:10.12.1"
"@polkadot/types-support": "npm:10.12.1"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-augment": "npm:10.12.2"
"@polkadot/types-support": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
"@polkadot/x-bigint": "npm:^12.6.2"
@@ -757,32 +757,32 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-create@npm:10.12.1, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@npm:10.12.2, @polkadot/types-create@workspace:packages/types-create":
version: 0.0.0-use.local
resolution: "@polkadot/types-create@workspace:packages/types-create"
dependencies:
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-known@npm:10.12.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@npm:10.12.2, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@polkadot/api": "npm:10.12.1"
"@polkadot/api": "npm:10.12.2"
"@polkadot/networks": "npm:^12.6.2"
"@polkadot/types": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/types-create": "npm:10.12.1"
"@polkadot/types": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/types-create": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
tslib: "npm:^2.6.2"
languageName: unknown
linkType: soft
"@polkadot/types-support@npm:10.12.1, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@npm:10.12.2, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -791,15 +791,15 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@npm:10.12.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@npm:10.12.2, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@polkadot/keyring": "npm:^12.6.2"
"@polkadot/types-augment": "npm:10.12.1"
"@polkadot/types-codec": "npm:10.12.1"
"@polkadot/types-create": "npm:10.12.1"
"@polkadot/types-support": "npm:10.12.1"
"@polkadot/types-augment": "npm:10.12.2"
"@polkadot/types-codec": "npm:10.12.2"
"@polkadot/types-create": "npm:10.12.2"
"@polkadot/types-support": "npm:10.12.2"
"@polkadot/util": "npm:^12.6.2"
"@polkadot/util-crypto": "npm:^12.6.2"
rxjs: "npm:^7.8.1"