Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29cd5ef00b | ||
|
|
7619ffd8cb | ||
|
|
3642889921 | ||
|
|
40cbba1984 | ||
|
|
5d8c70413b | ||
|
|
6b9e1b4d21 | ||
|
|
3e8d4e0e24 | ||
|
|
81e85edc5a | ||
|
|
f5cc1b203d | ||
|
|
0009649d15 | ||
|
|
63afa969e0 | ||
|
|
29ce33fe64 | ||
|
|
528f1262b9 | ||
|
|
a405cb59d0 | ||
|
|
401b746cb8 | ||
|
|
94545879b3 | ||
|
|
cb76a1db74 | ||
|
|
3e231e206a | ||
|
|
f89a8bd201 |
@@ -1,5 +1,21 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 16.4.3 Jul 29, 2025
|
||||
|
||||
- Bump @polkadot/common to 13.5.4 ([#6193](https://github.com/polkadot-js/api/pull/6193))
|
||||
|
||||
|
||||
## 16.4.2 Jul 22, 2025
|
||||
|
||||
- Add validation for cache capacity and TTL in LRUCache ([#6187](https://github.com/polkadot-js/api/pull/6187))
|
||||
|
||||
|
||||
## 16.4.1 Jul 8, 2025
|
||||
|
||||
- Update Kusama types to 1.6.0 ([#6175](https://github.com/polkadot-js/api/pull/6175))
|
||||
- fix(api-contracts): correctly decode pallet_revive events ([#6181](https://github.com/polkadot-js/api/pull/6181))
|
||||
|
||||
|
||||
## 16.3.1 Jul 1, 2025
|
||||
|
||||
- Update Substrate types to Polkadot stable2503-5 ([#6172](https://github.com/polkadot-js/api/pull/6172))
|
||||
|
||||
+6
-4
@@ -1,7 +1,7 @@
|
||||
3512 Jaco Bump deps (#5785)
|
||||
164 Tarik Gul Upgrade polkadot/common to 13.5.1 (#6150)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
47 Valentin Fernandez 16.3.1 (#6180)
|
||||
49 Valentin Fernandez 16.4.1 (#6186)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
||||
@@ -10,10 +10,11 @@
|
||||
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)
|
||||
8 rajk93 16.4.3 (#6194)
|
||||
6 Andreea Eftene Update check for contract instantiation (#5699)
|
||||
6 Arjun Porwal Add validation for cache capacity and TTL in LRUCache (#6187)
|
||||
6 Branislav Kontur Fix for fungiblesApi (#5944)
|
||||
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
||||
5 Arjun Porwal Fix signature issue in `signAsync` + `send` flow (#6177)
|
||||
5 Chevdor Fix metadata package link (#3458)
|
||||
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
||||
5 Julien Eluard General WsProvider extensibility improvements (#5467)
|
||||
@@ -24,7 +25,6 @@
|
||||
4 Alexander Popiak Add asset id in signing (#4009)
|
||||
4 Joshy Orndorff spelling; efect -> effect (#2295)
|
||||
4 Nantian fix bigint type (#3869)
|
||||
4 rajk93 chore: update asset hub kusama types to 1.6.0 (#6176)
|
||||
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
|
||||
3 André Silva add support for ValidationCodeHash (#3640)
|
||||
3 Antoine Estienne Adapted to display moonbeam author (#3108)
|
||||
@@ -38,6 +38,7 @@
|
||||
3 Miguel Hervas Adding RT4 Types (#3007)
|
||||
3 Shawn Tabrizi Add `isReadyOrError` when connecting to API (#2577)
|
||||
3 YJ feat: Vote interface as U8a (#1061)
|
||||
2 Alex Bean fix(api-contracts): correctly decode `pallet_revive` events (#6181)
|
||||
2 Alexander Krupenkin Add [u8; 33] type width for U8aFixed type (#2391)
|
||||
2 Branan Riley Add proxy type for Centrifuge (#3940)
|
||||
2 Caio Add `Range` and `RangeInclusive` types (#3791)
|
||||
@@ -60,7 +61,6 @@
|
||||
2 扩散性百万甜面包 Typo, deocrateMethod -> decorateMethod (#1594)
|
||||
1 Alan Sapede Adds Eth feeHistory & maxPriorityFeePerGas rpc (#4956)
|
||||
1 Aleš Ferlan fix: use H160 for address in getTransactionCount (#5472)
|
||||
1 Alex Bean feat(api-contract): add support for ink! v6 and pallet-revive compatibility (#6158)
|
||||
1 Alisher A. Khassanov Add `offchain_localStorageClear` RPC method (#6070)
|
||||
1 Brad Larson [NEW] Support for custom headers with providers (#2423)
|
||||
1 Btwiuse Arch Add side effect check workaround (#4994) (#5009)
|
||||
@@ -108,6 +108,7 @@
|
||||
1 Lauro Gripa Fix multi call of `defenderVotes` and `isDefenderVoter` flag in `society.members` derivation (#5834)
|
||||
1 Lezek123 BTreeSet and BTreeMap - encoding and serialization fixes (#3789)
|
||||
1 Lovesh Harchandani Fix name of "getBlock" in package "api-derive" and export it in "index.ts" (#2857)
|
||||
1 Manuel Mauro Add EIP-7702 transaction type (#6188)
|
||||
1 Marc Fornós add beefy compact signed commitment definition (#5781)
|
||||
1 Mario Neises fix usage with typescript (#405)
|
||||
1 Mario Pino Add PolkaStats to API users (#1593)
|
||||
@@ -149,4 +150,5 @@
|
||||
1 yjh fix MetadataVersioned.asV12 (#2983)
|
||||
1 Yuri fixes #3693 Fix uniques return types (#3694)
|
||||
1 Zeke Mostov fix: Allow sudo for polkadot indexed proxy enum (#3286)
|
||||
1 ZeroX-Toml Refactor signing functions to use blake2AsU8a for hashing instead of registry.hash in conditional sign of extrinsic payload (#6183)
|
||||
1 zjb0807 Throws detailed error information (#6116)
|
||||
+3
-3
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"versions": {
|
||||
"git": "16.3.1",
|
||||
"npm": "16.3.1"
|
||||
"git": "16.4.3",
|
||||
"npm": "16.4.3"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "16.3.1",
|
||||
"@polkadot/rpc-augment": "16.3.1",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-augment": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/api-base": "16.4.3",
|
||||
"@polkadot/rpc-augment": "16.4.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-augment": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/consts';
|
||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
||||
import type { AccountId32, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -128,7 +128,12 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Bounty duration in blocks.
|
||||
* The time limit for a curator to act before a bounty expires.
|
||||
*
|
||||
* The period that starts when a curator is approved, during which they must execute or
|
||||
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
||||
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
||||
* removing the need for `extend_bounty_expiry`.
|
||||
**/
|
||||
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -348,9 +353,11 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Information concerning the different referendum tracks.
|
||||
* A list of tracks.
|
||||
*
|
||||
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
@@ -707,9 +714,11 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Information concerning the different referendum tracks.
|
||||
* A list of tracks.
|
||||
*
|
||||
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
@@ -983,6 +992,10 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* The period during which an approved treasury spend has to be claimed.
|
||||
**/
|
||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Gets this pallet's derived pot account.
|
||||
**/
|
||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Period between successive spends.
|
||||
**/
|
||||
@@ -1065,5 +1078,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* The latest supported version that we advertise. Generally just set it to
|
||||
* `pallet_xcm::CurrentXcmVersion`.
|
||||
**/
|
||||
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
} // AugmentedConsts
|
||||
} // declare module
|
||||
|
||||
@@ -954,7 +954,7 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
NoApprovalsNeeded: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Multisig operation not found when attempting to cancel.
|
||||
* Multisig operation not found in storage.
|
||||
**/
|
||||
NotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -962,7 +962,8 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
NoTimepoint: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Only the account that originally created the multisig is able to cancel it.
|
||||
* Only the account that originally created the multisig is able to cancel it or update
|
||||
* its deposits.
|
||||
**/
|
||||
NotOwner: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -1260,10 +1261,19 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* A (bonded) pool id does not exist.
|
||||
**/
|
||||
PoolNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Account is restricted from participation in pools. This may happen if the account is
|
||||
* staking in another way already.
|
||||
**/
|
||||
Restricted: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A reward pool does not exist. In all cases this is a system logic error.
|
||||
**/
|
||||
RewardPoolNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The slash amount is too low to be applied.
|
||||
**/
|
||||
SlashTooLow: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A sub pool does not exist.
|
||||
**/
|
||||
@@ -1274,6 +1284,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
onDemandAssignmentProvider: {
|
||||
/**
|
||||
* The account doesn't have enough credits to purchase on-demand coretime.
|
||||
**/
|
||||
InsufficientCredits: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The order queue is full, `place_order` will not continue.
|
||||
**/
|
||||
@@ -2001,6 +2015,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Rewards for this era have already been claimed for this validator.
|
||||
**/
|
||||
AlreadyClaimed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The stake of this account is already migrated to `Fungible` holds.
|
||||
**/
|
||||
AlreadyMigrated: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Controller is already paired.
|
||||
**/
|
||||
@@ -2021,6 +2039,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
||||
**/
|
||||
CannotChillOther: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Stash could not be reaped as other pallet might depend on it.
|
||||
**/
|
||||
CannotReapStash: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Cannot reset a ledger.
|
||||
**/
|
||||
@@ -2099,6 +2121,11 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Can not rebond without unlocking chunks.
|
||||
**/
|
||||
NoUnlockChunk: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Account is restricted from participation in staking. This may happen if the account is
|
||||
* staking in another way already, such as via pool.
|
||||
**/
|
||||
Restricted: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Provided reward destination is not allowed.
|
||||
**/
|
||||
@@ -2301,6 +2328,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The given account is not an identifiable sovereign account for any location.
|
||||
**/
|
||||
AccountNotSovereign: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The alias to remove authorization for was not found.
|
||||
**/
|
||||
AliasNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The location is invalid since it already has a subscription from us.
|
||||
**/
|
||||
@@ -2330,6 +2361,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The assets to be sent are empty.
|
||||
**/
|
||||
Empty: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Expiry block number is in the past.
|
||||
**/
|
||||
ExpiresInPast: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The operation required fees to be paid which the initiator could not meet.
|
||||
**/
|
||||
@@ -2379,6 +2414,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Too many assets have been attempted for transfer.
|
||||
**/
|
||||
TooManyAssets: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Too many locations authorized to alias origin.
|
||||
**/
|
||||
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The asset owner has too many locks on the asset.
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -251,13 +251,17 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* An account that has voted
|
||||
* An account has voted
|
||||
**/
|
||||
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
|
||||
/**
|
||||
* A vote that been removed
|
||||
* A vote has been removed
|
||||
**/
|
||||
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
|
||||
/**
|
||||
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
||||
**/
|
||||
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], { who: AccountId32, class: u16 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -557,6 +561,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
indices: {
|
||||
/**
|
||||
* A deposit to reserve an index has been poked/reconsidered.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A account index was assigned.
|
||||
**/
|
||||
@@ -597,6 +605,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
multisig: {
|
||||
/**
|
||||
* The deposit for a multisig operation has been updated/poked.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A multisig operation has been approved by someone.
|
||||
**/
|
||||
@@ -761,6 +773,14 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A pool has been destroyed.
|
||||
**/
|
||||
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
||||
/**
|
||||
* Global parameters regulating nomination pools have been updated.
|
||||
**/
|
||||
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill> }>;
|
||||
/**
|
||||
* A pool member's claim permission has been updated.
|
||||
**/
|
||||
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], { member: AccountId32, permission: PalletNominationPoolsClaimPermission }>;
|
||||
/**
|
||||
* A member has been removed from a pool.
|
||||
*
|
||||
@@ -769,6 +789,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* represented by `released_balance`.
|
||||
**/
|
||||
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
|
||||
/**
|
||||
* A pool's metadata was updated.
|
||||
**/
|
||||
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* Topped up deficit in frozen ED of the reward pool.
|
||||
**/
|
||||
@@ -801,6 +825,15 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A pool's maximum commission setting has been changed.
|
||||
**/
|
||||
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
|
||||
/**
|
||||
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
||||
* on behalf of the pool.
|
||||
**/
|
||||
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* The pool is chilled i.e. no longer nominating.
|
||||
**/
|
||||
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* The active balance of pool `pool_id` has been slashed to `balance`.
|
||||
**/
|
||||
@@ -859,6 +892,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
onDemandAssignmentProvider: {
|
||||
/**
|
||||
* An account was given credits.
|
||||
**/
|
||||
AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An order was placed at some spot price amount by orderer ordered_by
|
||||
**/
|
||||
@@ -992,6 +1029,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* An announcement was placed to make a call in the future.
|
||||
**/
|
||||
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
|
||||
/**
|
||||
* A deposit stored for proxies or announcements was poked / updated.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A proxy was added.
|
||||
**/
|
||||
@@ -1119,6 +1160,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
scheduler: {
|
||||
/**
|
||||
* Agenda is incomplete from `when`.
|
||||
**/
|
||||
AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], { when: u32 }>;
|
||||
/**
|
||||
* The call for the provided hash was not found so the task has been aborted.
|
||||
**/
|
||||
@@ -1167,6 +1212,14 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* block number as the type might suggest.
|
||||
**/
|
||||
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
||||
/**
|
||||
* Validator has been disabled.
|
||||
**/
|
||||
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
||||
/**
|
||||
* Validator has been re-enabled.
|
||||
**/
|
||||
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -1281,6 +1334,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Report of a controller batch deprecation.
|
||||
**/
|
||||
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
|
||||
/**
|
||||
* Staking balance migrated from locks to holds, with any balance that could not be held
|
||||
* is force withdrawn.
|
||||
**/
|
||||
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], { stash: AccountId32, forceWithdraw: u128 }>;
|
||||
/**
|
||||
* The era payout has been set; the first balance is the validator-payout; the second is
|
||||
* the remainder from the maximum amount of reward.
|
||||
@@ -1371,6 +1429,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A new account was created.
|
||||
**/
|
||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
||||
/**
|
||||
* An invalid authorized upgrade was rejected while trying to apply it.
|
||||
**/
|
||||
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], { codeHash: H256, error: SpRuntimeDispatchError }>;
|
||||
/**
|
||||
* On on-chain remark happened.
|
||||
**/
|
||||
@@ -1468,6 +1530,14 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A call was dispatched.
|
||||
**/
|
||||
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
||||
/**
|
||||
* The fallback call was dispatched.
|
||||
**/
|
||||
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], { mainError: SpRuntimeDispatchError }>;
|
||||
/**
|
||||
* Main call was dispatched.
|
||||
**/
|
||||
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
|
||||
/**
|
||||
* A single item within a Batch of dispatches has completed with no error.
|
||||
**/
|
||||
@@ -1520,6 +1590,19 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* `target` removed alias authorization for `aliaser`.
|
||||
**/
|
||||
AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location }>;
|
||||
/**
|
||||
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
||||
* `expiry` block number.
|
||||
**/
|
||||
AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64> }>;
|
||||
/**
|
||||
* `target` removed all alias authorizations.
|
||||
**/
|
||||
AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], { target: StagingXcmV5Location }>;
|
||||
/**
|
||||
* Some assets have been claimed from an asset trap
|
||||
**/
|
||||
@@ -1600,6 +1683,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* sending the notification to it.
|
||||
**/
|
||||
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
|
||||
/**
|
||||
* An XCM message failed to process.
|
||||
**/
|
||||
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], { origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed }>;
|
||||
/**
|
||||
* Query response has been received and is ready for taking with `take_response`. There is
|
||||
* no registered notification call.
|
||||
@@ -1610,7 +1697,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
|
||||
/**
|
||||
* A XCM message was sent.
|
||||
* An XCM message failed to send.
|
||||
**/
|
||||
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed }>;
|
||||
/**
|
||||
* An XCM message was sent.
|
||||
**/
|
||||
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
|
||||
/**
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
|
||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
import type { Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||
@@ -1167,6 +1167,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Queue entries that are currently bound to a particular core due to core affinity.
|
||||
**/
|
||||
affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Keeps track of credits owned by each account.
|
||||
**/
|
||||
credits: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
||||
**/
|
||||
@@ -1627,6 +1631,9 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Items to be executed, indexed by the block number that they should be executed on.
|
||||
**/
|
||||
agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Block number at which the agenda began incomplete execution.
|
||||
**/
|
||||
incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Lookup from a name to the block number and index of the task.
|
||||
@@ -1656,7 +1663,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||
* a new set of identities.
|
||||
**/
|
||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||
**/
|
||||
@@ -1862,16 +1869,6 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
||||
**/
|
||||
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Indices of validators that have offended in the active era. The offenders are disabled for a
|
||||
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
|
||||
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
|
||||
* implicitly means that the implementor also controls the max number of disabled validators.
|
||||
*
|
||||
* The vec is always kept sorted so that we can find whether a given validator has previously
|
||||
* offended using binary search.
|
||||
**/
|
||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Rewards for the last [`Config::HistoryDepth`] eras.
|
||||
* If reward hasn't been set or has been removed then 0 reward is returned.
|
||||
@@ -2158,6 +2155,16 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
||||
**/
|
||||
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* The weight reclaimed for the extrinsic.
|
||||
*
|
||||
* This information is available until the end of the extrinsic execution.
|
||||
* More precisely this information is removed in `note_applied_extrinsic`.
|
||||
*
|
||||
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
||||
* reduction.
|
||||
**/
|
||||
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Whether all inherents have been applied.
|
||||
**/
|
||||
@@ -2309,6 +2316,12 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* times this pair has been trapped (usually just 1 if it exists at all).
|
||||
**/
|
||||
assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
||||
/**
|
||||
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
||||
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
|
||||
* block number.
|
||||
**/
|
||||
authorizedAliases: AugmentedQuery<ApiType, (arg: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PalletXcmAuthorizedAliasesEntry>>, [XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [XcmVersionedLocation]>;
|
||||
/**
|
||||
* The current migration's stage, if any.
|
||||
**/
|
||||
|
||||
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
||||
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
||||
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
@@ -302,7 +302,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
@@ -367,6 +367,10 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
||||
**/
|
||||
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
|
||||
/**
|
||||
* Returns the constraints on the actions that can be taken by a new parachain, block.
|
||||
**/
|
||||
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingConstraints>>>;
|
||||
/**
|
||||
* Get a vector of events concerning candidates that occurred within a block.
|
||||
**/
|
||||
@@ -431,6 +435,10 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
|
||||
/**
|
||||
* Retrieve the scheduling lookahead
|
||||
**/
|
||||
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Returns execution parameters for the session.
|
||||
**/
|
||||
|
||||
@@ -1012,6 +1012,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
||||
**/
|
||||
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PalletBrokerCoretimeInterfaceCoreAssignment | { Idle: any } | { Pool: any } | { Task: any } | string | Uint8Array, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
|
||||
creditAccount: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128]>;
|
||||
/**
|
||||
* Request the configuration to be updated with the specified number of cores. Warning:
|
||||
* Since this only schedules a configuration update, it takes two sessions to come into
|
||||
@@ -1641,6 +1642,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `O(1)`.
|
||||
**/
|
||||
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Poke the deposit reserved for an index.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
||||
* non-frozen account `index`.
|
||||
*
|
||||
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
||||
*
|
||||
* - `index`: the index whose deposit is to be poked/reconsidered.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
pokeDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Assign an index already owned by the sender to another account. The balance reservation
|
||||
* is effectively transferred to the new account.
|
||||
@@ -1814,6 +1828,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - Storage: removes one item.
|
||||
**/
|
||||
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
|
||||
/**
|
||||
* Poke the deposit reserved for an existing multisig operation.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
||||
* the multisig operation.
|
||||
*
|
||||
* The transaction fee is waived if the deposit amount has changed.
|
||||
*
|
||||
* - `threshold`: The total number of approvals needed for this multisig.
|
||||
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
||||
* multisig.
|
||||
* - `call_hash`: The hash of the call this deposit is reserved for.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -1989,8 +2019,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
||||
* [`adapter::StakeStrategyType::Delegate`].
|
||||
*
|
||||
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
||||
* slash to be applied, caller may be rewarded with the part of the slash.
|
||||
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
||||
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
|
||||
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
||||
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
||||
**/
|
||||
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||
/**
|
||||
@@ -2021,25 +2053,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
||||
* root role, same as [`Pallet::nominate`].
|
||||
*
|
||||
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
||||
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
||||
*
|
||||
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
||||
* account).
|
||||
*
|
||||
* # Conditions for a permissionless dispatch:
|
||||
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
|
||||
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
|
||||
* are unable to unbond.
|
||||
*
|
||||
* # Conditions for permissioned dispatch:
|
||||
* * The caller has a nominator or root role of the pool.
|
||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
||||
* account.
|
||||
* * The caller is the pool's nominator or root.
|
||||
**/
|
||||
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Claim pending commission.
|
||||
*
|
||||
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
||||
* commission is paid out and added to total claimed commission`. Total pending commission
|
||||
* is reset to zero. the current.
|
||||
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
||||
*
|
||||
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
|
||||
* trigger the process of claiming the pool's commission.
|
||||
*
|
||||
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
|
||||
* accounts
|
||||
* * `acc`, and
|
||||
* * the pool's root account
|
||||
*
|
||||
* may call this extrinsic on behalf of the pool.
|
||||
*
|
||||
* Pending commissions are paid out and added to the total claimed commission.
|
||||
* The total pending commission is reset to zero.
|
||||
**/
|
||||
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
@@ -2090,8 +2134,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
||||
/**
|
||||
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
||||
* account and immediately increases the pools bond.
|
||||
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
||||
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
||||
* increases the pool's bond.
|
||||
*
|
||||
* The method of transferring the amount to the pool account is determined by
|
||||
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
||||
@@ -2137,13 +2182,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
||||
* root role.
|
||||
*
|
||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
||||
* account.
|
||||
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
||||
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
||||
*
|
||||
* # Note
|
||||
*
|
||||
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
|
||||
* at least `depositor_min_bond` in the pool to start nominating.
|
||||
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
||||
* have at least `depositor_min_bond` in the pool to start nominating.
|
||||
**/
|
||||
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
||||
/**
|
||||
@@ -2340,6 +2385,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `OnDemandOrderPlaced`
|
||||
**/
|
||||
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
||||
/**
|
||||
* Create a single on demand core order with credits.
|
||||
* Will charge the owner's on-demand credit account the spot price for the current block.
|
||||
*
|
||||
* Parameters:
|
||||
* - `origin`: The sender of the call, on-demand credits will be withdrawn from this
|
||||
* account.
|
||||
* - `max_amount`: The maximum number of credits to spend from the origin to place an
|
||||
* order.
|
||||
* - `para_id`: A `ParaId` the origin wants to provide blockspace for.
|
||||
*
|
||||
* Errors:
|
||||
* - `InsufficientCredits`
|
||||
* - `QueueFull`
|
||||
* - `SpotPriceHigherThanMaxAmount`
|
||||
*
|
||||
* Events:
|
||||
* - `OnDemandOrderPlaced`
|
||||
**/
|
||||
placeOrderWithCredits: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -2458,7 +2523,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
};
|
||||
preimage: {
|
||||
/**
|
||||
* Ensure that the a bulk of pre-images is upgraded.
|
||||
* Ensure that the bulk of pre-images is upgraded.
|
||||
*
|
||||
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
||||
**/
|
||||
@@ -2568,6 +2633,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* account whose `pure` call has corresponding parameters.
|
||||
**/
|
||||
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
||||
/**
|
||||
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
||||
* This can be used by accounts to possibly lower their locked amount.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_.
|
||||
*
|
||||
* The transaction fee is waived if the deposit amount has changed.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||
* `add_proxy`.
|
||||
@@ -2740,7 +2816,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Allow ROOT to bypass the recovery process and set an a rescuer account
|
||||
* Allow ROOT to bypass the recovery process and set a rescuer account
|
||||
* for a lost account directly.
|
||||
*
|
||||
* The dispatch origin for this call must be _ROOT_.
|
||||
@@ -3502,6 +3578,40 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* block any further nominations.
|
||||
**/
|
||||
kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
||||
/**
|
||||
* This function allows governance to manually slash a validator and is a
|
||||
* **fallback mechanism**.
|
||||
*
|
||||
* The dispatch origin must be `T::AdminOrigin`.
|
||||
*
|
||||
* ## Parameters
|
||||
* - `validator_stash` - The stash account of the validator to slash.
|
||||
* - `era` - The era in which the validator was in the active set.
|
||||
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
||||
*
|
||||
* ## Behavior
|
||||
*
|
||||
* The slash will be applied using the standard slashing mechanics, respecting the
|
||||
* configured `SlashDeferDuration`.
|
||||
*
|
||||
* This means:
|
||||
* - If the validator was already slashed by a higher percentage for the same era, this
|
||||
* slash will have no additional effect.
|
||||
* - If the validator was previously slashed by a lower percentage, only the difference
|
||||
* will be applied.
|
||||
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
||||
**/
|
||||
manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
|
||||
/**
|
||||
* Removes the legacy Staking locks if they exist.
|
||||
*
|
||||
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
||||
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
||||
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
||||
*
|
||||
* The fee is waived if the migration is successful.
|
||||
**/
|
||||
migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
||||
/**
|
||||
* Declare the desire to nominate `targets` for the origin controller.
|
||||
*
|
||||
@@ -3719,15 +3829,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
||||
**/
|
||||
validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | { commission?: any; blocked?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
|
||||
/**
|
||||
* Adjusts the staking ledger by withdrawing any excess staked amount.
|
||||
*
|
||||
* This function corrects cases where a user's recorded stake in the ledger
|
||||
* exceeds their actual staked funds. This situation can arise due to cases such as
|
||||
* external slashing by another pallet, leading to an inconsistency between the ledger
|
||||
* and the actual stake.
|
||||
**/
|
||||
withdrawOverstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
||||
/**
|
||||
* Remove any unlocked chunks from the `unlocking` queue from our management.
|
||||
*
|
||||
@@ -4068,6 +4169,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - O(1).
|
||||
**/
|
||||
dispatchAs: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, Call]>;
|
||||
/**
|
||||
* Dispatches a function call with a provided origin.
|
||||
*
|
||||
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
||||
*
|
||||
* The dispatch origin for this call must be _Root_.
|
||||
**/
|
||||
dispatchAsFallible: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, Call]>;
|
||||
/**
|
||||
* Send a batch of dispatch calls.
|
||||
* Unlike `batch`, it allows errors and won't interrupt.
|
||||
@@ -4084,6 +4193,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - O(C) where C is the number of calls to be batched.
|
||||
**/
|
||||
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
||||
/**
|
||||
* Dispatch a fallback call in the event the main call fails to execute.
|
||||
* May be called from any origin except `None`.
|
||||
*
|
||||
* This function first attempts to dispatch the `main` call.
|
||||
* If the `main` call fails, the `fallback` is attemted.
|
||||
* if the fallback is successfully dispatched, the weights of both calls
|
||||
* are accumulated and an event containing the main call error is deposited.
|
||||
*
|
||||
* In the event of a fallback failure the whole call fails
|
||||
* with the weights returned.
|
||||
*
|
||||
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
||||
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
||||
*
|
||||
* ## Dispatch Logic
|
||||
* - If the origin is `root`, both the main and fallback calls are executed without
|
||||
* applying any origin filters.
|
||||
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
||||
* `fallback` calls.
|
||||
*
|
||||
* ## Use Case
|
||||
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
||||
* or both.
|
||||
**/
|
||||
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
|
||||
/**
|
||||
* Dispatch a function call with a specified weight.
|
||||
*
|
||||
@@ -4245,6 +4380,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
||||
* The `aliaser` is only authorized until the provided `expiry` block number.
|
||||
* The call can also be used for a previously authorized alias in order to update its
|
||||
* `expiry` block number.
|
||||
*
|
||||
* Usually useful to allow your local account to be aliased into from a remote location
|
||||
* also under your control (like your account on another chain).
|
||||
*
|
||||
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
||||
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
||||
* `origin` in XCM programs executed on the local chain.
|
||||
**/
|
||||
addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
|
||||
/**
|
||||
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
|
||||
*
|
||||
@@ -4359,6 +4508,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
||||
**/
|
||||
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
|
||||
/**
|
||||
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
||||
* making this call.
|
||||
**/
|
||||
removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
||||
* the local `origin` making this call.
|
||||
**/
|
||||
removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
|
||||
/**
|
||||
* Transfer some assets from the local chain to the destination chain through their local,
|
||||
* destination or remote reserve.
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "16.3.1",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/rpc-core": "16.4.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,22 +18,22 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.3.1",
|
||||
"@polkadot/api-augment": "16.3.1",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/types-create": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/util-crypto": "^13.5.3",
|
||||
"@polkadot/api": "16.4.3",
|
||||
"@polkadot/api-augment": "16.4.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/types-create": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"@polkadot/util-crypto": "^13.5.4",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "16.3.1",
|
||||
"@polkadot/keyring": "^13.5.3",
|
||||
"@polkadot/types-support": "16.3.1"
|
||||
"@polkadot/api-augment": "16.4.3",
|
||||
"@polkadot/keyring": "^13.5.4",
|
||||
"@polkadot/types-support": "16.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -194,12 +194,55 @@ export class Abi {
|
||||
// earlier version are hoisted to v4
|
||||
case '4':
|
||||
return this.#decodeEventV4(record);
|
||||
case '5':
|
||||
return this.#decodeEventV5(record);
|
||||
// Latest
|
||||
default:
|
||||
return this.#decodeEventV5(record);
|
||||
return this.#decodeEventV6(record);
|
||||
}
|
||||
}
|
||||
|
||||
#decodeEventV6 = (record: EventRecord): DecodedEvent => {
|
||||
const topics = record.event.data[2] as unknown as { toHex: () => string }[];
|
||||
// Try to match by signature topic (first topic)
|
||||
const signatureTopic = topics[0];
|
||||
const data = record.event.data[1] as Bytes;
|
||||
|
||||
if (signatureTopic) {
|
||||
const event = this.events.find((e) => e.signatureTopic !== undefined && e.signatureTopic !== null && e.signatureTopic === signatureTopic.toHex());
|
||||
|
||||
// Early return if event found by signature topic
|
||||
if (event) {
|
||||
return event.fromU8a(data);
|
||||
}
|
||||
}
|
||||
|
||||
// If no event returned yet, it might be anonymous
|
||||
const amountOfTopics = topics.length;
|
||||
const potentialEvents = this.events.filter((e) => {
|
||||
// event can't have a signature topic
|
||||
if (e.signatureTopic !== null && e.signatureTopic !== undefined) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// event should have same amount of indexed fields as emitted topics
|
||||
const amountIndexed = e.args.filter((a) => a.indexed).length;
|
||||
|
||||
if (amountIndexed !== amountOfTopics) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// If all conditions met, it's a potential event
|
||||
return true;
|
||||
});
|
||||
|
||||
if (potentialEvents.length === 1) {
|
||||
return potentialEvents[0].fromU8a(data);
|
||||
}
|
||||
|
||||
throw new Error('Unable to determine event');
|
||||
};
|
||||
|
||||
#decodeEventV5 = (record: EventRecord): DecodedEvent => {
|
||||
// Find event by first topic, which potentially is the signature_topic
|
||||
const signatureTopic = record.topics[0];
|
||||
|
||||
@@ -85,7 +85,7 @@ export class Blueprint<ApiType extends ApiTypes> extends Base<ApiType> {
|
||||
: undefined
|
||||
)
|
||||
: applyOnEvent(result, ['Instantiated'], ([record]: EventRecord[]) =>
|
||||
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod)
|
||||
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod), this._isRevive
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
@@ -110,7 +110,7 @@ export class Code<ApiType extends ApiTypes> extends Base<ApiType> {
|
||||
: this.api.events.contracts.CodeStored.is(event)
|
||||
? [new Blueprint<ApiType>(this.api, this.abi, (event as unknown as { data: [AccountId] }).data[0], this._decorateMethod), contract]
|
||||
: [blueprint, contract],
|
||||
[undefined, undefined])
|
||||
[undefined, undefined]), this._isRevive
|
||||
) || [undefined, undefined]))
|
||||
);
|
||||
};
|
||||
|
||||
@@ -125,7 +125,7 @@ export class Contract<ApiType extends ApiTypes> extends Base<ApiType> {
|
||||
return null;
|
||||
}
|
||||
})
|
||||
.filter((decoded): decoded is DecodedEvent => !!decoded)
|
||||
.filter((decoded): decoded is DecodedEvent => !!decoded), this._isRevive
|
||||
))
|
||||
);
|
||||
};
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -6,9 +6,10 @@ import type { EventRecord } from '@polkadot/types/interfaces';
|
||||
|
||||
type ContractEvents = 'CodeStored' | 'ContractEmitted' | 'ContractExecution' | 'Instantiated';
|
||||
|
||||
export function applyOnEvent <T> (result: SubmittableResult, types: ContractEvents[], fn: (records: EventRecord[]) => T): T | undefined {
|
||||
export function applyOnEvent <T> (result: SubmittableResult, types: ContractEvents[], fn: (records: EventRecord[]) => T, isRevive: boolean): T | undefined {
|
||||
if (result.isInBlock || result.isFinalized) {
|
||||
const records = result.filterRecords('contracts', types);
|
||||
const section = isRevive ? 'revive' : 'contracts';
|
||||
const records = result.filterRecords(section, types);
|
||||
|
||||
if (records.length) {
|
||||
return fn(records);
|
||||
|
||||
@@ -18,25 +18,25 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.3.1",
|
||||
"@polkadot/api-augment": "16.3.1",
|
||||
"@polkadot/api-base": "16.3.1",
|
||||
"@polkadot/rpc-core": "16.3.1",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/util-crypto": "^13.5.3",
|
||||
"@polkadot/api": "16.4.3",
|
||||
"@polkadot/api-augment": "16.4.3",
|
||||
"@polkadot/api-base": "16.4.3",
|
||||
"@polkadot/rpc-core": "16.4.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"@polkadot/util-crypto": "^13.5.4",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "16.3.1",
|
||||
"@polkadot/api-augment": "16.3.1",
|
||||
"@polkadot/rpc-augment": "16.3.1",
|
||||
"@polkadot/rpc-provider": "16.3.1",
|
||||
"@polkadot/types-support": "16.3.1"
|
||||
"@polkadot/api": "16.4.3",
|
||||
"@polkadot/api-augment": "16.4.3",
|
||||
"@polkadot/rpc-augment": "16.4.3",
|
||||
"@polkadot/rpc-provider": "16.4.3",
|
||||
"@polkadot/types-support": "16.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
+17
-17
@@ -18,29 +18,29 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "16.3.1",
|
||||
"@polkadot/api-base": "16.3.1",
|
||||
"@polkadot/api-derive": "16.3.1",
|
||||
"@polkadot/keyring": "^13.5.3",
|
||||
"@polkadot/rpc-augment": "16.3.1",
|
||||
"@polkadot/rpc-core": "16.3.1",
|
||||
"@polkadot/rpc-provider": "16.3.1",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-augment": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/types-create": "16.3.1",
|
||||
"@polkadot/types-known": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/util-crypto": "^13.5.3",
|
||||
"@polkadot/api-augment": "16.4.3",
|
||||
"@polkadot/api-base": "16.4.3",
|
||||
"@polkadot/api-derive": "16.4.3",
|
||||
"@polkadot/keyring": "^13.5.4",
|
||||
"@polkadot/rpc-augment": "16.4.3",
|
||||
"@polkadot/rpc-core": "16.4.3",
|
||||
"@polkadot/rpc-provider": "16.4.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-augment": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/types-create": "16.4.3",
|
||||
"@polkadot/types-known": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"@polkadot/util-crypto": "^13.5.4",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "16.3.1",
|
||||
"@polkadot/types-support": "16.3.1"
|
||||
"@polkadot/api-augment": "16.4.3",
|
||||
"@polkadot/types-support": "16.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "16.3.1",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/rpc-core": "16.4.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "16.3.1",
|
||||
"@polkadot/rpc-provider": "16.3.1",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/rpc-augment": "16.4.3",
|
||||
"@polkadot/rpc-provider": "16.4.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^13.5.3",
|
||||
"@polkadot/rpc-augment": "16.3.1"
|
||||
"@polkadot/keyring": "^13.5.4",
|
||||
"@polkadot/rpc-augment": "16.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.5.3",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-support": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/util-crypto": "^13.5.3",
|
||||
"@polkadot/x-fetch": "^13.5.3",
|
||||
"@polkadot/x-global": "^13.5.3",
|
||||
"@polkadot/x-ws": "^13.5.3",
|
||||
"@polkadot/keyring": "^13.5.4",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-support": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"@polkadot/util-crypto": "^13.5.4",
|
||||
"@polkadot/x-fetch": "^13.5.4",
|
||||
"@polkadot/x-global": "^13.5.4",
|
||||
"@polkadot/x-ws": "^13.5.4",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"mock-socket": "^9.3.1",
|
||||
"nock": "^13.5.5",
|
||||
|
||||
@@ -31,6 +31,16 @@ describe('Http', (): void => {
|
||||
).not.toThrow();
|
||||
});
|
||||
|
||||
it('should throw error on negative cache capacity or TTL', () => {
|
||||
expect(() =>
|
||||
new HttpProvider(TEST_HTTP_URL, {}, -5, 30000)
|
||||
).toThrow(/'capacity' must be a non-negative integer/);
|
||||
|
||||
expect(() =>
|
||||
new HttpProvider(TEST_HTTP_URL, {}, 1024, -1000)
|
||||
).toThrow(/'ttl' must be between 0 and 1800000 ms or null to disable/);
|
||||
});
|
||||
|
||||
it('allow clone', (): void => {
|
||||
const clone = http.clone();
|
||||
/* eslint-disable */
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
// for Kusama/Polkadot/Substrate falls between 600-750K, 2x for estimate)
|
||||
|
||||
export const DEFAULT_CAPACITY = 1024;
|
||||
export const DEFAULT_TTL = 30000;
|
||||
export const DEFAULT_TTL = 30000; // 30 seconds
|
||||
const MAX_TTL = 1800_000; // 30 minutes
|
||||
|
||||
// If the user decides to disable the TTL we set the value
|
||||
// to a very high number (A year = 365 * 24 * 60 * 60 * 1000).
|
||||
@@ -52,6 +53,16 @@ export class LRUCache {
|
||||
readonly #ttl: number;
|
||||
|
||||
constructor (capacity = DEFAULT_CAPACITY, ttl: number | null = DEFAULT_TTL) {
|
||||
// Validate capacity
|
||||
if (!Number.isInteger(capacity) || capacity < 0) {
|
||||
throw new Error(`LRUCache initialization error: 'capacity' must be a non-negative integer. Received: ${capacity}`);
|
||||
}
|
||||
|
||||
// Validate ttl
|
||||
if (ttl !== null && (!Number.isFinite(ttl) || ttl < 0 || ttl > MAX_TTL)) {
|
||||
throw new Error(`LRUCache initialization error: 'ttl' must be between 0 and ${MAX_TTL} ms or null to disable. Received: ${ttl}`);
|
||||
}
|
||||
|
||||
this.capacity = capacity;
|
||||
ttl ? this.#ttl = ttl : this.#ttl = DISABLED_TTL;
|
||||
this.#head = this.#tail = new LRUNode('<empty>', this.#ttl);
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -60,6 +60,11 @@ describe('Endpoint Parsing', (): void => {
|
||||
new WsProvider(TEST_WS_URL, 0);
|
||||
});
|
||||
|
||||
it('should throw error on negative cache capacity or TTL', () => {
|
||||
expect(() => new WsProvider(TEST_WS_URL, false, {}, undefined, -5, 30000)).toThrow(/'capacity' must be a non-negative integer/);
|
||||
expect(() => new WsProvider(TEST_WS_URL, false, {}, undefined, 1024, -1000)).toThrow(/'ttl' must be between 0 and 1800000 ms or null to disable/);
|
||||
});
|
||||
|
||||
it('Throws when WsProvider endpoint is an invalid string', () => {
|
||||
expect(
|
||||
() => new WsProvider('http://127.0.0.1:9955', 0)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,19 +28,19 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.3.1",
|
||||
"@polkadot/api-augment": "16.3.1",
|
||||
"@polkadot/api-derive": "16.3.1",
|
||||
"@polkadot/rpc-augment": "16.3.1",
|
||||
"@polkadot/rpc-provider": "16.3.1",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-augment": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/types-create": "16.3.1",
|
||||
"@polkadot/types-support": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/util-crypto": "^13.5.3",
|
||||
"@polkadot/x-ws": "^13.5.3",
|
||||
"@polkadot/api": "16.4.3",
|
||||
"@polkadot/api-augment": "16.4.3",
|
||||
"@polkadot/api-derive": "16.4.3",
|
||||
"@polkadot/rpc-augment": "16.4.3",
|
||||
"@polkadot/rpc-provider": "16.4.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-augment": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/types-create": "16.4.3",
|
||||
"@polkadot/types-support": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"@polkadot/util-crypto": "^13.5.4",
|
||||
"@polkadot/x-ws": "^13.5.4",
|
||||
"comment-parser": "^1.4.1",
|
||||
"handlebars": "^4.7.8",
|
||||
"tslib": "^2.8.1",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ export default {
|
||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
||||
},
|
||||
/**
|
||||
* Lookup509: staging_kusama_runtime::RuntimeParametersKey
|
||||
* Lookup510: staging_kusama_runtime::RuntimeParametersKey
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeParametersKey: {
|
||||
_enum: {
|
||||
@@ -235,19 +235,19 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup510: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
|
||||
* Lookup511: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationParametersKey: {
|
||||
_enum: ['MinInflation', 'MaxInflation', 'IdealStake', 'Falloff', 'UseAuctionSlots']
|
||||
},
|
||||
/**
|
||||
* Lookup511: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
|
||||
* Lookup512: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsTreasuryParametersKey: {
|
||||
_enum: ['BurnPortion', 'BurnDestination']
|
||||
},
|
||||
/**
|
||||
* Lookup513: staging_kusama_runtime::RuntimeParametersValue
|
||||
* Lookup514: staging_kusama_runtime::RuntimeParametersValue
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeParametersValue: {
|
||||
_enum: {
|
||||
@@ -256,7 +256,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup514: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
|
||||
* Lookup515: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationParametersValue: {
|
||||
_enum: {
|
||||
@@ -268,7 +268,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup515: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
|
||||
* Lookup516: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsTreasuryParametersValue: {
|
||||
_enum: {
|
||||
@@ -277,7 +277,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup604: staging_kusama_runtime::RuntimeHoldReason
|
||||
* Lookup608: staging_kusama_runtime::RuntimeHoldReason
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeHoldReason: {
|
||||
_enum: {
|
||||
@@ -287,7 +287,7 @@ export default {
|
||||
__Unused3: 'Null',
|
||||
__Unused4: 'Null',
|
||||
__Unused5: 'Null',
|
||||
__Unused6: 'Null',
|
||||
Staking: 'PalletStakingPalletHoldReason',
|
||||
__Unused7: 'Null',
|
||||
__Unused8: 'Null',
|
||||
__Unused9: 'Null',
|
||||
@@ -328,11 +328,63 @@ export default {
|
||||
__Unused44: 'Null',
|
||||
__Unused45: 'Null',
|
||||
__Unused46: 'Null',
|
||||
DelegatedStaking: 'PalletDelegatedStakingHoldReason'
|
||||
DelegatedStaking: 'PalletDelegatedStakingHoldReason',
|
||||
__Unused48: 'Null',
|
||||
__Unused49: 'Null',
|
||||
__Unused50: 'Null',
|
||||
__Unused51: 'Null',
|
||||
__Unused52: 'Null',
|
||||
__Unused53: 'Null',
|
||||
__Unused54: 'Null',
|
||||
__Unused55: 'Null',
|
||||
__Unused56: 'Null',
|
||||
__Unused57: 'Null',
|
||||
__Unused58: 'Null',
|
||||
__Unused59: 'Null',
|
||||
__Unused60: 'Null',
|
||||
__Unused61: 'Null',
|
||||
__Unused62: 'Null',
|
||||
__Unused63: 'Null',
|
||||
__Unused64: 'Null',
|
||||
__Unused65: 'Null',
|
||||
__Unused66: 'Null',
|
||||
__Unused67: 'Null',
|
||||
__Unused68: 'Null',
|
||||
__Unused69: 'Null',
|
||||
__Unused70: 'Null',
|
||||
__Unused71: 'Null',
|
||||
__Unused72: 'Null',
|
||||
__Unused73: 'Null',
|
||||
__Unused74: 'Null',
|
||||
__Unused75: 'Null',
|
||||
__Unused76: 'Null',
|
||||
__Unused77: 'Null',
|
||||
__Unused78: 'Null',
|
||||
__Unused79: 'Null',
|
||||
__Unused80: 'Null',
|
||||
__Unused81: 'Null',
|
||||
__Unused82: 'Null',
|
||||
__Unused83: 'Null',
|
||||
__Unused84: 'Null',
|
||||
__Unused85: 'Null',
|
||||
__Unused86: 'Null',
|
||||
__Unused87: 'Null',
|
||||
__Unused88: 'Null',
|
||||
__Unused89: 'Null',
|
||||
__Unused90: 'Null',
|
||||
__Unused91: 'Null',
|
||||
__Unused92: 'Null',
|
||||
__Unused93: 'Null',
|
||||
__Unused94: 'Null',
|
||||
__Unused95: 'Null',
|
||||
__Unused96: 'Null',
|
||||
__Unused97: 'Null',
|
||||
__Unused98: 'Null',
|
||||
XcmPallet: 'PalletXcmHoldReason'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup611: staging_kusama_runtime::RuntimeFreezeReason
|
||||
* Lookup617: staging_kusama_runtime::RuntimeFreezeReason
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeFreezeReason: {
|
||||
_enum: {
|
||||
@@ -381,32 +433,18 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup686: pallet_referenda::types::TrackInfo<Balance, Moment>
|
||||
**/
|
||||
PalletReferendaTrackInfo: {
|
||||
name: 'Text',
|
||||
maxDeciding: 'u32',
|
||||
decisionDeposit: 'u128',
|
||||
preparePeriod: 'u32',
|
||||
decisionPeriod: 'u32',
|
||||
confirmPeriod: 'u32',
|
||||
minEnactmentPeriod: 'u32',
|
||||
minApproval: 'PalletReferendaCurve',
|
||||
minSupport: 'PalletReferendaCurve'
|
||||
},
|
||||
/**
|
||||
* Lookup783: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
|
||||
* Lookup791: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
|
||||
**/
|
||||
FrameSupportTokensMiscIdAmount: {
|
||||
id: 'Null',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup970: staging_kusama_runtime::Runtime
|
||||
* Lookup983: staging_kusama_runtime::Runtime
|
||||
**/
|
||||
StagingKusamaRuntimeRuntime: 'Null',
|
||||
/**
|
||||
* Lookup1084: staging_kusama_runtime::RuntimeError
|
||||
* Lookup1099: staging_kusama_runtime::RuntimeError
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeError: {
|
||||
_enum: {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/lookup';
|
||||
|
||||
import type { Compact, Enum, Null, Option, Struct, Text, Vec, bool, u128, u16, u32 } from '@polkadot/types-codec';
|
||||
import type { Compact, Enum, Null, Option, Struct, Vec, bool, u128, u16, u32 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, PerU16, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
@@ -166,7 +166,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersKey (509) */
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersKey (510) */
|
||||
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
|
||||
readonly isInflation: boolean;
|
||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
|
||||
@@ -175,7 +175,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Inflation' | 'Treasury';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (510) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (511) */
|
||||
interface StagingKusamaRuntimeDynamicParamsInflationParametersKey extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly isMaxInflation: boolean;
|
||||
@@ -185,14 +185,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (511) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (512) */
|
||||
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersKey extends Enum {
|
||||
readonly isBurnPortion: boolean;
|
||||
readonly isBurnDestination: boolean;
|
||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersValue (513) */
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersValue (514) */
|
||||
interface StagingKusamaRuntimeRuntimeParametersValue extends Enum {
|
||||
readonly isInflation: boolean;
|
||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
|
||||
@@ -201,7 +201,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Inflation' | 'Treasury';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (514) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (515) */
|
||||
interface StagingKusamaRuntimeDynamicParamsInflationParametersValue extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly asMinInflation: Perquintill;
|
||||
@@ -216,7 +216,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (515) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (516) */
|
||||
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersValue extends Enum {
|
||||
readonly isBurnPortion: boolean;
|
||||
readonly asBurnPortion: Permill;
|
||||
@@ -225,47 +225,38 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeHoldReason (604) */
|
||||
/** @name StagingKusamaRuntimeRuntimeHoldReason (608) */
|
||||
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||
readonly isStaking: boolean;
|
||||
readonly asStaking: PalletStakingPalletHoldReason;
|
||||
readonly isPreimage: boolean;
|
||||
readonly asPreimage: PalletPreimageHoldReason;
|
||||
readonly isNis: boolean;
|
||||
readonly asNis: PalletNisHoldReason;
|
||||
readonly isDelegatedStaking: boolean;
|
||||
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
|
||||
readonly type: 'Preimage' | 'Nis' | 'DelegatedStaking';
|
||||
readonly isXcmPallet: boolean;
|
||||
readonly asXcmPallet: PalletXcmHoldReason;
|
||||
readonly type: 'Staking' | 'Preimage' | 'Nis' | 'DelegatedStaking' | 'XcmPallet';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeFreezeReason (611) */
|
||||
/** @name StagingKusamaRuntimeRuntimeFreezeReason (617) */
|
||||
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
|
||||
readonly isNominationPools: boolean;
|
||||
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
||||
readonly type: 'NominationPools';
|
||||
}
|
||||
|
||||
/** @name PalletReferendaTrackInfo (686) */
|
||||
interface PalletReferendaTrackInfo extends Struct {
|
||||
readonly name: Text;
|
||||
readonly maxDeciding: u32;
|
||||
readonly decisionDeposit: u128;
|
||||
readonly preparePeriod: u32;
|
||||
readonly decisionPeriod: u32;
|
||||
readonly confirmPeriod: u32;
|
||||
readonly minEnactmentPeriod: u32;
|
||||
readonly minApproval: PalletReferendaCurve;
|
||||
readonly minSupport: PalletReferendaCurve;
|
||||
}
|
||||
|
||||
/** @name FrameSupportTokensMiscIdAmount (783) */
|
||||
/** @name FrameSupportTokensMiscIdAmount (791) */
|
||||
interface FrameSupportTokensMiscIdAmount extends Struct {
|
||||
readonly id: Null;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntime (970) */
|
||||
/** @name StagingKusamaRuntimeRuntime (983) */
|
||||
type StagingKusamaRuntimeRuntime = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeError (1084) */
|
||||
/** @name StagingKusamaRuntimeRuntimeError (1099) */
|
||||
interface StagingKusamaRuntimeRuntimeError extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSystemError;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -33,7 +33,7 @@ import type { BlockStats } from '@polkadot/types/interfaces/dev';
|
||||
import type { CallDryRunEffects, DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, XcmDryRunEffects } from '@polkadot/types/interfaces/dryRunApi';
|
||||
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
|
||||
import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
|
||||
import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
|
||||
import type { BlockV0, BlockV1, BlockV2, BlockV3, EIP1559Transaction, EIP2930Transaction, EIP7702Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthAuthorizationList, EthAuthorizationListItem, EthAuthorizationSignature, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLegacyTransactionSignature, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthReceiptV4, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2, TransactionV3 } from '@polkadot/types/interfaces/eth';
|
||||
import type { EvmAccount, EvmCallInfo, EvmCallInfoV2, EvmCreateInfo, EvmCreateInfoV2, EvmLog, EvmVicinity, EvmWeightInfo, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';
|
||||
import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicPayloadV5, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicSignatureV5, ExtrinsicUnknown, ExtrinsicV4, ExtrinsicV5, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
|
||||
import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles';
|
||||
@@ -204,6 +204,7 @@ declare module '@polkadot/types/types/registry' {
|
||||
BlockV0: BlockV0;
|
||||
BlockV1: BlockV1;
|
||||
BlockV2: BlockV2;
|
||||
BlockV3: BlockV3;
|
||||
BlockWeights: BlockWeights;
|
||||
BodyId: BodyId;
|
||||
BodyIdV2: BodyIdV2;
|
||||
@@ -405,6 +406,7 @@ declare module '@polkadot/types/types/registry' {
|
||||
Ed25519Signature: Ed25519Signature;
|
||||
EIP1559Transaction: EIP1559Transaction;
|
||||
EIP2930Transaction: EIP2930Transaction;
|
||||
EIP7702Transaction: EIP7702Transaction;
|
||||
ElectionCompute: ElectionCompute;
|
||||
ElectionPhase: ElectionPhase;
|
||||
ElectionResult: ElectionResult;
|
||||
@@ -434,6 +436,9 @@ declare module '@polkadot/types/types/registry' {
|
||||
EthAccessListItem: EthAccessListItem;
|
||||
EthAccount: EthAccount;
|
||||
EthAddress: EthAddress;
|
||||
EthAuthorizationList: EthAuthorizationList;
|
||||
EthAuthorizationListItem: EthAuthorizationListItem;
|
||||
EthAuthorizationSignature: EthAuthorizationSignature;
|
||||
EthBlock: EthBlock;
|
||||
EthBloom: EthBloom;
|
||||
EthCallRequest: EthCallRequest;
|
||||
@@ -449,10 +454,12 @@ declare module '@polkadot/types/types/registry' {
|
||||
EthFilterTopicEntry: EthFilterTopicEntry;
|
||||
EthFilterTopicInner: EthFilterTopicInner;
|
||||
EthHeader: EthHeader;
|
||||
EthLegacyTransactionSignature: EthLegacyTransactionSignature;
|
||||
EthLog: EthLog;
|
||||
EthReceipt: EthReceipt;
|
||||
EthReceiptV0: EthReceiptV0;
|
||||
EthReceiptV3: EthReceiptV3;
|
||||
EthReceiptV4: EthReceiptV4;
|
||||
EthRichBlock: EthRichBlock;
|
||||
EthRichHeader: EthRichHeader;
|
||||
EthStorageProof: EthStorageProof;
|
||||
@@ -1226,6 +1233,7 @@ declare module '@polkadot/types/types/registry' {
|
||||
TransactionV0: TransactionV0;
|
||||
TransactionV1: TransactionV1;
|
||||
TransactionV2: TransactionV2;
|
||||
TransactionV3: TransactionV3;
|
||||
TransactionValidity: TransactionValidity;
|
||||
TransactionValidityError: TransactionValidityError;
|
||||
TransientValidationData: TransientValidationData;
|
||||
|
||||
@@ -5,13 +5,12 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/types/registry';
|
||||
|
||||
import type { FrameSupportTokensMiscIdAmount, KusamaRuntimeConstantsProxyProxyType, PalletReferendaTrackInfo, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportTokensMiscIdAmount, KusamaRuntimeConstantsProxyProxyType, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
|
||||
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
interface InterfaceTypes {
|
||||
FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount;
|
||||
KusamaRuntimeConstantsProxyProxyType: KusamaRuntimeConstantsProxyProxyType;
|
||||
PalletReferendaTrackInfo: PalletReferendaTrackInfo;
|
||||
StagingKusamaRuntimeBurnDestinationAccount: StagingKusamaRuntimeBurnDestinationAccount;
|
||||
StagingKusamaRuntimeDynamicParamsInflationFalloff: StagingKusamaRuntimeDynamicParamsInflationFalloff;
|
||||
StagingKusamaRuntimeDynamicParamsInflationIdealStake: StagingKusamaRuntimeDynamicParamsInflationIdealStake;
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/x-bigint": "^13.5.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"@polkadot/x-bigint": "^13.5.4",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-augment": "16.3.1",
|
||||
"@polkadot/types-support": "16.3.1",
|
||||
"@polkadot/util-crypto": "^13.5.3"
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-augment": "16.4.3",
|
||||
"@polkadot/types-support": "16.4.3",
|
||||
"@polkadot/util-crypto": "^13.5.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "16.3.1"
|
||||
"@polkadot/types": "16.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^13.5.3",
|
||||
"@polkadot/types": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/types-create": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/networks": "^13.5.4",
|
||||
"@polkadot/types": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/types-create": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "16.3.1"
|
||||
"@polkadot/api": "16.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ export default {
|
||||
"specName": "kusama",
|
||||
"implName": "parity-kusama",
|
||||
"authoringVersion": 2,
|
||||
"specVersion": 1005000,
|
||||
"specVersion": 1006000,
|
||||
"implVersion": 0,
|
||||
"apis": [
|
||||
[
|
||||
@@ -38,7 +38,7 @@ export default {
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
12
|
||||
13
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -18,20 +18,20 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.3.1",
|
||||
"version": "16.4.3",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.5.3",
|
||||
"@polkadot/types-augment": "16.3.1",
|
||||
"@polkadot/types-codec": "16.3.1",
|
||||
"@polkadot/types-create": "16.3.1",
|
||||
"@polkadot/util": "^13.5.3",
|
||||
"@polkadot/util-crypto": "^13.5.3",
|
||||
"@polkadot/keyring": "^13.5.4",
|
||||
"@polkadot/types-augment": "16.4.3",
|
||||
"@polkadot/types-codec": "16.4.3",
|
||||
"@polkadot/types-create": "16.4.3",
|
||||
"@polkadot/util": "^13.5.4",
|
||||
"@polkadot/util-crypto": "^13.5.4",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^13.5.3",
|
||||
"@polkadot/types-support": "16.3.1"
|
||||
"@polkadot/keyring": "^13.5.4",
|
||||
"@polkadot/types-support": "16.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,10 +5,12 @@ import type { SignOptions } from '@polkadot/keyring/types';
|
||||
import type { Registry } from '@polkadot/types-codec/types';
|
||||
import type { IKeyringPair } from '../types/index.js';
|
||||
|
||||
import { blake2AsU8a } from '@polkadot/util-crypto';
|
||||
|
||||
// a helper function for both types of payloads, Raw and metadata-known
|
||||
export function sign (registry: Registry, signerPair: IKeyringPair, u8a: Uint8Array, options?: SignOptions): Uint8Array {
|
||||
export function sign (_registry: Registry, signerPair: IKeyringPair, u8a: Uint8Array, options?: SignOptions): Uint8Array {
|
||||
const encoded = u8a.length > 256
|
||||
? registry.hash(u8a)
|
||||
? blake2AsU8a(u8a)
|
||||
: u8a;
|
||||
|
||||
return signerPair.sign(encoded, options);
|
||||
|
||||
@@ -24,7 +24,7 @@ const V0: DefinitionsTypes = {
|
||||
action: 'EthTransactionAction',
|
||||
value: 'U256',
|
||||
input: 'Bytes',
|
||||
signature: 'EthTransactionSignature'
|
||||
signature: 'EthLegacyTransactionSignature'
|
||||
},
|
||||
TransactionV0: 'LegacyTransaction'
|
||||
};
|
||||
@@ -44,9 +44,7 @@ const V1: DefinitionsTypes = {
|
||||
value: 'U256',
|
||||
input: 'Bytes',
|
||||
accessList: 'EthAccessList',
|
||||
oddYParity: 'bool',
|
||||
r: 'H256',
|
||||
s: 'H256'
|
||||
signature: 'EthTransactionSignature'
|
||||
},
|
||||
TransactionV1: {
|
||||
_enum: {
|
||||
@@ -72,9 +70,7 @@ const V2: DefinitionsTypes = {
|
||||
value: 'U256',
|
||||
input: 'Bytes',
|
||||
accessList: 'EthAccessList',
|
||||
oddYParity: 'bool',
|
||||
r: 'H256',
|
||||
s: 'H256'
|
||||
signature: 'EthTransactionSignature'
|
||||
},
|
||||
TransactionV2: {
|
||||
_enum: {
|
||||
@@ -85,10 +81,40 @@ const V2: DefinitionsTypes = {
|
||||
}
|
||||
};
|
||||
|
||||
const V3: DefinitionsTypes = {
|
||||
BlockV3: {
|
||||
header: 'EthHeader',
|
||||
transactions: 'Vec<TransactionV3>',
|
||||
ommers: 'Vec<EthHeader>'
|
||||
},
|
||||
EIP7702Transaction: {
|
||||
chainId: 'u64',
|
||||
nonce: 'U256',
|
||||
maxPriorityFeePerGas: 'U256',
|
||||
maxFeePerGas: 'U256',
|
||||
gasLimit: 'U256',
|
||||
destination: 'EthTransactionAction',
|
||||
value: 'U256',
|
||||
data: 'Bytes',
|
||||
accessList: 'EthAccessList',
|
||||
authorizationList: 'EthAuthorizationList',
|
||||
signature: 'EthTransactionSignature'
|
||||
},
|
||||
TransactionV3: {
|
||||
_enum: {
|
||||
Legacy: 'LegacyTransaction',
|
||||
EIP2930: 'EIP2930Transaction',
|
||||
EIP1559: 'EIP1559Transaction',
|
||||
EIP7702: 'EIP7702Transaction'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const types: DefinitionsTypes = {
|
||||
...V0,
|
||||
...V1,
|
||||
...V2,
|
||||
...V3,
|
||||
EthereumAccountId: 'GenericEthereumAccountId',
|
||||
EthereumAddress: 'GenericEthereumAccountId',
|
||||
EthereumLookupSource: 'GenericEthereumLookupSource',
|
||||
@@ -98,6 +124,18 @@ const types: DefinitionsTypes = {
|
||||
slots: 'Vec<H256>'
|
||||
},
|
||||
EthAccessList: 'Vec<EthAccessListItem>',
|
||||
EthAuthorizationList: 'Vec<EthAuthorizationListItem>',
|
||||
EthAuthorizationListItem: {
|
||||
chainId: 'u64',
|
||||
address: 'H160',
|
||||
nonce: 'U256',
|
||||
signature: 'EthAuthorizationSignature'
|
||||
},
|
||||
EthAuthorizationSignature: {
|
||||
oddYParity: 'bool',
|
||||
r: 'H256',
|
||||
s: 'H256'
|
||||
},
|
||||
EthAccount: {
|
||||
address: 'EthAddress',
|
||||
balance: 'U256',
|
||||
@@ -261,6 +299,7 @@ const types: DefinitionsTypes = {
|
||||
// not convinced, however the original commit matches, so... (maybe V3 is incorrect?)
|
||||
EthReceiptV0: 'EthReceipt',
|
||||
EthReceiptV3: 'EthReceipt',
|
||||
EthReceiptV4: 'EthReceipt',
|
||||
EthStorageProof: {
|
||||
key: 'U256',
|
||||
value: 'U256',
|
||||
@@ -321,11 +360,16 @@ const types: DefinitionsTypes = {
|
||||
accessList: 'Option<Vec<EthAccessListItem>>',
|
||||
transactionType: 'Option<U256>'
|
||||
},
|
||||
EthTransactionSignature: {
|
||||
EthLegacyTransactionSignature: {
|
||||
v: 'u64',
|
||||
r: 'H256',
|
||||
s: 'H256'
|
||||
},
|
||||
EthTransactionSignature: {
|
||||
oddYParity: 'bool',
|
||||
r: 'H256',
|
||||
s: 'H256'
|
||||
},
|
||||
EthTransactionAction: {
|
||||
_enum: {
|
||||
Call: 'H160',
|
||||
|
||||
@@ -285,6 +285,21 @@ export const runtime: DefinitionsCall = {
|
||||
}
|
||||
},
|
||||
version: 2
|
||||
},
|
||||
{
|
||||
methods: {
|
||||
convert_transaction: {
|
||||
description: 'Converts an Ethereum-style transaction to Extrinsic',
|
||||
params: [
|
||||
{
|
||||
name: 'transaction',
|
||||
type: 'TransactionV3'
|
||||
}
|
||||
],
|
||||
type: 'Extrinsic'
|
||||
}
|
||||
},
|
||||
version: 3
|
||||
}
|
||||
],
|
||||
DebugRuntimeApi: [
|
||||
|
||||
@@ -26,6 +26,13 @@ export interface BlockV2 extends Struct {
|
||||
readonly ommers: Vec<EthHeader>;
|
||||
}
|
||||
|
||||
/** @name BlockV3 */
|
||||
export interface BlockV3 extends Struct {
|
||||
readonly header: EthHeader;
|
||||
readonly transactions: Vec<TransactionV3>;
|
||||
readonly ommers: Vec<EthHeader>;
|
||||
}
|
||||
|
||||
/** @name EIP1559Transaction */
|
||||
export interface EIP1559Transaction extends Struct {
|
||||
readonly chainId: u64;
|
||||
@@ -37,9 +44,7 @@ export interface EIP1559Transaction extends Struct {
|
||||
readonly value: U256;
|
||||
readonly input: Bytes;
|
||||
readonly accessList: EthAccessList;
|
||||
readonly oddYParity: bool;
|
||||
readonly r: H256;
|
||||
readonly s: H256;
|
||||
readonly signature: EthTransactionSignature;
|
||||
}
|
||||
|
||||
/** @name EIP2930Transaction */
|
||||
@@ -52,9 +57,22 @@ export interface EIP2930Transaction extends Struct {
|
||||
readonly value: U256;
|
||||
readonly input: Bytes;
|
||||
readonly accessList: EthAccessList;
|
||||
readonly oddYParity: bool;
|
||||
readonly r: H256;
|
||||
readonly s: H256;
|
||||
readonly signature: EthTransactionSignature;
|
||||
}
|
||||
|
||||
/** @name EIP7702Transaction */
|
||||
export interface EIP7702Transaction extends Struct {
|
||||
readonly chainId: u64;
|
||||
readonly nonce: U256;
|
||||
readonly maxPriorityFeePerGas: U256;
|
||||
readonly maxFeePerGas: U256;
|
||||
readonly gasLimit: U256;
|
||||
readonly destination: EthTransactionAction;
|
||||
readonly value: U256;
|
||||
readonly data: Bytes;
|
||||
readonly accessList: EthAccessList;
|
||||
readonly authorizationList: EthAuthorizationList;
|
||||
readonly signature: EthTransactionSignature;
|
||||
}
|
||||
|
||||
/** @name EthAccessList */
|
||||
@@ -80,6 +98,24 @@ export interface EthAccount extends Struct {
|
||||
/** @name EthAddress */
|
||||
export interface EthAddress extends H160 {}
|
||||
|
||||
/** @name EthAuthorizationList */
|
||||
export interface EthAuthorizationList extends Vec<EthAuthorizationListItem> {}
|
||||
|
||||
/** @name EthAuthorizationListItem */
|
||||
export interface EthAuthorizationListItem extends Struct {
|
||||
readonly chainId: u64;
|
||||
readonly address: H160;
|
||||
readonly nonce: U256;
|
||||
readonly signature: EthAuthorizationSignature;
|
||||
}
|
||||
|
||||
/** @name EthAuthorizationSignature */
|
||||
export interface EthAuthorizationSignature extends Struct {
|
||||
readonly oddYParity: bool;
|
||||
readonly r: H256;
|
||||
readonly s: H256;
|
||||
}
|
||||
|
||||
/** @name EthBlock */
|
||||
export interface EthBlock extends Struct {
|
||||
readonly header: EthHeader;
|
||||
@@ -192,6 +228,13 @@ export interface EthHeader extends Struct {
|
||||
readonly nonce: H64;
|
||||
}
|
||||
|
||||
/** @name EthLegacyTransactionSignature */
|
||||
export interface EthLegacyTransactionSignature extends Struct {
|
||||
readonly v: u64;
|
||||
readonly r: H256;
|
||||
readonly s: H256;
|
||||
}
|
||||
|
||||
/** @name EthLog */
|
||||
export interface EthLog extends Struct {
|
||||
readonly address: EthAddress;
|
||||
@@ -229,6 +272,9 @@ export interface EthReceiptV0 extends EthReceipt {}
|
||||
/** @name EthReceiptV3 */
|
||||
export interface EthReceiptV3 extends EthReceipt {}
|
||||
|
||||
/** @name EthReceiptV4 */
|
||||
export interface EthReceiptV4 extends EthReceipt {}
|
||||
|
||||
/** @name EthRichBlock */
|
||||
export interface EthRichBlock extends Struct {
|
||||
readonly blockHash: Option<H256>;
|
||||
@@ -385,7 +431,7 @@ export interface EthTransactionRequest extends Struct {
|
||||
|
||||
/** @name EthTransactionSignature */
|
||||
export interface EthTransactionSignature extends Struct {
|
||||
readonly v: u64;
|
||||
readonly oddYParity: bool;
|
||||
readonly r: H256;
|
||||
readonly s: H256;
|
||||
}
|
||||
@@ -417,7 +463,7 @@ export interface LegacyTransaction extends Struct {
|
||||
readonly action: EthTransactionAction;
|
||||
readonly value: U256;
|
||||
readonly input: Bytes;
|
||||
readonly signature: EthTransactionSignature;
|
||||
readonly signature: EthLegacyTransactionSignature;
|
||||
}
|
||||
|
||||
/** @name TransactionV0 */
|
||||
@@ -443,4 +489,17 @@ export interface TransactionV2 extends Enum {
|
||||
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
|
||||
}
|
||||
|
||||
/** @name TransactionV3 */
|
||||
export interface TransactionV3 extends Enum {
|
||||
readonly isLegacy: boolean;
|
||||
readonly asLegacy: LegacyTransaction;
|
||||
readonly isEip2930: boolean;
|
||||
readonly asEip2930: EIP2930Transaction;
|
||||
readonly isEip1559: boolean;
|
||||
readonly asEip1559: EIP1559Transaction;
|
||||
readonly isEip7702: boolean;
|
||||
readonly asEip7702: EIP7702Transaction;
|
||||
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559' | 'Eip7702';
|
||||
}
|
||||
|
||||
export type PHANTOM_ETH = 'eth';
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '16.3.1' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '16.4.3' };
|
||||
|
||||
@@ -447,27 +447,27 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@npm:16.3.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@npm:16.4.3, @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:16.3.1"
|
||||
"@polkadot/rpc-augment": "npm:16.3.1"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/types-augment": "npm:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/api-base": "npm:16.4.3"
|
||||
"@polkadot/rpc-augment": "npm:16.4.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-augment": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@npm:16.3.1, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@npm:16.4.3, @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:16.3.1"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/rpc-core": "npm:16.4.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
@@ -477,59 +477,59 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:16.3.1"
|
||||
"@polkadot/api-augment": "npm:16.3.1"
|
||||
"@polkadot/keyring": "npm:^13.5.3"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/types-create": "npm:16.3.1"
|
||||
"@polkadot/types-support": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/util-crypto": "npm:^13.5.3"
|
||||
"@polkadot/api": "npm:16.4.3"
|
||||
"@polkadot/api-augment": "npm:16.4.3"
|
||||
"@polkadot/keyring": "npm:^13.5.4"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/types-create": "npm:16.4.3"
|
||||
"@polkadot/types-support": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
"@polkadot/util-crypto": "npm:^13.5.4"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@npm:16.3.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@npm:16.4.3, @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:16.3.1"
|
||||
"@polkadot/api-augment": "npm:16.3.1"
|
||||
"@polkadot/api-base": "npm:16.3.1"
|
||||
"@polkadot/rpc-augment": "npm:16.3.1"
|
||||
"@polkadot/rpc-core": "npm:16.3.1"
|
||||
"@polkadot/rpc-provider": "npm:16.3.1"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/types-support": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/util-crypto": "npm:^13.5.3"
|
||||
"@polkadot/api": "npm:16.4.3"
|
||||
"@polkadot/api-augment": "npm:16.4.3"
|
||||
"@polkadot/api-base": "npm:16.4.3"
|
||||
"@polkadot/rpc-augment": "npm:16.4.3"
|
||||
"@polkadot/rpc-core": "npm:16.4.3"
|
||||
"@polkadot/rpc-provider": "npm:16.4.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/types-support": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
"@polkadot/util-crypto": "npm:^13.5.4"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@npm:16.3.1, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@npm:16.4.3, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@polkadot/api-augment": "npm:16.3.1"
|
||||
"@polkadot/api-base": "npm:16.3.1"
|
||||
"@polkadot/api-derive": "npm:16.3.1"
|
||||
"@polkadot/keyring": "npm:^13.5.3"
|
||||
"@polkadot/rpc-augment": "npm:16.3.1"
|
||||
"@polkadot/rpc-core": "npm:16.3.1"
|
||||
"@polkadot/rpc-provider": "npm:16.3.1"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/types-augment": "npm:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/types-create": "npm:16.3.1"
|
||||
"@polkadot/types-known": "npm:16.3.1"
|
||||
"@polkadot/types-support": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/util-crypto": "npm:^13.5.3"
|
||||
"@polkadot/api-augment": "npm:16.4.3"
|
||||
"@polkadot/api-base": "npm:16.4.3"
|
||||
"@polkadot/api-derive": "npm:16.4.3"
|
||||
"@polkadot/keyring": "npm:^13.5.4"
|
||||
"@polkadot/rpc-augment": "npm:16.4.3"
|
||||
"@polkadot/rpc-core": "npm:16.4.3"
|
||||
"@polkadot/rpc-provider": "npm:16.4.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-augment": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/types-create": "npm:16.4.3"
|
||||
"@polkadot/types-known": "npm:16.4.3"
|
||||
"@polkadot/types-support": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
"@polkadot/util-crypto": "npm:^13.5.4"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.8.1"
|
||||
@@ -632,69 +632,69 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/keyring@npm:^13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/keyring@npm:13.5.3"
|
||||
"@polkadot/keyring@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/keyring@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/util": "npm:13.5.3"
|
||||
"@polkadot/util-crypto": "npm:13.5.3"
|
||||
"@polkadot/util": "npm:13.5.4"
|
||||
"@polkadot/util-crypto": "npm:13.5.4"
|
||||
tslib: "npm:^2.8.0"
|
||||
peerDependencies:
|
||||
"@polkadot/util": 13.5.3
|
||||
"@polkadot/util-crypto": 13.5.3
|
||||
checksum: 10/3963e3f41a3ec0c46db506af8e821d4fb908f0b8c0c20acbc8eff9ba432a847e105a28376526c94b7d9b17f5374e35dee7c141a375c63aaae7928a1616b2065a
|
||||
"@polkadot/util": 13.5.4
|
||||
"@polkadot/util-crypto": 13.5.4
|
||||
checksum: 10/932b9900ccb03ee14784d08a4dfdd59e1bfd7b1771054f72dddb99f058f3049156b264880f99ca4921965544db977430681e7cca383fdbc757282e8dd5038bf4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/networks@npm:13.5.3, @polkadot/networks@npm:^13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/networks@npm:13.5.3"
|
||||
"@polkadot/networks@npm:13.5.4, @polkadot/networks@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/networks@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/util": "npm:13.5.3"
|
||||
"@polkadot/util": "npm:13.5.4"
|
||||
"@substrate/ss58-registry": "npm:^1.51.0"
|
||||
tslib: "npm:^2.8.0"
|
||||
checksum: 10/2b669b98d02767bb59bd849928bce05ae8e2fad783b912e7bb7b9e252223bc6fa7f198173aaeaedd9c5aa966b06a54136c0a011f74e1aa2f236466d217f0f256
|
||||
checksum: 10/57903c161c48cdde652a61cc5948867d789200d948b46bfcb70953eae5b3b05b05f70173c5006ea0934e677c8b6281f9f6d086581334959607625ac0604384ab
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@npm:16.3.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@npm:16.4.3, @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:16.3.1"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/rpc-core": "npm:16.4.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@npm:16.3.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@npm:16.4.3, @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:^13.5.3"
|
||||
"@polkadot/rpc-augment": "npm:16.3.1"
|
||||
"@polkadot/rpc-provider": "npm:16.3.1"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/keyring": "npm:^13.5.4"
|
||||
"@polkadot/rpc-augment": "npm:16.4.3"
|
||||
"@polkadot/rpc-provider": "npm:16.4.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@npm:16.3.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@npm:16.4.3, @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:^13.5.3"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/types-support": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/util-crypto": "npm:^13.5.3"
|
||||
"@polkadot/x-fetch": "npm:^13.5.3"
|
||||
"@polkadot/x-global": "npm:^13.5.3"
|
||||
"@polkadot/x-ws": "npm:^13.5.3"
|
||||
"@polkadot/keyring": "npm:^13.5.4"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-support": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
"@polkadot/util-crypto": "npm:^13.5.4"
|
||||
"@polkadot/x-fetch": "npm:^13.5.4"
|
||||
"@polkadot/x-global": "npm:^13.5.4"
|
||||
"@polkadot/x-ws": "npm:^13.5.4"
|
||||
"@substrate/connect": "npm:0.8.11"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
mock-socket: "npm:^9.3.1"
|
||||
@@ -710,19 +710,19 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:16.3.1"
|
||||
"@polkadot/api-augment": "npm:16.3.1"
|
||||
"@polkadot/api-derive": "npm:16.3.1"
|
||||
"@polkadot/rpc-augment": "npm:16.3.1"
|
||||
"@polkadot/rpc-provider": "npm:16.3.1"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/types-augment": "npm:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/types-create": "npm:16.3.1"
|
||||
"@polkadot/types-support": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/util-crypto": "npm:^13.5.3"
|
||||
"@polkadot/x-ws": "npm:^13.5.3"
|
||||
"@polkadot/api": "npm:16.4.3"
|
||||
"@polkadot/api-augment": "npm:16.4.3"
|
||||
"@polkadot/api-derive": "npm:16.4.3"
|
||||
"@polkadot/rpc-augment": "npm:16.4.3"
|
||||
"@polkadot/rpc-provider": "npm:16.4.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-augment": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/types-create": "npm:16.4.3"
|
||||
"@polkadot/types-support": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
"@polkadot/util-crypto": "npm:^13.5.4"
|
||||
"@polkadot/x-ws": "npm:^13.5.4"
|
||||
"@types/yargs": "npm:^17.0.33"
|
||||
comment-parser: "npm:^1.4.1"
|
||||
handlebars: "npm:^4.7.8"
|
||||
@@ -737,113 +737,113 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@npm:16.3.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@npm:16.4.3, @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:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@npm:16.3.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@npm:16.4.3, @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:16.3.1"
|
||||
"@polkadot/types-augment": "npm:16.3.1"
|
||||
"@polkadot/types-support": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/util-crypto": "npm:^13.5.3"
|
||||
"@polkadot/x-bigint": "npm:^13.5.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-augment": "npm:16.4.3"
|
||||
"@polkadot/types-support": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
"@polkadot/util-crypto": "npm:^13.5.4"
|
||||
"@polkadot/x-bigint": "npm:^13.5.4"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@npm:16.3.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@npm:16.4.3, @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:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@npm:16.3.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@npm:16.4.3, @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:16.3.1"
|
||||
"@polkadot/networks": "npm:^13.5.3"
|
||||
"@polkadot/types": "npm:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/types-create": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/api": "npm:16.4.3"
|
||||
"@polkadot/networks": "npm:^13.5.4"
|
||||
"@polkadot/types": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/types-create": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@npm:16.3.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@npm:16.4.3, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@npm:16.3.1, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@npm:16.4.3, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^13.5.3"
|
||||
"@polkadot/types-augment": "npm:16.3.1"
|
||||
"@polkadot/types-codec": "npm:16.3.1"
|
||||
"@polkadot/types-create": "npm:16.3.1"
|
||||
"@polkadot/types-support": "npm:16.3.1"
|
||||
"@polkadot/util": "npm:^13.5.3"
|
||||
"@polkadot/util-crypto": "npm:^13.5.3"
|
||||
"@polkadot/keyring": "npm:^13.5.4"
|
||||
"@polkadot/types-augment": "npm:16.4.3"
|
||||
"@polkadot/types-codec": "npm:16.4.3"
|
||||
"@polkadot/types-create": "npm:16.4.3"
|
||||
"@polkadot/types-support": "npm:16.4.3"
|
||||
"@polkadot/util": "npm:^13.5.4"
|
||||
"@polkadot/util-crypto": "npm:^13.5.4"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/util-crypto@npm:13.5.3, @polkadot/util-crypto@npm:^13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/util-crypto@npm:13.5.3"
|
||||
"@polkadot/util-crypto@npm:13.5.4, @polkadot/util-crypto@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/util-crypto@npm:13.5.4"
|
||||
dependencies:
|
||||
"@noble/curves": "npm:^1.3.0"
|
||||
"@noble/hashes": "npm:^1.3.3"
|
||||
"@polkadot/networks": "npm:13.5.3"
|
||||
"@polkadot/util": "npm:13.5.3"
|
||||
"@polkadot/networks": "npm:13.5.4"
|
||||
"@polkadot/util": "npm:13.5.4"
|
||||
"@polkadot/wasm-crypto": "npm:^7.4.1"
|
||||
"@polkadot/wasm-util": "npm:^7.4.1"
|
||||
"@polkadot/x-bigint": "npm:13.5.3"
|
||||
"@polkadot/x-randomvalues": "npm:13.5.3"
|
||||
"@polkadot/x-bigint": "npm:13.5.4"
|
||||
"@polkadot/x-randomvalues": "npm:13.5.4"
|
||||
"@scure/base": "npm:^1.1.7"
|
||||
tslib: "npm:^2.8.0"
|
||||
peerDependencies:
|
||||
"@polkadot/util": 13.5.3
|
||||
checksum: 10/0313fc285e769520b135ebb7031ab1a694a96d88191977af0519847be7a0f50f8cf32aafc13132481eb3c40b1160e991b7535400ed18a9cd9a6d40d47cf7f1a7
|
||||
"@polkadot/util": 13.5.4
|
||||
checksum: 10/b06de343ccddb7d553997fe8e0055c17bdb67b13b06100f9f628a97aa5b1b0b0dc4a469101cc25db9bf9cad71b8c3ca171b48f4bd6d2147a08d14eacd0657867
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/util@npm:13.5.3, @polkadot/util@npm:^13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/util@npm:13.5.3"
|
||||
"@polkadot/util@npm:13.5.4, @polkadot/util@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/util@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/x-bigint": "npm:13.5.3"
|
||||
"@polkadot/x-global": "npm:13.5.3"
|
||||
"@polkadot/x-textdecoder": "npm:13.5.3"
|
||||
"@polkadot/x-textencoder": "npm:13.5.3"
|
||||
"@polkadot/x-bigint": "npm:13.5.4"
|
||||
"@polkadot/x-global": "npm:13.5.4"
|
||||
"@polkadot/x-textdecoder": "npm:13.5.4"
|
||||
"@polkadot/x-textencoder": "npm:13.5.4"
|
||||
"@types/bn.js": "npm:^5.1.6"
|
||||
bn.js: "npm:^5.2.1"
|
||||
tslib: "npm:^2.8.0"
|
||||
checksum: 10/5274dacf09df4b43155f20d0e709bf86c8a95995cf46f62ab23947b9a745e0c9c0a31d504e9984b07903f31f741f0cfa5b7e25bd7bcd7cbeb686be06ca48bd35
|
||||
checksum: 10/222ad1421dd4c481e40b276b0119a53fb3d1e111000f116347bd983923c47481f1215c846954652c61950b2fb9698d0685974eebf5ae683e33c848e8df4856ed
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -927,77 +927,77 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-bigint@npm:13.5.3, @polkadot/x-bigint@npm:^13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/x-bigint@npm:13.5.3"
|
||||
"@polkadot/x-bigint@npm:13.5.4, @polkadot/x-bigint@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/x-bigint@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/x-global": "npm:13.5.3"
|
||||
"@polkadot/x-global": "npm:13.5.4"
|
||||
tslib: "npm:^2.8.0"
|
||||
checksum: 10/f70d898a83ba8dc476c5164e2466dbfb9ab3722ec205a3dd448e96c2d764b9f30c532cf21d422005574e27b48e22c3cf3e7d2b0fb9b7b67e416941209875bd09
|
||||
checksum: 10/22887ce511478e160fad7d38cba4ed0b2ca54dd30a8801391a551198342305e1cc1f8c05f273312041ff3cf0233cd8a4f12da7272f5cddc3d1c4ccad7a029b5c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-fetch@npm:^13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/x-fetch@npm:13.5.3"
|
||||
"@polkadot/x-fetch@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/x-fetch@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/x-global": "npm:13.5.3"
|
||||
"@polkadot/x-global": "npm:13.5.4"
|
||||
node-fetch: "npm:^3.3.2"
|
||||
tslib: "npm:^2.8.0"
|
||||
checksum: 10/8c2a5579f3af62803a0b945709b7dca88bce958a232e2749218ef30d0e70aede7193c5b330d16e058d9bfca199d3b5e02efcb80051f982c114505d784558dd23
|
||||
checksum: 10/0fa7d127d722f4713fc9fa5115c7d98eb35290a79cb76017f434c519f62ad42a2a2e7ed59d88f2a05dfee3974808bf5c5a39e588ee4d9db45a5b1dd027f7e12c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-global@npm:13.5.3, @polkadot/x-global@npm:^13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/x-global@npm:13.5.3"
|
||||
"@polkadot/x-global@npm:13.5.4, @polkadot/x-global@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/x-global@npm:13.5.4"
|
||||
dependencies:
|
||||
tslib: "npm:^2.8.0"
|
||||
checksum: 10/3976491290df8f7a5929c85c1f5f962ac968594666a60488060511c41dcf878089caeb41ae662dde70deae6c875abd0a46533c2f0448f5da1831eed1dda53c7d
|
||||
checksum: 10/e81d6d14c3ae88d876e21b75dc995fae081263327020c2651de02926fa40de6245dd4789ded90c26824d6de6774afa7d2d26637bbeec60a1f921d2a53abc2ff7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-randomvalues@npm:13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/x-randomvalues@npm:13.5.3"
|
||||
"@polkadot/x-randomvalues@npm:13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/x-randomvalues@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/x-global": "npm:13.5.3"
|
||||
"@polkadot/x-global": "npm:13.5.4"
|
||||
tslib: "npm:^2.8.0"
|
||||
peerDependencies:
|
||||
"@polkadot/util": 13.5.3
|
||||
"@polkadot/util": 13.5.4
|
||||
"@polkadot/wasm-util": "*"
|
||||
checksum: 10/dff71cbaa046e3ef3103dfa72ffea32fd89c94bb3396f1882cb28697aee1c4a10b7bd0f7a2a64fbdeaff725c79d6164e9ebb9f3b1c50dbaef51ecd75569f4045
|
||||
checksum: 10/1099465b71618752d2a5ce175b310d2a804e4d001c55754f5180eb6a784894c2f176266a0910bb380541a2abe9c052a52f4ef12b7b4d1879d328c30cda9cf81d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textdecoder@npm:13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/x-textdecoder@npm:13.5.3"
|
||||
"@polkadot/x-textdecoder@npm:13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/x-textdecoder@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/x-global": "npm:13.5.3"
|
||||
"@polkadot/x-global": "npm:13.5.4"
|
||||
tslib: "npm:^2.8.0"
|
||||
checksum: 10/5914ce2bad6f858ba2d509a6cecde61c9d547c83791697f79a3d4bf7675782ac470c60d62d39974b246ee74d07c58b006ddae22823945ca1e474a6040ab058ce
|
||||
checksum: 10/ab1cc996d6fed4b3378a2b36d2464ab2c8564bdb493f6025b00b24c2b6bc02073d159e0084f13d3a4f244b5ce5c50552134a2346fe57350b6c09f4391159d30e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-textencoder@npm:13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/x-textencoder@npm:13.5.3"
|
||||
"@polkadot/x-textencoder@npm:13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/x-textencoder@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/x-global": "npm:13.5.3"
|
||||
"@polkadot/x-global": "npm:13.5.4"
|
||||
tslib: "npm:^2.8.0"
|
||||
checksum: 10/bf3219c4a37dcc4b3de42e291b7fa137147b9497268699b9f35184967114a80da3de3785e2bf628bb02172f963fb7dc5ba150edb6cd2e28a0a6f7d142d55309f
|
||||
checksum: 10/fbe9e9fd0592d4218719316e456b5ea74908af0d19ff296a82349a6a13d4066e61b2f2e57de937f2e7d1874e2d30a1c54699660e917ccddf3140102514838c7a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-ws@npm:^13.5.3":
|
||||
version: 13.5.3
|
||||
resolution: "@polkadot/x-ws@npm:13.5.3"
|
||||
"@polkadot/x-ws@npm:^13.5.4":
|
||||
version: 13.5.4
|
||||
resolution: "@polkadot/x-ws@npm:13.5.4"
|
||||
dependencies:
|
||||
"@polkadot/x-global": "npm:13.5.3"
|
||||
"@polkadot/x-global": "npm:13.5.4"
|
||||
tslib: "npm:^2.8.0"
|
||||
ws: "npm:^8.18.0"
|
||||
checksum: 10/d44448acf166aa9d9b7d6b49877b01c571718219a832c9335af540b790d73bb24f6686aacdc60578eee2012a98c2232f0e7cc7c4e4b70e46e841ae5ce735b98f
|
||||
checksum: 10/f510f87ffc08759fe98ada2a3215c122838123a67e67ffe5986f5cd7c5ad5144a9b692a2d5c86e7cbe12043c88a4013a658cfdb6c965a72d7d0b5aa24786a383
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user