Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf2297b898 | ||
|
|
7a2eb49154 | ||
|
|
ebab516b8d | ||
|
|
dea3391fb0 | ||
|
|
d55b2bfaf2 | ||
|
|
d0eba1d4dd | ||
|
|
f45dfc72ec | ||
|
|
8a2370c677 | ||
|
|
d44ccd6e16 | ||
|
|
284b7df1ed | ||
|
|
2daebb2127 | ||
|
|
0fe618ec74 | ||
|
|
1c4c7c72e2 | ||
|
|
f1f163ca4c | ||
|
|
beaf1a05ba | ||
|
|
f9fc2c60b0 | ||
|
|
d565283163 | ||
|
|
eeb7477568 | ||
|
|
588509200c | ||
|
|
a9c11efecb | ||
|
|
1234219c5b | ||
|
|
fa1689ea11 | ||
|
|
f337998589 | ||
|
|
b5219b7705 | ||
|
|
80223933af | ||
|
|
f734313c20 | ||
|
|
2b667af9e5 | ||
|
|
d3fe08efd1 | ||
|
|
91b5c82960 | ||
|
|
2312614107 | ||
|
|
181a3c5519 | ||
|
|
b848c5cc41 | ||
|
|
3c020c2e1b | ||
|
|
fc69476b85 | ||
|
|
bba524109a | ||
|
|
a070d695e3 | ||
|
|
29cd5ef00b | ||
|
|
7619ffd8cb | ||
|
|
3642889921 | ||
|
|
40cbba1984 | ||
|
|
5d8c70413b | ||
|
|
6b9e1b4d21 | ||
|
|
3e8d4e0e24 | ||
|
|
81e85edc5a | ||
|
|
f5cc1b203d | ||
|
|
0009649d15 | ||
|
|
63afa969e0 | ||
|
|
29ce33fe64 | ||
|
|
528f1262b9 | ||
|
|
a405cb59d0 | ||
|
|
401b746cb8 | ||
|
|
94545879b3 | ||
|
|
cb76a1db74 | ||
|
|
3e231e206a | ||
|
|
f89a8bd201 | ||
|
|
3a36fd59ae | ||
|
|
1b3ef2cae3 | ||
|
|
4ba97aa33d | ||
|
|
078f41aa1c | ||
|
|
2f912dcce3 | ||
|
|
e60a59269c | ||
|
|
87bbbd4805 | ||
|
|
104630eab6 | ||
|
|
fade4d68cc | ||
|
|
d3633fe714 | ||
|
|
2db1715f14 |
@@ -1,5 +1,95 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 16.5.1 Nov 6, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Upgrade Polkadot and Polkadot Asset Hub types for 2000000 ([#6219](https://github.com/polkadot-js/api/pull/6219))
|
||||
- Upgrade Kusama and Kusama Asset Hub types for 1009003 ([#6218](https://github.com/polkadot-js/api/pull/6218))
|
||||
|
||||
|
||||
## 16.4.9 Oct 14, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Bump @polkadot/common deps to v13.5.7 ([#6216](https://github.com/polkadot-js/api/pull/6216))
|
||||
|
||||
Contributions:
|
||||
|
||||
- Ensure rpc-core can correctly decode types, even if multiple types share the same name ([#6089](https://github.com/polkadot-js/api/pull/6089))
|
||||
|
||||
|
||||
## 16.4.8 Sep 23, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- refactor: retrieve contract address from Instantiated event ([#6210](https://github.com/polkadot-js/api/pull/6210))
|
||||
|
||||
|
||||
## 16.4.7 Sep 15, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- fix: Set Statemint xcm types to v4 to patch decoding ([#6208](https://github.com/polkadot-js/api/pull/6208))
|
||||
- fix: Handle optional chaining for claimed rewards in staker rewards functions ([#6205](https://github.com/polkadot-js/api/pull/6205))
|
||||
|
||||
|
||||
## 16.4.6 Aug 26, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Upgrade substrate types to stable2506-1 ([#6201](https://github.com/polkadot-js/api/pull/6201))
|
||||
- Bump @polkadot/common deps ([#6202](https://github.com/polkadot-js/api/pull/6202))
|
||||
|
||||
|
||||
## 16.4.5 Aug 19, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Fix transferable balance calculation ([#6197](http://github.com/polkadot-js/api/pull/6197))
|
||||
|
||||
|
||||
## 16.4.4 Aug 13, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- bump polkadot/common to 13.5.5 ([#6195](https://github.com/polkadot-js/api/pull/6195))
|
||||
|
||||
|
||||
## 16.4.3 Jul 29, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Bump @polkadot/common to 13.5.4 ([#6193](https://github.com/polkadot-js/api/pull/6193))
|
||||
|
||||
|
||||
## 16.4.2 Jul 22, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Add validation for cache capacity and TTL in LRUCache ([#6187](https://github.com/polkadot-js/api/pull/6187))
|
||||
|
||||
|
||||
## 16.4.1 Jul 8, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Update Kusama types to 1.6.0 ([#6175](https://github.com/polkadot-js/api/pull/6175))
|
||||
- fix(api-contracts): correctly decode pallet_revive events ([#6181](https://github.com/polkadot-js/api/pull/6181))
|
||||
|
||||
|
||||
## 16.3.1 Jul 1, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- Update Substrate types to Polkadot stable2503-5 ([#6172](https://github.com/polkadot-js/api/pull/6172))
|
||||
- Update Polkadot types to polkadot-fellows/runtimes release 1.6.0 ([#6173](https://github.com/polkadot-js/api/pull/6173))
|
||||
- Update AssetHub Polkadot types to 1.6.0 ([#6174](https://github.com/polkadot-js/api/pull/6174))
|
||||
- Update AssetHub Kusama types to 1.6.0 ([#6176](https://github.com/polkadot-js/api/pull/6176))
|
||||
- Fix signature issue in signAsync + send flow [#6177](https://github.com/polkadot-js/api/pull/6177)
|
||||
- Bump @polkadot/common to 13.5.2 ([#6179](https://github.com/polkadot-js/api/pull/6179))
|
||||
|
||||
|
||||
## 16.2.2 Jun 17, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
+8
-5
@@ -1,7 +1,7 @@
|
||||
3512 Jaco Bump deps (#5785)
|
||||
164 Tarik Gul Upgrade polkadot/common to 13.5.1 (#6150)
|
||||
166 Tarik Gul 16.4.7 (#6209)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
42 Valentin Fernandez 16.2.2 (#6171)
|
||||
58 Valentin Fernandez 16.4.9 (#6217)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
||||
@@ -9,7 +9,9 @@
|
||||
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)
|
||||
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)
|
||||
9 rajk93 16.5.1 (#6220)
|
||||
6 Andreea Eftene Update check for contract instantiation (#5699)
|
||||
6 Branislav Kontur Fix for fungiblesApi (#5944)
|
||||
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
||||
@@ -21,10 +23,10 @@
|
||||
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
||||
4 Alex Wang fix issue that creates duplicate providers (#983)
|
||||
4 Alexander Popiak Add asset id in signing (#4009)
|
||||
4 Arjun Porwal doc: Update README.md with metadata retrieval instructions and testing caveats (#6156)
|
||||
4 Joshy Orndorff spelling; efect -> effect (#2295)
|
||||
4 Nantian fix bigint type (#3869)
|
||||
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
|
||||
3 Alex Bean refactor: retrieve contract address from `Instantiated` event (#6210)
|
||||
3 André Silva add support for ValidationCodeHash (#3640)
|
||||
3 Antoine Estienne Adapted to display moonbeam author (#3108)
|
||||
3 Arjan Zijderveld Added `Emergency` to `ElectionPhase` (#3707)
|
||||
@@ -35,7 +37,6 @@
|
||||
3 Josep M Sobrepere docs: improve rpc-provider README (#4719)
|
||||
3 KarishmaBothara Backward compatibility thing (#3511)
|
||||
3 Miguel Hervas Adding RT4 Types (#3007)
|
||||
3 rajk93 feat(types-codec): Add maximum depth limit in `decodeU8a` functions (#6168)
|
||||
3 Shawn Tabrizi Add `isReadyOrError` when connecting to API (#2577)
|
||||
3 YJ feat: Vote interface as U8a (#1061)
|
||||
2 Alexander Krupenkin Add [u8; 33] type width for U8aFixed type (#2391)
|
||||
@@ -60,7 +61,6 @@
|
||||
2 扩散性百万甜面包 Typo, deocrateMethod -> decorateMethod (#1594)
|
||||
1 Alan Sapede Adds Eth feeHistory & maxPriorityFeePerGas rpc (#4956)
|
||||
1 Aleš Ferlan fix: use H160 for address in getTransactionCount (#5472)
|
||||
1 Alex Bean feat(api-contract): add support for ink! v6 and pallet-revive compatibility (#6158)
|
||||
1 Alisher A. Khassanov Add `offchain_localStorageClear` RPC method (#6070)
|
||||
1 Brad Larson [NEW] Support for custom headers with providers (#2423)
|
||||
1 Btwiuse Arch Add side effect check workaround (#4994) (#5009)
|
||||
@@ -108,10 +108,12 @@
|
||||
1 Lauro Gripa Fix multi call of `defenderVotes` and `isDefenderVoter` flag in `society.members` derivation (#5834)
|
||||
1 Lezek123 BTreeSet and BTreeMap - encoding and serialization fixes (#3789)
|
||||
1 Lovesh Harchandani Fix name of "getBlock" in package "api-derive" and export it in "index.ts" (#2857)
|
||||
1 Manuel Mauro Add EIP-7702 transaction type (#6188)
|
||||
1 Marc Fornós add beefy compact signed commitment definition (#5781)
|
||||
1 Mario Neises fix usage with typescript (#405)
|
||||
1 Mario Pino Add PolkaStats to API users (#1593)
|
||||
1 Mark Robert Henderson Update warnings.ts to have the latest URLs (#2720)
|
||||
1 Martin Rieke If possible, rpc-core should decode results into the lookupId type to avoid issues with multiple types that share the same name (#6089)
|
||||
1 Matej Nemček added Kodadot to @polkadot/api users section (#2220)
|
||||
1 Mokhtar Naamani Disable websocket outgoing message fragmentation for w3cwebsocket (#2738)
|
||||
1 Nazar Mokrynskyi Performance tweaks (#4143)
|
||||
@@ -149,4 +151,5 @@
|
||||
1 yjh fix MetadataVersioned.asV12 (#2983)
|
||||
1 Yuri fixes #3693 Fix uniques return types (#3694)
|
||||
1 Zeke Mostov fix: Allow sudo for polkadot indexed proxy enum (#3286)
|
||||
1 ZeroX-Toml Refactor signing functions to use blake2AsU8a for hashing instead of registry.hash in conditional sign of extrinsic payload (#6183)
|
||||
1 zjb0807 Throws detailed error information (#6116)
|
||||
+3
-3
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"versions": {
|
||||
"git": "16.2.2",
|
||||
"npm": "16.2.2"
|
||||
"git": "16.5.1",
|
||||
"npm": "16.5.1"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "16.2.2",
|
||||
"@polkadot/rpc-augment": "16.2.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-augment": "16.2.2",
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/api-base": "16.5.1",
|
||||
"@polkadot/rpc-augment": "16.5.1",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-augment": "16.5.1",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
import '@polkadot/api-base/types/consts';
|
||||
|
||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec } from '@polkadot/types-codec/types';
|
||||
import type { Permill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
|
||||
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';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -43,7 +43,7 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
/**
|
||||
* Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
|
||||
**/
|
||||
poolSetupFeeAsset: StagingXcmV4Location & AugmentedConst<ApiType>;
|
||||
poolSetupFeeAsset: StagingXcmV5Location & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
@@ -134,6 +134,144 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
bounties: {
|
||||
/**
|
||||
* The amount held on deposit for placing a bounty proposal.
|
||||
**/
|
||||
bountyDepositBase: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The delay period for which a bounty beneficiary need to wait before claim the payout.
|
||||
**/
|
||||
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The time limit for a curator to act before a bounty expires.
|
||||
*
|
||||
* The period that starts when a curator is approved, during which they must execute or
|
||||
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
||||
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
||||
* removing the need for `extend_bounty_expiry`.
|
||||
**/
|
||||
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum value for a bounty.
|
||||
**/
|
||||
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum amount of funds that should be placed in a deposit for making a proposal.
|
||||
**/
|
||||
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum amount of funds that should be placed in a deposit for making a proposal.
|
||||
**/
|
||||
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The curator deposit is calculated as a percentage of the curator fee.
|
||||
*
|
||||
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
||||
* `CuratorDepositMin`.
|
||||
**/
|
||||
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount held on deposit per byte within the tip report reason or bounty description.
|
||||
**/
|
||||
dataDepositPerByte: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum acceptable reason length.
|
||||
*
|
||||
* Benchmarks depend on this value, be sure to update weights file when changing this value
|
||||
**/
|
||||
maximumReasonLength: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
childBounties: {
|
||||
/**
|
||||
* 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;
|
||||
};
|
||||
claims: {
|
||||
prefix: Bytes & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
collatorSelection: {
|
||||
kickThreshold: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of candidates that we should have.
|
||||
*
|
||||
* This does not take into account the invulnerables.
|
||||
**/
|
||||
maxCandidates: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of invulnerables.
|
||||
**/
|
||||
maxInvulnerables: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum number eligible collators. Should always be greater than zero. This includes
|
||||
* Invulnerable collators. This ensures that there will always be one collator who can
|
||||
* produce a block.
|
||||
**/
|
||||
minEligibleCollators: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Gets this pallet's derived pot account.
|
||||
**/
|
||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Account Identifier from which the internal Pot is generated.
|
||||
**/
|
||||
potId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
convictionVoting: {
|
||||
/**
|
||||
* The maximum number of concurrent votes an account may have.
|
||||
*
|
||||
* Also used to compute weight, an overly large value can lead to extrinsics with large
|
||||
* weight estimation: see `delegate` for instance.
|
||||
**/
|
||||
maxVotes: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum period of vote locking.
|
||||
*
|
||||
* It should be no shorter than enactment period to ensure that in the case of an approval,
|
||||
* those successful voters are locked into the consequences that their votes entail.
|
||||
**/
|
||||
voteLockingPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
delegatedStaking: {
|
||||
/**
|
||||
* Injected identifier for the pallet.
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
||||
**/
|
||||
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
foreignAssets: {
|
||||
/**
|
||||
* The amount of funds that must be reserved when creating a new approval.
|
||||
@@ -172,6 +310,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
indices: {
|
||||
/**
|
||||
* The deposit needed for reserving an index.
|
||||
**/
|
||||
deposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
messageQueue: {
|
||||
/**
|
||||
* The size of the page; this implies the maximum message size which can be sent.
|
||||
@@ -209,6 +357,93 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
multiBlockElection: {
|
||||
/**
|
||||
* The number of pages.
|
||||
*
|
||||
* The snapshot is created with this many keys in the storage map.
|
||||
*
|
||||
* The solutions may contain at MOST this many pages, but less pages are acceptable as
|
||||
* well.
|
||||
**/
|
||||
pages: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Duration of the signed phase.
|
||||
**/
|
||||
signedPhase: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* 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.
|
||||
**/
|
||||
signedValidationPhase: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of snapshot targets to fetch per block.
|
||||
**/
|
||||
targetSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Duration of the unsigned phase.
|
||||
**/
|
||||
unsignedPhase: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of snapshot voters to fetch per block.
|
||||
**/
|
||||
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
multiBlockElectionVerifier: {
|
||||
/**
|
||||
* Maximum number of backers, per winner, per page.
|
||||
**/
|
||||
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of backers, per winner, among all pages of an election.
|
||||
*
|
||||
* This can only be checked at the very final step of verification.
|
||||
*
|
||||
* NOTE: at the moment, we don't check this, and it is in place for future compatibility.
|
||||
**/
|
||||
maxBackersPerWinnerFinal: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of supports (aka. winners/validators/targets) that can be represented in
|
||||
* 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
|
||||
**/
|
||||
[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
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
multisig: {
|
||||
/**
|
||||
* The base amount of currency needed to reserve for creating a multisig execution or to
|
||||
@@ -324,6 +559,35 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
nominationPools: {
|
||||
/**
|
||||
* The maximum pool points-to-balance ratio that an `open` pool can have.
|
||||
*
|
||||
* This is important in the event slashing takes place and the pool's points-to-balance
|
||||
* ratio becomes disproportional.
|
||||
*
|
||||
* Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
|
||||
* are a function of number of points, and by setting this value to e.g. 10, you ensure
|
||||
* that the total number of points in the system are at most 10 times the total_issuance of
|
||||
* the chain, in the absolute worse case.
|
||||
*
|
||||
* For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
|
||||
* Such a scenario would also be the equivalent of the pool being 90% slashed.
|
||||
**/
|
||||
maxPointsToBalance: u8 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of simultaneous unbonding chunks that can exist per member.
|
||||
**/
|
||||
maxUnbonding: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The nomination pool's pallet id.
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
parachainSystem: {
|
||||
/**
|
||||
* Returns the parachain ID we are running with.
|
||||
@@ -334,6 +598,29 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
polkadotXcm: {
|
||||
/**
|
||||
* The latest supported version that we advertise. Generally just set it to
|
||||
* `pallet_xcm::CurrentXcmVersion`.
|
||||
**/
|
||||
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of local XCM locks that a single account may have.
|
||||
**/
|
||||
maxLockers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of consumers a single remote lock may have.
|
||||
**/
|
||||
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* This chain's Universal Location.
|
||||
**/
|
||||
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
poolAssets: {
|
||||
/**
|
||||
* The amount of funds that must be reserved when creating a new approval.
|
||||
@@ -415,6 +702,312 @@ 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
|
||||
* fewer storage reads/writes needed for smaller voters, but also result in delays to the
|
||||
* automatic referendum status changes. Explicit servicing instructions are unaffected.
|
||||
**/
|
||||
alarmInterval: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum size of the referendum queue for a single track.
|
||||
**/
|
||||
maxQueued: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum amount to be used as a deposit for a public referendum proposal.
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* A list of tracks.
|
||||
*
|
||||
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
**/
|
||||
undecidingTimeout: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
revive: {
|
||||
/**
|
||||
* 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>;
|
||||
/**
|
||||
* 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 storage item.
|
||||
*
|
||||
* # Note
|
||||
*
|
||||
* It is safe to change this value on a live chain as all refunds are pro rata.
|
||||
**/
|
||||
depositPerItem: 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
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
scheduler: {
|
||||
/**
|
||||
* The maximum weight that may be scheduled per block for any dispatchables.
|
||||
**/
|
||||
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of scheduled calls in the queue for a single block.
|
||||
*
|
||||
* NOTE:
|
||||
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
|
||||
* higher limit under `runtime-benchmarks` feature.
|
||||
**/
|
||||
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
session: {
|
||||
/**
|
||||
* The amount to be held when setting keys.
|
||||
**/
|
||||
keyDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
society: {
|
||||
/**
|
||||
* The number of [Config::BlockNumberProvider] blocks between membership challenges.
|
||||
**/
|
||||
challengePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of [Config::BlockNumberProvider] blocks on which new candidates can claim
|
||||
* their membership and be the named head.
|
||||
**/
|
||||
claimPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of strikes before a member gets funds slashed.
|
||||
**/
|
||||
graceStrikes: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of bids at once.
|
||||
**/
|
||||
maxBids: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum duration of the payout lock.
|
||||
**/
|
||||
maxLockDuration: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of payouts a member may have waiting unclaimed.
|
||||
**/
|
||||
maxPayouts: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The societies's pallet id
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount of incentive paid within each period. Doesn't include VoterTip.
|
||||
**/
|
||||
periodSpend: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of [Config::BlockNumberProvider] blocks on which new candidates should be
|
||||
* voted on. Together with
|
||||
* `ClaimPeriod`, this sums to the number of blocks between candidate intake periods.
|
||||
**/
|
||||
votingPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
staking: {
|
||||
/**
|
||||
* Number of eras that staked funds must remain bonded for.
|
||||
**/
|
||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of eras to keep in history.
|
||||
*
|
||||
* Following information is kept for eras in `[current_era -
|
||||
* HistoryDepth, current_era]`: `ErasValidatorPrefs`, `ErasValidatorReward`,
|
||||
* `ErasRewardPoints`, `ErasTotalStake`, `ClaimedRewards`,
|
||||
* `ErasStakersPaged`, `ErasStakersOverview`.
|
||||
*
|
||||
* Must be more than the number of eras delayed by session.
|
||||
* I.e. active era must always be in history. I.e. `active_era >
|
||||
* current_era - history_depth` must be guaranteed.
|
||||
*
|
||||
* If migrating an existing pallet from storage value to config value,
|
||||
* this should be set to same value or greater as in storage.
|
||||
**/
|
||||
historyDepth: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum allowed era duration in milliseconds.
|
||||
*
|
||||
* This provides a defensive upper bound to cap the effective era duration, preventing
|
||||
* excessively long eras from causing runaway inflation (e.g., due to bugs). If the actual
|
||||
* era duration exceeds this value, it will be clamped to this maximum.
|
||||
*
|
||||
* Example: For an ideal era duration of 24 hours (86,400,000 ms),
|
||||
* this can be set to 604,800,000 ms (7 days).
|
||||
**/
|
||||
maxEraDuration: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum size of each `T::ExposurePage`.
|
||||
*
|
||||
* An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
|
||||
* nominators.
|
||||
*
|
||||
* For older non-paged exposure, a reward payout was restricted to the top
|
||||
* `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
|
||||
* nominator payout.
|
||||
*
|
||||
* Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to
|
||||
* 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.
|
||||
*
|
||||
* This controls how many storage items can be deleted in each call to `prune_era_step`.
|
||||
* This should be set to a conservative value (e.g., 100-500 items) to ensure pruning
|
||||
* doesn't consume too much block space. The actual weight is determined by benchmarks.
|
||||
**/
|
||||
maxPruningItems: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
||||
* have. Effectively determines how many unique eras a staker may be
|
||||
* unbonding in.
|
||||
*
|
||||
* Note: `MaxUnlockingChunks` is used as the upper bound for the
|
||||
* `BoundedVec` item `StakingLedger.unlocking`. Setting this value
|
||||
* lower than the existing value can lead to inconsistencies in the
|
||||
* `StakingLedger` and will need to be handled properly in a runtime
|
||||
* migration. The test `reducing_max_unlocking_chunks_abrupt` shows
|
||||
* this effect.
|
||||
**/
|
||||
maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The absolute maximum of winner validators this pallet should return.
|
||||
*
|
||||
* As this pallet supports multi-block election, the set of winner validators *per
|
||||
* election* is bounded by this type.
|
||||
**/
|
||||
maxValidatorSet: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of sessions before the end of an era when the election for the next era will
|
||||
* start.
|
||||
*
|
||||
* - This determines how many sessions **before** the last session of the era the staking
|
||||
* election process should begin.
|
||||
* - The value is bounded between **1** (election starts at the beginning of the last
|
||||
* session) and `SessionsPerEra` (election starts at the beginning of the first session
|
||||
* of the era).
|
||||
*
|
||||
* ### Example:
|
||||
* - If `SessionsPerEra = 6` and `PlanningEraOffset = 1`, the election starts at the
|
||||
* beginning of session `6 - 1 = 5`.
|
||||
* - If `PlanningEraOffset = 6`, the election starts at the beginning of session `6 - 6 =
|
||||
* 0`, meaning it starts at the very beginning of the era.
|
||||
**/
|
||||
planningEraOffset: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of sessions per era, as per the preferences of the **relay chain**.
|
||||
**/
|
||||
sessionsPerEra: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of eras that slashes are deferred by, after computation.
|
||||
*
|
||||
* This should be less than the bonding duration. Set to 0 if slashes
|
||||
* should be applied immediately, without opportunity for intervention.
|
||||
**/
|
||||
slashDeferDuration: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
stateTrieMigration: {
|
||||
/**
|
||||
* Maximal number of bytes that a key can have.
|
||||
@@ -524,6 +1117,41 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
treasury: {
|
||||
/**
|
||||
* Percentage of spare funds (if any) that are burnt per spend period.
|
||||
**/
|
||||
burn: Permill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
||||
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
||||
*
|
||||
* The maximum number of approvals that can wait in the spending queue.
|
||||
*
|
||||
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
||||
**/
|
||||
maxApprovals: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The treasury's pallet id, used for deriving its sovereign account ID.
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The period during which an approved treasury spend has to be claimed.
|
||||
**/
|
||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Gets this pallet's derived pot account.
|
||||
**/
|
||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Period between successive spends.
|
||||
**/
|
||||
spendPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
uniques: {
|
||||
/**
|
||||
* The basic amount of funds that must be reserved when adding an attribute to an item.
|
||||
@@ -584,6 +1212,65 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
voterList: {
|
||||
/**
|
||||
* The list of thresholds separating the various bags.
|
||||
*
|
||||
* Ids are separated into unsorted bags according to their score. This specifies the
|
||||
* thresholds separating the bags. An id's bag is the largest bag for which the id's score
|
||||
* is less than or equal to its upper threshold.
|
||||
*
|
||||
* When ids are iterated, higher bags are iterated completely before lower bags. This means
|
||||
* that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
|
||||
* score, but peer ids within a particular bag are sorted in insertion order.
|
||||
*
|
||||
* # Expressing the constant
|
||||
*
|
||||
* This constant must be sorted in strictly increasing order. Duplicate items are not
|
||||
* permitted.
|
||||
*
|
||||
* There is an implied upper limit of `Score::MAX`; that value does not need to be
|
||||
* specified within the bag. For any two threshold lists, if one ends with
|
||||
* `Score::MAX`, the other one does not, and they are otherwise equal, the two
|
||||
* lists will behave identically.
|
||||
*
|
||||
* # Calculation
|
||||
*
|
||||
* It is recommended to generate the set of thresholds in a geometric series, such that
|
||||
* there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
|
||||
* constant_ratio).max(threshold[k] + 1)` for all `k`.
|
||||
*
|
||||
* The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
|
||||
*
|
||||
* # Examples
|
||||
*
|
||||
* - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
|
||||
* iteration is strictly in insertion order.
|
||||
* - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
|
||||
* the procedure given above, then the constant ratio is equal to 2.
|
||||
* - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
|
||||
* the procedure given above, then the constant ratio is approximately equal to 1.248.
|
||||
* - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
|
||||
* into bag 0, an id with score 2 will fall into bag 1, etc.
|
||||
*
|
||||
* # Migration
|
||||
*
|
||||
* In the event that this list ever changes, a copy of the old bags list must be retained.
|
||||
* With that `List::migrate` can be called, which will perform the appropriate migration.
|
||||
**/
|
||||
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
|
||||
*
|
||||
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
|
||||
* the feature.
|
||||
**/
|
||||
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
xcmpQueue: {
|
||||
/**
|
||||
* Maximal number of outbound XCMP channels that can have messages queued at the same time.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -6,12 +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 { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
|
||||
import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
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 { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
@@ -35,15 +36,15 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
/**
|
||||
* Returns the size of the liquidity pool for the given asset pair.
|
||||
**/
|
||||
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
|
||||
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_out_min` to control slippage.)
|
||||
**/
|
||||
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_in_max` to control slippage.)
|
||||
**/
|
||||
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
@@ -67,7 +68,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
/** 0xd7bdd8a272ca0d65/ */
|
||||
auraUnincludedSegmentApi: {
|
||||
/**
|
||||
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
|
||||
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given relay chain slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
|
||||
**/
|
||||
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
@@ -75,6 +76,21 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x12c8e3d4d7e06de0/ */
|
||||
authorizedAliasersApi: {
|
||||
/**
|
||||
* Returns locations allowed to alias into and act as `target`.
|
||||
**/
|
||||
authorizedAliasers: AugmentedCall<ApiType, (target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>>;
|
||||
/**
|
||||
* Returns whether `origin` is allowed to alias into and act as `target`.
|
||||
**/
|
||||
isAuthorizedAlias: AugmentedCall<ApiType, (origin: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisAuthorizedAliasesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x40fe3ad401f8959a/ */
|
||||
blockBuilder: {
|
||||
/**
|
||||
@@ -133,7 +149,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
/**
|
||||
* Dry run call V2.
|
||||
**/
|
||||
dryRunCall: AugmentedCall<ApiType, (origin: AssetHubKusamaRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: 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 } | { Origins: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Dry run XCM program
|
||||
**/
|
||||
@@ -173,6 +189,17 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xa2ddb6a58477bf63/ */
|
||||
getParachainInfo: {
|
||||
/**
|
||||
* Retrieve the parachain id used for runtime.
|
||||
**/
|
||||
parachainId: AugmentedCall<ApiType, () => Observable<ParaId>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x9ffb505aa738d69c/ */
|
||||
locationToAccountApi: {
|
||||
/**
|
||||
@@ -203,6 +230,53 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x17a6bc0d0062aeb3/ */
|
||||
nominationPoolsApi: {
|
||||
/**
|
||||
* Returns the equivalent points of `new_funds` for a given pool.
|
||||
**/
|
||||
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the total contribution of a pool member including any balance that is unbonding.
|
||||
**/
|
||||
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the pending rewards for the member that the AccountId was given for.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the equivalent balance of `points` for a given pool.
|
||||
**/
|
||||
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the bonded account and reward account associated with the pool_id.
|
||||
**/
|
||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
||||
/**
|
||||
* Total balance contributed to the pool.
|
||||
**/
|
||||
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
||||
**/
|
||||
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool.
|
||||
**/
|
||||
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf78b278be53f454c/ */
|
||||
offchainWorkerApi: {
|
||||
/**
|
||||
@@ -214,6 +288,103 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x04e70521a0d3d2f8/ */
|
||||
relayParentOffsetApi: {
|
||||
/**
|
||||
* Fetch the slot offset that is expected from the relay chain.
|
||||
**/
|
||||
relayParentOffset: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x8c403e5c4a9fd442/ */
|
||||
reviveApi: {
|
||||
/**
|
||||
* 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<Option<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>>;
|
||||
/**
|
||||
* 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>>>;
|
||||
/**
|
||||
* 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 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 } | 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>>>;
|
||||
/**
|
||||
* 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>>>;
|
||||
/**
|
||||
* 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: {
|
||||
/**
|
||||
* 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
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xab3c0572291feb8b/ */
|
||||
sessionKeys: {
|
||||
/**
|
||||
@@ -229,6 +400,25 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x18ef58a3b67ba770/ */
|
||||
stakingApi: {
|
||||
/**
|
||||
* Returns the page count of exposures for a validator `account` in a given era.
|
||||
**/
|
||||
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns the nominations quota for a nominator with a given balance.
|
||||
**/
|
||||
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns true if validator `account` has pages to be claimed for the given era.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd2bc9897eed08f15/ */
|
||||
taggedTransactionQueue: {
|
||||
/**
|
||||
@@ -286,6 +476,21 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x2609be83ac4468dc/ */
|
||||
trustedQueryApi: {
|
||||
/**
|
||||
* Returns if the location is a trusted reserve for the asset.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
||||
**/
|
||||
isTrustedReserve: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
||||
/**
|
||||
* Returns if the asset can be teleported to the location.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
||||
**/
|
||||
isTrustedTeleporter: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x6ff52ee858e6c5bd/ */
|
||||
xcmPaymentApi: {
|
||||
/**
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -6,10 +6,10 @@
|
||||
import '@polkadot/api-base/types/consts';
|
||||
|
||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec } from '@polkadot/types-codec/types';
|
||||
import type { Permill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
|
||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions, StagingXcmV5Location } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -43,7 +43,7 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
/**
|
||||
* Asset class from [`Config::Assets`] used to pay the [`Config::PoolSetupFee`].
|
||||
**/
|
||||
poolSetupFeeAsset: StagingXcmV4Location & AugmentedConst<ApiType>;
|
||||
poolSetupFeeAsset: StagingXcmV5Location & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
@@ -134,6 +134,144 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
bounties: {
|
||||
/**
|
||||
* The amount held on deposit for placing a bounty proposal.
|
||||
**/
|
||||
bountyDepositBase: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The delay period for which a bounty beneficiary need to wait before claim the payout.
|
||||
**/
|
||||
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The time limit for a curator to act before a bounty expires.
|
||||
*
|
||||
* The period that starts when a curator is approved, during which they must execute or
|
||||
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
||||
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
||||
* removing the need for `extend_bounty_expiry`.
|
||||
**/
|
||||
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum value for a bounty.
|
||||
**/
|
||||
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum amount of funds that should be placed in a deposit for making a proposal.
|
||||
**/
|
||||
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum amount of funds that should be placed in a deposit for making a proposal.
|
||||
**/
|
||||
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The curator deposit is calculated as a percentage of the curator fee.
|
||||
*
|
||||
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
||||
* `CuratorDepositMin`.
|
||||
**/
|
||||
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount held on deposit per byte within the tip report reason or bounty description.
|
||||
**/
|
||||
dataDepositPerByte: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum acceptable reason length.
|
||||
*
|
||||
* Benchmarks depend on this value, be sure to update weights file when changing this value
|
||||
**/
|
||||
maximumReasonLength: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
childBounties: {
|
||||
/**
|
||||
* 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;
|
||||
};
|
||||
claims: {
|
||||
prefix: Bytes & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
collatorSelection: {
|
||||
kickThreshold: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of candidates that we should have.
|
||||
*
|
||||
* This does not take into account the invulnerables.
|
||||
**/
|
||||
maxCandidates: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of invulnerables.
|
||||
**/
|
||||
maxInvulnerables: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum number eligible collators. Should always be greater than zero. This includes
|
||||
* Invulnerable collators. This ensures that there will always be one collator who can
|
||||
* produce a block.
|
||||
**/
|
||||
minEligibleCollators: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Gets this pallet's derived pot account.
|
||||
**/
|
||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Account Identifier from which the internal Pot is generated.
|
||||
**/
|
||||
potId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
convictionVoting: {
|
||||
/**
|
||||
* The maximum number of concurrent votes an account may have.
|
||||
*
|
||||
* Also used to compute weight, an overly large value can lead to extrinsics with large
|
||||
* weight estimation: see `delegate` for instance.
|
||||
**/
|
||||
maxVotes: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum period of vote locking.
|
||||
*
|
||||
* It should be no shorter than enactment period to ensure that in the case of an approval,
|
||||
* those successful voters are locked into the consequences that their votes entail.
|
||||
**/
|
||||
voteLockingPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
delegatedStaking: {
|
||||
/**
|
||||
* Injected identifier for the pallet.
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
||||
**/
|
||||
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
foreignAssets: {
|
||||
/**
|
||||
* The amount of funds that must be reserved when creating a new approval.
|
||||
@@ -172,6 +310,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
indices: {
|
||||
/**
|
||||
* The deposit needed for reserving an index.
|
||||
**/
|
||||
deposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
messageQueue: {
|
||||
/**
|
||||
* The size of the page; this implies the maximum message size which can be sent.
|
||||
@@ -209,6 +357,73 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
multiBlockElection: {
|
||||
/**
|
||||
* The number of pages.
|
||||
*
|
||||
* The snapshot is created with this many keys in the storage map.
|
||||
*
|
||||
* The solutions may contain at MOST this many pages, but less pages are acceptable as
|
||||
* well.
|
||||
**/
|
||||
pages: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Duration of the signed phase.
|
||||
**/
|
||||
signedPhase: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* 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.
|
||||
**/
|
||||
signedValidationPhase: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of snapshot targets to fetch per block.
|
||||
**/
|
||||
targetSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Duration of the unsigned phase.
|
||||
**/
|
||||
unsignedPhase: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of snapshot voters to fetch per block.
|
||||
**/
|
||||
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
multiBlockElectionVerifier: {
|
||||
/**
|
||||
* Maximum number of backers, per winner, per page.
|
||||
**/
|
||||
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of backers, per winner, among all pages of an election.
|
||||
*
|
||||
* This can only be checked at the very final step of verification.
|
||||
*
|
||||
* NOTE: at the moment, we don't check this, and it is in place for future compatibility.
|
||||
**/
|
||||
maxBackersPerWinnerFinal: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of supports (aka. winners/validators/targets) that can be represented in
|
||||
* 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
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
multisig: {
|
||||
/**
|
||||
* The base amount of currency needed to reserve for creating a multisig execution or to
|
||||
@@ -297,6 +512,35 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
nominationPools: {
|
||||
/**
|
||||
* The maximum pool points-to-balance ratio that an `open` pool can have.
|
||||
*
|
||||
* This is important in the event slashing takes place and the pool's points-to-balance
|
||||
* ratio becomes disproportional.
|
||||
*
|
||||
* Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
|
||||
* are a function of number of points, and by setting this value to e.g. 10, you ensure
|
||||
* that the total number of points in the system are at most 10 times the total_issuance of
|
||||
* the chain, in the absolute worse case.
|
||||
*
|
||||
* For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
|
||||
* Such a scenario would also be the equivalent of the pool being 90% slashed.
|
||||
**/
|
||||
maxPointsToBalance: u8 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of simultaneous unbonding chunks that can exist per member.
|
||||
**/
|
||||
maxUnbonding: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The nomination pool's pallet id.
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
parachainSystem: {
|
||||
/**
|
||||
* Returns the parachain ID we are running with.
|
||||
@@ -307,6 +551,29 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
polkadotXcm: {
|
||||
/**
|
||||
* The latest supported version that we advertise. Generally just set it to
|
||||
* `pallet_xcm::CurrentXcmVersion`.
|
||||
**/
|
||||
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of local XCM locks that a single account may have.
|
||||
**/
|
||||
maxLockers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of consumers a single remote lock may have.
|
||||
**/
|
||||
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* This chain's Universal Location.
|
||||
**/
|
||||
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
poolAssets: {
|
||||
/**
|
||||
* The amount of funds that must be reserved when creating a new approval.
|
||||
@@ -388,6 +655,176 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
referenda: {
|
||||
/**
|
||||
* Quantization level for the referendum wakeup scheduler. A higher number will result in
|
||||
* fewer storage reads/writes needed for smaller voters, but also result in delays to the
|
||||
* automatic referendum status changes. Explicit servicing instructions are unaffected.
|
||||
**/
|
||||
alarmInterval: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum size of the referendum queue for a single track.
|
||||
**/
|
||||
maxQueued: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum amount to be used as a deposit for a public referendum proposal.
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* A list of tracks.
|
||||
*
|
||||
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
**/
|
||||
undecidingTimeout: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
scheduler: {
|
||||
/**
|
||||
* The maximum weight that may be scheduled per block for any dispatchables.
|
||||
**/
|
||||
maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of scheduled calls in the queue for a single block.
|
||||
*
|
||||
* NOTE:
|
||||
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
|
||||
* higher limit under `runtime-benchmarks` feature.
|
||||
**/
|
||||
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
session: {
|
||||
/**
|
||||
* The amount to be held when setting keys.
|
||||
**/
|
||||
keyDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
staking: {
|
||||
/**
|
||||
* Number of eras that staked funds must remain bonded for.
|
||||
**/
|
||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of eras to keep in history.
|
||||
*
|
||||
* Following information is kept for eras in `[current_era -
|
||||
* HistoryDepth, current_era]`: `ErasValidatorPrefs`, `ErasValidatorReward`,
|
||||
* `ErasRewardPoints`, `ErasTotalStake`, `ClaimedRewards`,
|
||||
* `ErasStakersPaged`, `ErasStakersOverview`.
|
||||
*
|
||||
* Must be more than the number of eras delayed by session.
|
||||
* I.e. active era must always be in history. I.e. `active_era >
|
||||
* current_era - history_depth` must be guaranteed.
|
||||
*
|
||||
* If migrating an existing pallet from storage value to config value,
|
||||
* this should be set to same value or greater as in storage.
|
||||
**/
|
||||
historyDepth: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum allowed era duration in milliseconds.
|
||||
*
|
||||
* This provides a defensive upper bound to cap the effective era duration, preventing
|
||||
* excessively long eras from causing runaway inflation (e.g., due to bugs). If the actual
|
||||
* era duration exceeds this value, it will be clamped to this maximum.
|
||||
*
|
||||
* Example: For an ideal era duration of 24 hours (86,400,000 ms),
|
||||
* this can be set to 604,800,000 ms (7 days).
|
||||
**/
|
||||
maxEraDuration: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum size of each `T::ExposurePage`.
|
||||
*
|
||||
* An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
|
||||
* nominators.
|
||||
*
|
||||
* For older non-paged exposure, a reward payout was restricted to the top
|
||||
* `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
|
||||
* nominator payout.
|
||||
*
|
||||
* Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to
|
||||
* 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.
|
||||
*
|
||||
* This controls how many storage items can be deleted in each call to `prune_era_step`.
|
||||
* This should be set to a conservative value (e.g., 100-500 items) to ensure pruning
|
||||
* doesn't consume too much block space. The actual weight is determined by benchmarks.
|
||||
**/
|
||||
maxPruningItems: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
||||
* have. Effectively determines how many unique eras a staker may be
|
||||
* unbonding in.
|
||||
*
|
||||
* Note: `MaxUnlockingChunks` is used as the upper bound for the
|
||||
* `BoundedVec` item `StakingLedger.unlocking`. Setting this value
|
||||
* lower than the existing value can lead to inconsistencies in the
|
||||
* `StakingLedger` and will need to be handled properly in a runtime
|
||||
* migration. The test `reducing_max_unlocking_chunks_abrupt` shows
|
||||
* this effect.
|
||||
**/
|
||||
maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The absolute maximum of winner validators this pallet should return.
|
||||
*
|
||||
* As this pallet supports multi-block election, the set of winner validators *per
|
||||
* election* is bounded by this type.
|
||||
**/
|
||||
maxValidatorSet: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of sessions before the end of an era when the election for the next era will
|
||||
* start.
|
||||
*
|
||||
* - This determines how many sessions **before** the last session of the era the staking
|
||||
* election process should begin.
|
||||
* - The value is bounded between **1** (election starts at the beginning of the last
|
||||
* session) and `SessionsPerEra` (election starts at the beginning of the first session
|
||||
* of the era).
|
||||
*
|
||||
* ### Example:
|
||||
* - If `SessionsPerEra = 6` and `PlanningEraOffset = 1`, the election starts at the
|
||||
* beginning of session `6 - 1 = 5`.
|
||||
* - If `PlanningEraOffset = 6`, the election starts at the beginning of session `6 - 6 =
|
||||
* 0`, meaning it starts at the very beginning of the era.
|
||||
**/
|
||||
planningEraOffset: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of sessions per era, as per the preferences of the **relay chain**.
|
||||
**/
|
||||
sessionsPerEra: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of eras that slashes are deferred by, after computation.
|
||||
*
|
||||
* This should be less than the bonding duration. Set to 0 if slashes
|
||||
* should be applied immediately, without opportunity for intervention.
|
||||
**/
|
||||
slashDeferDuration: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
stateTrieMigration: {
|
||||
/**
|
||||
* Maximal number of bytes that a key can have.
|
||||
@@ -497,6 +934,41 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
treasury: {
|
||||
/**
|
||||
* Percentage of spare funds (if any) that are burnt per spend period.
|
||||
**/
|
||||
burn: Permill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
||||
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
||||
*
|
||||
* The maximum number of approvals that can wait in the spending queue.
|
||||
*
|
||||
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
||||
**/
|
||||
maxApprovals: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The treasury's pallet id, used for deriving its sovereign account ID.
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The period during which an approved treasury spend has to be claimed.
|
||||
**/
|
||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Gets this pallet's derived pot account.
|
||||
**/
|
||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Period between successive spends.
|
||||
**/
|
||||
spendPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
uniques: {
|
||||
/**
|
||||
* The basic amount of funds that must be reserved when adding an attribute to an item.
|
||||
@@ -557,6 +1029,65 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
voterList: {
|
||||
/**
|
||||
* The list of thresholds separating the various bags.
|
||||
*
|
||||
* Ids are separated into unsorted bags according to their score. This specifies the
|
||||
* thresholds separating the bags. An id's bag is the largest bag for which the id's score
|
||||
* is less than or equal to its upper threshold.
|
||||
*
|
||||
* When ids are iterated, higher bags are iterated completely before lower bags. This means
|
||||
* that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
|
||||
* score, but peer ids within a particular bag are sorted in insertion order.
|
||||
*
|
||||
* # Expressing the constant
|
||||
*
|
||||
* This constant must be sorted in strictly increasing order. Duplicate items are not
|
||||
* permitted.
|
||||
*
|
||||
* There is an implied upper limit of `Score::MAX`; that value does not need to be
|
||||
* specified within the bag. For any two threshold lists, if one ends with
|
||||
* `Score::MAX`, the other one does not, and they are otherwise equal, the two
|
||||
* lists will behave identically.
|
||||
*
|
||||
* # Calculation
|
||||
*
|
||||
* It is recommended to generate the set of thresholds in a geometric series, such that
|
||||
* there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
|
||||
* constant_ratio).max(threshold[k] + 1)` for all `k`.
|
||||
*
|
||||
* The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
|
||||
*
|
||||
* # Examples
|
||||
*
|
||||
* - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
|
||||
* iteration is strictly in insertion order.
|
||||
* - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
|
||||
* the procedure given above, then the constant ratio is equal to 2.
|
||||
* - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
|
||||
* the procedure given above, then the constant ratio is approximately equal to 1.248.
|
||||
* - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
|
||||
* into bag 0, an id with score 2 will fall into bag 1, etc.
|
||||
*
|
||||
* # Migration
|
||||
*
|
||||
* In the event that this list ever changes, a copy of the old bags list must be retained.
|
||||
* With that `List::migrate` can be called, which will perform the appropriate migration.
|
||||
**/
|
||||
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
|
||||
*
|
||||
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
|
||||
* the feature.
|
||||
**/
|
||||
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
xcmpQueue: {
|
||||
/**
|
||||
* Maximal number of outbound XCMP channels that can have messages queued at the same time.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -10,8 +10,9 @@ import type { Bytes, Null, Option, Result, Text, Vec, bool, u128, u32 } from '@p
|
||||
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, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
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 { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
@@ -35,15 +36,15 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
/**
|
||||
* Returns the size of the liquidity pool for the given asset pair.
|
||||
**/
|
||||
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
|
||||
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_out_min` to control slippage.)
|
||||
**/
|
||||
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_in_max` to control slippage.)
|
||||
**/
|
||||
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
@@ -67,7 +68,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
/** 0xd7bdd8a272ca0d65/ */
|
||||
auraUnincludedSegmentApi: {
|
||||
/**
|
||||
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
|
||||
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given relay chain slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
|
||||
**/
|
||||
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
@@ -75,6 +76,21 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x12c8e3d4d7e06de0/ */
|
||||
authorizedAliasersApi: {
|
||||
/**
|
||||
* Returns locations allowed to alias into and act as `target`.
|
||||
**/
|
||||
authorizedAliasers: AugmentedCall<ApiType, (target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>>;
|
||||
/**
|
||||
* Returns whether `origin` is allowed to alias into and act as `target`.
|
||||
**/
|
||||
isAuthorizedAlias: AugmentedCall<ApiType, (origin: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisAuthorizedAliasesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x40fe3ad401f8959a/ */
|
||||
blockBuilder: {
|
||||
/**
|
||||
@@ -133,7 +149,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
/**
|
||||
* Dry run call V2.
|
||||
**/
|
||||
dryRunCall: AugmentedCall<ApiType, (origin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: 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 } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Dry run XCM program
|
||||
**/
|
||||
@@ -173,6 +189,17 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xa2ddb6a58477bf63/ */
|
||||
getParachainInfo: {
|
||||
/**
|
||||
* Retrieve the parachain id used for runtime.
|
||||
**/
|
||||
parachainId: AugmentedCall<ApiType, () => Observable<ParaId>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x9ffb505aa738d69c/ */
|
||||
locationToAccountApi: {
|
||||
/**
|
||||
@@ -203,6 +230,53 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x17a6bc0d0062aeb3/ */
|
||||
nominationPoolsApi: {
|
||||
/**
|
||||
* Returns the equivalent points of `new_funds` for a given pool.
|
||||
**/
|
||||
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the total contribution of a pool member including any balance that is unbonding.
|
||||
**/
|
||||
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the pending rewards for the member that the AccountId was given for.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the equivalent balance of `points` for a given pool.
|
||||
**/
|
||||
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the bonded account and reward account associated with the pool_id.
|
||||
**/
|
||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
||||
/**
|
||||
* Total balance contributed to the pool.
|
||||
**/
|
||||
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
||||
**/
|
||||
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool.
|
||||
**/
|
||||
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf78b278be53f454c/ */
|
||||
offchainWorkerApi: {
|
||||
/**
|
||||
@@ -214,6 +288,28 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x04e70521a0d3d2f8/ */
|
||||
relayParentOffsetApi: {
|
||||
/**
|
||||
* Fetch the slot offset that is expected from the relay chain.
|
||||
**/
|
||||
relayParentOffset: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* 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
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xab3c0572291feb8b/ */
|
||||
sessionKeys: {
|
||||
/**
|
||||
@@ -229,6 +325,25 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x18ef58a3b67ba770/ */
|
||||
stakingApi: {
|
||||
/**
|
||||
* Returns the page count of exposures for a validator `account` in a given era.
|
||||
**/
|
||||
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns the nominations quota for a nominator with a given balance.
|
||||
**/
|
||||
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns true if validator `account` has pages to be claimed for the given era.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd2bc9897eed08f15/ */
|
||||
taggedTransactionQueue: {
|
||||
/**
|
||||
@@ -286,6 +401,21 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x2609be83ac4468dc/ */
|
||||
trustedQueryApi: {
|
||||
/**
|
||||
* Returns if the location is a trusted reserve for the asset.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
||||
**/
|
||||
isTrustedReserve: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
||||
/**
|
||||
* Returns if the asset can be teleported to the location.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
||||
**/
|
||||
isTrustedTeleporter: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x6ff52ee858e6c5bd/ */
|
||||
xcmPaymentApi: {
|
||||
/**
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/consts';
|
||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
||||
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -128,7 +128,12 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Bounty duration in blocks.
|
||||
* The time limit for a curator to act before a bounty expires.
|
||||
*
|
||||
* The period that starts when a curator is approved, during which they must execute or
|
||||
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
||||
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
||||
* removing the need for `extend_bounty_expiry`.
|
||||
**/
|
||||
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -261,8 +266,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()`.
|
||||
**/
|
||||
@@ -348,9 +358,11 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Information concerning the different referendum tracks.
|
||||
* A list of tracks.
|
||||
*
|
||||
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
@@ -456,103 +468,6 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
nis: {
|
||||
/**
|
||||
* The base period for the duration queues. This is the common multiple across all
|
||||
* supported freezing durations that can be bid upon.
|
||||
**/
|
||||
basePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Portion of the queue which is free from ordering and just a FIFO.
|
||||
*
|
||||
* Must be no greater than `MaxQueueLen`.
|
||||
**/
|
||||
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks between consecutive attempts to dequeue bids and create receipts.
|
||||
*
|
||||
* A larger value results in fewer storage hits each block, but a slower period to get to
|
||||
* the target.
|
||||
**/
|
||||
intakePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum amount of bids that can consolidated into receipts in a single intake. A
|
||||
* larger value here means less of the block available for transactions should there be a
|
||||
* glut of bids.
|
||||
**/
|
||||
maxIntakeWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of items that may be in each duration queue.
|
||||
*
|
||||
* Must be larger than zero.
|
||||
**/
|
||||
maxQueueLen: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum amount of funds that may be placed in a bid. Note that this
|
||||
* does not actually limit the amount which may be represented in a receipt since bids may
|
||||
* be split up by the system.
|
||||
*
|
||||
* It should be at least big enough to ensure that there is no possible storage spam attack
|
||||
* or queue-filling attack.
|
||||
**/
|
||||
minBid: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum amount of funds which may intentionally be left remaining under a single
|
||||
* receipt.
|
||||
**/
|
||||
minReceipt: Perquintill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The treasury's pallet id, used for deriving its sovereign account ID.
|
||||
**/
|
||||
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of duration queues in total. This sets the maximum duration supported, which is
|
||||
* this value multiplied by `Period`.
|
||||
**/
|
||||
queueCount: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum proportion which may be thawed and the period over which it is reset.
|
||||
**/
|
||||
thawThrottle: ITuple<[Perquintill, u32]> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
nisCounterpartBalances: {
|
||||
/**
|
||||
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
|
||||
*
|
||||
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
|
||||
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
|
||||
* In case you have multiple sources of provider references, you may also get unexpected
|
||||
* behaviour if you set this to zero.
|
||||
*
|
||||
* Bottom line: Do yourself a favour and make it at least one!
|
||||
**/
|
||||
existentialDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of individual freeze locks that can exist on an account at any time.
|
||||
**/
|
||||
maxFreezes: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of locks that should exist on an account.
|
||||
* Not strictly enforced, but used for weight estimation.
|
||||
*
|
||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
maxLocks: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of named reserves that can exist on an account.
|
||||
*
|
||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
maxReserves: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
nominationPools: {
|
||||
/**
|
||||
* The maximum pool points-to-balance ratio that an `open` pool can have.
|
||||
@@ -707,9 +622,11 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Information concerning the different referendum tracks.
|
||||
* A list of tracks.
|
||||
*
|
||||
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
@@ -753,6 +670,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
session: {
|
||||
/**
|
||||
* The amount to be held when setting keys.
|
||||
**/
|
||||
keyDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
slots: {
|
||||
/**
|
||||
* The number of blocks to offset each lease period by.
|
||||
@@ -769,12 +696,12 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
};
|
||||
society: {
|
||||
/**
|
||||
* The number of blocks between membership challenges.
|
||||
* The number of [Config::BlockNumberProvider] blocks between membership challenges.
|
||||
**/
|
||||
challengePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks on which new candidates can claim their membership and be the
|
||||
* named head.
|
||||
* The number of [Config::BlockNumberProvider] blocks on which new candidates can claim
|
||||
* their membership and be the named head.
|
||||
**/
|
||||
claimPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -802,7 +729,8 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
periodSpend: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks on which new candidates should be voted on. Together with
|
||||
* The number of [Config::BlockNumberProvider] blocks on which new candidates should be
|
||||
* voted on. Together with
|
||||
* `ClaimPeriod`, this sums to the number of blocks between candidate intake periods.
|
||||
**/
|
||||
votingPeriod: u32 & AugmentedConst<ApiType>;
|
||||
@@ -866,6 +794,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.
|
||||
**/
|
||||
@@ -983,6 +915,10 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* The period during which an approved treasury spend has to be claimed.
|
||||
**/
|
||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Gets this pallet's derived pot account.
|
||||
**/
|
||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Period between successive spends.
|
||||
**/
|
||||
@@ -1060,6 +996,36 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* With that `List::migrate` can be called, which will perform the appropriate migration.
|
||||
**/
|
||||
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
|
||||
*
|
||||
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
|
||||
* the feature.
|
||||
**/
|
||||
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* The latest supported version that we advertise. Generally just set it to
|
||||
* `pallet_xcm::CurrentXcmVersion`.
|
||||
**/
|
||||
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of local XCM locks that a single account may have.
|
||||
**/
|
||||
maxLockers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of consumers a single remote lock may have.
|
||||
**/
|
||||
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* This chain's Universal Location.
|
||||
**/
|
||||
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
|
||||
@@ -194,6 +194,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.
|
||||
@@ -954,7 +958,7 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
NoApprovalsNeeded: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Multisig operation not found when attempting to cancel.
|
||||
* Multisig operation not found in storage.
|
||||
**/
|
||||
NotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -962,7 +966,8 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
NoTimepoint: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Only the account that originally created the multisig is able to cancel it.
|
||||
* Only the account that originally created the multisig is able to cancel it or update
|
||||
* its deposits.
|
||||
**/
|
||||
NotOwner: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -994,127 +999,6 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
nis: {
|
||||
/**
|
||||
* The receipt is already communal.
|
||||
**/
|
||||
AlreadyCommunal: AugmentedError<ApiType>;
|
||||
/**
|
||||
* There are enough funds for what is required.
|
||||
**/
|
||||
AlreadyFunded: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The receipt is already private.
|
||||
**/
|
||||
AlreadyPrivate: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The amount of the bid is less than the minimum allowed.
|
||||
**/
|
||||
AmountTooSmall: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The queue for the bid's duration is full and the amount bid is too low to get in
|
||||
* through replacing an existing bid.
|
||||
**/
|
||||
BidTooLow: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The duration is the bid is greater than the number of queues.
|
||||
**/
|
||||
DurationTooBig: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The duration of the bid is less than one.
|
||||
**/
|
||||
DurationTooSmall: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The operation would result in a receipt worth an insignificant value.
|
||||
**/
|
||||
MakesDust: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Bond not yet at expiry date.
|
||||
**/
|
||||
NotExpired: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Not the owner of the receipt.
|
||||
**/
|
||||
NotOwner: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The portion supplied is beyond the value of the receipt.
|
||||
**/
|
||||
PortionTooBig: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The thaw throttle has been reached for this period.
|
||||
**/
|
||||
Throttled: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Not enough funds are held to pay out.
|
||||
**/
|
||||
Unfunded: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The given bid for retraction is not found.
|
||||
**/
|
||||
UnknownBid: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Receipt index is unknown.
|
||||
**/
|
||||
UnknownReceipt: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
nisCounterpartBalances: {
|
||||
/**
|
||||
* Beneficiary account must pre-exist.
|
||||
**/
|
||||
DeadAccount: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The delta cannot be zero.
|
||||
**/
|
||||
DeltaZero: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Value too low to create account due to existential deposit.
|
||||
**/
|
||||
ExistentialDeposit: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A vesting schedule already exists for this account.
|
||||
**/
|
||||
ExistingVestingSchedule: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Transfer/payment would kill account.
|
||||
**/
|
||||
Expendability: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Balance too low to send value.
|
||||
**/
|
||||
InsufficientBalance: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The issuance cannot be modified since it is already deactivated.
|
||||
**/
|
||||
IssuanceDeactivated: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Account liquidity restrictions prevent withdrawal.
|
||||
**/
|
||||
LiquidityRestrictions: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Number of freezes exceed `MaxFreezes`.
|
||||
**/
|
||||
TooManyFreezes: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
||||
**/
|
||||
TooManyHolds: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Number of named reserves exceed `MaxReserves`.
|
||||
**/
|
||||
TooManyReserves: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Vesting balance too high to send value.
|
||||
**/
|
||||
VestingBalance: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
nominationPools: {
|
||||
/**
|
||||
* An account is already delegating in another pool. An account may only belong to one
|
||||
@@ -1260,10 +1144,19 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* A (bonded) pool id does not exist.
|
||||
**/
|
||||
PoolNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Account is restricted from participation in pools. This may happen if the account is
|
||||
* staking in another way already.
|
||||
**/
|
||||
Restricted: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A reward pool does not exist. In all cases this is a system logic error.
|
||||
**/
|
||||
RewardPoolNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The slash amount is too low to be applied.
|
||||
**/
|
||||
SlashTooLow: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A sub pool does not exist.
|
||||
**/
|
||||
@@ -1274,6 +1167,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
onDemandAssignmentProvider: {
|
||||
/**
|
||||
* The account doesn't have enough credits to purchase on-demand coretime.
|
||||
**/
|
||||
InsufficientCredits: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The order queue is full, `place_order` will not continue.
|
||||
**/
|
||||
@@ -1410,10 +1307,18 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Parachain cannot currently schedule a code upgrade.
|
||||
**/
|
||||
CannotUpgradeCode: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid block number.
|
||||
**/
|
||||
InvalidBlockNumber: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid validation code size.
|
||||
**/
|
||||
InvalidCode: AugmentedError<ApiType>;
|
||||
/**
|
||||
* No upgrade authorized.
|
||||
**/
|
||||
NothingAuthorized: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Para is not registered in our system.
|
||||
**/
|
||||
@@ -1442,6 +1347,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Claimed validator index is out of bounds.
|
||||
**/
|
||||
PvfCheckValidatorIndexOutOfBounds: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The submitted code is not authorized.
|
||||
**/
|
||||
Unauthorized: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
@@ -1596,6 +1505,80 @@ 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
|
||||
@@ -1923,6 +1906,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.
|
||||
**/
|
||||
@@ -2001,6 +1988,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Rewards for this era have already been claimed for this validator.
|
||||
**/
|
||||
AlreadyClaimed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The stake of this account is already migrated to `Fungible` holds.
|
||||
**/
|
||||
AlreadyMigrated: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Controller is already paired.
|
||||
**/
|
||||
@@ -2021,6 +2012,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
||||
**/
|
||||
CannotChillOther: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Stash could not be reaped as other pallet might depend on it.
|
||||
**/
|
||||
CannotReapStash: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Cannot reset a ledger.
|
||||
**/
|
||||
@@ -2099,6 +2094,11 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Can not rebond without unlocking chunks.
|
||||
**/
|
||||
NoUnlockChunk: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Account is restricted from participation in staking. This may happen if the account is
|
||||
* staking in another way already, such as via pool.
|
||||
**/
|
||||
Restricted: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Provided reward destination is not allowed.
|
||||
**/
|
||||
@@ -2126,6 +2126,16 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
stakingAhClient: {
|
||||
/**
|
||||
* Could not process incoming message because incoming messages are blocked.
|
||||
**/
|
||||
Blocked: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
system: {
|
||||
/**
|
||||
* The origin filter prevent the call to be dispatched.
|
||||
@@ -2265,6 +2275,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
|
||||
**/
|
||||
@@ -2301,6 +2315,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The given account is not an identifiable sovereign account for any location.
|
||||
**/
|
||||
AccountNotSovereign: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The alias to remove authorization for was not found.
|
||||
**/
|
||||
AliasNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The location is invalid since it already has a subscription from us.
|
||||
**/
|
||||
@@ -2330,6 +2348,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The assets to be sent are empty.
|
||||
**/
|
||||
Empty: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Expiry block number is in the past.
|
||||
**/
|
||||
ExpiresInPast: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The operation required fees to be paid which the initiator could not meet.
|
||||
**/
|
||||
@@ -2358,6 +2380,11 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Local XCM execution incomplete.
|
||||
**/
|
||||
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Local XCM execution incomplete with the actual XCM error and the index of the
|
||||
* instruction that caused the error.
|
||||
**/
|
||||
LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A remote lock with the corresponding data could not be found.
|
||||
**/
|
||||
@@ -2379,6 +2406,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Too many assets have been attempted for transfer.
|
||||
**/
|
||||
TooManyAssets: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Too many locations authorized to alias origin.
|
||||
**/
|
||||
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The asset owner has too many locks on the asset.
|
||||
**/
|
||||
|
||||
@@ -9,8 +9,8 @@ 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 { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||
import type { 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';
|
||||
|
||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -138,6 +138,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Transfer succeeded.
|
||||
**/
|
||||
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An unexpected/defensive event was triggered.
|
||||
**/
|
||||
Unexpected: AugmentedEvent<ApiType, [PalletBalancesUnexpectedKind]>;
|
||||
/**
|
||||
* Some balance was unlocked.
|
||||
**/
|
||||
@@ -204,6 +208,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
|
||||
**/
|
||||
@@ -251,13 +259,17 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* An account that has voted
|
||||
* An account has voted
|
||||
**/
|
||||
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
|
||||
/**
|
||||
* A vote that been removed
|
||||
* A vote has been removed
|
||||
**/
|
||||
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
|
||||
/**
|
||||
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
||||
**/
|
||||
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], { who: AccountId32, class: u16 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -522,6 +534,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>;
|
||||
};
|
||||
hrmp: {
|
||||
/**
|
||||
* HRMP channel closed.
|
||||
@@ -557,6 +583,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
indices: {
|
||||
/**
|
||||
* A deposit to reserve an index has been poked/reconsidered.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A account index was assigned.
|
||||
**/
|
||||
@@ -597,6 +627,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
multisig: {
|
||||
/**
|
||||
* The deposit for a multisig operation has been updated/poked.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A multisig operation has been approved by someone.
|
||||
**/
|
||||
@@ -618,136 +652,6 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
nis: {
|
||||
/**
|
||||
* A bid was dropped from a queue because of another, more substantial, bid was present.
|
||||
**/
|
||||
BidDropped: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], { who: AccountId32, amount: u128, duration: u32 }>;
|
||||
/**
|
||||
* A bid was successfully placed.
|
||||
**/
|
||||
BidPlaced: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], { who: AccountId32, amount: u128, duration: u32 }>;
|
||||
/**
|
||||
* A bid was successfully removed (before being accepted).
|
||||
**/
|
||||
BidRetracted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], { who: AccountId32, amount: u128, duration: u32 }>;
|
||||
/**
|
||||
* An automatic funding of the deficit was made.
|
||||
**/
|
||||
Funded: AugmentedEvent<ApiType, [deficit: u128], { deficit: u128 }>;
|
||||
/**
|
||||
* A bid was accepted. The balance may not be released until expiry.
|
||||
**/
|
||||
Issued: AugmentedEvent<ApiType, [index: u32, expiry: u32, who: AccountId32, proportion: Perquintill, amount: u128], { index: u32, expiry: u32, who: AccountId32, proportion: Perquintill, amount: u128 }>;
|
||||
/**
|
||||
* An receipt has been (at least partially) thawed.
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool], { index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool }>;
|
||||
/**
|
||||
* A receipt was transferred.
|
||||
**/
|
||||
Transferred: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, index: u32], { from: AccountId32, to: AccountId32, index: u32 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
nisCounterpartBalances: {
|
||||
/**
|
||||
* A balance was set by root.
|
||||
**/
|
||||
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], { who: AccountId32, free: u128 }>;
|
||||
/**
|
||||
* Some amount was burned from an account.
|
||||
**/
|
||||
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some amount was deposited (e.g. for transaction fees).
|
||||
**/
|
||||
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
||||
* resulting in an outright loss.
|
||||
**/
|
||||
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An account was created with some free balance.
|
||||
**/
|
||||
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
||||
/**
|
||||
* Some balance was frozen.
|
||||
**/
|
||||
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
||||
**/
|
||||
Issued: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
|
||||
/**
|
||||
* Some balance was locked.
|
||||
**/
|
||||
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some amount was minted into an account.
|
||||
**/
|
||||
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
||||
**/
|
||||
Rescinded: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
|
||||
/**
|
||||
* Some balance was reserved (moved from free to reserved).
|
||||
**/
|
||||
Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some balance was moved from the reserve of the first account to the second account.
|
||||
* Final argument indicates the destination balance type.
|
||||
**/
|
||||
ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus }>;
|
||||
/**
|
||||
* Some amount was restored into an account.
|
||||
**/
|
||||
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some amount was removed from the account (e.g. for misbehavior).
|
||||
**/
|
||||
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some amount was suspended from an account (it can be restored later).
|
||||
**/
|
||||
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some balance was thawed.
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* The `TotalIssuance` was forcefully changed.
|
||||
**/
|
||||
TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], { old: u128, new_: u128 }>;
|
||||
/**
|
||||
* Transfer succeeded.
|
||||
**/
|
||||
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some balance was unlocked.
|
||||
**/
|
||||
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Some balance was unreserved (moved from reserved to free).
|
||||
**/
|
||||
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An account was upgraded.
|
||||
**/
|
||||
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
||||
/**
|
||||
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
||||
**/
|
||||
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
nominationPools: {
|
||||
/**
|
||||
* A member has became bonded in a pool.
|
||||
@@ -761,6 +665,14 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A pool has been destroyed.
|
||||
**/
|
||||
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
||||
/**
|
||||
* Global parameters regulating nomination pools have been updated.
|
||||
**/
|
||||
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill> }>;
|
||||
/**
|
||||
* A pool member's claim permission has been updated.
|
||||
**/
|
||||
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], { member: AccountId32, permission: PalletNominationPoolsClaimPermission }>;
|
||||
/**
|
||||
* A member has been removed from a pool.
|
||||
*
|
||||
@@ -769,6 +681,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* represented by `released_balance`.
|
||||
**/
|
||||
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
|
||||
/**
|
||||
* A pool's metadata was updated.
|
||||
**/
|
||||
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* Topped up deficit in frozen ED of the reward pool.
|
||||
**/
|
||||
@@ -801,6 +717,15 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A pool's maximum commission setting has been changed.
|
||||
**/
|
||||
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
|
||||
/**
|
||||
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
||||
* on behalf of the pool.
|
||||
**/
|
||||
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* The pool is chilled i.e. no longer nominating.
|
||||
**/
|
||||
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* The active balance of pool `pool_id` has been slashed to `balance`.
|
||||
**/
|
||||
@@ -859,6 +784,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
onDemandAssignmentProvider: {
|
||||
/**
|
||||
* An account was given credits.
|
||||
**/
|
||||
AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An order was placed at some spot price amount by orderer ordered_by
|
||||
**/
|
||||
@@ -911,6 +840,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A para has been queued to execute pending actions. `para_id`
|
||||
**/
|
||||
ActionQueued: AugmentedEvent<ApiType, [u32, u32]>;
|
||||
/**
|
||||
* A new code hash has been authorized for a Para.
|
||||
**/
|
||||
CodeAuthorized: AugmentedEvent<ApiType, [paraId: u32, codeHash: H256, expireAt: u32], { paraId: u32, codeHash: H256, expireAt: u32 }>;
|
||||
/**
|
||||
* A code upgrade has been scheduled for a Para. `para_id`
|
||||
**/
|
||||
@@ -942,6 +875,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* code. `code_hash` `para_id`
|
||||
**/
|
||||
PvfCheckStarted: AugmentedEvent<ApiType, [H256, u32]>;
|
||||
/**
|
||||
* The upgrade cooldown was removed.
|
||||
**/
|
||||
UpgradeCooldownRemoved: AugmentedEvent<ApiType, [paraId: u32], { paraId: u32 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -992,6 +929,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* An announcement was placed to make a call in the future.
|
||||
**/
|
||||
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
|
||||
/**
|
||||
* A deposit stored for proxies or announcements was poked / updated.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A proxy was added.
|
||||
**/
|
||||
@@ -1009,6 +950,105 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* disambiguation index and proxy type.
|
||||
**/
|
||||
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
||||
/**
|
||||
* A pure proxy was killed by its spawner.
|
||||
**/
|
||||
PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, spawner: AccountId32, proxyType: KusamaRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[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
|
||||
**/
|
||||
@@ -1019,6 +1059,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.
|
||||
**/
|
||||
@@ -1119,6 +1163,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
scheduler: {
|
||||
/**
|
||||
* Agenda is incomplete from `when`.
|
||||
**/
|
||||
AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], { when: u32 }>;
|
||||
/**
|
||||
* The call for the provided hash was not found so the task has been aborted.
|
||||
**/
|
||||
@@ -1162,11 +1210,24 @@ 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.
|
||||
**/
|
||||
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
||||
/**
|
||||
* Validator has been disabled.
|
||||
**/
|
||||
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
||||
/**
|
||||
* Validator has been re-enabled.
|
||||
**/
|
||||
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -1214,6 +1275,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\].
|
||||
**/
|
||||
@@ -1281,6 +1346,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Report of a controller batch deprecation.
|
||||
**/
|
||||
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
|
||||
/**
|
||||
* Staking balance migrated from locks to holds, with any balance that could not be held
|
||||
* is force withdrawn.
|
||||
**/
|
||||
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], { stash: AccountId32, forceWithdraw: u128 }>;
|
||||
/**
|
||||
* The era payout has been set; the first balance is the validator-payout; the second is
|
||||
* the remainder from the maximum amount of reward.
|
||||
@@ -1350,6 +1420,33 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
stakingAhClient: {
|
||||
/**
|
||||
* We could not merge, and therefore dropped a buffered message.
|
||||
*
|
||||
* Note that this event is more resembling an error, but we use an event because in this
|
||||
* pallet we need to mutate storage upon some failures.
|
||||
**/
|
||||
CouldNotMergeAndDropped: AugmentedEvent<ApiType, []>;
|
||||
/**
|
||||
* The validator set received is way too small, as per
|
||||
* [`Config::MinimumValidatorSetSize`].
|
||||
**/
|
||||
SetTooSmallAndDropped: AugmentedEvent<ApiType, []>;
|
||||
/**
|
||||
* Something occurred that should never happen under normal operation. Logged as an event
|
||||
* for fail-safe observability.
|
||||
**/
|
||||
Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncAhClientUnexpectedKind]>;
|
||||
/**
|
||||
* A new validator set has been received.
|
||||
**/
|
||||
ValidatorSetReceived: AugmentedEvent<ApiType, [id: u32, newValidatorSetCount: u32, pruneUpTo: Option<u32>, leftover: bool], { id: u32, newValidatorSetCount: u32, pruneUpTo: Option<u32>, leftover: bool }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
system: {
|
||||
/**
|
||||
* `:code` was updated.
|
||||
@@ -1371,6 +1468,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A new account was created.
|
||||
**/
|
||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
||||
/**
|
||||
* An invalid authorized upgrade was rejected while trying to apply it.
|
||||
**/
|
||||
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], { codeHash: H256, error: SpRuntimeDispatchError }>;
|
||||
/**
|
||||
* On on-chain remark happened.
|
||||
**/
|
||||
@@ -1468,6 +1569,14 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A call was dispatched.
|
||||
**/
|
||||
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
||||
/**
|
||||
* The fallback call was dispatched.
|
||||
**/
|
||||
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], { mainError: SpRuntimeDispatchError }>;
|
||||
/**
|
||||
* Main call was dispatched.
|
||||
**/
|
||||
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
|
||||
/**
|
||||
* A single item within a Batch of dispatches has completed with no error.
|
||||
**/
|
||||
@@ -1486,6 +1595,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).
|
||||
@@ -1520,6 +1633,19 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* `target` removed alias authorization for `aliaser`.
|
||||
**/
|
||||
AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location }>;
|
||||
/**
|
||||
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
||||
* `expiry` block number.
|
||||
**/
|
||||
AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64> }>;
|
||||
/**
|
||||
* `target` removed all alias authorizations.
|
||||
**/
|
||||
AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], { target: StagingXcmV5Location }>;
|
||||
/**
|
||||
* Some assets have been claimed from an asset trap
|
||||
**/
|
||||
@@ -1600,6 +1726,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* sending the notification to it.
|
||||
**/
|
||||
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
|
||||
/**
|
||||
* An XCM message failed to process.
|
||||
**/
|
||||
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], { origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed }>;
|
||||
/**
|
||||
* Query response has been received and is ready for taking with `take_response`. There is
|
||||
* no registered notification call.
|
||||
@@ -1610,7 +1740,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
|
||||
/**
|
||||
* A XCM message was sent.
|
||||
* An XCM message failed to send.
|
||||
**/
|
||||
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed }>;
|
||||
/**
|
||||
* An XCM message was sent.
|
||||
**/
|
||||
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
|
||||
/**
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
||||
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
||||
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
@@ -302,7 +302,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
@@ -367,6 +367,10 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
||||
**/
|
||||
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
|
||||
/**
|
||||
* Returns the constraints on the actions that can be taken by a new parachain, block.
|
||||
**/
|
||||
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingConstraints>>>;
|
||||
/**
|
||||
* Get a vector of events concerning candidates that occurred within a block.
|
||||
**/
|
||||
@@ -431,6 +435,10 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
|
||||
/**
|
||||
* Retrieve the scheduling lookahead
|
||||
**/
|
||||
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Returns execution parameters for the session.
|
||||
**/
|
||||
|
||||
@@ -9,8 +9,8 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
|
||||
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } 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, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingInherentData, 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';
|
||||
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';
|
||||
|
||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||
@@ -353,6 +353,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.
|
||||
*
|
||||
@@ -1012,6 +1030,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
||||
**/
|
||||
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PalletBrokerCoretimeInterfaceCoreAssignment | { Idle: any } | { Pool: any } | { Task: any } | string | Uint8Array, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
|
||||
creditAccount: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128]>;
|
||||
/**
|
||||
* Request the configuration to be updated with the specified number of cores. Warning:
|
||||
* Since this only schedules a configuration update, it takes two sessions to come into
|
||||
@@ -1115,7 +1134,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`.
|
||||
@@ -1641,6 +1660,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `O(1)`.
|
||||
**/
|
||||
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Poke the deposit reserved for an index.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
||||
* non-frozen account `index`.
|
||||
*
|
||||
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
||||
*
|
||||
* - `index`: the index whose deposit is to be poked/reconsidered.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
pokeDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Assign an index already owned by the sender to another account. The balance reservation
|
||||
* is effectively transferred to the new account.
|
||||
@@ -1815,158 +1847,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
|
||||
/**
|
||||
* Generic tx
|
||||
* Poke the deposit reserved for an existing multisig operation.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
||||
* the multisig operation.
|
||||
*
|
||||
* The transaction fee is waived if the deposit amount has changed.
|
||||
*
|
||||
* - `threshold`: The total number of approvals needed for this multisig.
|
||||
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
||||
* multisig.
|
||||
* - `call_hash`: The hash of the call this deposit is reserved for.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
nis: {
|
||||
/**
|
||||
* Make a private receipt communal and create fungible counterparts for its owner.
|
||||
**/
|
||||
communify: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
* Ensure we have sufficient funding for all potential payouts.
|
||||
*
|
||||
* - `origin`: Must be accepted by `FundOrigin`.
|
||||
**/
|
||||
fundDeficit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Place a bid.
|
||||
*
|
||||
* Origin must be Signed, and account must have at least `amount` in free balance.
|
||||
*
|
||||
* - `amount`: The amount of the bid; these funds will be reserved, and if/when
|
||||
* consolidated, removed. Must be at least `MinBid`.
|
||||
* - `duration`: The number of periods before which the newly consolidated bid may be
|
||||
* thawed. Must be greater than 1 and no more than `QueueCount`.
|
||||
*
|
||||
* Complexities:
|
||||
* - `Queues[duration].len()` (just take max).
|
||||
**/
|
||||
placeBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
||||
/**
|
||||
* Make a communal receipt private and burn fungible counterparts from its owner.
|
||||
**/
|
||||
privatize: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
* Retract a previously placed bid.
|
||||
*
|
||||
* Origin must be Signed, and the account should have previously issued a still-active bid
|
||||
* of `amount` for `duration`.
|
||||
*
|
||||
* - `amount`: The amount of the previous bid.
|
||||
* - `duration`: The duration of the previous bid.
|
||||
**/
|
||||
retractBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
||||
/**
|
||||
* Reduce or remove an outstanding receipt, placing the according proportion of funds into
|
||||
* the account of the owner.
|
||||
*
|
||||
* - `origin`: Must be Signed and the account must be the owner of the fungible counterpart
|
||||
* for receipt `index`.
|
||||
* - `index`: The index of the receipt.
|
||||
**/
|
||||
thawCommunal: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
* Reduce or remove an outstanding receipt, placing the according proportion of funds into
|
||||
* the account of the owner.
|
||||
*
|
||||
* - `origin`: Must be Signed and the account must be the owner of the receipt `index` as
|
||||
* well as any fungible counterpart.
|
||||
* - `index`: The index of the receipt.
|
||||
* - `portion`: If `Some`, then only the given portion of the receipt should be thawed. If
|
||||
* `None`, then all of it should be.
|
||||
**/
|
||||
thawPrivate: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, maybeProportion: Option<Perquintill> | null | Uint8Array | Perquintill | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<Perquintill>]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
nisCounterpartBalances: {
|
||||
/**
|
||||
* Burn the specified liquid free balance from the origin account.
|
||||
*
|
||||
* If the origin's account ends up below the existential deposit as a result
|
||||
* of the burn and `keep_alive` is false, the account will be reaped.
|
||||
*
|
||||
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
||||
* this `burn` operation will reduce total issuance by the amount _burned_.
|
||||
**/
|
||||
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
||||
/**
|
||||
* Adjust the total issuance in a saturating way.
|
||||
*
|
||||
* Can only be called by root and always needs a positive `delta`.
|
||||
*
|
||||
* # Example
|
||||
**/
|
||||
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
|
||||
/**
|
||||
* Set the regular balance of a given account.
|
||||
*
|
||||
* The dispatch origin for this call is `root`.
|
||||
**/
|
||||
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
||||
/**
|
||||
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
||||
* may be specified.
|
||||
**/
|
||||
forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
||||
/**
|
||||
* Unreserve some balance from a user by force.
|
||||
*
|
||||
* Can only be called by ROOT.
|
||||
**/
|
||||
forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
||||
/**
|
||||
* Transfer the entire transferable balance from the caller account.
|
||||
*
|
||||
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
||||
* any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
|
||||
* transferred by this function. To ensure that this function results in a killed account,
|
||||
* you might need to prepare the account by removing any reference counters, storage
|
||||
* deposits, etc...
|
||||
*
|
||||
* The dispatch origin of this call must be Signed.
|
||||
*
|
||||
* - `dest`: The recipient of the transfer.
|
||||
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
||||
* of the funds the account has, causing the sender account to be killed (false), or
|
||||
* transfer everything except at least the existential deposit, which will guarantee to
|
||||
* keep the sender account alive (true).
|
||||
**/
|
||||
transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
||||
/**
|
||||
* Transfer some liquid free balance to another account.
|
||||
*
|
||||
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
||||
* If the sender's account is below the existential deposit as a result
|
||||
* of the transfer, the account will be reaped.
|
||||
*
|
||||
* The dispatch origin for this call must be `Signed` by the transactor.
|
||||
**/
|
||||
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
||||
/**
|
||||
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
||||
* kill the origin account.
|
||||
*
|
||||
* 99% of the time you want [`transfer_allow_death`] instead.
|
||||
*
|
||||
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
||||
**/
|
||||
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
||||
/**
|
||||
* Upgrade a specified account.
|
||||
*
|
||||
* - `origin`: Must be `Signed`.
|
||||
* - `who`: The account to be upgraded.
|
||||
*
|
||||
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
||||
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
||||
* possibility of churn).
|
||||
**/
|
||||
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
||||
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -1989,8 +1884,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
||||
* [`adapter::StakeStrategyType::Delegate`].
|
||||
*
|
||||
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
||||
* slash to be applied, caller may be rewarded with the part of the slash.
|
||||
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
||||
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
|
||||
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
||||
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
||||
**/
|
||||
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||
/**
|
||||
@@ -2021,25 +1918,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
||||
* root role, same as [`Pallet::nominate`].
|
||||
*
|
||||
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
||||
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
||||
*
|
||||
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
||||
* account).
|
||||
*
|
||||
* # Conditions for a permissionless dispatch:
|
||||
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
|
||||
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
|
||||
* are unable to unbond.
|
||||
*
|
||||
* # Conditions for permissioned dispatch:
|
||||
* * The caller has a nominator or root role of the pool.
|
||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
||||
* account.
|
||||
* * The caller is the pool's nominator or root.
|
||||
**/
|
||||
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Claim pending commission.
|
||||
*
|
||||
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
||||
* commission is paid out and added to total claimed commission`. Total pending commission
|
||||
* is reset to zero. the current.
|
||||
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
||||
*
|
||||
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
|
||||
* trigger the process of claiming the pool's commission.
|
||||
*
|
||||
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
|
||||
* accounts
|
||||
* * `acc`, and
|
||||
* * the pool's root account
|
||||
*
|
||||
* may call this extrinsic on behalf of the pool.
|
||||
*
|
||||
* Pending commissions are paid out and added to the total claimed commission.
|
||||
* The total pending commission is reset to zero.
|
||||
**/
|
||||
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
@@ -2090,8 +1999,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
||||
/**
|
||||
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
||||
* account and immediately increases the pools bond.
|
||||
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
||||
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
||||
* increases the pool's bond.
|
||||
*
|
||||
* The method of transferring the amount to the pool account is determined by
|
||||
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
||||
@@ -2137,13 +2047,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
||||
* root role.
|
||||
*
|
||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
||||
* account.
|
||||
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
||||
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
||||
*
|
||||
* # Note
|
||||
*
|
||||
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
|
||||
* at least `depositor_min_bond` in the pool to start nominating.
|
||||
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
||||
* have at least `depositor_min_bond` in the pool to start nominating.
|
||||
**/
|
||||
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
||||
/**
|
||||
@@ -2340,6 +2250,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `OnDemandOrderPlaced`
|
||||
**/
|
||||
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
||||
/**
|
||||
* Create a single on demand core order with credits.
|
||||
* Will charge the owner's on-demand credit account the spot price for the current block.
|
||||
*
|
||||
* Parameters:
|
||||
* - `origin`: The sender of the call, on-demand credits will be withdrawn from this
|
||||
* account.
|
||||
* - `max_amount`: The maximum number of credits to spend from the origin to place an
|
||||
* order.
|
||||
* - `para_id`: A `ParaId` the origin wants to provide blockspace for.
|
||||
*
|
||||
* Errors:
|
||||
* - `InsufficientCredits`
|
||||
* - `QueueFull`
|
||||
* - `SpotPriceHigherThanMaxAmount`
|
||||
*
|
||||
* Events:
|
||||
* - `OnDemandOrderPlaced`
|
||||
**/
|
||||
placeOrderWithCredits: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -2392,6 +2322,25 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* the go-ahead signal while the PVF pre-checking feature is enabled.
|
||||
**/
|
||||
addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Applies the already authorized current code for the parachain,
|
||||
* triggering the same functionality as `force_set_current_code`.
|
||||
**/
|
||||
applyAuthorizedForceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
||||
/**
|
||||
* Sets the storage for the authorized current code hash of the parachain.
|
||||
* If not applied, it will be removed at the `System::block_number() + valid_period` block.
|
||||
*
|
||||
* This can be useful, when triggering `Paras::force_set_current_code(para, code)`
|
||||
* from a different chain than the one where the `Paras` pallet is deployed.
|
||||
*
|
||||
* The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
|
||||
* Instead, we authorize `code_hash` with `root`, which can later be applied by
|
||||
* `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
|
||||
*
|
||||
* Authorizations are stored in an **overwriting manner**.
|
||||
**/
|
||||
authorizeForceSetCurrentCodeHash: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCodeHash: H256 | string | Uint8Array, validPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, H256, u32]>;
|
||||
/**
|
||||
* Note a new block head for para within the context of the current block.
|
||||
**/
|
||||
@@ -2431,6 +2380,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* dispatching.
|
||||
**/
|
||||
pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
||||
/**
|
||||
* Remove an upgrade cooldown for a parachain.
|
||||
*
|
||||
* The cost for removing the cooldown earlier depends on the time left for the cooldown
|
||||
* multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
|
||||
**/
|
||||
removeUpgradeCooldown: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -2450,7 +2406,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
parasSlashing: {
|
||||
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV8SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SlashingDisputeProof, SpSessionMembershipProof]>;
|
||||
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]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -2458,7 +2414,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
};
|
||||
preimage: {
|
||||
/**
|
||||
* Ensure that the a bulk of pre-images is upgraded.
|
||||
* Ensure that the bulk of pre-images is upgraded.
|
||||
*
|
||||
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
||||
**/
|
||||
@@ -2556,18 +2512,29 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* inaccessible.
|
||||
*
|
||||
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
||||
* `pure` with corresponding parameters.
|
||||
* `create_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`.
|
||||
* - `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.
|
||||
* - `spawner`: The account that originally called `create_pure` to create this account.
|
||||
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
||||
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
||||
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
||||
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
||||
*
|
||||
* Fails with `NoPermission` in case the caller is not a previously created pure
|
||||
* account whose `pure` call has corresponding parameters.
|
||||
* account whose `create_pure` call has corresponding parameters.
|
||||
**/
|
||||
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
||||
/**
|
||||
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
||||
* This can be used by accounts to possibly lower their locked amount.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_.
|
||||
*
|
||||
* The transaction fee is waived if the deposit amount has changed.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||
* `add_proxy`.
|
||||
@@ -2625,7 +2592,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_.
|
||||
*
|
||||
* WARNING: This may be called on accounts created by `pure`, however if done, then
|
||||
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
||||
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
||||
**/
|
||||
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
@@ -2644,6 +2611,117 @@ 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.
|
||||
@@ -2725,6 +2803,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.
|
||||
*
|
||||
@@ -2740,7 +2844,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Allow ROOT to bypass the recovery process and set an a rescuer account
|
||||
* Allow ROOT to bypass the recovery process and set a rescuer account
|
||||
* for a lost account directly.
|
||||
*
|
||||
* The dispatch origin for this call must be _ROOT_.
|
||||
@@ -3232,6 +3336,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.
|
||||
@@ -3362,6 +3476,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>]>;
|
||||
/**
|
||||
@@ -3502,6 +3617,40 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* block any further nominations.
|
||||
**/
|
||||
kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
||||
/**
|
||||
* This function allows governance to manually slash a validator and is a
|
||||
* **fallback mechanism**.
|
||||
*
|
||||
* The dispatch origin must be `T::AdminOrigin`.
|
||||
*
|
||||
* ## Parameters
|
||||
* - `validator_stash` - The stash account of the validator to slash.
|
||||
* - `era` - The era in which the validator was in the active set.
|
||||
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
||||
*
|
||||
* ## Behavior
|
||||
*
|
||||
* The slash will be applied using the standard slashing mechanics, respecting the
|
||||
* configured `SlashDeferDuration`.
|
||||
*
|
||||
* This means:
|
||||
* - If the validator was already slashed by a higher percentage for the same era, this
|
||||
* slash will have no additional effect.
|
||||
* - If the validator was previously slashed by a lower percentage, only the difference
|
||||
* will be applied.
|
||||
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
||||
**/
|
||||
manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
|
||||
/**
|
||||
* Removes the legacy Staking locks if they exist.
|
||||
*
|
||||
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
||||
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
||||
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
||||
*
|
||||
* The fee is waived if the migration is successful.
|
||||
**/
|
||||
migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
||||
/**
|
||||
* Declare the desire to nominate `targets` for the origin controller.
|
||||
*
|
||||
@@ -3685,6 +3834,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
|
||||
@@ -3719,15 +3870,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
||||
**/
|
||||
validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | { commission?: any; blocked?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
|
||||
/**
|
||||
* Adjusts the staking ledger by withdrawing any excess staked amount.
|
||||
*
|
||||
* This function corrects cases where a user's recorded stake in the ledger
|
||||
* exceeds their actual staked funds. This situation can arise due to cases such as
|
||||
* external slashing by another pallet, leading to an inconsistency between the ledger
|
||||
* and the actual stake.
|
||||
**/
|
||||
withdrawOverstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
||||
/**
|
||||
* Remove any unlocked chunks from the `unlocking` queue from our management.
|
||||
*
|
||||
@@ -3759,6 +3901,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
stakingAhClient: {
|
||||
/**
|
||||
* manually do what this pallet was meant to do at the end of the migration.
|
||||
**/
|
||||
forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Allows governance to force set the operating mode of the pallet.
|
||||
**/
|
||||
setMode: AugmentedSubmittable<(mode: PalletStakingAsyncAhClientOperatingMode | 'Passive' | 'Buffered' | 'Active' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncAhClientOperatingMode]>;
|
||||
validatorSet: AugmentedSubmittable<(report: PalletStakingAsyncRcClientValidatorSetReport | { newValidatorSet?: any; id?: any; pruneUpTo?: any; leftover?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncRcClientValidatorSetReport]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
system: {
|
||||
/**
|
||||
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
||||
@@ -4068,6 +4225,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - O(1).
|
||||
**/
|
||||
dispatchAs: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, Call]>;
|
||||
/**
|
||||
* Dispatches a function call with a provided origin.
|
||||
*
|
||||
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
||||
*
|
||||
* The dispatch origin for this call must be _Root_.
|
||||
**/
|
||||
dispatchAsFallible: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, Call]>;
|
||||
/**
|
||||
* Send a batch of dispatch calls.
|
||||
* Unlike `batch`, it allows errors and won't interrupt.
|
||||
@@ -4084,6 +4249,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - O(C) where C is the number of calls to be batched.
|
||||
**/
|
||||
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
||||
/**
|
||||
* Dispatch a fallback call in the event the main call fails to execute.
|
||||
* May be called from any origin except `None`.
|
||||
*
|
||||
* This function first attempts to dispatch the `main` call.
|
||||
* If the `main` call fails, the `fallback` is attemted.
|
||||
* if the fallback is successfully dispatched, the weights of both calls
|
||||
* are accumulated and an event containing the main call error is deposited.
|
||||
*
|
||||
* In the event of a fallback failure the whole call fails
|
||||
* with the weights returned.
|
||||
*
|
||||
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
||||
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
||||
*
|
||||
* ## Dispatch Logic
|
||||
* - If the origin is `root`, both the main and fallback calls are executed without
|
||||
* applying any origin filters.
|
||||
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
||||
* `fallback` calls.
|
||||
*
|
||||
* ## Use Case
|
||||
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
||||
* or both.
|
||||
**/
|
||||
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
|
||||
/**
|
||||
* Dispatch a function call with a specified weight.
|
||||
*
|
||||
@@ -4245,6 +4436,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
||||
* The `aliaser` is only authorized until the provided `expiry` block number.
|
||||
* The call can also be used for a previously authorized alias in order to update its
|
||||
* `expiry` block number.
|
||||
*
|
||||
* Usually useful to allow your local account to be aliased into from a remote location
|
||||
* also under your control (like your account on another chain).
|
||||
*
|
||||
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
||||
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
||||
* `origin` in XCM programs executed on the local chain.
|
||||
**/
|
||||
addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
|
||||
/**
|
||||
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
|
||||
*
|
||||
@@ -4359,6 +4564,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
||||
**/
|
||||
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
|
||||
/**
|
||||
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
||||
* making this call.
|
||||
**/
|
||||
removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
||||
* the local `origin` making this call.
|
||||
**/
|
||||
removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
|
||||
/**
|
||||
* Transfer some assets from the local chain to the destination chain through their local,
|
||||
* destination or remote reserve.
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/consts';
|
||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
||||
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
@@ -128,7 +128,12 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Bounty duration in blocks.
|
||||
* The time limit for a curator to act before a bounty expires.
|
||||
*
|
||||
* The period that starts when a curator is approved, during which they must execute or
|
||||
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
||||
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
||||
* removing the need for `extend_bounty_expiry`.
|
||||
**/
|
||||
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
@@ -261,8 +266,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()`.
|
||||
**/
|
||||
@@ -541,9 +551,11 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Information concerning the different referendum tracks.
|
||||
* A list of tracks.
|
||||
*
|
||||
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
|
||||
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
@@ -587,6 +599,16 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
session: {
|
||||
/**
|
||||
* The amount to be held when setting keys.
|
||||
**/
|
||||
keyDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
slots: {
|
||||
/**
|
||||
* The number of blocks to offset each lease period by.
|
||||
@@ -656,6 +678,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.
|
||||
**/
|
||||
@@ -803,6 +829,10 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* The period during which an approved treasury spend has to be claimed.
|
||||
**/
|
||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Gets this pallet's derived pot account.
|
||||
**/
|
||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Period between successive spends.
|
||||
**/
|
||||
@@ -880,6 +910,36 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* With that `List::migrate` can be called, which will perform the appropriate migration.
|
||||
**/
|
||||
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
|
||||
*
|
||||
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
|
||||
* the feature.
|
||||
**/
|
||||
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* The latest supported version that we advertise. Generally just set it to
|
||||
* `pallet_xcm::CurrentXcmVersion`.
|
||||
**/
|
||||
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of local XCM locks that a single account may have.
|
||||
**/
|
||||
maxLockers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of consumers a single remote lock may have.
|
||||
**/
|
||||
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* This chain's Universal Location.
|
||||
**/
|
||||
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
|
||||
@@ -194,6 +194,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.
|
||||
@@ -842,7 +846,7 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
NoApprovalsNeeded: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Multisig operation not found when attempting to cancel.
|
||||
* Multisig operation not found in storage.
|
||||
**/
|
||||
NotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -850,7 +854,8 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
NoTimepoint: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Only the account that originally created the multisig is able to cancel it.
|
||||
* Only the account that originally created the multisig is able to cancel it or update
|
||||
* its deposits.
|
||||
**/
|
||||
NotOwner: AugmentedError<ApiType>;
|
||||
/**
|
||||
@@ -1027,10 +1032,19 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* A (bonded) pool id does not exist.
|
||||
**/
|
||||
PoolNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Account is restricted from participation in pools. This may happen if the account is
|
||||
* staking in another way already.
|
||||
**/
|
||||
Restricted: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A reward pool does not exist. In all cases this is a system logic error.
|
||||
**/
|
||||
RewardPoolNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The slash amount is too low to be applied.
|
||||
**/
|
||||
SlashTooLow: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A sub pool does not exist.
|
||||
**/
|
||||
@@ -1041,6 +1055,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
onDemand: {
|
||||
/**
|
||||
* The account doesn't have enough credits to purchase on-demand coretime.
|
||||
**/
|
||||
InsufficientCredits: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The order queue is full, `place_order` will not continue.
|
||||
**/
|
||||
@@ -1177,10 +1195,18 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Parachain cannot currently schedule a code upgrade.
|
||||
**/
|
||||
CannotUpgradeCode: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid block number.
|
||||
**/
|
||||
InvalidBlockNumber: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Invalid validation code size.
|
||||
**/
|
||||
InvalidCode: AugmentedError<ApiType>;
|
||||
/**
|
||||
* No upgrade authorized.
|
||||
**/
|
||||
NothingAuthorized: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Para is not registered in our system.
|
||||
**/
|
||||
@@ -1209,6 +1235,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Claimed validator index is out of bounds.
|
||||
**/
|
||||
PvfCheckValidatorIndexOutOfBounds: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The submitted code is not authorized.
|
||||
**/
|
||||
Unauthorized: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
@@ -1363,6 +1393,84 @@ 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
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
referenda: {
|
||||
/**
|
||||
* The referendum index provided is invalid in this context.
|
||||
@@ -1564,6 +1672,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Rewards for this era have already been claimed for this validator.
|
||||
**/
|
||||
AlreadyClaimed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The stake of this account is already migrated to `Fungible` holds.
|
||||
**/
|
||||
AlreadyMigrated: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Controller is already paired.
|
||||
**/
|
||||
@@ -1584,6 +1696,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
||||
**/
|
||||
CannotChillOther: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Stash could not be reaped as other pallet might depend on it.
|
||||
**/
|
||||
CannotReapStash: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Cannot reset a ledger.
|
||||
**/
|
||||
@@ -1662,6 +1778,11 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Can not rebond without unlocking chunks.
|
||||
**/
|
||||
NoUnlockChunk: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Account is restricted from participation in staking. This may happen if the account is
|
||||
* staking in another way already, such as via pool.
|
||||
**/
|
||||
Restricted: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Provided reward destination is not allowed.
|
||||
**/
|
||||
@@ -1689,6 +1810,16 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
stakingAhClient: {
|
||||
/**
|
||||
* Could not process incoming message because incoming messages are blocked.
|
||||
**/
|
||||
Blocked: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
[key: string]: AugmentedError<ApiType>;
|
||||
};
|
||||
stateTrieMigration: {
|
||||
/**
|
||||
* Bad child root provided.
|
||||
@@ -1864,6 +1995,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
|
||||
**/
|
||||
@@ -1900,6 +2035,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The given account is not an identifiable sovereign account for any location.
|
||||
**/
|
||||
AccountNotSovereign: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The alias to remove authorization for was not found.
|
||||
**/
|
||||
AliasNotFound: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The location is invalid since it already has a subscription from us.
|
||||
**/
|
||||
@@ -1929,6 +2068,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* The assets to be sent are empty.
|
||||
**/
|
||||
Empty: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Expiry block number is in the past.
|
||||
**/
|
||||
ExpiresInPast: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The operation required fees to be paid which the initiator could not meet.
|
||||
**/
|
||||
@@ -1957,6 +2100,11 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Local XCM execution incomplete.
|
||||
**/
|
||||
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Local XCM execution incomplete with the actual XCM error and the index of the
|
||||
* instruction that caused the error.
|
||||
**/
|
||||
LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
|
||||
/**
|
||||
* A remote lock with the corresponding data could not be found.
|
||||
**/
|
||||
@@ -1978,6 +2126,10 @@ declare module '@polkadot/api-base/types/errors' {
|
||||
* Too many assets have been attempted for transfer.
|
||||
**/
|
||||
TooManyAssets: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Too many locations authorized to alias origin.
|
||||
**/
|
||||
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The asset owner has too many locks on the asset.
|
||||
**/
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, 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, 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';
|
||||
|
||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -138,6 +138,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Transfer succeeded.
|
||||
**/
|
||||
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An unexpected/defensive event was triggered.
|
||||
**/
|
||||
Unexpected: AugmentedEvent<ApiType, [PalletBalancesUnexpectedKind]>;
|
||||
/**
|
||||
* Some balance was unlocked.
|
||||
**/
|
||||
@@ -204,6 +208,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
|
||||
**/
|
||||
@@ -251,13 +259,17 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* An account that has voted
|
||||
* An account has voted
|
||||
**/
|
||||
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
|
||||
/**
|
||||
* A vote that been removed
|
||||
* A vote has been removed
|
||||
**/
|
||||
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
|
||||
/**
|
||||
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
||||
**/
|
||||
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], { who: AccountId32, class: u16 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -431,6 +443,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>;
|
||||
};
|
||||
hrmp: {
|
||||
/**
|
||||
* HRMP channel closed.
|
||||
@@ -466,6 +492,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
indices: {
|
||||
/**
|
||||
* A deposit to reserve an index has been poked/reconsidered.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A account index was assigned.
|
||||
**/
|
||||
@@ -506,6 +536,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
multisig: {
|
||||
/**
|
||||
* The deposit for a multisig operation has been updated/poked.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A multisig operation has been approved by someone.
|
||||
**/
|
||||
@@ -540,6 +574,14 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A pool has been destroyed.
|
||||
**/
|
||||
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
||||
/**
|
||||
* Global parameters regulating nomination pools have been updated.
|
||||
**/
|
||||
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill> }>;
|
||||
/**
|
||||
* A pool member's claim permission has been updated.
|
||||
**/
|
||||
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], { member: AccountId32, permission: PalletNominationPoolsClaimPermission }>;
|
||||
/**
|
||||
* A member has been removed from a pool.
|
||||
*
|
||||
@@ -548,6 +590,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* represented by `released_balance`.
|
||||
**/
|
||||
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
|
||||
/**
|
||||
* A pool's metadata was updated.
|
||||
**/
|
||||
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* Topped up deficit in frozen ED of the reward pool.
|
||||
**/
|
||||
@@ -580,6 +626,15 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A pool's maximum commission setting has been changed.
|
||||
**/
|
||||
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
|
||||
/**
|
||||
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
||||
* on behalf of the pool.
|
||||
**/
|
||||
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* The pool is chilled i.e. no longer nominating.
|
||||
**/
|
||||
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
||||
/**
|
||||
* The active balance of pool `pool_id` has been slashed to `balance`.
|
||||
**/
|
||||
@@ -638,6 +693,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
onDemand: {
|
||||
/**
|
||||
* An account was given credits.
|
||||
**/
|
||||
AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
||||
/**
|
||||
* An order was placed at some spot price amount by orderer ordered_by
|
||||
**/
|
||||
@@ -678,6 +737,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A para has been queued to execute pending actions. `para_id`
|
||||
**/
|
||||
ActionQueued: AugmentedEvent<ApiType, [u32, u32]>;
|
||||
/**
|
||||
* A new code hash has been authorized for a Para.
|
||||
**/
|
||||
CodeAuthorized: AugmentedEvent<ApiType, [paraId: u32, codeHash: H256, expireAt: u32], { paraId: u32, codeHash: H256, expireAt: u32 }>;
|
||||
/**
|
||||
* A code upgrade has been scheduled for a Para. `para_id`
|
||||
**/
|
||||
@@ -709,6 +772,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* code. `code_hash` `para_id`
|
||||
**/
|
||||
PvfCheckStarted: AugmentedEvent<ApiType, [H256, u32]>;
|
||||
/**
|
||||
* The upgrade cooldown was removed.
|
||||
**/
|
||||
UpgradeCooldownRemoved: AugmentedEvent<ApiType, [paraId: u32], { paraId: u32 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -759,6 +826,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* An announcement was placed to make a call in the future.
|
||||
**/
|
||||
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
|
||||
/**
|
||||
* A deposit stored for proxies or announcements was poked / updated.
|
||||
**/
|
||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
||||
/**
|
||||
* A proxy was added.
|
||||
**/
|
||||
@@ -776,6 +847,109 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* disambiguation index and proxy type.
|
||||
**/
|
||||
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
||||
/**
|
||||
* A pure proxy was killed by its spawner.
|
||||
**/
|
||||
PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, spawner: AccountId32, proxyType: PolkadotRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[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
|
||||
**/
|
||||
@@ -856,6 +1030,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
scheduler: {
|
||||
/**
|
||||
* Agenda is incomplete from `when`.
|
||||
**/
|
||||
AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], { when: u32 }>;
|
||||
/**
|
||||
* The call for the provided hash was not found so the task has been aborted.
|
||||
**/
|
||||
@@ -899,11 +1077,24 @@ 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.
|
||||
**/
|
||||
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
||||
/**
|
||||
* Validator has been disabled.
|
||||
**/
|
||||
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
||||
/**
|
||||
* Validator has been re-enabled.
|
||||
**/
|
||||
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
@@ -941,6 +1132,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* Report of a controller batch deprecation.
|
||||
**/
|
||||
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
|
||||
/**
|
||||
* Staking balance migrated from locks to holds, with any balance that could not be held
|
||||
* is force withdrawn.
|
||||
**/
|
||||
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], { stash: AccountId32, forceWithdraw: u128 }>;
|
||||
/**
|
||||
* The era payout has been set; the first balance is the validator-payout; the second is
|
||||
* the remainder from the maximum amount of reward.
|
||||
@@ -1010,6 +1206,33 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
stakingAhClient: {
|
||||
/**
|
||||
* We could not merge, and therefore dropped a buffered message.
|
||||
*
|
||||
* Note that this event is more resembling an error, but we use an event because in this
|
||||
* pallet we need to mutate storage upon some failures.
|
||||
**/
|
||||
CouldNotMergeAndDropped: AugmentedEvent<ApiType, []>;
|
||||
/**
|
||||
* The validator set received is way too small, as per
|
||||
* [`Config::MinimumValidatorSetSize`].
|
||||
**/
|
||||
SetTooSmallAndDropped: AugmentedEvent<ApiType, []>;
|
||||
/**
|
||||
* Something occurred that should never happen under normal operation. Logged as an event
|
||||
* for fail-safe observability.
|
||||
**/
|
||||
Unexpected: AugmentedEvent<ApiType, [PalletStakingAsyncAhClientUnexpectedKind]>;
|
||||
/**
|
||||
* A new validator set has been received.
|
||||
**/
|
||||
ValidatorSetReceived: AugmentedEvent<ApiType, [id: u32, newValidatorSetCount: u32, pruneUpTo: Option<u32>, leftover: bool], { id: u32, newValidatorSetCount: u32, pruneUpTo: Option<u32>, leftover: bool }>;
|
||||
/**
|
||||
* Generic event
|
||||
**/
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
stateTrieMigration: {
|
||||
/**
|
||||
* The auto migration task finished.
|
||||
@@ -1054,6 +1277,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A new account was created.
|
||||
**/
|
||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
||||
/**
|
||||
* An invalid authorized upgrade was rejected while trying to apply it.
|
||||
**/
|
||||
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], { codeHash: H256, error: SpRuntimeDispatchError }>;
|
||||
/**
|
||||
* On on-chain remark happened.
|
||||
**/
|
||||
@@ -1151,6 +1378,14 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* A call was dispatched.
|
||||
**/
|
||||
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
||||
/**
|
||||
* The fallback call was dispatched.
|
||||
**/
|
||||
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], { mainError: SpRuntimeDispatchError }>;
|
||||
/**
|
||||
* Main call was dispatched.
|
||||
**/
|
||||
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
|
||||
/**
|
||||
* A single item within a Batch of dispatches has completed with no error.
|
||||
**/
|
||||
@@ -1169,6 +1404,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).
|
||||
@@ -1203,6 +1442,19 @@ declare module '@polkadot/api-base/types/events' {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* `target` removed alias authorization for `aliaser`.
|
||||
**/
|
||||
AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location }>;
|
||||
/**
|
||||
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
||||
* `expiry` block number.
|
||||
**/
|
||||
AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64> }>;
|
||||
/**
|
||||
* `target` removed all alias authorizations.
|
||||
**/
|
||||
AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], { target: StagingXcmV5Location }>;
|
||||
/**
|
||||
* Some assets have been claimed from an asset trap
|
||||
**/
|
||||
@@ -1283,6 +1535,10 @@ declare module '@polkadot/api-base/types/events' {
|
||||
* sending the notification to it.
|
||||
**/
|
||||
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
|
||||
/**
|
||||
* An XCM message failed to process.
|
||||
**/
|
||||
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], { origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed }>;
|
||||
/**
|
||||
* Query response has been received and is ready for taking with `take_response`. There is
|
||||
* no registered notification call.
|
||||
@@ -1293,7 +1549,11 @@ declare module '@polkadot/api-base/types/events' {
|
||||
**/
|
||||
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
|
||||
/**
|
||||
* A XCM message was sent.
|
||||
* An XCM message failed to send.
|
||||
**/
|
||||
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed }>;
|
||||
/**
|
||||
* An XCM message was sent.
|
||||
**/
|
||||
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
|
||||
/**
|
||||
|
||||
@@ -7,10 +7,10 @@ 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, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, 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, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, 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 { 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 { Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||
@@ -1007,6 +1007,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Queue entries that are currently bound to a particular core due to core affinity.
|
||||
**/
|
||||
affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Keeps track of credits owned by each account.
|
||||
**/
|
||||
credits: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
||||
**/
|
||||
@@ -1068,6 +1072,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* The actions to perform during the start of a specific session index.
|
||||
**/
|
||||
actionsQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* The code hash authorizations for a para which will expire `expire_at` `BlockNumberFor<T>`.
|
||||
**/
|
||||
authorizedCodeHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PolkadotRuntimeParachainsParasAuthorizedCodeHashAndExpiry>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Validation code stored by its hash.
|
||||
*
|
||||
@@ -1334,7 +1342,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<PolkadotPrimitivesV8SlashingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
||||
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingPendingSlashes>>, [u32, H256]> & QueryableStorageEntry<ApiType, [u32, H256]>;
|
||||
/**
|
||||
* `ValidatorSetCount` per session.
|
||||
**/
|
||||
@@ -1374,6 +1382,141 @@ 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`.
|
||||
**/
|
||||
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, []>;
|
||||
/**
|
||||
* 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, []>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
referenda: {
|
||||
/**
|
||||
* The number of referenda being decided currently.
|
||||
@@ -1434,6 +1577,9 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Items to be executed, indexed by the block number that they should be executed on.
|
||||
**/
|
||||
agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Block number at which the agenda began incomplete execution.
|
||||
**/
|
||||
incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Lookup from a name to the block number and index of the task.
|
||||
@@ -1463,7 +1609,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||
* a new set of identities.
|
||||
**/
|
||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||
**/
|
||||
@@ -1582,16 +1728,6 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
||||
**/
|
||||
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Indices of validators that have offended in the active era. The offenders are disabled for a
|
||||
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
|
||||
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
|
||||
* implicitly means that the implementor also controls the max number of disabled validators.
|
||||
*
|
||||
* The vec is always kept sorted so that we can find whether a given validator has previously
|
||||
* offended using binary search.
|
||||
**/
|
||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Rewards for the last [`Config::HistoryDepth`] eras.
|
||||
* If reward hasn't been set or has been removed then 0 reward is returned.
|
||||
@@ -1814,6 +1950,69 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
stakingAhClient: {
|
||||
/**
|
||||
* An incomplete validator set report.
|
||||
**/
|
||||
incompleteValidatorSetReport: AugmentedQuery<ApiType, () => Observable<Option<PalletStakingAsyncRcClientValidatorSetReport>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Indicates the current operating mode of the pallet.
|
||||
*
|
||||
* This value determines how the pallet behaves in response to incoming and outgoing messages,
|
||||
* particularly whether it should execute logic directly, defer it, or delegate it entirely.
|
||||
**/
|
||||
mode: AugmentedQuery<ApiType, () => Observable<PalletStakingAsyncAhClientOperatingMode>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* A storage value that is set when a `new_session` gives a new validator set to the session
|
||||
* pallet, and is cleared on the next call.
|
||||
*
|
||||
* The inner u32 is the id of the said activated validator set. While not relevant here, good
|
||||
* to know this is the planning era index of staking-async on AH.
|
||||
*
|
||||
* Once cleared, we know a validator set has been activated, and therefore we can send a
|
||||
* timestamp to AH.
|
||||
**/
|
||||
nextSessionChangesValidators: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
|
||||
**/
|
||||
offenceSendQueueCursor: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Internal storage item of [`OffenceSendQueue`]. Should not be used manually.
|
||||
**/
|
||||
offenceSendQueueOffences: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, PalletStakingAsyncRcClientOffence]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* A session report that is outgoing, and should be sent.
|
||||
*
|
||||
* This will be attempted to be sent, possibly on every `on_initialize` call, until it is sent,
|
||||
* or the second value reaches zero, at which point we drop it.
|
||||
**/
|
||||
outgoingSessionReport: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[PalletStakingAsyncRcClientSessionReport, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* All of the points of the validators.
|
||||
*
|
||||
* This is populated during a session, and is flushed and sent over via [`SendToAssetHub`]
|
||||
* at each session end.
|
||||
**/
|
||||
validatorPoints: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* The queued validator sets for a given planning session index.
|
||||
*
|
||||
* This is received via a call from AssetHub.
|
||||
**/
|
||||
validatorSet: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The session index at which the latest elected validator set was applied.
|
||||
*
|
||||
* This is used to determine if an offence, given a session index, is in the current active era
|
||||
* or not.
|
||||
**/
|
||||
validatorSetAppliedAt: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
stateTrieMigration: {
|
||||
/**
|
||||
* The limits that are imposed on automatic migrations.
|
||||
@@ -1903,6 +2102,16 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
||||
**/
|
||||
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* The weight reclaimed for the extrinsic.
|
||||
*
|
||||
* This information is available until the end of the extrinsic execution.
|
||||
* More precisely this information is removed in `note_applied_extrinsic`.
|
||||
*
|
||||
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
|
||||
* reduction.
|
||||
**/
|
||||
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Whether all inherents have been applied.
|
||||
**/
|
||||
@@ -2034,6 +2243,18 @@ 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, []>;
|
||||
/**
|
||||
* Pointer that remembers the next node that will be auto-rebagged.
|
||||
* When `None`, the next scan will start from the list head again.
|
||||
**/
|
||||
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
@@ -2054,6 +2275,12 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* times this pair has been trapped (usually just 1 if it exists at all).
|
||||
**/
|
||||
assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
||||
/**
|
||||
* Map of authorized aliasers of local origins. Each local location can authorize a list of
|
||||
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
|
||||
* block number.
|
||||
**/
|
||||
authorizedAliases: AugmentedQuery<ApiType, (arg: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PalletXcmAuthorizedAliasesEntry>>, [XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [XcmVersionedLocation]>;
|
||||
/**
|
||||
* The current migration's stage, if any.
|
||||
**/
|
||||
|
||||
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
||||
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
||||
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, 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, 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 { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
@@ -302,7 +302,7 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
@@ -367,6 +367,10 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
||||
**/
|
||||
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
|
||||
/**
|
||||
* Returns the constraints on the actions that can be taken by a new parachain, block.
|
||||
**/
|
||||
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingConstraints>>>;
|
||||
/**
|
||||
* Get a vector of events concerning candidates that occurred within a block.
|
||||
**/
|
||||
@@ -431,6 +435,10 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
|
||||
/**
|
||||
* Retrieve the scheduling lookahead
|
||||
**/
|
||||
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Returns execution parameters for the session.
|
||||
**/
|
||||
@@ -484,6 +492,17 @@ declare module '@polkadot/api-base/types/calls' {
|
||||
**/
|
||||
[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
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xab3c0572291feb8b/ */
|
||||
sessionKeys: {
|
||||
/**
|
||||
|
||||
@@ -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, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SchedulerParams, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingInherentData, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyForkVotingProofAncestryProof, SpConsensusBeefyFutureBlockVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, 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, 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';
|
||||
|
||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||
@@ -353,6 +353,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.
|
||||
*
|
||||
@@ -1012,6 +1030,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
||||
**/
|
||||
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PalletBrokerCoretimeInterfaceCoreAssignment | { Idle: any } | { Pool: any } | { Task: any } | string | Uint8Array, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
|
||||
creditAccount: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128]>;
|
||||
/**
|
||||
* Request the configuration to be updated with the specified number of cores. Warning:
|
||||
* Since this only schedules a configuration update, it takes two sessions to come into
|
||||
@@ -1115,7 +1134,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`.
|
||||
@@ -1466,6 +1485,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `O(1)`.
|
||||
**/
|
||||
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Poke the deposit reserved for an index.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
||||
* non-frozen account `index`.
|
||||
*
|
||||
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
|
||||
*
|
||||
* - `index`: the index whose deposit is to be poked/reconsidered.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
pokeDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Assign an index already owned by the sender to another account. The balance reservation
|
||||
* is effectively transferred to the new account.
|
||||
@@ -1639,6 +1671,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - Storage: removes one item.
|
||||
**/
|
||||
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
|
||||
/**
|
||||
* Poke the deposit reserved for an existing multisig operation.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
||||
* the multisig operation.
|
||||
*
|
||||
* The transaction fee is waived if the deposit amount has changed.
|
||||
*
|
||||
* - `threshold`: The total number of approvals needed for this multisig.
|
||||
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
||||
* multisig.
|
||||
* - `call_hash`: The hash of the call this deposit is reserved for.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -1661,8 +1709,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
||||
* [`adapter::StakeStrategyType::Delegate`].
|
||||
*
|
||||
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
||||
* slash to be applied, caller may be rewarded with the part of the slash.
|
||||
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
||||
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
|
||||
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
||||
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
||||
**/
|
||||
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||
/**
|
||||
@@ -1693,25 +1743,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
||||
* root role, same as [`Pallet::nominate`].
|
||||
*
|
||||
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
||||
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
||||
*
|
||||
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
||||
* account).
|
||||
*
|
||||
* # Conditions for a permissionless dispatch:
|
||||
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
|
||||
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
|
||||
* are unable to unbond.
|
||||
*
|
||||
* # Conditions for permissioned dispatch:
|
||||
* * The caller has a nominator or root role of the pool.
|
||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
||||
* account.
|
||||
* * The caller is the pool's nominator or root.
|
||||
**/
|
||||
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Claim pending commission.
|
||||
*
|
||||
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
||||
* commission is paid out and added to total claimed commission`. Total pending commission
|
||||
* is reset to zero. the current.
|
||||
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
||||
*
|
||||
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
|
||||
* trigger the process of claiming the pool's commission.
|
||||
*
|
||||
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
|
||||
* accounts
|
||||
* * `acc`, and
|
||||
* * the pool's root account
|
||||
*
|
||||
* may call this extrinsic on behalf of the pool.
|
||||
*
|
||||
* Pending commissions are paid out and added to the total claimed commission.
|
||||
* The total pending commission is reset to zero.
|
||||
**/
|
||||
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
@@ -1762,8 +1824,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
||||
/**
|
||||
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
|
||||
* account and immediately increases the pools bond.
|
||||
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
||||
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
||||
* increases the pool's bond.
|
||||
*
|
||||
* The method of transferring the amount to the pool account is determined by
|
||||
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
||||
@@ -1809,13 +1872,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
||||
* root role.
|
||||
*
|
||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
||||
* account.
|
||||
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
||||
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
||||
*
|
||||
* # Note
|
||||
*
|
||||
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
|
||||
* at least `depositor_min_bond` in the pool to start nominating.
|
||||
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
||||
* have at least `depositor_min_bond` in the pool to start nominating.
|
||||
**/
|
||||
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
||||
/**
|
||||
@@ -2012,6 +2075,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `OnDemandOrderPlaced`
|
||||
**/
|
||||
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
||||
/**
|
||||
* Create a single on demand core order with credits.
|
||||
* Will charge the owner's on-demand credit account the spot price for the current block.
|
||||
*
|
||||
* Parameters:
|
||||
* - `origin`: The sender of the call, on-demand credits will be withdrawn from this
|
||||
* account.
|
||||
* - `max_amount`: The maximum number of credits to spend from the origin to place an
|
||||
* order.
|
||||
* - `para_id`: A `ParaId` the origin wants to provide blockspace for.
|
||||
*
|
||||
* Errors:
|
||||
* - `InsufficientCredits`
|
||||
* - `QueueFull`
|
||||
* - `SpotPriceHigherThanMaxAmount`
|
||||
*
|
||||
* Events:
|
||||
* - `OnDemandOrderPlaced`
|
||||
**/
|
||||
placeOrderWithCredits: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -2051,6 +2134,25 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* the go-ahead signal while the PVF pre-checking feature is enabled.
|
||||
**/
|
||||
addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||
/**
|
||||
* Applies the already authorized current code for the parachain,
|
||||
* triggering the same functionality as `force_set_current_code`.
|
||||
**/
|
||||
applyAuthorizedForceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
||||
/**
|
||||
* Sets the storage for the authorized current code hash of the parachain.
|
||||
* If not applied, it will be removed at the `System::block_number() + valid_period` block.
|
||||
*
|
||||
* This can be useful, when triggering `Paras::force_set_current_code(para, code)`
|
||||
* from a different chain than the one where the `Paras` pallet is deployed.
|
||||
*
|
||||
* The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
|
||||
* Instead, we authorize `code_hash` with `root`, which can later be applied by
|
||||
* `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
|
||||
*
|
||||
* Authorizations are stored in an **overwriting manner**.
|
||||
**/
|
||||
authorizeForceSetCurrentCodeHash: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCodeHash: H256 | string | Uint8Array, validPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, H256, u32]>;
|
||||
/**
|
||||
* Note a new block head for para within the context of the current block.
|
||||
**/
|
||||
@@ -2090,6 +2192,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* dispatching.
|
||||
**/
|
||||
pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
||||
/**
|
||||
* Remove an upgrade cooldown for a parachain.
|
||||
*
|
||||
* The cost for removing the cooldown earlier depends on the time left for the cooldown
|
||||
* multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
|
||||
**/
|
||||
removeUpgradeCooldown: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -2109,7 +2218,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
parasSlashing: {
|
||||
reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PolkadotPrimitivesV8SlashingDisputeProof | { timeSlot?: any; kind?: any; validatorIndex?: any; validatorId?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotPrimitivesV8SlashingDisputeProof, SpSessionMembershipProof]>;
|
||||
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]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
@@ -2117,7 +2226,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
};
|
||||
preimage: {
|
||||
/**
|
||||
* Ensure that the a bulk of pre-images is upgraded.
|
||||
* Ensure that the bulk of pre-images is upgraded.
|
||||
*
|
||||
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
||||
**/
|
||||
@@ -2215,18 +2324,29 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* inaccessible.
|
||||
*
|
||||
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
||||
* `pure` with corresponding parameters.
|
||||
* `create_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`.
|
||||
* - `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.
|
||||
* - `spawner`: The account that originally called `create_pure` to create this account.
|
||||
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
||||
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
||||
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
||||
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
||||
*
|
||||
* Fails with `NoPermission` in case the caller is not a previously created pure
|
||||
* account whose `pure` call has corresponding parameters.
|
||||
* account whose `create_pure` call has corresponding parameters.
|
||||
**/
|
||||
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
||||
/**
|
||||
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
||||
* This can be used by accounts to possibly lower their locked amount.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_.
|
||||
*
|
||||
* The transaction fee is waived if the deposit amount has changed.
|
||||
*
|
||||
* Emits `DepositPoked` if successful.
|
||||
**/
|
||||
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||
* `add_proxy`.
|
||||
@@ -2284,7 +2404,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_.
|
||||
*
|
||||
* WARNING: This may be called on accounts created by `pure`, however if done, then
|
||||
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
||||
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
||||
**/
|
||||
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
@@ -2303,6 +2423,121 @@ 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.
|
||||
@@ -2688,6 +2923,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>]>;
|
||||
/**
|
||||
@@ -2828,6 +3064,40 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* block any further nominations.
|
||||
**/
|
||||
kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
||||
/**
|
||||
* This function allows governance to manually slash a validator and is a
|
||||
* **fallback mechanism**.
|
||||
*
|
||||
* The dispatch origin must be `T::AdminOrigin`.
|
||||
*
|
||||
* ## Parameters
|
||||
* - `validator_stash` - The stash account of the validator to slash.
|
||||
* - `era` - The era in which the validator was in the active set.
|
||||
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
|
||||
*
|
||||
* ## Behavior
|
||||
*
|
||||
* The slash will be applied using the standard slashing mechanics, respecting the
|
||||
* configured `SlashDeferDuration`.
|
||||
*
|
||||
* This means:
|
||||
* - If the validator was already slashed by a higher percentage for the same era, this
|
||||
* slash will have no additional effect.
|
||||
* - If the validator was previously slashed by a lower percentage, only the difference
|
||||
* will be applied.
|
||||
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
||||
**/
|
||||
manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
|
||||
/**
|
||||
* Removes the legacy Staking locks if they exist.
|
||||
*
|
||||
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
|
||||
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
|
||||
* much as possible. The remaining stake is forced withdrawn from the ledger.
|
||||
*
|
||||
* The fee is waived if the migration is successful.
|
||||
**/
|
||||
migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
||||
/**
|
||||
* Declare the desire to nominate `targets` for the origin controller.
|
||||
*
|
||||
@@ -3011,6 +3281,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
|
||||
@@ -3045,15 +3317,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
||||
**/
|
||||
validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | { commission?: any; blocked?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
|
||||
/**
|
||||
* Adjusts the staking ledger by withdrawing any excess staked amount.
|
||||
*
|
||||
* This function corrects cases where a user's recorded stake in the ledger
|
||||
* exceeds their actual staked funds. This situation can arise due to cases such as
|
||||
* external slashing by another pallet, leading to an inconsistency between the ledger
|
||||
* and the actual stake.
|
||||
**/
|
||||
withdrawOverstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
||||
/**
|
||||
* Remove any unlocked chunks from the `unlocking` queue from our management.
|
||||
*
|
||||
@@ -3085,6 +3348,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
stakingAhClient: {
|
||||
/**
|
||||
* manually do what this pallet was meant to do at the end of the migration.
|
||||
**/
|
||||
forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Allows governance to force set the operating mode of the pallet.
|
||||
**/
|
||||
setMode: AugmentedSubmittable<(mode: PalletStakingAsyncAhClientOperatingMode | 'Passive' | 'Buffered' | 'Active' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncAhClientOperatingMode]>;
|
||||
validatorSet: AugmentedSubmittable<(report: PalletStakingAsyncRcClientValidatorSetReport | { newValidatorSet?: any; id?: any; pruneUpTo?: any; leftover?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingAsyncRcClientValidatorSetReport]>;
|
||||
/**
|
||||
* Generic tx
|
||||
**/
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
stateTrieMigration: {
|
||||
/**
|
||||
* Continue the migration for the given `limits`.
|
||||
@@ -3462,6 +3740,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - O(1).
|
||||
**/
|
||||
dispatchAs: AugmentedSubmittable<(asOrigin: PolkadotRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, Call]>;
|
||||
/**
|
||||
* Dispatches a function call with a provided origin.
|
||||
*
|
||||
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
||||
*
|
||||
* The dispatch origin for this call must be _Root_.
|
||||
**/
|
||||
dispatchAsFallible: AugmentedSubmittable<(asOrigin: PolkadotRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, Call]>;
|
||||
/**
|
||||
* Send a batch of dispatch calls.
|
||||
* Unlike `batch`, it allows errors and won't interrupt.
|
||||
@@ -3478,6 +3764,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - O(C) where C is the number of calls to be batched.
|
||||
**/
|
||||
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
||||
/**
|
||||
* Dispatch a fallback call in the event the main call fails to execute.
|
||||
* May be called from any origin except `None`.
|
||||
*
|
||||
* This function first attempts to dispatch the `main` call.
|
||||
* If the `main` call fails, the `fallback` is attemted.
|
||||
* if the fallback is successfully dispatched, the weights of both calls
|
||||
* are accumulated and an event containing the main call error is deposited.
|
||||
*
|
||||
* In the event of a fallback failure the whole call fails
|
||||
* with the weights returned.
|
||||
*
|
||||
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
||||
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
||||
*
|
||||
* ## Dispatch Logic
|
||||
* - If the origin is `root`, both the main and fallback calls are executed without
|
||||
* applying any origin filters.
|
||||
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
||||
* `fallback` calls.
|
||||
*
|
||||
* ## Use Case
|
||||
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
||||
* or both.
|
||||
**/
|
||||
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
|
||||
/**
|
||||
* Dispatch a function call with a specified weight.
|
||||
*
|
||||
@@ -3639,6 +3951,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* Authorize another `aliaser` location to alias into the local `origin` making this call.
|
||||
* The `aliaser` is only authorized until the provided `expiry` block number.
|
||||
* The call can also be used for a previously authorized alias in order to update its
|
||||
* `expiry` block number.
|
||||
*
|
||||
* Usually useful to allow your local account to be aliased into from a remote location
|
||||
* also under your control (like your account on another chain).
|
||||
*
|
||||
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
|
||||
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
|
||||
* `origin` in XCM programs executed on the local chain.
|
||||
**/
|
||||
addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
|
||||
/**
|
||||
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
|
||||
*
|
||||
@@ -3753,6 +4079,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
||||
**/
|
||||
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
|
||||
/**
|
||||
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
|
||||
* making this call.
|
||||
**/
|
||||
removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||
/**
|
||||
* Remove a previously authorized `aliaser` from the list of locations that can alias into
|
||||
* the local `origin` making this call.
|
||||
**/
|
||||
removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
|
||||
/**
|
||||
* Transfer some assets from the local chain to the destination chain through their local,
|
||||
* destination or remote reserve.
|
||||
|
||||
@@ -12,7 +12,7 @@ import type { OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
||||
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||
import type { AccountId32, H160, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
||||
import type { FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, FrameSystemEventRecord, PalletContractsPrimitivesCode, PalletContractsPrimitivesCodeUploadReturnValue, PalletContractsPrimitivesContractAccessError, PalletContractsPrimitivesContractResult, PalletContractsPrimitivesExecReturnValue, PalletContractsPrimitivesStorageDeposit, PalletContractsWasmDeterminism, PalletReviveEvmApiDebugRpcTypesCallTrace, PalletReviveEvmApiDebugRpcTypesTracerConfig, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMixnetMixnode, SpMixnetMixnodesErr, SpMixnetSessionStatus, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpStatementStoreRuntimeApiInvalidStatement, SpStatementStoreRuntimeApiStatementSource, SpStatementStoreRuntimeApiValidStatement, SpStatementStoreStatement, SpVersionRuntimeVersion, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
||||
import type { FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, FrameSystemEventRecord, PalletContractsPrimitivesCode, PalletContractsPrimitivesCodeUploadReturnValue, PalletContractsPrimitivesContractAccessError, PalletContractsPrimitivesContractResult, PalletContractsPrimitivesExecReturnValue, PalletContractsPrimitivesStorageDeposit, PalletContractsWasmDeterminism, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMixnetMixnode, SpMixnetMixnodesErr, SpMixnetSessionStatus, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpStatementStoreRuntimeApiInvalidStatement, SpStatementStoreRuntimeApiStatementSource, SpStatementStoreRuntimeApiValidStatement, SpStatementStoreStatement, SpVersionRuntimeVersion, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
@@ -458,15 +458,15 @@ 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: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesCallTrace]>>>>;
|
||||
traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: 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: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesCallTrace, PalletRevivePrimitivesEthTransactError>>>;
|
||||
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 } | 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: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesCallTrace>>>;
|
||||
traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
|
||||
/**
|
||||
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
|
||||
**/
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "16.2.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/rpc-core": "16.5.1",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -18,22 +18,22 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.2.2",
|
||||
"@polkadot/api-augment": "16.2.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/types-create": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/util-crypto": "^13.5.2",
|
||||
"@polkadot/api": "16.5.1",
|
||||
"@polkadot/api-augment": "16.5.1",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/types-create": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"@polkadot/util-crypto": "^13.5.7",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "16.2.2",
|
||||
"@polkadot/keyring": "^13.5.2",
|
||||
"@polkadot/types-support": "16.2.2"
|
||||
"@polkadot/api-augment": "16.5.1",
|
||||
"@polkadot/keyring": "^13.5.7",
|
||||
"@polkadot/types-support": "16.5.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -194,12 +194,55 @@ export class Abi {
|
||||
// earlier version are hoisted to v4
|
||||
case '4':
|
||||
return this.#decodeEventV4(record);
|
||||
case '5':
|
||||
return this.#decodeEventV5(record);
|
||||
// Latest
|
||||
default:
|
||||
return this.#decodeEventV5(record);
|
||||
return this.#decodeEventV6(record);
|
||||
}
|
||||
}
|
||||
|
||||
#decodeEventV6 = (record: EventRecord): DecodedEvent => {
|
||||
const topics = record.event.data[2] as unknown as { toHex: () => string }[];
|
||||
// Try to match by signature topic (first topic)
|
||||
const signatureTopic = topics[0];
|
||||
const data = record.event.data[1] as Bytes;
|
||||
|
||||
if (signatureTopic) {
|
||||
const event = this.events.find((e) => e.signatureTopic !== undefined && e.signatureTopic !== null && e.signatureTopic === signatureTopic.toHex());
|
||||
|
||||
// Early return if event found by signature topic
|
||||
if (event) {
|
||||
return event.fromU8a(data);
|
||||
}
|
||||
}
|
||||
|
||||
// If no event returned yet, it might be anonymous
|
||||
const amountOfTopics = topics.length;
|
||||
const potentialEvents = this.events.filter((e) => {
|
||||
// event can't have a signature topic
|
||||
if (e.signatureTopic !== null && e.signatureTopic !== undefined) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// event should have same amount of indexed fields as emitted topics
|
||||
const amountIndexed = e.args.filter((a) => a.indexed).length;
|
||||
|
||||
if (amountIndexed !== amountOfTopics) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// If all conditions met, it's a potential event
|
||||
return true;
|
||||
});
|
||||
|
||||
if (potentialEvents.length === 1) {
|
||||
return potentialEvents[0].fromU8a(data);
|
||||
}
|
||||
|
||||
throw new Error('Unable to determine event');
|
||||
};
|
||||
|
||||
#decodeEventV5 = (record: EventRecord): DecodedEvent => {
|
||||
// Find event by first topic, which potentially is the signature_topic
|
||||
const signatureTopic = record.topics[0];
|
||||
|
||||
@@ -71,22 +71,9 @@ export class Blueprint<ApiType extends ApiTypes> extends Base<ApiType> {
|
||||
this.abi.findConstructor(constructorOrId).toU8a(params),
|
||||
encodeSalt(salt)
|
||||
).withResultTransform((result: ISubmittableResult) =>
|
||||
new BlueprintSubmittableResult(result,
|
||||
this._isRevive
|
||||
? (
|
||||
(result.status.isInBlock || result.status.isFinalized)
|
||||
? new Contract<ApiType>(
|
||||
this.api,
|
||||
this.abi,
|
||||
// your fixed address for revive deployments
|
||||
this.registry.createType('AccountId', '0x'),
|
||||
this._decorateMethod
|
||||
)
|
||||
: undefined
|
||||
)
|
||||
: applyOnEvent(result, ['Instantiated'], ([record]: EventRecord[]) =>
|
||||
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod)
|
||||
)
|
||||
new BlueprintSubmittableResult(result, applyOnEvent(result, ['Instantiated'], ([record]: EventRecord[]) =>
|
||||
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod), this._isRevive
|
||||
)
|
||||
)
|
||||
);
|
||||
};
|
||||
|
||||
@@ -85,8 +85,23 @@ export class Code<ApiType extends ApiTypes> extends Base<ApiType> {
|
||||
).withResultTransform((result: ISubmittableResult) =>
|
||||
new CodeSubmittableResult(
|
||||
result,
|
||||
new Blueprint<ApiType>(this.api, this.abi, this.abi.info.source.hash, this._decorateMethod),
|
||||
new Contract<ApiType>(this.api, this.abi, '0x', this._decorateMethod)
|
||||
...(applyOnEvent(result, ['Instantiated'], (records: EventRecord[]) =>
|
||||
records.reduce<[Blueprint<ApiType> | undefined, Contract<ApiType> | undefined]>(
|
||||
([blueprint, contract], { event }) =>
|
||||
this.api.events.revive['Instantiated'].is(event)
|
||||
? [
|
||||
blueprint,
|
||||
new Contract<ApiType>(
|
||||
this.api,
|
||||
this.abi,
|
||||
(event as unknown as { data: [Codec, AccountId] }).data[1],
|
||||
this._decorateMethod
|
||||
)
|
||||
]
|
||||
: [blueprint, contract],
|
||||
[undefined, undefined]
|
||||
), this._isRevive
|
||||
) || [undefined, undefined])
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -110,7 +125,7 @@ export class Code<ApiType extends ApiTypes> extends Base<ApiType> {
|
||||
: this.api.events.contracts.CodeStored.is(event)
|
||||
? [new Blueprint<ApiType>(this.api, this.abi, (event as unknown as { data: [AccountId] }).data[0], this._decorateMethod), contract]
|
||||
: [blueprint, contract],
|
||||
[undefined, undefined])
|
||||
[undefined, undefined]), this._isRevive
|
||||
) || [undefined, undefined]))
|
||||
);
|
||||
};
|
||||
|
||||
@@ -125,7 +125,7 @@ export class Contract<ApiType extends ApiTypes> extends Base<ApiType> {
|
||||
return null;
|
||||
}
|
||||
})
|
||||
.filter((decoded): decoded is DecodedEvent => !!decoded)
|
||||
.filter((decoded): decoded is DecodedEvent => !!decoded), this._isRevive
|
||||
))
|
||||
);
|
||||
};
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -6,9 +6,10 @@ import type { EventRecord } from '@polkadot/types/interfaces';
|
||||
|
||||
type ContractEvents = 'CodeStored' | 'ContractEmitted' | 'ContractExecution' | 'Instantiated';
|
||||
|
||||
export function applyOnEvent <T> (result: SubmittableResult, types: ContractEvents[], fn: (records: EventRecord[]) => T): T | undefined {
|
||||
export function applyOnEvent <T> (result: SubmittableResult, types: ContractEvents[], fn: (records: EventRecord[]) => T, isRevive: boolean): T | undefined {
|
||||
if (result.isInBlock || result.isFinalized) {
|
||||
const records = result.filterRecords('contracts', types);
|
||||
const section = isRevive ? 'revive' : 'contracts';
|
||||
const records = result.filterRecords(section, types);
|
||||
|
||||
if (records.length) {
|
||||
return fn(records);
|
||||
|
||||
@@ -18,25 +18,25 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.2.2",
|
||||
"@polkadot/api-augment": "16.2.2",
|
||||
"@polkadot/api-base": "16.2.2",
|
||||
"@polkadot/rpc-core": "16.2.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/util-crypto": "^13.5.2",
|
||||
"@polkadot/api": "16.5.1",
|
||||
"@polkadot/api-augment": "16.5.1",
|
||||
"@polkadot/api-base": "16.5.1",
|
||||
"@polkadot/rpc-core": "16.5.1",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"@polkadot/util-crypto": "^13.5.7",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "16.2.2",
|
||||
"@polkadot/api-augment": "16.2.2",
|
||||
"@polkadot/rpc-augment": "16.2.2",
|
||||
"@polkadot/rpc-provider": "16.2.2",
|
||||
"@polkadot/types-support": "16.2.2"
|
||||
"@polkadot/api": "16.5.1",
|
||||
"@polkadot/api-augment": "16.5.1",
|
||||
"@polkadot/rpc-augment": "16.5.1",
|
||||
"@polkadot/rpc-provider": "16.5.1",
|
||||
"@polkadot/types-support": "16.5.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ function calcShared (api: DeriveApi, bestNumber: BlockNumber, data: DeriveBalanc
|
||||
'Balance',
|
||||
allLocked
|
||||
? 0
|
||||
: freeBalance.sub(bnMax(maybeED, frozenReserveDif))
|
||||
: bnMax(new BN(0), freeBalance.sub(bnMax(maybeED, frozenReserveDif)))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -68,7 +68,9 @@ export function keysMulti (instanceId: string, api: DeriveApi): (stashIds: (Uint
|
||||
switchMap((queuedKeys) =>
|
||||
combineLatest([
|
||||
of(queuedKeys),
|
||||
// eslint-disable-next-line @typescript-eslint/dot-notation
|
||||
api.consts['session']?.['dedupKeyPrefix']
|
||||
// eslint-disable-next-line @typescript-eslint/dot-notation
|
||||
? api.query.session.nextKeys.multi(stashIds.map((s) => [api.consts['session']['dedupKeyPrefix'], s]))
|
||||
: combineLatest(stashIds.map((s) => api.query.session.nextKeys(s)))
|
||||
])
|
||||
|
||||
@@ -23,10 +23,10 @@ function extractCompatRewards (claimedRewardsEras: Vec<u32>, ledger?: PalletStak
|
||||
? (
|
||||
ledger.legacyClaimedRewards ||
|
||||
(ledger as PalletStakingStakingLedger & { claimedRewards: Vec<u32> }).claimedRewards
|
||||
).toArray()
|
||||
)?.toArray()
|
||||
: [] as unknown as Vec<u32>;
|
||||
|
||||
return claimedRewardsEras.toArray().concat(l);
|
||||
return (claimedRewardsEras.toArray() || []).concat(l);
|
||||
}
|
||||
|
||||
function parseRewards (api: DeriveApi, stashId: AccountId, [erasPoints, erasPrefs, erasRewards]: ErasResult, exposures: DeriveStakerExposure[], claimedRewardsEras: Vec<u32>): DeriveStakerReward[] {
|
||||
@@ -125,7 +125,7 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
|
||||
if (index !== -1) {
|
||||
const valLedger = queryValidators[index].stakingLedger;
|
||||
|
||||
if (extractCompatRewards(claimedRewardsEras, valLedger).some((e) => reward.era.eq(e))) {
|
||||
if (extractCompatRewards(claimedRewardsEras, valLedger).some((e) => reward.era?.eq(e))) {
|
||||
rm.push(validatorId);
|
||||
}
|
||||
}
|
||||
@@ -137,7 +137,7 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
|
||||
}
|
||||
|
||||
function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][], { claimedRewardsEras, rewards, stakingLedger }: { rewards: DeriveStakerReward[]; stakingLedger: PalletStakingStakingLedger, claimedRewardsEras: Vec<u32> }): DeriveStakerReward[] {
|
||||
const filter = eras.filter((e) => !extractCompatRewards(claimedRewardsEras, stakingLedger).some((s) => s.eq(e)));
|
||||
const filter = eras.filter((e) => !extractCompatRewards(claimedRewardsEras, stakingLedger).some((s) => s?.eq(e)));
|
||||
const validators = valInfo.map(([v]) => v);
|
||||
const queryValidators = valInfo.map(([, q]) => q);
|
||||
|
||||
@@ -162,7 +162,7 @@ function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][
|
||||
const info = queryValidators.find((i) => i.accountId.toString() === key);
|
||||
|
||||
if (info) {
|
||||
isClaimed = info.claimedRewardsEras.toArray().some((era) => era.eq(reward.era));
|
||||
isClaimed = info.claimedRewardsEras?.toArray().some((era) => era.eq(reward.era));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
+17
-17
@@ -18,29 +18,29 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "16.2.2",
|
||||
"@polkadot/api-base": "16.2.2",
|
||||
"@polkadot/api-derive": "16.2.2",
|
||||
"@polkadot/keyring": "^13.5.2",
|
||||
"@polkadot/rpc-augment": "16.2.2",
|
||||
"@polkadot/rpc-core": "16.2.2",
|
||||
"@polkadot/rpc-provider": "16.2.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-augment": "16.2.2",
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/types-create": "16.2.2",
|
||||
"@polkadot/types-known": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/util-crypto": "^13.5.2",
|
||||
"@polkadot/api-augment": "16.5.1",
|
||||
"@polkadot/api-base": "16.5.1",
|
||||
"@polkadot/api-derive": "16.5.1",
|
||||
"@polkadot/keyring": "^13.5.7",
|
||||
"@polkadot/rpc-augment": "16.5.1",
|
||||
"@polkadot/rpc-core": "16.5.1",
|
||||
"@polkadot/rpc-provider": "16.5.1",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-augment": "16.5.1",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/types-create": "16.5.1",
|
||||
"@polkadot/types-known": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"@polkadot/util-crypto": "^13.5.7",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "16.2.2",
|
||||
"@polkadot/types-support": "16.2.2"
|
||||
"@polkadot/api-augment": "16.5.1",
|
||||
"@polkadot/types-support": "16.5.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -93,6 +93,7 @@ function optionsOrNonce (partialOptions: Partial<SignerOptions> = {}): Partial<S
|
||||
export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHash, decorateMethod }: SubmittableOptions<ApiType>): CodecClass<SubmittableExtrinsic<ApiType>> {
|
||||
// an instance of the base extrinsic for us to extend
|
||||
const ExtrinsicBase = api.registry.createClass('Extrinsic');
|
||||
const extrinsicInfoMap = new WeakMap<SubmittableExtrinsic<ApiType>, UpdateInfo>();
|
||||
|
||||
class Submittable extends ExtrinsicBase implements SubmittableExtrinsic<ApiType> {
|
||||
readonly #ignoreStatusCb: boolean;
|
||||
@@ -188,24 +189,39 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
|
||||
// send implementation for both immediate Hash and statusCb variants
|
||||
public send (statusCb?: Callback<ISubmittableResult>): SubmittableResultResult<ApiType> | SubmittableResultSubscription<ApiType> {
|
||||
const isSubscription = api.hasSubscriptions && (this.#ignoreStatusCb || !!statusCb);
|
||||
const updatedInfo = extrinsicInfoMap.get(this);
|
||||
|
||||
extrinsicInfoMap.delete(this);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call
|
||||
return decorateMethod(
|
||||
isSubscription
|
||||
? this.#observeSubscribe
|
||||
: this.#observeSend
|
||||
? () => this.#observeSubscribe(updatedInfo)
|
||||
: () => this.#observeSend(updatedInfo)
|
||||
)(statusCb);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Signs a transaction, returning `this` to allow chaining. E.g.: `signAsync(...).send()`. Like `.signAndSend` this will retrieve the nonce and blockHash to send the tx with.
|
||||
*/
|
||||
*/
|
||||
public signAsync (account: AddressOrPair, partialOptions?: Partial<SignerOptions>): PromiseOrObs<ApiType, this> {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call
|
||||
return decorateMethod(
|
||||
(): Observable<this> =>
|
||||
this.#observeSign(account, partialOptions).pipe(
|
||||
map(() => this)
|
||||
map((info) => {
|
||||
// If we got a full signed transaction from the signer, attach it
|
||||
if (info.signedTransaction) {
|
||||
const extrinsic = new Submittable(api.registry, info.signedTransaction);
|
||||
|
||||
extrinsicInfoMap.set(this, info);
|
||||
|
||||
return extrinsic as this;
|
||||
}
|
||||
|
||||
// Fallback if signer didn’t return signedTransaction
|
||||
return this;
|
||||
})
|
||||
)
|
||||
)();
|
||||
}
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "16.2.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/rpc-core": "16.5.1",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "16.2.2",
|
||||
"@polkadot/rpc-provider": "16.2.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/rpc-augment": "16.5.1",
|
||||
"@polkadot/rpc-provider": "16.5.1",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^13.5.2",
|
||||
"@polkadot/rpc-augment": "16.2.2"
|
||||
"@polkadot/keyring": "^13.5.7",
|
||||
"@polkadot/rpc-augment": "16.5.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ import { Observable, publishReplay, refCount } from 'rxjs';
|
||||
|
||||
import { LRUCache } from '@polkadot/rpc-provider';
|
||||
import { rpcDefinitions } from '@polkadot/types';
|
||||
import { unwrapStorageSi } from '@polkadot/types/util';
|
||||
import { hexToU8a, isFunction, isNull, isUndefined, lazyMethod, logger, memoize, objectSpread, u8aConcat, u8aToU8a } from '@polkadot/util';
|
||||
|
||||
import { drr, refCountDelay } from './util/index.js';
|
||||
@@ -508,7 +509,7 @@ export class RpcCore {
|
||||
private _newType (registry: Registry, blockHash: Uint8Array | string | null | undefined, key: StorageKey, input: string | Uint8Array | null, isEmpty: boolean, entryIndex = -1): Codec {
|
||||
// single return value (via state.getStorage), decode the value based on the
|
||||
// outputType that we have specified. Fallback to Raw on nothing
|
||||
const type = key.outputType || 'Raw';
|
||||
const type = key.meta ? registry.createLookupType(unwrapStorageSi(key.meta.type)) : (key.outputType || 'Raw');
|
||||
const meta = key.meta || EMPTY_META;
|
||||
const entryNum = entryIndex === -1
|
||||
? ''
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.5.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-support": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/util-crypto": "^13.5.2",
|
||||
"@polkadot/x-fetch": "^13.5.2",
|
||||
"@polkadot/x-global": "^13.5.2",
|
||||
"@polkadot/x-ws": "^13.5.2",
|
||||
"@polkadot/keyring": "^13.5.7",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-support": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"@polkadot/util-crypto": "^13.5.7",
|
||||
"@polkadot/x-fetch": "^13.5.7",
|
||||
"@polkadot/x-global": "^13.5.7",
|
||||
"@polkadot/x-ws": "^13.5.7",
|
||||
"eventemitter3": "^5.0.1",
|
||||
"mock-socket": "^9.3.1",
|
||||
"nock": "^13.5.5",
|
||||
|
||||
@@ -31,6 +31,16 @@ describe('Http', (): void => {
|
||||
).not.toThrow();
|
||||
});
|
||||
|
||||
it('should throw error on negative cache capacity or TTL', () => {
|
||||
expect(() =>
|
||||
new HttpProvider(TEST_HTTP_URL, {}, -5, 30000)
|
||||
).toThrow(/'capacity' must be a non-negative integer/);
|
||||
|
||||
expect(() =>
|
||||
new HttpProvider(TEST_HTTP_URL, {}, 1024, -1000)
|
||||
).toThrow(/'ttl' must be between 0 and 1800000 ms or null to disable/);
|
||||
});
|
||||
|
||||
it('allow clone', (): void => {
|
||||
const clone = http.clone();
|
||||
/* eslint-disable */
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
// for Kusama/Polkadot/Substrate falls between 600-750K, 2x for estimate)
|
||||
|
||||
export const DEFAULT_CAPACITY = 1024;
|
||||
export const DEFAULT_TTL = 30000;
|
||||
export const DEFAULT_TTL = 30000; // 30 seconds
|
||||
const MAX_TTL = 1800_000; // 30 minutes
|
||||
|
||||
// If the user decides to disable the TTL we set the value
|
||||
// to a very high number (A year = 365 * 24 * 60 * 60 * 1000).
|
||||
@@ -52,6 +53,16 @@ export class LRUCache {
|
||||
readonly #ttl: number;
|
||||
|
||||
constructor (capacity = DEFAULT_CAPACITY, ttl: number | null = DEFAULT_TTL) {
|
||||
// Validate capacity
|
||||
if (!Number.isInteger(capacity) || capacity < 0) {
|
||||
throw new Error(`LRUCache initialization error: 'capacity' must be a non-negative integer. Received: ${capacity}`);
|
||||
}
|
||||
|
||||
// Validate ttl
|
||||
if (ttl !== null && (!Number.isFinite(ttl) || ttl < 0 || ttl > MAX_TTL)) {
|
||||
throw new Error(`LRUCache initialization error: 'ttl' must be between 0 and ${MAX_TTL} ms or null to disable. Received: ${ttl}`);
|
||||
}
|
||||
|
||||
this.capacity = capacity;
|
||||
ttl ? this.#ttl = ttl : this.#ttl = DISABLED_TTL;
|
||||
this.#head = this.#tail = new LRUNode('<empty>', this.#ttl);
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -60,6 +60,11 @@ describe('Endpoint Parsing', (): void => {
|
||||
new WsProvider(TEST_WS_URL, 0);
|
||||
});
|
||||
|
||||
it('should throw error on negative cache capacity or TTL', () => {
|
||||
expect(() => new WsProvider(TEST_WS_URL, false, {}, undefined, -5, 30000)).toThrow(/'capacity' must be a non-negative integer/);
|
||||
expect(() => new WsProvider(TEST_WS_URL, false, {}, undefined, 1024, -1000)).toThrow(/'ttl' must be between 0 and 1800000 ms or null to disable/);
|
||||
});
|
||||
|
||||
it('Throws when WsProvider endpoint is an invalid string', () => {
|
||||
expect(
|
||||
() => new WsProvider('http://127.0.0.1:9955', 0)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,19 +28,19 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.2.2",
|
||||
"@polkadot/api-augment": "16.2.2",
|
||||
"@polkadot/api-derive": "16.2.2",
|
||||
"@polkadot/rpc-augment": "16.2.2",
|
||||
"@polkadot/rpc-provider": "16.2.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-augment": "16.2.2",
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/types-create": "16.2.2",
|
||||
"@polkadot/types-support": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/util-crypto": "^13.5.2",
|
||||
"@polkadot/x-ws": "^13.5.2",
|
||||
"@polkadot/api": "16.5.1",
|
||||
"@polkadot/api-augment": "16.5.1",
|
||||
"@polkadot/api-derive": "16.5.1",
|
||||
"@polkadot/rpc-augment": "16.5.1",
|
||||
"@polkadot/rpc-provider": "16.5.1",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-augment": "16.5.1",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/types-create": "16.5.1",
|
||||
"@polkadot/types-support": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"@polkadot/util-crypto": "^13.5.7",
|
||||
"@polkadot/x-ws": "^13.5.7",
|
||||
"comment-parser": "^1.4.1",
|
||||
"handlebars": "^4.7.8",
|
||||
"tslib": "^2.8.1",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@
|
||||
|
||||
export default {
|
||||
/**
|
||||
* Lookup136: staging_kusama_runtime::SessionKeys
|
||||
* Lookup138: staging_kusama_runtime::SessionKeys
|
||||
**/
|
||||
StagingKusamaRuntimeSessionKeys: {
|
||||
grandpa: 'SpConsensusGrandpaAppPublic',
|
||||
@@ -16,7 +16,7 @@ export default {
|
||||
beefy: 'SpConsensusBeefyEcdsaCryptoPublic'
|
||||
},
|
||||
/**
|
||||
* Lookup158: staging_kusama_runtime::OriginCaller
|
||||
* Lookup160: staging_kusama_runtime::OriginCaller
|
||||
**/
|
||||
StagingKusamaRuntimeOriginCaller: {
|
||||
_enum: {
|
||||
@@ -123,13 +123,13 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup160: staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin
|
||||
* Lookup162: staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin
|
||||
**/
|
||||
StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: {
|
||||
_enum: ['StakingAdmin', 'Treasurer', 'FellowshipAdmin', 'GeneralAdmin', 'AuctionAdmin', 'LeaseAdmin', 'ReferendumCanceller', 'ReferendumKiller', 'SmallTipper', 'BigTipper', 'SmallSpender', 'MediumSpender', 'BigSpender', 'WhitelistedCaller', 'FellowshipInitiates', 'Fellows', 'FellowshipExperts', 'FellowshipMasters', 'Fellowship1Dan', 'Fellowship2Dan', 'Fellowship3Dan', 'Fellowship4Dan', 'Fellowship5Dan', 'Fellowship6Dan', 'Fellowship7Dan', 'Fellowship8Dan', 'Fellowship9Dan', 'WishForChange']
|
||||
},
|
||||
/**
|
||||
* Lookup170: staging_kusama_runtime::RuntimeParameters
|
||||
* Lookup172: staging_kusama_runtime::RuntimeParameters
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeParameters: {
|
||||
_enum: {
|
||||
@@ -138,7 +138,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup171: staging_kusama_runtime::dynamic_params::inflation::Parameters
|
||||
* Lookup173: staging_kusama_runtime::dynamic_params::inflation::Parameters
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationParameters: {
|
||||
_enum: {
|
||||
@@ -150,27 +150,27 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup172: staging_kusama_runtime::dynamic_params::inflation::MinInflation
|
||||
* Lookup174: staging_kusama_runtime::dynamic_params::inflation::MinInflation
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationMinInflation: 'Null',
|
||||
/**
|
||||
* Lookup175: staging_kusama_runtime::dynamic_params::inflation::MaxInflation
|
||||
* Lookup177: staging_kusama_runtime::dynamic_params::inflation::MaxInflation
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationMaxInflation: 'Null',
|
||||
/**
|
||||
* Lookup176: staging_kusama_runtime::dynamic_params::inflation::IdealStake
|
||||
* Lookup178: staging_kusama_runtime::dynamic_params::inflation::IdealStake
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationIdealStake: 'Null',
|
||||
/**
|
||||
* Lookup177: staging_kusama_runtime::dynamic_params::inflation::Falloff
|
||||
* Lookup179: staging_kusama_runtime::dynamic_params::inflation::Falloff
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationFalloff: 'Null',
|
||||
/**
|
||||
* Lookup178: staging_kusama_runtime::dynamic_params::inflation::UseAuctionSlots
|
||||
* Lookup180: staging_kusama_runtime::dynamic_params::inflation::UseAuctionSlots
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots: 'Null',
|
||||
/**
|
||||
* Lookup180: staging_kusama_runtime::dynamic_params::treasury::Parameters
|
||||
* Lookup182: staging_kusama_runtime::dynamic_params::treasury::Parameters
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsTreasuryParameters: {
|
||||
_enum: {
|
||||
@@ -179,25 +179,25 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup181: staging_kusama_runtime::dynamic_params::treasury::BurnPortion
|
||||
* Lookup183: staging_kusama_runtime::dynamic_params::treasury::BurnPortion
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion: 'Null',
|
||||
/**
|
||||
* Lookup184: staging_kusama_runtime::dynamic_params::treasury::BurnDestination
|
||||
* Lookup186: staging_kusama_runtime::dynamic_params::treasury::BurnDestination
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination: 'Null',
|
||||
/**
|
||||
* Lookup186: staging_kusama_runtime::BurnDestinationAccount
|
||||
* Lookup188: staging_kusama_runtime::BurnDestinationAccount
|
||||
**/
|
||||
StagingKusamaRuntimeBurnDestinationAccount: 'Option<AccountId32>',
|
||||
/**
|
||||
* Lookup206: kusama_runtime_constants::proxy::ProxyType
|
||||
* Lookup209: kusama_runtime_constants::proxy::ProxyType
|
||||
**/
|
||||
KusamaRuntimeConstantsProxyProxyType: {
|
||||
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'CancelProxy', 'Auction', 'Society', 'NominationPools', 'Spokesperson', 'ParaRegistration']
|
||||
},
|
||||
/**
|
||||
* Lookup216: staging_kusama_runtime::NposCompactSolution24
|
||||
* Lookup219: staging_kusama_runtime::NposCompactSolution24
|
||||
**/
|
||||
StagingKusamaRuntimeNposCompactSolution24: {
|
||||
votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
|
||||
@@ -226,7 +226,35 @@ export default {
|
||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
||||
},
|
||||
/**
|
||||
* Lookup509: staging_kusama_runtime::RuntimeParametersKey
|
||||
* Lookup539: pallet_rc_migrator::recovery::RecoveryStage
|
||||
**/
|
||||
PalletRcMigratorRecoveryRecoveryStage: {
|
||||
_enum: {
|
||||
Recoverable: 'Option<AccountId32>',
|
||||
ActiveRecoveries: 'Option<(AccountId32,AccountId32)>',
|
||||
Proxy: 'Option<AccountId32>',
|
||||
Finished: 'Null'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup543: pallet_rc_migrator::society::SocietyStage
|
||||
**/
|
||||
PalletRcMigratorSocietySocietyStage: {
|
||||
_enum: {
|
||||
Values: 'Null',
|
||||
Members: 'Option<AccountId32>',
|
||||
Payouts: 'Option<AccountId32>',
|
||||
MemberByIndex: 'Option<u32>',
|
||||
SuspendedMembers: 'Option<AccountId32>',
|
||||
Candidates: 'Option<AccountId32>',
|
||||
Votes: 'Option<(AccountId32,AccountId32)>',
|
||||
VoteClearCursor: 'Option<AccountId32>',
|
||||
DefenderVotes: 'Option<(u32,AccountId32)>',
|
||||
Finished: 'Null'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup566: staging_kusama_runtime::RuntimeParametersKey
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeParametersKey: {
|
||||
_enum: {
|
||||
@@ -235,19 +263,19 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup510: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
|
||||
* Lookup567: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationParametersKey: {
|
||||
_enum: ['MinInflation', 'MaxInflation', 'IdealStake', 'Falloff', 'UseAuctionSlots']
|
||||
},
|
||||
/**
|
||||
* Lookup511: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
|
||||
* Lookup568: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsTreasuryParametersKey: {
|
||||
_enum: ['BurnPortion', 'BurnDestination']
|
||||
},
|
||||
/**
|
||||
* Lookup513: staging_kusama_runtime::RuntimeParametersValue
|
||||
* Lookup570: staging_kusama_runtime::RuntimeParametersValue
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeParametersValue: {
|
||||
_enum: {
|
||||
@@ -256,7 +284,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup514: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
|
||||
* Lookup571: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsInflationParametersValue: {
|
||||
_enum: {
|
||||
@@ -268,7 +296,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup515: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
|
||||
* Lookup572: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
|
||||
**/
|
||||
StagingKusamaRuntimeDynamicParamsTreasuryParametersValue: {
|
||||
_enum: {
|
||||
@@ -277,7 +305,20 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup604: staging_kusama_runtime::RuntimeHoldReason
|
||||
* Lookup579: pallet_recovery::DepositKind<staging_kusama_runtime::Runtime>
|
||||
**/
|
||||
PalletRecoveryDepositKind: {
|
||||
_enum: {
|
||||
RecoveryConfig: 'Null',
|
||||
ActiveRecoveryFor: 'AccountId32'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup580: staging_kusama_runtime::Runtime
|
||||
**/
|
||||
StagingKusamaRuntimeRuntime: 'Null',
|
||||
/**
|
||||
* Lookup668: staging_kusama_runtime::RuntimeHoldReason
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeHoldReason: {
|
||||
_enum: {
|
||||
@@ -287,9 +328,9 @@ export default {
|
||||
__Unused3: 'Null',
|
||||
__Unused4: 'Null',
|
||||
__Unused5: 'Null',
|
||||
__Unused6: 'Null',
|
||||
Staking: 'PalletStakingPalletHoldReason',
|
||||
__Unused7: 'Null',
|
||||
__Unused8: 'Null',
|
||||
Session: 'PalletSessionHoldReason',
|
||||
__Unused9: 'Null',
|
||||
__Unused10: 'Null',
|
||||
__Unused11: 'Null',
|
||||
@@ -319,7 +360,7 @@ export default {
|
||||
__Unused35: 'Null',
|
||||
__Unused36: 'Null',
|
||||
__Unused37: 'Null',
|
||||
Nis: 'PalletNisHoldReason',
|
||||
__Unused38: 'Null',
|
||||
__Unused39: 'Null',
|
||||
__Unused40: 'Null',
|
||||
__Unused41: 'Null',
|
||||
@@ -328,11 +369,63 @@ export default {
|
||||
__Unused44: 'Null',
|
||||
__Unused45: 'Null',
|
||||
__Unused46: 'Null',
|
||||
DelegatedStaking: 'PalletDelegatedStakingHoldReason'
|
||||
DelegatedStaking: 'PalletDelegatedStakingHoldReason',
|
||||
__Unused48: 'Null',
|
||||
__Unused49: 'Null',
|
||||
__Unused50: 'Null',
|
||||
__Unused51: 'Null',
|
||||
__Unused52: 'Null',
|
||||
__Unused53: 'Null',
|
||||
__Unused54: 'Null',
|
||||
__Unused55: 'Null',
|
||||
__Unused56: 'Null',
|
||||
__Unused57: 'Null',
|
||||
__Unused58: 'Null',
|
||||
__Unused59: 'Null',
|
||||
__Unused60: 'Null',
|
||||
__Unused61: 'Null',
|
||||
__Unused62: 'Null',
|
||||
__Unused63: 'Null',
|
||||
__Unused64: 'Null',
|
||||
__Unused65: 'Null',
|
||||
__Unused66: 'Null',
|
||||
__Unused67: 'Null',
|
||||
__Unused68: 'Null',
|
||||
__Unused69: 'Null',
|
||||
__Unused70: 'Null',
|
||||
__Unused71: 'Null',
|
||||
__Unused72: 'Null',
|
||||
__Unused73: 'Null',
|
||||
__Unused74: 'Null',
|
||||
__Unused75: 'Null',
|
||||
__Unused76: 'Null',
|
||||
__Unused77: 'Null',
|
||||
__Unused78: 'Null',
|
||||
__Unused79: 'Null',
|
||||
__Unused80: 'Null',
|
||||
__Unused81: 'Null',
|
||||
__Unused82: 'Null',
|
||||
__Unused83: 'Null',
|
||||
__Unused84: 'Null',
|
||||
__Unused85: 'Null',
|
||||
__Unused86: 'Null',
|
||||
__Unused87: 'Null',
|
||||
__Unused88: 'Null',
|
||||
__Unused89: 'Null',
|
||||
__Unused90: 'Null',
|
||||
__Unused91: 'Null',
|
||||
__Unused92: 'Null',
|
||||
__Unused93: 'Null',
|
||||
__Unused94: 'Null',
|
||||
__Unused95: 'Null',
|
||||
__Unused96: 'Null',
|
||||
__Unused97: 'Null',
|
||||
__Unused98: 'Null',
|
||||
XcmPallet: 'PalletXcmHoldReason'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup611: staging_kusama_runtime::RuntimeFreezeReason
|
||||
* Lookup677: staging_kusama_runtime::RuntimeFreezeReason
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeFreezeReason: {
|
||||
_enum: {
|
||||
@@ -381,18 +474,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup783: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
|
||||
**/
|
||||
FrameSupportTokensMiscIdAmount: {
|
||||
id: 'Null',
|
||||
amount: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup970: staging_kusama_runtime::Runtime
|
||||
**/
|
||||
StagingKusamaRuntimeRuntime: 'Null',
|
||||
/**
|
||||
* Lookup1084: staging_kusama_runtime::RuntimeError
|
||||
* Lookup1159: staging_kusama_runtime::RuntimeError
|
||||
**/
|
||||
StagingKusamaRuntimeRuntimeError: {
|
||||
_enum: {
|
||||
@@ -434,17 +516,17 @@ export default {
|
||||
Bounties: 'PalletBountiesError',
|
||||
__Unused36: 'Null',
|
||||
ElectionProviderMultiPhase: 'PalletElectionProviderMultiPhaseError',
|
||||
Nis: 'PalletNisError',
|
||||
__Unused38: 'Null',
|
||||
VoterList: 'PalletBagsListError',
|
||||
ChildBounties: 'PalletChildBountiesError',
|
||||
NominationPools: 'PalletNominationPoolsError',
|
||||
FastUnstake: 'PalletFastUnstakeError',
|
||||
__Unused43: 'Null',
|
||||
Whitelist: 'PalletWhitelistError',
|
||||
NisCounterpartBalances: 'PalletBalancesError',
|
||||
__Unused45: 'Null',
|
||||
__Unused46: 'Null',
|
||||
DelegatedStaking: 'PalletDelegatedStakingError',
|
||||
__Unused48: 'Null',
|
||||
StakingAhClient: 'PalletStakingAsyncAhClientError',
|
||||
__Unused49: 'Null',
|
||||
__Unused50: 'Null',
|
||||
Configuration: 'PolkadotRuntimeParachainsConfigurationPalletError',
|
||||
@@ -596,7 +678,62 @@ export default {
|
||||
__Unused197: 'Null',
|
||||
__Unused198: 'Null',
|
||||
__Unused199: 'Null',
|
||||
Beefy: 'PalletBeefyError'
|
||||
Beefy: 'PalletBeefyError',
|
||||
__Unused201: 'Null',
|
||||
__Unused202: 'Null',
|
||||
__Unused203: 'Null',
|
||||
__Unused204: 'Null',
|
||||
__Unused205: 'Null',
|
||||
__Unused206: 'Null',
|
||||
__Unused207: 'Null',
|
||||
__Unused208: 'Null',
|
||||
__Unused209: 'Null',
|
||||
__Unused210: 'Null',
|
||||
__Unused211: 'Null',
|
||||
__Unused212: 'Null',
|
||||
__Unused213: 'Null',
|
||||
__Unused214: 'Null',
|
||||
__Unused215: 'Null',
|
||||
__Unused216: 'Null',
|
||||
__Unused217: 'Null',
|
||||
__Unused218: 'Null',
|
||||
__Unused219: 'Null',
|
||||
__Unused220: 'Null',
|
||||
__Unused221: 'Null',
|
||||
__Unused222: 'Null',
|
||||
__Unused223: 'Null',
|
||||
__Unused224: 'Null',
|
||||
__Unused225: 'Null',
|
||||
__Unused226: 'Null',
|
||||
__Unused227: 'Null',
|
||||
__Unused228: 'Null',
|
||||
__Unused229: 'Null',
|
||||
__Unused230: 'Null',
|
||||
__Unused231: 'Null',
|
||||
__Unused232: 'Null',
|
||||
__Unused233: 'Null',
|
||||
__Unused234: 'Null',
|
||||
__Unused235: 'Null',
|
||||
__Unused236: 'Null',
|
||||
__Unused237: 'Null',
|
||||
__Unused238: 'Null',
|
||||
__Unused239: 'Null',
|
||||
__Unused240: 'Null',
|
||||
__Unused241: 'Null',
|
||||
__Unused242: 'Null',
|
||||
__Unused243: 'Null',
|
||||
__Unused244: 'Null',
|
||||
__Unused245: 'Null',
|
||||
__Unused246: 'Null',
|
||||
__Unused247: 'Null',
|
||||
__Unused248: 'Null',
|
||||
__Unused249: 'Null',
|
||||
__Unused250: 'Null',
|
||||
__Unused251: 'Null',
|
||||
__Unused252: 'Null',
|
||||
__Unused253: 'Null',
|
||||
__Unused254: 'Null',
|
||||
RcMigrator: 'PalletRcMigratorError'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -7351,7 +7351,7 @@ export default {
|
||||
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
|
||||
},
|
||||
/**
|
||||
* Lookup621: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, DataProvider>
|
||||
* Lookup621: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, VoterType>
|
||||
**/
|
||||
PalletElectionProviderMultiPhaseRoundSnapshot: {
|
||||
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
||||
@@ -9436,17 +9436,30 @@ export default {
|
||||
_enum: ['DoesntExist', 'KeyDecodingFailed']
|
||||
},
|
||||
/**
|
||||
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerConfig
|
||||
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerType
|
||||
**/
|
||||
PalletReviveEvmApiDebugRpcTypesTracerConfig: {
|
||||
PalletReviveEvmApiDebugRpcTypesTracerType: {
|
||||
_enum: {
|
||||
CallTracer: {
|
||||
withLogs: 'bool'
|
||||
}
|
||||
CallTracer: 'Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup1087: pallet_revive::evm::api::debug_rpc_types::CallTrace<primitive_types::U256>
|
||||
* Lookup1086: pallet_revive::evm::api::debug_rpc_types::CallTracerConfig
|
||||
**/
|
||||
PalletReviveEvmApiDebugRpcTypesCallTracerConfig: {
|
||||
withLogs: 'bool',
|
||||
onlyTopCall: 'bool'
|
||||
},
|
||||
/**
|
||||
* Lookup1089: pallet_revive::evm::api::debug_rpc_types::Trace
|
||||
**/
|
||||
PalletReviveEvmApiDebugRpcTypesTrace: {
|
||||
_enum: {
|
||||
Call: 'PalletReviveEvmApiDebugRpcTypesCallTrace'
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup1090: pallet_revive::evm::api::debug_rpc_types::CallTrace<primitive_types::U256>
|
||||
**/
|
||||
PalletReviveEvmApiDebugRpcTypesCallTrace: {
|
||||
from: 'H160',
|
||||
@@ -9463,7 +9476,7 @@ export default {
|
||||
callType: 'PalletReviveEvmApiDebugRpcTypesCallType'
|
||||
},
|
||||
/**
|
||||
* Lookup1091: pallet_revive::evm::api::debug_rpc_types::CallLog
|
||||
* Lookup1094: pallet_revive::evm::api::debug_rpc_types::CallLog
|
||||
**/
|
||||
PalletReviveEvmApiDebugRpcTypesCallLog: {
|
||||
address: 'H160',
|
||||
@@ -9472,13 +9485,13 @@ export default {
|
||||
position: 'u32'
|
||||
},
|
||||
/**
|
||||
* Lookup1092: pallet_revive::evm::api::debug_rpc_types::CallType
|
||||
* Lookup1095: pallet_revive::evm::api::debug_rpc_types::CallType
|
||||
**/
|
||||
PalletReviveEvmApiDebugRpcTypesCallType: {
|
||||
_enum: ['Call', 'StaticCall', 'DelegateCall']
|
||||
},
|
||||
/**
|
||||
* Lookup1095: pallet_transaction_payment::types::RuntimeDispatchInfo<Balance, sp_weights::weight_v2::Weight>
|
||||
* Lookup1098: pallet_transaction_payment::types::RuntimeDispatchInfo<Balance, sp_weights::weight_v2::Weight>
|
||||
**/
|
||||
PalletTransactionPaymentRuntimeDispatchInfo: {
|
||||
weight: 'SpWeightsWeightV2Weight',
|
||||
@@ -9486,14 +9499,14 @@ export default {
|
||||
partialFee: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup1096: pallet_transaction_payment::types::FeeDetails<Balance>
|
||||
* Lookup1099: pallet_transaction_payment::types::FeeDetails<Balance>
|
||||
**/
|
||||
PalletTransactionPaymentFeeDetails: {
|
||||
inclusionFee: 'Option<PalletTransactionPaymentInclusionFee>',
|
||||
tip: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup1098: pallet_transaction_payment::types::InclusionFee<Balance>
|
||||
* Lookup1101: pallet_transaction_payment::types::InclusionFee<Balance>
|
||||
**/
|
||||
PalletTransactionPaymentInclusionFee: {
|
||||
baseFee: 'u128',
|
||||
@@ -9501,14 +9514,14 @@ export default {
|
||||
adjustedWeightFee: 'u128'
|
||||
},
|
||||
/**
|
||||
* Lookup1102: sp_consensus_beefy::ValidatorSet<sp_consensus_beefy::ecdsa_crypto::Public>
|
||||
* Lookup1105: sp_consensus_beefy::ValidatorSet<sp_consensus_beefy::ecdsa_crypto::Public>
|
||||
**/
|
||||
SpConsensusBeefyValidatorSet: {
|
||||
validators: 'Vec<SpConsensusBeefyEcdsaCryptoPublic>',
|
||||
id: 'u64'
|
||||
},
|
||||
/**
|
||||
* Lookup1103: sp_consensus_beefy::ForkVotingProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_beefy::ecdsa_crypto::Public, sp_runtime::OpaqueValue>
|
||||
* Lookup1106: sp_consensus_beefy::ForkVotingProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_beefy::ecdsa_crypto::Public, sp_runtime::OpaqueValue>
|
||||
**/
|
||||
SpConsensusBeefyForkVotingProofOpaqueValue: {
|
||||
vote: 'SpConsensusBeefyVoteMessage',
|
||||
@@ -9516,13 +9529,13 @@ export default {
|
||||
header: 'SpRuntimeHeader'
|
||||
},
|
||||
/**
|
||||
* Lookup1105: sp_mmr_primitives::Error
|
||||
* Lookup1108: sp_mmr_primitives::Error
|
||||
**/
|
||||
SpMmrPrimitivesError: {
|
||||
_enum: ['InvalidNumericOp', 'Push', 'GetRoot', 'Commit', 'GenerateProof', 'Verify', 'LeafNotFound', 'PalletNotIncluded', 'InvalidLeafIndex', 'InvalidBestKnownBlock']
|
||||
},
|
||||
/**
|
||||
* Lookup1111: sp_mmr_primitives::LeafProof<primitive_types::H256>
|
||||
* Lookup1114: sp_mmr_primitives::LeafProof<primitive_types::H256>
|
||||
**/
|
||||
SpMmrPrimitivesLeafProof: {
|
||||
leafIndices: 'Vec<u64>',
|
||||
@@ -9530,20 +9543,20 @@ export default {
|
||||
items: 'Vec<H256>'
|
||||
},
|
||||
/**
|
||||
* Lookup1113: sp_mixnet::types::SessionStatus
|
||||
* Lookup1116: sp_mixnet::types::SessionStatus
|
||||
**/
|
||||
SpMixnetSessionStatus: {
|
||||
currentIndex: 'u32',
|
||||
phase: 'SpMixnetSessionPhase'
|
||||
},
|
||||
/**
|
||||
* Lookup1114: sp_mixnet::types::SessionPhase
|
||||
* Lookup1117: sp_mixnet::types::SessionPhase
|
||||
**/
|
||||
SpMixnetSessionPhase: {
|
||||
_enum: ['CoverToCurrent', 'RequestsToCurrent', 'CoverToPrev', 'DisconnectFromPrev']
|
||||
},
|
||||
/**
|
||||
* Lookup1117: sp_mixnet::types::Mixnode
|
||||
* Lookup1120: sp_mixnet::types::Mixnode
|
||||
**/
|
||||
SpMixnetMixnode: {
|
||||
kxPublic: '[u8;32]',
|
||||
@@ -9551,7 +9564,7 @@ export default {
|
||||
externalAddresses: 'Vec<Bytes>'
|
||||
},
|
||||
/**
|
||||
* Lookup1118: sp_mixnet::types::MixnodesErr
|
||||
* Lookup1121: sp_mixnet::types::MixnodesErr
|
||||
**/
|
||||
SpMixnetMixnodesErr: {
|
||||
_enum: {
|
||||
@@ -9562,7 +9575,7 @@ export default {
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Lookup1124: kitchensink_runtime::RuntimeError
|
||||
* Lookup1127: kitchensink_runtime::RuntimeError
|
||||
**/
|
||||
KitchensinkRuntimeRuntimeError: {
|
||||
_enum: {
|
||||
|
||||
@@ -5,11 +5,200 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/lookup';
|
||||
|
||||
import type { Bytes, Enum, Null, Option, Struct, U8aFixed, Vec, u32 } from '@polkadot/types-codec';
|
||||
import type { Call, MultiAddress } from '@polkadot/types/interfaces/runtime';
|
||||
import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, Call, H160, H256, MultiAddress, PerU16, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
declare module '@polkadot/types/lookup' {
|
||||
/** @name AssetHubKusamaRuntimeProxyType (146) */
|
||||
/** @name AssetHubKusamaRuntimeRuntimeTask (32) */
|
||||
type AssetHubKusamaRuntimeRuntimeTask = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeParametersKey (43) */
|
||||
interface AssetHubKusamaRuntimeRuntimeParametersKey extends Enum {
|
||||
readonly isIssuance: boolean;
|
||||
readonly asIssuance: AssetHubKusamaRuntimeDynamicParamsIssuanceParametersKey;
|
||||
readonly isTreasury: boolean;
|
||||
readonly asTreasury: AssetHubKusamaRuntimeDynamicParamsTreasuryParametersKey;
|
||||
readonly isStakingElection: boolean;
|
||||
readonly asStakingElection: AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersKey;
|
||||
readonly isScheduler: boolean;
|
||||
readonly asScheduler: AssetHubKusamaRuntimeDynamicParamsSchedulerParametersKey;
|
||||
readonly isMessageQueue: boolean;
|
||||
readonly asMessageQueue: AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersKey;
|
||||
readonly type: 'Issuance' | 'Treasury' | 'StakingElection' | 'Scheduler' | 'MessageQueue';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsIssuanceParametersKey (44) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsIssuanceParametersKey extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly isMaxInflation: boolean;
|
||||
readonly isIdealStake: boolean;
|
||||
readonly isFalloff: boolean;
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsIssuanceMinInflation (45) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsIssuanceMinInflation = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsIssuanceMaxInflation (46) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsIssuanceMaxInflation = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsIssuanceIdealStake (47) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsIssuanceIdealStake = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsIssuanceFalloff (48) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsIssuanceFalloff = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsTreasuryParametersKey (49) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsTreasuryParametersKey extends Enum {
|
||||
readonly isBurnPortion: boolean;
|
||||
readonly isBurnDestination: boolean;
|
||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsTreasuryBurnPortion (50) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsTreasuryBurnPortion = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsTreasuryBurnDestination (51) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsTreasuryBurnDestination = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersKey (52) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersKey extends Enum {
|
||||
readonly isSignedPhase: boolean;
|
||||
readonly isMaxSignedSubmissions: boolean;
|
||||
readonly isUnsignedPhase: boolean;
|
||||
readonly isMinerPages: boolean;
|
||||
readonly isMaxElectingVoters: boolean;
|
||||
readonly isTargetSnapshotPerBlock: boolean;
|
||||
readonly isMaxEraDuration: boolean;
|
||||
readonly type: 'SignedPhase' | 'MaxSignedSubmissions' | 'UnsignedPhase' | 'MinerPages' | 'MaxElectingVoters' | 'TargetSnapshotPerBlock' | 'MaxEraDuration';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionSignedPhase (53) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsStakingElectionSignedPhase = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxSignedSubmissions (54) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxSignedSubmissions = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionUnsignedPhase (55) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsStakingElectionUnsignedPhase = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionMinerPages (56) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsStakingElectionMinerPages = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxElectingVoters (57) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxElectingVoters = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionTargetSnapshotPerBlock (58) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsStakingElectionTargetSnapshotPerBlock = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxEraDuration (59) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxEraDuration = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsSchedulerParametersKey (60) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsSchedulerParametersKey extends Enum {
|
||||
readonly isMaxScheduledPerBlock: boolean;
|
||||
readonly isMaximumWeight: boolean;
|
||||
readonly type: 'MaxScheduledPerBlock' | 'MaximumWeight';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsSchedulerMaxScheduledPerBlock (61) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsSchedulerMaxScheduledPerBlock = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsSchedulerMaximumWeight (62) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsSchedulerMaximumWeight = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersKey (63) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersKey extends Enum {
|
||||
readonly isMaxOnInitWeight: boolean;
|
||||
readonly isMaxOnIdleWeight: boolean;
|
||||
readonly type: 'MaxOnInitWeight' | 'MaxOnIdleWeight';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnInitWeight (64) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnInitWeight = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnIdleWeight (65) */
|
||||
type AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnIdleWeight = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeParametersValue (67) */
|
||||
interface AssetHubKusamaRuntimeRuntimeParametersValue extends Enum {
|
||||
readonly isIssuance: boolean;
|
||||
readonly asIssuance: AssetHubKusamaRuntimeDynamicParamsIssuanceParametersValue;
|
||||
readonly isTreasury: boolean;
|
||||
readonly asTreasury: AssetHubKusamaRuntimeDynamicParamsTreasuryParametersValue;
|
||||
readonly isStakingElection: boolean;
|
||||
readonly asStakingElection: AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersValue;
|
||||
readonly isScheduler: boolean;
|
||||
readonly asScheduler: AssetHubKusamaRuntimeDynamicParamsSchedulerParametersValue;
|
||||
readonly isMessageQueue: boolean;
|
||||
readonly asMessageQueue: AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersValue;
|
||||
readonly type: 'Issuance' | 'Treasury' | 'StakingElection' | 'Scheduler' | 'MessageQueue';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsIssuanceParametersValue (68) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsIssuanceParametersValue extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly asMinInflation: Perquintill;
|
||||
readonly isMaxInflation: boolean;
|
||||
readonly asMaxInflation: Perquintill;
|
||||
readonly isIdealStake: boolean;
|
||||
readonly asIdealStake: Perquintill;
|
||||
readonly isFalloff: boolean;
|
||||
readonly asFalloff: Perquintill;
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsTreasuryParametersValue (70) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsTreasuryParametersValue extends Enum {
|
||||
readonly isBurnPortion: boolean;
|
||||
readonly asBurnPortion: Permill;
|
||||
readonly isBurnDestination: boolean;
|
||||
readonly asBurnDestination: AssetHubKusamaRuntimeTreasuryBurnDestinationAccount;
|
||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeTreasuryBurnDestinationAccount (72) */
|
||||
interface AssetHubKusamaRuntimeTreasuryBurnDestinationAccount extends Option<AccountId32> {}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersValue (74) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersValue extends Enum {
|
||||
readonly isSignedPhase: boolean;
|
||||
readonly asSignedPhase: u32;
|
||||
readonly isMaxSignedSubmissions: boolean;
|
||||
readonly asMaxSignedSubmissions: u32;
|
||||
readonly isUnsignedPhase: boolean;
|
||||
readonly asUnsignedPhase: u32;
|
||||
readonly isMinerPages: boolean;
|
||||
readonly asMinerPages: u32;
|
||||
readonly isMaxElectingVoters: boolean;
|
||||
readonly asMaxElectingVoters: u32;
|
||||
readonly isTargetSnapshotPerBlock: boolean;
|
||||
readonly asTargetSnapshotPerBlock: u32;
|
||||
readonly isMaxEraDuration: boolean;
|
||||
readonly asMaxEraDuration: u64;
|
||||
readonly type: 'SignedPhase' | 'MaxSignedSubmissions' | 'UnsignedPhase' | 'MinerPages' | 'MaxElectingVoters' | 'TargetSnapshotPerBlock' | 'MaxEraDuration';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsSchedulerParametersValue (75) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsSchedulerParametersValue extends Enum {
|
||||
readonly isMaxScheduledPerBlock: boolean;
|
||||
readonly asMaxScheduledPerBlock: u32;
|
||||
readonly isMaximumWeight: boolean;
|
||||
readonly asMaximumWeight: SpWeightsWeightV2Weight;
|
||||
readonly type: 'MaxScheduledPerBlock' | 'MaximumWeight';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersValue (76) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersValue extends Enum {
|
||||
readonly isMaxOnInitWeight: boolean;
|
||||
readonly asMaxOnInitWeight: Option<SpWeightsWeightV2Weight>;
|
||||
readonly isMaxOnIdleWeight: boolean;
|
||||
readonly asMaxOnIdleWeight: Option<SpWeightsWeightV2Weight>;
|
||||
readonly type: 'MaxOnInitWeight' | 'MaxOnIdleWeight';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeProxyType (193) */
|
||||
interface AssetHubKusamaRuntimeProxyType extends Enum {
|
||||
readonly isAny: boolean;
|
||||
readonly isNonTransfer: boolean;
|
||||
@@ -18,27 +207,148 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly isAssetOwner: boolean;
|
||||
readonly isAssetManager: boolean;
|
||||
readonly isCollator: boolean;
|
||||
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
|
||||
readonly isGovernance: boolean;
|
||||
readonly isStaking: boolean;
|
||||
readonly isNominationPools: boolean;
|
||||
readonly isAuction: boolean;
|
||||
readonly isParaRegistration: boolean;
|
||||
readonly isSociety: boolean;
|
||||
readonly isSpokesperson: boolean;
|
||||
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | 'Governance' | 'Staking' | 'NominationPools' | 'Auction' | 'ParaRegistration' | 'Society' | 'Spokesperson';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeHoldReason (248) */
|
||||
interface AssetHubKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||
readonly isNftFractionalization: boolean;
|
||||
readonly asNftFractionalization: PalletNftFractionalizationHoldReason;
|
||||
readonly isStateTrieMigration: boolean;
|
||||
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
||||
readonly type: 'NftFractionalization' | 'StateTrieMigration';
|
||||
/** @name AssetHubKusamaRuntimeRuntime (220) */
|
||||
type AssetHubKusamaRuntimeRuntime = Null;
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeParameters (308) */
|
||||
interface AssetHubKusamaRuntimeRuntimeParameters extends Enum {
|
||||
readonly isIssuance: boolean;
|
||||
readonly asIssuance: AssetHubKusamaRuntimeDynamicParamsIssuanceParameters;
|
||||
readonly isTreasury: boolean;
|
||||
readonly asTreasury: AssetHubKusamaRuntimeDynamicParamsTreasuryParameters;
|
||||
readonly isStakingElection: boolean;
|
||||
readonly asStakingElection: AssetHubKusamaRuntimeDynamicParamsStakingElectionParameters;
|
||||
readonly isScheduler: boolean;
|
||||
readonly asScheduler: AssetHubKusamaRuntimeDynamicParamsSchedulerParameters;
|
||||
readonly isMessageQueue: boolean;
|
||||
readonly asMessageQueue: AssetHubKusamaRuntimeDynamicParamsMessageQueueParameters;
|
||||
readonly type: 'Issuance' | 'Treasury' | 'StakingElection' | 'Scheduler' | 'MessageQueue';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeSessionKeys (275) */
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsIssuanceParameters (309) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsIssuanceParameters extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly asMinInflation: ITuple<[AssetHubKusamaRuntimeDynamicParamsIssuanceMinInflation, Option<Perquintill>]>;
|
||||
readonly isMaxInflation: boolean;
|
||||
readonly asMaxInflation: ITuple<[AssetHubKusamaRuntimeDynamicParamsIssuanceMaxInflation, Option<Perquintill>]>;
|
||||
readonly isIdealStake: boolean;
|
||||
readonly asIdealStake: ITuple<[AssetHubKusamaRuntimeDynamicParamsIssuanceIdealStake, Option<Perquintill>]>;
|
||||
readonly isFalloff: boolean;
|
||||
readonly asFalloff: ITuple<[AssetHubKusamaRuntimeDynamicParamsIssuanceFalloff, Option<Perquintill>]>;
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsTreasuryParameters (311) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsTreasuryParameters extends Enum {
|
||||
readonly isBurnPortion: boolean;
|
||||
readonly asBurnPortion: ITuple<[AssetHubKusamaRuntimeDynamicParamsTreasuryBurnPortion, Option<Permill>]>;
|
||||
readonly isBurnDestination: boolean;
|
||||
readonly asBurnDestination: ITuple<[AssetHubKusamaRuntimeDynamicParamsTreasuryBurnDestination, Option<AssetHubKusamaRuntimeTreasuryBurnDestinationAccount>]>;
|
||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsStakingElectionParameters (314) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsStakingElectionParameters extends Enum {
|
||||
readonly isSignedPhase: boolean;
|
||||
readonly asSignedPhase: ITuple<[AssetHubKusamaRuntimeDynamicParamsStakingElectionSignedPhase, Option<u32>]>;
|
||||
readonly isMaxSignedSubmissions: boolean;
|
||||
readonly asMaxSignedSubmissions: ITuple<[AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxSignedSubmissions, Option<u32>]>;
|
||||
readonly isUnsignedPhase: boolean;
|
||||
readonly asUnsignedPhase: ITuple<[AssetHubKusamaRuntimeDynamicParamsStakingElectionUnsignedPhase, Option<u32>]>;
|
||||
readonly isMinerPages: boolean;
|
||||
readonly asMinerPages: ITuple<[AssetHubKusamaRuntimeDynamicParamsStakingElectionMinerPages, Option<u32>]>;
|
||||
readonly isMaxElectingVoters: boolean;
|
||||
readonly asMaxElectingVoters: ITuple<[AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxElectingVoters, Option<u32>]>;
|
||||
readonly isTargetSnapshotPerBlock: boolean;
|
||||
readonly asTargetSnapshotPerBlock: ITuple<[AssetHubKusamaRuntimeDynamicParamsStakingElectionTargetSnapshotPerBlock, Option<u32>]>;
|
||||
readonly isMaxEraDuration: boolean;
|
||||
readonly asMaxEraDuration: ITuple<[AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxEraDuration, Option<u64>]>;
|
||||
readonly type: 'SignedPhase' | 'MaxSignedSubmissions' | 'UnsignedPhase' | 'MinerPages' | 'MaxElectingVoters' | 'TargetSnapshotPerBlock' | 'MaxEraDuration';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsSchedulerParameters (315) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsSchedulerParameters extends Enum {
|
||||
readonly isMaxScheduledPerBlock: boolean;
|
||||
readonly asMaxScheduledPerBlock: ITuple<[AssetHubKusamaRuntimeDynamicParamsSchedulerMaxScheduledPerBlock, Option<u32>]>;
|
||||
readonly isMaximumWeight: boolean;
|
||||
readonly asMaximumWeight: ITuple<[AssetHubKusamaRuntimeDynamicParamsSchedulerMaximumWeight, Option<SpWeightsWeightV2Weight>]>;
|
||||
readonly type: 'MaxScheduledPerBlock' | 'MaximumWeight';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeDynamicParamsMessageQueueParameters (316) */
|
||||
interface AssetHubKusamaRuntimeDynamicParamsMessageQueueParameters extends Enum {
|
||||
readonly isMaxOnInitWeight: boolean;
|
||||
readonly asMaxOnInitWeight: ITuple<[AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnInitWeight, Option<Option<SpWeightsWeightV2Weight>>]>;
|
||||
readonly isMaxOnIdleWeight: boolean;
|
||||
readonly asMaxOnIdleWeight: ITuple<[AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnIdleWeight, Option<Option<SpWeightsWeightV2Weight>>]>;
|
||||
readonly type: 'MaxOnInitWeight' | 'MaxOnIdleWeight';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeSessionKeys (333) */
|
||||
interface AssetHubKusamaRuntimeSessionKeys extends Struct {
|
||||
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
|
||||
}
|
||||
|
||||
/** @name SpConsensusAuraSr25519AppSr25519Public (276) */
|
||||
/** @name SpConsensusAuraSr25519AppSr25519Public (334) */
|
||||
interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {}
|
||||
|
||||
/** @name PalletRemoteProxyCall (380) */
|
||||
/** @name AssetHubKusamaRuntimeOriginCaller (385) */
|
||||
interface AssetHubKusamaRuntimeOriginCaller extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSupportDispatchRawOrigin;
|
||||
readonly isPolkadotXcm: boolean;
|
||||
readonly asPolkadotXcm: PalletXcmOrigin;
|
||||
readonly isCumulusXcm: boolean;
|
||||
readonly asCumulusXcm: CumulusPalletXcmOrigin;
|
||||
readonly isOrigins: boolean;
|
||||
readonly asOrigins: AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin;
|
||||
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm' | 'Origins';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (389) */
|
||||
interface AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin extends Enum {
|
||||
readonly isStakingAdmin: boolean;
|
||||
readonly isTreasurer: boolean;
|
||||
readonly isFellowshipAdmin: boolean;
|
||||
readonly isGeneralAdmin: boolean;
|
||||
readonly isAuctionAdmin: boolean;
|
||||
readonly isLeaseAdmin: boolean;
|
||||
readonly isReferendumCanceller: boolean;
|
||||
readonly isReferendumKiller: boolean;
|
||||
readonly isSmallTipper: boolean;
|
||||
readonly isBigTipper: boolean;
|
||||
readonly isSmallSpender: boolean;
|
||||
readonly isMediumSpender: boolean;
|
||||
readonly isBigSpender: boolean;
|
||||
readonly isWhitelistedCaller: boolean;
|
||||
readonly isFellowshipInitiates: boolean;
|
||||
readonly isFellows: boolean;
|
||||
readonly isFellowshipExperts: boolean;
|
||||
readonly isFellowshipMasters: boolean;
|
||||
readonly isFellowship1Dan: boolean;
|
||||
readonly isFellowship2Dan: boolean;
|
||||
readonly isFellowship3Dan: boolean;
|
||||
readonly isFellowship4Dan: boolean;
|
||||
readonly isFellowship5Dan: boolean;
|
||||
readonly isFellowship6Dan: boolean;
|
||||
readonly isFellowship7Dan: boolean;
|
||||
readonly isFellowship8Dan: boolean;
|
||||
readonly isFellowship9Dan: boolean;
|
||||
readonly isWishForChange: boolean;
|
||||
readonly type: 'StakingAdmin' | 'Treasurer' | 'FellowshipAdmin' | 'GeneralAdmin' | 'AuctionAdmin' | 'LeaseAdmin' | 'ReferendumCanceller' | 'ReferendumKiller' | 'SmallTipper' | 'BigTipper' | 'SmallSpender' | 'MediumSpender' | 'BigSpender' | 'WhitelistedCaller' | 'FellowshipInitiates' | 'Fellows' | 'FellowshipExperts' | 'FellowshipMasters' | 'Fellowship1Dan' | 'Fellowship2Dan' | 'Fellowship3Dan' | 'Fellowship4Dan' | 'Fellowship5Dan' | 'Fellowship6Dan' | 'Fellowship7Dan' | 'Fellowship8Dan' | 'Fellowship9Dan' | 'WishForChange';
|
||||
}
|
||||
|
||||
/** @name PalletRemoteProxyCall (394) */
|
||||
interface PalletRemoteProxyCall extends Enum {
|
||||
readonly isRemoteProxy: boolean;
|
||||
readonly asRemoteProxy: {
|
||||
@@ -60,7 +370,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'RemoteProxy' | 'RegisterRemoteProxyProof' | 'RemoteProxyWithRegisteredProof';
|
||||
}
|
||||
|
||||
/** @name PalletRemoteProxyRemoteProxyProof (381) */
|
||||
/** @name PalletRemoteProxyRemoteProxyProof (395) */
|
||||
interface PalletRemoteProxyRemoteProxyProof extends Enum {
|
||||
readonly isRelayChain: boolean;
|
||||
readonly asRelayChain: {
|
||||
@@ -70,18 +380,233 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'RelayChain';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeOriginCaller (419) */
|
||||
interface AssetHubKusamaRuntimeOriginCaller extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSupportDispatchRawOrigin;
|
||||
readonly isPolkadotXcm: boolean;
|
||||
readonly asPolkadotXcm: PalletXcmOrigin;
|
||||
readonly isCumulusXcm: boolean;
|
||||
readonly asCumulusXcm: CumulusPalletXcmOrigin;
|
||||
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
|
||||
/** @name AssetHubKusamaRuntimeStakingNposCompactSolution24 (466) */
|
||||
interface AssetHubKusamaRuntimeStakingNposCompactSolution24 extends Struct {
|
||||
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
|
||||
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
|
||||
readonly votes3: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes4: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes5: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes6: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes7: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes8: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes9: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes10: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes11: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes12: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes13: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes14: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes15: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes16: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes17: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes18: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes19: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes20: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes21: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes22: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes23: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
}
|
||||
|
||||
/** @name PalletRemoteProxyError (440) */
|
||||
/** @name PalletProxyProxyDefinitionKusamaRuntimeConstantsProxyProxyType (598) */
|
||||
interface PalletProxyProxyDefinitionKusamaRuntimeConstantsProxyProxyType extends Struct {
|
||||
readonly delegate: AccountId32;
|
||||
readonly proxyType: KusamaRuntimeConstantsProxyProxyType;
|
||||
readonly delay: u32;
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeAhMigrationRcPalletsOrigin (650) */
|
||||
interface AssetHubKusamaRuntimeAhMigrationRcPalletsOrigin extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSupportDispatchRawOrigin;
|
||||
readonly isOrigins: boolean;
|
||||
readonly asOrigins: AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin;
|
||||
readonly type: 'System' | 'Origins';
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorRecoveryPortableRecoveryMessage (746) */
|
||||
interface PalletRcMigratorRecoveryPortableRecoveryMessage extends Enum {
|
||||
readonly isRecoverable: boolean;
|
||||
readonly asRecoverable: ITuple<[AccountId32, PalletRcMigratorRecoveryPortableRecoveryConfig]>;
|
||||
readonly isActiveRecoveries: boolean;
|
||||
readonly asActiveRecoveries: ITuple<[AccountId32, AccountId32, PalletRcMigratorRecoveryPortableActiveRecovery]>;
|
||||
readonly isProxy: boolean;
|
||||
readonly asProxy: ITuple<[AccountId32, AccountId32]>;
|
||||
readonly type: 'Recoverable' | 'ActiveRecoveries' | 'Proxy';
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorRecoveryPortableRecoveryConfig (748) */
|
||||
interface PalletRcMigratorRecoveryPortableRecoveryConfig extends Struct {
|
||||
readonly delayPeriod: u32;
|
||||
readonly deposit: u128;
|
||||
readonly friends: PalletRcMigratorRecoveryPortableRecoveryFriends;
|
||||
readonly threshold: u16;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorRecoveryPortableRecoveryFriends (749) */
|
||||
interface PalletRcMigratorRecoveryPortableRecoveryFriends extends Struct {
|
||||
readonly friends: Vec<AccountId32>;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorRecoveryPortableActiveRecovery (752) */
|
||||
interface PalletRcMigratorRecoveryPortableActiveRecovery extends Struct {
|
||||
readonly created: u32;
|
||||
readonly deposit: u128;
|
||||
readonly friends: PalletRcMigratorRecoveryPortableRecoveryFriends;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableSocietyMessage (755) */
|
||||
interface PalletRcMigratorSocietyPortableSocietyMessage extends Enum {
|
||||
readonly isValues: boolean;
|
||||
readonly asValues: PalletRcMigratorSocietySocietyValues;
|
||||
readonly isMember: boolean;
|
||||
readonly asMember: ITuple<[AccountId32, PalletRcMigratorSocietyPortableMemberRecord]>;
|
||||
readonly isPayout: boolean;
|
||||
readonly asPayout: ITuple<[AccountId32, PalletRcMigratorSocietyPortablePayoutRecord]>;
|
||||
readonly isMemberByIndex: boolean;
|
||||
readonly asMemberByIndex: ITuple<[u32, AccountId32]>;
|
||||
readonly isSuspendedMembers: boolean;
|
||||
readonly asSuspendedMembers: ITuple<[AccountId32, PalletRcMigratorSocietyPortableMemberRecord]>;
|
||||
readonly isCandidates: boolean;
|
||||
readonly asCandidates: ITuple<[AccountId32, PalletRcMigratorSocietyPortableCandidacy]>;
|
||||
readonly isVotes: boolean;
|
||||
readonly asVotes: ITuple<[AccountId32, AccountId32, PalletRcMigratorSocietyPortableVote]>;
|
||||
readonly isVoteClearCursor: boolean;
|
||||
readonly asVoteClearCursor: ITuple<[AccountId32, Bytes]>;
|
||||
readonly isDefenderVotes: boolean;
|
||||
readonly asDefenderVotes: ITuple<[u32, AccountId32, PalletRcMigratorSocietyPortableVote]>;
|
||||
readonly type: 'Values' | 'Member' | 'Payout' | 'MemberByIndex' | 'SuspendedMembers' | 'Candidates' | 'Votes' | 'VoteClearCursor' | 'DefenderVotes';
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietySocietyValues (756) */
|
||||
interface PalletRcMigratorSocietySocietyValues extends Struct {
|
||||
readonly parameters: Option<PalletRcMigratorSocietyPortableGroupParams>;
|
||||
readonly pot: Option<u128>;
|
||||
readonly founder: Option<AccountId32>;
|
||||
readonly head: Option<AccountId32>;
|
||||
readonly rules: Option<H256>;
|
||||
readonly memberCount: Option<u32>;
|
||||
readonly roundCount: Option<u32>;
|
||||
readonly bids: Option<Vec<PalletRcMigratorSocietyPortableBid>>;
|
||||
readonly sceptic: Option<AccountId32>;
|
||||
readonly nextHead: Option<PalletRcMigratorSocietyPortableIntakeRecord>;
|
||||
readonly challengeRoundCount: Option<u32>;
|
||||
readonly defending: Option<ITuple<[AccountId32, AccountId32, PalletRcMigratorSocietyPortableTally]>>;
|
||||
readonly nextIntakeAt: Option<u32>;
|
||||
readonly nextChallengeAt: Option<u32>;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableGroupParams (758) */
|
||||
interface PalletRcMigratorSocietyPortableGroupParams extends Struct {
|
||||
readonly maxMembers: u32;
|
||||
readonly maxIntake: u32;
|
||||
readonly maxStrikes: u32;
|
||||
readonly candidateDeposit: u128;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableBid (761) */
|
||||
interface PalletRcMigratorSocietyPortableBid extends Struct {
|
||||
readonly who: AccountId32;
|
||||
readonly kind: PalletRcMigratorSocietyPortableBidKind;
|
||||
readonly value: u128;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableBidKind (762) */
|
||||
interface PalletRcMigratorSocietyPortableBidKind extends Enum {
|
||||
readonly isDeposit: boolean;
|
||||
readonly asDeposit: u128;
|
||||
readonly isVouch: boolean;
|
||||
readonly asVouch: ITuple<[AccountId32, u128]>;
|
||||
readonly type: 'Deposit' | 'Vouch';
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableIntakeRecord (764) */
|
||||
interface PalletRcMigratorSocietyPortableIntakeRecord extends Struct {
|
||||
readonly who: AccountId32;
|
||||
readonly bid: u128;
|
||||
readonly round: u32;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableTally (767) */
|
||||
interface PalletRcMigratorSocietyPortableTally extends Struct {
|
||||
readonly approvals: u32;
|
||||
readonly rejections: u32;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableMemberRecord (768) */
|
||||
interface PalletRcMigratorSocietyPortableMemberRecord extends Struct {
|
||||
readonly rank: u32;
|
||||
readonly strikes: u32;
|
||||
readonly vouching: Option<PalletRcMigratorSocietyPortableVouchingStatus>;
|
||||
readonly index: u32;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableVouchingStatus (770) */
|
||||
interface PalletRcMigratorSocietyPortableVouchingStatus extends Enum {
|
||||
readonly isVouching: boolean;
|
||||
readonly isBanned: boolean;
|
||||
readonly type: 'Vouching' | 'Banned';
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortablePayoutRecord (771) */
|
||||
interface PalletRcMigratorSocietyPortablePayoutRecord extends Struct {
|
||||
readonly paid: u128;
|
||||
readonly payouts: Vec<ITuple<[u32, u128]>>;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableCandidacy (772) */
|
||||
interface PalletRcMigratorSocietyPortableCandidacy extends Struct {
|
||||
readonly round: u32;
|
||||
readonly kind: PalletRcMigratorSocietyPortableBidKind;
|
||||
readonly bid: u128;
|
||||
readonly tally: PalletRcMigratorSocietyPortableTally;
|
||||
readonly skepticStruck: bool;
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietyPortableVote (773) */
|
||||
interface PalletRcMigratorSocietyPortableVote extends Struct {
|
||||
readonly approve: bool;
|
||||
readonly weight: u32;
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeHoldReason (853) */
|
||||
interface AssetHubKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||
readonly isPreimage: boolean;
|
||||
readonly asPreimage: PalletPreimageHoldReason;
|
||||
readonly isSession: boolean;
|
||||
readonly asSession: PalletSessionHoldReason;
|
||||
readonly isPolkadotXcm: boolean;
|
||||
readonly asPolkadotXcm: PalletXcmHoldReason;
|
||||
readonly isNftFractionalization: boolean;
|
||||
readonly asNftFractionalization: PalletNftFractionalizationHoldReason;
|
||||
readonly isRevive: boolean;
|
||||
readonly asRevive: PalletReviveHoldReason;
|
||||
readonly isStateTrieMigration: boolean;
|
||||
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
||||
readonly isDelegatedStaking: boolean;
|
||||
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
|
||||
readonly isMultiBlockElectionSigned: boolean;
|
||||
readonly asMultiBlockElectionSigned: PalletElectionProviderMultiBlockSignedPalletHoldReason;
|
||||
readonly isStaking: boolean;
|
||||
readonly asStaking: PalletStakingAsyncPalletHoldReason;
|
||||
readonly type: 'Preimage' | 'Session' | 'PolkadotXcm' | 'NftFractionalization' | 'Revive' | 'StateTrieMigration' | 'DelegatedStaking' | 'MultiBlockElectionSigned' | 'Staking';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeFreezeReason (861) */
|
||||
interface AssetHubKusamaRuntimeRuntimeFreezeReason extends Enum {
|
||||
readonly isNominationPools: boolean;
|
||||
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
||||
readonly type: 'NominationPools';
|
||||
}
|
||||
|
||||
/** @name PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType (939) */
|
||||
interface PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType extends Struct {
|
||||
readonly delegate: AccountId32;
|
||||
readonly proxyType: AssetHubKusamaRuntimeProxyType;
|
||||
readonly delay: u32;
|
||||
}
|
||||
|
||||
/** @name PalletRemoteProxyError (947) */
|
||||
interface PalletRemoteProxyError extends Enum {
|
||||
readonly isCouldNotConvertLocalToRemoteAccountId: boolean;
|
||||
readonly isUnknownProofAnchorBlock: boolean;
|
||||
@@ -93,19 +618,74 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'CouldNotConvertLocalToRemoteAccountId' | 'UnknownProofAnchorBlock' | 'InvalidProof' | 'ProxyDefinitionDecodingFailed' | 'Unannounced' | 'DidNotFindMatchingProxyDefinition' | 'ProxyProofNotRegistered';
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntime (508) */
|
||||
type AssetHubKusamaRuntimeRuntime = Null;
|
||||
/** @name PalletReviveVmCodeInfo (1023) */
|
||||
interface PalletReviveVmCodeInfo extends Struct {
|
||||
readonly owner: AccountId32;
|
||||
readonly deposit: Compact<u128>;
|
||||
readonly refcount: Compact<u64>;
|
||||
readonly codeLen: u32;
|
||||
readonly behaviourVersion: u32;
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeError (567) */
|
||||
/** @name PalletReviveStorageAccountInfo (1024) */
|
||||
interface PalletReviveStorageAccountInfo extends Struct {
|
||||
readonly accountType: PalletReviveStorageAccountType;
|
||||
readonly dust: u32;
|
||||
}
|
||||
|
||||
/** @name PalletReviveStorageAccountType (1025) */
|
||||
interface PalletReviveStorageAccountType extends Enum {
|
||||
readonly isContract: boolean;
|
||||
readonly asContract: PalletReviveStorageContractInfo;
|
||||
readonly isEoa: boolean;
|
||||
readonly type: 'Contract' | 'Eoa';
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesPrestateTracerConfig (1233) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesPrestateTracerConfig extends Struct {
|
||||
readonly diffMode: bool;
|
||||
readonly disableStorage: bool;
|
||||
readonly disableCode: bool;
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesPrestateTrace (1242) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesPrestateTrace extends Enum {
|
||||
readonly isPrestate: boolean;
|
||||
readonly asPrestate: BTreeMap<H160, PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo>;
|
||||
readonly isDiffMode: boolean;
|
||||
readonly asDiffMode: {
|
||||
readonly pre: BTreeMap<H160, PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo>;
|
||||
readonly post: BTreeMap<H160, PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo>;
|
||||
} & Struct;
|
||||
readonly type: 'Prestate' | 'DiffMode';
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo (1244) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo extends Struct {
|
||||
readonly balance: Option<U256>;
|
||||
readonly nonce: Option<u32>;
|
||||
readonly code: Option<Bytes>;
|
||||
readonly storage: BTreeMap<Bytes, Option<Bytes>>;
|
||||
}
|
||||
|
||||
/** @name AssetHubKusamaRuntimeRuntimeError (1252) */
|
||||
interface AssetHubKusamaRuntimeRuntimeError extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSystemError;
|
||||
readonly isParachainSystem: boolean;
|
||||
readonly asParachainSystem: CumulusPalletParachainSystemError;
|
||||
readonly isMultiBlockMigrations: boolean;
|
||||
readonly asMultiBlockMigrations: PalletMigrationsError;
|
||||
readonly isPreimage: boolean;
|
||||
readonly asPreimage: PalletPreimageError;
|
||||
readonly isScheduler: boolean;
|
||||
readonly asScheduler: PalletSchedulerError;
|
||||
readonly isBalances: boolean;
|
||||
readonly asBalances: PalletBalancesError;
|
||||
readonly isVesting: boolean;
|
||||
readonly asVesting: PalletVestingError;
|
||||
readonly isClaims: boolean;
|
||||
readonly asClaims: PolkadotRuntimeCommonClaimsPalletError;
|
||||
readonly isCollatorSelection: boolean;
|
||||
readonly asCollatorSelection: PalletCollatorSelectionError;
|
||||
readonly isSession: boolean;
|
||||
@@ -124,6 +704,8 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asProxy: PalletProxyError;
|
||||
readonly isRemoteProxyRelayChain: boolean;
|
||||
readonly asRemoteProxyRelayChain: PalletRemoteProxyError;
|
||||
readonly isIndices: boolean;
|
||||
readonly asIndices: PalletIndicesError;
|
||||
readonly isAssets: boolean;
|
||||
readonly asAssets: PalletAssetsError;
|
||||
readonly isUniques: boolean;
|
||||
@@ -138,9 +720,45 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asPoolAssets: PalletAssetsError;
|
||||
readonly isAssetConversion: boolean;
|
||||
readonly asAssetConversion: PalletAssetConversionError;
|
||||
readonly isRecovery: boolean;
|
||||
readonly asRecovery: PalletRecoveryError;
|
||||
readonly isSociety: boolean;
|
||||
readonly asSociety: PalletSocietyError;
|
||||
readonly isRevive: boolean;
|
||||
readonly asRevive: PalletReviveError;
|
||||
readonly isStateTrieMigration: boolean;
|
||||
readonly asStateTrieMigration: PalletStateTrieMigrationError;
|
||||
readonly type: 'System' | 'ParachainSystem' | 'Balances' | 'Vesting' | 'CollatorSelection' | 'Session' | 'XcmpQueue' | 'PolkadotXcm' | 'MessageQueue' | 'Utility' | 'Multisig' | 'Proxy' | 'RemoteProxyRelayChain' | 'Assets' | 'Uniques' | 'Nfts' | 'ForeignAssets' | 'NftFractionalization' | 'PoolAssets' | 'AssetConversion' | 'StateTrieMigration';
|
||||
readonly isNominationPools: boolean;
|
||||
readonly asNominationPools: PalletNominationPoolsError;
|
||||
readonly isVoterList: boolean;
|
||||
readonly asVoterList: PalletBagsListError;
|
||||
readonly isDelegatedStaking: boolean;
|
||||
readonly asDelegatedStaking: PalletDelegatedStakingError;
|
||||
readonly isMultiBlockElection: boolean;
|
||||
readonly asMultiBlockElection: PalletElectionProviderMultiBlockError;
|
||||
readonly isMultiBlockElectionSigned: boolean;
|
||||
readonly asMultiBlockElectionSigned: PalletElectionProviderMultiBlockSignedPalletError;
|
||||
readonly isStaking: boolean;
|
||||
readonly asStaking: PalletStakingAsyncPalletError;
|
||||
readonly isTreasury: boolean;
|
||||
readonly asTreasury: PalletTreasuryError;
|
||||
readonly isConvictionVoting: boolean;
|
||||
readonly asConvictionVoting: PalletConvictionVotingError;
|
||||
readonly isReferenda: boolean;
|
||||
readonly asReferenda: PalletReferendaError;
|
||||
readonly isWhitelist: boolean;
|
||||
readonly asWhitelist: PalletWhitelistError;
|
||||
readonly isBounties: boolean;
|
||||
readonly asBounties: PalletBountiesError;
|
||||
readonly isChildBounties: boolean;
|
||||
readonly asChildBounties: PalletChildBountiesError;
|
||||
readonly isAssetRate: boolean;
|
||||
readonly asAssetRate: PalletAssetRateError;
|
||||
readonly isAhOps: boolean;
|
||||
readonly asAhOps: PalletAhOpsError;
|
||||
readonly isAhMigrator: boolean;
|
||||
readonly asAhMigrator: PalletAhMigratorError;
|
||||
readonly type: 'System' | 'ParachainSystem' | 'MultiBlockMigrations' | 'Preimage' | 'Scheduler' | 'Balances' | 'Vesting' | 'Claims' | 'CollatorSelection' | 'Session' | 'XcmpQueue' | 'PolkadotXcm' | 'MessageQueue' | 'Utility' | 'Multisig' | 'Proxy' | 'RemoteProxyRelayChain' | 'Indices' | 'Assets' | 'Uniques' | 'Nfts' | 'ForeignAssets' | 'NftFractionalization' | 'PoolAssets' | 'AssetConversion' | 'Recovery' | 'Society' | 'Revive' | 'StateTrieMigration' | 'NominationPools' | 'VoterList' | 'DelegatedStaking' | 'MultiBlockElection' | 'MultiBlockElectionSigned' | 'Staking' | 'Treasury' | 'ConvictionVoting' | 'Referenda' | 'Whitelist' | 'Bounties' | 'ChildBounties' | 'AssetRate' | 'AhOps' | 'AhMigrator';
|
||||
}
|
||||
|
||||
} // declare module
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5,12 +5,12 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/lookup';
|
||||
|
||||
import type { Compact, Enum, Null, Option, Struct, Vec, bool, u128, u16, u32 } from '@polkadot/types-codec';
|
||||
import type { Compact, Enum, Null, Option, Struct, Vec, bool, u16, u32 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { AccountId32, PerU16, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
declare module '@polkadot/types/lookup' {
|
||||
/** @name StagingKusamaRuntimeSessionKeys (136) */
|
||||
/** @name StagingKusamaRuntimeSessionKeys (138) */
|
||||
interface StagingKusamaRuntimeSessionKeys extends Struct {
|
||||
readonly grandpa: SpConsensusGrandpaAppPublic;
|
||||
readonly babe: SpConsensusBabeAppPublic;
|
||||
@@ -20,7 +20,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly beefy: SpConsensusBeefyEcdsaCryptoPublic;
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeOriginCaller (158) */
|
||||
/** @name StagingKusamaRuntimeOriginCaller (160) */
|
||||
interface StagingKusamaRuntimeOriginCaller extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSupportDispatchRawOrigin;
|
||||
@@ -33,7 +33,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'System' | 'Origins' | 'ParachainsOrigin' | 'XcmPallet';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (160) */
|
||||
/** @name StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (162) */
|
||||
interface StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin extends Enum {
|
||||
readonly isStakingAdmin: boolean;
|
||||
readonly isTreasurer: boolean;
|
||||
@@ -66,7 +66,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'StakingAdmin' | 'Treasurer' | 'FellowshipAdmin' | 'GeneralAdmin' | 'AuctionAdmin' | 'LeaseAdmin' | 'ReferendumCanceller' | 'ReferendumKiller' | 'SmallTipper' | 'BigTipper' | 'SmallSpender' | 'MediumSpender' | 'BigSpender' | 'WhitelistedCaller' | 'FellowshipInitiates' | 'Fellows' | 'FellowshipExperts' | 'FellowshipMasters' | 'Fellowship1Dan' | 'Fellowship2Dan' | 'Fellowship3Dan' | 'Fellowship4Dan' | 'Fellowship5Dan' | 'Fellowship6Dan' | 'Fellowship7Dan' | 'Fellowship8Dan' | 'Fellowship9Dan' | 'WishForChange';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParameters (170) */
|
||||
/** @name StagingKusamaRuntimeRuntimeParameters (172) */
|
||||
interface StagingKusamaRuntimeRuntimeParameters extends Enum {
|
||||
readonly isInflation: boolean;
|
||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParameters;
|
||||
@@ -75,7 +75,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Inflation' | 'Treasury';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParameters (171) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParameters (173) */
|
||||
interface StagingKusamaRuntimeDynamicParamsInflationParameters extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly asMinInflation: ITuple<[StagingKusamaRuntimeDynamicParamsInflationMinInflation, Option<Perquintill>]>;
|
||||
@@ -90,22 +90,22 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationMinInflation (172) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationMinInflation (174) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationMinInflation = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationMaxInflation (175) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationMaxInflation (177) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationMaxInflation = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationIdealStake (176) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationIdealStake (178) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationIdealStake = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationFalloff (177) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationFalloff (179) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationFalloff = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots (178) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots (180) */
|
||||
type StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParameters (180) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParameters (182) */
|
||||
interface StagingKusamaRuntimeDynamicParamsTreasuryParameters extends Enum {
|
||||
readonly isBurnPortion: boolean;
|
||||
readonly asBurnPortion: ITuple<[StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, Option<Permill>]>;
|
||||
@@ -114,16 +114,16 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion (181) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion (183) */
|
||||
type StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination (184) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination (186) */
|
||||
type StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeBurnDestinationAccount (186) */
|
||||
/** @name StagingKusamaRuntimeBurnDestinationAccount (188) */
|
||||
interface StagingKusamaRuntimeBurnDestinationAccount extends Option<AccountId32> {}
|
||||
|
||||
/** @name KusamaRuntimeConstantsProxyProxyType (206) */
|
||||
/** @name KusamaRuntimeConstantsProxyProxyType (209) */
|
||||
interface KusamaRuntimeConstantsProxyProxyType extends Enum {
|
||||
readonly isAny: boolean;
|
||||
readonly isNonTransfer: boolean;
|
||||
@@ -138,7 +138,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeNposCompactSolution24 (216) */
|
||||
/** @name StagingKusamaRuntimeNposCompactSolution24 (219) */
|
||||
interface StagingKusamaRuntimeNposCompactSolution24 extends Struct {
|
||||
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
|
||||
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
|
||||
@@ -166,7 +166,42 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersKey (509) */
|
||||
/** @name PalletRcMigratorRecoveryRecoveryStage (539) */
|
||||
interface PalletRcMigratorRecoveryRecoveryStage extends Enum {
|
||||
readonly isRecoverable: boolean;
|
||||
readonly asRecoverable: Option<AccountId32>;
|
||||
readonly isActiveRecoveries: boolean;
|
||||
readonly asActiveRecoveries: Option<ITuple<[AccountId32, AccountId32]>>;
|
||||
readonly isProxy: boolean;
|
||||
readonly asProxy: Option<AccountId32>;
|
||||
readonly isFinished: boolean;
|
||||
readonly type: 'Recoverable' | 'ActiveRecoveries' | 'Proxy' | 'Finished';
|
||||
}
|
||||
|
||||
/** @name PalletRcMigratorSocietySocietyStage (543) */
|
||||
interface PalletRcMigratorSocietySocietyStage extends Enum {
|
||||
readonly isValues: boolean;
|
||||
readonly isMembers: boolean;
|
||||
readonly asMembers: Option<AccountId32>;
|
||||
readonly isPayouts: boolean;
|
||||
readonly asPayouts: Option<AccountId32>;
|
||||
readonly isMemberByIndex: boolean;
|
||||
readonly asMemberByIndex: Option<u32>;
|
||||
readonly isSuspendedMembers: boolean;
|
||||
readonly asSuspendedMembers: Option<AccountId32>;
|
||||
readonly isCandidates: boolean;
|
||||
readonly asCandidates: Option<AccountId32>;
|
||||
readonly isVotes: boolean;
|
||||
readonly asVotes: Option<ITuple<[AccountId32, AccountId32]>>;
|
||||
readonly isVoteClearCursor: boolean;
|
||||
readonly asVoteClearCursor: Option<AccountId32>;
|
||||
readonly isDefenderVotes: boolean;
|
||||
readonly asDefenderVotes: Option<ITuple<[u32, AccountId32]>>;
|
||||
readonly isFinished: boolean;
|
||||
readonly type: 'Values' | 'Members' | 'Payouts' | 'MemberByIndex' | 'SuspendedMembers' | 'Candidates' | 'Votes' | 'VoteClearCursor' | 'DefenderVotes' | 'Finished';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersKey (566) */
|
||||
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
|
||||
readonly isInflation: boolean;
|
||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
|
||||
@@ -175,7 +210,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Inflation' | 'Treasury';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (510) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (567) */
|
||||
interface StagingKusamaRuntimeDynamicParamsInflationParametersKey extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly isMaxInflation: boolean;
|
||||
@@ -185,14 +220,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (511) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (568) */
|
||||
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersKey extends Enum {
|
||||
readonly isBurnPortion: boolean;
|
||||
readonly isBurnDestination: boolean;
|
||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersValue (513) */
|
||||
/** @name StagingKusamaRuntimeRuntimeParametersValue (570) */
|
||||
interface StagingKusamaRuntimeRuntimeParametersValue extends Enum {
|
||||
readonly isInflation: boolean;
|
||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
|
||||
@@ -201,7 +236,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Inflation' | 'Treasury';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (514) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (571) */
|
||||
interface StagingKusamaRuntimeDynamicParamsInflationParametersValue extends Enum {
|
||||
readonly isMinInflation: boolean;
|
||||
readonly asMinInflation: Perquintill;
|
||||
@@ -216,7 +251,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (515) */
|
||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (572) */
|
||||
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersValue extends Enum {
|
||||
readonly isBurnPortion: boolean;
|
||||
readonly asBurnPortion: Permill;
|
||||
@@ -225,34 +260,40 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeHoldReason (604) */
|
||||
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||
readonly isPreimage: boolean;
|
||||
readonly asPreimage: PalletPreimageHoldReason;
|
||||
readonly isNis: boolean;
|
||||
readonly asNis: PalletNisHoldReason;
|
||||
readonly isDelegatedStaking: boolean;
|
||||
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
|
||||
readonly type: 'Preimage' | 'Nis' | 'DelegatedStaking';
|
||||
/** @name PalletRecoveryDepositKind (579) */
|
||||
interface PalletRecoveryDepositKind extends Enum {
|
||||
readonly isRecoveryConfig: boolean;
|
||||
readonly isActiveRecoveryFor: boolean;
|
||||
readonly asActiveRecoveryFor: AccountId32;
|
||||
readonly type: 'RecoveryConfig' | 'ActiveRecoveryFor';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeFreezeReason (611) */
|
||||
/** @name StagingKusamaRuntimeRuntime (580) */
|
||||
type StagingKusamaRuntimeRuntime = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeHoldReason (668) */
|
||||
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||
readonly isStaking: boolean;
|
||||
readonly asStaking: PalletStakingPalletHoldReason;
|
||||
readonly isSession: boolean;
|
||||
readonly asSession: PalletSessionHoldReason;
|
||||
readonly isPreimage: boolean;
|
||||
readonly asPreimage: PalletPreimageHoldReason;
|
||||
readonly isDelegatedStaking: boolean;
|
||||
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
|
||||
readonly isXcmPallet: boolean;
|
||||
readonly asXcmPallet: PalletXcmHoldReason;
|
||||
readonly type: 'Staking' | 'Session' | 'Preimage' | 'DelegatedStaking' | 'XcmPallet';
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeFreezeReason (677) */
|
||||
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
|
||||
readonly isNominationPools: boolean;
|
||||
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
||||
readonly type: 'NominationPools';
|
||||
}
|
||||
|
||||
/** @name FrameSupportTokensMiscIdAmount (783) */
|
||||
interface FrameSupportTokensMiscIdAmount extends Struct {
|
||||
readonly id: Null;
|
||||
readonly amount: u128;
|
||||
}
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntime (970) */
|
||||
type StagingKusamaRuntimeRuntime = Null;
|
||||
|
||||
/** @name StagingKusamaRuntimeRuntimeError (1084) */
|
||||
/** @name StagingKusamaRuntimeRuntimeError (1159) */
|
||||
interface StagingKusamaRuntimeRuntimeError extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSystemError;
|
||||
@@ -300,8 +341,6 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asBounties: PalletBountiesError;
|
||||
readonly isElectionProviderMultiPhase: boolean;
|
||||
readonly asElectionProviderMultiPhase: PalletElectionProviderMultiPhaseError;
|
||||
readonly isNis: boolean;
|
||||
readonly asNis: PalletNisError;
|
||||
readonly isVoterList: boolean;
|
||||
readonly asVoterList: PalletBagsListError;
|
||||
readonly isChildBounties: boolean;
|
||||
@@ -312,10 +351,10 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asFastUnstake: PalletFastUnstakeError;
|
||||
readonly isWhitelist: boolean;
|
||||
readonly asWhitelist: PalletWhitelistError;
|
||||
readonly isNisCounterpartBalances: boolean;
|
||||
readonly asNisCounterpartBalances: PalletBalancesError;
|
||||
readonly isDelegatedStaking: boolean;
|
||||
readonly asDelegatedStaking: PalletDelegatedStakingError;
|
||||
readonly isStakingAhClient: boolean;
|
||||
readonly asStakingAhClient: PalletStakingAsyncAhClientError;
|
||||
readonly isConfiguration: boolean;
|
||||
readonly asConfiguration: PolkadotRuntimeParachainsConfigurationPalletError;
|
||||
readonly isParaInclusion: boolean;
|
||||
@@ -352,7 +391,9 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly asAssetRate: PalletAssetRateError;
|
||||
readonly isBeefy: boolean;
|
||||
readonly asBeefy: PalletBeefyError;
|
||||
readonly type: 'System' | 'Babe' | 'Indices' | 'Balances' | 'Staking' | 'Session' | 'Grandpa' | 'Treasury' | 'Claims' | 'ConvictionVoting' | 'Referenda' | 'FellowshipCollective' | 'FellowshipReferenda' | 'Utility' | 'Society' | 'Recovery' | 'Vesting' | 'Scheduler' | 'Proxy' | 'Multisig' | 'Preimage' | 'Bounties' | 'ElectionProviderMultiPhase' | 'Nis' | 'VoterList' | 'ChildBounties' | 'NominationPools' | 'FastUnstake' | 'Whitelist' | 'NisCounterpartBalances' | 'DelegatedStaking' | 'Configuration' | 'ParaInclusion' | 'ParaInherent' | 'Paras' | 'Hrmp' | 'ParasDisputes' | 'ParasSlashing' | 'OnDemandAssignmentProvider' | 'CoretimeAssignmentProvider' | 'Registrar' | 'Slots' | 'Auctions' | 'Crowdloan' | 'Coretime' | 'XcmPallet' | 'MessageQueue' | 'AssetRate' | 'Beefy';
|
||||
readonly isRcMigrator: boolean;
|
||||
readonly asRcMigrator: PalletRcMigratorError;
|
||||
readonly type: 'System' | 'Babe' | 'Indices' | 'Balances' | 'Staking' | 'Session' | 'Grandpa' | 'Treasury' | 'Claims' | 'ConvictionVoting' | 'Referenda' | 'FellowshipCollective' | 'FellowshipReferenda' | 'Utility' | 'Society' | 'Recovery' | 'Vesting' | 'Scheduler' | 'Proxy' | 'Multisig' | 'Preimage' | 'Bounties' | 'ElectionProviderMultiPhase' | 'VoterList' | 'ChildBounties' | 'NominationPools' | 'FastUnstake' | 'Whitelist' | 'DelegatedStaking' | 'StakingAhClient' | 'Configuration' | 'ParaInclusion' | 'ParaInherent' | 'Paras' | 'Hrmp' | 'ParasDisputes' | 'ParasSlashing' | 'OnDemandAssignmentProvider' | 'CoretimeAssignmentProvider' | 'Registrar' | 'Slots' | 'Auctions' | 'Crowdloan' | 'Coretime' | 'XcmPallet' | 'MessageQueue' | 'AssetRate' | 'Beefy' | 'RcMigrator';
|
||||
}
|
||||
|
||||
} // declare module
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10309,16 +10309,27 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'DoesntExist' | 'KeyDecodingFailed';
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesTracerConfig (1084) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesTracerConfig extends Enum {
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesTracerType (1084) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesTracerType extends Enum {
|
||||
readonly isCallTracer: boolean;
|
||||
readonly asCallTracer: {
|
||||
readonly withLogs: bool;
|
||||
} & Struct;
|
||||
readonly asCallTracer: Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>;
|
||||
readonly type: 'CallTracer';
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesCallTrace (1087) */
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesCallTracerConfig (1086) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesCallTracerConfig extends Struct {
|
||||
readonly withLogs: bool;
|
||||
readonly onlyTopCall: bool;
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesTrace (1089) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesTrace extends Enum {
|
||||
readonly isCall: boolean;
|
||||
readonly asCall: PalletReviveEvmApiDebugRpcTypesCallTrace;
|
||||
readonly type: 'Call';
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesCallTrace (1090) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesCallTrace extends Struct {
|
||||
readonly from: H160;
|
||||
readonly gas: U256;
|
||||
@@ -10334,7 +10345,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly callType: PalletReviveEvmApiDebugRpcTypesCallType;
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1091) */
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1094) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesCallLog extends Struct {
|
||||
readonly address: H160;
|
||||
readonly topics: Vec<H256>;
|
||||
@@ -10342,7 +10353,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly position: u32;
|
||||
}
|
||||
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1092) */
|
||||
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1095) */
|
||||
interface PalletReviveEvmApiDebugRpcTypesCallType extends Enum {
|
||||
readonly isCall: boolean;
|
||||
readonly isStaticCall: boolean;
|
||||
@@ -10350,40 +10361,40 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'Call' | 'StaticCall' | 'DelegateCall';
|
||||
}
|
||||
|
||||
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1095) */
|
||||
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1098) */
|
||||
interface PalletTransactionPaymentRuntimeDispatchInfo extends Struct {
|
||||
readonly weight: SpWeightsWeightV2Weight;
|
||||
readonly class: FrameSupportDispatchDispatchClass;
|
||||
readonly partialFee: u128;
|
||||
}
|
||||
|
||||
/** @name PalletTransactionPaymentFeeDetails (1096) */
|
||||
/** @name PalletTransactionPaymentFeeDetails (1099) */
|
||||
interface PalletTransactionPaymentFeeDetails extends Struct {
|
||||
readonly inclusionFee: Option<PalletTransactionPaymentInclusionFee>;
|
||||
readonly tip: u128;
|
||||
}
|
||||
|
||||
/** @name PalletTransactionPaymentInclusionFee (1098) */
|
||||
/** @name PalletTransactionPaymentInclusionFee (1101) */
|
||||
interface PalletTransactionPaymentInclusionFee extends Struct {
|
||||
readonly baseFee: u128;
|
||||
readonly lenFee: u128;
|
||||
readonly adjustedWeightFee: u128;
|
||||
}
|
||||
|
||||
/** @name SpConsensusBeefyValidatorSet (1102) */
|
||||
/** @name SpConsensusBeefyValidatorSet (1105) */
|
||||
interface SpConsensusBeefyValidatorSet extends Struct {
|
||||
readonly validators: Vec<SpConsensusBeefyEcdsaCryptoPublic>;
|
||||
readonly id: u64;
|
||||
}
|
||||
|
||||
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1103) */
|
||||
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1106) */
|
||||
interface SpConsensusBeefyForkVotingProofOpaqueValue extends Struct {
|
||||
readonly vote: SpConsensusBeefyVoteMessage;
|
||||
readonly ancestryProof: Bytes;
|
||||
readonly header: SpRuntimeHeader;
|
||||
}
|
||||
|
||||
/** @name SpMmrPrimitivesError (1105) */
|
||||
/** @name SpMmrPrimitivesError (1108) */
|
||||
interface SpMmrPrimitivesError extends Enum {
|
||||
readonly isInvalidNumericOp: boolean;
|
||||
readonly isPush: boolean;
|
||||
@@ -10398,20 +10409,20 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InvalidNumericOp' | 'Push' | 'GetRoot' | 'Commit' | 'GenerateProof' | 'Verify' | 'LeafNotFound' | 'PalletNotIncluded' | 'InvalidLeafIndex' | 'InvalidBestKnownBlock';
|
||||
}
|
||||
|
||||
/** @name SpMmrPrimitivesLeafProof (1111) */
|
||||
/** @name SpMmrPrimitivesLeafProof (1114) */
|
||||
interface SpMmrPrimitivesLeafProof extends Struct {
|
||||
readonly leafIndices: Vec<u64>;
|
||||
readonly leafCount: u64;
|
||||
readonly items: Vec<H256>;
|
||||
}
|
||||
|
||||
/** @name SpMixnetSessionStatus (1113) */
|
||||
/** @name SpMixnetSessionStatus (1116) */
|
||||
interface SpMixnetSessionStatus extends Struct {
|
||||
readonly currentIndex: u32;
|
||||
readonly phase: SpMixnetSessionPhase;
|
||||
}
|
||||
|
||||
/** @name SpMixnetSessionPhase (1114) */
|
||||
/** @name SpMixnetSessionPhase (1117) */
|
||||
interface SpMixnetSessionPhase extends Enum {
|
||||
readonly isCoverToCurrent: boolean;
|
||||
readonly isRequestsToCurrent: boolean;
|
||||
@@ -10420,14 +10431,14 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'CoverToCurrent' | 'RequestsToCurrent' | 'CoverToPrev' | 'DisconnectFromPrev';
|
||||
}
|
||||
|
||||
/** @name SpMixnetMixnode (1117) */
|
||||
/** @name SpMixnetMixnode (1120) */
|
||||
interface SpMixnetMixnode extends Struct {
|
||||
readonly kxPublic: U8aFixed;
|
||||
readonly peerId: U8aFixed;
|
||||
readonly externalAddresses: Vec<Bytes>;
|
||||
}
|
||||
|
||||
/** @name SpMixnetMixnodesErr (1118) */
|
||||
/** @name SpMixnetMixnodesErr (1121) */
|
||||
interface SpMixnetMixnodesErr extends Enum {
|
||||
readonly isInsufficientRegistrations: boolean;
|
||||
readonly asInsufficientRegistrations: {
|
||||
@@ -10437,7 +10448,7 @@ declare module '@polkadot/types/lookup' {
|
||||
readonly type: 'InsufficientRegistrations';
|
||||
}
|
||||
|
||||
/** @name KitchensinkRuntimeRuntimeError (1124) */
|
||||
/** @name KitchensinkRuntimeRuntimeError (1127) */
|
||||
interface KitchensinkRuntimeRuntimeError extends Enum {
|
||||
readonly isSystem: boolean;
|
||||
readonly asSystem: FrameSystemError;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -5,19 +5,84 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/types/registry';
|
||||
|
||||
import type { AssetHubKusamaRuntimeOriginCaller, AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntime, AssetHubKusamaRuntimeRuntimeError, AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, PalletRemoteProxyCall, PalletRemoteProxyError, PalletRemoteProxyRemoteProxyProof, SpConsensusAuraSr25519AppSr25519Public } from '@polkadot/types/lookup';
|
||||
import type { AssetHubKusamaRuntimeAhMigrationRcPalletsOrigin, AssetHubKusamaRuntimeDynamicParamsIssuanceFalloff, AssetHubKusamaRuntimeDynamicParamsIssuanceIdealStake, AssetHubKusamaRuntimeDynamicParamsIssuanceMaxInflation, AssetHubKusamaRuntimeDynamicParamsIssuanceMinInflation, AssetHubKusamaRuntimeDynamicParamsIssuanceParameters, AssetHubKusamaRuntimeDynamicParamsIssuanceParametersKey, AssetHubKusamaRuntimeDynamicParamsIssuanceParametersValue, AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnIdleWeight, AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnInitWeight, AssetHubKusamaRuntimeDynamicParamsMessageQueueParameters, AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersKey, AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersValue, AssetHubKusamaRuntimeDynamicParamsSchedulerMaxScheduledPerBlock, AssetHubKusamaRuntimeDynamicParamsSchedulerMaximumWeight, AssetHubKusamaRuntimeDynamicParamsSchedulerParameters, AssetHubKusamaRuntimeDynamicParamsSchedulerParametersKey, AssetHubKusamaRuntimeDynamicParamsSchedulerParametersValue, AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxElectingVoters, AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxEraDuration, AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxSignedSubmissions, AssetHubKusamaRuntimeDynamicParamsStakingElectionMinerPages, AssetHubKusamaRuntimeDynamicParamsStakingElectionParameters, AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersKey, AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersValue, AssetHubKusamaRuntimeDynamicParamsStakingElectionSignedPhase, AssetHubKusamaRuntimeDynamicParamsStakingElectionTargetSnapshotPerBlock, AssetHubKusamaRuntimeDynamicParamsStakingElectionUnsignedPhase, AssetHubKusamaRuntimeDynamicParamsTreasuryBurnDestination, AssetHubKusamaRuntimeDynamicParamsTreasuryBurnPortion, AssetHubKusamaRuntimeDynamicParamsTreasuryParameters, AssetHubKusamaRuntimeDynamicParamsTreasuryParametersKey, AssetHubKusamaRuntimeDynamicParamsTreasuryParametersValue, AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, AssetHubKusamaRuntimeOriginCaller, AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeRuntime, AssetHubKusamaRuntimeRuntimeError, AssetHubKusamaRuntimeRuntimeFreezeReason, AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeRuntimeParameters, AssetHubKusamaRuntimeRuntimeParametersKey, AssetHubKusamaRuntimeRuntimeParametersValue, AssetHubKusamaRuntimeRuntimeTask, AssetHubKusamaRuntimeSessionKeys, AssetHubKusamaRuntimeStakingNposCompactSolution24, AssetHubKusamaRuntimeTreasuryBurnDestinationAccount, PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType, PalletProxyProxyDefinitionKusamaRuntimeConstantsProxyProxyType, PalletRcMigratorRecoveryPortableActiveRecovery, PalletRcMigratorRecoveryPortableRecoveryConfig, PalletRcMigratorRecoveryPortableRecoveryFriends, PalletRcMigratorRecoveryPortableRecoveryMessage, PalletRcMigratorSocietyPortableBid, PalletRcMigratorSocietyPortableBidKind, PalletRcMigratorSocietyPortableCandidacy, PalletRcMigratorSocietyPortableGroupParams, PalletRcMigratorSocietyPortableIntakeRecord, PalletRcMigratorSocietyPortableMemberRecord, PalletRcMigratorSocietyPortablePayoutRecord, PalletRcMigratorSocietyPortableSocietyMessage, PalletRcMigratorSocietyPortableTally, PalletRcMigratorSocietyPortableVote, PalletRcMigratorSocietyPortableVouchingStatus, PalletRcMigratorSocietySocietyValues, PalletRemoteProxyCall, PalletRemoteProxyError, PalletRemoteProxyRemoteProxyProof, PalletReviveEvmApiDebugRpcTypesPrestateTrace, PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo, PalletReviveEvmApiDebugRpcTypesPrestateTracerConfig, PalletReviveStorageAccountInfo, PalletReviveStorageAccountType, PalletReviveVmCodeInfo, SpConsensusAuraSr25519AppSr25519Public } from '@polkadot/types/lookup';
|
||||
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
interface InterfaceTypes {
|
||||
AssetHubKusamaRuntimeAhMigrationRcPalletsOrigin: AssetHubKusamaRuntimeAhMigrationRcPalletsOrigin;
|
||||
AssetHubKusamaRuntimeDynamicParamsIssuanceFalloff: AssetHubKusamaRuntimeDynamicParamsIssuanceFalloff;
|
||||
AssetHubKusamaRuntimeDynamicParamsIssuanceIdealStake: AssetHubKusamaRuntimeDynamicParamsIssuanceIdealStake;
|
||||
AssetHubKusamaRuntimeDynamicParamsIssuanceMaxInflation: AssetHubKusamaRuntimeDynamicParamsIssuanceMaxInflation;
|
||||
AssetHubKusamaRuntimeDynamicParamsIssuanceMinInflation: AssetHubKusamaRuntimeDynamicParamsIssuanceMinInflation;
|
||||
AssetHubKusamaRuntimeDynamicParamsIssuanceParameters: AssetHubKusamaRuntimeDynamicParamsIssuanceParameters;
|
||||
AssetHubKusamaRuntimeDynamicParamsIssuanceParametersKey: AssetHubKusamaRuntimeDynamicParamsIssuanceParametersKey;
|
||||
AssetHubKusamaRuntimeDynamicParamsIssuanceParametersValue: AssetHubKusamaRuntimeDynamicParamsIssuanceParametersValue;
|
||||
AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnIdleWeight: AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnIdleWeight;
|
||||
AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnInitWeight: AssetHubKusamaRuntimeDynamicParamsMessageQueueMaxOnInitWeight;
|
||||
AssetHubKusamaRuntimeDynamicParamsMessageQueueParameters: AssetHubKusamaRuntimeDynamicParamsMessageQueueParameters;
|
||||
AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersKey: AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersKey;
|
||||
AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersValue: AssetHubKusamaRuntimeDynamicParamsMessageQueueParametersValue;
|
||||
AssetHubKusamaRuntimeDynamicParamsSchedulerMaxScheduledPerBlock: AssetHubKusamaRuntimeDynamicParamsSchedulerMaxScheduledPerBlock;
|
||||
AssetHubKusamaRuntimeDynamicParamsSchedulerMaximumWeight: AssetHubKusamaRuntimeDynamicParamsSchedulerMaximumWeight;
|
||||
AssetHubKusamaRuntimeDynamicParamsSchedulerParameters: AssetHubKusamaRuntimeDynamicParamsSchedulerParameters;
|
||||
AssetHubKusamaRuntimeDynamicParamsSchedulerParametersKey: AssetHubKusamaRuntimeDynamicParamsSchedulerParametersKey;
|
||||
AssetHubKusamaRuntimeDynamicParamsSchedulerParametersValue: AssetHubKusamaRuntimeDynamicParamsSchedulerParametersValue;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxElectingVoters: AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxElectingVoters;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxEraDuration: AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxEraDuration;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxSignedSubmissions: AssetHubKusamaRuntimeDynamicParamsStakingElectionMaxSignedSubmissions;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionMinerPages: AssetHubKusamaRuntimeDynamicParamsStakingElectionMinerPages;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionParameters: AssetHubKusamaRuntimeDynamicParamsStakingElectionParameters;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersKey: AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersKey;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersValue: AssetHubKusamaRuntimeDynamicParamsStakingElectionParametersValue;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionSignedPhase: AssetHubKusamaRuntimeDynamicParamsStakingElectionSignedPhase;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionTargetSnapshotPerBlock: AssetHubKusamaRuntimeDynamicParamsStakingElectionTargetSnapshotPerBlock;
|
||||
AssetHubKusamaRuntimeDynamicParamsStakingElectionUnsignedPhase: AssetHubKusamaRuntimeDynamicParamsStakingElectionUnsignedPhase;
|
||||
AssetHubKusamaRuntimeDynamicParamsTreasuryBurnDestination: AssetHubKusamaRuntimeDynamicParamsTreasuryBurnDestination;
|
||||
AssetHubKusamaRuntimeDynamicParamsTreasuryBurnPortion: AssetHubKusamaRuntimeDynamicParamsTreasuryBurnPortion;
|
||||
AssetHubKusamaRuntimeDynamicParamsTreasuryParameters: AssetHubKusamaRuntimeDynamicParamsTreasuryParameters;
|
||||
AssetHubKusamaRuntimeDynamicParamsTreasuryParametersKey: AssetHubKusamaRuntimeDynamicParamsTreasuryParametersKey;
|
||||
AssetHubKusamaRuntimeDynamicParamsTreasuryParametersValue: AssetHubKusamaRuntimeDynamicParamsTreasuryParametersValue;
|
||||
AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: AssetHubKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin;
|
||||
AssetHubKusamaRuntimeOriginCaller: AssetHubKusamaRuntimeOriginCaller;
|
||||
AssetHubKusamaRuntimeProxyType: AssetHubKusamaRuntimeProxyType;
|
||||
AssetHubKusamaRuntimeRuntime: AssetHubKusamaRuntimeRuntime;
|
||||
AssetHubKusamaRuntimeRuntimeError: AssetHubKusamaRuntimeRuntimeError;
|
||||
AssetHubKusamaRuntimeRuntimeFreezeReason: AssetHubKusamaRuntimeRuntimeFreezeReason;
|
||||
AssetHubKusamaRuntimeRuntimeHoldReason: AssetHubKusamaRuntimeRuntimeHoldReason;
|
||||
AssetHubKusamaRuntimeRuntimeParameters: AssetHubKusamaRuntimeRuntimeParameters;
|
||||
AssetHubKusamaRuntimeRuntimeParametersKey: AssetHubKusamaRuntimeRuntimeParametersKey;
|
||||
AssetHubKusamaRuntimeRuntimeParametersValue: AssetHubKusamaRuntimeRuntimeParametersValue;
|
||||
AssetHubKusamaRuntimeRuntimeTask: AssetHubKusamaRuntimeRuntimeTask;
|
||||
AssetHubKusamaRuntimeSessionKeys: AssetHubKusamaRuntimeSessionKeys;
|
||||
AssetHubKusamaRuntimeStakingNposCompactSolution24: AssetHubKusamaRuntimeStakingNposCompactSolution24;
|
||||
AssetHubKusamaRuntimeTreasuryBurnDestinationAccount: AssetHubKusamaRuntimeTreasuryBurnDestinationAccount;
|
||||
PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType: PalletProxyProxyDefinitionAssetHubKusamaRuntimeProxyType;
|
||||
PalletProxyProxyDefinitionKusamaRuntimeConstantsProxyProxyType: PalletProxyProxyDefinitionKusamaRuntimeConstantsProxyProxyType;
|
||||
PalletRcMigratorRecoveryPortableActiveRecovery: PalletRcMigratorRecoveryPortableActiveRecovery;
|
||||
PalletRcMigratorRecoveryPortableRecoveryConfig: PalletRcMigratorRecoveryPortableRecoveryConfig;
|
||||
PalletRcMigratorRecoveryPortableRecoveryFriends: PalletRcMigratorRecoveryPortableRecoveryFriends;
|
||||
PalletRcMigratorRecoveryPortableRecoveryMessage: PalletRcMigratorRecoveryPortableRecoveryMessage;
|
||||
PalletRcMigratorSocietyPortableBid: PalletRcMigratorSocietyPortableBid;
|
||||
PalletRcMigratorSocietyPortableBidKind: PalletRcMigratorSocietyPortableBidKind;
|
||||
PalletRcMigratorSocietyPortableCandidacy: PalletRcMigratorSocietyPortableCandidacy;
|
||||
PalletRcMigratorSocietyPortableGroupParams: PalletRcMigratorSocietyPortableGroupParams;
|
||||
PalletRcMigratorSocietyPortableIntakeRecord: PalletRcMigratorSocietyPortableIntakeRecord;
|
||||
PalletRcMigratorSocietyPortableMemberRecord: PalletRcMigratorSocietyPortableMemberRecord;
|
||||
PalletRcMigratorSocietyPortablePayoutRecord: PalletRcMigratorSocietyPortablePayoutRecord;
|
||||
PalletRcMigratorSocietyPortableSocietyMessage: PalletRcMigratorSocietyPortableSocietyMessage;
|
||||
PalletRcMigratorSocietyPortableTally: PalletRcMigratorSocietyPortableTally;
|
||||
PalletRcMigratorSocietyPortableVote: PalletRcMigratorSocietyPortableVote;
|
||||
PalletRcMigratorSocietyPortableVouchingStatus: PalletRcMigratorSocietyPortableVouchingStatus;
|
||||
PalletRcMigratorSocietySocietyValues: PalletRcMigratorSocietySocietyValues;
|
||||
PalletRemoteProxyCall: PalletRemoteProxyCall;
|
||||
PalletRemoteProxyError: PalletRemoteProxyError;
|
||||
PalletRemoteProxyRemoteProxyProof: PalletRemoteProxyRemoteProxyProof;
|
||||
PalletReviveEvmApiDebugRpcTypesPrestateTrace: PalletReviveEvmApiDebugRpcTypesPrestateTrace;
|
||||
PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo: PalletReviveEvmApiDebugRpcTypesPrestateTraceInfo;
|
||||
PalletReviveEvmApiDebugRpcTypesPrestateTracerConfig: PalletReviveEvmApiDebugRpcTypesPrestateTracerConfig;
|
||||
PalletReviveStorageAccountInfo: PalletReviveStorageAccountInfo;
|
||||
PalletReviveStorageAccountType: PalletReviveStorageAccountType;
|
||||
PalletReviveVmCodeInfo: PalletReviveVmCodeInfo;
|
||||
SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public;
|
||||
} // InterfaceTypes
|
||||
} // declare module
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -33,7 +33,7 @@ import type { BlockStats } from '@polkadot/types/interfaces/dev';
|
||||
import type { CallDryRunEffects, DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, XcmDryRunEffects } from '@polkadot/types/interfaces/dryRunApi';
|
||||
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
|
||||
import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
|
||||
import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth';
|
||||
import type { BlockV0, BlockV1, BlockV2, BlockV3, EIP1559Transaction, EIP2930Transaction, EIP7702Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthAuthorizationList, EthAuthorizationListItem, EthAuthorizationSignature, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLegacyTransactionSignature, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthReceiptV4, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2, TransactionV3 } from '@polkadot/types/interfaces/eth';
|
||||
import type { EvmAccount, EvmCallInfo, EvmCallInfoV2, EvmCreateInfo, EvmCreateInfoV2, EvmLog, EvmVicinity, EvmWeightInfo, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm';
|
||||
import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicPayloadV5, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicSignatureV5, ExtrinsicUnknown, ExtrinsicV4, ExtrinsicV5, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics';
|
||||
import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles';
|
||||
@@ -204,6 +204,7 @@ declare module '@polkadot/types/types/registry' {
|
||||
BlockV0: BlockV0;
|
||||
BlockV1: BlockV1;
|
||||
BlockV2: BlockV2;
|
||||
BlockV3: BlockV3;
|
||||
BlockWeights: BlockWeights;
|
||||
BodyId: BodyId;
|
||||
BodyIdV2: BodyIdV2;
|
||||
@@ -405,6 +406,7 @@ declare module '@polkadot/types/types/registry' {
|
||||
Ed25519Signature: Ed25519Signature;
|
||||
EIP1559Transaction: EIP1559Transaction;
|
||||
EIP2930Transaction: EIP2930Transaction;
|
||||
EIP7702Transaction: EIP7702Transaction;
|
||||
ElectionCompute: ElectionCompute;
|
||||
ElectionPhase: ElectionPhase;
|
||||
ElectionResult: ElectionResult;
|
||||
@@ -434,6 +436,9 @@ declare module '@polkadot/types/types/registry' {
|
||||
EthAccessListItem: EthAccessListItem;
|
||||
EthAccount: EthAccount;
|
||||
EthAddress: EthAddress;
|
||||
EthAuthorizationList: EthAuthorizationList;
|
||||
EthAuthorizationListItem: EthAuthorizationListItem;
|
||||
EthAuthorizationSignature: EthAuthorizationSignature;
|
||||
EthBlock: EthBlock;
|
||||
EthBloom: EthBloom;
|
||||
EthCallRequest: EthCallRequest;
|
||||
@@ -449,10 +454,12 @@ declare module '@polkadot/types/types/registry' {
|
||||
EthFilterTopicEntry: EthFilterTopicEntry;
|
||||
EthFilterTopicInner: EthFilterTopicInner;
|
||||
EthHeader: EthHeader;
|
||||
EthLegacyTransactionSignature: EthLegacyTransactionSignature;
|
||||
EthLog: EthLog;
|
||||
EthReceipt: EthReceipt;
|
||||
EthReceiptV0: EthReceiptV0;
|
||||
EthReceiptV3: EthReceiptV3;
|
||||
EthReceiptV4: EthReceiptV4;
|
||||
EthRichBlock: EthRichBlock;
|
||||
EthRichHeader: EthRichHeader;
|
||||
EthStorageProof: EthStorageProof;
|
||||
@@ -1226,6 +1233,7 @@ declare module '@polkadot/types/types/registry' {
|
||||
TransactionV0: TransactionV0;
|
||||
TransactionV1: TransactionV1;
|
||||
TransactionV2: TransactionV2;
|
||||
TransactionV3: TransactionV3;
|
||||
TransactionValidity: TransactionValidity;
|
||||
TransactionValidityError: TransactionValidityError;
|
||||
TransientValidationData: TransientValidationData;
|
||||
|
||||
@@ -5,12 +5,14 @@
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@polkadot/types/types/registry';
|
||||
|
||||
import type { FrameSupportTokensMiscIdAmount, KusamaRuntimeConstantsProxyProxyType, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
|
||||
import type { KusamaRuntimeConstantsProxyProxyType, PalletRcMigratorRecoveryRecoveryStage, PalletRcMigratorSocietySocietyStage, PalletRecoveryDepositKind, StagingKusamaRuntimeBurnDestinationAccount, StagingKusamaRuntimeDynamicParamsInflationFalloff, StagingKusamaRuntimeDynamicParamsInflationIdealStake, StagingKusamaRuntimeDynamicParamsInflationMaxInflation, StagingKusamaRuntimeDynamicParamsInflationMinInflation, StagingKusamaRuntimeDynamicParamsInflationParameters, StagingKusamaRuntimeDynamicParamsInflationParametersKey, StagingKusamaRuntimeDynamicParamsInflationParametersValue, StagingKusamaRuntimeDynamicParamsInflationUseAuctionSlots, StagingKusamaRuntimeDynamicParamsTreasuryBurnDestination, StagingKusamaRuntimeDynamicParamsTreasuryBurnPortion, StagingKusamaRuntimeDynamicParamsTreasuryParameters, StagingKusamaRuntimeDynamicParamsTreasuryParametersKey, StagingKusamaRuntimeDynamicParamsTreasuryParametersValue, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeError, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParameters, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
|
||||
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
interface InterfaceTypes {
|
||||
FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount;
|
||||
KusamaRuntimeConstantsProxyProxyType: KusamaRuntimeConstantsProxyProxyType;
|
||||
PalletRcMigratorRecoveryRecoveryStage: PalletRcMigratorRecoveryRecoveryStage;
|
||||
PalletRcMigratorSocietySocietyStage: PalletRcMigratorSocietySocietyStage;
|
||||
PalletRecoveryDepositKind: PalletRecoveryDepositKind;
|
||||
StagingKusamaRuntimeBurnDestinationAccount: StagingKusamaRuntimeBurnDestinationAccount;
|
||||
StagingKusamaRuntimeDynamicParamsInflationFalloff: StagingKusamaRuntimeDynamicParamsInflationFalloff;
|
||||
StagingKusamaRuntimeDynamicParamsInflationIdealStake: StagingKusamaRuntimeDynamicParamsInflationIdealStake;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/x-bigint": "^13.5.2",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"@polkadot/x-bigint": "^13.5.7",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-augment": "16.2.2",
|
||||
"@polkadot/types-support": "16.2.2",
|
||||
"@polkadot/util-crypto": "^13.5.2"
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-augment": "16.5.1",
|
||||
"@polkadot/types-support": "16.5.1",
|
||||
"@polkadot/util-crypto": "^13.5.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "16.2.2"
|
||||
"@polkadot/types": "16.5.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^13.5.2",
|
||||
"@polkadot/types": "16.2.2",
|
||||
"@polkadot/types-codec": "16.2.2",
|
||||
"@polkadot/types-create": "16.2.2",
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/networks": "^13.5.7",
|
||||
"@polkadot/types": "16.5.1",
|
||||
"@polkadot/types-codec": "16.5.1",
|
||||
"@polkadot/types-create": "16.5.1",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "16.2.2"
|
||||
"@polkadot/api": "16.5.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.2.2' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.5.1' };
|
||||
|
||||
@@ -53,10 +53,14 @@ export const versioned: OverrideVersionedType[] = [
|
||||
TAssetConversion: 'Option<AssetId>'
|
||||
}
|
||||
},
|
||||
// ref: https://github.com/polkadot-js/api/pull/6208
|
||||
// The following patches an issue where polkadot asset hub block 9686187, can't be decoding using xcm v5
|
||||
// mappings.
|
||||
{
|
||||
minmax: [1002000, undefined],
|
||||
types: {
|
||||
Weight: 'WeightV1'
|
||||
Weight: 'WeightV1',
|
||||
...mapXcmTypes('V4')
|
||||
}
|
||||
}
|
||||
// ,
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.2.2",
|
||||
"version": "16.5.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^13.5.2",
|
||||
"@polkadot/util": "^13.5.7",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ export default {
|
||||
"specName": "statemine",
|
||||
"implName": "statemine",
|
||||
"authoringVersion": 1,
|
||||
"specVersion": 1005001,
|
||||
"specVersion": 1009003,
|
||||
"implVersion": 0,
|
||||
"apis": [
|
||||
[
|
||||
@@ -17,9 +17,13 @@ export default {
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xd7bdd8a272ca0d65",
|
||||
"0x04e70521a0d3d2f8",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xd7bdd8a272ca0d65",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
5
|
||||
@@ -44,6 +48,10 @@ export default {
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xccd9de6396c899ca",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
@@ -72,17 +80,41 @@ export default {
|
||||
"0x9ffb505aa738d69c",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x2609be83ac4468dc",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x12c8e3d4d7e06de0",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xde92b8a0426b9bf6",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xea93e3f16f3d6962",
|
||||
2
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xa2ddb6a58477bf63",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x8c403e5c4a9fd442",
|
||||
1
|
||||
]
|
||||
],
|
||||
"transactionVersion": 15,
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ export default {
|
||||
"specName": "statemint",
|
||||
"implName": "statemint",
|
||||
"authoringVersion": 1,
|
||||
"specVersion": 1005001,
|
||||
"specVersion": 2000000,
|
||||
"implVersion": 0,
|
||||
"apis": [
|
||||
[
|
||||
@@ -17,9 +17,13 @@ export default {
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xd7bdd8a272ca0d65",
|
||||
"0x04e70521a0d3d2f8",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xd7bdd8a272ca0d65",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
5
|
||||
@@ -44,6 +48,10 @@ export default {
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xccd9de6396c899ca",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
@@ -68,13 +76,21 @@ export default {
|
||||
"0x9ffb505aa738d69c",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x2609be83ac4468dc",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x12c8e3d4d7e06de0",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xde92b8a0426b9bf6",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xea93e3f16f3d6962",
|
||||
2
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
@@ -83,6 +99,18 @@ export default {
|
||||
[
|
||||
"0x8a8047a53a8277ec",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xa2ddb6a58477bf63",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
]
|
||||
],
|
||||
"transactionVersion": 15,
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -8,6 +8,16 @@
|
||||
export default {
|
||||
"methods": [
|
||||
"account_nextIndex",
|
||||
"archive_v1_body",
|
||||
"archive_v1_call",
|
||||
"archive_v1_finalizedHeight",
|
||||
"archive_v1_genesisHash",
|
||||
"archive_v1_hashByHeight",
|
||||
"archive_v1_header",
|
||||
"archive_v1_stopStorage",
|
||||
"archive_v1_storage",
|
||||
"archive_v1_storageDiff",
|
||||
"archive_v1_storageDiff_stopStorageDiff",
|
||||
"author_hasKey",
|
||||
"author_hasSessionKeys",
|
||||
"author_insertKey",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ export default {
|
||||
"specName": "kusama",
|
||||
"implName": "parity-kusama",
|
||||
"authoringVersion": 2,
|
||||
"specVersion": 1005000,
|
||||
"specVersion": 1009002,
|
||||
"implVersion": 0,
|
||||
"apis": [
|
||||
[
|
||||
@@ -38,7 +38,7 @@ export default {
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
12
|
||||
13
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user