Compare commits

..
23 Commits
Author SHA1 Message Date
github-actions[bot] 6b1eb761f4 [CI Skip] bump/beta 16.5.7-4-x
Lock Threads / lock (push) Has been cancelled
skip-checks: true
2026-07-22 12:27:10 +00:00
Tarik Gul 2682a89ea4 fix(types-known): decode foreign-asset ChargeAssetTxPayment on Westend Asset Hub (#6268) 2026-07-22 15:18:50 +03:00
github-actions[bot] f9c81a897d [CI Skip] bump/beta 16.5.7-3-x
skip-checks: true
2026-07-21 20:15:49 +00:00
Andrew Carpenter 61232db257 fix(rpc-provider): repair LRU list corruption when the tail entry is retrieved (#6270)
A get() hit on the entry currently at the internal list tail ran the
generic unlink in #toHead without retargeting #tail, leaving #tail
pointing at the node just moved to the head. From that point
keys()/entries() truncate, capacity eviction removes the most-recently-
used entry instead of the least, and the maps and the list diverge:
entries whose nodes have fallen off the walkable list can never become
the tail, so neither capacity nor TTL eviction can ever remove them,
while nodes for already-evicted keys stay pinned through the stale
next/prev chains of retained nodes. Both populations accumulate for
the lifetime of the provider, pinning their (potentially large)
stringified-params keys.

#toHead now handles the tail case explicitly: retarget #tail to
ref.prev and close the list behind the moved node, never dereferencing
the tail's own next pointer (which is not guaranteed valid - the first
node inserted keeps its constructor self-referential pointers).
2026-07-21 16:07:26 -04:00
github-actions[bot] db81417393 [CI Skip] bump/beta 16.5.7-2-x
skip-checks: true
2026-07-19 02:00:38 +00:00
Tarik Gul 833adeb724 fix(rpc-provider)!: move nock to devDependencies so it no longer ships (#6266)
* fix(rpc-provider): move nock to devDependencies so it no longer ships

* Remove mock-socket from prod deps
2026-07-19 04:52:00 +03:00
github-actions[bot] 5f94aa34dd [CI Skip] bump/beta 16.5.7-1-x
skip-checks: true
2026-07-18 23:52:31 +00:00
Tarik Gul 540f33b2ea chore(metadata): update chain metadata and regenerate types to v16 (#6265)
* chore(metadata): update chain metadata to v16 and enable v16 tests

* chore(api-augment): regenerate chain types from v16 metadata

* fix(typegen): align lookup generation to v16 and add V9 slashing proof alias
2026-07-19 02:43:33 +03:00
github-actions[bot] 007c1ac830 [CI Skip] bump/beta 16.5.7-0-x
skip-checks: true
2026-07-17 21:56:37 +00:00
Tarik Gul f5fbd7cf7e fix: correct XCM VersionedMultiLocation V5 key and VersionedResponse enum (#6264) 2026-07-18 00:48:01 +03:00
Francis O'Brien f837fdc201 Add missing RPC methods for author_rotateKeysWithOwner and mmr_generateAncestryProof (#6263)
* Add rotateKeysWithOwner RPC method and GeneratedSessionKeys type

* Add MmrAncestryProof type and generateAncestryProof RPC method
2026-07-17 17:43:56 -04:00
github-actions[bot] dd76109c42 [CI Skip] release/stable 16.5.6
skip-checks: true
2026-03-23 23:54:45 +00:00
Tarik Gul c057ffb1ce 16.5.6 (#6251) 2026-03-24 01:46:24 +02:00
github-actions[bot] a7170dd696 [CI Skip] bump/beta 16.5.6-2-x
skip-checks: true
2026-03-23 14:03:34 +00:00
Tarik Gul 38a3e341a4 Bump common to 14.0.3 (#6250) 2026-03-23 09:55:03 -04:00
github-actions[bot] 478fbd565d [CI Skip] bump/beta 16.5.6-1-x
skip-checks: true
2026-03-17 14:55:07 +00:00
Tarik Gul 73845f8d03 Bump common to 14.0.2 (#6248)
* Bump common to 14.0.2

* dedupe
2026-03-17 16:46:32 +02:00
github-actions[bot] b38df4078b [CI Skip] bump/beta 16.5.6-0-x
skip-checks: true
2026-03-17 13:50:16 +00:00
Tarik Gul 0b48576744 Set headers to 2026 (#6249) 2026-03-17 15:41:40 +02:00
github-actions[bot] eb34741c87 [CI Skip] release/stable 16.5.5
skip-checks: true
2025-12-16 15:08:11 +00:00
Arjun Porwal 27b311bbec 16.5.5 (#6237) 2025-12-16 20:32:29 +05:30
github-actions[bot] ac684a400a [CI Skip] bump/beta 16.5.5-0-x
skip-checks: true
2025-12-16 13:49:35 +00:00
Arjun Porwal 3c812931ea Improve subscriptions for observable handling (#6236)
* fix: subscribeNewHeads for improved observable handling

* fix: replace switchMap with mergeMap for improved subscription handling
2025-12-16 19:14:04 +05:30
1034 changed files with 367874 additions and 12059 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors
// Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/prettier.cjs');
+15
View File
@@ -1,5 +1,20 @@
# CHANGELOG
## 16.5.6 Mar 23, 2026
Changes:
- Bump common to 14.0.3 ([#6250](https://github.com/polkadot-js/api/pull/6250))
- Set headers to 2026 ([#6249](https://github.com/polkadot-js/api/pull/6249))
## 16.5.5 Dec 16, 2025
Changes:
- Improve subscriptions for observable handling ([#6236](https://github.com/polkadot-js/api/pull/6236))
## 16.5.4 Dec 9, 2025
Changes:
+4 -3
View File
@@ -1,5 +1,5 @@
3512 Jaco Bump deps (#5785)
166 Tarik Gul 16.4.7 (#6209)
174 Tarik Gul fix(types-known): decode foreign-asset ChargeAssetTxPayment on Westend Asset Hub (#6268)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
58 Valentin Fernandez 16.4.9 (#6217)
37 Keith Ingram Update contract types and rpc (#4541)
@@ -9,8 +9,8 @@
18 rajk93 16.5.4 (#6234)
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
12 Arjun Porwal 16.5.5 (#6237)
11 Ian He HttpProvider support clone() (#3949)
10 Arjun Porwal Upgrade Polkadot and Polkadot Asset Hub types for 2000000 (#6219)
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
6 Andreea Eftene Update check for contract instantiation (#5699)
6 Branislav Kontur Fix for fungiblesApi (#5944)
@@ -42,6 +42,7 @@
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)
2 Francis O'Brien Add missing RPC methods for author_rotateKeysWithOwner and mmr_generateAncestryProof (#6263)
2 Francisco Gamundi Add chainIsEthereum prop to Registry interface (#5761)
2 HackFisher Update maxExtrinsic definition (#4703)
2 Jakub Pánik All heads subscription (#1899)
@@ -62,6 +63,7 @@
1 Alan Sapede Adds Eth feeHistory & maxPriorityFeePerGas rpc (#4956)
1 Aleš Ferlan fix: use H160 for address in getTransactionCount (#5472)
1 Alisher A. Khassanov Add `offchain_localStorageClear` RPC method (#6070)
1 Andrew Carpenter fix(rpc-provider): repair LRU list corruption when the tail entry is retrieved (#6270)
1 Brad Larson [NEW] Support for custom headers with providers (#2423)
1 Btwiuse Arch Add side effect check workaround (#4994) (#5009)
1 Cameron Marshall implement xcm dry run api (#5970)
@@ -85,7 +87,6 @@
1 filvecchiato fix: update LRUcache to not keep thread (#6013)
1 flex Change BeefySignedCommitment signatures type to EcdsaSignature (#4204)
1 Florian Franzen metadataMd: use endpoint for rpc and runtime details too (#5628)
1 Francis O'Brien fix: Re-subscribe to chain updates on reconnection if not a clone (#5794)
1 Furqan A fix: fixed 404 to the docs from the api readme (#3985)
1 Gérard Dethier Fix LRUCache memory leak. (#4520)
1 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329)
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors
// Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import baseConfig from '@polkadot/dev/config/eslint';
+3 -3
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "16.5.4",
"version": "16.5.7-4-x",
"versions": {
"git": "16.5.4",
"npm": "16.5.4"
"git": "16.5.7-4-x",
"npm": "16.5.6"
},
"workspaces": [
"packages/*"
+7 -7
View File
@@ -18,15 +18,15 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.5.4",
"version": "16.5.7-4-x",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "16.5.4",
"@polkadot/rpc-augment": "16.5.4",
"@polkadot/types": "16.5.4",
"@polkadot/types-augment": "16.5.4",
"@polkadot/types-codec": "16.5.4",
"@polkadot/util": "^14.0.1",
"@polkadot/api-base": "16.5.7-4-x",
"@polkadot/rpc-augment": "16.5.7-4-x",
"@polkadot/types": "16.5.7-4-x",
"@polkadot/types-augment": "16.5.7-4-x",
"@polkadot/types-codec": "16.5.7-4-x",
"@polkadot/util": "^14.0.3",
"tslib": "^2.8.1"
}
}
+143 -56
View File
@@ -21,9 +21,9 @@ declare module '@polkadot/api-base/types/consts' {
**/
liquidityWithdrawalFee: Permill & AugmentedConst<ApiType>;
/**
* A % the liquidity providers will take of every swap. Represents 10ths of a percent.
* The fraction of every swap that the liquidity providers take as a fee.
**/
lpFee: u32 & AugmentedConst<ApiType>;
lpFee: Permill & AugmentedConst<ApiType>;
/**
* The max number of hops in a swap.
**/
@@ -87,10 +87,21 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
assetsPrecompilesPermit: {
/**
* The chain ID used in EIP-712 domain separator.
**/
chainId: u64 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
aura: {
/**
* The slot duration Aura should run with, expressed in milliseconds.
* The effective value of this type should not change while the chain is running.
*
* The effective value of this type can be changed with a runtime upgrade.
*
* For backwards compatibility either use [`MinimumPeriodTimesTwo`] or a const.
**/
@@ -357,6 +368,24 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
multiAssetBounties: {
/**
* Minimum value for a bounty.
**/
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Minimum value for a child-bounty.
**/
childBountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum number of child bounties that can be added to a parent bounty.
**/
maxActiveChildBountyCount: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
multiBlockElection: {
/**
* The number of pages.
@@ -375,8 +404,7 @@ declare module '@polkadot/api-base/types/consts' {
* Duration of the singed validation phase.
*
* The duration of this should not be less than `T::Pages`, and there is no point in it
* being more than `SignedPhase::MaxSubmission::get() * T::Pages`. TODO: integrity test for
* it.
* being more than `SignedPhase::MaxSubmission::get() * T::Pages`.
**/
signedValidationPhase: u32 & AugmentedConst<ApiType>;
/**
@@ -414,11 +442,6 @@ declare module '@polkadot/api-base/types/consts' {
* a page of results.
**/
maxWinnersPerPage: u32 & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better".
**/
solutionImprovementThreshold: Perbill & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -704,39 +727,15 @@ declare module '@polkadot/api-base/types/consts' {
};
recovery: {
/**
* The base amount of currency needed to reserve for creating a recovery configuration.
* DO NOT REDUCE THIS VALUE. Maximum number of friends per account config.
*
* This is held for an additional storage item whose value size is
* `2 + sizeof(BlockNumber, Balance)` bytes.
* Reducing this value can cause decoding errors in the bounded vectors.
**/
configDepositBase: u128 & AugmentedConst<ApiType>;
maxFriendsPerConfig: u32 & AugmentedConst<ApiType>;
/**
* The amount of currency needed per additional user when creating a recovery
* configuration.
*
* This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
* value.
* Security deposit taken for each attempt that the initiator needs to place.
**/
friendDepositFactor: u128 & AugmentedConst<ApiType>;
/**
* The maximum amount of friends allowed in a recovery configuration.
*
* NOTE: The threshold programmed in this Pallet uses u16, so it does
* not really make sense to have a limit here greater than u16::MAX.
* But also, that is a lot more than you should probably set this value
* to anyway...
**/
maxFriends: u32 & AugmentedConst<ApiType>;
/**
* The base amount of currency needed to reserve for starting a recovery.
*
* This is primarily held for deterring malicious recovery attempts, and should
* have a value large enough that a bad actor would choose not to place this
* deposit. It also acts to fund additional storage item whose value size is
* `sizeof(BlockNumber, Balance + T * AccountId)` bytes. Where T is a configurable
* threshold.
**/
recoveryDeposit: u128 & AugmentedConst<ApiType>;
securityDeposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -774,6 +773,19 @@ declare module '@polkadot/api-base/types/consts' {
[key: string]: Codec;
};
revive: {
/**
* Allow EVM bytecode to be uploaded and instantiated.
**/
allowEVMBytecode: bool & AugmentedConst<ApiType>;
/**
* When enabled, accounts are automatically mapped on creation and unmapped on
* kill via [`AutoMapper`]. This removes the need for explicit `map_account` calls.
*
* Requires `frame_system::Config::OnNewAccount` and `OnKilledAccount` to be set
* to [`AutoMapper`]. When enabled, the `map_account` and `unmap_account`
* dispatchables are disabled.
**/
autoMap: bool & AugmentedConst<ApiType>;
/**
* The [EIP-155](https://eips.ethereum.org/EIPS/eip-155) chain ID.
*
@@ -787,6 +799,10 @@ declare module '@polkadot/api-base/types/consts' {
* abuse these actions are protected with a percentage of the code deposit.
**/
codeHashLockupDepositPercent: Perbill & AugmentedConst<ApiType>;
/**
* Allows debug-mode configuration, such as enabling unlimited contract size.
**/
debugEnabled: bool & AugmentedConst<ApiType>;
/**
* The amount of balance a caller has to pay for each byte of storage.
*
@@ -795,6 +811,18 @@ declare module '@polkadot/api-base/types/consts' {
* It is safe to change this value on a live chain as all refunds are pro rata.
**/
depositPerByte: u128 & AugmentedConst<ApiType>;
/**
* The amount of balance a caller has to pay for each child trie storage item.
*
* Those are the items created by a contract. In Solidity each value is a single
* storage item. This is why we need to set a lower value here than for the main
* trie items. Otherwise the storage deposit is too high.
*
* # Note
*
* It is safe to change this value on a live chain as all refunds are pro rata.
**/
depositPerChildTrieItem: u128 & AugmentedConst<ApiType>;
/**
* The amount of balance a caller has to pay for each storage item.
*
@@ -803,22 +831,45 @@ declare module '@polkadot/api-base/types/consts' {
* It is safe to change this value on a live chain as all refunds are pro rata.
**/
depositPerItem: u128 & AugmentedConst<ApiType>;
/**
* This determines the relative scale of our gas price and gas estimates.
*
* By default, the gas price (in wei) is `FeeInfo::next_fee_multiplier()` multiplied by
* `NativeToEthRatio`. `GasScale` allows to scale this value: the actual gas price is the
* default gas price multiplied by `GasScale`.
*
* As a consequence, gas cost (gas estimates and actual gas usage during transaction) is
* scaled down by the same factor. Thus, the total transaction cost is not affected by
* `GasScale`  apart from rounding differences: the transaction cost is always a multiple
* of the gas price and is derived by rounded up, so that with higher `GasScales` this can
* lead to higher gas cost as the rounding difference would be larger.
*
* The main purpose of changing the `GasScale` is to tune the gas cost so that it is closer
* to standard EVM gas cost and contracts will not run out of gas when tools or code
* assume hard coded gas limits.
*
* Requirement: `GasScale` must not be 0
**/
gasScale: u32 & AugmentedConst<ApiType>;
/**
* The fraction the maximum extrinsic weight `eth_transact` extrinsics are capped to.
*
* This is not a security measure but a requirement due to how we map gas to `(Weight,
* StorageDeposit)`. The mapping might derive a `Weight` that is too large to fit into an
* extrinsic. In this case we cap it to the limit specified here.
*
* `eth_transact` transactions that use more weight than specified will fail with an out of
* gas error during execution. Larger fractions will allow more transactions to run.
* Smaller values waste less block space: Choose as small as possible and as large as
* necessary.
*
* Default: `0.5`.
**/
maxEthExtrinsicWeight: u128 & AugmentedConst<ApiType>;
/**
* The ratio between the decimal representation of the native token and the ETH token.
**/
nativeToEthRatio: u32 & AugmentedConst<ApiType>;
/**
* Make contract callable functions marked as `#[unstable]` available.
*
* Contracts that use `#[unstable]` functions won't be able to be uploaded unless
* this is set to `true`. This is only meant for testnets and dev nodes in order to
* experiment with new features.
*
* # Warning
*
* Do **not** set to `true` on productions chains.
**/
unsafeUnstableInterface: bool & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -900,8 +951,25 @@ declare module '@polkadot/api-base/types/consts' {
staking: {
/**
* Number of eras that staked funds must remain bonded for.
*
* This is the bonding duration for validators. Nominators may have a shorter bonding
* duration when [`AreNominatorsSlashable`] is set to `false` (see
* [`StakingInterface::nominator_bonding_duration`]).
**/
bondingDuration: u32 & AugmentedConst<ApiType>;
/**
* When `true`, staking does not mint. It expects an external source to fund
* the general reward pot. At era boundary, rewards are snapshotted from
* the pot. `EraPayout` is not called.
*
* When `false`, staking uses the legacy path: `EraPayout` computes inflation,
* tokens are minted on-the-fly during payout.
*
* **Irreversible**: once set to `true`, must never be switched back. Eras
* created in non-minting mode have funded reward pots switching to legacy
* would orphan those pots and cause double-minting.
**/
disableMinting: bool & AugmentedConst<ApiType>;
/**
* Number of eras to keep in history.
*
@@ -927,6 +995,8 @@ declare module '@polkadot/api-base/types/consts' {
*
* Example: For an ideal era duration of 24 hours (86,400,000 ms),
* this can be set to 604,800,000 ms (7 days).
*
* Only used in legacy minting mode (`DisableMinting = false`).
**/
maxEraDuration: u64 & AugmentedConst<ApiType>;
/**
@@ -943,10 +1013,6 @@ declare module '@polkadot/api-base/types/consts' {
* reduce without handling it in a migration.
**/
maxExposurePageSize: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of invulnerable validators.
**/
maxInvulnerables: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of storage items that can be pruned in a single call.
*
@@ -975,6 +1041,17 @@ declare module '@polkadot/api-base/types/consts' {
* election* is bounded by this type.
**/
maxValidatorSet: u32 & AugmentedConst<ApiType>;
/**
* Number of eras nominators must wait to unbond when they are not slashable.
*
* This duration is used for nominators when [`AreNominatorsSlashable`] is `false`.
* When nominators are slashable, they use the full [`Config::BondingDuration`] to ensure
* slashes can be applied during the unbonding period.
*
* Setting this to a lower value (e.g., 1 era) allows for faster withdrawals when
* nominators are not subject to slashing risk.
**/
nominatorFastUnbondDuration: u32 & AugmentedConst<ApiType>;
/**
* Number of sessions before the end of an era when the election for the next era will
* start.
@@ -1008,6 +1085,16 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
stakingRcClient: {
/**
* Deposit held when a validator sets session keys. Released on `purge_keys`.
**/
keyDeposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
stateTrieMigration: {
/**
* Maximal number of bytes that a key can have.
@@ -1030,7 +1117,7 @@ declare module '@polkadot/api-base/types/consts' {
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
*
* For more info see
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
* <https://www.shawntabrizi.com/blog/interacting-with-the-substrate-rpc-endpoint/>
**/
maxKeyLen: u32 & AugmentedConst<ApiType>;
/**
+313 -114
View File
@@ -11,93 +11,23 @@ export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>
declare module '@polkadot/api-base/types/errors' {
interface AugmentedErrors<ApiType extends ApiTypes> {
ahMigrator: {
/**
* The XCM version is invalid.
**/
BadXcmVersion: AugmentedError<ApiType>;
/**
* The DMP queue priority is already set to the same value.
**/
DmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
/**
* Failed to bound a call.
**/
FailedToBoundCall: AugmentedError<ApiType>;
/**
* Vector did not fit into its compile-time bound.
**/
FailedToBoundVector: AugmentedError<ApiType>;
/**
* Checking account overflow or underflow.
**/
FailedToCalculateCheckingAccount: AugmentedError<ApiType>;
/**
* Failed to convert RC call to AH call.
**/
FailedToConvertCall: AugmentedError<ApiType>;
/**
* Failed to convert RC type to AH type.
**/
FailedToConvertType: AugmentedError<ApiType>;
/**
* Failed to integrate a vesting schedule.
**/
FailedToIntegrateVestingSchedule: AugmentedError<ApiType>;
/**
* Failed to process an account data from RC.
**/
FailedToProcessAccount: AugmentedError<ApiType>;
/**
* Failed to unreserve deposit.
**/
FailedToUnreserveDeposit: AugmentedError<ApiType>;
/**
* Some item could not be inserted because it already exists.
**/
InsertConflict: AugmentedError<ApiType>;
/**
* The origin is invalid.
**/
InvalidOrigin: AugmentedError<ApiType>;
/**
* Invalid parameter.
**/
InvalidParameter: AugmentedError<ApiType>;
/**
* Preimage chunk missing.
**/
PreimageChunkMissing: AugmentedError<ApiType>;
/**
* Preimage missing.
**/
PreimageMissing: AugmentedError<ApiType>;
/**
* Failed to fetch preimage.
**/
PreimageNotFound: AugmentedError<ApiType>;
/**
* Preimage status invalid.
**/
PreimageStatusInvalid: AugmentedError<ApiType>;
/**
* Preimage too big.
**/
PreimageTooBig: AugmentedError<ApiType>;
/**
* Failed to send XCM message.
**/
XcmError: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
ahOps: {
/**
* The account has already been translated.
**/
AlreadyTranslated: AugmentedError<ApiType>;
/**
* Not all contributions are withdrawn.
**/
ContributionsRemaining: AugmentedError<ApiType>;
/**
* Failed to force unstake.
**/
FailedToForceUnstake: AugmentedError<ApiType>;
/**
* Failed to transfer balance.
**/
FailedToTransfer: AugmentedError<ApiType>;
/**
* Failed to withdraw crowdloan contribution.
**/
@@ -130,6 +60,10 @@ declare module '@polkadot/api-base/types/errors' {
* Block number is not yet reached.
**/
NotYet: AugmentedError<ApiType>;
/**
* The derivation path is too long.
**/
TooLongDerivationPath: AugmentedError<ApiType>;
/**
* The account is not a derived account.
**/
@@ -206,6 +140,10 @@ declare module '@polkadot/api-base/types/errors' {
* An overflow happened.
**/
Overflow: AugmentedError<ApiType>;
/**
* The pool exists but has no liquidity (at least one of the reserves is zero).
**/
PoolEmpty: AugmentedError<ApiType>;
/**
* Pool already exists.
**/
@@ -336,6 +274,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset should be frozen before the given operation.
**/
NotFrozen: AugmentedError<ApiType>;
/**
* Tried setting too many reserves.
**/
TooManyReserves: AugmentedError<ApiType>;
/**
* No approval exists that would allow the transfer.
**/
@@ -363,6 +305,44 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
assetsPrecompilesPermit: {
/**
* The owner address is invalid (e.g., zero address).
**/
InvalidOwner: AugmentedError<ApiType>;
/**
* The permit signature is invalid.
**/
InvalidSignature: AugmentedError<ApiType>;
/**
* The spender address is invalid (e.g., zero address).
**/
InvalidSpender: AugmentedError<ApiType>;
/**
* The signature's `v` value is invalid.
**/
InvalidVValue: AugmentedError<ApiType>;
/**
* Nonce overflow - account has used too many permits.
**/
NonceOverflow: AugmentedError<ApiType>;
/**
* The permit has expired (deadline passed).
**/
PermitExpired: AugmentedError<ApiType>;
/**
* The signature's `s` value is too high (malleability protection).
**/
SignatureSValueTooHigh: AugmentedError<ApiType>;
/**
* The signer does not match the owner.
**/
SignerMismatch: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
balances: {
/**
* Beneficiary account must pre-exist.
@@ -782,6 +762,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset should be frozen before the given operation.
**/
NotFrozen: AugmentedError<ApiType>;
/**
* Tried setting too many reserves.
**/
TooManyReserves: AugmentedError<ApiType>;
/**
* No approval exists that would allow the transfer.
**/
@@ -883,6 +867,84 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
multiAssetBounties: {
/**
* The balance of the asset kind is not convertible to the balance of the native asset for
* asserting the origin permissions.
**/
FailedToConvertBalance: AugmentedError<ApiType>;
/**
* The child-/bounty or funding source account could not be derived from the indexes and
* asset kind.
**/
FailedToConvertSource: AugmentedError<ApiType>;
/**
* There was issue with funding the child-/bounty.
**/
FundingError: AugmentedError<ApiType>;
/**
* Child-/bounty funding has not concluded yet.
**/
FundingInconclusive: AugmentedError<ApiType>;
/**
* The parent bounty cannot be closed because it has active child bounties.
**/
HasActiveChildBounty: AugmentedError<ApiType>;
/**
* The parent bounty value is not enough to add new child-bounty.
**/
InsufficientBountyValue: AugmentedError<ApiType>;
/**
* The spend origin is valid but the amount it is allowed to spend is lower than the
* requested amount.
**/
InsufficientPermission: AugmentedError<ApiType>;
/**
* No child-/bounty at that index.
**/
InvalidIndex: AugmentedError<ApiType>;
/**
* Invalid child-/bounty value.
**/
InvalidValue: AugmentedError<ApiType>;
PayoutError: AugmentedError<ApiType>;
/**
* Child-/bounty payout has not concluded yet.
**/
PayoutInconclusive: AugmentedError<ApiType>;
/**
* The preimage does not exist.
**/
PreimageNotExist: AugmentedError<ApiType>;
/**
* The reason given is just too big.
**/
ReasonTooBig: AugmentedError<ApiType>;
/**
* There was issue with refunding the child-/bounty.
**/
RefundError: AugmentedError<ApiType>;
/**
* Child-/bounty refund has not concluded yet.
**/
RefundInconclusive: AugmentedError<ApiType>;
/**
* Require child-/bounty curator.
**/
RequireCurator: AugmentedError<ApiType>;
/**
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
**/
TooManyChildBounties: AugmentedError<ApiType>;
/**
* The child-/bounty status is unexpected.
**/
UnexpectedStatus: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
multiBlockElection: {
/**
* Triggering the `Fallback` failed.
@@ -1490,6 +1552,8 @@ declare module '@polkadot/api-base/types/errors' {
InvalidOrigin: AugmentedError<ApiType>;
/**
* Local XCM execution incomplete.
*
* @deprecated Use `LocalExecutionIncompleteWithError` instead Since 20.0.0.
**/
LocalExecutionIncomplete: AugmentedError<ApiType>;
/**
@@ -1618,6 +1682,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset should be frozen before the given operation.
**/
NotFrozen: AugmentedError<ApiType>;
/**
* Tried setting too many reserves.
**/
TooManyReserves: AugmentedError<ApiType>;
/**
* No approval exists that would allow the transfer.
**/
@@ -1723,69 +1791,97 @@ declare module '@polkadot/api-base/types/errors' {
};
recovery: {
/**
* This account is already set up for recovery
* This attempt is already fully approved and does not need any more votes.
**/
AlreadyProxy: AugmentedError<ApiType>;
AlreadyApproved: AugmentedError<ApiType>;
/**
* This account is already set up for recovery
* The recovery attempt has already been initiated.
**/
AlreadyRecoverable: AugmentedError<ApiType>;
AlreadyInitiated: AugmentedError<ApiType>;
/**
* A recovery process has already started for this account
* The friend already voted for this attempt.
**/
AlreadyStarted: AugmentedError<ApiType>;
AlreadyVoted: AugmentedError<ApiType>;
/**
* This user has already vouched for this recovery
* Two friend groups have the same set of friends.
**/
AlreadyVouched: AugmentedError<ApiType>;
DuplicateFriendGroups: AugmentedError<ApiType>;
/**
* Some internal state is broken.
* The friends of a friend group are not sorted or not unique.
**/
BadState: AugmentedError<ApiType>;
FriendsNotSortedOrUnique: AugmentedError<ApiType>;
/**
* The friend must wait until the delay period to vouch for this recovery
* The lost account has ongoing recovery attempts.
**/
DelayPeriod: AugmentedError<ApiType>;
HasOngoingAttempts: AugmentedError<ApiType>;
/**
* Friends list must be less than max friends
* The account was already recovered by a group of equal or higher priority.
**/
MaxFriends: AugmentedError<ApiType>;
HigherPriorityRecovered: AugmentedError<ApiType>;
/**
* User is not allowed to make a call on behalf of this account
* The lost account cannot be a friend of itself.
**/
NotAllowed: AugmentedError<ApiType>;
LostAccountInFriendGroup: AugmentedError<ApiType>;
/**
* Friends list must be greater than zero and threshold
* Cancel delay must be at least 1.
**/
NotEnoughFriends: AugmentedError<ApiType>;
NoCancelDelay: AugmentedError<ApiType>;
/**
* This account is not a friend who can vouch
* This account does not have any friend groups.
**/
NoFriendGroups: AugmentedError<ApiType>;
/**
* The friend group has no friends.
**/
NoFriends: AugmentedError<ApiType>;
/**
* The number of friends needed is zero.
**/
NoFriendsNeeded: AugmentedError<ApiType>;
/**
* The lost account does not have any inheritor.
**/
NoInheritor: AugmentedError<ApiType>;
/**
* Not enough friends approved this attempt.
**/
NotApproved: AugmentedError<ApiType>;
/**
* The referenced recovery attempt was not found.
**/
NotAttempt: AugmentedError<ApiType>;
/**
* The caller is not the initiator or the lost account.
**/
NotCanceller: AugmentedError<ApiType>;
/**
* The caller is not a friend of the lost account.
**/
NotFriend: AugmentedError<ApiType>;
/**
* This account is not set up for recovery
* A specific referenced friend group was not found.
**/
NotRecoverable: AugmentedError<ApiType>;
NotFriendGroup: AugmentedError<ApiType>;
/**
* Friends list must be sorted and free of duplicates
* The caller is not the inheritor of the lost account.
**/
NotSorted: AugmentedError<ApiType>;
NotInheritor: AugmentedError<ApiType>;
/**
* A recovery process has not started for this rescuer
* The cancel delay since the last approval or initialization has not yet passed.
**/
NotStarted: AugmentedError<ApiType>;
NotYetCancelable: AugmentedError<ApiType>;
/**
* There are still active recovery attempts that need to be closed
* The inheritance delay of this attempt has not yet passed.
**/
StillActive: AugmentedError<ApiType>;
NotYetInheritable: AugmentedError<ApiType>;
/**
* The threshold for recovering this account has not been met
* Too many friend groups.
**/
Threshold: AugmentedError<ApiType>;
TooManyFriendGroups: AugmentedError<ApiType>;
/**
* Threshold must be greater than zero
* The number of friends needed is greater than the number of friends.
**/
ZeroThreshold: AugmentedError<ApiType>;
TooManyFriendsNeeded: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -1898,6 +1994,10 @@ declare module '@polkadot/api-base/types/errors' {
* Call [`Pallet::map_account`] in order to create a mapping for the account.
**/
AccountUnmapped: AugmentedError<ApiType>;
/**
* Manual mapping is disabled when auto-mapping is enabled.
**/
AutoMappingEnabled: AugmentedError<ApiType>;
/**
* Failed to convert a U256 to a Balance.
**/
@@ -1968,6 +2068,23 @@ declare module '@polkadot/api-base/types/errors' {
* A contract with the same AccountId already exists.
**/
DuplicateContract: AugmentedError<ApiType>;
/**
* ECDSA public key recovery failed. Most probably wrong recovery id or signature.
**/
EcdsaRecoveryFailed: AugmentedError<ApiType>;
/**
* Tried to construct an EVM contract via code hash.
*
* EVM contracts can only be instantiated via code upload as no initcode is
* stored on-chain.
**/
EvmConstructedFromHash: AugmentedError<ApiType>;
/**
* When calling an EVM constructor `data` has to be empty.
*
* EVM constructors do not accept data. Their input data is part of the code blob itself.
**/
EvmConstructorNonEmptyData: AugmentedError<ApiType>;
/**
* PolkaVM failed during code execution. Probably due to a malformed program.
**/
@@ -1993,6 +2110,10 @@ declare module '@polkadot/api-base/types/errors' {
* The program contains an invalid instruction.
**/
InvalidInstruction: AugmentedError<ApiType>;
/**
* Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
**/
InvalidJump: AugmentedError<ApiType>;
/**
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
**/
@@ -2026,6 +2147,19 @@ declare module '@polkadot/api-base/types/errors' {
* Can not add more data to transient storage.
**/
OutOfTransientStorage: AugmentedError<ApiType>;
/**
* A contract cannot be created at this address: it still has uncleared
* [`NativeDepositOf`] entries from a previously terminated contract that the deletion
* queue has not yet drained.
**/
PendingDepositCleanup: AugmentedError<ApiType>;
/**
* Called a pre-compile that is not allowed to be delegate called.
*
* Some pre-compile functions will trap the caller context if being delegate
* called or if their caller was being delegate called.
**/
PrecompileDelegateDenied: AugmentedError<ApiType>;
/**
* A contract called into the runtime which then called back into this pallet.
**/
@@ -2042,6 +2176,14 @@ declare module '@polkadot/api-base/types/errors' {
* The return data exceeds [`limits::CALLDATA_BYTES`].
**/
ReturnDataTooLarge: AugmentedError<ApiType>;
/**
* Attempting to push a value onto a full stack.
**/
StackOverflow: AugmentedError<ApiType>;
/**
* Attempting to pop a value from an empty stack.
**/
StackUnderflow: AugmentedError<ApiType>;
/**
* A contract attempted to invoke a state modifying API while being in read-only mode.
**/
@@ -2058,6 +2200,19 @@ declare module '@polkadot/api-base/types/errors' {
* Origin doesn't have enough balance to pay the required storage deposits.
**/
StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
/**
* This means there are locks on the contracts storage deposit that prevents refunding it.
*
* This would be the case if the contract used its storage deposits for governance
* or other pallets that allow creating locks over held balance.
**/
StorageRefundLocked: AugmentedError<ApiType>;
/**
* The contract does not have enough balance to refund the storage deposit.
*
* This is a bug and should never happen. It means the accounting got out of sync.
**/
StorageRefundNotEnoughFunds: AugmentedError<ApiType>;
/**
* A contract self destructed in its constructor.
*
@@ -2078,12 +2233,18 @@ declare module '@polkadot/api-base/types/errors' {
* free balance in the sender's account.
**/
TransferFailed: AugmentedError<ApiType>;
/**
* Too much deposit was drawn from the shared txfee and deposit credit.
*
* This happens if the passed `gas` inside the ethereum transaction is too low.
**/
TxFeeOverdraw: AugmentedError<ApiType>;
/**
* Unsupported precompile address.
**/
UnsupportedPrecompileAddress: AugmentedError<ApiType>;
/**
* Event body or storage item exceeds [`limits::PAYLOAD_BYTES`].
* Event body or storage item exceeds [`limits::STORAGE_BYTES`].
**/
ValueTooLarge: AugmentedError<ApiType>;
/**
@@ -2326,6 +2487,10 @@ declare module '@polkadot/api-base/types/errors' {
* Cannot reset a ledger.
**/
CannotRestoreLedger: AugmentedError<ApiType>;
/**
* Commission is higher than the allowed maximum `MaxCommission`.
**/
CommissionTooHigh: AugmentedError<ApiType>;
/**
* Commission is too low. Must be at least `MinCommission`.
**/
@@ -2400,6 +2565,10 @@ declare module '@polkadot/api-base/types/errors' {
* Can not rebond without unlocking chunks.
**/
NoUnlockChunk: AugmentedError<ApiType>;
/**
* Optimum self-stake cannot be greater than hard cap.
**/
OptimumGreaterThanCap: 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.
@@ -2437,6 +2606,36 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
stakingRcClient: {
/**
* Delivery fees exceeded the specified maximum.
**/
FeesExceededMax: AugmentedError<ApiType>;
/**
* The session keys could not be decoded as the expected RelayChainSessionKeys type.
**/
InvalidKeys: AugmentedError<ApiType>;
/**
* Invalid ownership proof for the session keys.
**/
InvalidProof: AugmentedError<ApiType>;
/**
* The origin account is not a registered validator.
*
* Only accounts that have called `validate()` can set or purge session keys. When called
* via a staking proxy, the origin is the delegating account (stash), which must be a
* registered validator.
**/
NotValidator: AugmentedError<ApiType>;
/**
* Failed to send XCM message to the Relay Chain.
**/
XcmSendFailed: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
stateTrieMigration: {
/**
* Bad child root provided.
+239 -92
View File
@@ -10,82 +10,21 @@ 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, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeRuntimeTask, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletAhMigratorMigrationStage, PalletAhMigratorPalletEventName, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockVerifierFeasibilityError, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRcMigratorQueuePriority, PalletRecoveryDepositKind, PalletSocietyGroupParams, PalletStakingAsyncForcing, PalletStakingAsyncPalletUnexpectedKind, PalletStakingAsyncRcClientUnexpectedKind, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeRuntimeTask, AssetsCommonLocalAndForeignAssetsForeignAssetReserveData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockVerifierFeasibilityError, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletSocietyGroupParams, PalletStakingAsyncForcing, PalletStakingAsyncPalletUnexpectedKind, PalletStakingAsyncRcClientUnexpectedKind, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
declare module '@polkadot/api-base/types/events' {
interface AugmentedEvents<ApiType extends ApiTypes> {
ahMigrator: {
AccountTranslatedParachainSovereign: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32], { from: AccountId32, to: AccountId32 }>;
AccountTranslatedParachainSovereignDerived: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, derivationIndex: u16], { from: AccountId32, to: AccountId32, derivationIndex: u16 }>;
/**
* The Asset Hub Migration finished.
*
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
* to understand. The finishing is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
/**
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
* emitted.
*
* This event is equivalent to `StageTransition { new: DataMigrationOngoing, .. }` but is
* easier to understand. The activation is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
/**
* The balances before the migration were consumed.
**/
BalancesBeforeRecordConsumed: AugmentedEvent<ApiType, [checkingAccount: u128, totalIssuance: u128], { checkingAccount: u128, totalIssuance: u128 }>;
/**
* The balances before the migration were recorded.
**/
BalancesBeforeRecordSet: AugmentedEvent<ApiType, [checkingAccount: u128, totalIssuance: u128], { checkingAccount: u128, totalIssuance: u128 }>;
/**
* We processed a batch of messages for this pallet.
**/
BatchProcessed: AugmentedEvent<ApiType, [pallet: PalletAhMigratorPalletEventName, countGood: u32, countBad: u32], { pallet: PalletAhMigratorPalletEventName, countGood: u32, countBad: u32 }>;
/**
* We received a batch of messages that will be integrated into a pallet.
**/
BatchReceived: AugmentedEvent<ApiType, [pallet: PalletAhMigratorPalletEventName, count: u32], { pallet: PalletAhMigratorPalletEventName, count: u32 }>;
/**
* The DMP queue priority config was set.
**/
DmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], { old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority }>;
/**
* Whether the DMP queue was prioritized for the next block.
**/
DmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], { prioritized: bool, cycleBlock: u32, cyclePeriod: u32 }>;
/**
* The manager account id was set.
**/
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
/**
* A referendum was cancelled because it could not be mapped.
**/
ReferendumCanceled: AugmentedEvent<ApiType, [id: u32], { id: u32 }>;
/**
* A stage transition has occurred.
**/
StageTransition: AugmentedEvent<ApiType, [old: PalletAhMigratorMigrationStage, new_: PalletAhMigratorMigrationStage], { old: PalletAhMigratorMigrationStage, new_: PalletAhMigratorMigrationStage }>;
/**
* An XCM message was sent.
**/
XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
ahOps: {
/**
* Some amount for a crowdloan reserve could not be unreserved and needs manual cleanup.
**/
CrowdloanUnreserveRemaining: AugmentedEvent<ApiType, [depositor: AccountId32, paraId: u32, remaining: u128], { depositor: AccountId32, paraId: u32, remaining: u128 }>;
/**
* Failed to re-bond some migrated funds.
**/
FailedToBond: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
/**
* Some lease reserve could not be unreserved and needs manual cleanup.
**/
@@ -94,7 +33,7 @@ declare module '@polkadot/api-base/types/events' {
* A sovereign parachain account has been migrated from its child to sibling
* representation.
**/
SovereignMigrated: AugmentedEvent<ApiType, [paraId: u32, from: AccountId32, to: AccountId32, derivationIndex: Option<u16>], { paraId: u32, from: AccountId32, to: AccountId32, derivationIndex: Option<u16> }>;
SovereignMigrated: AugmentedEvent<ApiType, [paraId: u16, from: AccountId32, to: AccountId32, derivationPath: Vec<u16>], { paraId: u16, from: AccountId32, to: AccountId32, derivationPath: Vec<u16> }>;
/**
* Generic event
**/
@@ -181,6 +120,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were destroyed.
**/
Burned: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, balance: u128], { assetId: u32, owner: AccountId32, balance: u128 }>;
/**
* Some assets Credit was destroyed.
**/
BurnedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some assets Debt was destroyed (and assets issued).
**/
BurnedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some asset class was created.
**/
@@ -209,6 +156,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were issued.
**/
Issued: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, amount: u128 }>;
/**
* Some assets were issued as Credit (no owner yet).
**/
IssuedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some assets were burned and a Debt was created.
**/
IssuedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Metadata has been cleared for an asset.
**/
@@ -221,6 +176,14 @@ declare module '@polkadot/api-base/types/events' {
* The owner changed.
**/
OwnerChanged: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32], { assetId: u32, owner: AccountId32 }>;
/**
* Reserve information was removed for `asset_id`.
**/
ReservesRemoved: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
/**
* Reserve information was set or updated for `asset_id`.
**/
ReservesUpdated: AugmentedEvent<ApiType, [assetId: u32, reserves: Vec<Null>], { assetId: u32, reserves: Vec<Null> }>;
/**
* The management team changed.
**/
@@ -275,6 +238,14 @@ declare module '@polkadot/api-base/types/events' {
* Some amount was burned from an account.
**/
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some debt has been dropped from the Total Issuance.
**/
BurnedDebt: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Held balance was burned from an account.
**/
BurnedHeld: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Some amount was deposited (e.g. for transaction fees).
**/
@@ -292,6 +263,10 @@ declare module '@polkadot/api-base/types/events' {
* Some balance was frozen.
**/
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some balance was placed on hold.
**/
Held: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Total issuance was increased by `amount`, creating a credit to be balanced.
**/
@@ -304,6 +279,14 @@ declare module '@polkadot/api-base/types/events' {
* Some amount was minted into an account.
**/
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some credit was balanced and added to the TotalIssuance.
**/
MintedCredit: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Some balance was released from hold.
**/
Released: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: AssetHubKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Total issuance was decreased by `amount`, creating a debt to be balanced.
**/
@@ -341,6 +324,14 @@ declare module '@polkadot/api-base/types/events' {
* Transfer succeeded.
**/
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
/**
* The `transferred` balance is placed on hold at the `dest` account.
**/
TransferAndHold: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128], { reason: AssetHubKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128 }>;
/**
* A transfer of `amount` on hold from `source` to `dest` was initiated.
**/
TransferOnHold: AugmentedEvent<ApiType, [reason: AssetHubKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128], { reason: AssetHubKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128 }>;
/**
* An unexpected/defensive event was triggered.
**/
@@ -503,19 +494,19 @@ declare module '@polkadot/api-base/types/events' {
/**
* An account has delegated their vote to another account. \[who, target\]
**/
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u16]>;
/**
* An \[account\] has cancelled a previous delegation operation.
**/
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
Undelegated: AugmentedEvent<ApiType, [AccountId32, u16]>;
/**
* An account has voted
**/
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32 }>;
/**
* A vote has been removed
**/
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32 }>;
/**
* The lockup period of a conviction vote expired, and the funds have been unlocked.
**/
@@ -609,6 +600,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were destroyed.
**/
Burned: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32, balance: u128], { assetId: StagingXcmV5Location, owner: AccountId32, balance: u128 }>;
/**
* Some assets Credit was destroyed.
**/
BurnedCredit: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], { assetId: StagingXcmV5Location, amount: u128 }>;
/**
* Some assets Debt was destroyed (and assets issued).
**/
BurnedDebt: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], { assetId: StagingXcmV5Location, amount: u128 }>;
/**
* Some asset class was created.
**/
@@ -637,6 +636,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were issued.
**/
Issued: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32, amount: u128], { assetId: StagingXcmV5Location, owner: AccountId32, amount: u128 }>;
/**
* Some assets were issued as Credit (no owner yet).
**/
IssuedCredit: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], { assetId: StagingXcmV5Location, amount: u128 }>;
/**
* Some assets were burned and a Debt was created.
**/
IssuedDebt: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], { assetId: StagingXcmV5Location, amount: u128 }>;
/**
* Metadata has been cleared for an asset.
**/
@@ -649,6 +656,14 @@ declare module '@polkadot/api-base/types/events' {
* The owner changed.
**/
OwnerChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32], { assetId: StagingXcmV5Location, owner: AccountId32 }>;
/**
* Reserve information was removed for `asset_id`.
**/
ReservesRemoved: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], { assetId: StagingXcmV5Location }>;
/**
* Reserve information was set or updated for `asset_id`.
**/
ReservesUpdated: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, reserves: Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>], { assetId: StagingXcmV5Location, reserves: Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> }>;
/**
* The management team changed.
**/
@@ -723,6 +738,60 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
multiAssetBounties: {
/**
* A child-/bounty was awarded to a beneficiary.
**/
BountyAwarded: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, beneficiary: ParachainsCommonPayVersionedLocatableAccount], { index: u32, childIndex: Option<u32>, beneficiary: ParachainsCommonPayVersionedLocatableAccount }>;
/**
* The curator accepted role and child-/bounty became active.
**/
BountyBecameActive: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, curator: AccountId32], { index: u32, childIndex: Option<u32>, curator: AccountId32 }>;
/**
* A child-/bounty was cancelled.
**/
BountyCanceled: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], { index: u32, childIndex: Option<u32> }>;
/**
* A new bounty was created and funding has been initiated.
**/
BountyCreated: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
/**
* Funding payment has concluded successfully.
**/
BountyFundingProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], { index: u32, childIndex: Option<u32> }>;
/**
* Payout payment to the beneficiary has concluded successfully.
**/
BountyPayoutProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, value: u128, beneficiary: ParachainsCommonPayVersionedLocatableAccount], { index: u32, childIndex: Option<u32>, assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, value: u128, beneficiary: ParachainsCommonPayVersionedLocatableAccount }>;
/**
* Refund payment has concluded successfully.
**/
BountyRefundProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], { index: u32, childIndex: Option<u32> }>;
/**
* A new child-bounty was created and funding has been initiated.
**/
ChildBountyCreated: AugmentedEvent<ApiType, [index: u32, childIndex: u32], { index: u32, childIndex: u32 }>;
/**
* A child-/bounty curator was proposed.
**/
CuratorProposed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, curator: AccountId32], { index: u32, childIndex: Option<u32>, curator: AccountId32 }>;
/**
* A child-/bounty curator was unassigned.
**/
CuratorUnassigned: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], { index: u32, childIndex: Option<u32> }>;
/**
* A payment happened and can be checked.
**/
Paid: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, paymentId: u64], { index: u32, childIndex: Option<u32>, paymentId: u64 }>;
/**
* A payment failed and can be retried.
**/
PaymentFailed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, paymentId: u64], { index: u32, childIndex: Option<u32>, paymentId: u64 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
multiBlockElection: {
/**
* A phase transition happened. Only checks major changes in the variants, not minor inner
@@ -730,11 +799,19 @@ declare module '@polkadot/api-base/types/events' {
**/
PhaseTransitioned: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase], { from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase }>;
/**
* Target snapshot creation failed
* Phase transition could not even begin becaseu of being out of weight.
**/
UnexpectedPhaseTransitionHalt: AugmentedEvent<ApiType, [required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight], { required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight }>;
/**
* Phase transition could not proceed due to being out of weight.
**/
UnexpectedPhaseTransitionOutOfWeight: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase, required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight], { from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase, required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight }>;
/**
* Target snapshot creation failed.
**/
UnexpectedTargetSnapshotFailed: AugmentedEvent<ApiType, []>;
/**
* Voter snapshot creation failed
* Voter snapshot creation failed.
**/
UnexpectedVoterSnapshotFailed: AugmentedEvent<ApiType, []>;
/**
@@ -1402,6 +1479,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were destroyed.
**/
Burned: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, balance: u128], { assetId: u32, owner: AccountId32, balance: u128 }>;
/**
* Some assets Credit was destroyed.
**/
BurnedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some assets Debt was destroyed (and assets issued).
**/
BurnedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some asset class was created.
**/
@@ -1430,6 +1515,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were issued.
**/
Issued: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, amount: u128 }>;
/**
* Some assets were issued as Credit (no owner yet).
**/
IssuedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some assets were burned and a Debt was created.
**/
IssuedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Metadata has been cleared for an asset.
**/
@@ -1442,6 +1535,14 @@ declare module '@polkadot/api-base/types/events' {
* The owner changed.
**/
OwnerChanged: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32], { assetId: u32, owner: AccountId32 }>;
/**
* Reserve information was removed for `asset_id`.
**/
ReservesRemoved: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
/**
* Reserve information was set or updated for `asset_id`.
**/
ReservesUpdated: AugmentedEvent<ApiType, [assetId: u32, reserves: Vec<Null>], { assetId: u32, reserves: Vec<Null> }>;
/**
* The management team changed.
**/
@@ -1515,7 +1616,7 @@ declare module '@polkadot/api-base/types/events' {
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: AssetHubKusamaRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: AssetHubKusamaRuntimeProxyType, disambiguationIndex: u16 }>;
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: AssetHubKusamaRuntimeProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32], { pure: AccountId32, who: AccountId32, proxyType: AssetHubKusamaRuntimeProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32 }>;
/**
* A pure proxy was killed by its spawner.
**/
@@ -1527,33 +1628,49 @@ declare module '@polkadot/api-base/types/events' {
};
recovery: {
/**
* Lost account has been successfully recovered by rescuer account.
* A recovery attempt was approved by a friend.
**/
AccountRecovered: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
AttemptApproved: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, friend: AccountId32], { lost: AccountId32, friendGroupIndex: u32, friend: AccountId32 }>;
/**
* A deposit has been updated.
* A recovery attempt was canceled by either the lost account or the initiator.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128 }>;
AttemptCanceled: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, canceler: AccountId32], { lost: AccountId32, friendGroupIndex: u32, canceler: AccountId32 }>;
/**
* A recovery process for lost account by rescuer account has been closed.
* A recovery attempt was discarded because the account was already recovered by a
* friend group of equal or higher priority.
*
* The attempt is consumed (removed from storage) and its deposits are released, but
* the existing inheritor remains unchanged.
**/
RecoveryClosed: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
AttemptDiscarded: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, existingInheritor: AccountId32], { lost: AccountId32, friendGroupIndex: u32, existingInheritor: AccountId32 }>;
/**
* A recovery process has been set up for an account.
* A recovery attempt was finished.
**/
RecoveryCreated: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
AttemptFinished: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, inheritor: AccountId32, previousInheritor: Option<AccountId32>], { lost: AccountId32, friendGroupIndex: u32, inheritor: AccountId32, previousInheritor: Option<AccountId32> }>;
/**
* A recovery process has been initiated for lost account by rescuer account.
* A recovery attempt was initiated by a friend.
**/
RecoveryInitiated: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
AttemptInitiated: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32, initiator: AccountId32], { lost: AccountId32, friendGroupIndex: u32, initiator: AccountId32 }>;
/**
* A recovery process has been removed for an account.
* A recovery attempt was slashed by the lost account.
*
* The initiator will lose their security deposit.
**/
RecoveryRemoved: AugmentedEvent<ApiType, [lostAccount: AccountId32], { lostAccount: AccountId32 }>;
AttemptSlashed: AugmentedEvent<ApiType, [lost: AccountId32, friendGroupIndex: u32], { lost: AccountId32, friendGroupIndex: u32 }>;
/**
* A recovery process for lost account by rescuer account has been vouched for by sender.
* The friend groups of an account have been changed.
**/
RecoveryVouched: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32 }>;
FriendGroupsChanged: AugmentedEvent<ApiType, [lost: AccountId32], { lost: AccountId32 }>;
/**
* The inheritor of a lost account was revoked by the lost account.
**/
InheritorRevoked: AugmentedEvent<ApiType, [lost: AccountId32], { lost: AccountId32 }>;
/**
* A recovered account was controlled by its inheritor.
*
* Check the `call_result` to see if it was successful.
**/
RecoveredAccountControlled: AugmentedEvent<ApiType, [recovered: AccountId32, inheritor: AccountId32, callHash: H256, callResult: Result<Null, SpRuntimeDispatchError>], { recovered: AccountId32, inheritor: AccountId32, callHash: H256, callResult: Result<Null, SpRuntimeDispatchError> }>;
/**
* Generic event
**/
@@ -1628,6 +1745,15 @@ declare module '@polkadot/api-base/types/events' {
* A custom event emitted by the contract.
**/
ContractEmitted: AugmentedEvent<ApiType, [contract: H160, data: Bytes, topics: Vec<H256>], { contract: H160, data: Bytes, topics: Vec<H256> }>;
/**
* Emitted when an Ethereum transaction reverts.
*
* Ethereum transactions always complete successfully at the extrinsic level,
* as even reverted calls must store their `ReceiptInfo`.
* To distinguish reverted calls from successful ones, this event is emitted
* for failed Ethereum transactions.
**/
EthExtrinsicRevert: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError], { dispatchError: SpRuntimeDispatchError }>;
/**
* Contract deployed by deployer at the specified address.
**/
@@ -1751,6 +1877,10 @@ declare module '@polkadot/api-base/types/events' {
* batch in full is the second.
**/
Inducted: AugmentedEvent<ApiType, [primary: AccountId32, candidates: Vec<AccountId32>], { primary: AccountId32, candidates: Vec<AccountId32> }>;
/**
* A member was kicked by the founder.
**/
MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
/**
* A member has been suspended
**/
@@ -1811,8 +1941,11 @@ declare module '@polkadot/api-base/types/events' {
**/
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.
* The era payout has been set.
*
* In non-minting mode, `validator_payout` is the staker reward budget
* snapshotted from the general pot, and `remainder` is always zero.
* In legacy minting mode, both fields reflect the `EraPayout` computation.
**/
EraPaid: AugmentedEvent<ApiType, [eraIndex: u32, validatorPayout: u128, remainder: u128], { eraIndex: u32, validatorPayout: u128, remainder: u128 }>;
/**
@@ -1899,6 +2032,14 @@ declare module '@polkadot/api-base/types/events' {
* Logged as an event for fail-safe observability.
**/
Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncPalletUnexpectedKind]>;
/**
* Validator self-stake incentive configuration has been updated.
**/
ValidatorIncentiveConfigSet: AugmentedEvent<ApiType, [optimumSelfStake: u128, hardCapSelfStake: u128, slopeFactor: Perbill], { optimumSelfStake: u128, hardCapSelfStake: u128, slopeFactor: Perbill }>;
/**
* The validator has been paid their self-stake incentive bonus.
**/
ValidatorIncentivePaid: AugmentedEvent<ApiType, [era: u32, validatorStash: AccountId32, dest: PalletStakingAsyncRewardDestination, amount: u128], { era: u32, validatorStash: AccountId32, dest: PalletStakingAsyncRewardDestination, amount: u128 }>;
/**
* A validator has set their preferences.
**/
@@ -1914,6 +2055,12 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
stakingRcClient: {
/**
* Fees were charged for a user operation (set_keys or purge_keys).
*
* The fee includes both XCM delivery fee and relay chain execution cost.
**/
FeesPaid: AugmentedEvent<ApiType, [who: AccountId32, fees: u128], { who: AccountId32, fees: u128 }>;
/**
* A new offence was reported.
**/
@@ -1957,9 +2104,9 @@ declare module '@polkadot/api-base/types/events' {
};
system: {
/**
* `:code` was updated.
* `:code` was updated to the code with the given hash.
**/
CodeUpdated: AugmentedEvent<ApiType, []>;
CodeUpdated: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
/**
* An extrinsic failed.
**/
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '../base.js';
+361 -93
View File
@@ -6,11 +6,11 @@
import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { BTreeMap, BTreeSet, Bytes, Compact, Null, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H160, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeSessionKeys, AssetHubKusamaRuntimeStakingNposCompactSolution24, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameElectionProviderSupportBoundedSupports, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAhMigratorBalancesBefore, PalletAhMigratorMigrationStage, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollatorSelectionCandidateInfo, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockSignedSubmissionMetadata, PalletElectionProviderMultiBlockVerifierImplsPartialBackings, PalletElectionProviderMultiBlockVerifierImplsStatus, PalletElectionProviderMultiBlockVerifierImplsValidSolution, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType, PalletRcMigratorAccountsAccount, PalletRcMigratorQueuePriority, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoOriginCaller, PalletReviveStorageAccountInfo, PalletReviveStorageDeletionQueueManager, PalletReviveVmCodeInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingAsyncActiveEraInfo, PalletStakingAsyncEraRewardPoints, PalletStakingAsyncForcing, PalletStakingAsyncLedgerStakingLedger, PalletStakingAsyncNominations, PalletStakingAsyncPalletBoundedExposurePage, PalletStakingAsyncPalletPruningStep, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingAsyncRewardDestination, PalletStakingAsyncSlashingOffenceRecord, PalletStakingAsyncSnapshotStatus, PalletStakingAsyncUnappliedSlash, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingPagedExposureMetadata, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeSessionKeys, AssetHubKusamaRuntimeStakingNposCompactSolution24, AssetsCommonLocalAndForeignAssetsForeignAssetReserveData, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemBlockWeightBlockWeightMode, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemPoVMessages, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameElectionProviderSupportBoundedSupports, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollatorSelectionCandidateInfo, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockSignedSubmissionMetadata, PalletElectionProviderMultiBlockVerifierImplsPartialBackings, PalletElectionProviderMultiBlockVerifierImplsStatus, PalletElectionProviderMultiBlockVerifierImplsValidSolution, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMultiAssetBountiesBounty, PalletMultiAssetBountiesChildBounty, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRecoveryAttempt, PalletRecoveryFriendGroup, PalletRecoveryIdentifiedConsideration, PalletReferendaReferendumInfo, PalletReviveDebugDebugSettings, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR, PalletReviveEvmBlockHashReceiptGasInfo, PalletReviveStorageAccountInfo, PalletReviveStorageDeletionQueueItem, PalletReviveStorageDeletionQueueManager, PalletReviveVmCodeInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingAsyncActiveEraInfo, PalletStakingAsyncEraRewardPoints, PalletStakingAsyncForcing, PalletStakingAsyncLedgerStakingLedger, PalletStakingAsyncNominations, PalletStakingAsyncPalletBoundedExposurePage, PalletStakingAsyncPalletPruningStep, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingAsyncRewardDestination, PalletStakingAsyncSlashingOffenceRecord, PalletStakingAsyncSnapshotStatus, PalletStakingAsyncUnappliedSlash, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV9AbridgedHostConfiguration, PolkadotPrimitivesV9PersistedValidationData, PolkadotPrimitivesV9UpgradeGoAhead, PolkadotPrimitivesV9UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingPagedExposureMetadata, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -18,58 +18,6 @@ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorage
declare module '@polkadot/api-base/types/storage' {
interface AugmentedQueries<ApiType extends ApiTypes> {
ahMigrator: {
/**
* Helper storage item to store the total balance / total issuance of native token at the start
* of the migration. Since teleports are disabled during migration, the total issuance will not
* change for other reason than the migration itself.
**/
ahBalancesBefore: AugmentedQuery<ApiType, () => Observable<PalletAhMigratorBalancesBefore>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The Asset Hub migration state.
**/
ahMigrationStage: AugmentedQuery<ApiType, () => Observable<PalletAhMigratorMigrationStage>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The priority of the DMP queue during migration.
*
* Controls how the DMP (Downward Message Passing) queue is processed relative to other queues
* during the migration process. This helps ensure timely processing of migration messages.
* The default priority pattern is defined in the pallet configuration, but can be overridden
* by a storage value of this type.
**/
dmpQueuePriorityConfig: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorQueuePriority>, []> & QueryableStorageEntry<ApiType, []>;
/**
* An optional account id of a manager.
*
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
* can not set the manager account id via `set_manager` call.
**/
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Block number when migration finished and extrinsics were unlocked.
*
* This is set when entering the `MigrationDone` stage hence when
* `RcMigrationStage::is_finished()` becomes `true`.
**/
migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The block number at which the migration began and the pallet's extrinsics were locked.
*
* This value is set when entering the `WaitingForAh` stage, i.e., when
* `RcMigrationStage::is_ongoing()` becomes `true`.
**/
migrationStartBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* RC accounts that failed to migrate when were received on the Asset Hub.
*
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
**/
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountsAccount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
ahOps: {
/**
* Amount of balance that a contributor made towards a crowdloan.
@@ -185,6 +133,45 @@ declare module '@polkadot/api-base/types/storage' {
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Maps an asset to a list of its configured reserve information.
**/
reserves: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Null>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
assetsPrecompiles: {
/**
* Mapping an asset index (derived from the precompile address) to a `ForeignAssetId`.
**/
assetIndexToForeignAssetId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<StagingXcmV5Location>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Mapping a `ForeignAssetId` to an asset index (used for deriving precompile addresses).
**/
foreignAssetIdToAssetIndex: AugmentedQuery<ApiType, (arg: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [StagingXcmV5Location]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location]>;
/**
* The next available asset index for foreign assets.
* This is incremented each time a new foreign asset mapping is created.
**/
nextAssetIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
assetsPrecompilesPermit: {
/**
* Nonces for permit signatures.
* Mapping: (verifying_contract, owner_address) => nonce
*
* Uses Blake2_128Concat for the first key to prevent storage collision attacks
* when the verifying_contract address could be influenced by an attacker.
*
* Note: EIP-2612 specifies uint256 nonce. We store as U256 for compatibility.
**/
nonces: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<U256>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;
/**
* Generic query
**/
@@ -499,6 +486,10 @@ declare module '@polkadot/api-base/types/storage' {
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<StagingXcmV5Location>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Maps an asset to a list of its configured reserve information.
**/
reserves: AugmentedQuery<ApiType, (arg: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>>, [StagingXcmV5Location]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location]>;
/**
* Generic query
**/
@@ -532,6 +523,59 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
multiAssetBounties: {
/**
* Bounties that have been made.
**/
bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMultiAssetBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Number of bounty proposals that have been made.
**/
bountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Child bounties that have been added.
*
* Indexed by `(parent_bounty_id, child_bounty_id)`.
**/
childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMultiAssetBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
* Number of active child bounties per parent bounty.
*
* Indexed by `parent_bounty_id`.
**/
childBountiesPerParent: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The cumulative child-bounty value for each parent bounty. To be subtracted from the parent
* bounty payout when awarding bounty.
*
* Indexed by `parent_bounty_id`.
**/
childBountiesValuePerParent: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The consideration cost incurred by the child-/bounty curator for committing to the role.
*
* Determined by [`pallet::Config::Consideration`]. It is created when the curator accepts the
* role, and is either burned if the curator misbehaves or consumed upon successful
* completion of the child-/bounty.
*
* Note: If the parent curator is also assigned to the child-bounty,
* the consideration cost is charged only once when the curator
* accepts the role for the parent bounty.
*
* Indexed by `(parent_bounty_id, child_bounty_id)`.
**/
curatorDeposit: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Option<u128>>, [u32, Option<u32>]> & QueryableStorageEntry<ApiType, [u32, Option<u32>]>;
/**
* Number of total child bounties per parent bounty, including completed bounties.
*
* Indexed by `parent_bounty_id`.
**/
totalChildBountiesPerParent: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
multiBlockElection: {
/**
* Current phase.
@@ -897,6 +941,15 @@ declare module '@polkadot/api-base/types/storage' {
* announcing the weight of `on_initialize` and `on_finalize`.
**/
announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current block weight mode.
*
* This is used to determine what is the maximum allowed block weight, for more information see
* [`block_weight`].
*
* Killed in [`Self::on_initialize`] and set by the [`block_weight`] logic.
**/
blockWeightMode: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemBlockWeightBlockWeightMode>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A custom head data that should be returned as result of `validate_block`.
*
@@ -915,7 +968,7 @@ declare module '@polkadot/api-base/types/storage' {
*
* This data is also absent from the genesis.
**/
hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* HRMP messages that were sent in a block.
*
@@ -967,18 +1020,40 @@ declare module '@polkadot/api-base/types/storage' {
**/
newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Upward messages that are still pending and not yet send to the relay chain.
* The approved peer id to be sent as a UMP signal on the last block of the PoV.
**/
pendingApprovedPeer: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Upward messages that are still pending and not yet sent to the relay chain.
**/
pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Upward signals that are still pending and not yet sent to the relay chain.
*
* This will be cleared in `on_finalize` for each block.
**/
pendingUpwardSignals: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* In case of a scheduled upgrade, this storage field contains the validation code to be
* applied.
*
* As soon as the relay chain gives us the go-ahead signal, we will overwrite the
* [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
* with the new validation code. This concludes the upgrade process.
* [`:pending_code`][sp_core::storage::well_known_keys::PENDING_CODE] which will result the
* next block to be processed with the new validation code. This concludes the upgrade process.
**/
pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Tracks cumulative `UMP` and `HRMP` messages sent across blocks in the current `PoV`.
*
* Across different candidates/PoVs the budgets are tracked by [`AggregatedUnincludedSegment`].
**/
poVMessagesTracker: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemPoVMessages>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The core count available to the parachain in the previous block.
*
* This is mainly used for offchain functionality to calculate the correct target block weight.
**/
previousCoreCount: AugmentedQuery<ApiType, () => Observable<Option<Compact<u16>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of downward messages processed in a block.
*
@@ -1030,7 +1105,7 @@ declare module '@polkadot/api-base/types/storage' {
* relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
* set after the inherent.
**/
upgradeGoAhead: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, []> & QueryableStorageEntry<ApiType, []>;
upgradeGoAhead: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9UpgradeGoAhead>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
* In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
@@ -1040,7 +1115,7 @@ declare module '@polkadot/api-base/types/storage' {
* relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
* set after the inherent.
**/
upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;
upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The factor to multiply the base delivery fee by for UMP.
**/
@@ -1048,15 +1123,15 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Upward messages that were sent in a block.
*
* This will be cleared in `on_initialize` of each new block.
* This will be cleared in `on_initialize` for each new block.
**/
upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The [`PersistedValidationData`] set for this block.
* This value is expected to be set only once per block and it's never stored
* in the trie.
*
* This value is expected to be set only once by the [`Pallet::set_validation_data`] inherent.
**/
validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;
validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -1189,6 +1264,10 @@ declare module '@polkadot/api-base/types/storage' {
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Maps an asset to a list of its configured reserve information.
**/
reserves: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Null>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
@@ -1202,6 +1281,8 @@ declare module '@polkadot/api-base/types/storage' {
requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* The request status of a given hash.
*
* @deprecated RequestStatusFor
**/
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
@@ -1218,7 +1299,7 @@ declare module '@polkadot/api-base/types/storage' {
* The set of account proxies. Maps the account which has delegated to the accounts
* which are being delegated to, together with the amount held on deposit.
**/
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -1226,22 +1307,26 @@ declare module '@polkadot/api-base/types/storage' {
};
recovery: {
/**
* Active recovery attempts.
*
* First account is the account to be recovered, and the second account
* is the user trying to recover the account.
* Ongoing recovery attempts of a lost account indexed by `(lost, friend_group)`.
**/
activeRecoveries: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryActiveRecovery>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
attempt: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[PalletRecoveryAttempt, {
readonly depositor: AccountId32;
readonly ticket: Option<u128>;
} & Struct, u128]>>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
/**
* The list of allowed proxy accounts.
* The friend groups of an account that can conduct recovery attempts.
*
* Map from the user who can access it to the recovered account.
* Modifying this storage is not possible while an account has ongoing recovery attempts.
**/
proxy: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
friendGroups: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Vec<PalletRecoveryFriendGroup>, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The set of recoverable accounts and their recovery configuration.
* The account that inherited full access to a lost account after successful recovery.
*
* The key is the lost account and the value is the inheritor account.
*
* NOTE: This could be a multisig or proxy account
**/
recoverable: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRecoveryRecoveryConfig>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
inheritor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u32, AccountId32, PalletRecoveryIdentifiedConsideration]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -1268,7 +1353,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Information concerning any given referendum.
**/
referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoOriginCaller>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
* conviction-weighted approvals.
@@ -1297,26 +1382,73 @@ declare module '@polkadot/api-base/types/storage' {
* The data associated to a contract or externally owned account.
**/
accountInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageAccountInfo>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Mapping for block number and hashes.
*
* The maximum number of elements stored is capped by the block hash count `BLOCK_HASH_COUNT`.
**/
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* A mapping from a contract's code hash to its code info.
**/
codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveVmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* Evicted contracts that await child trie deletion.
*
* Child trie deletion is a heavy operation depending on the amount of storage items
* stored in said trie. Therefore this operation is performed lazily in `on_idle`.
* Debugging settings that can be configured when DebugEnabled config is true.
**/
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
debugSettingsOf: AugmentedQuery<ApiType, () => Observable<PalletReviveDebugDebugSettings>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Terminated contracts that await lazy cleanup.
*
* Each entry pairs a child trie ID with the contract account so that `on_idle` can
* drain both the child trie and any [`NativeDepositOf`] entries that named the contract
* as `holder`. Both can be arbitrarily large, so cleanup runs lazily in `on_idle`.
**/
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReviveStorageDeletionQueueItem>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* A pair of monotonic counters used to track the latest contract marked for deletion
* and the latest deleted contract in queue.
**/
deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletReviveStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The first transaction and receipt of the ethereum block.
*
* These values are moved out of the `EthBlockBuilderIR` to avoid serializing and
* deserializing them on every transaction. Instead, they are loaded when needed.
**/
ethBlockBuilderFirstValues: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[Bytes, Bytes]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Incremental ethereum block builder.
**/
ethBlockBuilderIR: AugmentedQuery<ApiType, () => Observable<PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current Ethereum block that is stored in the `on_finalize` method.
*
* # Note
*
* This could be further optimized into the future to store only the minimum
* information needed to reconstruct the Ethereum block at the RPC level.
*
* Since the block is convenient to have around, and the extra details are capped
* by a few hashes and the vector of transaction hashes, we store the block here.
**/
ethereumBlock: AugmentedQuery<ApiType, () => Observable<PalletReviveEvmApiRpcTypesGenBlock>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The immutable data associated with a given account.
**/
immutableDataOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Bytes>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Native currency storage deposit contributed by a user into a contract.
*
* Bounds how much native value the user can receive back from that contract's
* storage deposit.
*
* Keys: `(holder, contributor) -> amount`
* - `holder`: account on which the deposit is held (a contract, or the pallet's own account
* for code-upload deposits).
* - `contributor`: user that funded the deposit. Receives the native portion on refund, capped
* at this entry's `amount`.
**/
nativeDepositOf: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
/**
* Map a Ethereum address to its original `AccountId32`.
*
@@ -1328,8 +1460,19 @@ declare module '@polkadot/api-base/types/storage' {
originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<AccountId32>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* A mapping from a contract's code hash to its code.
* The code's size is bounded by [`crate::limits::BLOB_BYTES`] for PVM and
* [`revm::primitives::eip170::MAX_CODE_SIZE`] for EVM bytecode.
**/
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* The details needed to reconstruct the receipt info offchain.
*
* This contains valuable information about the gas used by the transaction.
*
* NOTE: The item is unbound and should therefore never be read on chain.
* It could otherwise inflate the PoV size of a block.
**/
receiptInfoData: AugmentedQuery<ApiType, () => Observable<Vec<PalletReviveEvmBlockHashReceiptGasInfo>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -1373,6 +1516,13 @@ declare module '@polkadot/api-base/types/storage' {
* a new set of identities.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Accounts whose keys were set via `SessionInterface` (external path) without
* incrementing the consumer reference or placing a key deposit. `do_purge_keys`
* only decrements consumers for accounts that were registered through the local
* session pallet.
**/
externallySetKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
**/
@@ -1503,6 +1653,16 @@ declare module '@polkadot/api-base/types/storage' {
* equal to what is RC's session pallet.
**/
activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingAsyncActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Whether nominators are slashable or not.
*
* - When set to `true` (default), nominators are slashed along with validators and must wait
* the full [`Config::BondingDuration`] before withdrawing unbonded funds.
* - When set to `false`, nominators are not slashed, and can unbond in
* [`Config::NominatorFastUnbondDuration`] eras instead of the full
* [`Config::BondingDuration`] (see [`StakingInterface::nominator_bonding_duration`]).
**/
areNominatorsSlashable: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Map from all locked "stash" accounts to the controller account.
*
@@ -1563,6 +1723,16 @@ declare module '@polkadot/api-base/types/storage' {
* set, it might be active or not.
**/
currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Safety guard: the era from which legacy minting is permanently disabled on the
* payout side. **Irreversible** once set, should never be cleared.
*
* Separate from [`Config::DisableMinting`] which controls the `end_era` path.
* This storage guards against minting during payout for eras that were created
* in DAP mode. Set automatically by `end_era_dap` on first successful pot snapshot.
* In legacy mode (Kusama), this is never set and the guard is inactive.
**/
disableMintingGuard: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A bounded list of the "electable" stashes that resulted from a successful election.
**/
@@ -1571,6 +1741,16 @@ declare module '@polkadot/api-base/types/storage' {
* Tracks the current step of era pruning process for each era being lazily pruned.
**/
eraPruningState: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletStakingAsyncPalletPruningStep>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Per-era snapshot of whether nominators are slashable.
*
* This is copied from [`AreNominatorsSlashable`] at the start of each era. When processing
* offences, we use the value from this storage for the offence era to ensure that the
* slashing rules at the time of the offence are applied, not the current rules.
*
* If an entry does not exist for an era, nominators are assumed to be slashable (default).
**/
erasNominatorsSlashable: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Rewards for the last [`Config::HistoryDepth`] eras.
* If reward hasn't been set or has been removed then 0 reward is returned.
@@ -1600,11 +1780,28 @@ declare module '@polkadot/api-base/types/storage' {
* This is cleared after [`Config::HistoryDepth`] eras.
**/
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletStakingAsyncPalletBoundedExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
/**
* Sum of all validators' incentive weights for the era.
*
* Directly linked to [`ErasValidatorIncentiveWeight`].
**/
erasSumValidatorIncentiveWeight: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The total amount staked for the last [`Config::HistoryDepth`] eras.
* If total hasn't been set or has been removed then 0 stake is returned.
**/
erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The total validator incentive budget for the given era, snapshotted at era end.
*
* This is the similar to [`ErasValidatorReward`] but for the self-stake incentive pot.
**/
erasValidatorIncentiveBudget: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Individual validator incentive weight per era.
* Each validator's share of the incentive pot = `their_weight / sum_weight`.
**/
erasValidatorIncentiveWeight: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
/**
* Exposure of validator at era with the preferences of validators.
*
@@ -1614,9 +1811,11 @@ declare module '@polkadot/api-base/types/storage' {
**/
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingAsyncValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
/**
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
* The total staker reward budget for each era within [`Config::HistoryDepth`].
*
* Eras that haven't finished yet or has been removed doesn't have reward.
* Set at era finalization:
* - in non-minting mode this is the snapshot of the era pot balance before any payouts.
* - in legacy mode it comes from `EraPayout`, with rewards minted on the fly.
**/
erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
@@ -1624,11 +1823,26 @@ declare module '@polkadot/api-base/types/storage' {
**/
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingAsyncForcing>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
* easy to initialize and the performance hit is minimal (we expect no more than four
* invulnerables) and restricted to testnets.
* Hard cap on effective validator self-stake.
*
* Self-stake above this value receives no additional reward benefit (plateau).
**/
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
hardCapSelfStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Tracks the last era in which an account was active as a validator (included in the era's
* exposure/snapshot).
*
* This is used to enforce that accounts who were recently validators must wait the full
* [`Config::BondingDuration`] before their funds can be withdrawn, even if they switch to
* nominator role. This prevents validators from:
* 1. Committing a slashable offence in era N
* 2. Switching to nominator role
* 3. Using the shorter nominator unbonding duration to withdraw funds before being slashed
*
* Updated when era snapshots are created (in `ErasStakersPaged`/`ErasStakersOverview`).
* Cleaned up when the stash is killed (fully withdrawn/reaped).
**/
lastValidatorEra: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
*
@@ -1636,6 +1850,12 @@ declare module '@polkadot/api-base/types/storage' {
* by [`StakingLedger`] to ensure data and lock consistency.
**/
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingAsyncLedgerStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The maximum commission that validators can set.
*
* If not set, defaults to `Perbill::one()` (100%), i.e. no upper limit.
**/
maxCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The maximum nominator count before we stop allowing new validators to join.
*
@@ -1645,7 +1865,8 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Maximum staked rewards, i.e. the percentage of the era inflation that
* is used for stake rewards.
* See [Era payout](./index.html#era-payout).
*
* Only used in legacy minting mode (`DisableMinting = false`).
**/
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
/**
@@ -1724,12 +1945,20 @@ declare module '@polkadot/api-base/types/storage' {
* - When a new offence is added to `OffenceQueue`, its era is **inserted in sorted order**
* if not already present.
* - When all offences for an era are processed, it is **removed** from this list.
* - The maximum length of this vector is bounded by `BondingDuration`.
* - The maximum length of this vector is bounded by `BondingDuration +
* OFFENCE_QUEUE_ERAS_BOUND`.
*
* This eliminates the need for expensive iteration and sorting when fetching the next offence
* to process.
**/
offenceQueueEras: AugmentedQuery<ApiType, () => Observable<Option<Vec<u32>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Optimum self-stake threshold for validators.
*
* Below this threshold, the incentive weight grows as `sqrt(self_stake)`.
* Above it, growth is dampened by [`SelfStakeSlopeFactor`].
**/
optimumSelfStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Where the reward payment should be made. Keyed by stash.
*
@@ -1751,6 +1980,12 @@ declare module '@polkadot/api-base/types/storage' {
* in a single block while maintaining correct slashing behavior.
**/
processingOffence: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, AccountId32, PalletStakingAsyncSlashingOffenceRecord]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Slope factor controlling the discouragement rate for self-stake between optimum and cap.
*
* Value between 0 and 1: k=1 means no discouragement, k=0 means immediate plateau.
**/
selfStakeSlopeFactor: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The percentage of the slash that is distributed to reporters.
*
@@ -1855,10 +2090,6 @@ declare module '@polkadot/api-base/types/storage' {
* The full account information for a particular account ID.
**/
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Total length (in bytes) for all extrinsics put together, for the current block.
**/
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* `Some` if a code upgrade has been authorized.
**/
@@ -1867,6 +2098,16 @@ declare module '@polkadot/api-base/types/storage' {
* Map of block numbers to block hashes.
**/
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Total size (in bytes) of the current block.
*
* Tracks the size of the header and all extrinsics.
**/
blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of blocks till the pending code upgrade is applied.
**/
blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current weight for the block.
**/
@@ -1990,6 +2231,12 @@ declare module '@polkadot/api-base/types/storage' {
transactionPayment: {
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The `OnChargeTransaction` stores the withdrawn tx fee here.
*
* Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
**/
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -2107,6 +2354,10 @@ declare module '@polkadot/api-base/types/storage' {
* Counter for the related counted storage map
**/
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Counter for the related counted storage map
**/
counterForPendingRebag: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A bag stored in storage.
*
@@ -2131,6 +2382,23 @@ declare module '@polkadot/api-base/types/storage' {
* When `None`, the next scan will start from the list head again.
**/
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Accounts that failed to be inserted into the bags-list due to locking.
* These accounts will be processed with priority in `on_idle` or via `rebag` extrinsic.
*
* Note: This storage is intentionally unbounded. The following factors make bounding
* unnecessary:
* 1. The storage usage is temporary - accounts are processed and removed in `on_idle`
* 2. The pallet is only locked during snapshot generation, which is weight-limited
* 3. Processing happens at multiple accounts per block, clearing even large backlogs quickly
* 4. An artificial limit could be exhausted by an attacker, preventing legitimate
* auto-rebagging from putting accounts in the correct position
*
* We don't store the score here - it's always fetched from `ScoreProvider` when processing,
* ensuring we use the most up-to-date score (accounts may have been slashed, rewarded, etc.
* while waiting in the queue).
**/
pendingRebag: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/assetHubKusama';
@@ -12,7 +12,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { ParaId } from '@polkadot/types/interfaces/parachains';
import type { AccountId32, H160, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesDryRunConfig, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletReviveEvmApiRpcTypesTracingConfig, PalletReviveEvmBlockHashReceiptGasInfo, PalletRevivePrimitivesBalanceConversionError, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeBlockLazyBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpSessionRuntimeApiOpaqueGeneratedSessionKeys, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV5Location, SystemParachainsCommonApisInflationInfo, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -50,6 +50,21 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xc1b8f0c037f97de8/ */
assetHubMigrationApi: {
/**
* Returns the block number when the migration ended.
**/
migrationEndBlock: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Returns the block number when the migration started.
**/
migrationStartBlock: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xdd718d5cc53262d4/ */
auraApi: {
/**
@@ -100,7 +115,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Check that the inherents are valid. The inherent data will vary from chain to chain.
**/
checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, data: SpInherentsInherentData | { data?: any } | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | { header?: any; extrinsics?: any } | string | Uint8Array, data: SpInherentsInherentData | { data?: any } | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
/**
* Finish the current block.
**/
@@ -130,7 +145,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Execute the given block.
**/
executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
/**
* Initialize a block with the given header and return the runtime executive mode.
**/
@@ -149,7 +164,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Dry run call V2.
**/
dryRunCall: AugmentedCall<ApiType, (origin: AssetHubKusamaRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
dryRunCall: AugmentedCall<ApiType, (origin: AssetHubKusamaRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Revive: any } | { Origins: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
/**
* Dry run XCM program
**/
@@ -200,6 +215,17 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xc51ff1fa3f5d0cca/ */
inflation: {
/**
* Return the current estimates of the issuance amount.,, This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly, recommended over trying to read-storage, or re-create the onchain logic.
**/
experimentalIssuancePredictionInfo: AugmentedCall<ApiType, () => Observable<SystemParachainsCommonApisInflationInfo>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x9ffb505aa738d69c/ */
locationToAccountApi: {
/**
@@ -301,6 +327,10 @@ declare module '@polkadot/api-base/types/calls' {
};
/** 0x8c403e5c4a9fd442/ */
reviveApi: {
/**
* Get the account id associated to this H160 address.
**/
accountId: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<AccountId32>>;
/**
* Get the H160 address associated to this account id
**/
@@ -312,7 +342,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* The address of the validator that produced the current block.
**/
blockAuthor: AugmentedCall<ApiType, () => Observable<Option<H160>>>;
blockAuthor: AugmentedCall<ApiType, () => Observable<H160>>;
/**
* Returns the block gas limit.
**/
@@ -325,10 +355,34 @@ declare module '@polkadot/api-base/types/calls' {
* The code at the specified address taking pre-compiles into account.
**/
code: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<Bytes>>;
/**
* Returns the current ETH block.,, This is one block behind the substrate block.
**/
ethBlock: AugmentedCall<ApiType, () => Observable<PalletReviveEvmApiRpcTypesGenBlock>>;
/**
* Returns the ETH block hash for the given block number.
**/
ethBlockHash: AugmentedCall<ApiType, (number: U256 | AnyNumber | Uint8Array) => Observable<Option<H256>>>;
/**
* Estimates the amount of gas that a transactions requires.,, This function estimates the gas of the transaction according to the same binary search, algorithm that's implemented in Geth. It stops when with an acceptable error ratio of, 1.5% so that the algorithm terminates early.
**/
ethEstimateGas: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesDryRunConfig | { timestampOverride?: any; performBalanceChecks?: any; stateOverrides?: any } | string | Uint8Array) => Observable<Result<U256, PalletRevivePrimitivesEthTransactError>>>;
/**
* Return the pre-dispatch weight booked for the signed Ethereum transaction payload.
**/
ethPreDispatchWeight: AugmentedCall<ApiType, (tx: Bytes | string | Uint8Array) => Observable<Result<SpWeightsWeightV2Weight, PalletRevivePrimitivesEthTransactError>>>;
/**
* The details needed to reconstruct the receipt information offchain.,, # Note,, Each entry corresponds to the appropriate Ethereum transaction in the current block.
**/
ethReceiptData: AugmentedCall<ApiType, () => Observable<Vec<PalletReviveEvmBlockHashReceiptGasInfo>>>;
/**
* Perform an Ethereum call.,, Deprecated use `v2` version instead., See [`crate::Pallet::dry_run_eth_transact`]
**/
ethTransact: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
/**
* Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`]
**/
ethTransact: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
ethTransactWithConfig: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesDryRunConfig | { timestampOverride?: any; performBalanceChecks?: any; stateOverrides?: any } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
/**
* Returns the gas price.
**/
@@ -345,6 +399,14 @@ declare module '@polkadot/api-base/types/calls' {
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
**/
instantiate: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: PalletRevivePrimitivesCode | { Upload: any } | { Existing: any } | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => Observable<PalletRevivePrimitivesContractResultInstantiateReturnValue>>;
/**
* Returns the block gas limit as calculated from the weights.
**/
maxExtrinsicWeightInGas: AugmentedCall<ApiType, () => Observable<U256>>;
/**
* Construct the new balance and dust components of this EVM balance.
**/
newBalanceWithDust: AugmentedCall<ApiType, (balance: U256 | AnyNumber | Uint8Array) => Observable<Result<ITuple<[u128, u32]>, PalletRevivePrimitivesBalanceConversionError>>>;
/**
* Returns the nonce of the given `[H160]` address.
**/
@@ -356,15 +418,19 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage.
**/
traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | { ExecutionTracer: any } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
/**
* Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
**/
traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | { ExecutionTracer: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
/**
* Dry run and return the trace of the given call with additional configuration.,, Like [`Self::trace_call`], but accepts a [`TracingConfig`] that can carry state, overrides and future extensibility. The config must be the **last argument** for, backwards compatibility see [`TracingConfig`] documentation.
**/
traceCallWithConfig: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, tracer_type: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | { ExecutionTracer: any } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesTracingConfig | { stateOverrides?: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
/**
* Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage.
**/
traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | { ExecutionTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
/**
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
**/
@@ -394,7 +460,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
**/
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
generateSessionKeys: AugmentedCall<ApiType, (owner: Bytes | string | Uint8Array, seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<SpSessionRuntimeApiOpaqueGeneratedSessionKeys>>;
/**
* Generic call
**/
@@ -411,7 +477,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
/**
* Returns true if validator `account` has pages to be claimed for the given era.
* Returns true if a validator `account` has pages to be claimed for the given era.
**/
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
@@ -498,9 +564,9 @@ declare module '@polkadot/api-base/types/calls' {
**/
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
/**
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
* Query delivery fees V2.,, Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
**/
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, asset_id: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
/**
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
**/
File diff suppressed because it is too large Load Diff
@@ -6,7 +6,7 @@
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 { Bytes, Option, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions, StagingXcmV5Location } from '@polkadot/types/lookup';
@@ -21,9 +21,9 @@ declare module '@polkadot/api-base/types/consts' {
**/
liquidityWithdrawalFee: Permill & AugmentedConst<ApiType>;
/**
* A % the liquidity providers will take of every swap. Represents 10ths of a percent.
* The fraction of every swap that the liquidity providers take as a fee.
**/
lpFee: u32 & AugmentedConst<ApiType>;
lpFee: Permill & AugmentedConst<ApiType>;
/**
* The max number of hops in a swap.
**/
@@ -87,10 +87,21 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
assetsPrecompilesPermit: {
/**
* The chain ID used in EIP-712 domain separator.
**/
chainId: u64 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
aura: {
/**
* The slot duration Aura should run with, expressed in milliseconds.
* The effective value of this type should not change while the chain is running.
*
* The effective value of this type can be changed with a runtime upgrade.
*
* For backwards compatibility either use [`MinimumPeriodTimesTwo`] or a const.
**/
@@ -258,6 +269,33 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
dap: {
/**
* Minimum elapsed time (ms) between issuance drips.
*
* - `0` = drip every block
* - `60_000` = drip every minute (Recommended)
*
* Should be small relative to era length.
**/
issuanceCadence: u64 & AugmentedConst<ApiType>;
/**
* Safety ceiling: maximum elapsed time (ms) considered in a single drip.
*
* If more time has passed than this, elapsed is clamped to this value.
* Prevents accidental over-minting from bugs, misconfiguration, or long
* periods without blocks.
**/
maxElapsedPerDrip: u64 & AugmentedConst<ApiType>;
/**
* The pallet ID used to derive the buffer account.
**/
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
delegatedStaking: {
/**
* Injected identifier for the pallet.
@@ -357,6 +395,24 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
multiAssetBounties: {
/**
* Minimum value for a bounty.
**/
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Minimum value for a child-bounty.
**/
childBountyValueMinimum: u128 & AugmentedConst<ApiType>;
/**
* Maximum number of child bounties that can be added to a parent bounty.
**/
maxActiveChildBountyCount: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
multiBlockElection: {
/**
* The number of pages.
@@ -375,8 +431,7 @@ declare module '@polkadot/api-base/types/consts' {
* Duration of the singed validation phase.
*
* The duration of this should not be less than `T::Pages`, and there is no point in it
* being more than `SignedPhase::MaxSubmission::get() * T::Pages`. TODO: integrity test for
* it.
* being more than `SignedPhase::MaxSubmission::get() * T::Pages`.
**/
signedValidationPhase: u32 & AugmentedConst<ApiType>;
/**
@@ -415,10 +470,25 @@ declare module '@polkadot/api-base/types/consts' {
**/
maxWinnersPerPage: u32 & AugmentedConst<ApiType>;
/**
* The minimum amount of improvement to the solution score that defines a solution as
* "better".
* Generic const
**/
solutionImprovementThreshold: Perbill & AugmentedConst<ApiType>;
[key: string]: Codec;
};
multiBlockMigrations: {
/**
* The maximal length of an encoded cursor.
*
* A good default needs to selected such that no migration will ever have a cursor with MEL
* above this limit. This is statically checked in `integrity_test`.
**/
cursorMaxLen: u32 & AugmentedConst<ApiType>;
/**
* The maximal length of an encoded identifier.
*
* A good default needs to selected such that no migration will ever have an identifier
* with MEL above this limit. This is statically checked in `integrity_test`.
**/
identifierMaxLen: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -686,6 +756,109 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
revive: {
/**
* Allow EVM bytecode to be uploaded and instantiated.
**/
allowEVMBytecode: bool & AugmentedConst<ApiType>;
/**
* When enabled, accounts are automatically mapped on creation and unmapped on
* kill via [`AutoMapper`]. This removes the need for explicit `map_account` calls.
*
* Requires `frame_system::Config::OnNewAccount` and `OnKilledAccount` to be set
* to [`AutoMapper`]. When enabled, the `map_account` and `unmap_account`
* dispatchables are disabled.
**/
autoMap: bool & AugmentedConst<ApiType>;
/**
* The [EIP-155](https://eips.ethereum.org/EIPS/eip-155) chain ID.
*
* This is a unique identifier assigned to each blockchain network,
* preventing replay attacks.
**/
chainId: u64 & AugmentedConst<ApiType>;
/**
* The percentage of the storage deposit that should be held for using a code hash.
* Instantiating a contract, protects the code from being removed. In order to prevent
* abuse these actions are protected with a percentage of the code deposit.
**/
codeHashLockupDepositPercent: Perbill & AugmentedConst<ApiType>;
/**
* Allows debug-mode configuration, such as enabling unlimited contract size.
**/
debugEnabled: bool & AugmentedConst<ApiType>;
/**
* The amount of balance a caller has to pay for each byte of storage.
*
* # Note
*
* It is safe to change this value on a live chain as all refunds are pro rata.
**/
depositPerByte: u128 & AugmentedConst<ApiType>;
/**
* The amount of balance a caller has to pay for each child trie storage item.
*
* Those are the items created by a contract. In Solidity each value is a single
* storage item. This is why we need to set a lower value here than for the main
* trie items. Otherwise the storage deposit is too high.
*
* # Note
*
* It is safe to change this value on a live chain as all refunds are pro rata.
**/
depositPerChildTrieItem: u128 & AugmentedConst<ApiType>;
/**
* The amount of balance a caller has to pay for each storage item.
*
* # Note
*
* It is safe to change this value on a live chain as all refunds are pro rata.
**/
depositPerItem: u128 & AugmentedConst<ApiType>;
/**
* This determines the relative scale of our gas price and gas estimates.
*
* By default, the gas price (in wei) is `FeeInfo::next_fee_multiplier()` multiplied by
* `NativeToEthRatio`. `GasScale` allows to scale this value: the actual gas price is the
* default gas price multiplied by `GasScale`.
*
* As a consequence, gas cost (gas estimates and actual gas usage during transaction) is
* scaled down by the same factor. Thus, the total transaction cost is not affected by
* `GasScale`  apart from rounding differences: the transaction cost is always a multiple
* of the gas price and is derived by rounded up, so that with higher `GasScales` this can
* lead to higher gas cost as the rounding difference would be larger.
*
* The main purpose of changing the `GasScale` is to tune the gas cost so that it is closer
* to standard EVM gas cost and contracts will not run out of gas when tools or code
* assume hard coded gas limits.
*
* Requirement: `GasScale` must not be 0
**/
gasScale: u32 & AugmentedConst<ApiType>;
/**
* The fraction the maximum extrinsic weight `eth_transact` extrinsics are capped to.
*
* This is not a security measure but a requirement due to how we map gas to `(Weight,
* StorageDeposit)`. The mapping might derive a `Weight` that is too large to fit into an
* extrinsic. In this case we cap it to the limit specified here.
*
* `eth_transact` transactions that use more weight than specified will fail with an out of
* gas error during execution. Larger fractions will allow more transactions to run.
* Smaller values waste less block space: Choose as small as possible and as large as
* necessary.
*
* Default: `0.5`.
**/
maxEthExtrinsicWeight: u128 & AugmentedConst<ApiType>;
/**
* The ratio between the decimal representation of the native token and the ETH token.
**/
nativeToEthRatio: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
scheduler: {
/**
* The maximum weight that may be scheduled per block for any dispatchables.
@@ -717,8 +890,25 @@ declare module '@polkadot/api-base/types/consts' {
staking: {
/**
* Number of eras that staked funds must remain bonded for.
*
* This is the bonding duration for validators. Nominators may have a shorter bonding
* duration when [`AreNominatorsSlashable`] is set to `false` (see
* [`StakingInterface::nominator_bonding_duration`]).
**/
bondingDuration: u32 & AugmentedConst<ApiType>;
/**
* When `true`, staking does not mint. It expects an external source to fund
* the general reward pot. At era boundary, rewards are snapshotted from
* the pot. `EraPayout` is not called.
*
* When `false`, staking uses the legacy path: `EraPayout` computes inflation,
* tokens are minted on-the-fly during payout.
*
* **Irreversible**: once set to `true`, must never be switched back. Eras
* created in non-minting mode have funded reward pots switching to legacy
* would orphan those pots and cause double-minting.
**/
disableMinting: bool & AugmentedConst<ApiType>;
/**
* Number of eras to keep in history.
*
@@ -744,6 +934,8 @@ declare module '@polkadot/api-base/types/consts' {
*
* Example: For an ideal era duration of 24 hours (86,400,000 ms),
* this can be set to 604,800,000 ms (7 days).
*
* Only used in legacy minting mode (`DisableMinting = false`).
**/
maxEraDuration: u64 & AugmentedConst<ApiType>;
/**
@@ -760,10 +952,6 @@ declare module '@polkadot/api-base/types/consts' {
* reduce without handling it in a migration.
**/
maxExposurePageSize: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of invulnerable validators.
**/
maxInvulnerables: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of storage items that can be pruned in a single call.
*
@@ -792,6 +980,17 @@ declare module '@polkadot/api-base/types/consts' {
* election* is bounded by this type.
**/
maxValidatorSet: u32 & AugmentedConst<ApiType>;
/**
* Number of eras nominators must wait to unbond when they are not slashable.
*
* This duration is used for nominators when [`AreNominatorsSlashable`] is `false`.
* When nominators are slashable, they use the full [`Config::BondingDuration`] to ensure
* slashes can be applied during the unbonding period.
*
* Setting this to a lower value (e.g., 1 era) allows for faster withdrawals when
* nominators are not subject to slashing risk.
**/
nominatorFastUnbondDuration: u32 & AugmentedConst<ApiType>;
/**
* Number of sessions before the end of an era when the election for the next era will
* start.
@@ -825,6 +1024,16 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
stakingRcClient: {
/**
* Deposit held when a validator sets session keys. Released on `purge_keys`.
**/
keyDeposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
stateTrieMigration: {
/**
* Maximal number of bytes that a key can have.
@@ -847,7 +1056,7 @@ declare module '@polkadot/api-base/types/consts' {
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
*
* For more info see
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
* <https://www.shawntabrizi.com/blog/interacting-with-the-substrate-rpc-endpoint/>
**/
maxKeyLen: u32 & AugmentedConst<ApiType>;
/**
@@ -11,93 +11,23 @@ export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>
declare module '@polkadot/api-base/types/errors' {
interface AugmentedErrors<ApiType extends ApiTypes> {
ahMigrator: {
/**
* The XCM version is invalid.
**/
BadXcmVersion: AugmentedError<ApiType>;
/**
* The DMP queue priority is already set to the same value.
**/
DmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
/**
* Failed to bound a call.
**/
FailedToBoundCall: AugmentedError<ApiType>;
/**
* Vector did not fit into its compile-time bound.
**/
FailedToBoundVector: AugmentedError<ApiType>;
/**
* Checking account overflow or underflow.
**/
FailedToCalculateCheckingAccount: AugmentedError<ApiType>;
/**
* Failed to convert RC call to AH call.
**/
FailedToConvertCall: AugmentedError<ApiType>;
/**
* Failed to convert RC type to AH type.
**/
FailedToConvertType: AugmentedError<ApiType>;
/**
* Failed to integrate a vesting schedule.
**/
FailedToIntegrateVestingSchedule: AugmentedError<ApiType>;
/**
* Failed to process an account data from RC.
**/
FailedToProcessAccount: AugmentedError<ApiType>;
/**
* Failed to unreserve deposit.
**/
FailedToUnreserveDeposit: AugmentedError<ApiType>;
/**
* Some item could not be inserted because it already exists.
**/
InsertConflict: AugmentedError<ApiType>;
/**
* The origin is invalid.
**/
InvalidOrigin: AugmentedError<ApiType>;
/**
* Invalid parameter.
**/
InvalidParameter: AugmentedError<ApiType>;
/**
* Preimage chunk missing.
**/
PreimageChunkMissing: AugmentedError<ApiType>;
/**
* Preimage missing.
**/
PreimageMissing: AugmentedError<ApiType>;
/**
* Failed to fetch preimage.
**/
PreimageNotFound: AugmentedError<ApiType>;
/**
* Preimage status invalid.
**/
PreimageStatusInvalid: AugmentedError<ApiType>;
/**
* Preimage too big.
**/
PreimageTooBig: AugmentedError<ApiType>;
/**
* Failed to send XCM message.
**/
XcmError: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
ahOps: {
/**
* The account has already been translated.
**/
AlreadyTranslated: AugmentedError<ApiType>;
/**
* Not all contributions are withdrawn.
**/
ContributionsRemaining: AugmentedError<ApiType>;
/**
* Failed to force unstake.
**/
FailedToForceUnstake: AugmentedError<ApiType>;
/**
* Failed to transfer balance.
**/
FailedToTransfer: AugmentedError<ApiType>;
/**
* Failed to withdraw crowdloan contribution.
**/
@@ -130,6 +60,10 @@ declare module '@polkadot/api-base/types/errors' {
* Block number is not yet reached.
**/
NotYet: AugmentedError<ApiType>;
/**
* The derivation path is too long.
**/
TooLongDerivationPath: AugmentedError<ApiType>;
/**
* The account is not a derived account.
**/
@@ -206,6 +140,10 @@ declare module '@polkadot/api-base/types/errors' {
* An overflow happened.
**/
Overflow: AugmentedError<ApiType>;
/**
* The pool exists but has no liquidity (at least one of the reserves is zero).
**/
PoolEmpty: AugmentedError<ApiType>;
/**
* Pool already exists.
**/
@@ -336,6 +274,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset should be frozen before the given operation.
**/
NotFrozen: AugmentedError<ApiType>;
/**
* Tried setting too many reserves.
**/
TooManyReserves: AugmentedError<ApiType>;
/**
* No approval exists that would allow the transfer.
**/
@@ -363,6 +305,44 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
assetsPrecompilesPermit: {
/**
* The owner address is invalid (e.g., zero address).
**/
InvalidOwner: AugmentedError<ApiType>;
/**
* The permit signature is invalid.
**/
InvalidSignature: AugmentedError<ApiType>;
/**
* The spender address is invalid (e.g., zero address).
**/
InvalidSpender: AugmentedError<ApiType>;
/**
* The signature's `v` value is invalid.
**/
InvalidVValue: AugmentedError<ApiType>;
/**
* Nonce overflow - account has used too many permits.
**/
NonceOverflow: AugmentedError<ApiType>;
/**
* The permit has expired (deadline passed).
**/
PermitExpired: AugmentedError<ApiType>;
/**
* The signature's `s` value is too high (malleability protection).
**/
SignatureSValueTooHigh: AugmentedError<ApiType>;
/**
* The signer does not match the owner.
**/
SignerMismatch: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
balances: {
/**
* Beneficiary account must pre-exist.
@@ -650,6 +630,20 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
dap: {
/**
* Budget allocation percentages do not sum to exactly 100%.
**/
BudgetNotExact: AugmentedError<ApiType>;
/**
* A key in the budget allocation does not match any registered recipient.
**/
UnknownBudgetKey: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
delegatedStaking: {
/**
* An existing staker cannot perform this action.
@@ -782,6 +776,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset should be frozen before the given operation.
**/
NotFrozen: AugmentedError<ApiType>;
/**
* Tried setting too many reserves.
**/
TooManyReserves: AugmentedError<ApiType>;
/**
* No approval exists that would allow the transfer.
**/
@@ -883,6 +881,84 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
multiAssetBounties: {
/**
* The balance of the asset kind is not convertible to the balance of the native asset for
* asserting the origin permissions.
**/
FailedToConvertBalance: AugmentedError<ApiType>;
/**
* The child-/bounty or funding source account could not be derived from the indexes and
* asset kind.
**/
FailedToConvertSource: AugmentedError<ApiType>;
/**
* There was issue with funding the child-/bounty.
**/
FundingError: AugmentedError<ApiType>;
/**
* Child-/bounty funding has not concluded yet.
**/
FundingInconclusive: AugmentedError<ApiType>;
/**
* The parent bounty cannot be closed because it has active child bounties.
**/
HasActiveChildBounty: AugmentedError<ApiType>;
/**
* The parent bounty value is not enough to add new child-bounty.
**/
InsufficientBountyValue: AugmentedError<ApiType>;
/**
* The spend origin is valid but the amount it is allowed to spend is lower than the
* requested amount.
**/
InsufficientPermission: AugmentedError<ApiType>;
/**
* No child-/bounty at that index.
**/
InvalidIndex: AugmentedError<ApiType>;
/**
* Invalid child-/bounty value.
**/
InvalidValue: AugmentedError<ApiType>;
PayoutError: AugmentedError<ApiType>;
/**
* Child-/bounty payout has not concluded yet.
**/
PayoutInconclusive: AugmentedError<ApiType>;
/**
* The preimage does not exist.
**/
PreimageNotExist: AugmentedError<ApiType>;
/**
* The reason given is just too big.
**/
ReasonTooBig: AugmentedError<ApiType>;
/**
* There was issue with refunding the child-/bounty.
**/
RefundError: AugmentedError<ApiType>;
/**
* Child-/bounty refund has not concluded yet.
**/
RefundInconclusive: AugmentedError<ApiType>;
/**
* Require child-/bounty curator.
**/
RequireCurator: AugmentedError<ApiType>;
/**
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
**/
TooManyChildBounties: AugmentedError<ApiType>;
/**
* The child-/bounty status is unexpected.
**/
UnexpectedStatus: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
multiBlockElection: {
/**
* Triggering the `Fallback` failed.
@@ -943,6 +1019,16 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
multiBlockMigrations: {
/**
* The operation cannot complete since some MBMs are ongoing.
**/
Ongoing: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
multisig: {
/**
* Call is already approved by this signatory.
@@ -1458,6 +1544,8 @@ declare module '@polkadot/api-base/types/errors' {
InvalidOrigin: AugmentedError<ApiType>;
/**
* Local XCM execution incomplete.
*
* @deprecated Use `LocalExecutionIncompleteWithError` instead Since 20.0.0.
**/
LocalExecutionIncomplete: AugmentedError<ApiType>;
/**
@@ -1586,6 +1674,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset should be frozen before the given operation.
**/
NotFrozen: AugmentedError<ApiType>;
/**
* Tried setting too many reserves.
**/
TooManyReserves: AugmentedError<ApiType>;
/**
* No approval exists that would allow the transfer.
**/
@@ -1751,6 +1843,275 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
revive: {
/**
* Tried to map an account that is already mapped.
**/
AccountAlreadyMapped: AugmentedError<ApiType>;
/**
* An `AccountID32` account tried to interact with the pallet without having a mapping.
*
* Call [`Pallet::map_account`] in order to create a mapping for the account.
**/
AccountUnmapped: AugmentedError<ApiType>;
/**
* Manual mapping is disabled when auto-mapping is enabled.
**/
AutoMappingEnabled: AugmentedError<ApiType>;
/**
* Failed to convert a U256 to a Balance.
**/
BalanceConversionFailed: AugmentedError<ApiType>;
/**
* The program contains a basic block that is larger than allowed.
**/
BasicBlockTooLarge: AugmentedError<ApiType>;
/**
* The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
**/
BlobTooLarge: AugmentedError<ApiType>;
/**
* The calldata exceeds [`limits::CALLDATA_BYTES`].
**/
CallDataTooLarge: AugmentedError<ApiType>;
/**
* Can not add a delegate dependency to the code hash of the contract itself.
**/
CannotAddSelfAsDelegateDependency: AugmentedError<ApiType>;
/**
* No code info could be found at the supplied code hash.
**/
CodeInfoNotFound: AugmentedError<ApiType>;
/**
* Code removal was denied because the code is still in use by at least one contract.
**/
CodeInUse: AugmentedError<ApiType>;
/**
* No code could be found at the supplied code hash.
**/
CodeNotFound: AugmentedError<ApiType>;
/**
* The contract failed to compile or is missing the correct entry points.
*
* A more detailed error can be found on the node console if debug messages are enabled
* by supplying `-lruntime::revive=debug`.
**/
CodeRejected: AugmentedError<ApiType>;
/**
* No contract was found at the specified address.
**/
ContractNotFound: AugmentedError<ApiType>;
/**
* The contract ran to completion but decided to revert its storage changes.
* Please note that this error is only returned from extrinsics. When called directly
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
* to determine whether a reversion has taken place.
**/
ContractReverted: AugmentedError<ApiType>;
/**
* Contract trapped during execution.
**/
ContractTrapped: AugmentedError<ApiType>;
/**
* Input passed to a contract API function failed to decode as expected type.
**/
DecodingFailed: AugmentedError<ApiType>;
/**
* The contract already depends on the given delegate dependency.
**/
DelegateDependencyAlreadyExists: AugmentedError<ApiType>;
/**
* The dependency was not found in the contract's delegate dependencies.
**/
DelegateDependencyNotFound: AugmentedError<ApiType>;
/**
* A contract with the same AccountId already exists.
**/
DuplicateContract: AugmentedError<ApiType>;
/**
* ECDSA public key recovery failed. Most probably wrong recovery id or signature.
**/
EcdsaRecoveryFailed: AugmentedError<ApiType>;
/**
* Tried to construct an EVM contract via code hash.
*
* EVM contracts can only be instantiated via code upload as no initcode is
* stored on-chain.
**/
EvmConstructedFromHash: AugmentedError<ApiType>;
/**
* When calling an EVM constructor `data` has to be empty.
*
* EVM constructors do not accept data. Their input data is part of the code blob itself.
**/
EvmConstructorNonEmptyData: AugmentedError<ApiType>;
/**
* PolkaVM failed during code execution. Probably due to a malformed program.
**/
ExecutionFailed: AugmentedError<ApiType>;
/**
* `seal_call` forwarded this contracts input. It therefore is no longer available.
**/
InputForwarded: AugmentedError<ApiType>;
/**
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
**/
InvalidCallFlags: AugmentedError<ApiType>;
/**
* The transaction used to dry-run a contract is invalid.
**/
InvalidGenericTransaction: AugmentedError<ApiType>;
/**
* Immutable data can only be set during deploys and only be read during calls.
* Additionally, it is only valid to set the data once and it must not be empty.
**/
InvalidImmutableAccess: AugmentedError<ApiType>;
/**
* The program contains an invalid instruction.
**/
InvalidInstruction: AugmentedError<ApiType>;
/**
* Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
**/
InvalidJump: AugmentedError<ApiType>;
/**
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
**/
InvalidSchedule: AugmentedError<ApiType>;
/**
* Invalid storage flags were passed to one of the storage syscalls.
**/
InvalidStorageFlags: AugmentedError<ApiType>;
/**
* The contract tried to call a syscall which does not exist (at its current api level).
**/
InvalidSyscall: AugmentedError<ApiType>;
/**
* Performing a call was denied because the calling depth reached the limit
* of what is specified in the schedule.
**/
MaxCallDepthReached: AugmentedError<ApiType>;
/**
* The contract has reached its maximum number of delegate dependencies.
**/
MaxDelegateDependenciesReached: AugmentedError<ApiType>;
/**
* A buffer outside of sandbox memory was passed to a contract API function.
**/
OutOfBounds: AugmentedError<ApiType>;
/**
* The executed contract exhausted its gas limit.
**/
OutOfGas: AugmentedError<ApiType>;
/**
* Can not add more data to transient storage.
**/
OutOfTransientStorage: AugmentedError<ApiType>;
/**
* A contract cannot be created at this address: it still has uncleared
* [`NativeDepositOf`] entries from a previously terminated contract that the deletion
* queue has not yet drained.
**/
PendingDepositCleanup: AugmentedError<ApiType>;
/**
* Called a pre-compile that is not allowed to be delegate called.
*
* Some pre-compile functions will trap the caller context if being delegate
* called or if their caller was being delegate called.
**/
PrecompileDelegateDenied: AugmentedError<ApiType>;
/**
* A contract called into the runtime which then called back into this pallet.
**/
ReenteredPallet: AugmentedError<ApiType>;
/**
* A call tried to invoke a contract that is flagged as non-reentrant.
**/
ReentranceDenied: AugmentedError<ApiType>;
/**
* The refcount of a code either over or underflowed.
**/
RefcountOverOrUnderflow: AugmentedError<ApiType>;
/**
* The return data exceeds [`limits::CALLDATA_BYTES`].
**/
ReturnDataTooLarge: AugmentedError<ApiType>;
/**
* Attempting to push a value onto a full stack.
**/
StackOverflow: AugmentedError<ApiType>;
/**
* Attempting to pop a value from an empty stack.
**/
StackUnderflow: AugmentedError<ApiType>;
/**
* A contract attempted to invoke a state modifying API while being in read-only mode.
**/
StateChangeDenied: AugmentedError<ApiType>;
/**
* The contract declares too much memory (ro + rw + stack).
**/
StaticMemoryTooLarge: AugmentedError<ApiType>;
/**
* More storage was created than allowed by the storage deposit limit.
**/
StorageDepositLimitExhausted: AugmentedError<ApiType>;
/**
* Origin doesn't have enough balance to pay the required storage deposits.
**/
StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
/**
* This means there are locks on the contracts storage deposit that prevents refunding it.
*
* This would be the case if the contract used its storage deposits for governance
* or other pallets that allow creating locks over held balance.
**/
StorageRefundLocked: AugmentedError<ApiType>;
/**
* The contract does not have enough balance to refund the storage deposit.
*
* This is a bug and should never happen. It means the accounting got out of sync.
**/
StorageRefundNotEnoughFunds: AugmentedError<ApiType>;
/**
* A contract self destructed in its constructor.
*
* This can be triggered by a call to `seal_terminate`.
**/
TerminatedInConstructor: AugmentedError<ApiType>;
/**
* Termination of a contract is not allowed while the contract is already
* on the call stack. Can be triggered by `seal_terminate`.
**/
TerminatedWhileReentrant: AugmentedError<ApiType>;
/**
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
**/
TooManyTopics: AugmentedError<ApiType>;
/**
* Performing the requested transfer failed. Probably because there isn't enough
* free balance in the sender's account.
**/
TransferFailed: AugmentedError<ApiType>;
/**
* Too much deposit was drawn from the shared txfee and deposit credit.
*
* This happens if the passed `gas` inside the ethereum transaction is too low.
**/
TxFeeOverdraw: AugmentedError<ApiType>;
/**
* Unsupported precompile address.
**/
UnsupportedPrecompileAddress: AugmentedError<ApiType>;
/**
* Event body or storage item exceeds [`limits::STORAGE_BYTES`].
**/
ValueTooLarge: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
scheduler: {
/**
* Failed to schedule a call
@@ -1907,6 +2268,10 @@ declare module '@polkadot/api-base/types/errors' {
* Cannot reset a ledger.
**/
CannotRestoreLedger: AugmentedError<ApiType>;
/**
* Commission is higher than the allowed maximum `MaxCommission`.
**/
CommissionTooHigh: AugmentedError<ApiType>;
/**
* Commission is too low. Must be at least `MinCommission`.
**/
@@ -1981,6 +2346,10 @@ declare module '@polkadot/api-base/types/errors' {
* Can not rebond without unlocking chunks.
**/
NoUnlockChunk: AugmentedError<ApiType>;
/**
* Optimum self-stake cannot be greater than hard cap.
**/
OptimumGreaterThanCap: 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.
@@ -2018,6 +2387,36 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
stakingRcClient: {
/**
* Delivery fees exceeded the specified maximum.
**/
FeesExceededMax: AugmentedError<ApiType>;
/**
* The session keys could not be decoded as the expected RelayChainSessionKeys type.
**/
InvalidKeys: AugmentedError<ApiType>;
/**
* Invalid ownership proof for the session keys.
**/
InvalidProof: AugmentedError<ApiType>;
/**
* The origin account is not a registered validator.
*
* Only accounts that have called `validate()` can set or purge session keys. When called
* via a staking proxy, the origin is the delegating account (stash), which must be a
* registered validator.
**/
NotValidator: AugmentedError<ApiType>;
/**
* Failed to send XCM message to the Relay Chain.
**/
XcmSendFailed: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
stateTrieMigration: {
/**
* Bad child root provided.
@@ -6,94 +6,25 @@
import '@polkadot/api-base/types/events';
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { BTreeMap, Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeProxyType, AssetHubPolkadotRuntimeRuntimeParametersKey, AssetHubPolkadotRuntimeRuntimeParametersValue, AssetHubPolkadotRuntimeRuntimeTask, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletAhMigratorMigrationStage, PalletAhMigratorPalletEventName, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockVerifierFeasibilityError, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRcMigratorQueuePriority, PalletStakingAsyncForcing, PalletStakingAsyncPalletUnexpectedKind, PalletStakingAsyncRcClientUnexpectedKind, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SnowbridgeCoreOperatingModeBasicOperatingMode, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { AccountId32, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeProxyType, AssetHubPolkadotRuntimeRuntimeHoldReason, AssetHubPolkadotRuntimeRuntimeParametersKey, AssetHubPolkadotRuntimeRuntimeParametersValue, AssetHubPolkadotRuntimeRuntimeTask, AssetsCommonLocalAndForeignAssetsForeignAssetReserveData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletDapUnexpectedKind, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockVerifierFeasibilityError, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletStakingAsyncForcing, PalletStakingAsyncPalletUnexpectedKind, PalletStakingAsyncRcClientUnexpectedKind, PalletStakingAsyncRewardDestination, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, ParachainsCommonPayVersionedLocatableAccount, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SnowbridgeCoreOperatingModeBasicOperatingMode, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
declare module '@polkadot/api-base/types/events' {
interface AugmentedEvents<ApiType extends ApiTypes> {
ahMigrator: {
AccountTranslatedParachainSovereign: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32], { from: AccountId32, to: AccountId32 }>;
AccountTranslatedParachainSovereignDerived: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, derivationIndex: u16], { from: AccountId32, to: AccountId32, derivationIndex: u16 }>;
/**
* The Asset Hub Migration finished.
*
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
* to understand. The finishing is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
/**
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
* emitted.
*
* This event is equivalent to `StageTransition { new: DataMigrationOngoing, .. }` but is
* easier to understand. The activation is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
/**
* The balances before the migration were consumed.
**/
BalancesBeforeRecordConsumed: AugmentedEvent<ApiType, [checkingAccount: u128, totalIssuance: u128], { checkingAccount: u128, totalIssuance: u128 }>;
/**
* The balances before the migration were recorded.
**/
BalancesBeforeRecordSet: AugmentedEvent<ApiType, [checkingAccount: u128, totalIssuance: u128], { checkingAccount: u128, totalIssuance: u128 }>;
/**
* We processed a batch of messages for this pallet.
**/
BatchProcessed: AugmentedEvent<ApiType, [pallet: PalletAhMigratorPalletEventName, countGood: u32, countBad: u32], { pallet: PalletAhMigratorPalletEventName, countGood: u32, countBad: u32 }>;
/**
* We received a batch of messages that will be integrated into a pallet.
**/
BatchReceived: AugmentedEvent<ApiType, [pallet: PalletAhMigratorPalletEventName, count: u32], { pallet: PalletAhMigratorPalletEventName, count: u32 }>;
/**
* The DMP queue priority config was set.
**/
DmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], { old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority }>;
/**
* Whether the DMP queue was prioritized for the next block.
**/
DmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], { prioritized: bool, cycleBlock: u32, cyclePeriod: u32 }>;
/**
* Failed to unreserve a multisig deposit.
**/
FailedToUnreserveMultisigDeposit: AugmentedEvent<ApiType, [expectedAmount: u128, missingAmount: u128, account: AccountId32], { expectedAmount: u128, missingAmount: u128, account: AccountId32 }>;
/**
* Failed to unreserve a legacy status preimage deposit.
**/
FailedToUnreservePreimageDeposit: AugmentedEvent<ApiType, [expectedAmount: u128, missingAmount: u128, account: AccountId32], { expectedAmount: u128, missingAmount: u128, account: AccountId32 }>;
/**
* The manager account id was set.
**/
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
/**
* A referendum was cancelled because it could not be mapped.
**/
ReferendumCanceled: AugmentedEvent<ApiType, [id: u32], { id: u32 }>;
/**
* A stage transition has occurred.
**/
StageTransition: AugmentedEvent<ApiType, [old: PalletAhMigratorMigrationStage, new_: PalletAhMigratorMigrationStage], { old: PalletAhMigratorMigrationStage, new_: PalletAhMigratorMigrationStage }>;
/**
* An XCM message was sent.
**/
XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
ahOps: {
/**
* Some amount for a crowdloan reserve could not be unreserved and needs manual cleanup.
**/
CrowdloanUnreserveRemaining: AugmentedEvent<ApiType, [depositor: AccountId32, paraId: u32, remaining: u128], { depositor: AccountId32, paraId: u32, remaining: u128 }>;
/**
* Failed to re-bond some migrated funds.
**/
FailedToBond: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
/**
* Some lease reserve could not be unreserved and needs manual cleanup.
**/
@@ -102,7 +33,7 @@ declare module '@polkadot/api-base/types/events' {
* A sovereign parachain account has been migrated from its child to sibling
* representation.
**/
SovereignMigrated: AugmentedEvent<ApiType, [paraId: u32, from: AccountId32, to: AccountId32, derivationIndex: Option<u16>], { paraId: u32, from: AccountId32, to: AccountId32, derivationIndex: Option<u16> }>;
SovereignMigrated: AugmentedEvent<ApiType, [paraId: u16, from: AccountId32, to: AccountId32, derivationPath: Vec<u16>], { paraId: u16, from: AccountId32, to: AccountId32, derivationPath: Vec<u16> }>;
/**
* Generic event
**/
@@ -189,6 +120,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were destroyed.
**/
Burned: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, balance: u128], { assetId: u32, owner: AccountId32, balance: u128 }>;
/**
* Some assets Credit was destroyed.
**/
BurnedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some assets Debt was destroyed (and assets issued).
**/
BurnedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some asset class was created.
**/
@@ -217,6 +156,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were issued.
**/
Issued: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, amount: u128 }>;
/**
* Some assets were issued as Credit (no owner yet).
**/
IssuedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some assets were burned and a Debt was created.
**/
IssuedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Metadata has been cleared for an asset.
**/
@@ -229,6 +176,14 @@ declare module '@polkadot/api-base/types/events' {
* The owner changed.
**/
OwnerChanged: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32], { assetId: u32, owner: AccountId32 }>;
/**
* Reserve information was removed for `asset_id`.
**/
ReservesRemoved: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
/**
* Reserve information was set or updated for `asset_id`.
**/
ReservesUpdated: AugmentedEvent<ApiType, [assetId: u32, reserves: Vec<Null>], { assetId: u32, reserves: Vec<Null> }>;
/**
* The management team changed.
**/
@@ -283,6 +238,14 @@ declare module '@polkadot/api-base/types/events' {
* Some amount was burned from an account.
**/
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some debt has been dropped from the Total Issuance.
**/
BurnedDebt: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Held balance was burned from an account.
**/
BurnedHeld: AugmentedEvent<ApiType, [reason: AssetHubPolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: AssetHubPolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Some amount was deposited (e.g. for transaction fees).
**/
@@ -300,6 +263,10 @@ declare module '@polkadot/api-base/types/events' {
* Some balance was frozen.
**/
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some balance was placed on hold.
**/
Held: AugmentedEvent<ApiType, [reason: AssetHubPolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: AssetHubPolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Total issuance was increased by `amount`, creating a credit to be balanced.
**/
@@ -312,6 +279,14 @@ declare module '@polkadot/api-base/types/events' {
* Some amount was minted into an account.
**/
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some credit was balanced and added to the TotalIssuance.
**/
MintedCredit: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Some balance was released from hold.
**/
Released: AugmentedEvent<ApiType, [reason: AssetHubPolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: AssetHubPolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Total issuance was decreased by `amount`, creating a debt to be balanced.
**/
@@ -349,6 +324,14 @@ declare module '@polkadot/api-base/types/events' {
* Transfer succeeded.
**/
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
/**
* The `transferred` balance is placed on hold at the `dest` account.
**/
TransferAndHold: AugmentedEvent<ApiType, [reason: AssetHubPolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128], { reason: AssetHubPolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128 }>;
/**
* A transfer of `amount` on hold from `source` to `dest` was initiated.
**/
TransferOnHold: AugmentedEvent<ApiType, [reason: AssetHubPolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128], { reason: AssetHubPolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128 }>;
/**
* An unexpected/defensive event was triggered.
**/
@@ -511,19 +494,19 @@ declare module '@polkadot/api-base/types/events' {
/**
* An account has delegated their vote to another account. \[who, target\]
**/
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u16]>;
/**
* An \[account\] has cancelled a previous delegation operation.
**/
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
Undelegated: AugmentedEvent<ApiType, [AccountId32, u16]>;
/**
* An account has voted
**/
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32 }>;
/**
* A vote has been removed
**/
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32 }>;
/**
* The lockup period of a conviction vote expired, and the funds have been unlocked.
**/
@@ -554,6 +537,28 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
dap: {
/**
* Budget allocation was updated via governance.
**/
BudgetAllocationUpdated: AugmentedEvent<ApiType, [allocations: BTreeMap<Bytes, Perbill>], { allocations: BTreeMap<Bytes, Perbill> }>;
/**
* Inflation dripped and distributed to budget recipients.
**/
IssuanceMinted: AugmentedEvent<ApiType, [totalMinted: u128, elapsedMillis: u64], { totalMinted: u128, elapsedMillis: u64 }>;
/**
* Funds were drained from the staging account into the DAP buffer.
**/
StagingDrained: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* An unexpected/defensive event was triggered.
**/
Unexpected: AugmentedEvent<ApiType, [PalletDapUnexpectedKind]>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
delegatedStaking: {
/**
* Funds delegated by a delegator.
@@ -617,6 +622,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were destroyed.
**/
Burned: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32, balance: u128], { assetId: StagingXcmV5Location, owner: AccountId32, balance: u128 }>;
/**
* Some assets Credit was destroyed.
**/
BurnedCredit: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], { assetId: StagingXcmV5Location, amount: u128 }>;
/**
* Some assets Debt was destroyed (and assets issued).
**/
BurnedDebt: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], { assetId: StagingXcmV5Location, amount: u128 }>;
/**
* Some asset class was created.
**/
@@ -645,6 +658,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were issued.
**/
Issued: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32, amount: u128], { assetId: StagingXcmV5Location, owner: AccountId32, amount: u128 }>;
/**
* Some assets were issued as Credit (no owner yet).
**/
IssuedCredit: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], { assetId: StagingXcmV5Location, amount: u128 }>;
/**
* Some assets were burned and a Debt was created.
**/
IssuedDebt: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, amount: u128], { assetId: StagingXcmV5Location, amount: u128 }>;
/**
* Metadata has been cleared for an asset.
**/
@@ -657,6 +678,14 @@ declare module '@polkadot/api-base/types/events' {
* The owner changed.
**/
OwnerChanged: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, owner: AccountId32], { assetId: StagingXcmV5Location, owner: AccountId32 }>;
/**
* Reserve information was removed for `asset_id`.
**/
ReservesRemoved: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location], { assetId: StagingXcmV5Location }>;
/**
* Reserve information was set or updated for `asset_id`.
**/
ReservesUpdated: AugmentedEvent<ApiType, [assetId: StagingXcmV5Location, reserves: Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>], { assetId: StagingXcmV5Location, reserves: Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> }>;
/**
* The management team changed.
**/
@@ -731,6 +760,60 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
multiAssetBounties: {
/**
* A child-/bounty was awarded to a beneficiary.
**/
BountyAwarded: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, beneficiary: ParachainsCommonPayVersionedLocatableAccount], { index: u32, childIndex: Option<u32>, beneficiary: ParachainsCommonPayVersionedLocatableAccount }>;
/**
* The curator accepted role and child-/bounty became active.
**/
BountyBecameActive: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, curator: AccountId32], { index: u32, childIndex: Option<u32>, curator: AccountId32 }>;
/**
* A child-/bounty was cancelled.
**/
BountyCanceled: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], { index: u32, childIndex: Option<u32> }>;
/**
* A new bounty was created and funding has been initiated.
**/
BountyCreated: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
/**
* Funding payment has concluded successfully.
**/
BountyFundingProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], { index: u32, childIndex: Option<u32> }>;
/**
* Payout payment to the beneficiary has concluded successfully.
**/
BountyPayoutProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, value: u128, beneficiary: ParachainsCommonPayVersionedLocatableAccount], { index: u32, childIndex: Option<u32>, assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset, value: u128, beneficiary: ParachainsCommonPayVersionedLocatableAccount }>;
/**
* Refund payment has concluded successfully.
**/
BountyRefundProcessed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], { index: u32, childIndex: Option<u32> }>;
/**
* A new child-bounty was created and funding has been initiated.
**/
ChildBountyCreated: AugmentedEvent<ApiType, [index: u32, childIndex: u32], { index: u32, childIndex: u32 }>;
/**
* A child-/bounty curator was proposed.
**/
CuratorProposed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, curator: AccountId32], { index: u32, childIndex: Option<u32>, curator: AccountId32 }>;
/**
* A child-/bounty curator was unassigned.
**/
CuratorUnassigned: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>], { index: u32, childIndex: Option<u32> }>;
/**
* A payment happened and can be checked.
**/
Paid: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, paymentId: u64], { index: u32, childIndex: Option<u32>, paymentId: u64 }>;
/**
* A payment failed and can be retried.
**/
PaymentFailed: AugmentedEvent<ApiType, [index: u32, childIndex: Option<u32>, paymentId: u64], { index: u32, childIndex: Option<u32>, paymentId: u64 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
multiBlockElection: {
/**
* A phase transition happened. Only checks major changes in the variants, not minor inner
@@ -738,11 +821,19 @@ declare module '@polkadot/api-base/types/events' {
**/
PhaseTransitioned: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase], { from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase }>;
/**
* Target snapshot creation failed
* Phase transition could not even begin becaseu of being out of weight.
**/
UnexpectedPhaseTransitionHalt: AugmentedEvent<ApiType, [required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight], { required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight }>;
/**
* Phase transition could not proceed due to being out of weight.
**/
UnexpectedPhaseTransitionOutOfWeight: AugmentedEvent<ApiType, [from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase, required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight], { from: PalletElectionProviderMultiBlockPhase, to: PalletElectionProviderMultiBlockPhase, required: SpWeightsWeightV2Weight, had: SpWeightsWeightV2Weight }>;
/**
* Target snapshot creation failed.
**/
UnexpectedTargetSnapshotFailed: AugmentedEvent<ApiType, []>;
/**
* Voter snapshot creation failed
* Voter snapshot creation failed.
**/
UnexpectedVoterSnapshotFailed: AugmentedEvent<ApiType, []>;
/**
@@ -806,6 +897,52 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
multiBlockMigrations: {
/**
* The set of historical migrations has been cleared.
**/
HistoricCleared: AugmentedEvent<ApiType, [nextCursor: Option<Bytes>], { nextCursor: Option<Bytes> }>;
/**
* A migration progressed.
**/
MigrationAdvanced: AugmentedEvent<ApiType, [index: u32, took: u32], { index: u32, took: u32 }>;
/**
* A Migration completed.
**/
MigrationCompleted: AugmentedEvent<ApiType, [index: u32, took: u32], { index: u32, took: u32 }>;
/**
* A Migration failed.
*
* This implies that the whole upgrade failed and governance intervention is required.
**/
MigrationFailed: AugmentedEvent<ApiType, [index: u32, took: u32], { index: u32, took: u32 }>;
/**
* A migration was skipped since it was already executed in the past.
**/
MigrationSkipped: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
/**
* The current runtime upgrade completed.
*
* This implies that all of its migrations completed successfully as well.
**/
UpgradeCompleted: AugmentedEvent<ApiType, []>;
/**
* Runtime upgrade failed.
*
* This is very bad and will require governance intervention.
**/
UpgradeFailed: AugmentedEvent<ApiType, []>;
/**
* A Runtime upgrade started.
*
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
**/
UpgradeStarted: AugmentedEvent<ApiType, [migrations: u32], { migrations: u32 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
multisig: {
/**
* The deposit for a multisig operation has been updated/poked.
@@ -1350,6 +1487,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were destroyed.
**/
Burned: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, balance: u128], { assetId: u32, owner: AccountId32, balance: u128 }>;
/**
* Some assets Credit was destroyed.
**/
BurnedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some assets Debt was destroyed (and assets issued).
**/
BurnedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some asset class was created.
**/
@@ -1378,6 +1523,14 @@ declare module '@polkadot/api-base/types/events' {
* Some assets were issued.
**/
Issued: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, amount: u128], { assetId: u32, owner: AccountId32, amount: u128 }>;
/**
* Some assets were issued as Credit (no owner yet).
**/
IssuedCredit: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Some assets were burned and a Debt was created.
**/
IssuedDebt: AugmentedEvent<ApiType, [assetId: u32, amount: u128], { assetId: u32, amount: u128 }>;
/**
* Metadata has been cleared for an asset.
**/
@@ -1390,6 +1543,14 @@ declare module '@polkadot/api-base/types/events' {
* The owner changed.
**/
OwnerChanged: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32], { assetId: u32, owner: AccountId32 }>;
/**
* Reserve information was removed for `asset_id`.
**/
ReservesRemoved: AugmentedEvent<ApiType, [assetId: u32], { assetId: u32 }>;
/**
* Reserve information was set or updated for `asset_id`.
**/
ReservesUpdated: AugmentedEvent<ApiType, [assetId: u32, reserves: Vec<Null>], { assetId: u32, reserves: Vec<Null> }>;
/**
* The management team changed.
**/
@@ -1463,7 +1624,7 @@ declare module '@polkadot/api-base/types/events' {
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: AssetHubPolkadotRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: AssetHubPolkadotRuntimeProxyType, disambiguationIndex: u16 }>;
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: AssetHubPolkadotRuntimeProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32], { pure: AccountId32, who: AccountId32, proxyType: AssetHubPolkadotRuntimeProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32 }>;
/**
* A pure proxy was killed by its spawner.
**/
@@ -1537,6 +1698,29 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
revive: {
/**
* A custom event emitted by the contract.
**/
ContractEmitted: AugmentedEvent<ApiType, [contract: H160, data: Bytes, topics: Vec<H256>], { contract: H160, data: Bytes, topics: Vec<H256> }>;
/**
* Emitted when an Ethereum transaction reverts.
*
* Ethereum transactions always complete successfully at the extrinsic level,
* as even reverted calls must store their `ReceiptInfo`.
* To distinguish reverted calls from successful ones, this event is emitted
* for failed Ethereum transactions.
**/
EthExtrinsicRevert: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError], { dispatchError: SpRuntimeDispatchError }>;
/**
* Contract deployed by deployer at the specified address.
**/
Instantiated: AugmentedEvent<ApiType, [deployer: H160, contract: H160], { deployer: H160, contract: H160 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
scheduler: {
/**
* Agenda is incomplete from `when`.
@@ -1644,8 +1828,11 @@ declare module '@polkadot/api-base/types/events' {
**/
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.
* The era payout has been set.
*
* In non-minting mode, `validator_payout` is the staker reward budget
* snapshotted from the general pot, and `remainder` is always zero.
* In legacy minting mode, both fields reflect the `EraPayout` computation.
**/
EraPaid: AugmentedEvent<ApiType, [eraIndex: u32, validatorPayout: u128, remainder: u128], { eraIndex: u32, validatorPayout: u128, remainder: u128 }>;
/**
@@ -1732,6 +1919,14 @@ declare module '@polkadot/api-base/types/events' {
* Logged as an event for fail-safe observability.
**/
Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncPalletUnexpectedKind]>;
/**
* Validator self-stake incentive configuration has been updated.
**/
ValidatorIncentiveConfigSet: AugmentedEvent<ApiType, [optimumSelfStake: u128, hardCapSelfStake: u128, slopeFactor: Perbill], { optimumSelfStake: u128, hardCapSelfStake: u128, slopeFactor: Perbill }>;
/**
* The validator has been paid their self-stake incentive bonus.
**/
ValidatorIncentivePaid: AugmentedEvent<ApiType, [era: u32, validatorStash: AccountId32, dest: PalletStakingAsyncRewardDestination, amount: u128], { era: u32, validatorStash: AccountId32, dest: PalletStakingAsyncRewardDestination, amount: u128 }>;
/**
* A validator has set their preferences.
**/
@@ -1747,6 +1942,12 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
stakingRcClient: {
/**
* Fees were charged for a user operation (set_keys or purge_keys).
*
* The fee includes both XCM delivery fee and relay chain execution cost.
**/
FeesPaid: AugmentedEvent<ApiType, [who: AccountId32, fees: u128], { who: AccountId32, fees: u128 }>;
/**
* A new offence was reported.
**/
@@ -1790,9 +1991,9 @@ declare module '@polkadot/api-base/types/events' {
};
system: {
/**
* `:code` was updated.
* `:code` was updated to the code with the given hash.
**/
CodeUpdated: AugmentedEvent<ApiType, []>;
CodeUpdated: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
/**
* An extrinsic failed.
**/
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '../base.js';
@@ -6,11 +6,11 @@
import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { BTreeMap, BTreeSet, Bytes, Compact, Null, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
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 { AssetHubPolkadotRuntimeRuntimeParametersKey, AssetHubPolkadotRuntimeRuntimeParametersValue, AssetHubPolkadotRuntimeSessionKeys, AssetHubPolkadotRuntimeStakingNposCompactSolution16, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameElectionProviderSupportBoundedSupports, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAhMigratorBalancesBefore, PalletAhMigratorMigrationStage, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollatorSelectionCandidateInfo, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockSignedSubmissionMetadata, PalletElectionProviderMultiBlockVerifierImplsPartialBackings, PalletElectionProviderMultiBlockVerifierImplsStatus, PalletElectionProviderMultiBlockVerifierImplsValidSolution, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinitionAssetHubPolkadotRuntimeProxyType, PalletRcMigratorAccountsAccount, PalletRcMigratorQueuePriority, PalletReferendaReferendumInfoOriginCaller, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingAsyncActiveEraInfo, PalletStakingAsyncEraRewardPoints, PalletStakingAsyncForcing, PalletStakingAsyncLedgerStakingLedger, PalletStakingAsyncNominations, PalletStakingAsyncPalletBoundedExposurePage, PalletStakingAsyncPalletPruningStep, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingAsyncRewardDestination, PalletStakingAsyncSlashingOffenceRecord, PalletStakingAsyncSnapshotStatus, PalletStakingAsyncUnappliedSlash, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SnowbridgeCoreOperatingModeBasicOperatingMode, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingPagedExposureMetadata, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { AccountId32, H160, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeRuntimeParametersKey, AssetHubPolkadotRuntimeRuntimeParametersValue, AssetHubPolkadotRuntimeSessionKeys, AssetHubPolkadotRuntimeStakingNposCompactSolution16, AssetsCommonLocalAndForeignAssetsForeignAssetReserveData, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemBlockWeightBlockWeightMode, CumulusPalletParachainSystemParachainInherentInboundMessageId, CumulusPalletParachainSystemPoVMessages, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameElectionProviderSupportBoundedSupports, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollatorSelectionCandidateInfo, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiBlockPhase, PalletElectionProviderMultiBlockSignedSubmissionMetadata, PalletElectionProviderMultiBlockVerifierImplsPartialBackings, PalletElectionProviderMultiBlockVerifierImplsStatus, PalletElectionProviderMultiBlockVerifierImplsValidSolution, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMultiAssetBountiesBounty, PalletMultiAssetBountiesChildBounty, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletReviveDebugDebugSettings, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR, PalletReviveEvmBlockHashReceiptGasInfo, PalletReviveStorageAccountInfo, PalletReviveStorageDeletionQueueItem, PalletReviveStorageDeletionQueueManager, PalletReviveVmCodeInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingAsyncActiveEraInfo, PalletStakingAsyncEraRewardPoints, PalletStakingAsyncForcing, PalletStakingAsyncLedgerStakingLedger, PalletStakingAsyncNominations, PalletStakingAsyncPalletBoundedExposurePage, PalletStakingAsyncPalletPruningStep, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingAsyncRewardDestination, PalletStakingAsyncSlashingOffenceRecord, PalletStakingAsyncSnapshotStatus, PalletStakingAsyncUnappliedSlash, PalletStakingAsyncValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV9AbridgedHostConfiguration, PolkadotPrimitivesV9PersistedValidationData, PolkadotPrimitivesV9UpgradeGoAhead, PolkadotPrimitivesV9UpgradeRestriction, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, SnowbridgeCoreOperatingModeBasicOperatingMode, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingPagedExposureMetadata, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -18,58 +18,6 @@ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorage
declare module '@polkadot/api-base/types/storage' {
interface AugmentedQueries<ApiType extends ApiTypes> {
ahMigrator: {
/**
* Helper storage item to store the total balance / total issuance of native token at the start
* of the migration. Since teleports are disabled during migration, the total issuance will not
* change for other reason than the migration itself.
**/
ahBalancesBefore: AugmentedQuery<ApiType, () => Observable<PalletAhMigratorBalancesBefore>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The Asset Hub migration state.
**/
ahMigrationStage: AugmentedQuery<ApiType, () => Observable<PalletAhMigratorMigrationStage>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The priority of the DMP queue during migration.
*
* Controls how the DMP (Downward Message Passing) queue is processed relative to other queues
* during the migration process. This helps ensure timely processing of migration messages.
* The default priority pattern is defined in the pallet configuration, but can be overridden
* by a storage value of this type.
**/
dmpQueuePriorityConfig: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorQueuePriority>, []> & QueryableStorageEntry<ApiType, []>;
/**
* An optional account id of a manager.
*
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
* can not set the manager account id via `set_manager` call.
**/
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Block number when migration finished and extrinsics were unlocked.
*
* This is set when entering the `MigrationDone` stage hence when
* `RcMigrationStage::is_finished()` becomes `true`.
**/
migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The block number at which the migration began and the pallet's extrinsics were locked.
*
* This value is set when entering the `WaitingForAh` stage, i.e., when
* `RcMigrationStage::is_ongoing()` becomes `true`.
**/
migrationStartBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* RC accounts that failed to migrate when were received on the Asset Hub.
*
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
**/
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountsAccount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
ahOps: {
/**
* Amount of balance that a contributor made towards a crowdloan.
@@ -185,6 +133,45 @@ declare module '@polkadot/api-base/types/storage' {
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Maps an asset to a list of its configured reserve information.
**/
reserves: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Null>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
assetsPrecompiles: {
/**
* Mapping an asset index (derived from the precompile address) to a `ForeignAssetId`.
**/
assetIndexToForeignAssetId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<StagingXcmV5Location>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Mapping a `ForeignAssetId` to an asset index (used for deriving precompile addresses).
**/
foreignAssetIdToAssetIndex: AugmentedQuery<ApiType, (arg: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [StagingXcmV5Location]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location]>;
/**
* The next available asset index for foreign assets.
* This is incremented each time a new foreign asset mapping is created.
**/
nextAssetIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
assetsPrecompilesPermit: {
/**
* Nonces for permit signatures.
* Mapping: (verifying_contract, owner_address) => nonce
*
* Uses Blake2_128Concat for the first key to prevent storage collision attacks
* when the verifying_contract address could be influenced by an attacker.
*
* Note: EIP-2612 specifies uint256 nonce. We store as U256 for compatibility.
**/
nonces: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<U256>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;
/**
* Generic query
**/
@@ -437,6 +424,26 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
dap: {
/**
* Budget allocation map: `BudgetKey -> Perbill`.
*
* Keys must correspond to registered `BudgetRecipients`. Sum of values must be
* exactly `Perbill::one()` (100%). Recipients not included receive nothing.
**/
budgetAllocation: AugmentedQuery<ApiType, () => Observable<BTreeMap<Bytes, Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Timestamp (ms) of the last issuance drip.
*
* On existing chains, this must be seeded via
* [`migrations::MigrateV1ToV2`] to prevent incorrect minting on the first drip.
**/
lastIssuanceTimestamp: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
delegatedStaking: {
/**
* Map of `Agent` to their `Ledger`.
@@ -499,6 +506,10 @@ declare module '@polkadot/api-base/types/storage' {
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<StagingXcmV5Location>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Maps an asset to a list of its configured reserve information.
**/
reserves: AugmentedQuery<ApiType, (arg: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Vec<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>>, [StagingXcmV5Location]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location]>;
/**
* Generic query
**/
@@ -532,6 +543,59 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
multiAssetBounties: {
/**
* Bounties that have been made.
**/
bounties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMultiAssetBountiesBounty>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Number of bounty proposals that have been made.
**/
bountyCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Child bounties that have been added.
*
* Indexed by `(parent_bounty_id, child_bounty_id)`.
**/
childBounties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletMultiAssetBountiesChildBounty>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
* Number of active child bounties per parent bounty.
*
* Indexed by `parent_bounty_id`.
**/
childBountiesPerParent: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The cumulative child-bounty value for each parent bounty. To be subtracted from the parent
* bounty payout when awarding bounty.
*
* Indexed by `parent_bounty_id`.
**/
childBountiesValuePerParent: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The consideration cost incurred by the child-/bounty curator for committing to the role.
*
* Determined by [`pallet::Config::Consideration`]. It is created when the curator accepts the
* role, and is either burned if the curator misbehaves or consumed upon successful
* completion of the child-/bounty.
*
* Note: If the parent curator is also assigned to the child-bounty,
* the consideration cost is charged only once when the curator
* accepts the role for the parent bounty.
*
* Indexed by `(parent_bounty_id, child_bounty_id)`.
**/
curatorDeposit: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Option<u128>>, [u32, Option<u32>]> & QueryableStorageEntry<ApiType, [u32, Option<u32>]>;
/**
* Number of total child bounties per parent bounty, including completed bounties.
*
* Indexed by `parent_bounty_id`.
**/
totalChildBountiesPerParent: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
multiBlockElection: {
/**
* Current phase.
@@ -657,6 +721,25 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
multiBlockMigrations: {
/**
* The currently active migration to run and its cursor.
*
* `None` indicates that no migration is running.
**/
cursor: AugmentedQuery<ApiType, () => Observable<Option<PalletMigrationsMigrationCursor>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Set of all successfully executed migrations.
*
* This is used as blacklist, to not re-execute migrations that have not been removed from the
* codebase yet. Governance can regularly clear this out via `clear_historic`.
**/
historic: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<Null>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
multisig: {
/**
* The set of open multisig operations.
@@ -868,6 +951,15 @@ declare module '@polkadot/api-base/types/storage' {
* announcing the weight of `on_initialize` and `on_finalize`.
**/
announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current block weight mode.
*
* This is used to determine what is the maximum allowed block weight, for more information see
* [`block_weight`].
*
* Killed in [`Self::on_initialize`] and set by the [`block_weight`] logic.
**/
blockWeightMode: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemBlockWeightBlockWeightMode>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A custom head data that should be returned as result of `validate_block`.
*
@@ -886,7 +978,7 @@ declare module '@polkadot/api-base/types/storage' {
*
* This data is also absent from the genesis.
**/
hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* HRMP messages that were sent in a block.
*
@@ -938,18 +1030,40 @@ declare module '@polkadot/api-base/types/storage' {
**/
newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Upward messages that are still pending and not yet send to the relay chain.
* The approved peer id to be sent as a UMP signal on the last block of the PoV.
**/
pendingApprovedPeer: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Upward messages that are still pending and not yet sent to the relay chain.
**/
pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Upward signals that are still pending and not yet sent to the relay chain.
*
* This will be cleared in `on_finalize` for each block.
**/
pendingUpwardSignals: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* In case of a scheduled upgrade, this storage field contains the validation code to be
* applied.
*
* As soon as the relay chain gives us the go-ahead signal, we will overwrite the
* [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process
* with the new validation code. This concludes the upgrade process.
* [`:pending_code`][sp_core::storage::well_known_keys::PENDING_CODE] which will result the
* next block to be processed with the new validation code. This concludes the upgrade process.
**/
pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Tracks cumulative `UMP` and `HRMP` messages sent across blocks in the current `PoV`.
*
* Across different candidates/PoVs the budgets are tracked by [`AggregatedUnincludedSegment`].
**/
poVMessagesTracker: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemPoVMessages>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The core count available to the parachain in the previous block.
*
* This is mainly used for offchain functionality to calculate the correct target block weight.
**/
previousCoreCount: AugmentedQuery<ApiType, () => Observable<Option<Compact<u16>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of downward messages processed in a block.
*
@@ -1001,7 +1115,7 @@ declare module '@polkadot/api-base/types/storage' {
* relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
* set after the inherent.
**/
upgradeGoAhead: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, []> & QueryableStorageEntry<ApiType, []>;
upgradeGoAhead: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9UpgradeGoAhead>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* An option which indicates if the relay-chain restricts signalling a validation code upgrade.
* In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced
@@ -1011,7 +1125,7 @@ declare module '@polkadot/api-base/types/storage' {
* relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
* set after the inherent.
**/
upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;
upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The factor to multiply the base delivery fee by for UMP.
**/
@@ -1019,15 +1133,15 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Upward messages that were sent in a block.
*
* This will be cleared in `on_initialize` of each new block.
* This will be cleared in `on_initialize` for each new block.
**/
upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The [`PersistedValidationData`] set for this block.
* This value is expected to be set only once per block and it's never stored
* in the trie.
*
* This value is expected to be set only once by the [`Pallet::set_validation_data`] inherent.
**/
validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;
validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -1160,6 +1274,10 @@ declare module '@polkadot/api-base/types/storage' {
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Maps an asset to a list of its configured reserve information.
**/
reserves: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Null>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
@@ -1173,6 +1291,8 @@ declare module '@polkadot/api-base/types/storage' {
requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* The request status of a given hash.
*
* @deprecated RequestStatusFor
**/
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
@@ -1189,7 +1309,7 @@ declare module '@polkadot/api-base/types/storage' {
* The set of account proxies. Maps the account which has delegated to the accounts
* which are being delegated to, together with the amount held on deposit.
**/
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinitionAssetHubPolkadotRuntimeProxyType>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -1216,7 +1336,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Information concerning any given referendum.
**/
referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfoOriginCaller>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
referendumInfoFor: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReferendaReferendumInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
* conviction-weighted approvals.
@@ -1229,6 +1349,107 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
revive: {
/**
* The data associated to a contract or externally owned account.
**/
accountInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageAccountInfo>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Mapping for block number and hashes.
*
* The maximum number of elements stored is capped by the block hash count `BLOCK_HASH_COUNT`.
**/
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* A mapping from a contract's code hash to its code info.
**/
codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveVmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* Debugging settings that can be configured when DebugEnabled config is true.
**/
debugSettingsOf: AugmentedQuery<ApiType, () => Observable<PalletReviveDebugDebugSettings>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Terminated contracts that await lazy cleanup.
*
* Each entry pairs a child trie ID with the contract account so that `on_idle` can
* drain both the child trie and any [`NativeDepositOf`] entries that named the contract
* as `holder`. Both can be arbitrarily large, so cleanup runs lazily in `on_idle`.
**/
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletReviveStorageDeletionQueueItem>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* A pair of monotonic counters used to track the latest contract marked for deletion
* and the latest deleted contract in queue.
**/
deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletReviveStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The first transaction and receipt of the ethereum block.
*
* These values are moved out of the `EthBlockBuilderIR` to avoid serializing and
* deserializing them on every transaction. Instead, they are loaded when needed.
**/
ethBlockBuilderFirstValues: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[Bytes, Bytes]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Incremental ethereum block builder.
**/
ethBlockBuilderIR: AugmentedQuery<ApiType, () => Observable<PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current Ethereum block that is stored in the `on_finalize` method.
*
* # Note
*
* This could be further optimized into the future to store only the minimum
* information needed to reconstruct the Ethereum block at the RPC level.
*
* Since the block is convenient to have around, and the extra details are capped
* by a few hashes and the vector of transaction hashes, we store the block here.
**/
ethereumBlock: AugmentedQuery<ApiType, () => Observable<PalletReviveEvmApiRpcTypesGenBlock>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The immutable data associated with a given account.
**/
immutableDataOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Bytes>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* Native currency storage deposit contributed by a user into a contract.
*
* Bounds how much native value the user can receive back from that contract's
* storage deposit.
*
* Keys: `(holder, contributor) -> amount`
* - `holder`: account on which the deposit is held (a contract, or the pallet's own account
* for code-upload deposits).
* - `contributor`: user that funded the deposit. Receives the native portion on refund, capped
* at this entry's `amount`.
**/
nativeDepositOf: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
/**
* Map a Ethereum address to its original `AccountId32`.
*
* When deriving a `H160` from an `AccountId32` we use a hash function. In order to
* reconstruct the original account we need to store the reverse mapping here.
* Register your `AccountId32` using [`Pallet::map_account`] in order to
* use it with this pallet.
**/
originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<AccountId32>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
/**
* A mapping from a contract's code hash to its code.
* The code's size is bounded by [`crate::limits::BLOB_BYTES`] for PVM and
* [`revm::primitives::eip170::MAX_CODE_SIZE`] for EVM bytecode.
**/
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* The details needed to reconstruct the receipt info offchain.
*
* This contains valuable information about the gas used by the transaction.
*
* NOTE: The item is unbound and should therefore never be read on chain.
* It could otherwise inflate the PoV size of a block.
**/
receiptInfoData: AugmentedQuery<ApiType, () => Observable<Vec<PalletReviveEvmBlockHashReceiptGasInfo>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
scheduler: {
/**
* Items to be executed, indexed by the block number that they should be executed on.
@@ -1267,6 +1488,13 @@ declare module '@polkadot/api-base/types/storage' {
* a new set of identities.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Accounts whose keys were set via `SessionInterface` (external path) without
* incrementing the consumer reference or placing a key deposit. `do_purge_keys`
* only decrements consumers for accounts that were registered through the local
* session pallet.
**/
externallySetKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
**/
@@ -1312,6 +1540,16 @@ declare module '@polkadot/api-base/types/storage' {
* equal to what is RC's session pallet.
**/
activeEra: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingAsyncActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Whether nominators are slashable or not.
*
* - When set to `true` (default), nominators are slashed along with validators and must wait
* the full [`Config::BondingDuration`] before withdrawing unbonded funds.
* - When set to `false`, nominators are not slashed, and can unbond in
* [`Config::NominatorFastUnbondDuration`] eras instead of the full
* [`Config::BondingDuration`] (see [`StakingInterface::nominator_bonding_duration`]).
**/
areNominatorsSlashable: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Map from all locked "stash" accounts to the controller account.
*
@@ -1372,6 +1610,16 @@ declare module '@polkadot/api-base/types/storage' {
* set, it might be active or not.
**/
currentEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Safety guard: the era from which legacy minting is permanently disabled on the
* payout side. **Irreversible** once set, should never be cleared.
*
* Separate from [`Config::DisableMinting`] which controls the `end_era` path.
* This storage guards against minting during payout for eras that were created
* in DAP mode. Set automatically by `end_era_dap` on first successful pot snapshot.
* In legacy mode (Kusama), this is never set and the guard is inactive.
**/
disableMintingGuard: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A bounded list of the "electable" stashes that resulted from a successful election.
**/
@@ -1380,6 +1628,16 @@ declare module '@polkadot/api-base/types/storage' {
* Tracks the current step of era pruning process for each era being lazily pruned.
**/
eraPruningState: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletStakingAsyncPalletPruningStep>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Per-era snapshot of whether nominators are slashable.
*
* This is copied from [`AreNominatorsSlashable`] at the start of each era. When processing
* offences, we use the value from this storage for the offence era to ensure that the
* slashing rules at the time of the offence are applied, not the current rules.
*
* If an entry does not exist for an era, nominators are assumed to be slashable (default).
**/
erasNominatorsSlashable: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Rewards for the last [`Config::HistoryDepth`] eras.
* If reward hasn't been set or has been removed then 0 reward is returned.
@@ -1409,11 +1667,28 @@ declare module '@polkadot/api-base/types/storage' {
* This is cleared after [`Config::HistoryDepth`] eras.
**/
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletStakingAsyncPalletBoundedExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
/**
* Sum of all validators' incentive weights for the era.
*
* Directly linked to [`ErasValidatorIncentiveWeight`].
**/
erasSumValidatorIncentiveWeight: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The total amount staked for the last [`Config::HistoryDepth`] eras.
* If total hasn't been set or has been removed then 0 stake is returned.
**/
erasTotalStake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The total validator incentive budget for the given era, snapshotted at era end.
*
* This is the similar to [`ErasValidatorReward`] but for the self-stake incentive pot.
**/
erasValidatorIncentiveBudget: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Individual validator incentive weight per era.
* Each validator's share of the incentive pot = `their_weight / sum_weight`.
**/
erasValidatorIncentiveWeight: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
/**
* Exposure of validator at era with the preferences of validators.
*
@@ -1423,9 +1698,11 @@ declare module '@polkadot/api-base/types/storage' {
**/
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletStakingAsyncValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
/**
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
* The total staker reward budget for each era within [`Config::HistoryDepth`].
*
* Eras that haven't finished yet or has been removed doesn't have reward.
* Set at era finalization:
* - in non-minting mode this is the snapshot of the era pot balance before any payouts.
* - in legacy mode it comes from `EraPayout`, with rewards minted on the fly.
**/
erasValidatorReward: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u128>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
@@ -1433,11 +1710,26 @@ declare module '@polkadot/api-base/types/storage' {
**/
forceEra: AugmentedQuery<ApiType, () => Observable<PalletStakingAsyncForcing>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Any validators that may never be slashed or forcibly kicked. It's a Vec since they're
* easy to initialize and the performance hit is minimal (we expect no more than four
* invulnerables) and restricted to testnets.
* Hard cap on effective validator self-stake.
*
* Self-stake above this value receives no additional reward benefit (plateau).
**/
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
hardCapSelfStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Tracks the last era in which an account was active as a validator (included in the era's
* exposure/snapshot).
*
* This is used to enforce that accounts who were recently validators must wait the full
* [`Config::BondingDuration`] before their funds can be withdrawn, even if they switch to
* nominator role. This prevents validators from:
* 1. Committing a slashable offence in era N
* 2. Switching to nominator role
* 3. Using the shorter nominator unbonding duration to withdraw funds before being slashed
*
* Updated when era snapshots are created (in `ErasStakersPaged`/`ErasStakersOverview`).
* Cleaned up when the stash is killed (fully withdrawn/reaped).
**/
lastValidatorEra: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
*
@@ -1445,6 +1737,12 @@ declare module '@polkadot/api-base/types/storage' {
* by [`StakingLedger`] to ensure data and lock consistency.
**/
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletStakingAsyncLedgerStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The maximum commission that validators can set.
*
* If not set, defaults to `Perbill::one()` (100%), i.e. no upper limit.
**/
maxCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The maximum nominator count before we stop allowing new validators to join.
*
@@ -1454,7 +1752,8 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Maximum staked rewards, i.e. the percentage of the era inflation that
* is used for stake rewards.
* See [Era payout](./index.html#era-payout).
*
* Only used in legacy minting mode (`DisableMinting = false`).
**/
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
/**
@@ -1533,12 +1832,20 @@ declare module '@polkadot/api-base/types/storage' {
* - When a new offence is added to `OffenceQueue`, its era is **inserted in sorted order**
* if not already present.
* - When all offences for an era are processed, it is **removed** from this list.
* - The maximum length of this vector is bounded by `BondingDuration`.
* - The maximum length of this vector is bounded by `BondingDuration +
* OFFENCE_QUEUE_ERAS_BOUND`.
*
* This eliminates the need for expensive iteration and sorting when fetching the next offence
* to process.
**/
offenceQueueEras: AugmentedQuery<ApiType, () => Observable<Option<Vec<u32>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Optimum self-stake threshold for validators.
*
* Below this threshold, the incentive weight grows as `sqrt(self_stake)`.
* Above it, growth is dampened by [`SelfStakeSlopeFactor`].
**/
optimumSelfStake: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Where the reward payment should be made. Keyed by stash.
*
@@ -1560,6 +1867,12 @@ declare module '@polkadot/api-base/types/storage' {
* in a single block while maintaining correct slashing behavior.
**/
processingOffence: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, AccountId32, PalletStakingAsyncSlashingOffenceRecord]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Slope factor controlling the discouragement rate for self-stake between optimum and cap.
*
* Value between 0 and 1: k=1 means no discouragement, k=0 means immediate plateau.
**/
selfStakeSlopeFactor: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The percentage of the slash that is distributed to reporters.
*
@@ -1664,10 +1977,6 @@ declare module '@polkadot/api-base/types/storage' {
* The full account information for a particular account ID.
**/
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Total length (in bytes) for all extrinsics put together, for the current block.
**/
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* `Some` if a code upgrade has been authorized.
**/
@@ -1676,6 +1985,16 @@ declare module '@polkadot/api-base/types/storage' {
* Map of block numbers to block hashes.
**/
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Total size (in bytes) of the current block.
*
* Tracks the size of the header and all extrinsics.
**/
blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of blocks till the pending code upgrade is applied.
**/
blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current weight for the block.
**/
@@ -1799,6 +2118,12 @@ declare module '@polkadot/api-base/types/storage' {
transactionPayment: {
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The `OnChargeTransaction` stores the withdrawn tx fee here.
*
* Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
**/
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -1916,6 +2241,10 @@ declare module '@polkadot/api-base/types/storage' {
* Counter for the related counted storage map
**/
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Counter for the related counted storage map
**/
counterForPendingRebag: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A bag stored in storage.
*
@@ -1940,6 +2269,23 @@ declare module '@polkadot/api-base/types/storage' {
* When `None`, the next scan will start from the list head again.
**/
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Accounts that failed to be inserted into the bags-list due to locking.
* These accounts will be processed with priority in `on_idle` or via `rebag` extrinsic.
*
* Note: This storage is intentionally unbounded. The following factors make bounding
* unnecessary:
* 1. The storage usage is temporary - accounts are processed and removed in `on_idle`
* 2. The pallet is only locked during snapshot generation, which is weight-limited
* 3. Processing happens at multiple accounts per block, clearing even large backlogs quickly
* 4. An artificial limit could be exhausted by an attacker, preventing legitimate
* auto-rebagging from putting accounts in the correct position
*
* We don't store the score here - it's always fetched from `ScoreProvider` when processing,
* ensuring we use the most up-to-date score (accounts may have been slashed, rewarded, etc.
* while waiting in the queue).
**/
pendingRebag: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/assetHubPolkadot';
@@ -6,13 +6,13 @@
import '@polkadot/api-base/types/calls';
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, Text, Vec, bool, u128, u32 } from '@polkadot/types-codec';
import type { Bytes, Null, Option, Result, Text, U256, U8aFixed, Vec, bool, u128, u32 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { ParaId } from '@polkadot/types/interfaces/parachains';
import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { AccountId32, H160, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
import type { AssetHubPolkadotRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesDryRunConfig, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletReviveEvmApiRpcTypesTracingConfig, PalletReviveEvmBlockHashReceiptGasInfo, PalletRevivePrimitivesBalanceConversionError, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeBlockLazyBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpSessionRuntimeApiOpaqueGeneratedSessionKeys, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV5Location, SystemParachainsCommonApisInflationInfo, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -50,6 +50,21 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xc1b8f0c037f97de8/ */
assetHubMigrationApi: {
/**
* Returns the block number when the migration ended.
**/
migrationEndBlock: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Returns the block number when the migration started.
**/
migrationStartBlock: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xdd718d5cc53262d4/ */
auraApi: {
/**
@@ -100,7 +115,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Check that the inherents are valid. The inherent data will vary from chain to chain.
**/
checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, data: SpInherentsInherentData | { data?: any } | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | { header?: any; extrinsics?: any } | string | Uint8Array, data: SpInherentsInherentData | { data?: any } | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
/**
* Finish the current block.
**/
@@ -130,7 +145,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Execute the given block.
**/
executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
/**
* Initialize a block with the given header and return the runtime executive mode.
**/
@@ -149,7 +164,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Dry run call V2.
**/
dryRunCall: AugmentedCall<ApiType, (origin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
dryRunCall: AugmentedCall<ApiType, (origin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Origins: any } | { Revive: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
/**
* Dry run XCM program
**/
@@ -200,6 +215,17 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xc51ff1fa3f5d0cca/ */
inflation: {
/**
* Return the current estimates of the issuance amount.,, This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly, recommended over trying to read-storage, or re-create the onchain logic.
**/
experimentalIssuancePredictionInfo: AugmentedCall<ApiType, () => Observable<SystemParachainsCommonApisInflationInfo>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x9ffb505aa738d69c/ */
locationToAccountApi: {
/**
@@ -299,6 +325,121 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x8c403e5c4a9fd442/ */
reviveApi: {
/**
* Get the account id associated to this H160 address.
**/
accountId: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<AccountId32>>;
/**
* Get the H160 address associated to this account id
**/
address: AugmentedCall<ApiType, (account_id: AccountId32 | string | Uint8Array) => Observable<H160>>;
/**
* Returns the free balance of the given `[H160]` address, using EVM decimals.
**/
balance: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<U256>>;
/**
* The address of the validator that produced the current block.
**/
blockAuthor: AugmentedCall<ApiType, () => Observable<H160>>;
/**
* Returns the block gas limit.
**/
blockGasLimit: AugmentedCall<ApiType, () => Observable<U256>>;
/**
* Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`].
**/
call: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, dest: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<PalletRevivePrimitivesContractResultExecReturnValue>>;
/**
* The code at the specified address taking pre-compiles into account.
**/
code: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<Bytes>>;
/**
* Returns the current ETH block.,, This is one block behind the substrate block.
**/
ethBlock: AugmentedCall<ApiType, () => Observable<PalletReviveEvmApiRpcTypesGenBlock>>;
/**
* Returns the ETH block hash for the given block number.
**/
ethBlockHash: AugmentedCall<ApiType, (number: U256 | AnyNumber | Uint8Array) => Observable<Option<H256>>>;
/**
* Estimates the amount of gas that a transactions requires.,, This function estimates the gas of the transaction according to the same binary search, algorithm that's implemented in Geth. It stops when with an acceptable error ratio of, 1.5% so that the algorithm terminates early.
**/
ethEstimateGas: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesDryRunConfig | { timestampOverride?: any; performBalanceChecks?: any; stateOverrides?: any } | string | Uint8Array) => Observable<Result<U256, PalletRevivePrimitivesEthTransactError>>>;
/**
* Return the pre-dispatch weight booked for the signed Ethereum transaction payload.
**/
ethPreDispatchWeight: AugmentedCall<ApiType, (tx: Bytes | string | Uint8Array) => Observable<Result<SpWeightsWeightV2Weight, PalletRevivePrimitivesEthTransactError>>>;
/**
* The details needed to reconstruct the receipt information offchain.,, # Note,, Each entry corresponds to the appropriate Ethereum transaction in the current block.
**/
ethReceiptData: AugmentedCall<ApiType, () => Observable<Vec<PalletReviveEvmBlockHashReceiptGasInfo>>>;
/**
* Perform an Ethereum call.,, Deprecated use `v2` version instead., See [`crate::Pallet::dry_run_eth_transact`]
**/
ethTransact: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
/**
* Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`]
**/
ethTransactWithConfig: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesDryRunConfig | { timestampOverride?: any; performBalanceChecks?: any; stateOverrides?: any } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
/**
* Returns the gas price.
**/
gasPrice: AugmentedCall<ApiType, () => Observable<U256>>;
/**
* Query a given storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
**/
getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
/**
* Query a given variable-sized storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
**/
getStorageVarKey: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
/**
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
**/
instantiate: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: PalletRevivePrimitivesCode | { Upload: any } | { Existing: any } | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => Observable<PalletRevivePrimitivesContractResultInstantiateReturnValue>>;
/**
* Returns the block gas limit as calculated from the weights.
**/
maxExtrinsicWeightInGas: AugmentedCall<ApiType, () => Observable<U256>>;
/**
* Construct the new balance and dust components of this EVM balance.
**/
newBalanceWithDust: AugmentedCall<ApiType, (balance: U256 | AnyNumber | Uint8Array) => Observable<Result<ITuple<[u128, u32]>, PalletRevivePrimitivesBalanceConversionError>>>;
/**
* Returns the nonce of the given `[H160]` address.
**/
nonce: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<u32>>;
/**
* The address used to call the runtime's pallets dispatchables
**/
runtimePalletsAddress: AugmentedCall<ApiType, () => Observable<H160>>;
/**
* Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage.
**/
traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | { ExecutionTracer: any } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
/**
* Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
**/
traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | { ExecutionTracer: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
/**
* Dry run and return the trace of the given call with additional configuration.,, Like [`Self::trace_call`], but accepts a [`TracingConfig`] that can carry state, overrides and future extensibility. The config must be the **last argument** for, backwards compatibility see [`TracingConfig`] documentation.
**/
traceCallWithConfig: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; authorizationList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, tracer_type: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | { ExecutionTracer: any } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesTracingConfig | { stateOverrides?: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
/**
* Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage.
**/
traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | { PrestateTracer: any } | { ExecutionTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
/**
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
**/
uploadCode: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, code: Bytes | string | Uint8Array, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber) => Observable<Result<PalletRevivePrimitivesCodeUploadReturnValue, SpRuntimeDispatchError>>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xccd9de6396c899ca/ */
runtimeViewFunction: {
/**
@@ -319,7 +460,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
**/
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
generateSessionKeys: AugmentedCall<ApiType, (owner: Bytes | string | Uint8Array, seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<SpSessionRuntimeApiOpaqueGeneratedSessionKeys>>;
/**
* Generic call
**/
@@ -336,7 +477,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
/**
* Returns true if validator `account` has pages to be claimed for the given era.
* Returns true if a validator `account` has pages to be claimed for the given era.
**/
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
@@ -423,9 +564,9 @@ declare module '@polkadot/api-base/types/calls' {
**/
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
/**
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
* Query delivery fees V2.,, Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
**/
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, asset_id: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
/**
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
**/
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
// for the API, we decorate not only the endpoints, but all types
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './substrate/index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
-40
View File
@@ -566,46 +566,6 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
recovery: {
/**
* The base amount of currency needed to reserve for creating a recovery configuration.
*
* This is held for an additional storage item whose value size is
* `2 + sizeof(BlockNumber, Balance)` bytes.
**/
configDepositBase: u128 & AugmentedConst<ApiType>;
/**
* The amount of currency needed per additional user when creating a recovery
* configuration.
*
* This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
* value.
**/
friendDepositFactor: u128 & AugmentedConst<ApiType>;
/**
* The maximum amount of friends allowed in a recovery configuration.
*
* NOTE: The threshold programmed in this Pallet uses u16, so it does
* not really make sense to have a limit here greater than u16::MAX.
* But also, that is a lot more than you should probably set this value
* to anyway...
**/
maxFriends: u32 & AugmentedConst<ApiType>;
/**
* The base amount of currency needed to reserve for starting a recovery.
*
* This is primarily held for deterring malicious recovery attempts, and should
* have a value large enough that a bad actor would choose not to place this
* deposit. It also acts to fund additional storage item whose value size is
* `sizeof(BlockNumber, Balance + T * AccountId)` bytes. Where T is a configurable
* threshold.
**/
recoveryDeposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
referenda: {
/**
* Quantization level for the referendum wakeup scheduler. A higher number will result in
+25 -151
View File
@@ -156,6 +156,10 @@ declare module '@polkadot/api-base/types/errors' {
* The session of the equivocation proof is invalid
**/
InvalidEquivocationProofSession: AugmentedError<ApiType>;
/**
* The session of the equivocation proof is not in the mapping (anymore)
**/
InvalidEquivocationProofSessionMember: AugmentedError<ApiType>;
/**
* A fork voting proof provided as part of an equivocation report is invalid.
**/
@@ -361,18 +365,6 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
coretimeAssignmentProvider: {
AssignmentsEmpty: AugmentedError<ApiType>;
/**
* assign_core is only allowed to append new assignments at the end of already existing
* ones or update the last entry.
**/
DisallowedInsert: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
crowdloan: {
/**
* The fund is already in `NewRaise`
@@ -1191,6 +1183,10 @@ declare module '@polkadot/api-base/types/errors' {
* not recent enough or it didn't advance based on the last parachain block.
**/
DisallowedRelayParent: AugmentedError<ApiType>;
/**
* The candidate's scheduling-parent was not allowed.
**/
DisallowedSchedulingParent: AugmentedError<ApiType>;
/**
* Head data exceeds the configured maximum.
**/
@@ -1209,7 +1205,7 @@ declare module '@polkadot/api-base/types/errors' {
InsufficientBacking: AugmentedError<ApiType>;
/**
* Failed to compute group index for the core: either it's out of bounds
* or the relay parent doesn't belong to the current session.
* or the scheduling parent doesn't belong to the current session.
**/
InvalidAssignment: AugmentedError<ApiType>;
/**
@@ -1356,6 +1352,20 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
paraScheduler: {
/**
* assign_core was called with no assignments.
**/
AssignmentsEmpty: AugmentedError<ApiType>;
/**
* assign_core with non allowed insertion.
**/
DisallowedInsert: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
parasDisputes: {
/**
* Ancient dispute statement provided.
@@ -1506,144 +1516,6 @@ declare module '@polkadot/api-base/types/errors' {
[key: string]: AugmentedError<ApiType>;
};
rcMigrator: {
/**
* The account is referenced by some other pallet. It might have freezes or holds.
**/
AccountReferenced: AugmentedError<ApiType>;
/**
* The AH UMP queue priority configuration is already set.
**/
AhUmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
/**
* The XCM version is invalid.
**/
BadXcmVersion: AugmentedError<ApiType>;
/**
* Balance accounting overflow.
**/
BalanceOverflow: AugmentedError<ApiType>;
/**
* Balance accounting underflow.
**/
BalanceUnderflow: AugmentedError<ApiType>;
/**
* Indicates that there is not enough time for staking to lock.
*
* Schedule the migration at least two sessions before the current era ends.
**/
EraEndsTooSoon: AugmentedError<ApiType>;
/**
* Failed to withdraw account from RC for migration to AH.
**/
FailedToWithdrawAccount: AugmentedError<ApiType>;
/**
* The origin is invalid.
**/
InvalidOrigin: AugmentedError<ApiType>;
/**
* Invalid parameter.
**/
InvalidParameter: AugmentedError<ApiType>;
/**
* The query response is invalid.
**/
InvalidQueryResponse: AugmentedError<ApiType>;
/**
* The stage transition is invalid.
**/
InvalidStageTransition: AugmentedError<ApiType>;
OutOfWeight: AugmentedError<ApiType>;
/**
* Indicates that the specified block number is in the past.
**/
PastBlockNumber: AugmentedError<ApiType>;
/**
* The xcm query was not found.
**/
QueryNotFound: AugmentedError<ApiType>;
Unreachable: AugmentedError<ApiType>;
/**
* The migration stage is not reachable from the current stage.
**/
UnreachableStage: AugmentedError<ApiType>;
/**
* Failed to send XCM message to AH.
**/
XcmError: AugmentedError<ApiType>;
/**
* Failed to send XCM message.
**/
XcmSendError: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
recovery: {
/**
* This account is already set up for recovery
**/
AlreadyProxy: AugmentedError<ApiType>;
/**
* This account is already set up for recovery
**/
AlreadyRecoverable: AugmentedError<ApiType>;
/**
* A recovery process has already started for this account
**/
AlreadyStarted: AugmentedError<ApiType>;
/**
* This user has already vouched for this recovery
**/
AlreadyVouched: AugmentedError<ApiType>;
/**
* Some internal state is broken.
**/
BadState: AugmentedError<ApiType>;
/**
* The friend must wait until the delay period to vouch for this recovery
**/
DelayPeriod: AugmentedError<ApiType>;
/**
* Friends list must be less than max friends
**/
MaxFriends: AugmentedError<ApiType>;
/**
* User is not allowed to make a call on behalf of this account
**/
NotAllowed: AugmentedError<ApiType>;
/**
* Friends list must be greater than zero and threshold
**/
NotEnoughFriends: AugmentedError<ApiType>;
/**
* This account is not a friend who can vouch
**/
NotFriend: AugmentedError<ApiType>;
/**
* This account is not set up for recovery
**/
NotRecoverable: AugmentedError<ApiType>;
/**
* Friends list must be sorted and free of duplicates
**/
NotSorted: AugmentedError<ApiType>;
/**
* A recovery process has not started for this rescuer
**/
NotStarted: AugmentedError<ApiType>;
/**
* There are still active recovery attempts that need to be closed
**/
StillActive: AugmentedError<ApiType>;
/**
* The threshold for recovering this account has not been met
**/
Threshold: AugmentedError<ApiType>;
/**
* Threshold must be greater than zero
**/
ZeroThreshold: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -2378,6 +2250,8 @@ declare module '@polkadot/api-base/types/errors' {
InvalidOrigin: AugmentedError<ApiType>;
/**
* Local XCM execution incomplete.
*
* @deprecated Use `LocalExecutionIncompleteWithError` instead Since 20.0.0.
**/
LocalExecutionIncomplete: AugmentedError<ApiType>;
/**
+52 -140
View File
@@ -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 } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletRecoveryDepositKind, PalletSocietyGroupParams, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingAsyncAhClientSessionKeysUpdate, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9CandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -72,6 +72,14 @@ declare module '@polkadot/api-base/types/events' {
* Some amount was burned from an account.
**/
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some debt has been dropped from the Total Issuance.
**/
BurnedDebt: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Held balance was burned from an account.
**/
BurnedHeld: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Some amount was deposited (e.g. for transaction fees).
**/
@@ -89,6 +97,10 @@ declare module '@polkadot/api-base/types/events' {
* Some balance was frozen.
**/
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some balance was placed on hold.
**/
Held: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Total issuance was increased by `amount`, creating a credit to be balanced.
**/
@@ -101,6 +113,14 @@ declare module '@polkadot/api-base/types/events' {
* Some amount was minted into an account.
**/
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some credit was balanced and added to the TotalIssuance.
**/
MintedCredit: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Some balance was released from hold.
**/
Released: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: StagingKusamaRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Total issuance was decreased by `amount`, creating a debt to be balanced.
**/
@@ -138,6 +158,14 @@ declare module '@polkadot/api-base/types/events' {
* Transfer succeeded.
**/
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
/**
* The `transferred` balance is placed on hold at the `dest` account.
**/
TransferAndHold: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128], { reason: StagingKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128 }>;
/**
* A transfer of `amount` on hold from `source` to `dest` was initiated.
**/
TransferOnHold: AugmentedEvent<ApiType, [reason: StagingKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128], { reason: StagingKusamaRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128 }>;
/**
* An unexpected/defensive event was triggered.
**/
@@ -253,19 +281,19 @@ declare module '@polkadot/api-base/types/events' {
/**
* An account has delegated their vote to another account. \[who, target\]
**/
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u16]>;
/**
* An \[account\] has cancelled a previous delegation operation.
**/
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
Undelegated: AugmentedEvent<ApiType, [AccountId32, u16]>;
/**
* An account has voted
**/
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32 }>;
/**
* A vote has been removed
**/
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32 }>;
/**
* The lockup period of a conviction vote expired, and the funds have been unlocked.
**/
@@ -805,15 +833,15 @@ declare module '@polkadot/api-base/types/events' {
/**
* A candidate was backed. `[candidate, head_data]`
**/
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32, u32]>;
/**
* A candidate was included. `[candidate, head_data]`
**/
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32, u32]>;
/**
* A candidate timed out. `[candidate, head_data]`
**/
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32]>;
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32]>;
/**
* Some upward messages have been received and will be processed.
**/
@@ -949,7 +977,7 @@ declare module '@polkadot/api-base/types/events' {
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32], { pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32 }>;
/**
* A pure proxy was killed by its spawner.
**/
@@ -959,135 +987,6 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
rcMigrator: {
/**
* The accounts to be preserved on Relay Chain were set.
**/
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<AccountId32>], { accounts: Vec<AccountId32> }>;
/**
* The AH UMP queue priority config was set.
**/
AhUmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], { old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority }>;
/**
* Whether the AH UMP queue was prioritized for the next block.
**/
AhUmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], { prioritized: bool, cycleBlock: u32, cyclePeriod: u32 }>;
/**
* The Asset Hub Migration finished.
*
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
* to understand. The finishing is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
/**
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
* emitted.
*
* This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
* to understand. The activation is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
/**
* The canceller account id was set.
**/
CancellerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
/**
* The manager multisig dispatched something.
**/
ManagerMultisigDispatched: AugmentedEvent<ApiType, [res: Result<Null, SpRuntimeDispatchError>], { res: Result<Null, SpRuntimeDispatchError> }>;
/**
* The manager multisig received a vote.
**/
ManagerMultisigVoted: AugmentedEvent<ApiType, [votes: u32], { votes: u32 }>;
/**
* The manager account id was set.
**/
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
/**
* The RC kept balance was consumed.
**/
MigratedBalanceConsumed: AugmentedEvent<ApiType, [kept: u128, migrated: u128], { kept: u128, migrated: u128 }>;
/**
* The total issuance was recorded.
**/
MigratedBalanceRecordSet: AugmentedEvent<ApiType, [kept: u128, migrated: u128], { kept: u128, migrated: u128 }>;
/**
* The migration was cancelled.
**/
MigrationCancelled: AugmentedEvent<ApiType, []>;
/**
* The migration was paused.
**/
MigrationPaused: AugmentedEvent<ApiType, [pauseStage: PalletRcMigratorMigrationStage], { pauseStage: PalletRcMigratorMigrationStage }>;
/**
* Some pure accounts were indexed for possibly receiving free `Any` proxies.
**/
PureAccountsIndexed: AugmentedEvent<ApiType, [numPureAccounts: u32], { numPureAccounts: u32 }>;
/**
* A query response has been received.
**/
QueryResponseReceived: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3MaybeErrorCode], { queryId: u64, response: XcmV3MaybeErrorCode }>;
/**
* A stage transition has occurred.
**/
StageTransition: AugmentedEvent<ApiType, [old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage], { old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage }>;
/**
* The staking elections were paused.
**/
StakingElectionsPaused: AugmentedEvent<ApiType, []>;
/**
* The unprocessed message buffer size has been set.
**/
UnprocessedMsgBufferSet: AugmentedEvent<ApiType, [new_: u32, old: u32], { new_: u32, old: u32 }>;
/**
* A XCM message has been resent.
**/
XcmResendAttempt: AugmentedEvent<ApiType, [queryId: u64, sendError: Option<XcmV3TraitsSendError>], { queryId: u64, sendError: Option<XcmV3TraitsSendError> }>;
/**
* An XCM message was sent.
**/
XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
recovery: {
/**
* Lost account has been successfully recovered by rescuer account.
**/
AccountRecovered: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
/**
* A deposit has been updated.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128 }>;
/**
* A recovery process for lost account by rescuer account has been closed.
**/
RecoveryClosed: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
/**
* A recovery process has been set up for an account.
**/
RecoveryCreated: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* A recovery process has been initiated for lost account by rescuer account.
**/
RecoveryInitiated: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
/**
* A recovery process has been removed for an account.
**/
RecoveryRemoved: AugmentedEvent<ApiType, [lostAccount: AccountId32], { lostAccount: AccountId32 }>;
/**
* A recovery process for lost account by rescuer account has been vouched for by sender.
**/
RecoveryVouched: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
referenda: {
/**
* A referendum has been approved and its proposal has been scheduled.
@@ -1292,6 +1191,10 @@ declare module '@polkadot/api-base/types/events' {
* batch in full is the second.
**/
Inducted: AugmentedEvent<ApiType, [primary: AccountId32, candidates: Vec<AccountId32>], { primary: AccountId32, candidates: Vec<AccountId32> }>;
/**
* A member was kicked by the founder.
**/
MemberKicked: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
/**
* A member has been suspended
**/
@@ -1428,6 +1331,15 @@ declare module '@polkadot/api-base/types/events' {
* pallet we need to mutate storage upon some failures.
**/
CouldNotMergeAndDropped: AugmentedEvent<ApiType, []>;
/**
* Session keys updated for a validator.
**/
SessionKeysUpdated: AugmentedEvent<ApiType, [stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate], { stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate }>;
/**
* Session key update from AssetHub failed on the relay chain.
* Logged as an event for fail-safe observability.
**/
SessionKeysUpdateFailed: AugmentedEvent<ApiType, [stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate, error: SpRuntimeDispatchError], { stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate, error: SpRuntimeDispatchError }>;
/**
* The validator set received is way too small, as per
* [`Config::MinimumValidatorSetSize`].
@@ -1449,9 +1361,9 @@ declare module '@polkadot/api-base/types/events' {
};
system: {
/**
* `:code` was updated.
* `:code` was updated to the code with the given hash.
**/
CodeUpdated: AugmentedEvent<ApiType, []>;
CodeUpdated: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
/**
* An extrinsic failed.
**/
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '../base.js';
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/substrate';
+77 -46
View File
@@ -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, 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 { FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV9ApprovalVotingParams, PolkadotPrimitivesV9AsyncBackingAsyncBackingParams, PolkadotPrimitivesV9AsyncBackingBackingState, PolkadotPrimitivesV9AsyncBackingConstraints, PolkadotPrimitivesV9CandidateCommitments, PolkadotPrimitivesV9CandidateEvent, PolkadotPrimitivesV9CommittedCandidateReceiptV2, PolkadotPrimitivesV9CoreState, PolkadotPrimitivesV9DisputeState, PolkadotPrimitivesV9ExecutorParams, PolkadotPrimitivesV9GroupRotationInfo, PolkadotPrimitivesV9OccupiedCoreAssumption, PolkadotPrimitivesV9PersistedValidationData, PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9ScrapedOnChainVotes, PolkadotPrimitivesV9SessionInfo, PolkadotPrimitivesV9SlashingDisputeProof, PolkadotPrimitivesV9SlashingLegacyPendingSlashes, PolkadotPrimitivesV9SlashingPendingSlashes, PolkadotPrimitivesV9ValidatorAppPublic, PolkadotPrimitivesV9ValidatorAppSignature, PolkadotPrimitivesVstagingRelayParentInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesAncestryProof, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlockLazyBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpSessionRuntimeApiOpaqueGeneratedSessionKeys, 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>;
@@ -32,6 +32,21 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xc1b8f0c037f97de8/ */
assetHubMigrationApi: {
/**
* Returns the block number when the migration ended.
**/
migrationEndBlock: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Returns the block number when the migration started.
**/
migrationStartBlock: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x687ad44ad37f03c2/ */
authorityDiscoveryApi: {
/**
@@ -80,10 +95,6 @@ declare module '@polkadot/api-base/types/calls' {
* Return the block number where BEEFY consensus is enabled/started
**/
beefyGenesis: AugmentedCall<ApiType, () => Observable<Option<u32>>>;
/**
* Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`.
**/
generateAncestryProof: AugmentedCall<ApiType, (prev_block_number: u32 | AnyNumber | Uint8Array, best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Option<Bytes>>>;
/**
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
**/
@@ -133,7 +144,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Check that the inherents are valid. The inherent data will vary from chain to chain.
**/
checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, data: SpInherentsInherentData | { data?: any } | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | { header?: any; extrinsics?: any } | string | Uint8Array, data: SpInherentsInherentData | { data?: any } | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
/**
* Finish the current block.
**/
@@ -152,7 +163,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Execute the given block.
**/
executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
/**
* Initialize a block with the given header and return the runtime executive mode.
**/
@@ -223,17 +234,6 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xc51ff1fa3f5d0cca/ */
inflation: {
/**
* Return the current estimates of the inflation amount.,, This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly, recommended over trying to read-storage, or re-create the onchain logic.
**/
experimentalInflationPredictionInfo: AugmentedCall<ApiType, () => Observable<RelayCommonApisInflationInfo>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x9ffb505aa738d69c/ */
locationToAccountApi: {
/**
@@ -266,6 +266,10 @@ declare module '@polkadot/api-base/types/calls' {
};
/** 0x91d5df18b0d2cf58/ */
mmrApi: {
/**
* Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`.
**/
generateAncestryProof: AugmentedCall<ApiType, (prev_block_number: u32 | AnyNumber | Uint8Array, best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Result<SpMmrPrimitivesAncestryProof, SpMmrPrimitivesError>>>;
/**
* Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,, use historical MMR state at given block height `n`. Else, use current MMR state.
**/
@@ -351,42 +355,46 @@ declare module '@polkadot/api-base/types/calls' {
};
/** 0xaf2c0297a23e6d3d/ */
parachainHost: {
/**
* Look up relay parent info for a block that is an **ancestor** of the block, this API is called at. Returns `None` if the relay parent is not found, in the allowed relay parents for the given session.,, NOTE: A block is not in its own `AllowedRelayParents` storage (it gets, added during the next block's inherent). Querying a block about itself, will always return `None`. Use the node-side `check_relay_parent_session`, utility for a general-purpose check that handles both the self and, ancestor cases.
**/
ancestorRelayParentInfo: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array, relay_parent: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingRelayParentInfo>>>;
/**
* Approval voting configuration parameters
**/
approvalVotingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV8ApprovalVotingParams>>;
approvalVotingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV9ApprovalVotingParams>>;
/**
* Returns the persisted validation data for the given `ParaId` along with the corresponding, validation code hash. Instead of accepting assumption about the para, matches the validation, data hash against an expected one and yields `None` if they're not equal.
**/
assumedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, expected_persisted_validation_data_hash: H256 | string | Uint8Array) => Observable<Option<ITuple<[PolkadotPrimitivesV8PersistedValidationData, H256]>>>>;
assumedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, expected_persisted_validation_data_hash: H256 | string | Uint8Array) => Observable<Option<ITuple<[PolkadotPrimitivesV9PersistedValidationData, H256]>>>>;
/**
* Returns candidate's acceptance limitations for asynchronous backing for a relay parent.
**/
asyncBackingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV8AsyncBackingAsyncBackingParams>>;
asyncBackingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV9AsyncBackingAsyncBackingParams>>;
/**
* 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>>>;
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV9CoreState>>>;
/**
* 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>>>;
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9AsyncBackingConstraints>>>;
/**
* Get a vector of events concerning candidates that occurred within a block.
**/
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCandidateEvent>>>;
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV9CandidateEvent>>>;
/**
* Get the receipt of a candidate pending availability. This returns `Some` for any paras, assigned to occupied cores in `availability_cores` and `None` otherwise.
**/
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>>;
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9CommittedCandidateReceiptV2>>>;
/**
* Elastic scaling support
**/
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>>;
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PolkadotPrimitivesV9CommittedCandidateReceiptV2>>>;
/**
* Checks if the given validation outputs pass the acceptance criteria.
**/
checkValidationOutputs: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, outputs: PolkadotPrimitivesV8CandidateCommitments | { upwardMessages?: any; horizontalMessages?: any; newValidationCode?: any; headData?: any; processedDownwardMessages?: any; hrmpWatermark?: any } | string | Uint8Array) => Observable<bool>>;
checkValidationOutputs: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, outputs: PolkadotPrimitivesV9CandidateCommitments | { upwardMessages?: any; horizontalMessages?: any; newValidationCode?: any; headData?: any; processedDownwardMessages?: any; hrmpWatermark?: any } | string | Uint8Array) => Observable<bool>>;
/**
* Claim queue
**/
@@ -398,7 +406,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Returns all onchain disputes.
**/
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV8DisputeState]>>>>;
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV9DisputeState]>>>>;
/**
* Get all the pending inbound messages in the downward message queue for a para.
**/
@@ -410,7 +418,11 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Returns a merkle proof of a validator session key., NOTE: This function is only available since parachain host version 5.
**/
keyOwnershipProof: AugmentedCall<ApiType, (validator_id: PolkadotPrimitivesV8ValidatorAppPublic | string | Uint8Array) => Observable<Option<Bytes>>>;
keyOwnershipProof: AugmentedCall<ApiType, (validator_id: PolkadotPrimitivesV9ValidatorAppPublic | string | Uint8Array) => Observable<Option<Bytes>>>;
/**
* Retrieve the maximum relay parent session age allowed for parachain blocks.
**/
maxRelayParentSessionAge: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Get the minimum number of backing votes for a parachain candidate., This is a staging method! Do not use on production runtimes!
**/
@@ -422,15 +434,19 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
**/
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PolkadotPrimitivesVstagingScrapedOnChainVotes>>>;
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PolkadotPrimitivesV9ScrapedOnChainVotes>>>;
/**
* Returns the state of parachain backing for a given para.
**/
paraBackingState: AugmentedCall<ApiType, (__runtime_api_generated_name_0__: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingBackingState>>>;
paraBackingState: AugmentedCall<ApiType, (__runtime_api_generated_name_0__: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9AsyncBackingBackingState>>>;
/**
* Retrieve paraids at relay parent
**/
paraIds: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
/**
* Yields the persisted validation data for the given `ParaId` along with an assumption that, should be used if the para currently occupies a core.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
**/
persistedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>>;
persistedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV9OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<PolkadotPrimitivesV9PersistedValidationData>>>;
/**
* 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.
**/
@@ -442,7 +458,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Returns execution parameters for the session.
**/
sessionExecutorParams: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8ExecutorParams>>>;
sessionExecutorParams: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9ExecutorParams>>>;
/**
* Returns the session index expected at a child of the block.,, This can be used to instantiate a `SigningContext`.
**/
@@ -450,23 +466,27 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Get the session info for the given session, if stored.,, NOTE: This function is only available since parachain host version 2.
**/
sessionInfo: AugmentedCall<ApiType, (index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SessionInfo>>>;
sessionInfo: AugmentedCall<ApiType, (index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9SessionInfo>>>;
/**
* Submits a PVF pre-checking statement into the transaction pool.,, NOTE: This function is only available since parachain host version 2.
**/
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PolkadotPrimitivesV8PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV8ValidatorAppSignature | string | Uint8Array) => Observable<Null>>;
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PolkadotPrimitivesV9PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV9ValidatorAppSignature | string | Uint8Array) => Observable<Null>>;
/**
* Submit an unsigned extrinsic to slash validators who lost a dispute about, a candidate of a past session., NOTE: This function is only available since parachain host version 5.
**/
submitReportDisputeLost: AugmentedCall<ApiType, (dispute_proof: PolkadotPrimitivesV8SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, key_ownership_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
submitReportDisputeLost: AugmentedCall<ApiType, (dispute_proof: PolkadotPrimitivesV9SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, key_ownership_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
/**
* Returns a list of validators that lost a past session dispute and need to be slashed., NOTE: This function is only available since parachain host version 5.
* Returns a list of validators that lost a past session dispute and need to be slashed.,, Deprecated. Use `unapplied_slashes_v2` instead.
**/
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV8SlashingPendingSlashes]>>>>;
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV9SlashingLegacyPendingSlashes]>>>>;
/**
* Returns a list of validators that lost a past session dispute and need to be slashed.
**/
unappliedSlashesV2: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV9SlashingPendingSlashes]>>>>;
/**
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
**/
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<Bytes>>>;
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV9OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<Bytes>>>;
/**
* Retrieve the maximum uncompressed code size.
**/
@@ -478,15 +498,26 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.,, NOTE: This function is only available since parachain host version 2.
**/
validationCodeHash: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<H256>>>;
validationCodeHash: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV9OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<H256>>>;
/**
* Returns the validator groups and rotation info localized based on the hypothetical child, of a block whose state this is invoked on. Note that `now` in the `GroupRotationInfo`, should be the successor of the number of the block.
**/
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<u32>>, PolkadotPrimitivesV8GroupRotationInfo]>>>;
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<u32>>, PolkadotPrimitivesV9GroupRotationInfo]>>>;
/**
* Get the current validators.
**/
validators: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV8ValidatorAppPublic>>>;
validators: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV9ValidatorAppPublic>>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xccd9de6396c899ca/ */
runtimeViewFunction: {
/**
* Execute a view function query.
**/
executeViewFunction: AugmentedCall<ApiType, (query_id: FrameSupportViewFunctionsViewFunctionId | { prefix?: any; suffix?: any } | string | Uint8Array, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, FrameSupportViewFunctionsViewFunctionDispatchError>>>;
/**
* Generic call
**/
@@ -501,7 +532,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
**/
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
generateSessionKeys: AugmentedCall<ApiType, (owner: Bytes | string | Uint8Array, seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<SpSessionRuntimeApiOpaqueGeneratedSessionKeys>>;
/**
* Generic call
**/
@@ -518,7 +549,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
/**
* Returns true if validator `account` has pages to be claimed for the given era.
* Returns true if a validator `account` has pages to be claimed for the given era.
**/
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
@@ -590,9 +621,9 @@ declare module '@polkadot/api-base/types/calls' {
**/
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
/**
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
* Query delivery fees V2.,, Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
**/
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, asset_id: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
/**
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
**/
+87 -291
View File
@@ -10,7 +10,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeConstantsProxyProxyType, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRcMigratorManagerMultisigVote, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingDisputeProof, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KusamaRuntimeConstantsProxyProxyType, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9ApprovalVotingParams, PolkadotPrimitivesV9AsyncBackingAsyncBackingParams, PolkadotPrimitivesV9ExecutorParams, PolkadotPrimitivesV9InherentData, PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9SlashingDisputeProof, PolkadotPrimitivesV9ValidatorAppSignature, PolkadotPrimitivesVstagingSchedulerParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -697,11 +697,11 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Set approval-voting-params.
**/
setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ApprovalVotingParams | { maxApprovalCoalesceCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ApprovalVotingParams]>;
setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9ApprovalVotingParams | { maxApprovalCoalesceCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9ApprovalVotingParams]>;
/**
* Set the asynchronous backing parameters.
**/
setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams | { maxCandidateDepth?: any; allowedAncestryLen?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8AsyncBackingAsyncBackingParams]>;
setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams | { maxCandidateDepth?: any; allowedAncestryLen?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9AsyncBackingAsyncBackingParams]>;
/**
* Setting this to true will disable consistency checks for the configuration setters.
* Use with caution.
@@ -729,7 +729,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Set PVF executor parameters.
**/
setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ExecutorParams]>;
setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9ExecutorParams]>;
/**
* Set the parachain validator-group rotation frequency
**/
@@ -787,6 +787,10 @@ declare module '@polkadot/api-base/types/submittable' {
* Set the max POV block size for incoming upgrades.
**/
setMaxPovSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Set the maximum relay parent session age.
**/
setMaxRelayParentSessionAge: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Sets the maximum number of messages that a candidate can contain.
**/
@@ -871,7 +875,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Set scheduler-params.
**/
setSchedulerParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8SchedulerParams | { groupRotationFrequency?: any; parasAvailabilityPeriod?: any; maxValidatorsPerCore?: any; lookahead?: any; numCores?: any; maxAvailabilityTimeouts?: any; onDemandQueueMaxSize?: any; onDemandTargetQueueUtilization?: any; onDemandFeeVariability?: any; onDemandBaseFee?: any; ttl?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SchedulerParams]>;
setSchedulerParams: AugmentedSubmittable<(updated: PolkadotPrimitivesVstagingSchedulerParams | { groupRotationFrequency?: any; parasAvailabilityPeriod?: any; maxValidatorsPerCore?: any; lookahead?: any; numCores?: any; onDemandQueueMaxSize?: any; onDemandTargetQueueUtilization?: any; onDemandFeeVariability?: any; onDemandBaseFee?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingSchedulerParams]>;
/**
* Set the scheduling lookahead, in expected number of blocks at peak throughput.
**/
@@ -1063,13 +1067,13 @@ declare module '@polkadot/api-base/types/submittable' {
* Contribute to a crowd sale. This will transfer some balance over to fund a parachain
* slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
**/
contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | { Eth: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
/**
* Contribute your entire balance to a crowd sale. This will transfer the entire balance of
* a user over to fund a parachain slot. It will be withdrawable when the crowdloan has
* ended and the funds are unused.
**/
contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | { Eth: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
/**
* Create a new crowdloaning campaign for a parachain slot with the given lease period
* range.
@@ -1077,7 +1081,7 @@ declare module '@polkadot/api-base/types/submittable' {
* This applies a lock to your parachain configuration, ensuring that it cannot be changed
* by the parachain manager.
**/
create: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
create: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | { Eth: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
/**
* Remove a fund after the retirement period has ended and all funds have been returned.
**/
@@ -1087,7 +1091,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Can only be called by Root origin.
**/
edit: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
edit: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | { Eth: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
/**
* Poke the fund into `NewRaise`
*
@@ -1736,6 +1740,13 @@ declare module '@polkadot/api-base/types/submittable' {
* Register approval for a dispatch to be made from a deterministic composite account if
* approved by a total of `threshold - 1` of `other_signatories`.
*
* **This function will NEVER execute the call, even if the approval threshold is
* reached.** It only registers approval. To actually execute the call, `as_multi` must
* be called with the full call data by any of the signatories.
*
* This function is more efficient than `as_multi` for intermediate approvals since it
* only requires the call hash, not the full call data.
*
* Payment: `DepositBase` will be reserved if this is the first approval, plus
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
* is cancelled.
@@ -1750,7 +1761,8 @@ declare module '@polkadot/api-base/types/submittable' {
* transaction index) of the first approval transaction.
* - `call_hash`: The hash of the call to be executed.
*
* NOTE: If this is the final approval, you will want to use `as_multi` instead.
* NOTE: To execute the call after approvals are gathered, any signatory must call
* `as_multi` with the full call data. This function cannot execute the call.
*
* ## Complexity
* - `O(S)`.
@@ -1769,7 +1781,9 @@ declare module '@polkadot/api-base/types/submittable' {
* Register approval for a dispatch to be made from a deterministic composite account if
* approved by a total of `threshold - 1` of `other_signatories`.
*
* If there are enough, then dispatch the call.
* **If the approval threshold is met (including the sender's approval), this will
* immediately execute the call.** This is the only way to execute a multisig call -
* `approve_as_multi` will never trigger execution.
*
* Payment: `DepositBase` will be reserved if this is the first approval, plus
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -1785,8 +1799,9 @@ declare module '@polkadot/api-base/types/submittable' {
* transaction index) of the first approval transaction.
* - `call`: The call to be executed.
*
* NOTE: Unless this is the final approval, you will generally want to use
* `approve_as_multi` instead, since it only requires a hash of the call.
* NOTE: For intermediate approvals (not the final approval), you should generally use
* `approve_as_multi` instead, since it only requires a hash of the call and is more
* efficient.
*
* Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
* on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -2230,6 +2245,8 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Events:
* - `OnDemandOrderPlaced`
*
* @deprecated This will be removed in favor of using `place_order_with_credits`
**/
placeOrderAllowDeath: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
/**
@@ -2248,6 +2265,8 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Events:
* - `OnDemandOrderPlaced`
*
* @deprecated This will be removed in favor of using `place_order_with_credits`
**/
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
/**
@@ -2285,7 +2304,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Enter the paras inherent. This will process bitfields and backed candidates.
**/
enter: AugmentedSubmittable<(data: PolkadotPrimitivesVstagingInherentData | { bitfields?: any; backedCandidates?: any; disputes?: any; parentHeader?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingInherentData]>;
enter: AugmentedSubmittable<(data: PolkadotPrimitivesV9InherentData | { bitfields?: any; backedCandidates?: any; disputes?: any; parentHeader?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9InherentData]>;
/**
* Generic tx
**/
@@ -2298,7 +2317,7 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
* deleted by setting them to `None`.
**/
setParameter: AugmentedSubmittable<(keyValue: StagingKusamaRuntimeRuntimeParameters | { Inflation: any } | { Treasury: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeRuntimeParameters]>;
setParameter: AugmentedSubmittable<(keyValue: StagingKusamaRuntimeRuntimeParameters | { Inflation: any } | { Treasury: any } | { AhClient: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeRuntimeParameters]>;
/**
* Generic tx
**/
@@ -2371,7 +2390,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
* enacts the results if that was the last vote before achieving the supermajority.
**/
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV8PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV8ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8ValidatorAppSignature]>;
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV9PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV9ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9ValidatorAppSignature]>;
/**
* Remove the validation code from the storage iff the reference count is 0.
*
@@ -2406,7 +2425,7 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
parasSlashing: {
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingDisputeProof, SpSessionMembershipProof]>;
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV9SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9SlashingDisputeProof, SpSessionMembershipProof]>;
/**
* Generic tx
**/
@@ -2611,269 +2630,6 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
rcMigrator: {
/**
* Cancel the migration.
*
* Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
**/
cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Set the migration stage.
*
* This call is intended for emergency use only and is guarded by the
* [`Config::AdminOrigin`].
**/
forceSetStage: AugmentedSubmittable<(stage: PalletRcMigratorMigrationStage | { Pending: any } | { MigrationPaused: any } | { Scheduled: any } | { WaitingForAh: any } | { WarmUp: any } | { Starting: any } | { PureProxyCandidatesMigrationInit: any } | { AccountsMigrationInit: any } | { AccountsMigrationOngoing: any } | { AccountsMigrationDone: any } | { MultisigMigrationInit: any } | { MultisigMigrationOngoing: any } | { MultisigMigrationDone: any } | { ClaimsMigrationInit: any } | { ClaimsMigrationOngoing: any } | { ClaimsMigrationDone: any } | { ProxyMigrationInit: any } | { ProxyMigrationProxies: any } | { ProxyMigrationAnnouncements: any } | { ProxyMigrationDone: any } | { PreimageMigrationInit: any } | { PreimageMigrationChunksOngoing: any } | { PreimageMigrationChunksDone: any } | { PreimageMigrationRequestStatusOngoing: any } | { PreimageMigrationRequestStatusDone: any } | { PreimageMigrationLegacyRequestStatusInit: any } | { PreimageMigrationLegacyRequestStatusOngoing: any } | { PreimageMigrationLegacyRequestStatusDone: any } | { PreimageMigrationDone: any } | { NomPoolsMigrationInit: any } | { NomPoolsMigrationOngoing: any } | { NomPoolsMigrationDone: any } | { VestingMigrationInit: any } | { VestingMigrationOngoing: any } | { VestingMigrationDone: any } | { DelegatedStakingMigrationInit: any } | { DelegatedStakingMigrationOngoing: any } | { DelegatedStakingMigrationDone: any } | { IndicesMigrationInit: any } | { IndicesMigrationOngoing: any } | { IndicesMigrationDone: any } | { ReferendaMigrationInit: any } | { ReferendaMigrationOngoing: any } | { ReferendaMigrationDone: any } | { BagsListMigrationInit: any } | { BagsListMigrationOngoing: any } | { BagsListMigrationDone: any } | { SchedulerMigrationInit: any } | { SchedulerMigrationOngoing: any } | { SchedulerAgendaMigrationOngoing: any } | { SchedulerMigrationDone: any } | { ConvictionVotingMigrationInit: any } | { ConvictionVotingMigrationOngoing: any } | { ConvictionVotingMigrationDone: any } | { BountiesMigrationInit: any } | { BountiesMigrationOngoing: any } | { BountiesMigrationDone: any } | { ChildBountiesMigrationInit: any } | { ChildBountiesMigrationOngoing: any } | { ChildBountiesMigrationDone: any } | { AssetRateMigrationInit: any } | { AssetRateMigrationOngoing: any } | { AssetRateMigrationDone: any } | { CrowdloanMigrationInit: any } | { CrowdloanMigrationOngoing: any } | { CrowdloanMigrationDone: any } | { TreasuryMigrationInit: any } | { TreasuryMigrationOngoing: any } | { TreasuryMigrationDone: any } | { RecoveryMigrationInit: any } | { RecoveryMigrationOngoing: any } | { RecoveryMigrationDone: any } | { SocietyMigrationInit: any } | { SocietyMigrationOngoing: any } | { SocietyMigrationDone: any } | { StakingMigrationInit: any } | { StakingMigrationOngoing: any } | { StakingMigrationDone: any } | { CoolOff: any } | { SignalMigrationFinish: any } | { MigrationDone: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorMigrationStage]>;
/**
* Pause the migration.
**/
pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Set the accounts to be preserved on Relay Chain during the migration.
*
* The accounts must have no consumers references.
**/
preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
/**
* Receive a query response from the Asset Hub for a previously sent xcm message.
**/
receiveQueryResponse: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array, response: StagingXcmV5Response | { Null: any } | { Assets: any } | { ExecutionResult: any } | { Version: any } | { PalletsInfo: any } | { DispatchResult: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, StagingXcmV5Response]>;
/**
* Resend a previously sent and unconfirmed XCM message.
**/
resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
/**
* Schedule the migration to start at a given moment.
*
* ### Parameters:
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
* at the moment of the extrinsic execution.
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
* are filtered during this period. It is intended to give enough time for UMP and DMP
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
* warm-up stage.
* - `cool_off`: The block number at which the post migration cool-off period will end. The
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
* scheduled time point is far enough in the future.
*
* Note: If the staking election for next era is already complete, and the next
* validator set is queued in `pallet-session`, we want to avoid starting the data
* migration at this point as it can lead to some missed validator rewards. To address
* this, we stop staking election at the start of migration and must wait atleast 1
* session (set via warm_up) before starting the data migration.
*
* Read [`MigrationStage::Scheduled`] documentation for more details.
**/
scheduleMigration: AugmentedSubmittable<(start: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, warmUp: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, coolOff: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, bool]>;
/**
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
* the migration.
**/
sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
/**
* Set the AH UMP queue priority configuration.
*
* Can only be called by the `AdminOrigin`.
**/
setAhUmpQueuePriority: AugmentedSubmittable<(updated: PalletRcMigratorQueuePriority | { Config: any } | { OverrideConfig: any } | { Disabled: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorQueuePriority]>;
/**
* Set the canceller account id.
*
* The canceller can only stop scheduled migration.
**/
setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
/**
* Set the manager account id.
*
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
* can not set the manager account id via `set_manager` call.
**/
setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
/**
* Set the unprocessed message buffer size.
*
* `None` means to use the configuration value.
**/
setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
/**
* Start the data migration.
*
* This is typically called by the Asset Hub to indicate it's readiness to receive the
* migration data.
**/
startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Vote on behalf of any of the members in `MultisigMembers`.
*
* Unsigned extrinsic, requiring the `payload` to be signed.
*
* Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
* be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
* move on to the next round.
*
* The round system ensures that signatures from older round cannot be reused.
**/
voteManagerMultisig: AugmentedSubmittable<(payload: PalletRcMigratorManagerMultisigVote | { who?: any; call?: any; round?: any } | string | Uint8Array, sig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorManagerMultisigVote, SpRuntimeMultiSignature]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
recovery: {
/**
* Send a call through a recovered account.
*
* The dispatch origin for this call must be _Signed_ and registered to
* be able to make calls on behalf of the recovered account.
*
* Parameters:
* - `account`: The recovered account you want to make a call on-behalf-of.
* - `call`: The call you want to make with the recovered account.
**/
asRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
/**
* Cancel the ability to use `as_recovered` for `account`.
*
* The dispatch origin for this call must be _Signed_ and registered to
* be able to make calls on behalf of the recovered account.
*
* Parameters:
* - `account`: The recovered account you are able to call on-behalf-of.
**/
cancelRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Allow a successful rescuer to claim their recovered account.
*
* The dispatch origin for this call must be _Signed_ and must be a "rescuer"
* who has successfully completed the account recovery process: collected
* `threshold` or more vouches, waited `delay_period` blocks since initiation.
*
* Parameters:
* - `account`: The lost account that you want to claim has been successfully recovered by
* you.
**/
claimRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* As the controller of a recoverable account, close an active recovery
* process for your account.
*
* Payment: By calling this function, the recoverable account will receive
* the recovery deposit `RecoveryDeposit` placed by the rescuer.
*
* The dispatch origin for this call must be _Signed_ and must be a
* recoverable account with an active recovery process for it.
*
* Parameters:
* - `rescuer`: The account trying to rescue this recoverable account.
**/
closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Create a recovery configuration for your account. This makes your account recoverable.
*
* Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance
* will be reserved for storing the recovery configuration. This deposit is returned
* in full when the user calls `remove_recovery`.
*
* The dispatch origin for this call must be _Signed_.
*
* Parameters:
* - `friends`: A list of friends you trust to vouch for recovery attempts. Should be
* ordered and contain no duplicate values.
* - `threshold`: The number of friends that must vouch for a recovery attempt before the
* account can be recovered. Should be less than or equal to the length of the list of
* friends.
* - `delay_period`: The number of blocks after a recovery attempt is initialized that
* needs to pass before the account can be recovered.
**/
createRecovery: AugmentedSubmittable<(friends: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], threshold: u16 | AnyNumber | Uint8Array, delayPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, u16, u32]>;
/**
* Initiate the process for recovering a recoverable account.
*
* Payment: `RecoveryDeposit` balance will be reserved for initiating the
* recovery process. This deposit will always be repatriated to the account
* trying to be recovered. See `close_recovery`.
*
* The dispatch origin for this call must be _Signed_.
*
* Parameters:
* - `account`: The lost account that you want to recover. This account needs to be
* recoverable (i.e. have a recovery configuration).
**/
initiateRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Poke deposits for recovery configurations and / or active recoveries.
*
* This can be used by accounts to possibly lower their locked amount.
*
* The dispatch origin for this call must be _Signed_.
*
* Parameters:
* - `maybe_account`: Optional recoverable account for which you have an active recovery
* and want to adjust the deposit for the active recovery.
*
* This function checks both recovery configuration deposit and active recovery deposits
* of the caller:
* - If the caller has created a recovery configuration, checks and adjusts its deposit
* - If the caller has initiated any active recoveries, and provides the account in
* `maybe_account`, checks and adjusts those deposits
*
* If any deposit is updated, the difference will be reserved/unreserved from the caller's
* account.
*
* The transaction is made free if any deposit is updated and paid otherwise.
*
* Emits `DepositPoked` if any deposit is updated.
* Multiple events may be emitted in case both types of deposits are updated.
**/
pokeDeposit: AugmentedSubmittable<(maybeAccount: Option<MultiAddress> | null | Uint8Array | MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string) => SubmittableExtrinsic<ApiType>, [Option<MultiAddress>]>;
/**
* Remove the recovery process for your account. Recovered accounts are still accessible.
*
* NOTE: The user must make sure to call `close_recovery` on all active
* recovery attempts before calling this function else it will fail.
*
* Payment: By calling this function the recoverable account will unreserve
* their recovery configuration deposit.
* (`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends)
*
* The dispatch origin for this call must be _Signed_ and must be a
* recoverable account (i.e. has a recovery configuration).
**/
removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* 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_.
*
* Parameters:
* - `lost`: The "lost account" to be recovered.
* - `rescuer`: The "rescuer account" which can call as the lost account.
**/
setRecovered: AugmentedSubmittable<(lost: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
/**
* Allow a "friend" of a recoverable account to vouch for an active recovery
* process for that account.
*
* The dispatch origin for this call must be _Signed_ and must be a "friend"
* for the recoverable account.
*
* Parameters:
* - `lost`: The lost account that you want to recover.
* - `rescuer`: The account trying to rescue the lost account that you want to vouch for.
*
* The combination of these two parameters must point to an active recovery
* process.
**/
vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
referenda: {
/**
* Cancel an ongoing referendum.
@@ -3088,7 +2844,10 @@ declare module '@polkadot/api-base/types/submittable' {
};
scheduler: {
/**
* Cancel an anonymously scheduled task.
* Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
* execution in, as well as the index of the task in that block's agenda.
*
* In the case of a named task, it will remove it from the lookup table as well.
**/
cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
/**
@@ -3132,6 +2891,8 @@ declare module '@polkadot/api-base/types/submittable' {
* clones of the original task. Their retry configuration will be derived from the
* original task's configuration, but will have a lower value for `remaining` than the
* original `total_retries`.
*
* This call **cannot** be used to set a retry configuration for a named task.
**/
setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>, u8, u32]>;
/**
@@ -3147,6 +2908,8 @@ declare module '@polkadot/api-base/types/submittable' {
* clones of the original task. Their retry configuration will be derived from the
* original task's configuration, but will have a lower value for `remaining` than the
* original `total_retries`.
*
* This is the only way to set a retry configuration for a named task.
**/
setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
/**
@@ -3164,22 +2927,20 @@ declare module '@polkadot/api-base/types/submittable' {
* convertible to a validator ID using the chain's typical addressing system (this usually
* means being a controller account) or directly convertible into a validator ID (which
* usually means being a stash account).
*
* ## Complexity
* - `O(1)` in number of key types. Actual cost depends on the number of length of
* `T::Keys::key_ids()` which is fixed.
**/
purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Sets the session key(s) of the function caller to `keys`.
*
* Allows an account to set its session key prior to becoming a validator.
* This doesn't take effect until the next session.
*
* The dispatch origin of this function must be signed.
*
* ## Complexity
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
* fixed.
* - `origin`: The dispatch origin of this function must be signed.
* - `keys`: The new session keys to set. These are the public keys of all sessions keys
* setup in the runtime.
* - `proof`: The proof that `origin` has access to the private keys of `keys`. See
* [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
* proof format.
**/
setKeys: AugmentedSubmittable<(keys: StagingKusamaRuntimeSessionKeys | { grandpa?: any; babe?: any; paraValidator?: any; paraAssignment?: any; authorityDiscovery?: any; beefy?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeSessionKeys, Bytes]>;
/**
@@ -3323,6 +3084,16 @@ declare module '@polkadot/api-base/types/submittable' {
* Any bid deposit is lost and voucher is banned.
**/
kickCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* Kick a member from the society. Callable only by the Signed origin of the Founder.
*
* The member is fully removed (not suspended). All unclaimed payouts are slashed and
* returned to the society pot.
*
* Parameters:
* - `who`: The member to be removed.
**/
kickMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Transfer the first matured payout for the sender and remove it from the records.
*
@@ -3693,7 +3464,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
* them, then the list of nominators is paged, with each page being capped at
* [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
* [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
* the call needs to be made for each page separately in order for all the nominators
* backing a validator to receive the reward. The nominators are not sorted across pages
* and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -3906,6 +3677,23 @@ declare module '@polkadot/api-base/types/submittable' {
* manually do what this pallet was meant to do at the end of the migration.
**/
forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Purge session keys for a validator, forwarded from AssetHub.
*
* This is called when a validator purges their session keys on AssetHub, which forwards
* the request to the RelayChain via XCM.
**/
purgeKeysFromAh: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* Set session keys for a validator, forwarded from AssetHub.
*
* This is called when a validator sets their session keys on AssetHub, which forwards
* the request to the RelayChain via XCM.
*
* AssetHub validates both keys and ownership proof before sending.
* RC trusts AH's validation and does not re-validate.
**/
setKeysFromAh: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, keys: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Bytes]>;
/**
* Allows governance to force set the operating mode of the pallet.
**/
@@ -4087,6 +3875,8 @@ declare module '@polkadot/api-base/types/submittable' {
* approval queue, i.e., the proposal has not been approved. This could also mean the
* proposal does not exist altogether, thus there is no way it would have been approved
* in the first place.
*
* @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
**/
removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
@@ -4136,6 +3926,8 @@ declare module '@polkadot/api-base/types/submittable' {
* ## Events
*
* Emits [`Event::SpendApproved`] if successful.
*
* @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
**/
spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
/**
@@ -4605,6 +4397,8 @@ declare module '@polkadot/api-base/types/submittable' {
* fee on the `dest` (and possibly reserve) chains.
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
* fees.
*
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
**/
reserveTransferAssets: 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) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
send: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
@@ -4627,6 +4421,8 @@ declare module '@polkadot/api-base/types/submittable' {
* fee on the `dest` chain.
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
* fees.
*
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
**/
teleportAssets: 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) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
/**
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.5.7-4-x' };
+1 -1
View File
@@ -720,7 +720,7 @@ declare module '@polkadot/api-base/types/consts' {
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
*
* For more info see
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
* <https://www.shawntabrizi.com/blog/interacting-with-the-substrate-rpc-endpoint/>
**/
maxKeyLen: u32 & AugmentedConst<ApiType>;
/**
+25 -85
View File
@@ -156,6 +156,10 @@ declare module '@polkadot/api-base/types/errors' {
* The session of the equivocation proof is invalid
**/
InvalidEquivocationProofSession: AugmentedError<ApiType>;
/**
* The session of the equivocation proof is not in the mapping (anymore)
**/
InvalidEquivocationProofSessionMember: AugmentedError<ApiType>;
/**
* A fork voting proof provided as part of an equivocation report is invalid.
**/
@@ -361,18 +365,6 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
coretimeAssignmentProvider: {
AssignmentsEmpty: AugmentedError<ApiType>;
/**
* assign_core is only allowed to append new assignments at the end of already existing
* ones or update the last entry.
**/
DisallowedInsert: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
crowdloan: {
/**
* The fund is already in `NewRaise`
@@ -1079,6 +1071,10 @@ declare module '@polkadot/api-base/types/errors' {
* not recent enough or it didn't advance based on the last parachain block.
**/
DisallowedRelayParent: AugmentedError<ApiType>;
/**
* The candidate's scheduling-parent was not allowed.
**/
DisallowedSchedulingParent: AugmentedError<ApiType>;
/**
* Head data exceeds the configured maximum.
**/
@@ -1097,7 +1093,7 @@ declare module '@polkadot/api-base/types/errors' {
InsufficientBacking: AugmentedError<ApiType>;
/**
* Failed to compute group index for the core: either it's out of bounds
* or the relay parent doesn't belong to the current session.
* or the scheduling parent doesn't belong to the current session.
**/
InvalidAssignment: AugmentedError<ApiType>;
/**
@@ -1244,6 +1240,20 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
paraScheduler: {
/**
* assign_core was called with no assignments.
**/
AssignmentsEmpty: AugmentedError<ApiType>;
/**
* assign_core with non allowed insertion.
**/
DisallowedInsert: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
parasDisputes: {
/**
* Ancient dispute statement provided.
@@ -1394,78 +1404,6 @@ declare module '@polkadot/api-base/types/errors' {
[key: string]: AugmentedError<ApiType>;
};
rcMigrator: {
/**
* The account is referenced by some other pallet. It might have freezes or holds.
**/
AccountReferenced: AugmentedError<ApiType>;
/**
* The AH UMP queue priority configuration is already set.
**/
AhUmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
/**
* The XCM version is invalid.
**/
BadXcmVersion: AugmentedError<ApiType>;
/**
* Balance accounting overflow.
**/
BalanceOverflow: AugmentedError<ApiType>;
/**
* Balance accounting underflow.
**/
BalanceUnderflow: AugmentedError<ApiType>;
/**
* Indicates that there is not enough time for staking to lock.
*
* Schedule the migration at least two sessions before the current era ends.
**/
EraEndsTooSoon: AugmentedError<ApiType>;
/**
* Failed to withdraw account from RC for migration to AH.
**/
FailedToWithdrawAccount: AugmentedError<ApiType>;
/**
* The origin is invalid.
**/
InvalidOrigin: AugmentedError<ApiType>;
/**
* Invalid parameter.
**/
InvalidParameter: AugmentedError<ApiType>;
/**
* The query response is invalid.
**/
InvalidQueryResponse: AugmentedError<ApiType>;
/**
* The stage transition is invalid.
**/
InvalidStageTransition: AugmentedError<ApiType>;
OutOfWeight: AugmentedError<ApiType>;
/**
* Indicates that the specified block number is in the past.
**/
PastBlockNumber: AugmentedError<ApiType>;
/**
* The xcm query was not found.
**/
QueryNotFound: AugmentedError<ApiType>;
Unreachable: AugmentedError<ApiType>;
/**
* The migration stage is not reachable from the current stage.
**/
UnreachableStage: AugmentedError<ApiType>;
/**
* Unsigned validation failed.
**/
UnsignedValidationFailed: AugmentedError<ApiType>;
/**
* Failed to send XCM message to AH.
**/
XcmError: AugmentedError<ApiType>;
/**
* Failed to send XCM message.
**/
XcmSendError: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -2098,6 +2036,8 @@ declare module '@polkadot/api-base/types/errors' {
InvalidOrigin: AugmentedError<ApiType>;
/**
* Local XCM execution incomplete.
*
* @deprecated Use `LocalExecutionIncompleteWithError` instead Since 20.0.0.
**/
LocalExecutionIncomplete: AugmentedError<ApiType>;
/**
+60 -110
View File
@@ -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 } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletStakingAsyncAhClientSessionKeysUpdate, PalletStakingAsyncAhClientUnexpectedKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9CandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeRuntimeHoldReason, PolkadotRuntimeRuntimeParametersKey, PolkadotRuntimeRuntimeParametersValue, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -72,6 +72,14 @@ declare module '@polkadot/api-base/types/events' {
* Some amount was burned from an account.
**/
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some debt has been dropped from the Total Issuance.
**/
BurnedDebt: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Held balance was burned from an account.
**/
BurnedHeld: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Some amount was deposited (e.g. for transaction fees).
**/
@@ -89,6 +97,10 @@ declare module '@polkadot/api-base/types/events' {
* Some balance was frozen.
**/
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some balance was placed on hold.
**/
Held: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Total issuance was increased by `amount`, creating a credit to be balanced.
**/
@@ -101,6 +113,14 @@ declare module '@polkadot/api-base/types/events' {
* Some amount was minted into an account.
**/
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Some credit was balanced and added to the TotalIssuance.
**/
MintedCredit: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
/**
* Some balance was released from hold.
**/
Released: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128], { reason: PolkadotRuntimeRuntimeHoldReason, who: AccountId32, amount: u128 }>;
/**
* Total issuance was decreased by `amount`, creating a debt to be balanced.
**/
@@ -138,6 +158,14 @@ declare module '@polkadot/api-base/types/events' {
* Transfer succeeded.
**/
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
/**
* The `transferred` balance is placed on hold at the `dest` account.
**/
TransferAndHold: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128], { reason: PolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, transferred: u128 }>;
/**
* A transfer of `amount` on hold from `source` to `dest` was initiated.
**/
TransferOnHold: AugmentedEvent<ApiType, [reason: PolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128], { reason: PolkadotRuntimeRuntimeHoldReason, source: AccountId32, dest: AccountId32, amount: u128 }>;
/**
* An unexpected/defensive event was triggered.
**/
@@ -253,19 +281,19 @@ declare module '@polkadot/api-base/types/events' {
/**
* An account has delegated their vote to another account. \[who, target\]
**/
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u16]>;
/**
* An \[account\] has cancelled a previous delegation operation.
**/
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
Undelegated: AugmentedEvent<ApiType, [AccountId32, u16]>;
/**
* An account has voted
**/
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32 }>;
/**
* A vote has been removed
**/
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote, pollIndex: u32 }>;
/**
* The lockup period of a conviction vote expired, and the funds have been unlocked.
**/
@@ -714,15 +742,15 @@ declare module '@polkadot/api-base/types/events' {
/**
* A candidate was backed. `[candidate, head_data]`
**/
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
CandidateBacked: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32, u32]>;
/**
* A candidate was included. `[candidate, head_data]`
**/
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
CandidateIncluded: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32, u32]>;
/**
* A candidate timed out. `[candidate, head_data]`
**/
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32]>;
CandidateTimedOut: AugmentedEvent<ApiType, [PolkadotPrimitivesV9CandidateReceiptV2, Bytes, u32]>;
/**
* Some upward messages have been received and will be processed.
**/
@@ -732,6 +760,18 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
parameters: {
/**
* A Parameter was set.
*
* Is also emitted when the value was not changed.
**/
Updated: AugmentedEvent<ApiType, [key: PolkadotRuntimeRuntimeParametersKey, oldValue: Option<PolkadotRuntimeRuntimeParametersValue>, newValue: Option<PolkadotRuntimeRuntimeParametersValue>], { key: PolkadotRuntimeRuntimeParametersKey, oldValue: Option<PolkadotRuntimeRuntimeParametersValue>, newValue: Option<PolkadotRuntimeRuntimeParametersValue> }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
paras: {
/**
* A para has been queued to execute pending actions. `para_id`
@@ -846,7 +886,7 @@ declare module '@polkadot/api-base/types/events' {
* A pure account has been created by new proxy with given
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32], { pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32 }>;
/**
* A pure proxy was killed by its spawner.
**/
@@ -856,105 +896,6 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
rcMigrator: {
/**
* The accounts to be preserved on Relay Chain were set.
**/
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<AccountId32>], { accounts: Vec<AccountId32> }>;
/**
* The AH UMP queue priority config was set.
**/
AhUmpQueuePriorityConfigSet: AugmentedEvent<ApiType, [old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority], { old: PalletRcMigratorQueuePriority, new_: PalletRcMigratorQueuePriority }>;
/**
* Whether the AH UMP queue was prioritized for the next block.
**/
AhUmpQueuePrioritySet: AugmentedEvent<ApiType, [prioritized: bool, cycleBlock: u32, cyclePeriod: u32], { prioritized: bool, cycleBlock: u32, cyclePeriod: u32 }>;
/**
* The Asset Hub Migration finished.
*
* This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
* to understand. The finishing is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationFinished: AugmentedEvent<ApiType, []>;
/**
* The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
* emitted.
*
* This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
* to understand. The activation is immediate and affects all events happening
* afterwards.
**/
AssetHubMigrationStarted: AugmentedEvent<ApiType, []>;
/**
* The canceller account id was set.
**/
CancellerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
/**
* The manager multisig dispatched something.
**/
ManagerMultisigDispatched: AugmentedEvent<ApiType, [res: Result<Null, SpRuntimeDispatchError>], { res: Result<Null, SpRuntimeDispatchError> }>;
/**
* The manager multisig received a vote.
**/
ManagerMultisigVoted: AugmentedEvent<ApiType, [votes: u32], { votes: u32 }>;
/**
* The manager account id was set.
**/
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
/**
* The RC kept balance was consumed.
**/
MigratedBalanceConsumed: AugmentedEvent<ApiType, [kept: u128, migrated: u128], { kept: u128, migrated: u128 }>;
/**
* The total issuance was recorded.
**/
MigratedBalanceRecordSet: AugmentedEvent<ApiType, [kept: u128, migrated: u128], { kept: u128, migrated: u128 }>;
/**
* The migration was cancelled.
**/
MigrationCancelled: AugmentedEvent<ApiType, []>;
/**
* The migration was paused.
**/
MigrationPaused: AugmentedEvent<ApiType, [pauseStage: PalletRcMigratorMigrationStage], { pauseStage: PalletRcMigratorMigrationStage }>;
/**
* The migration settings were set.
**/
MigrationSettingsSet: AugmentedEvent<ApiType, [old: Option<PalletRcMigratorMigrationSettings>, new_: Option<PalletRcMigratorMigrationSettings>], { old: Option<PalletRcMigratorMigrationSettings>, new_: Option<PalletRcMigratorMigrationSettings> }>;
/**
* Some pure accounts were indexed for possibly receiving free `Any` proxies.
**/
PureAccountsIndexed: AugmentedEvent<ApiType, [numPureAccounts: u32], { numPureAccounts: u32 }>;
/**
* A query response has been received.
**/
QueryResponseReceived: AugmentedEvent<ApiType, [queryId: u64, response: XcmV3MaybeErrorCode], { queryId: u64, response: XcmV3MaybeErrorCode }>;
/**
* A stage transition has occurred.
**/
StageTransition: AugmentedEvent<ApiType, [old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage], { old: PalletRcMigratorMigrationStage, new_: PalletRcMigratorMigrationStage }>;
/**
* The staking elections were paused.
**/
StakingElectionsPaused: AugmentedEvent<ApiType, []>;
/**
* The unprocessed message buffer size has been set.
**/
UnprocessedMsgBufferSet: AugmentedEvent<ApiType, [new_: u32, old: u32], { new_: u32, old: u32 }>;
/**
* A XCM message has been resent.
**/
XcmResendAttempt: AugmentedEvent<ApiType, [queryId: u64, sendError: Option<XcmV3TraitsSendError>], { queryId: u64, sendError: Option<XcmV3TraitsSendError> }>;
/**
* An XCM message was sent.
**/
XcmSent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
referenda: {
/**
* A referendum has been approved and its proposal has been scheduled.
@@ -1214,6 +1155,15 @@ declare module '@polkadot/api-base/types/events' {
* pallet we need to mutate storage upon some failures.
**/
CouldNotMergeAndDropped: AugmentedEvent<ApiType, []>;
/**
* Session keys updated for a validator.
**/
SessionKeysUpdated: AugmentedEvent<ApiType, [stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate], { stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate }>;
/**
* Session key update from AssetHub failed on the relay chain.
* Logged as an event for fail-safe observability.
**/
SessionKeysUpdateFailed: AugmentedEvent<ApiType, [stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate, error: SpRuntimeDispatchError], { stash: AccountId32, update: PalletStakingAsyncAhClientSessionKeysUpdate, error: SpRuntimeDispatchError }>;
/**
* The validator set received is way too small, as per
* [`Config::MinimumValidatorSetSize`].
@@ -1258,9 +1208,9 @@ declare module '@polkadot/api-base/types/events' {
};
system: {
/**
* `:code` was updated.
* `:code` was updated to the code with the given hash.
**/
CodeUpdated: AugmentedEvent<ApiType, []>;
CodeUpdated: AugmentedEvent<ApiType, [hash_: H256], { hash_: H256 }>;
/**
* An extrinsic failed.
**/
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '../base.js';
+106 -172
View File
@@ -6,11 +6,11 @@
import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, 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, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRcMigratorAccountsAccountState, PalletRcMigratorAccountsMigratedBalances, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientOffence, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingPendingSlashes, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Xcm, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, 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, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRcMigratorAccountState, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientOffence, PalletStakingAsyncRcClientSessionReport, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9AssignmentAppPublic, PolkadotPrimitivesV9DisputeState, PolkadotPrimitivesV9ExecutorParams, PolkadotPrimitivesV9ScrapedOnChainVotes, PolkadotPrimitivesV9SessionInfo, PolkadotPrimitivesV9SlashingPendingSlashes, PolkadotPrimitivesV9UpgradeGoAhead, PolkadotPrimitivesV9UpgradeRestriction, PolkadotPrimitivesV9ValidatorAppPublic, PolkadotPrimitivesVstagingRelayParentInfo, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandOrderStatus, PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule, PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker, PolkadotRuntimeRuntimeParametersKey, PolkadotRuntimeRuntimeParametersValue, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -440,26 +440,6 @@ declare module '@polkadot/api-base/types/storage' {
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
coretimeAssignmentProvider: {
/**
* Assignments which are currently active.
*
* They will be picked from `PendingAssignments` once we reach the scheduled block number in
* `PendingAssignments`.
**/
coreDescriptors: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Scheduled assignment sets.
*
* Assignments as of the given block number. They will go into state once the block number is
* reached (and replace whatever was in there before).
**/
coreSchedules: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PolkadotRuntimeParachainsAssignerCoretimeSchedule>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
crowdloan: {
/**
* The number of auctions that have entered into their ending period so far.
@@ -1003,10 +983,6 @@ declare module '@polkadot/api-base/types/storage' {
[key: string]: QueryableStorageEntry<ApiType>;
};
onDemand: {
/**
* 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.
**/
@@ -1014,17 +990,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
**/
freeEntries: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Maps a `ParaId` to `CoreIndex` and keeps track of how many assignments the scheduler has in
* it's lookahead. Keeping track of this affinity prevents parallel execution of the same
* `ParaId` on two or more `CoreIndex`es.
**/
paraIdAffinity: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Overall status of queue (both free + affinity entries)
**/
queueStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsOnDemandTypesQueueStatusType>, []> & QueryableStorageEntry<ApiType, []>;
orderStatus: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsOnDemandOrderStatus>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Keeps track of accumulated revenue from on demand order sales.
**/
@@ -1061,7 +1027,17 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Scraped on chain data for extracting resolved disputes as well as backing votes.
**/
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesVstagingScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
onChainVotes: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV9ScrapedOnChainVotes>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
parameters: {
/**
* Stored parameters.
**/
parameters: AugmentedQuery<ApiType, (arg: PolkadotRuntimeRuntimeParametersKey | { AhClient: any } | string | Uint8Array) => Observable<Option<PolkadotRuntimeRuntimeParametersValue>>, [PolkadotRuntimeRuntimeParametersKey]> & QueryableStorageEntry<ApiType, [PolkadotRuntimeRuntimeParametersKey]>;
/**
* Generic query
**/
@@ -1203,7 +1179,7 @@ declare module '@polkadot/api-base/types/storage' {
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
* the format will require migration of parachains.
**/
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
upgradeGoAheadSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9UpgradeGoAhead>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* This is used by the relay-chain to communicate that there are restrictions for performing
* an upgrade for this parachain.
@@ -1215,7 +1191,7 @@ declare module '@polkadot/api-base/types/storage' {
* NOTE that this field is used by parachains via merkle storage proofs, therefore changing
* the format will require migration of parachains.
**/
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
upgradeRestrictionSignal: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9UpgradeRestriction>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
@@ -1223,10 +1199,22 @@ declare module '@polkadot/api-base/types/storage' {
};
paraScheduler: {
/**
* One entry for each availability core. The `VecDeque` represents the assignments to be
* scheduled on that core.
* Assignments which are currently active for each core.
*
* They will be picked from `CoreSchedules` once we reach the scheduled block number.
*
* Managed by the `assigner_coretime` submodule.
**/
claimQueue: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, Vec<PolkadotRuntimeParachainsSchedulerCommonAssignment>>>, []> & QueryableStorageEntry<ApiType, []>;
coreDescriptors: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, PolkadotRuntimeParachainsSchedulerAssignerCoretimeCoreDescriptor>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Scheduled assignment sets for coretime cores.
*
* Assignments as of the given block number. They will go into state once the block number is
* reached (and replace whatever was in there before).
*
* Managed by the `assigner_coretime` submodule.
**/
coreSchedules: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PolkadotRuntimeParachainsSchedulerAssignerCoretimeSchedule>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
/**
* The block number where the session start occurred. Used to track how many group rotations
* have occurred.
@@ -1261,7 +1249,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* All ongoing or concluded disputes for the last several sessions.
**/
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV8DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
disputes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV9DisputeState>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
/**
* Whether the chain is frozen. Starts as `None`. When this is `Some`,
* the chain will not accept any new parachain blocks for backing or inclusion,
@@ -1294,7 +1282,7 @@ declare module '@polkadot/api-base/types/storage' {
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
* When in doubt, use `Sessions` API instead.
**/
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV8AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
assignmentKeysUnsafe: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV9AssignmentAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The earliest session for which previous session info is stored.
**/
@@ -1302,13 +1290,13 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Executor parameter set for a given session index
**/
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
sessionExecutorParams: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9ExecutorParams>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Session information in a rolling window.
* Should have an entry in range `EarliestStoredSession..=CurrentSessionIndex`.
* Does not have any entries before the session index in the first session change notification.
**/
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
sessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9SessionInfo>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Generic query
**/
@@ -1324,15 +1312,31 @@ declare module '@polkadot/api-base/types/storage' {
* The parachain attestation keys of the validators actively participating in parachain
* consensus. This should be the same length as `ActiveValidatorIndices`.
**/
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV8ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
activeValidatorKeys: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotPrimitivesV9ValidatorAppPublic>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* All allowed relay-parents.
* All allowed relay parents, keyed by (session_index, relay_parent_hash).
**/
allowedRelayParents: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker>, []> & QueryableStorageEntry<ApiType, []>;
allowedRelayParents: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingRelayParentInfo>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
/**
* All allowed scheduling parents.
**/
allowedSchedulingParents: AugmentedQuery<ApiType, () => Observable<PolkadotRuntimeParachainsSharedAllowedSchedulingParentsTracker>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current session index.
**/
currentSessionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The minimum relay parent block number for each session that has entries in
* `AllowedRelayParents`. This is the block number of the first relay parent
* added to each session.
**/
minimumRelayParentNumber: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The oldest session index for which we still have relay parent entries in
* `AllowedRelayParents`. Used to efficiently prune all expired sessions
* when `max_relay_parent_session_age` decreases.
**/
oldestRelayParentSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -1342,7 +1346,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Validators pending dispute slashes.
**/
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesV9SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
/**
* `ValidatorSetCount` per session.
**/
@@ -1360,6 +1364,8 @@ declare module '@polkadot/api-base/types/storage' {
requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* The request status of a given hash.
*
* @deprecated RequestStatusFor
**/
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
@@ -1383,135 +1389,23 @@ declare module '@polkadot/api-base/types/storage' {
[key: string]: QueryableStorageEntry<ApiType>;
};
rcMigrator: {
/**
* The priority of the Asset Hub UMP queue during migration.
*
* Controls how the Asset Hub UMP (Upward Message Passing) queue is processed relative to other
* queues during the migration process. This helps ensure timely processing of migration
* messages. The default priority pattern is defined in the pallet configuration, but can be
* overridden by a storage value of this type.
**/
ahUmpQueuePriorityConfig: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorQueuePriority>, []> & QueryableStorageEntry<ApiType, []>;
/**
* An optional account id of a canceller.
*
* This account id can only stop scheduled migration.
**/
canceller: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The duration of the post migration cool-off period.
*
* This is the duration of the cool-off period after the data migration is finished. During
* this period, the migration will be still in ongoing state and the concerned extrinsics will
* be locked.
**/
coolOffPeriod: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportScheduleDispatchTime>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Counter for the related counted storage map
**/
counterForPendingXcmMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Counter for the related counted storage map
**/
counterForRcAccounts: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* An optional account id of a manager.
*
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
* can not set the manager account id via `set_manager` call.
**/
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current round of the multisig voting.
*
* Votes are only valid for the current round.
**/
managerMultisigRound: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The multisig AccountIDs that votes to execute a specific call.
**/
managerMultisigs: AugmentedQuery<ApiType, (arg: Call | IMethod | string | Uint8Array) => Observable<Vec<AccountId32>>, [Call]> & QueryableStorageEntry<ApiType, [Call]>;
/**
* How often each participant voted in the current round.
*
* Will be cleared at the end of each round.
**/
managerVotesInCurrentRound: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Block number when migration finished and extrinsics were unlocked.
*
* This is set when entering the `MigrationDone` stage hence when
* `RcMigrationStage::is_finished()` becomes `true`.
* The block number when the migration ended.
**/
migrationEndBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The block number at which the migration began and the pallet's extrinsics were locked.
*
* This value is set when entering the `WaitingForAh` stage, i.e., when
* `RcMigrationStage::is_ongoing()` becomes `true`.
* The block number when the migration started.
**/
migrationStartBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The pending XCM messages.
*
* Contains data messages that have been sent to the Asset Hub but not yet confirmed.
*
* Unconfirmed messages can be resent by calling the [`Pallet::resend_xcm`] function.
**/
pendingXcmMessages: AugmentedQuery<ApiType, (arg: ITuple<[u64, H256]> | [u64 | AnyNumber | Uint8Array, H256 | string | Uint8Array]) => Observable<Option<StagingXcmV5Xcm>>, [ITuple<[u64, H256]>]> & QueryableStorageEntry<ApiType, [ITuple<[u64, H256]>]>;
/**
* The pending XCM response queries and their XCM hash referencing the message in the
* [`PendingXcmMessages`] storage.
*
* The `QueryId` is the identifier from the [`pallet_xcm`] query handler registry. The XCM
* pallet will notify about the status of the message by calling the
* [`Pallet::receive_query_response`] function with the `QueryId` and the
* response.
**/
pendingXcmQueries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
/**
* Accounts that use the proxy pallet to delegate permissions and have no nonce.
*
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
**/
pureProxyCandidatesMigrated: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<bool>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Helper storage item to obtain and store the known accounts that should be kept partially or
* fully on Relay Chain.
**/
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountsAccountState>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Helper storage item to store the total balance that should be kept on Relay Chain.
**/
rcMigratedBalance: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorAccountsMigratedBalances>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Helper storage item to store the total balance that should be kept on Relay Chain after
* it is consumed from the `RcMigratedBalance` storage item and sent to the Asset Hub.
*
* This let us to take the value from the `RcMigratedBalance` storage item and keep the
* `SignalMigrationFinish` stage to be idempotent while preserving these values for tests and
* later discoveries.
**/
rcMigratedBalanceArchive: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorAccountsMigratedBalances>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The Relay Chain migration state.
**/
rcMigrationStage: AugmentedQuery<ApiType, () => Observable<PalletRcMigratorMigrationStage>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The migration settings.
**/
settings: AugmentedQuery<ApiType, () => Observable<Option<PalletRcMigratorMigrationSettings>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Manual override for `type UnprocessedMsgBuffer: Get<u32>`. Look there for docs.
**/
unprocessedMsgBuffer: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The duration of the pre migration warm-up period.
*
* This is the duration of the warm-up period before the data migration starts. During this
* period, the migration will be in ongoing state and the concerned extrinsics will be locked.
**/
warmUpPeriod: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportScheduleDispatchTime>>, []> & QueryableStorageEntry<ApiType, []>;
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRcMigratorAccountState>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -1610,6 +1504,13 @@ declare module '@polkadot/api-base/types/storage' {
* a new set of identities.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Accounts whose keys were set via `SessionInterface` (external path) without
* incrementing the consumer reference or placing a key deposit. `do_purge_keys`
* only decrements consumers for accounts that were registered through the local
* session pallet.
**/
externallySetKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
**/
@@ -2043,10 +1944,6 @@ declare module '@polkadot/api-base/types/storage' {
* The full account information for a particular account ID.
**/
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Total length (in bytes) for all extrinsics put together, for the current block.
**/
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* `Some` if a code upgrade has been authorized.
**/
@@ -2055,6 +1952,16 @@ declare module '@polkadot/api-base/types/storage' {
* Map of block numbers to block hashes.
**/
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Total size (in bytes) of the current block.
*
* Tracks the size of the header and all extrinsics.
**/
blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Number of blocks till the pending code upgrade is applied.
**/
blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The current weight for the block.
**/
@@ -2162,6 +2069,12 @@ declare module '@polkadot/api-base/types/storage' {
transactionPayment: {
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The `OnChargeTransaction` stores the withdrawn tx fee here.
*
* Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
**/
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -2231,6 +2144,10 @@ declare module '@polkadot/api-base/types/storage' {
* Counter for the related counted storage map
**/
counterForListNodes: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Counter for the related counted storage map
**/
counterForPendingRebag: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* A bag stored in storage.
*
@@ -2255,6 +2172,23 @@ declare module '@polkadot/api-base/types/storage' {
* When `None`, the next scan will start from the list head again.
**/
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Accounts that failed to be inserted into the bags-list due to locking.
* These accounts will be processed with priority in `on_idle` or via `rebag` extrinsic.
*
* Note: This storage is intentionally unbounded. The following factors make bounding
* unnecessary:
* 1. The storage usage is temporary - accounts are processed and removed in `on_idle`
* 2. The pallet is only locked during snapshot generation, which is weight-limited
* 3. Processing happens at multiple accounts per block, clearing even large backlogs quickly
* 4. An artificial limit could be exhausted by an attacker, preventing legitimate
* auto-rebagging from putting accounts in the correct position
*
* We don't store the score here - it's always fetched from `ScoreProvider` when processing,
* ensuring we use the most up-to-date score (accounts may have been slashed, rewarded, etc.
* while waiting in the queue).
**/
pendingRebag: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/substrate';
+66 -46
View File
@@ -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 { FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeOriginCaller, 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, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV9ApprovalVotingParams, PolkadotPrimitivesV9AsyncBackingAsyncBackingParams, PolkadotPrimitivesV9AsyncBackingBackingState, PolkadotPrimitivesV9AsyncBackingConstraints, PolkadotPrimitivesV9CandidateCommitments, PolkadotPrimitivesV9CandidateEvent, PolkadotPrimitivesV9CommittedCandidateReceiptV2, PolkadotPrimitivesV9CoreState, PolkadotPrimitivesV9DisputeState, PolkadotPrimitivesV9ExecutorParams, PolkadotPrimitivesV9GroupRotationInfo, PolkadotPrimitivesV9OccupiedCoreAssumption, PolkadotPrimitivesV9PersistedValidationData, PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9ScrapedOnChainVotes, PolkadotPrimitivesV9SessionInfo, PolkadotPrimitivesV9SlashingDisputeProof, PolkadotPrimitivesV9SlashingLegacyPendingSlashes, PolkadotPrimitivesV9SlashingPendingSlashes, PolkadotPrimitivesV9ValidatorAppPublic, PolkadotPrimitivesV9ValidatorAppSignature, PolkadotPrimitivesVstagingRelayParentInfo, PolkadotRuntimeOriginCaller, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesAncestryProof, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlockLazyBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpSessionRuntimeApiOpaqueGeneratedSessionKeys, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, 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>;
@@ -32,6 +32,21 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xc1b8f0c037f97de8/ */
assetHubMigrationApi: {
/**
* Returns the block number when the migration ended.
**/
migrationEndBlock: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Returns the block number when the migration started.
**/
migrationStartBlock: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x687ad44ad37f03c2/ */
authorityDiscoveryApi: {
/**
@@ -80,10 +95,6 @@ declare module '@polkadot/api-base/types/calls' {
* Return the block number where BEEFY consensus is enabled/started
**/
beefyGenesis: AugmentedCall<ApiType, () => Observable<Option<u32>>>;
/**
* Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`.
**/
generateAncestryProof: AugmentedCall<ApiType, (prev_block_number: u32 | AnyNumber | Uint8Array, best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Option<Bytes>>>;
/**
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
**/
@@ -133,7 +144,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Check that the inherents are valid. The inherent data will vary from chain to chain.
**/
checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, data: SpInherentsInherentData | { data?: any } | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | { header?: any; extrinsics?: any } | string | Uint8Array, data: SpInherentsInherentData | { data?: any } | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
/**
* Finish the current block.
**/
@@ -152,7 +163,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Execute the given block.
**/
executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
/**
* Initialize a block with the given header and return the runtime executive mode.
**/
@@ -223,17 +234,6 @@ declare module '@polkadot/api-base/types/calls' {
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0xc51ff1fa3f5d0cca/ */
inflation: {
/**
* Return the current estimates of the inflation amount.,, This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly, recommended over trying to read-storage, or re-create the onchain logic.
**/
experimentalInflationPredictionInfo: AugmentedCall<ApiType, () => Observable<RelayCommonApisInflationInfo>>;
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
};
/** 0x9ffb505aa738d69c/ */
locationToAccountApi: {
/**
@@ -266,6 +266,10 @@ declare module '@polkadot/api-base/types/calls' {
};
/** 0x91d5df18b0d2cf58/ */
mmrApi: {
/**
* Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`.
**/
generateAncestryProof: AugmentedCall<ApiType, (prev_block_number: u32 | AnyNumber | Uint8Array, best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Result<SpMmrPrimitivesAncestryProof, SpMmrPrimitivesError>>>;
/**
* Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,, use historical MMR state at given block height `n`. Else, use current MMR state.
**/
@@ -351,42 +355,46 @@ declare module '@polkadot/api-base/types/calls' {
};
/** 0xaf2c0297a23e6d3d/ */
parachainHost: {
/**
* Look up relay parent info for a block that is an **ancestor** of the block, this API is called at. Returns `None` if the relay parent is not found, in the allowed relay parents for the given session.,, NOTE: A block is not in its own `AllowedRelayParents` storage (it gets, added during the next block's inherent). Querying a block about itself, will always return `None`. Use the node-side `check_relay_parent_session`, utility for a general-purpose check that handles both the self and, ancestor cases.
**/
ancestorRelayParentInfo: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array, relay_parent: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingRelayParentInfo>>>;
/**
* Approval voting configuration parameters
**/
approvalVotingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV8ApprovalVotingParams>>;
approvalVotingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV9ApprovalVotingParams>>;
/**
* Returns the persisted validation data for the given `ParaId` along with the corresponding, validation code hash. Instead of accepting assumption about the para, matches the validation, data hash against an expected one and yields `None` if they're not equal.
**/
assumedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, expected_persisted_validation_data_hash: H256 | string | Uint8Array) => Observable<Option<ITuple<[PolkadotPrimitivesV8PersistedValidationData, H256]>>>>;
assumedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, expected_persisted_validation_data_hash: H256 | string | Uint8Array) => Observable<Option<ITuple<[PolkadotPrimitivesV9PersistedValidationData, H256]>>>>;
/**
* Returns candidate's acceptance limitations for asynchronous backing for a relay parent.
**/
asyncBackingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV8AsyncBackingAsyncBackingParams>>;
asyncBackingParams: AugmentedCall<ApiType, () => Observable<PolkadotPrimitivesV9AsyncBackingAsyncBackingParams>>;
/**
* 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>>>;
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV9CoreState>>>;
/**
* 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>>>;
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9AsyncBackingConstraints>>>;
/**
* Get a vector of events concerning candidates that occurred within a block.
**/
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCandidateEvent>>>;
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV9CandidateEvent>>>;
/**
* Get the receipt of a candidate pending availability. This returns `Some` for any paras, assigned to occupied cores in `availability_cores` and `None` otherwise.
**/
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>>;
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9CommittedCandidateReceiptV2>>>;
/**
* Elastic scaling support
**/
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>>;
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PolkadotPrimitivesV9CommittedCandidateReceiptV2>>>;
/**
* Checks if the given validation outputs pass the acceptance criteria.
**/
checkValidationOutputs: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, outputs: PolkadotPrimitivesV8CandidateCommitments | { upwardMessages?: any; horizontalMessages?: any; newValidationCode?: any; headData?: any; processedDownwardMessages?: any; hrmpWatermark?: any } | string | Uint8Array) => Observable<bool>>;
checkValidationOutputs: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, outputs: PolkadotPrimitivesV9CandidateCommitments | { upwardMessages?: any; horizontalMessages?: any; newValidationCode?: any; headData?: any; processedDownwardMessages?: any; hrmpWatermark?: any } | string | Uint8Array) => Observable<bool>>;
/**
* Claim queue
**/
@@ -398,7 +406,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Returns all onchain disputes.
**/
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV8DisputeState]>>>>;
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV9DisputeState]>>>>;
/**
* Get all the pending inbound messages in the downward message queue for a para.
**/
@@ -410,7 +418,11 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Returns a merkle proof of a validator session key., NOTE: This function is only available since parachain host version 5.
**/
keyOwnershipProof: AugmentedCall<ApiType, (validator_id: PolkadotPrimitivesV8ValidatorAppPublic | string | Uint8Array) => Observable<Option<Bytes>>>;
keyOwnershipProof: AugmentedCall<ApiType, (validator_id: PolkadotPrimitivesV9ValidatorAppPublic | string | Uint8Array) => Observable<Option<Bytes>>>;
/**
* Retrieve the maximum relay parent session age allowed for parachain blocks.
**/
maxRelayParentSessionAge: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Get the minimum number of backing votes for a parachain candidate., This is a staging method! Do not use on production runtimes!
**/
@@ -422,15 +434,19 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
**/
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PolkadotPrimitivesVstagingScrapedOnChainVotes>>>;
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PolkadotPrimitivesV9ScrapedOnChainVotes>>>;
/**
* Returns the state of parachain backing for a given para.
**/
paraBackingState: AugmentedCall<ApiType, (__runtime_api_generated_name_0__: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingBackingState>>>;
paraBackingState: AugmentedCall<ApiType, (__runtime_api_generated_name_0__: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9AsyncBackingBackingState>>>;
/**
* Retrieve paraids at relay parent
**/
paraIds: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
/**
* Yields the persisted validation data for the given `ParaId` along with an assumption that, should be used if the para currently occupies a core.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
**/
persistedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>>;
persistedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV9OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<PolkadotPrimitivesV9PersistedValidationData>>>;
/**
* 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.
**/
@@ -442,7 +458,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Returns execution parameters for the session.
**/
sessionExecutorParams: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8ExecutorParams>>>;
sessionExecutorParams: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9ExecutorParams>>>;
/**
* Returns the session index expected at a child of the block.,, This can be used to instantiate a `SigningContext`.
**/
@@ -450,23 +466,27 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Get the session info for the given session, if stored.,, NOTE: This function is only available since parachain host version 2.
**/
sessionInfo: AugmentedCall<ApiType, (index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV8SessionInfo>>>;
sessionInfo: AugmentedCall<ApiType, (index: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesV9SessionInfo>>>;
/**
* Submits a PVF pre-checking statement into the transaction pool.,, NOTE: This function is only available since parachain host version 2.
**/
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PolkadotPrimitivesV8PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV8ValidatorAppSignature | string | Uint8Array) => Observable<Null>>;
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PolkadotPrimitivesV9PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV9ValidatorAppSignature | string | Uint8Array) => Observable<Null>>;
/**
* Submit an unsigned extrinsic to slash validators who lost a dispute about, a candidate of a past session., NOTE: This function is only available since parachain host version 5.
**/
submitReportDisputeLost: AugmentedCall<ApiType, (dispute_proof: PolkadotPrimitivesV8SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, key_ownership_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
submitReportDisputeLost: AugmentedCall<ApiType, (dispute_proof: PolkadotPrimitivesV9SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, key_ownership_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
/**
* Returns a list of validators that lost a past session dispute and need to be slashed., NOTE: This function is only available since parachain host version 5.
* Returns a list of validators that lost a past session dispute and need to be slashed.,, Deprecated. Use `unapplied_slashes_v2` instead.
**/
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV8SlashingPendingSlashes]>>>>;
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV9SlashingLegacyPendingSlashes]>>>>;
/**
* Returns a list of validators that lost a past session dispute and need to be slashed.
**/
unappliedSlashesV2: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PolkadotPrimitivesV9SlashingPendingSlashes]>>>>;
/**
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
**/
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<Bytes>>>;
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV9OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<Bytes>>>;
/**
* Retrieve the maximum uncompressed code size.
**/
@@ -478,15 +498,15 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.,, NOTE: This function is only available since parachain host version 2.
**/
validationCodeHash: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV8OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<H256>>>;
validationCodeHash: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PolkadotPrimitivesV9OccupiedCoreAssumption | 'Included' | 'TimedOut' | 'Free' | number | Uint8Array) => Observable<Option<H256>>>;
/**
* Returns the validator groups and rotation info localized based on the hypothetical child, of a block whose state this is invoked on. Note that `now` in the `GroupRotationInfo`, should be the successor of the number of the block.
**/
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<u32>>, PolkadotPrimitivesV8GroupRotationInfo]>>>;
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<u32>>, PolkadotPrimitivesV9GroupRotationInfo]>>>;
/**
* Get the current validators.
**/
validators: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV8ValidatorAppPublic>>>;
validators: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesV9ValidatorAppPublic>>>;
/**
* Generic call
**/
@@ -512,7 +532,7 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
**/
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
generateSessionKeys: AugmentedCall<ApiType, (owner: Bytes | string | Uint8Array, seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<SpSessionRuntimeApiOpaqueGeneratedSessionKeys>>;
/**
* Generic call
**/
@@ -529,7 +549,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
/**
* Returns true if validator `account` has pages to be claimed for the given era.
* Returns true if a validator `account` has pages to be claimed for the given era.
**/
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
@@ -601,9 +621,9 @@ declare module '@polkadot/api-base/types/calls' {
**/
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
/**
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
* Query delivery fees V2.,, Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
**/
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, asset_id: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
/**
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
**/
+89 -142
View File
@@ -10,7 +10,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletRcMigratorManagerMultisigVote, PalletRcMigratorMigrationSettings, PalletRcMigratorMigrationStage, PalletRcMigratorQueuePriority, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingDisputeProof, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingAsyncAhClientOperatingMode, PalletStakingAsyncRcClientValidatorSetReport, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV9ApprovalVotingParams, PolkadotPrimitivesV9AsyncBackingAsyncBackingParams, PolkadotPrimitivesV9ExecutorParams, PolkadotPrimitivesV9InherentData, PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9SlashingDisputeProof, PolkadotPrimitivesV9ValidatorAppSignature, PolkadotPrimitivesVstagingSchedulerParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeRuntimeParameters, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -697,11 +697,11 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Set approval-voting-params.
**/
setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ApprovalVotingParams | { maxApprovalCoalesceCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ApprovalVotingParams]>;
setApprovalVotingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9ApprovalVotingParams | { maxApprovalCoalesceCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9ApprovalVotingParams]>;
/**
* Set the asynchronous backing parameters.
**/
setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams | { maxCandidateDepth?: any; allowedAncestryLen?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8AsyncBackingAsyncBackingParams]>;
setAsyncBackingParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams | { maxCandidateDepth?: any; allowedAncestryLen?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9AsyncBackingAsyncBackingParams]>;
/**
* Setting this to true will disable consistency checks for the configuration setters.
* Use with caution.
@@ -729,7 +729,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Set PVF executor parameters.
**/
setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8ExecutorParams]>;
setExecutorParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV9ExecutorParams) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9ExecutorParams]>;
/**
* Set the parachain validator-group rotation frequency
**/
@@ -787,6 +787,10 @@ declare module '@polkadot/api-base/types/submittable' {
* Set the max POV block size for incoming upgrades.
**/
setMaxPovSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Set the maximum relay parent session age.
**/
setMaxRelayParentSessionAge: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Sets the maximum number of messages that a candidate can contain.
**/
@@ -871,7 +875,7 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Set scheduler-params.
**/
setSchedulerParams: AugmentedSubmittable<(updated: PolkadotPrimitivesV8SchedulerParams | { groupRotationFrequency?: any; parasAvailabilityPeriod?: any; maxValidatorsPerCore?: any; lookahead?: any; numCores?: any; maxAvailabilityTimeouts?: any; onDemandQueueMaxSize?: any; onDemandTargetQueueUtilization?: any; onDemandFeeVariability?: any; onDemandBaseFee?: any; ttl?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SchedulerParams]>;
setSchedulerParams: AugmentedSubmittable<(updated: PolkadotPrimitivesVstagingSchedulerParams | { groupRotationFrequency?: any; parasAvailabilityPeriod?: any; maxValidatorsPerCore?: any; lookahead?: any; numCores?: any; onDemandQueueMaxSize?: any; onDemandTargetQueueUtilization?: any; onDemandFeeVariability?: any; onDemandBaseFee?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingSchedulerParams]>;
/**
* Set the scheduling lookahead, in expected number of blocks at peak throughput.
**/
@@ -1063,13 +1067,13 @@ declare module '@polkadot/api-base/types/submittable' {
* Contribute to a crowd sale. This will transfer some balance over to fund a parachain
* slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
**/
contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | { Eth: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<SpRuntimeMultiSignature>]>;
/**
* Contribute your entire balance to a crowd sale. This will transfer the entire balance of
* a user over to fund a parachain slot. It will be withdrawable when the crowdloan has
* ended and the funds are unused.
**/
contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | { Eth: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<SpRuntimeMultiSignature>]>;
/**
* Create a new crowdloaning campaign for a parachain slot with the given lease period
* range.
@@ -1077,7 +1081,7 @@ declare module '@polkadot/api-base/types/submittable' {
* This applies a lock to your parachain configuration, ensuring that it cannot be changed
* by the parachain manager.
**/
create: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
create: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | { Eth: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
/**
* Remove a fund after the retirement period has ended and all funds have been returned.
**/
@@ -1087,7 +1091,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Can only be called by Root origin.
**/
edit: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
edit: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<SpRuntimeMultiSigner> | null | Uint8Array | SpRuntimeMultiSigner | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | { Eth: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<SpRuntimeMultiSigner>]>;
/**
* Poke the fund into `NewRaise`
*
@@ -1561,6 +1565,13 @@ declare module '@polkadot/api-base/types/submittable' {
* Register approval for a dispatch to be made from a deterministic composite account if
* approved by a total of `threshold - 1` of `other_signatories`.
*
* **This function will NEVER execute the call, even if the approval threshold is
* reached.** It only registers approval. To actually execute the call, `as_multi` must
* be called with the full call data by any of the signatories.
*
* This function is more efficient than `as_multi` for intermediate approvals since it
* only requires the call hash, not the full call data.
*
* Payment: `DepositBase` will be reserved if this is the first approval, plus
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
* is cancelled.
@@ -1575,7 +1586,8 @@ declare module '@polkadot/api-base/types/submittable' {
* transaction index) of the first approval transaction.
* - `call_hash`: The hash of the call to be executed.
*
* NOTE: If this is the final approval, you will want to use `as_multi` instead.
* NOTE: To execute the call after approvals are gathered, any signatory must call
* `as_multi` with the full call data. This function cannot execute the call.
*
* ## Complexity
* - `O(S)`.
@@ -1594,7 +1606,9 @@ declare module '@polkadot/api-base/types/submittable' {
* Register approval for a dispatch to be made from a deterministic composite account if
* approved by a total of `threshold - 1` of `other_signatories`.
*
* If there are enough, then dispatch the call.
* **If the approval threshold is met (including the sender's approval), this will
* immediately execute the call.** This is the only way to execute a multisig call -
* `approve_as_multi` will never trigger execution.
*
* Payment: `DepositBase` will be reserved if this is the first approval, plus
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
@@ -1610,8 +1624,9 @@ declare module '@polkadot/api-base/types/submittable' {
* transaction index) of the first approval transaction.
* - `call`: The call to be executed.
*
* NOTE: Unless this is the final approval, you will generally want to use
* `approve_as_multi` instead, since it only requires a hash of the call.
* NOTE: For intermediate approvals (not the final approval), you should generally use
* `approve_as_multi` instead, since it only requires a hash of the call and is more
* efficient.
*
* Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
* on success, result is `Ok` and the result from the interior call, if it was executed,
@@ -2055,6 +2070,8 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Events:
* - `OnDemandOrderPlaced`
*
* @deprecated This will be removed in favor of using `place_order_with_credits`
**/
placeOrderAllowDeath: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
/**
@@ -2073,6 +2090,8 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Events:
* - `OnDemandOrderPlaced`
*
* @deprecated This will be removed in favor of using `place_order_with_credits`
**/
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
/**
@@ -2110,7 +2129,20 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* Enter the paras inherent. This will process bitfields and backed candidates.
**/
enter: AugmentedSubmittable<(data: PolkadotPrimitivesVstagingInherentData | { bitfields?: any; backedCandidates?: any; disputes?: any; parentHeader?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingInherentData]>;
enter: AugmentedSubmittable<(data: PolkadotPrimitivesV9InherentData | { bitfields?: any; backedCandidates?: any; disputes?: any; parentHeader?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9InherentData]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
parameters: {
/**
* Set the value of a parameter.
*
* The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be
* deleted by setting them to `None`.
**/
setParameter: AugmentedSubmittable<(keyValue: PolkadotRuntimeRuntimeParameters | { AhClient: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeRuntimeParameters]>;
/**
* Generic tx
**/
@@ -2183,7 +2215,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
* enacts the results if that was the last vote before achieving the supermajority.
**/
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV8PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV8ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8ValidatorAppSignature]>;
includePvfCheckStatement: AugmentedSubmittable<(stmt: PolkadotPrimitivesV9PvfCheckStatement | { accept?: any; subject?: any; sessionIndex?: any; validatorIndex?: any } | string | Uint8Array, signature: PolkadotPrimitivesV9ValidatorAppSignature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9PvfCheckStatement, PolkadotPrimitivesV9ValidatorAppSignature]>;
/**
* Remove the validation code from the storage iff the reference count is 0.
*
@@ -2218,7 +2250,7 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
parasSlashing: {
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesVstagingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesVstagingDisputeProof, SpSessionMembershipProof]>;
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV9SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV9SlashingDisputeProof, SpSessionMembershipProof]>;
/**
* Generic tx
**/
@@ -2423,121 +2455,6 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
rcMigrator: {
/**
* Cancel the migration.
*
* Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
**/
cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Set the migration stage.
*
* This call is intended for emergency use only and is guarded by the
* [`Config::AdminOrigin`].
**/
forceSetStage: AugmentedSubmittable<(stage: PalletRcMigratorMigrationStage | { Pending: any } | { MigrationPaused: any } | { Scheduled: any } | { WaitingForAh: any } | { WarmUp: any } | { Starting: any } | { PureProxyCandidatesMigrationInit: any } | { AccountsMigrationInit: any } | { AccountsMigrationOngoing: any } | { AccountsMigrationDone: any } | { MultisigMigrationInit: any } | { MultisigMigrationOngoing: any } | { MultisigMigrationDone: any } | { ClaimsMigrationInit: any } | { ClaimsMigrationOngoing: any } | { ClaimsMigrationDone: any } | { ProxyMigrationInit: any } | { ProxyMigrationProxies: any } | { ProxyMigrationAnnouncements: any } | { ProxyMigrationDone: any } | { PreimageMigrationInit: any } | { PreimageMigrationChunksOngoing: any } | { PreimageMigrationChunksDone: any } | { PreimageMigrationRequestStatusOngoing: any } | { PreimageMigrationRequestStatusDone: any } | { PreimageMigrationLegacyRequestStatusInit: any } | { PreimageMigrationLegacyRequestStatusOngoing: any } | { PreimageMigrationLegacyRequestStatusDone: any } | { PreimageMigrationDone: any } | { NomPoolsMigrationInit: any } | { NomPoolsMigrationOngoing: any } | { NomPoolsMigrationDone: any } | { VestingMigrationInit: any } | { VestingMigrationOngoing: any } | { VestingMigrationDone: any } | { DelegatedStakingMigrationInit: any } | { DelegatedStakingMigrationOngoing: any } | { DelegatedStakingMigrationDone: any } | { IndicesMigrationInit: any } | { IndicesMigrationOngoing: any } | { IndicesMigrationDone: any } | { ReferendaMigrationInit: any } | { ReferendaMigrationOngoing: any } | { ReferendaMigrationDone: any } | { BagsListMigrationInit: any } | { BagsListMigrationOngoing: any } | { BagsListMigrationDone: any } | { SchedulerMigrationInit: any } | { SchedulerMigrationOngoing: any } | { SchedulerAgendaMigrationOngoing: any } | { SchedulerMigrationDone: any } | { ConvictionVotingMigrationInit: any } | { ConvictionVotingMigrationOngoing: any } | { ConvictionVotingMigrationDone: any } | { BountiesMigrationInit: any } | { BountiesMigrationOngoing: any } | { BountiesMigrationDone: any } | { ChildBountiesMigrationInit: any } | { ChildBountiesMigrationOngoing: any } | { ChildBountiesMigrationDone: any } | { AssetRateMigrationInit: any } | { AssetRateMigrationOngoing: any } | { AssetRateMigrationDone: any } | { CrowdloanMigrationInit: any } | { CrowdloanMigrationOngoing: any } | { CrowdloanMigrationDone: any } | { TreasuryMigrationInit: any } | { TreasuryMigrationOngoing: any } | { TreasuryMigrationDone: any } | { StakingMigrationInit: any } | { StakingMigrationOngoing: any } | { StakingMigrationDone: any } | { CoolOff: any } | { SignalMigrationFinish: any } | { MigrationDone: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorMigrationStage]>;
/**
* Pause the migration.
**/
pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Set the accounts to be preserved on Relay Chain during the migration.
*
* The accounts must have no consumers references.
**/
preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
/**
* Receive a query response from the Asset Hub for a previously sent xcm message.
**/
receiveQueryResponse: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array, response: StagingXcmV5Response | { Null: any } | { Assets: any } | { ExecutionResult: any } | { Version: any } | { PalletsInfo: any } | { DispatchResult: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, StagingXcmV5Response]>;
/**
* Resend a previously sent and unconfirmed XCM message.
**/
resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
/**
* Schedule the migration to start at a given moment.
*
* ### Parameters:
* - `start`: The block number at which the migration will start. `DispatchTime` calculated
* at the moment of the extrinsic execution.
* - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
* are filtered during this period. It is intended to give enough time for UMP and DMP
* queues to empty. `DispatchTime` calculated at the moment of the transition to the
* warm-up stage.
* - `cool_off`: The block number at which the post migration cool-off period will end. The
* `DispatchTime` calculated at the moment of the transition to the cool-off stage.
* - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
* scheduled time point is far enough in the future.
*
* Note: If the staking election for next era is already complete, and the next
* validator set is queued in `pallet-session`, we want to avoid starting the data
* migration at this point as it can lead to some missed validator rewards. To address
* this, we stop staking election at the start of migration and must wait atleast 1
* session (set via warm_up) before starting the data migration.
*
* Read [`MigrationStage::Scheduled`] documentation for more details.
**/
scheduleMigration: AugmentedSubmittable<(start: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, warmUp: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, coolOff: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, FrameSupportScheduleDispatchTime, bool]>;
/**
* XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
* [Config::SendXcm] router which will be able to send messages to the Asset Hub during
* the migration.
**/
sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
/**
* Set the AH UMP queue priority configuration.
*
* Can only be called by the `AdminOrigin`.
**/
setAhUmpQueuePriority: AugmentedSubmittable<(updated: PalletRcMigratorQueuePriority | { Config: any } | { OverrideConfig: any } | { Disabled: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorQueuePriority]>;
/**
* Set the canceller account id.
*
* The canceller can only stop scheduled migration.
**/
setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
/**
* Set the manager account id.
*
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
* can not set the manager account id via `set_manager` call.
**/
setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
/**
* Set the migration settings. Can only be done by admin or manager.
**/
setSettings: AugmentedSubmittable<(settings: Option<PalletRcMigratorMigrationSettings> | null | Uint8Array | PalletRcMigratorMigrationSettings | { maxAccountsPerBlock?: any; maxItemsPerBlock?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletRcMigratorMigrationSettings>]>;
/**
* Set the unprocessed message buffer size.
*
* `None` means to use the configuration value.
**/
setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
/**
* Start the data migration.
*
* This is typically called by the Asset Hub to indicate it's readiness to receive the
* migration data.
**/
startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Vote on behalf of any of the members in `MultisigMembers`.
*
* Unsigned extrinsic, requiring the `payload` to be signed.
*
* Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
* be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
* move on to the next round.
*
* The round system ensures that signatures from older round cannot be reused.
**/
voteManagerMultisig: AugmentedSubmittable<(payload: PalletRcMigratorManagerMultisigVote | { who?: any; call?: any; round?: any } | string | Uint8Array, sig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletRcMigratorManagerMultisigVote, SpRuntimeMultiSignature]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
referenda: {
/**
* Cancel an ongoing referendum.
@@ -2752,7 +2669,10 @@ declare module '@polkadot/api-base/types/submittable' {
};
scheduler: {
/**
* Cancel an anonymously scheduled task.
* Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for
* execution in, as well as the index of the task in that block's agenda.
*
* In the case of a named task, it will remove it from the lookup table as well.
**/
cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
/**
@@ -2796,6 +2716,8 @@ declare module '@polkadot/api-base/types/submittable' {
* clones of the original task. Their retry configuration will be derived from the
* original task's configuration, but will have a lower value for `remaining` than the
* original `total_retries`.
*
* This call **cannot** be used to set a retry configuration for a named task.
**/
setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>, u8, u32]>;
/**
@@ -2811,6 +2733,8 @@ declare module '@polkadot/api-base/types/submittable' {
* clones of the original task. Their retry configuration will be derived from the
* original task's configuration, but will have a lower value for `remaining` than the
* original `total_retries`.
*
* This is the only way to set a retry configuration for a named task.
**/
setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
/**
@@ -2828,22 +2752,20 @@ declare module '@polkadot/api-base/types/submittable' {
* convertible to a validator ID using the chain's typical addressing system (this usually
* means being a controller account) or directly convertible into a validator ID (which
* usually means being a stash account).
*
* ## Complexity
* - `O(1)` in number of key types. Actual cost depends on the number of length of
* `T::Keys::key_ids()` which is fixed.
**/
purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Sets the session key(s) of the function caller to `keys`.
*
* Allows an account to set its session key prior to becoming a validator.
* This doesn't take effect until the next session.
*
* The dispatch origin of this function must be signed.
*
* ## Complexity
* - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
* fixed.
* - `origin`: The dispatch origin of this function must be signed.
* - `keys`: The new session keys to set. These are the public keys of all sessions keys
* setup in the runtime.
* - `proof`: The proof that `origin` has access to the private keys of `keys`. See
* [`impl_opaque_keys`](sp_runtime::impl_opaque_keys) for more information about the
* proof format.
**/
setKeys: AugmentedSubmittable<(keys: PolkadotRuntimeSessionKeys | { grandpa?: any; babe?: any; paraValidator?: any; paraAssignment?: any; authorityDiscovery?: any; beefy?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeSessionKeys, Bytes]>;
/**
@@ -3140,7 +3062,7 @@ declare module '@polkadot/api-base/types/submittable' {
*
* If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
* them, then the list of nominators is paged, with each page being capped at
* [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
* [`Config::MaxExposurePageSize`]. If a validator has more than one page of nominators,
* the call needs to be made for each page separately in order for all the nominators
* backing a validator to receive the reward. The nominators are not sorted across pages
* and so it should not be assumed the highest staker would be on the topmost page and vice
@@ -3353,6 +3275,23 @@ declare module '@polkadot/api-base/types/submittable' {
* manually do what this pallet was meant to do at the end of the migration.
**/
forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Purge session keys for a validator, forwarded from AssetHub.
*
* This is called when a validator purges their session keys on AssetHub, which forwards
* the request to the RelayChain via XCM.
**/
purgeKeysFromAh: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* Set session keys for a validator, forwarded from AssetHub.
*
* This is called when a validator sets their session keys on AssetHub, which forwards
* the request to the RelayChain via XCM.
*
* AssetHub validates both keys and ownership proof before sending.
* RC trusts AH's validation and does not re-validate.
**/
setKeysFromAh: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, keys: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Bytes]>;
/**
* Allows governance to force set the operating mode of the pallet.
**/
@@ -3602,6 +3541,8 @@ declare module '@polkadot/api-base/types/submittable' {
* approval queue, i.e., the proposal has not been approved. This could also mean the
* proposal does not exist altogether, thus there is no way it would have been approved
* in the first place.
*
* @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
**/
removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
@@ -3651,6 +3592,8 @@ declare module '@polkadot/api-base/types/submittable' {
* ## Events
*
* Emits [`Event::SpendApproved`] if successful.
*
* @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
**/
spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
/**
@@ -4120,6 +4063,8 @@ declare module '@polkadot/api-base/types/submittable' {
* fee on the `dest` (and possibly reserve) chains.
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
* fees.
*
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_reserve_transfer_assets` or `transfer_assets`
**/
reserveTransferAssets: 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) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
send: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
@@ -4142,6 +4087,8 @@ declare module '@polkadot/api-base/types/submittable' {
* fee on the `dest` chain.
* - `fee_asset_item`: The index into `assets` of the item which should be used to pay
* fees.
*
* @deprecated This extrinsic uses `WeightLimit::Unlimited`, please migrate to `limited_teleport_assets` or `transfer_assets`
**/
teleportAssets: 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) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
/**
+12 -3
View File
@@ -436,7 +436,7 @@ declare module '@polkadot/api-base/types/consts' {
*
* Increasing this value is supported, but decreasing it may lead to a broken state.
**/
maxRank: u32 & AugmentedConst<ApiType>;
maxRank: u16 & AugmentedConst<ApiType>;
/**
* Generic const
**/
@@ -539,8 +539,13 @@ declare module '@polkadot/api-base/types/consts' {
**/
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
/**
* The maximum number of winners that can be elected by this `ElectionProvider`
* implementation.
* Maximum number of voters that can support a winner in an election solution.
*
* This is needed to ensure election computation is bounded.
**/
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
/**
* Maximum number of winners that an election supports.
*
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
**/
@@ -1524,6 +1529,10 @@ declare module '@polkadot/api-base/types/consts' {
* this effect.
**/
maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
/**
* The absolute maximum of winner validators this pallet should return.
**/
maxValidatorSet: u32 & AugmentedConst<ApiType>;
/**
* Number of sessions per era.
**/
+28 -14
View File
@@ -597,6 +597,10 @@ declare module '@polkadot/api-base/types/errors' {
* Invalid bounty value.
**/
InvalidValue: AugmentedError<ApiType>;
/**
* User is not the proposer of the bounty.
**/
NotProposer: AugmentedError<ApiType>;
/**
* A bounty payout is pending.
* To cancel the bounty, you must unassign and slash the curator.
@@ -2872,12 +2876,6 @@ declare module '@polkadot/api-base/types/errors' {
* The contract has reached its maximum number of delegate dependencies.
**/
MaxDelegateDependenciesReached: AugmentedError<ApiType>;
/**
* The chain does not provide a chain extension. Calling the chain extension results
* in this error. Note that this usually shouldn't happen as deploying such contracts
* is rejected.
**/
NoChainExtension: AugmentedError<ApiType>;
/**
* A buffer outside of sandbox memory was passed to a contract API function.
**/
@@ -2890,10 +2888,6 @@ declare module '@polkadot/api-base/types/errors' {
* Can not add more data to transient storage.
**/
OutOfTransientStorage: AugmentedError<ApiType>;
/**
* Precompile Error
**/
PrecompileFailure: AugmentedError<ApiType>;
/**
* A contract called into the runtime which then called back into this pallet.
**/
@@ -2951,10 +2945,6 @@ declare module '@polkadot/api-base/types/errors' {
* The size defined in `T::MaxValueSize` was exceeded.
**/
ValueTooLarge: AugmentedError<ApiType>;
/**
* Failed to decode the XCM program.
**/
XCMDecodeFailed: AugmentedError<ApiType>;
/**
* Generic error
**/
@@ -3170,6 +3160,10 @@ declare module '@polkadot/api-base/types/errors' {
* There is no defender currently.
**/
NoDefender: AugmentedError<ApiType>;
/**
* There is no deposit associated with a bid.
**/
NoDeposit: AugmentedError<ApiType>;
/**
* Nothing to payout.
**/
@@ -3723,6 +3717,10 @@ declare module '@polkadot/api-base/types/errors' {
* The item ID has already been used for an item.
**/
AlreadyExists: AugmentedError<ApiType>;
/**
* An attribute is not found.
**/
AttributeNotFound: AugmentedError<ApiType>;
/**
* Invalid witness data given.
**/
@@ -3759,6 +3757,10 @@ declare module '@polkadot/api-base/types/errors' {
* There is no delegate approved.
**/
NoDelegate: AugmentedError<ApiType>;
/**
* No metadata is found.
**/
NoMetadata: AugmentedError<ApiType>;
/**
* The signing account has no permission to do the operation.
**/
@@ -3783,10 +3785,18 @@ declare module '@polkadot/api-base/types/errors' {
* The given item ID is unknown.
**/
UnknownItem: AugmentedError<ApiType>;
/**
* Wrong attribute key/value bytes supplied.
**/
WrongAttribute: AugmentedError<ApiType>;
/**
* The delegate turned out to be different to what was expected.
**/
WrongDelegate: AugmentedError<ApiType>;
/**
* Wrong metadata key/value bytes supplied.
**/
WrongMetadata: AugmentedError<ApiType>;
/**
* The owner turned out to be different to what was expected.
**/
@@ -3838,6 +3848,10 @@ declare module '@polkadot/api-base/types/errors' {
* A error in the list interface implementation.
**/
List: AugmentedError<ApiType>;
/**
* Could not update a node, because the pallet is locked.
**/
Locked: AugmentedError<ApiType>;
/**
* Generic error
**/
+40 -1
View File
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H160, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletRecoveryDepositKind, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -484,6 +484,10 @@ declare module '@polkadot/api-base/types/events' {
* A bounty curator is unassigned.
**/
CuratorUnassigned: AugmentedEvent<ApiType, [bountyId: u32], { bountyId: u32 }>;
/**
* A bounty deposit has been poked.
**/
DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128], { bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128 }>;
/**
* Generic event
**/
@@ -1087,6 +1091,20 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
historical: {
/**
* The merkle roots of up to this session index were pruned
**/
RootsPruned: AugmentedEvent<ApiType, [upTo: u32], { upTo: u32 }>;
/**
* The merkle root of the validators of the said session were stored
**/
RootStored: AugmentedEvent<ApiType, [index: u32], { index: u32 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
identity: {
/**
* A username authority was added.
@@ -1866,6 +1884,10 @@ declare module '@polkadot/api-base/types/events' {
* disambiguation index and proxy type.
**/
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16 }>;
/**
* A pure proxy was killed by its spawner.
**/
PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, spawner: AccountId32, proxyType: KitchensinkRuntimeProxyType, disambiguationIndex: u16 }>;
/**
* Generic event
**/
@@ -1967,6 +1989,10 @@ declare module '@polkadot/api-base/types/events' {
* Lost account has been successfully recovered by rescuer account.
**/
AccountRecovered: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
/**
* A deposit has been updated.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128 }>;
/**
* A recovery process for lost account by rescuer account has been closed.
**/
@@ -2202,6 +2228,11 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
session: {
/**
* The `NewSession` event in the current block also implies a new validator set to be
* queued.
**/
NewQueued: AugmentedEvent<ApiType, []>;
/**
* New session has happened. Note that the argument is the session index, not the
* block number as the type might suggest.
@@ -2256,6 +2287,10 @@ declare module '@polkadot/api-base/types/events' {
* Some funds were deposited into the society account.
**/
Deposit: AugmentedEvent<ApiType, [value: u128], { value: u128 }>;
/**
* A deposit was poked / adjusted.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, oldDeposit: u128, newDeposit: u128 }>;
/**
* A \[member\] got elevated to \[rank\].
**/
@@ -2852,6 +2887,10 @@ declare module '@polkadot/api-base/types/events' {
* An \[account\] has become fully vested.
**/
VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* A vesting schedule has been created.
**/
VestingCreated: AugmentedEvent<ApiType, [account: AccountId32, scheduleIndex: u32], { account: AccountId32, scheduleIndex: u32 }>;
/**
* The amount vested has been updated. This could indicate a change in funds available.
* The balance given is the amount which is left unvested (and thus locked).
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '../base.js';
@@ -1634,6 +1634,8 @@ declare module '@polkadot/api-base/types/storage' {
requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* The request status of a given hash.
*
* @deprecated RequestStatusFor
**/
statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
@@ -2718,6 +2720,13 @@ declare module '@polkadot/api-base/types/storage' {
* Nodes store links forward and back within their respective bags.
**/
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Lock all updates to this pallet.
*
* If any nodes needs updating, removal or addition due to a temporary lock, the
* [`Call::rebag`] can be used.
**/
lock: AugmentedQuery<ApiType, () => Observable<Option<Null>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-augment authors & contributors
// Copyright 2017-2026 @polkadot/api-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@polkadot/types-augment/registry/substrate';
@@ -436,7 +436,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
call: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, dest: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<SpWeightsWeightV2Weight> | null | Uint8Array | SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<PalletRevivePrimitivesContractResultExecReturnValue>>;
/**
* Perform an Ethereum call.,, See [`crate::Pallet::bare_eth_transact`]
* Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`]
**/
ethTransact: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
/**
@@ -447,6 +447,10 @@ declare module '@polkadot/api-base/types/calls' {
* Query a given storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
**/
getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
/**
* Query a given variable-sized storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
**/
getStorageVarKey: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
/**
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
**/
+71 -2
View File
@@ -1265,6 +1265,24 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(1).
**/
extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>;
/**
* Poke the deposit reserved for creating a bounty proposal.
*
* This can be used by accounts to update their reserved amount.
*
* The dispatch origin for this call must be _Signed_.
*
* Parameters:
* - `bounty_id`: The bounty id for which to adjust the deposit.
*
* If the deposit is updated, the difference will be reserved/unreserved from the
* proposer's account.
*
* The transaction is made free if the deposit is updated and paid otherwise.
*
* Emits `DepositPoked` if the deposit is updated.
**/
pokeDeposit: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
* Propose a new bounty.
*
@@ -1738,6 +1756,8 @@ declare module '@polkadot/api-base/types/submittable' {
call: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, SpWeightsWeightV2Weight, Option<Compact<u128>>, Bytes]>;
/**
* Deprecated version if [`Self::call`] for use in an in-storage `Call`.
*
* @deprecated 1D weight is used in this extrinsic, please migrate to `call`
**/
callOldWeight: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u64>, Option<Compact<u128>>, Bytes]>;
/**
@@ -1750,6 +1770,8 @@ declare module '@polkadot/api-base/types/submittable' {
instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, SpWeightsWeightV2Weight, Option<Compact<u128>>, H256, Bytes, Bytes]>;
/**
* Deprecated version if [`Self::instantiate`] for use in an in-storage `Call`.
*
* @deprecated 1D weight is used in this extrinsic, please migrate to `instantiate`
**/
instantiateOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Compact<u64>, Option<Compact<u128>>, H256, Bytes, Bytes]>;
/**
@@ -1782,6 +1804,8 @@ declare module '@polkadot/api-base/types/submittable' {
instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, SpWeightsWeightV2Weight, Option<Compact<u128>>, Bytes, Bytes, Bytes]>;
/**
* Deprecated version if [`Self::instantiate_with_code`] for use in an in-storage `Call`.
*
* @deprecated 1D weight is used in this extrinsic, please migrate to `instantiate_with_code`
**/
instantiateWithCodeOldWeight: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Compact<u64>, Option<Compact<u128>>, Bytes, Bytes, Bytes]>;
/**
@@ -1998,6 +2022,8 @@ declare module '@polkadot/api-base/types/submittable' {
* allowing immediate promotion.
*
* - `origin`: A signed origin of a ranked, but not tracked, account.
*
* @deprecated Use `import_member` instead
**/
import: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
@@ -2506,7 +2532,7 @@ declare module '@polkadot/api-base/types/submittable' {
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
* calling [`Call::set_emergency_election_result`].
**/
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybeMaxTargets: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
governanceFallback: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Set a solution in the queue, to be handed out to the client of this pallet in the next
* call to `ElectionProvider::elect`.
@@ -5207,7 +5233,7 @@ declare module '@polkadot/api-base/types/submittable' {
* `pure` with corresponding parameters.
*
* - `spawner`: The account that originally called `pure` to create this account.
* - `index`: The disambiguation index originally passed to `pure`. Probably `0`.
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
* - `proxy_type`: The proxy type originally passed to `pure`.
* - `height`: The height of the chain when the call to `pure` was processed.
* - `ext_index`: The extrinsic index in which the call to `pure` was processed.
@@ -5559,6 +5585,32 @@ declare module '@polkadot/api-base/types/submittable' {
* recoverable (i.e. have a recovery configuration).
**/
initiateRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Poke deposits for recovery configurations and / or active recoveries.
*
* This can be used by accounts to possibly lower their locked amount.
*
* The dispatch origin for this call must be _Signed_.
*
* Parameters:
* - `maybe_account`: Optional recoverable account for which you have an active recovery
* and want to adjust the deposit for the active recovery.
*
* This function checks both recovery configuration deposit and active recovery deposits
* of the caller:
* - If the caller has created a recovery configuration, checks and adjusts its deposit
* - If the caller has initiated any active recoveries, and provides the account in
* `maybe_account`, checks and adjusts those deposits
*
* If any deposit is updated, the difference will be reserved/unreserved from the caller's
* account.
*
* The transaction is made free if any deposit is updated and paid otherwise.
*
* Emits `DepositPoked` if any deposit is updated.
* Multiple events may be emitted in case both types of deposits are updated.
**/
pokeDeposit: AugmentedSubmittable<(maybeAccount: Option<MultiAddress> | null | Uint8Array | MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string) => SubmittableExtrinsic<ApiType>, [Option<MultiAddress>]>;
/**
* Remove the recovery process for your account. Recovered accounts are still accessible.
*
@@ -6240,6 +6292,16 @@ declare module '@polkadot/api-base/types/submittable' {
* payouts remaining.
**/
payout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Poke the deposit reserved when bidding.
*
* The dispatch origin for this call must be _Signed_ and must be the bidder.
*
* The transaction fee is waived if the deposit is changed after poking/reconsideration.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Punish the skeptic with a strike if they did not vote on a candidate. Callable by the
* candidate.
@@ -6370,6 +6432,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Can be called by the `T::AdminOrigin`.
*
* Parameters: era and indices of the slashes for that era to kill.
* They **must** be sorted in ascending order, *and* unique.
**/
cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
/**
@@ -6727,6 +6790,8 @@ declare module '@polkadot/api-base/types/submittable' {
* period ends. If this leaves an amount actively bonded less than
* [`asset::existential_deposit`], then it is increased to the full amount.
*
* The stash may be chilled if the ledger total amount falls to 0 after unbonding.
*
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
*
* Once the unlock period is done, you can call `withdraw_unbonded` to actually move
@@ -7407,6 +7472,8 @@ declare module '@polkadot/api-base/types/submittable' {
* approval queue, i.e., the proposal has not been approved. This could also mean the
* proposal does not exist altogether, thus there is no way it would have been approved
* in the first place.
*
* @deprecated The `remove_approval` call will be removed by May 2025. It associated with the deprecated `spend_local` call.
**/
removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/**
@@ -7456,6 +7523,8 @@ declare module '@polkadot/api-base/types/submittable' {
* ## Events
*
* Emits [`Event::SpendApproved`] if successful.
*
* @deprecated The `spend_local` call will be removed by May 2025. Migrate to the new flow and use the `spend` call.
**/
spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
/**
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.5.4",
"version": "16.5.7-4-x",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "16.5.4",
"@polkadot/types": "16.5.4",
"@polkadot/util": "^14.0.1",
"@polkadot/rpc-core": "16.5.7-4-x",
"@polkadot/types": "16.5.7-4-x",
"@polkadot/util": "^14.0.3",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
}
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { packageInfo } from './packageInfo.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.5.7-4-x' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { PalletConstantMetadataLatest } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { IsError } from '@polkadot/types/metadata/decorate/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { IsEvent } from '@polkadot/types/metadata/decorate/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors
// Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
// These are augmented, do an augmentation export
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-base authors & contributors
// Copyright 2017-2026 @polkadot/api-base authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
+11 -11
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.5.4",
"version": "16.5.7-4-x",
"main": "index.js",
"dependencies": {
"@polkadot/api": "16.5.4",
"@polkadot/api-augment": "16.5.4",
"@polkadot/types": "16.5.4",
"@polkadot/types-codec": "16.5.4",
"@polkadot/types-create": "16.5.4",
"@polkadot/util": "^14.0.1",
"@polkadot/util-crypto": "^14.0.1",
"@polkadot/api": "16.5.7-4-x",
"@polkadot/api-augment": "16.5.7-4-x",
"@polkadot/types": "16.5.7-4-x",
"@polkadot/types-codec": "16.5.7-4-x",
"@polkadot/types-create": "16.5.7-4-x",
"@polkadot/util": "^14.0.3",
"@polkadot/util-crypto": "^14.0.3",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api-augment": "16.5.4",
"@polkadot/keyring": "^14.0.1",
"@polkadot/types-support": "16.5.4"
"@polkadot/api-augment": "16.5.7-4-x",
"@polkadot/keyring": "^14.0.3",
"@polkadot/types-support": "16.5.7-4-x"
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Bytes, Vec } from '@polkadot/types';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV4, ContractMetadataV5, ContractMetadataV6 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV0, ContractMetadataV1 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Text } from '@polkadot/types';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV2, ContractMetadataV3 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ContractMetadataV3, ContractMetadataV4 } from '@polkadot/types/interfaces';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import '@polkadot/api-augment';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors
// Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api authors & contributors
// Copyright 2017-2026 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { Blueprint, BlueprintSubmittableResult, extendBlueprint } from './Blueprint.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiBase } from '@polkadot/api/base';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { SubmittableResult } from '@polkadot/api';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all named
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Simple non-runnable checks to test type definitions in the editor itself
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.5.4' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.5.7-4-x' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiPromise } from '@polkadot/api';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BlueprintSubmittableResult as BaseBlueprintSubmittableResult, CodeSubmittableResult as BaseCodeSubmittableResult } from '../base/index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ApiRx } from '@polkadot/api';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { BlueprintSubmittableResult as BaseBlueprintSubmittableResult, CodeSubmittableResult as BaseCodeSubmittableResult } from '../base/index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import ink from './ink/index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
// Copyright 2017-2026 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { createVersionedExport } from '../util.js';

Some files were not shown because too many files have changed in this diff Show More