Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 | ||
|
|
e87df306d8 | ||
|
|
8d2c9b29d4 | ||
|
|
52db57b8be | ||
|
|
996c6fa17a | ||
|
|
f124375fdd | ||
|
|
41de04896f | ||
|
|
559a02ef04 | ||
|
|
5517d3d9b6 | ||
|
|
eff4b8a72a | ||
|
|
3ffc196cc3 |
@@ -1,5 +1,60 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 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:
|
||||||
|
|
||||||
|
- feat(types-codec): Add maximum depth limit in decodeU8a functions ([#6168](https://github.com/polkadot-js/api/pull/6168))
|
||||||
|
- bump polkadotjs/common to 13.5.2 ([#6170](https://github.com/polkadot-js/api/pull/6170))
|
||||||
|
|
||||||
|
## 16.2.1 Jun 10, 2025
|
||||||
|
|
||||||
|
Contributed:
|
||||||
|
|
||||||
|
- feat(api-contract): add support for ink! v6 and pallet-revive compatibility ([#6158](https://github.com/polkadot-js/api/pull/6158))
|
||||||
|
|
||||||
|
|
||||||
## 16.1.2 Jun 4, 2025
|
## 16.1.2 Jun 4, 2025
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|||||||
+6
-3
@@ -1,7 +1,7 @@
|
|||||||
3512 Jaco Bump deps (#5785)
|
3512 Jaco Bump deps (#5785)
|
||||||
164 Tarik Gul Upgrade polkadot/common to 13.5.1 (#6150)
|
164 Tarik Gul Upgrade polkadot/common to 13.5.1 (#6150)
|
||||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||||
39 Valentin Fernandez 16.1.2 (#6165)
|
51 Valentin Fernandez 16.4.4 (#6196)
|
||||||
37 Keith Ingram Update contract types and rpc (#4541)
|
37 Keith Ingram Update contract types and rpc (#4541)
|
||||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||||
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
||||||
@@ -10,7 +10,9 @@
|
|||||||
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
|
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
|
||||||
11 Ian He HttpProvider support clone() (#3949)
|
11 Ian He HttpProvider support clone() (#3949)
|
||||||
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
||||||
|
8 rajk93 16.4.3 (#6194)
|
||||||
6 Andreea Eftene Update check for contract instantiation (#5699)
|
6 Andreea Eftene Update check for contract instantiation (#5699)
|
||||||
|
6 Arjun Porwal Add validation for cache capacity and TTL in LRUCache (#6187)
|
||||||
6 Branislav Kontur Fix for fungiblesApi (#5944)
|
6 Branislav Kontur Fix for fungiblesApi (#5944)
|
||||||
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
||||||
5 Chevdor Fix metadata package link (#3458)
|
5 Chevdor Fix metadata package link (#3458)
|
||||||
@@ -21,7 +23,6 @@
|
|||||||
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
||||||
4 Alex Wang fix issue that creates duplicate providers (#983)
|
4 Alex Wang fix issue that creates duplicate providers (#983)
|
||||||
4 Alexander Popiak Add asset id in signing (#4009)
|
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 Joshy Orndorff spelling; efect -> effect (#2295)
|
||||||
4 Nantian fix bigint type (#3869)
|
4 Nantian fix bigint type (#3869)
|
||||||
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
|
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
|
||||||
@@ -37,6 +38,7 @@
|
|||||||
3 Miguel Hervas Adding RT4 Types (#3007)
|
3 Miguel Hervas Adding RT4 Types (#3007)
|
||||||
3 Shawn Tabrizi Add `isReadyOrError` when connecting to API (#2577)
|
3 Shawn Tabrizi Add `isReadyOrError` when connecting to API (#2577)
|
||||||
3 YJ feat: Vote interface as U8a (#1061)
|
3 YJ feat: Vote interface as U8a (#1061)
|
||||||
|
2 Alex Bean fix(api-contracts): correctly decode `pallet_revive` events (#6181)
|
||||||
2 Alexander Krupenkin Add [u8; 33] type width for U8aFixed type (#2391)
|
2 Alexander Krupenkin Add [u8; 33] type width for U8aFixed type (#2391)
|
||||||
2 Branan Riley Add proxy type for Centrifuge (#3940)
|
2 Branan Riley Add proxy type for Centrifuge (#3940)
|
||||||
2 Caio Add `Range` and `RangeInclusive` types (#3791)
|
2 Caio Add `Range` and `RangeInclusive` types (#3791)
|
||||||
@@ -50,7 +52,6 @@
|
|||||||
2 MOZGIII Follow-up fix after #4665 (#4666)
|
2 MOZGIII Follow-up fix after #4665 (#4666)
|
||||||
2 Paweł Nguyen Fix a minor typo in cookbook blocks docs (#2294)
|
2 Paweł Nguyen Fix a minor typo in cookbook blocks docs (#2294)
|
||||||
2 peetzweg/ feat: ink! v5 (#5791)
|
2 peetzweg/ feat: ink! v5 (#5791)
|
||||||
2 rajk93 fix: correct BitVec length calculation from bytes to bits in codec (#6152)
|
|
||||||
2 rob thijssen nimbus author mapping correction (#5590)
|
2 rob thijssen nimbus author mapping correction (#5590)
|
||||||
2 sung wu Update tx.md (#2485)
|
2 sung wu Update tx.md (#2485)
|
||||||
2 Veliko Abi constructor takes different parameters (#3347)
|
2 Veliko Abi constructor takes different parameters (#3347)
|
||||||
@@ -107,6 +108,7 @@
|
|||||||
1 Lauro Gripa Fix multi call of `defenderVotes` and `isDefenderVoter` flag in `society.members` derivation (#5834)
|
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 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 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 Marc Fornós add beefy compact signed commitment definition (#5781)
|
||||||
1 Mario Neises fix usage with typescript (#405)
|
1 Mario Neises fix usage with typescript (#405)
|
||||||
1 Mario Pino Add PolkaStats to API users (#1593)
|
1 Mario Pino Add PolkaStats to API users (#1593)
|
||||||
@@ -148,4 +150,5 @@
|
|||||||
1 yjh fix MetadataVersioned.asV12 (#2983)
|
1 yjh fix MetadataVersioned.asV12 (#2983)
|
||||||
1 Yuri fixes #3693 Fix uniques return types (#3694)
|
1 Yuri fixes #3693 Fix uniques return types (#3694)
|
||||||
1 Zeke Mostov fix: Allow sudo for polkadot indexed proxy enum (#3286)
|
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)
|
1 zjb0807 Throws detailed error information (#6116)
|
||||||
+4
-4
@@ -14,10 +14,10 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"versions": {
|
"versions": {
|
||||||
"git": "16.1.2",
|
"git": "16.4.4",
|
||||||
"npm": "16.1.2"
|
"npm": "16.4.4"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
"test:one": "polkadot-dev-run-test --env node"
|
"test:one": "polkadot-dev-run-test --env node"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/dev": "^0.83.2",
|
"@polkadot/dev": "^0.83.3",
|
||||||
"@polkadot/typegen": "workspace:packages/typegen",
|
"@polkadot/typegen": "workspace:packages/typegen",
|
||||||
"@types/node": "^22.10.5"
|
"@types/node": "^22.10.5"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -18,15 +18,15 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api-base": "16.1.2",
|
"@polkadot/api-base": "16.4.4",
|
||||||
"@polkadot/rpc-augment": "16.1.2",
|
"@polkadot/rpc-augment": "16.4.4",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-augment": "16.1.2",
|
"@polkadot/types-augment": "16.4.4",
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
import '@polkadot/api-base/types/consts';
|
import '@polkadot/api-base/types/consts';
|
||||||
|
|
||||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||||
import type { Bytes, Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { Bytes, Option, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { Codec } from '@polkadot/types-codec/types';
|
import type { Codec } from '@polkadot/types-codec/types';
|
||||||
import type { Permill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
@@ -134,6 +134,37 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[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;
|
||||||
|
};
|
||||||
foreignAssets: {
|
foreignAssets: {
|
||||||
/**
|
/**
|
||||||
* The amount of funds that must be reserved when creating a new approval.
|
* The amount of funds that must be reserved when creating a new approval.
|
||||||
@@ -334,6 +365,17 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[key: string]: Codec;
|
||||||
};
|
};
|
||||||
|
polkadotXcm: {
|
||||||
|
/**
|
||||||
|
* The latest supported version that we advertise. Generally just set it to
|
||||||
|
* `pallet_xcm::CurrentXcmVersion`.
|
||||||
|
**/
|
||||||
|
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic const
|
||||||
|
**/
|
||||||
|
[key: string]: Codec;
|
||||||
|
};
|
||||||
poolAssets: {
|
poolAssets: {
|
||||||
/**
|
/**
|
||||||
* The amount of funds that must be reserved when creating a new approval.
|
* The amount of funds that must be reserved when creating a new approval.
|
||||||
@@ -415,6 +457,57 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[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;
|
||||||
|
};
|
||||||
stateTrieMigration: {
|
stateTrieMigration: {
|
||||||
/**
|
/**
|
||||||
* Maximal number of bytes that a key can have.
|
* Maximal number of bytes that a key can have.
|
||||||
|
|||||||
@@ -141,6 +141,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Callback action resulted in error
|
* Callback action resulted in error
|
||||||
**/
|
**/
|
||||||
CallbackFailed: AugmentedError<ApiType>;
|
CallbackFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
||||||
|
**/
|
||||||
|
ContainsFreezes: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
||||||
|
**/
|
||||||
|
ContainsHolds: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The origin account is frozen.
|
* The origin account is frozen.
|
||||||
**/
|
**/
|
||||||
@@ -362,6 +370,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Callback action resulted in error
|
* Callback action resulted in error
|
||||||
**/
|
**/
|
||||||
CallbackFailed: AugmentedError<ApiType>;
|
CallbackFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
||||||
|
**/
|
||||||
|
ContainsFreezes: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
||||||
|
**/
|
||||||
|
ContainsHolds: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The origin account is frozen.
|
* The origin account is frozen.
|
||||||
**/
|
**/
|
||||||
@@ -496,7 +512,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoApprovalsNeeded: AugmentedError<ApiType>;
|
NoApprovalsNeeded: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Multisig operation not found when attempting to cancel.
|
* Multisig operation not found in storage.
|
||||||
**/
|
**/
|
||||||
NotFound: AugmentedError<ApiType>;
|
NotFound: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -504,7 +520,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoTimepoint: AugmentedError<ApiType>;
|
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>;
|
NotOwner: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -749,10 +766,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The inherent which supplies the host configuration did not run this block.
|
* The inherent which supplies the host configuration did not run this block.
|
||||||
**/
|
**/
|
||||||
HostConfigurationNotAvailable: AugmentedError<ApiType>;
|
HostConfigurationNotAvailable: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* No code upgrade has been authorized.
|
|
||||||
**/
|
|
||||||
NothingAuthorized: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* No validation function upgrade is currently scheduled.
|
* No validation function upgrade is currently scheduled.
|
||||||
**/
|
**/
|
||||||
@@ -770,10 +783,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* willing to run.
|
* willing to run.
|
||||||
**/
|
**/
|
||||||
TooBig: AugmentedError<ApiType>;
|
TooBig: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* The given code upgrade has not been authorized.
|
|
||||||
**/
|
|
||||||
Unauthorized: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* The inherent which supplies the validation data did not run this block.
|
* The inherent which supplies the validation data did not run this block.
|
||||||
**/
|
**/
|
||||||
@@ -788,6 +797,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The given account is not an identifiable sovereign account for any location.
|
* The given account is not an identifiable sovereign account for any location.
|
||||||
**/
|
**/
|
||||||
AccountNotSovereign: AugmentedError<ApiType>;
|
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.
|
* The location is invalid since it already has a subscription from us.
|
||||||
**/
|
**/
|
||||||
@@ -817,6 +830,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The assets to be sent are empty.
|
* The assets to be sent are empty.
|
||||||
**/
|
**/
|
||||||
Empty: AugmentedError<ApiType>;
|
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.
|
* The operation required fees to be paid which the initiator could not meet.
|
||||||
**/
|
**/
|
||||||
@@ -866,6 +883,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Too many assets have been attempted for transfer.
|
* Too many assets have been attempted for transfer.
|
||||||
**/
|
**/
|
||||||
TooManyAssets: AugmentedError<ApiType>;
|
TooManyAssets: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Too many locations authorized to alias origin.
|
||||||
|
**/
|
||||||
|
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The asset owner has too many locks on the asset.
|
* The asset owner has too many locks on the asset.
|
||||||
**/
|
**/
|
||||||
@@ -917,6 +938,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Callback action resulted in error
|
* Callback action resulted in error
|
||||||
**/
|
**/
|
||||||
CallbackFailed: AugmentedError<ApiType>;
|
CallbackFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
||||||
|
**/
|
||||||
|
ContainsFreezes: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
||||||
|
**/
|
||||||
|
ContainsHolds: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The origin account is frozen.
|
* The origin account is frozen.
|
||||||
**/
|
**/
|
||||||
@@ -1053,6 +1082,221 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: AugmentedError<ApiType>;
|
[key: string]: AugmentedError<ApiType>;
|
||||||
};
|
};
|
||||||
|
revive: {
|
||||||
|
/**
|
||||||
|
* Tried to map an account that is already mapped.
|
||||||
|
**/
|
||||||
|
AccountAlreadyMapped: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* An `AccountID32` account tried to interact with the pallet without having a mapping.
|
||||||
|
*
|
||||||
|
* Call [`Pallet::map_account`] in order to create a mapping for the account.
|
||||||
|
**/
|
||||||
|
AccountUnmapped: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Failed to convert a U256 to a Balance.
|
||||||
|
**/
|
||||||
|
BalanceConversionFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The program contains a basic block that is larger than allowed.
|
||||||
|
**/
|
||||||
|
BasicBlockTooLarge: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
|
||||||
|
**/
|
||||||
|
BlobTooLarge: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Can not add a delegate dependency to the code hash of the contract itself.
|
||||||
|
**/
|
||||||
|
CannotAddSelfAsDelegateDependency: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* No code info could be found at the supplied code hash.
|
||||||
|
**/
|
||||||
|
CodeInfoNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Code removal was denied because the code is still in use by at least one contract.
|
||||||
|
**/
|
||||||
|
CodeInUse: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* No code could be found at the supplied code hash.
|
||||||
|
**/
|
||||||
|
CodeNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The contract failed to compile or is missing the correct entry points.
|
||||||
|
*
|
||||||
|
* A more detailed error can be found on the node console if debug messages are enabled
|
||||||
|
* by supplying `-lruntime::revive=debug`.
|
||||||
|
**/
|
||||||
|
CodeRejected: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* No contract was found at the specified address.
|
||||||
|
**/
|
||||||
|
ContractNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The contract ran to completion but decided to revert its storage changes.
|
||||||
|
* Please note that this error is only returned from extrinsics. When called directly
|
||||||
|
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
|
||||||
|
* to determine whether a reversion has taken place.
|
||||||
|
**/
|
||||||
|
ContractReverted: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Contract trapped during execution.
|
||||||
|
**/
|
||||||
|
ContractTrapped: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Failed to convert an EVM balance to a native balance.
|
||||||
|
**/
|
||||||
|
DecimalPrecisionLoss: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Input passed to a contract API function failed to decode as expected type.
|
||||||
|
**/
|
||||||
|
DecodingFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The contract already depends on the given delegate dependency.
|
||||||
|
**/
|
||||||
|
DelegateDependencyAlreadyExists: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The dependency was not found in the contract's delegate dependencies.
|
||||||
|
**/
|
||||||
|
DelegateDependencyNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A contract with the same AccountId already exists.
|
||||||
|
**/
|
||||||
|
DuplicateContract: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* PolkaVM failed during code execution. Probably due to a malformed program.
|
||||||
|
**/
|
||||||
|
ExecutionFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
||||||
|
**/
|
||||||
|
InputForwarded: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
||||||
|
**/
|
||||||
|
InvalidCallFlags: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The transaction used to dry-run a contract is invalid.
|
||||||
|
**/
|
||||||
|
InvalidGenericTransaction: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Immutable data can only be set during deploys and only be read during calls.
|
||||||
|
* Additionally, it is only valid to set the data once and it must not be empty.
|
||||||
|
**/
|
||||||
|
InvalidImmutableAccess: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The program contains an invalid instruction.
|
||||||
|
**/
|
||||||
|
InvalidInstruction: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
||||||
|
**/
|
||||||
|
InvalidSchedule: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Invalid storage flags were passed to one of the storage syscalls.
|
||||||
|
**/
|
||||||
|
InvalidStorageFlags: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The contract tried to call a syscall which does not exist (at its current api level).
|
||||||
|
**/
|
||||||
|
InvalidSyscall: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Performing a call was denied because the calling depth reached the limit
|
||||||
|
* of what is specified in the schedule.
|
||||||
|
**/
|
||||||
|
MaxCallDepthReached: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The contract has reached its maximum number of delegate dependencies.
|
||||||
|
**/
|
||||||
|
MaxDelegateDependenciesReached: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The chain does not provide a chain extension. Calling the chain extension results
|
||||||
|
* in this error. Note that this usually shouldn't happen as deploying such contracts
|
||||||
|
* is rejected.
|
||||||
|
**/
|
||||||
|
NoChainExtension: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A buffer outside of sandbox memory was passed to a contract API function.
|
||||||
|
**/
|
||||||
|
OutOfBounds: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The executed contract exhausted its gas limit.
|
||||||
|
**/
|
||||||
|
OutOfGas: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Can not add more data to transient storage.
|
||||||
|
**/
|
||||||
|
OutOfTransientStorage: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Precompile Error
|
||||||
|
**/
|
||||||
|
PrecompileFailure: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A contract called into the runtime which then called back into this pallet.
|
||||||
|
**/
|
||||||
|
ReenteredPallet: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A call tried to invoke a contract that is flagged as non-reentrant.
|
||||||
|
**/
|
||||||
|
ReentranceDenied: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The refcount of a code either over or underflowed.
|
||||||
|
**/
|
||||||
|
RefcountOverOrUnderflow: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
||||||
|
**/
|
||||||
|
StateChangeDenied: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The static memory consumption of the blob will be larger than
|
||||||
|
* [`limits::code::STATIC_MEMORY_BYTES`].
|
||||||
|
**/
|
||||||
|
StaticMemoryTooLarge: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* More storage was created than allowed by the storage deposit limit.
|
||||||
|
**/
|
||||||
|
StorageDepositLimitExhausted: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Origin doesn't have enough balance to pay the required storage deposits.
|
||||||
|
**/
|
||||||
|
StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A contract self destructed in its constructor.
|
||||||
|
*
|
||||||
|
* This can be triggered by a call to `seal_terminate`.
|
||||||
|
**/
|
||||||
|
TerminatedInConstructor: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Termination of a contract is not allowed while the contract is already
|
||||||
|
* on the call stack. Can be triggered by `seal_terminate`.
|
||||||
|
**/
|
||||||
|
TerminatedWhileReentrant: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
||||||
|
**/
|
||||||
|
TooManyTopics: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Performing the requested transfer failed. Probably because there isn't enough
|
||||||
|
* free balance in the sender's account.
|
||||||
|
**/
|
||||||
|
TransferFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Unsupported precompile address
|
||||||
|
**/
|
||||||
|
UnsupportedPrecompileAddress: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The size defined in `T::MaxValueSize` was exceeded.
|
||||||
|
**/
|
||||||
|
ValueTooLarge: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Failed to decode the XCM program.
|
||||||
|
**/
|
||||||
|
XCMDecodeFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic error
|
||||||
|
**/
|
||||||
|
[key: string]: AugmentedError<ApiType>;
|
||||||
|
};
|
||||||
session: {
|
session: {
|
||||||
/**
|
/**
|
||||||
* Registered duplicate key.
|
* Registered duplicate key.
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/events';
|
|||||||
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
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 { 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 { ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, H256, Permill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H160, H256, Permill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { AssetHubKusamaRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
import type { AssetHubKusamaRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProxyDepositKind, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||||
|
|
||||||
@@ -470,6 +470,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
multisig: {
|
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.
|
* A multisig operation has been approved by someone.
|
||||||
**/
|
**/
|
||||||
@@ -697,6 +701,19 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
polkadotXcm: {
|
polkadotXcm: {
|
||||||
|
/**
|
||||||
|
* `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
|
* Some assets have been claimed from an asset trap
|
||||||
**/
|
**/
|
||||||
@@ -777,6 +794,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* sending the notification to it.
|
* sending the notification to it.
|
||||||
**/
|
**/
|
||||||
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
|
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
|
* Query response has been received and is ready for taking with `take_response`. There is
|
||||||
* no registered notification call.
|
* no registered notification call.
|
||||||
@@ -787,7 +808,11 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
|
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 }>;
|
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
@@ -946,6 +971,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* An announcement was placed to make a call in the future.
|
* 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 }>;
|
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.
|
* A proxy was added.
|
||||||
**/
|
**/
|
||||||
@@ -968,12 +997,30 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
|
revive: {
|
||||||
|
/**
|
||||||
|
* A custom event emitted by the contract.
|
||||||
|
**/
|
||||||
|
ContractEmitted: AugmentedEvent<ApiType, [contract: H160, data: Bytes, topics: Vec<H256>], { contract: H160, data: Bytes, topics: Vec<H256> }>;
|
||||||
|
/**
|
||||||
|
* Generic event
|
||||||
|
**/
|
||||||
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
|
};
|
||||||
session: {
|
session: {
|
||||||
/**
|
/**
|
||||||
* New session has happened. Note that the argument is the session index, not the
|
* New session has happened. Note that the argument is the session index, not the
|
||||||
* block number as the type might suggest.
|
* block number as the type might suggest.
|
||||||
**/
|
**/
|
||||||
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
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
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1023,6 +1070,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A new account was created.
|
* A new account was created.
|
||||||
**/
|
**/
|
||||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
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.
|
* On on-chain remark happened.
|
||||||
**/
|
**/
|
||||||
@@ -1195,6 +1246,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A call was dispatched.
|
* A call was dispatched.
|
||||||
**/
|
**/
|
||||||
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
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.
|
* A single item within a Batch of dispatches has completed with no error.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/storage';
|
|||||||
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
||||||
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H160, H256, Perbill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
import type { AssetHubKusamaRuntimeRuntimeHoldReason, AssetHubKusamaRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReviveStorageContractInfo, PalletReviveStorageDeletionQueueManager, PalletReviveWasmCodeInfo, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
import type { Observable } from '@polkadot/types/types';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
@@ -101,11 +101,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Current slot paired with a number of authored blocks.
|
* Current relay chain slot paired with a number of authored blocks.
|
||||||
*
|
*
|
||||||
* Updated on each block initialization.
|
* This is updated in [`FixedVelocityConsensusHook::on_state_proof`] with the current relay
|
||||||
|
* chain slot as provided by the relay chain state proof.
|
||||||
**/
|
**/
|
||||||
slotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
relaySlotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -552,6 +553,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* times this pair has been trapped (usually just 1 if it exists at all).
|
* 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]>;
|
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.
|
* The current migration's stage, if any.
|
||||||
**/
|
**/
|
||||||
@@ -686,6 +693,49 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: QueryableStorageEntry<ApiType>;
|
[key: string]: QueryableStorageEntry<ApiType>;
|
||||||
};
|
};
|
||||||
|
revive: {
|
||||||
|
/**
|
||||||
|
* A mapping from a contract's code hash to its code info.
|
||||||
|
**/
|
||||||
|
codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveWasmCodeInfo>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
||||||
|
/**
|
||||||
|
* The code associated with a given account.
|
||||||
|
**/
|
||||||
|
contractInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageContractInfo>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
|
||||||
|
/**
|
||||||
|
* Evicted contracts that await child trie deletion.
|
||||||
|
*
|
||||||
|
* Child trie deletion is a heavy operation depending on the amount of storage items
|
||||||
|
* stored in said trie. Therefore this operation is performed lazily in `on_idle`.
|
||||||
|
**/
|
||||||
|
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
|
/**
|
||||||
|
* A pair of monotonic counters used to track the latest contract marked for deletion
|
||||||
|
* and the latest deleted contract in queue.
|
||||||
|
**/
|
||||||
|
deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletReviveStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* The immutable data associated with a given account.
|
||||||
|
**/
|
||||||
|
immutableDataOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Bytes>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
|
||||||
|
/**
|
||||||
|
* Map a Ethereum address to its original `AccountId32`.
|
||||||
|
*
|
||||||
|
* When deriving a `H160` from an `AccountId32` we use a hash function. In order to
|
||||||
|
* reconstruct the original account we need to store the reverse mapping here.
|
||||||
|
* Register your `AccountId32` using [`Pallet::map_account`] in order to
|
||||||
|
* use it with this pallet.
|
||||||
|
**/
|
||||||
|
originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<AccountId32>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
|
||||||
|
/**
|
||||||
|
* A mapping from a contract's code hash to its code.
|
||||||
|
**/
|
||||||
|
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
||||||
|
/**
|
||||||
|
* Generic query
|
||||||
|
**/
|
||||||
|
[key: string]: QueryableStorageEntry<ApiType>;
|
||||||
|
};
|
||||||
session: {
|
session: {
|
||||||
/**
|
/**
|
||||||
* Current index of the session.
|
* Current index of the session.
|
||||||
@@ -698,7 +748,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||||
* a new set of identities.
|
* 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.
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||||
**/
|
**/
|
||||||
@@ -815,6 +865,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
* 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]>;
|
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.
|
* Whether all inherents have been applied.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
import '@polkadot/api-base/types/calls';
|
import '@polkadot/api-base/types/calls';
|
||||||
|
|
||||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
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 { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
||||||
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||||
import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H160, 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 { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, 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, StagingXcmV4Location, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||||
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||||
@@ -67,7 +67,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|||||||
/** 0xd7bdd8a272ca0d65/ */
|
/** 0xd7bdd8a272ca0d65/ */
|
||||||
auraUnincludedSegmentApi: {
|
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>>;
|
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||||
/**
|
/**
|
||||||
@@ -214,6 +214,61 @@ declare module '@polkadot/api-base/types/calls' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: DecoratedCallBase<ApiType>;
|
[key: string]: DecoratedCallBase<ApiType>;
|
||||||
};
|
};
|
||||||
|
/** 0x8c403e5c4a9fd442/ */
|
||||||
|
reviveApi: {
|
||||||
|
/**
|
||||||
|
* Returns the free balance of the given `[H160]` address, using EVM decimals.
|
||||||
|
**/
|
||||||
|
balance: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<U256>>;
|
||||||
|
/**
|
||||||
|
* 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>>;
|
||||||
|
/**
|
||||||
|
* Perform an Ethereum call.,, See [`crate::Pallet::bare_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>>>;
|
||||||
|
/**
|
||||||
|
* 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>>;
|
||||||
|
/**
|
||||||
|
* 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 } | 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 } | 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 } | 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>;
|
||||||
|
};
|
||||||
/** 0xab3c0572291feb8b/ */
|
/** 0xab3c0572291feb8b/ */
|
||||||
sessionKeys: {
|
sessionKeys: {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import '@polkadot/api-base/types/submittable';
|
|||||||
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
||||||
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Call, H160, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { AssetHubKusamaRuntimeOriginCaller, AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeSessionKeys, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, PalletBalancesAdjustmentDirection, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletRemoteProxyRemoteProxyProof, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
import type { AssetHubKusamaRuntimeOriginCaller, AssetHubKusamaRuntimeProxyType, AssetHubKusamaRuntimeSessionKeys, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, PalletBalancesAdjustmentDirection, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletRemoteProxyRemoteProxyProof, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, StagingXcmV5Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||||
@@ -403,6 +403,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* refunded.
|
* refunded.
|
||||||
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refund: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, bool]>;
|
refund: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, bool]>;
|
||||||
@@ -416,6 +419,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `id`: The identifier of the asset for the account holding a deposit.
|
* - `id`: The identifier of the asset for the account holding a deposit.
|
||||||
* - `who`: The account to refund.
|
* - `who`: The account to refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refundOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
refundOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
||||||
@@ -478,6 +484,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||||
* asset.
|
* asset.
|
||||||
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* an account contains holds or freezes in place.
|
||||||
**/
|
**/
|
||||||
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
@@ -1132,6 +1141,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* refunded.
|
* refunded.
|
||||||
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refund: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, bool]>;
|
refund: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, bool]>;
|
||||||
@@ -1145,6 +1157,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `id`: The identifier of the asset for the account holding a deposit.
|
* - `id`: The identifier of the asset for the account holding a deposit.
|
||||||
* - `who`: The account to refund.
|
* - `who`: The account to refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refundOther: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, MultiAddress]>;
|
refundOther: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, MultiAddress]>;
|
||||||
@@ -1207,6 +1222,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||||
* asset.
|
* asset.
|
||||||
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* an account contains holds or freezes in place.
|
||||||
**/
|
**/
|
||||||
startDestroy: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location]>;
|
startDestroy: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location]>;
|
||||||
/**
|
/**
|
||||||
@@ -1500,6 +1518,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Storage: removes one item.
|
* - 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]>;
|
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
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2201,6 +2235,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
polkadotXcm: {
|
polkadotXcm: {
|
||||||
|
/**
|
||||||
|
* 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.
|
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
|
||||||
*
|
*
|
||||||
@@ -2315,6 +2363,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
* - `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]>;
|
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,
|
* Transfer some assets from the local chain to the destination chain through their local,
|
||||||
* destination or remote reserve.
|
* destination or remote reserve.
|
||||||
@@ -2780,6 +2838,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* refunded.
|
* refunded.
|
||||||
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refund: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;
|
refund: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;
|
||||||
@@ -2793,6 +2854,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `id`: The identifier of the asset for the account holding a deposit.
|
* - `id`: The identifier of the asset for the account holding a deposit.
|
||||||
* - `who`: The account to refund.
|
* - `who`: The account to refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refundOther: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
refundOther: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
||||||
@@ -2855,6 +2919,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||||
* asset.
|
* asset.
|
||||||
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* an account contains holds or freezes in place.
|
||||||
**/
|
**/
|
||||||
startDestroy: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
startDestroy: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
@@ -3078,6 +3145,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* account whose `pure` call has corresponding parameters.
|
* account whose `pure` call has corresponding parameters.
|
||||||
**/
|
**/
|
||||||
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubKusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: AssetHubKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubKusamaRuntimeProxyType, 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
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -3220,6 +3298,144 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
|
revive: {
|
||||||
|
/**
|
||||||
|
* Makes a call to an account, optionally transferring some balance.
|
||||||
|
*
|
||||||
|
* # Parameters
|
||||||
|
*
|
||||||
|
* * `dest`: Address of the contract to call.
|
||||||
|
* * `value`: The balance to transfer from the `origin` to `dest`.
|
||||||
|
* * `gas_limit`: The gas limit enforced when executing the constructor.
|
||||||
|
* * `storage_deposit_limit`: The maximum amount of balance that can be charged from the
|
||||||
|
* caller to pay for the storage consumed.
|
||||||
|
* * `data`: The input data to pass to the contract.
|
||||||
|
*
|
||||||
|
* * If the account is a smart-contract account, the associated code will be
|
||||||
|
* executed and any value will be transferred.
|
||||||
|
* * If the account is a regular account, any value will be transferred.
|
||||||
|
* * If no account exists and the call value is not less than `existential_deposit`,
|
||||||
|
* a regular account will be created and any value will be transferred.
|
||||||
|
**/
|
||||||
|
call: AugmentedSubmittable<(dest: H160 | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Compact<u128>, SpWeightsWeightV2Weight, Compact<u128>, Bytes]>;
|
||||||
|
/**
|
||||||
|
* Dispatch an `call` with the origin set to the callers fallback address.
|
||||||
|
*
|
||||||
|
* Every `AccountId32` can control its corresponding fallback account. The fallback account
|
||||||
|
* is the `AccountId20` with the last 12 bytes set to `0xEE`. This is essentially a
|
||||||
|
* recovery function in case an `AccountId20` was used without creating a mapping first.
|
||||||
|
**/
|
||||||
|
dispatchAsFallbackAccount: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
|
||||||
|
/**
|
||||||
|
* A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.
|
||||||
|
*
|
||||||
|
* # Parameters
|
||||||
|
*
|
||||||
|
* * `payload`: The encoded [`crate::evm::TransactionSigned`].
|
||||||
|
* * `gas_limit`: The gas limit enforced during contract execution.
|
||||||
|
* * `storage_deposit_limit`: The maximum balance that can be charged to the caller for
|
||||||
|
* storage usage.
|
||||||
|
*
|
||||||
|
* # Note
|
||||||
|
*
|
||||||
|
* This call cannot be dispatched directly; attempting to do so will result in a failed
|
||||||
|
* transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the
|
||||||
|
* runtime converts it into a [`sp_runtime::generic::CheckedExtrinsic`] by recovering the
|
||||||
|
* signer and validating the transaction.
|
||||||
|
**/
|
||||||
|
ethTransact: AugmentedSubmittable<(payload: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||||
|
/**
|
||||||
|
* Instantiates a contract from a previously deployed wasm binary.
|
||||||
|
*
|
||||||
|
* This function is identical to [`Self::instantiate_with_code`] but without the
|
||||||
|
* code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
|
||||||
|
* must be supplied.
|
||||||
|
**/
|
||||||
|
instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => SubmittableExtrinsic<ApiType>, [Compact<u128>, SpWeightsWeightV2Weight, Compact<u128>, H256, Bytes, Option<U8aFixed>]>;
|
||||||
|
/**
|
||||||
|
* Instantiates a new contract from the supplied `code` optionally transferring
|
||||||
|
* some balance.
|
||||||
|
*
|
||||||
|
* This dispatchable has the same effect as calling [`Self::upload_code`] +
|
||||||
|
* [`Self::instantiate`]. Bundling them together provides efficiency gains. Please
|
||||||
|
* also check the documentation of [`Self::upload_code`].
|
||||||
|
*
|
||||||
|
* # Parameters
|
||||||
|
*
|
||||||
|
* * `value`: The balance to transfer from the `origin` to the newly created contract.
|
||||||
|
* * `gas_limit`: The gas limit enforced when executing the constructor.
|
||||||
|
* * `storage_deposit_limit`: The maximum amount of balance that can be charged/reserved
|
||||||
|
* from the caller to pay for the storage consumed.
|
||||||
|
* * `code`: The contract code to deploy in raw bytes.
|
||||||
|
* * `data`: The input data to pass to the contract constructor.
|
||||||
|
* * `salt`: Used for the address derivation. If `Some` is supplied then `CREATE2`
|
||||||
|
* semantics are used. If `None` then `CRATE1` is used.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Instantiation is executed as follows:
|
||||||
|
*
|
||||||
|
* - The supplied `code` is deployed, and a `code_hash` is created for that code.
|
||||||
|
* - If the `code_hash` already exists on the chain the underlying `code` will be shared.
|
||||||
|
* - The destination address is computed based on the sender, code_hash and the salt.
|
||||||
|
* - The smart-contract account is created at the computed address.
|
||||||
|
* - The `value` is transferred to the new account.
|
||||||
|
* - The `deploy` function is executed in the context of the newly-created account.
|
||||||
|
**/
|
||||||
|
instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => SubmittableExtrinsic<ApiType>, [Compact<u128>, SpWeightsWeightV2Weight, Compact<u128>, Bytes, Bytes, Option<U8aFixed>]>;
|
||||||
|
/**
|
||||||
|
* Register the callers account id so that it can be used in contract interactions.
|
||||||
|
*
|
||||||
|
* This will error if the origin is already mapped or is a eth native `Address20`. It will
|
||||||
|
* take a deposit that can be released by calling [`Self::unmap_account`].
|
||||||
|
**/
|
||||||
|
mapAccount: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||||
|
/**
|
||||||
|
* Remove the code stored under `code_hash` and refund the deposit to its owner.
|
||||||
|
*
|
||||||
|
* A code can only be removed by its original uploader (its owner) and only if it is
|
||||||
|
* not used by any contract.
|
||||||
|
**/
|
||||||
|
removeCode: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
||||||
|
/**
|
||||||
|
* Privileged function that changes the code of an existing contract.
|
||||||
|
*
|
||||||
|
* This takes care of updating refcounts and all other necessary operations. Returns
|
||||||
|
* an error if either the `code_hash` or `dest` do not exist.
|
||||||
|
*
|
||||||
|
* # Note
|
||||||
|
*
|
||||||
|
* This does **not** change the address of the contract in question. This means
|
||||||
|
* that the contract address is no longer derived from its code hash after calling
|
||||||
|
* this dispatchable.
|
||||||
|
**/
|
||||||
|
setCode: AugmentedSubmittable<(dest: H160 | string | Uint8Array, codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H256]>;
|
||||||
|
/**
|
||||||
|
* Unregister the callers account id in order to free the deposit.
|
||||||
|
*
|
||||||
|
* There is no reason to ever call this function other than freeing up the deposit.
|
||||||
|
* This is only useful when the account should no longer be used.
|
||||||
|
**/
|
||||||
|
unmapAccount: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||||
|
/**
|
||||||
|
* Upload new `code` without instantiating a contract from it.
|
||||||
|
*
|
||||||
|
* If the code does not already exist a deposit is reserved from the caller
|
||||||
|
* and unreserved only when [`Self::remove_code`] is called. The size of the reserve
|
||||||
|
* depends on the size of the supplied `code`.
|
||||||
|
*
|
||||||
|
* # Note
|
||||||
|
*
|
||||||
|
* Anyone can instantiate a contract from any uploaded code and thus prevent its removal.
|
||||||
|
* To avoid this situation a constructor could employ access control so that it can
|
||||||
|
* only be instantiated by permissioned entities. The same is true when uploading
|
||||||
|
* through [`Self::instantiate_with_code`].
|
||||||
|
**/
|
||||||
|
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Compact<u128>]>;
|
||||||
|
/**
|
||||||
|
* Generic tx
|
||||||
|
**/
|
||||||
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
|
};
|
||||||
session: {
|
session: {
|
||||||
/**
|
/**
|
||||||
* Removes any session key(s) of the function caller.
|
* Removes any session key(s) of the function caller.
|
||||||
@@ -3927,6 +4143,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - O(1).
|
* - O(1).
|
||||||
**/
|
**/
|
||||||
dispatchAs: AugmentedSubmittable<(asOrigin: AssetHubKusamaRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubKusamaRuntimeOriginCaller, Call]>;
|
dispatchAs: AugmentedSubmittable<(asOrigin: AssetHubKusamaRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubKusamaRuntimeOriginCaller, 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: AssetHubKusamaRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubKusamaRuntimeOriginCaller, Call]>;
|
||||||
/**
|
/**
|
||||||
* Send a batch of dispatch calls.
|
* Send a batch of dispatch calls.
|
||||||
* Unlike `batch`, it allows errors and won't interrupt.
|
* Unlike `batch`, it allows errors and won't interrupt.
|
||||||
@@ -3943,6 +4167,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - O(C) where C is the number of calls to be batched.
|
* - 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>]>;
|
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.
|
* Dispatch a function call with a specified weight.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import '@polkadot/api-base/types/consts';
|
|||||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||||
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { Codec } from '@polkadot/types-codec/types';
|
import type { Codec } from '@polkadot/types-codec/types';
|
||||||
import type { Permill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Permill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
@@ -134,6 +134,37 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[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;
|
||||||
|
};
|
||||||
foreignAssets: {
|
foreignAssets: {
|
||||||
/**
|
/**
|
||||||
* The amount of funds that must be reserved when creating a new approval.
|
* The amount of funds that must be reserved when creating a new approval.
|
||||||
@@ -307,6 +338,17 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[key: string]: Codec;
|
||||||
};
|
};
|
||||||
|
polkadotXcm: {
|
||||||
|
/**
|
||||||
|
* The latest supported version that we advertise. Generally just set it to
|
||||||
|
* `pallet_xcm::CurrentXcmVersion`.
|
||||||
|
**/
|
||||||
|
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic const
|
||||||
|
**/
|
||||||
|
[key: string]: Codec;
|
||||||
|
};
|
||||||
poolAssets: {
|
poolAssets: {
|
||||||
/**
|
/**
|
||||||
* The amount of funds that must be reserved when creating a new approval.
|
* The amount of funds that must be reserved when creating a new approval.
|
||||||
|
|||||||
@@ -141,6 +141,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Callback action resulted in error
|
* Callback action resulted in error
|
||||||
**/
|
**/
|
||||||
CallbackFailed: AugmentedError<ApiType>;
|
CallbackFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
||||||
|
**/
|
||||||
|
ContainsFreezes: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
||||||
|
**/
|
||||||
|
ContainsHolds: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The origin account is frozen.
|
* The origin account is frozen.
|
||||||
**/
|
**/
|
||||||
@@ -362,6 +370,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Callback action resulted in error
|
* Callback action resulted in error
|
||||||
**/
|
**/
|
||||||
CallbackFailed: AugmentedError<ApiType>;
|
CallbackFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
||||||
|
**/
|
||||||
|
ContainsFreezes: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
||||||
|
**/
|
||||||
|
ContainsHolds: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The origin account is frozen.
|
* The origin account is frozen.
|
||||||
**/
|
**/
|
||||||
@@ -496,7 +512,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoApprovalsNeeded: AugmentedError<ApiType>;
|
NoApprovalsNeeded: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Multisig operation not found when attempting to cancel.
|
* Multisig operation not found in storage.
|
||||||
**/
|
**/
|
||||||
NotFound: AugmentedError<ApiType>;
|
NotFound: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -504,7 +520,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoTimepoint: AugmentedError<ApiType>;
|
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>;
|
NotOwner: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -727,10 +744,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The inherent which supplies the host configuration did not run this block.
|
* The inherent which supplies the host configuration did not run this block.
|
||||||
**/
|
**/
|
||||||
HostConfigurationNotAvailable: AugmentedError<ApiType>;
|
HostConfigurationNotAvailable: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* No code upgrade has been authorized.
|
|
||||||
**/
|
|
||||||
NothingAuthorized: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* No validation function upgrade is currently scheduled.
|
* No validation function upgrade is currently scheduled.
|
||||||
**/
|
**/
|
||||||
@@ -748,10 +761,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* willing to run.
|
* willing to run.
|
||||||
**/
|
**/
|
||||||
TooBig: AugmentedError<ApiType>;
|
TooBig: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* The given code upgrade has not been authorized.
|
|
||||||
**/
|
|
||||||
Unauthorized: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* The inherent which supplies the validation data did not run this block.
|
* The inherent which supplies the validation data did not run this block.
|
||||||
**/
|
**/
|
||||||
@@ -766,6 +775,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The given account is not an identifiable sovereign account for any location.
|
* The given account is not an identifiable sovereign account for any location.
|
||||||
**/
|
**/
|
||||||
AccountNotSovereign: AugmentedError<ApiType>;
|
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.
|
* The location is invalid since it already has a subscription from us.
|
||||||
**/
|
**/
|
||||||
@@ -795,6 +808,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The assets to be sent are empty.
|
* The assets to be sent are empty.
|
||||||
**/
|
**/
|
||||||
Empty: AugmentedError<ApiType>;
|
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.
|
* The operation required fees to be paid which the initiator could not meet.
|
||||||
**/
|
**/
|
||||||
@@ -844,6 +861,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Too many assets have been attempted for transfer.
|
* Too many assets have been attempted for transfer.
|
||||||
**/
|
**/
|
||||||
TooManyAssets: AugmentedError<ApiType>;
|
TooManyAssets: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Too many locations authorized to alias origin.
|
||||||
|
**/
|
||||||
|
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The asset owner has too many locks on the asset.
|
* The asset owner has too many locks on the asset.
|
||||||
**/
|
**/
|
||||||
@@ -895,6 +916,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Callback action resulted in error
|
* Callback action resulted in error
|
||||||
**/
|
**/
|
||||||
CallbackFailed: AugmentedError<ApiType>;
|
CallbackFailed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
||||||
|
**/
|
||||||
|
ContainsFreezes: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
||||||
|
**/
|
||||||
|
ContainsHolds: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The origin account is frozen.
|
* The origin account is frozen.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|||||||
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { 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 { ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, H256, Permill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256, Permill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { AssetHubPolkadotRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
import type { AssetHubPolkadotRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProxyDepositKind, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||||
|
|
||||||
@@ -470,6 +470,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
multisig: {
|
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.
|
* A multisig operation has been approved by someone.
|
||||||
**/
|
**/
|
||||||
@@ -683,6 +687,19 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
polkadotXcm: {
|
polkadotXcm: {
|
||||||
|
/**
|
||||||
|
* `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
|
* Some assets have been claimed from an asset trap
|
||||||
**/
|
**/
|
||||||
@@ -763,6 +780,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* sending the notification to it.
|
* sending the notification to it.
|
||||||
**/
|
**/
|
||||||
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
|
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
|
* Query response has been received and is ready for taking with `take_response`. There is
|
||||||
* no registered notification call.
|
* no registered notification call.
|
||||||
@@ -773,7 +794,11 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
|
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 }>;
|
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
@@ -932,6 +957,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* An announcement was placed to make a call in the future.
|
* 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 }>;
|
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.
|
* A proxy was added.
|
||||||
**/
|
**/
|
||||||
@@ -960,6 +989,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* block number as the type might suggest.
|
* block number as the type might suggest.
|
||||||
**/
|
**/
|
||||||
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
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
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1009,6 +1046,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A new account was created.
|
* A new account was created.
|
||||||
**/
|
**/
|
||||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
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.
|
* On on-chain remark happened.
|
||||||
**/
|
**/
|
||||||
@@ -1181,6 +1222,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A call was dispatched.
|
* A call was dispatched.
|
||||||
**/
|
**/
|
||||||
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
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.
|
* A single item within a Batch of dispatches has completed with no error.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/storage';
|
|||||||
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
||||||
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { AssetHubPolkadotRuntimeRuntimeHoldReason, AssetHubPolkadotRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
import type { AssetHubPolkadotRuntimeRuntimeHoldReason, AssetHubPolkadotRuntimeSessionKeys, BpXcmBridgeHubRouterBridgeState, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV8AbridgedHostConfiguration, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, SpConsensusAuraEd25519AppEd25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
import type { Observable } from '@polkadot/types/types';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
@@ -101,11 +101,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraEd25519AppEd25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraEd25519AppEd25519Public>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Current slot paired with a number of authored blocks.
|
* Current relay chain slot paired with a number of authored blocks.
|
||||||
*
|
*
|
||||||
* Updated on each block initialization.
|
* This is updated in [`FixedVelocityConsensusHook::on_state_proof`] with the current relay
|
||||||
|
* chain slot as provided by the relay chain state proof.
|
||||||
**/
|
**/
|
||||||
slotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
relaySlotInfo: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u64, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -542,6 +543,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* times this pair has been trapped (usually just 1 if it exists at all).
|
* 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]>;
|
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.
|
* The current migration's stage, if any.
|
||||||
**/
|
**/
|
||||||
@@ -677,7 +684,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||||
* a new set of identities.
|
* 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.
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||||
**/
|
**/
|
||||||
@@ -794,6 +801,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
* 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]>;
|
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.
|
* Whether all inherents have been applied.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|||||||
/** 0xd7bdd8a272ca0d65/ */
|
/** 0xd7bdd8a272ca0d65/ */
|
||||||
auraUnincludedSegmentApi: {
|
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>>;
|
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -403,6 +403,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* refunded.
|
* refunded.
|
||||||
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refund: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, bool]>;
|
refund: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, bool]>;
|
||||||
@@ -416,6 +419,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `id`: The identifier of the asset for the account holding a deposit.
|
* - `id`: The identifier of the asset for the account holding a deposit.
|
||||||
* - `who`: The account to refund.
|
* - `who`: The account to refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refundOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
refundOther: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
||||||
@@ -478,6 +484,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||||
* asset.
|
* asset.
|
||||||
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* an account contains holds or freezes in place.
|
||||||
**/
|
**/
|
||||||
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
@@ -1132,6 +1141,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* refunded.
|
* refunded.
|
||||||
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refund: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, bool]>;
|
refund: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, bool]>;
|
||||||
@@ -1145,6 +1157,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `id`: The identifier of the asset for the account holding a deposit.
|
* - `id`: The identifier of the asset for the account holding a deposit.
|
||||||
* - `who`: The account to refund.
|
* - `who`: The account to refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refundOther: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, MultiAddress]>;
|
refundOther: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location, MultiAddress]>;
|
||||||
@@ -1207,6 +1222,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||||
* asset.
|
* asset.
|
||||||
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* an account contains holds or freezes in place.
|
||||||
**/
|
**/
|
||||||
startDestroy: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location]>;
|
startDestroy: AugmentedSubmittable<(id: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV4Location]>;
|
||||||
/**
|
/**
|
||||||
@@ -1500,6 +1518,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Storage: removes one item.
|
* - 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]>;
|
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
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2156,6 +2190,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
polkadotXcm: {
|
polkadotXcm: {
|
||||||
|
/**
|
||||||
|
* 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.
|
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
|
||||||
*
|
*
|
||||||
@@ -2270,6 +2318,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
* - `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]>;
|
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,
|
* Transfer some assets from the local chain to the destination chain through their local,
|
||||||
* destination or remote reserve.
|
* destination or remote reserve.
|
||||||
@@ -2735,6 +2793,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* refunded.
|
* refunded.
|
||||||
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
* - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refund: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;
|
refund: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, allowBurn: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;
|
||||||
@@ -2748,6 +2809,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `id`: The identifier of the asset for the account holding a deposit.
|
* - `id`: The identifier of the asset for the account holding a deposit.
|
||||||
* - `who`: The account to refund.
|
* - `who`: The account to refund.
|
||||||
*
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* the asset account contains holds or freezes in place.
|
||||||
|
*
|
||||||
* Emits `Refunded` event when successful.
|
* Emits `Refunded` event when successful.
|
||||||
**/
|
**/
|
||||||
refundOther: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
refundOther: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
||||||
@@ -2810,6 +2874,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||||
* asset.
|
* asset.
|
||||||
|
*
|
||||||
|
* It will fail with either [`Error::ContainsHolds`] or [`Error::ContainsFreezes`] if
|
||||||
|
* an account contains holds or freezes in place.
|
||||||
**/
|
**/
|
||||||
startDestroy: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
startDestroy: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
@@ -3033,6 +3100,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* account whose `pure` call has corresponding parameters.
|
* account whose `pure` call has corresponding parameters.
|
||||||
**/
|
**/
|
||||||
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: AssetHubPolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubPolkadotRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: AssetHubPolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, AssetHubPolkadotRuntimeProxyType, 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
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -3816,6 +3894,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - O(1).
|
* - O(1).
|
||||||
**/
|
**/
|
||||||
dispatchAs: AugmentedSubmittable<(asOrigin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubPolkadotRuntimeOriginCaller, Call]>;
|
dispatchAs: AugmentedSubmittable<(asOrigin: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubPolkadotRuntimeOriginCaller, 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: AssetHubPolkadotRuntimeOriginCaller | { system: any } | { PolkadotXcm: any } | { CumulusXcm: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AssetHubPolkadotRuntimeOriginCaller, Call]>;
|
||||||
/**
|
/**
|
||||||
* Send a batch of dispatch calls.
|
* Send a batch of dispatch calls.
|
||||||
* Unlike `batch`, it allows errors and won't interrupt.
|
* Unlike `batch`, it allows errors and won't interrupt.
|
||||||
@@ -3832,6 +3918,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - O(C) where C is the number of calls to be batched.
|
* - 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>]>;
|
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.
|
* Dispatch a function call with a specified weight.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/consts';
|
|||||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
|
|
||||||
@@ -128,7 +128,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
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>;
|
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -348,9 +353,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
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.
|
* The number of blocks after submission that a referendum must begin being decided by.
|
||||||
* Once this passes, then anyone may cancel the referendum.
|
* Once this passes, then anyone may cancel the referendum.
|
||||||
@@ -707,9 +714,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
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.
|
* The number of blocks after submission that a referendum must begin being decided by.
|
||||||
* Once this passes, then anyone may cancel the referendum.
|
* Once this passes, then anyone may cancel the referendum.
|
||||||
@@ -983,6 +992,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
* The period during which an approved treasury spend has to be claimed.
|
* The period during which an approved treasury spend has to be claimed.
|
||||||
**/
|
**/
|
||||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* Gets this pallet's derived pot account.
|
||||||
|
**/
|
||||||
|
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Period between successive spends.
|
* Period between successive spends.
|
||||||
**/
|
**/
|
||||||
@@ -1065,5 +1078,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[key: string]: Codec;
|
||||||
};
|
};
|
||||||
|
xcmPallet: {
|
||||||
|
/**
|
||||||
|
* The latest supported version that we advertise. Generally just set it to
|
||||||
|
* `pallet_xcm::CurrentXcmVersion`.
|
||||||
|
**/
|
||||||
|
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic const
|
||||||
|
**/
|
||||||
|
[key: string]: Codec;
|
||||||
|
};
|
||||||
} // AugmentedConsts
|
} // AugmentedConsts
|
||||||
} // declare module
|
} // declare module
|
||||||
|
|||||||
@@ -954,7 +954,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoApprovalsNeeded: AugmentedError<ApiType>;
|
NoApprovalsNeeded: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Multisig operation not found when attempting to cancel.
|
* Multisig operation not found in storage.
|
||||||
**/
|
**/
|
||||||
NotFound: AugmentedError<ApiType>;
|
NotFound: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -962,7 +962,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoTimepoint: AugmentedError<ApiType>;
|
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>;
|
NotOwner: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -1260,10 +1261,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* A (bonded) pool id does not exist.
|
* A (bonded) pool id does not exist.
|
||||||
**/
|
**/
|
||||||
PoolNotFound: AugmentedError<ApiType>;
|
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.
|
* A reward pool does not exist. In all cases this is a system logic error.
|
||||||
**/
|
**/
|
||||||
RewardPoolNotFound: AugmentedError<ApiType>;
|
RewardPoolNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The slash amount is too low to be applied.
|
||||||
|
**/
|
||||||
|
SlashTooLow: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* A sub pool does not exist.
|
* A sub pool does not exist.
|
||||||
**/
|
**/
|
||||||
@@ -1274,6 +1284,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
[key: string]: AugmentedError<ApiType>;
|
[key: string]: AugmentedError<ApiType>;
|
||||||
};
|
};
|
||||||
onDemandAssignmentProvider: {
|
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.
|
* The order queue is full, `place_order` will not continue.
|
||||||
**/
|
**/
|
||||||
@@ -2001,6 +2015,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Rewards for this era have already been claimed for this validator.
|
* Rewards for this era have already been claimed for this validator.
|
||||||
**/
|
**/
|
||||||
AlreadyClaimed: AugmentedError<ApiType>;
|
AlreadyClaimed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The stake of this account is already migrated to `Fungible` holds.
|
||||||
|
**/
|
||||||
|
AlreadyMigrated: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Controller is already paired.
|
* Controller is already paired.
|
||||||
**/
|
**/
|
||||||
@@ -2021,6 +2039,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
||||||
**/
|
**/
|
||||||
CannotChillOther: AugmentedError<ApiType>;
|
CannotChillOther: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Stash could not be reaped as other pallet might depend on it.
|
||||||
|
**/
|
||||||
|
CannotReapStash: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Cannot reset a ledger.
|
* Cannot reset a ledger.
|
||||||
**/
|
**/
|
||||||
@@ -2099,6 +2121,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Can not rebond without unlocking chunks.
|
* Can not rebond without unlocking chunks.
|
||||||
**/
|
**/
|
||||||
NoUnlockChunk: AugmentedError<ApiType>;
|
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.
|
* Provided reward destination is not allowed.
|
||||||
**/
|
**/
|
||||||
@@ -2301,6 +2328,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The given account is not an identifiable sovereign account for any location.
|
* The given account is not an identifiable sovereign account for any location.
|
||||||
**/
|
**/
|
||||||
AccountNotSovereign: AugmentedError<ApiType>;
|
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.
|
* The location is invalid since it already has a subscription from us.
|
||||||
**/
|
**/
|
||||||
@@ -2330,6 +2361,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The assets to be sent are empty.
|
* The assets to be sent are empty.
|
||||||
**/
|
**/
|
||||||
Empty: AugmentedError<ApiType>;
|
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.
|
* The operation required fees to be paid which the initiator could not meet.
|
||||||
**/
|
**/
|
||||||
@@ -2379,6 +2414,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Too many assets have been attempted for transfer.
|
* Too many assets have been attempted for transfer.
|
||||||
**/
|
**/
|
||||||
TooManyAssets: AugmentedError<ApiType>;
|
TooManyAssets: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Too many locations authorized to alias origin.
|
||||||
|
**/
|
||||||
|
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The asset owner has too many locks on the asset.
|
* 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 { ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||||
|
|
||||||
@@ -251,13 +251,17 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
||||||
/**
|
/**
|
||||||
* An account that has voted
|
* An account has voted
|
||||||
**/
|
**/
|
||||||
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
|
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 }>;
|
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
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -557,6 +561,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
indices: {
|
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.
|
* A account index was assigned.
|
||||||
**/
|
**/
|
||||||
@@ -597,6 +605,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
multisig: {
|
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.
|
* A multisig operation has been approved by someone.
|
||||||
**/
|
**/
|
||||||
@@ -761,6 +773,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A pool has been destroyed.
|
* A pool has been destroyed.
|
||||||
**/
|
**/
|
||||||
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
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.
|
* A member has been removed from a pool.
|
||||||
*
|
*
|
||||||
@@ -769,6 +789,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* represented by `released_balance`.
|
* represented by `released_balance`.
|
||||||
**/
|
**/
|
||||||
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
|
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.
|
* Topped up deficit in frozen ED of the reward pool.
|
||||||
**/
|
**/
|
||||||
@@ -801,6 +825,15 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A pool's maximum commission setting has been changed.
|
* A pool's maximum commission setting has been changed.
|
||||||
**/
|
**/
|
||||||
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
|
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`.
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
||||||
**/
|
**/
|
||||||
@@ -859,6 +892,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
onDemandAssignmentProvider: {
|
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
|
* An order was placed at some spot price amount by orderer ordered_by
|
||||||
**/
|
**/
|
||||||
@@ -992,6 +1029,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* An announcement was placed to make a call in the future.
|
* 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 }>;
|
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.
|
* A proxy was added.
|
||||||
**/
|
**/
|
||||||
@@ -1119,6 +1160,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
scheduler: {
|
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.
|
* The call for the provided hash was not found so the task has been aborted.
|
||||||
**/
|
**/
|
||||||
@@ -1167,6 +1212,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* block number as the type might suggest.
|
* block number as the type might suggest.
|
||||||
**/
|
**/
|
||||||
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
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
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1281,6 +1334,11 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* Report of a controller batch deprecation.
|
* Report of a controller batch deprecation.
|
||||||
**/
|
**/
|
||||||
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
|
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 era payout has been set; the first balance is the validator-payout; the second is
|
||||||
* the remainder from the maximum amount of reward.
|
* the remainder from the maximum amount of reward.
|
||||||
@@ -1371,6 +1429,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A new account was created.
|
* A new account was created.
|
||||||
**/
|
**/
|
||||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
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.
|
* On on-chain remark happened.
|
||||||
**/
|
**/
|
||||||
@@ -1468,6 +1530,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A call was dispatched.
|
* A call was dispatched.
|
||||||
**/
|
**/
|
||||||
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
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.
|
* A single item within a Batch of dispatches has completed with no error.
|
||||||
**/
|
**/
|
||||||
@@ -1520,6 +1590,19 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
xcmPallet: {
|
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
|
* Some assets have been claimed from an asset trap
|
||||||
**/
|
**/
|
||||||
@@ -1600,6 +1683,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* sending the notification to it.
|
* sending the notification to it.
|
||||||
**/
|
**/
|
||||||
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
|
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
|
* Query response has been received and is ready for taking with `take_response`. There is
|
||||||
* no registered notification call.
|
* no registered notification call.
|
||||||
@@ -1610,7 +1697,11 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
|
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 }>;
|
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
|
|||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
import type { Observable } from '@polkadot/types/types';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
@@ -1167,6 +1167,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Queue entries that are currently bound to a particular core due to core affinity.
|
* 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]>;
|
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.
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
||||||
**/
|
**/
|
||||||
@@ -1627,6 +1631,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Items to be executed, indexed by the block number that they should be executed on.
|
* 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]>;
|
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, []>;
|
incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Lookup from a name to the block number and index of the task.
|
* Lookup from a name to the block number and index of the task.
|
||||||
@@ -1656,7 +1663,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||||
* a new set of identities.
|
* 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.
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||||
**/
|
**/
|
||||||
@@ -1862,16 +1869,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
||||||
**/
|
**/
|
||||||
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
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.
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
||||||
* If reward hasn't been set or has been removed then 0 reward is returned.
|
* If reward hasn't been set or has been removed then 0 reward is returned.
|
||||||
@@ -2158,6 +2155,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
* 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]>;
|
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.
|
* Whether all inherents have been applied.
|
||||||
**/
|
**/
|
||||||
@@ -2309,6 +2316,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* times this pair has been trapped (usually just 1 if it exists at all).
|
* 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]>;
|
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.
|
* 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 { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||||
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
||||||
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
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';
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
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>>;
|
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>>;
|
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.
|
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
||||||
**/
|
**/
|
||||||
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
|
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<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.
|
* 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.
|
* 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>>>;
|
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
|
||||||
|
/**
|
||||||
|
* Retrieve the scheduling lookahead
|
||||||
|
**/
|
||||||
|
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||||
/**
|
/**
|
||||||
* Returns execution parameters for the session.
|
* Returns execution parameters for the session.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -1012,6 +1012,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
* -`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>]>;
|
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:
|
* 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
|
* Since this only schedules a configuration update, it takes two sessions to come into
|
||||||
@@ -1641,6 +1642,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
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
|
* Assign an index already owned by the sender to another account. The balance reservation
|
||||||
* is effectively transferred to the new account.
|
* is effectively transferred to the new account.
|
||||||
@@ -1814,6 +1828,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Storage: removes one item.
|
* - 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]>;
|
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
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1989,8 +2019,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
||||||
* [`adapter::StakeStrategyType::Delegate`].
|
* [`adapter::StakeStrategyType::Delegate`].
|
||||||
*
|
*
|
||||||
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
||||||
* slash to be applied, caller may be rewarded with the part of the slash.
|
* 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]>;
|
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
@@ -2021,25 +2053,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
||||||
* root role, same as [`Pallet::nominate`].
|
* 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
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
||||||
* account).
|
* account).
|
||||||
*
|
*
|
||||||
* # Conditions for a permissionless dispatch:
|
* # 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.
|
* are unable to unbond.
|
||||||
*
|
*
|
||||||
* # Conditions for permissioned dispatch:
|
* # Conditions for permissioned dispatch:
|
||||||
* * The caller has a nominator or root role of the pool.
|
* * The caller is the pool's nominator or root.
|
||||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
||||||
* account.
|
|
||||||
**/
|
**/
|
||||||
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Claim pending commission.
|
* Claim pending commission.
|
||||||
*
|
*
|
||||||
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
||||||
* commission is paid out and added to total claimed commission`. Total pending commission
|
*
|
||||||
* is reset to zero. the current.
|
* 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]>;
|
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
@@ -2090,8 +2134,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
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
|
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
||||||
* account and immediately increases the pools bond.
|
* [`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
|
* The method of transferring the amount to the pool account is determined by
|
||||||
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
||||||
@@ -2137,13 +2182,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
||||||
* root role.
|
* root role.
|
||||||
*
|
*
|
||||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
||||||
* account.
|
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
||||||
*
|
*
|
||||||
* # Note
|
* # Note
|
||||||
*
|
*
|
||||||
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
|
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
||||||
* at least `depositor_min_bond` in the pool to start nominating.
|
* 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>]>;
|
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
||||||
/**
|
/**
|
||||||
@@ -2340,6 +2385,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `OnDemandOrderPlaced`
|
* - `OnDemandOrderPlaced`
|
||||||
**/
|
**/
|
||||||
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
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
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2458,7 +2523,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
};
|
};
|
||||||
preimage: {
|
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.
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
||||||
**/
|
**/
|
||||||
@@ -2568,6 +2633,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* account whose `pure` call has corresponding parameters.
|
* account whose `pure` call has corresponding parameters.
|
||||||
**/
|
**/
|
||||||
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
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
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -2740,7 +2816,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
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.
|
* for a lost account directly.
|
||||||
*
|
*
|
||||||
* The dispatch origin for this call must be _ROOT_.
|
* The dispatch origin for this call must be _ROOT_.
|
||||||
@@ -3502,6 +3578,40 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* block any further nominations.
|
* 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>]>;
|
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.
|
* Declare the desire to nominate `targets` for the origin controller.
|
||||||
*
|
*
|
||||||
@@ -3719,15 +3829,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
* 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]>;
|
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.
|
* Remove any unlocked chunks from the `unlocking` queue from our management.
|
||||||
*
|
*
|
||||||
@@ -4068,6 +4169,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - O(1).
|
* - 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]>;
|
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.
|
* Send a batch of dispatch calls.
|
||||||
* Unlike `batch`, it allows errors and won't interrupt.
|
* Unlike `batch`, it allows errors and won't interrupt.
|
||||||
@@ -4084,6 +4193,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - O(C) where C is the number of calls to be batched.
|
* - 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>]>;
|
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.
|
* Dispatch a function call with a specified weight.
|
||||||
*
|
*
|
||||||
@@ -4245,6 +4380,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
xcmPallet: {
|
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.
|
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
|
||||||
*
|
*
|
||||||
@@ -4359,6 +4508,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
* - `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]>;
|
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,
|
* Transfer some assets from the local chain to the destination chain through their local,
|
||||||
* destination or remote reserve.
|
* destination or remote reserve.
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/consts';
|
|||||||
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
||||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
|
|
||||||
@@ -128,7 +128,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
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>;
|
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -541,9 +546,11 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
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.
|
* The number of blocks after submission that a referendum must begin being decided by.
|
||||||
* Once this passes, then anyone may cancel the referendum.
|
* Once this passes, then anyone may cancel the referendum.
|
||||||
@@ -803,6 +810,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
* The period during which an approved treasury spend has to be claimed.
|
* The period during which an approved treasury spend has to be claimed.
|
||||||
**/
|
**/
|
||||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* Gets this pallet's derived pot account.
|
||||||
|
**/
|
||||||
|
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Period between successive spends.
|
* Period between successive spends.
|
||||||
**/
|
**/
|
||||||
@@ -885,5 +896,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[key: string]: Codec;
|
||||||
};
|
};
|
||||||
|
xcmPallet: {
|
||||||
|
/**
|
||||||
|
* The latest supported version that we advertise. Generally just set it to
|
||||||
|
* `pallet_xcm::CurrentXcmVersion`.
|
||||||
|
**/
|
||||||
|
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic const
|
||||||
|
**/
|
||||||
|
[key: string]: Codec;
|
||||||
|
};
|
||||||
} // AugmentedConsts
|
} // AugmentedConsts
|
||||||
} // declare module
|
} // declare module
|
||||||
|
|||||||
@@ -842,7 +842,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoApprovalsNeeded: AugmentedError<ApiType>;
|
NoApprovalsNeeded: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Multisig operation not found when attempting to cancel.
|
* Multisig operation not found in storage.
|
||||||
**/
|
**/
|
||||||
NotFound: AugmentedError<ApiType>;
|
NotFound: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -850,7 +850,8 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoTimepoint: AugmentedError<ApiType>;
|
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>;
|
NotOwner: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -1027,10 +1028,19 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* A (bonded) pool id does not exist.
|
* A (bonded) pool id does not exist.
|
||||||
**/
|
**/
|
||||||
PoolNotFound: AugmentedError<ApiType>;
|
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.
|
* A reward pool does not exist. In all cases this is a system logic error.
|
||||||
**/
|
**/
|
||||||
RewardPoolNotFound: AugmentedError<ApiType>;
|
RewardPoolNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The slash amount is too low to be applied.
|
||||||
|
**/
|
||||||
|
SlashTooLow: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* A sub pool does not exist.
|
* A sub pool does not exist.
|
||||||
**/
|
**/
|
||||||
@@ -1041,6 +1051,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
[key: string]: AugmentedError<ApiType>;
|
[key: string]: AugmentedError<ApiType>;
|
||||||
};
|
};
|
||||||
onDemand: {
|
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.
|
* The order queue is full, `place_order` will not continue.
|
||||||
**/
|
**/
|
||||||
@@ -1564,6 +1578,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Rewards for this era have already been claimed for this validator.
|
* Rewards for this era have already been claimed for this validator.
|
||||||
**/
|
**/
|
||||||
AlreadyClaimed: AugmentedError<ApiType>;
|
AlreadyClaimed: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The stake of this account is already migrated to `Fungible` holds.
|
||||||
|
**/
|
||||||
|
AlreadyMigrated: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Controller is already paired.
|
* Controller is already paired.
|
||||||
**/
|
**/
|
||||||
@@ -1584,6 +1602,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
||||||
**/
|
**/
|
||||||
CannotChillOther: AugmentedError<ApiType>;
|
CannotChillOther: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Stash could not be reaped as other pallet might depend on it.
|
||||||
|
**/
|
||||||
|
CannotReapStash: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Cannot reset a ledger.
|
* Cannot reset a ledger.
|
||||||
**/
|
**/
|
||||||
@@ -1662,6 +1684,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Can not rebond without unlocking chunks.
|
* Can not rebond without unlocking chunks.
|
||||||
**/
|
**/
|
||||||
NoUnlockChunk: AugmentedError<ApiType>;
|
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.
|
* Provided reward destination is not allowed.
|
||||||
**/
|
**/
|
||||||
@@ -1900,6 +1927,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The given account is not an identifiable sovereign account for any location.
|
* The given account is not an identifiable sovereign account for any location.
|
||||||
**/
|
**/
|
||||||
AccountNotSovereign: AugmentedError<ApiType>;
|
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.
|
* The location is invalid since it already has a subscription from us.
|
||||||
**/
|
**/
|
||||||
@@ -1929,6 +1960,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The assets to be sent are empty.
|
* The assets to be sent are empty.
|
||||||
**/
|
**/
|
||||||
Empty: AugmentedError<ApiType>;
|
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.
|
* The operation required fees to be paid which the initiator could not meet.
|
||||||
**/
|
**/
|
||||||
@@ -1978,6 +2013,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* Too many assets have been attempted for transfer.
|
* Too many assets have been attempted for transfer.
|
||||||
**/
|
**/
|
||||||
TooManyAssets: AugmentedError<ApiType>;
|
TooManyAssets: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Too many locations authorized to alias origin.
|
||||||
|
**/
|
||||||
|
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The asset owner has too many locks on the asset.
|
* 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 { ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
|
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, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeConstantsProxyProxyType, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||||
|
|
||||||
@@ -251,13 +251,17 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
||||||
/**
|
/**
|
||||||
* An account that has voted
|
* An account has voted
|
||||||
**/
|
**/
|
||||||
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
|
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 }>;
|
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
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -466,6 +470,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
indices: {
|
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.
|
* A account index was assigned.
|
||||||
**/
|
**/
|
||||||
@@ -506,6 +514,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
multisig: {
|
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.
|
* A multisig operation has been approved by someone.
|
||||||
**/
|
**/
|
||||||
@@ -540,6 +552,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A pool has been destroyed.
|
* A pool has been destroyed.
|
||||||
**/
|
**/
|
||||||
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
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.
|
* A member has been removed from a pool.
|
||||||
*
|
*
|
||||||
@@ -548,6 +568,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* represented by `released_balance`.
|
* represented by `released_balance`.
|
||||||
**/
|
**/
|
||||||
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
|
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.
|
* Topped up deficit in frozen ED of the reward pool.
|
||||||
**/
|
**/
|
||||||
@@ -580,6 +604,15 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A pool's maximum commission setting has been changed.
|
* A pool's maximum commission setting has been changed.
|
||||||
**/
|
**/
|
||||||
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
|
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`.
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
||||||
**/
|
**/
|
||||||
@@ -638,6 +671,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
onDemand: {
|
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
|
* An order was placed at some spot price amount by orderer ordered_by
|
||||||
**/
|
**/
|
||||||
@@ -759,6 +796,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* An announcement was placed to make a call in the future.
|
* 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 }>;
|
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.
|
* A proxy was added.
|
||||||
**/
|
**/
|
||||||
@@ -856,6 +897,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
scheduler: {
|
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.
|
* The call for the provided hash was not found so the task has been aborted.
|
||||||
**/
|
**/
|
||||||
@@ -904,6 +949,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* block number as the type might suggest.
|
* block number as the type might suggest.
|
||||||
**/
|
**/
|
||||||
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
|
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
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -941,6 +994,11 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* Report of a controller batch deprecation.
|
* Report of a controller batch deprecation.
|
||||||
**/
|
**/
|
||||||
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
|
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 era payout has been set; the first balance is the validator-payout; the second is
|
||||||
* the remainder from the maximum amount of reward.
|
* the remainder from the maximum amount of reward.
|
||||||
@@ -1054,6 +1112,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A new account was created.
|
* A new account was created.
|
||||||
**/
|
**/
|
||||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
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.
|
* On on-chain remark happened.
|
||||||
**/
|
**/
|
||||||
@@ -1151,6 +1213,14 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* A call was dispatched.
|
* A call was dispatched.
|
||||||
**/
|
**/
|
||||||
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
|
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.
|
* A single item within a Batch of dispatches has completed with no error.
|
||||||
**/
|
**/
|
||||||
@@ -1203,6 +1273,19 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
xcmPallet: {
|
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
|
* Some assets have been claimed from an asset trap
|
||||||
**/
|
**/
|
||||||
@@ -1283,6 +1366,10 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* sending the notification to it.
|
* sending the notification to it.
|
||||||
**/
|
**/
|
||||||
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
|
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
|
* Query response has been received and is ready for taking with `take_response`. There is
|
||||||
* no registered notification call.
|
* no registered notification call.
|
||||||
@@ -1293,7 +1380,11 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
|
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 }>;
|
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128
|
|||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
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 { 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, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
import type { Observable } from '@polkadot/types/types';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
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.
|
* 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]>;
|
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.
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
||||||
**/
|
**/
|
||||||
@@ -1434,6 +1438,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Items to be executed, indexed by the block number that they should be executed on.
|
* 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]>;
|
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, []>;
|
incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Lookup from a name to the block number and index of the task.
|
* Lookup from a name to the block number and index of the task.
|
||||||
@@ -1463,7 +1470,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||||
* a new set of identities.
|
* 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.
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||||
**/
|
**/
|
||||||
@@ -1582,16 +1589,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
|
||||||
**/
|
**/
|
||||||
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
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.
|
* Rewards for the last [`Config::HistoryDepth`] eras.
|
||||||
* If reward hasn't been set or has been removed then 0 reward is returned.
|
* If reward hasn't been set or has been removed then 0 reward is returned.
|
||||||
@@ -1903,6 +1900,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
* 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]>;
|
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.
|
* Whether all inherents have been applied.
|
||||||
**/
|
**/
|
||||||
@@ -2054,6 +2061,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* times this pair has been trapped (usually just 1 if it exists at all).
|
* 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]>;
|
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.
|
* 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 { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||||
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
|
||||||
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
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 { 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';
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
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>>;
|
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>>;
|
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.
|
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
||||||
**/
|
**/
|
||||||
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
|
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<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.
|
* 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.
|
* 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>>>;
|
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
|
||||||
|
/**
|
||||||
|
* Retrieve the scheduling lookahead
|
||||||
|
**/
|
||||||
|
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||||
/**
|
/**
|
||||||
* Returns execution parameters for the session.
|
* Returns execution parameters for the session.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -1012,6 +1012,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
* -`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>]>;
|
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:
|
* 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
|
* Since this only schedules a configuration update, it takes two sessions to come into
|
||||||
@@ -1466,6 +1467,19 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
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
|
* Assign an index already owned by the sender to another account. The balance reservation
|
||||||
* is effectively transferred to the new account.
|
* is effectively transferred to the new account.
|
||||||
@@ -1639,6 +1653,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Storage: removes one item.
|
* - 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]>;
|
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
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1661,8 +1691,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
|
||||||
* [`adapter::StakeStrategyType::Delegate`].
|
* [`adapter::StakeStrategyType::Delegate`].
|
||||||
*
|
*
|
||||||
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
|
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
|
||||||
* slash to be applied, caller may be rewarded with the part of the slash.
|
* 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]>;
|
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
@@ -1693,25 +1725,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
* The dispatch origin of this call can be signed by the pool nominator or the pool
|
||||||
* root role, same as [`Pallet::nominate`].
|
* 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
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
||||||
* account).
|
* account).
|
||||||
*
|
*
|
||||||
* # Conditions for a permissionless dispatch:
|
* # 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.
|
* are unable to unbond.
|
||||||
*
|
*
|
||||||
* # Conditions for permissioned dispatch:
|
* # Conditions for permissioned dispatch:
|
||||||
* * The caller has a nominator or root role of the pool.
|
* * The caller is the pool's nominator or root.
|
||||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
|
||||||
* account.
|
|
||||||
**/
|
**/
|
||||||
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Claim pending commission.
|
* Claim pending commission.
|
||||||
*
|
*
|
||||||
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
|
||||||
* commission is paid out and added to total claimed commission`. Total pending commission
|
*
|
||||||
* is reset to zero. the current.
|
* 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]>;
|
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
@@ -1762,8 +1806,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]>;
|
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
|
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
||||||
* account and immediately increases the pools bond.
|
* [`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
|
* The method of transferring the amount to the pool account is determined by
|
||||||
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
* [`adapter::StakeStrategyType`]. If the pool is configured to use
|
||||||
@@ -1809,13 +1854,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
||||||
* root role.
|
* root role.
|
||||||
*
|
*
|
||||||
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
|
||||||
* account.
|
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
|
||||||
*
|
*
|
||||||
* # Note
|
* # Note
|
||||||
*
|
*
|
||||||
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
|
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
||||||
* at least `depositor_min_bond` in the pool to start nominating.
|
* 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>]>;
|
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
||||||
/**
|
/**
|
||||||
@@ -2012,6 +2057,26 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `OnDemandOrderPlaced`
|
* - `OnDemandOrderPlaced`
|
||||||
**/
|
**/
|
||||||
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
|
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
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2117,7 +2182,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
};
|
};
|
||||||
preimage: {
|
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.
|
* The caller pays no fee if at least 90% of pre-images were successfully updated.
|
||||||
**/
|
**/
|
||||||
@@ -2227,6 +2292,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* account whose `pure` call has corresponding parameters.
|
* account whose `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>]>;
|
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
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -2828,6 +2904,40 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* block any further nominations.
|
* 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>]>;
|
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.
|
* Declare the desire to nominate `targets` for the origin controller.
|
||||||
*
|
*
|
||||||
@@ -3045,15 +3155,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
|
* 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]>;
|
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.
|
* Remove any unlocked chunks from the `unlocking` queue from our management.
|
||||||
*
|
*
|
||||||
@@ -3462,6 +3563,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - O(1).
|
* - 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]>;
|
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.
|
* Send a batch of dispatch calls.
|
||||||
* Unlike `batch`, it allows errors and won't interrupt.
|
* Unlike `batch`, it allows errors and won't interrupt.
|
||||||
@@ -3478,6 +3587,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - O(C) where C is the number of calls to be batched.
|
* - 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>]>;
|
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.
|
* Dispatch a function call with a specified weight.
|
||||||
*
|
*
|
||||||
@@ -3639,6 +3774,20 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
xcmPallet: {
|
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.
|
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
|
||||||
*
|
*
|
||||||
@@ -3753,6 +3902,16 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
|
* - `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]>;
|
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,
|
* Transfer some assets from the local chain to the destination chain through their local,
|
||||||
* destination or remote reserve.
|
* 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 { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
||||||
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
||||||
import type { AccountId32, H160, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
|
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';
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
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.
|
* 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.
|
* 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.
|
* 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`].
|
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-core": "16.1.2",
|
"@polkadot/rpc-core": "16.4.4",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -18,22 +18,22 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "16.1.2",
|
"@polkadot/api": "16.4.4",
|
||||||
"@polkadot/api-augment": "16.1.2",
|
"@polkadot/api-augment": "16.4.4",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/types-create": "16.1.2",
|
"@polkadot/types-create": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"@polkadot/util-crypto": "^13.5.1",
|
"@polkadot/util-crypto": "^13.5.5",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "16.1.2",
|
"@polkadot/api-augment": "16.4.4",
|
||||||
"@polkadot/keyring": "^13.5.1",
|
"@polkadot/keyring": "^13.5.5",
|
||||||
"@polkadot/types-support": "16.1.2"
|
"@polkadot/types-support": "16.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import type { Bytes, Vec } from '@polkadot/types';
|
import type { Bytes, Vec } from '@polkadot/types';
|
||||||
import type { ChainProperties, ContractConstructorSpecLatest, ContractEventParamSpecLatest, ContractMessageParamSpecLatest, ContractMessageSpecLatest, ContractMetadata, ContractMetadataV4, ContractMetadataV5, ContractProjectInfo, ContractTypeSpec, EventRecord } from '@polkadot/types/interfaces';
|
import type { ChainProperties, ContractConstructorSpecLatest, ContractEventParamSpecLatest, ContractMessageParamSpecLatest, ContractMessageSpecLatest, ContractMetadata, ContractMetadataV4, ContractMetadataV5, ContractMetadataV6, ContractProjectInfo, ContractTypeSpec, EventRecord } from '@polkadot/types/interfaces';
|
||||||
import type { Codec, Registry, TypeDef } from '@polkadot/types/types';
|
import type { Codec, Registry, TypeDef } from '@polkadot/types/types';
|
||||||
import type { AbiConstructor, AbiEvent, AbiEventParam, AbiMessage, AbiMessageParam, AbiParam, DecodedEvent, DecodedMessage } from '../types.js';
|
import type { AbiConstructor, AbiEvent, AbiEventParam, AbiMessage, AbiMessageParam, AbiParam, DecodedEvent, DecodedMessage } from '../types.js';
|
||||||
|
|
||||||
@@ -19,12 +19,12 @@ interface AbiJson {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type EventOf<M> = M extends {spec: { events: Vec<infer E>}} ? E : never
|
type EventOf<M> = M extends {spec: { events: Vec<infer E>}} ? E : never
|
||||||
export type ContractMetadataSupported = ContractMetadataV4 | ContractMetadataV5;
|
export type ContractMetadataSupported = ContractMetadataV4 | ContractMetadataV5 | ContractMetadataV6;
|
||||||
type ContractEventSupported = EventOf<ContractMetadataSupported>;
|
type ContractEventSupported = EventOf<ContractMetadataSupported>;
|
||||||
|
|
||||||
const l = logger('Abi');
|
const l = logger('Abi');
|
||||||
|
|
||||||
const PRIMITIVE_ALWAYS = ['AccountId', 'AccountIndex', 'Address', 'Balance'];
|
const PRIMITIVE_ALWAYS = ['AccountId', 'AccountId20', 'AccountIndex', 'Address', 'Balance'];
|
||||||
|
|
||||||
function findMessage <T extends AbiMessage> (list: T[], messageOrId: T | string | number): T {
|
function findMessage <T extends AbiMessage> (list: T[], messageOrId: T | string | number): T {
|
||||||
const message = isNumber(messageOrId)
|
const message = isNumber(messageOrId)
|
||||||
@@ -66,9 +66,28 @@ function getMetadata (registry: Registry, json: AbiJson): ContractMetadataSuppor
|
|||||||
return upgradedMetadata;
|
return upgradedMetadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseJson (json: Record<string, unknown>, chainProperties?: ChainProperties): [Record<string, unknown>, Registry, ContractMetadataSupported, ContractProjectInfo] {
|
function isRevive (json: Record<string, unknown>): boolean {
|
||||||
|
const source = json['source'];
|
||||||
|
const version = json['version'];
|
||||||
|
|
||||||
|
const hasContractBinary =
|
||||||
|
typeof source === 'object' &&
|
||||||
|
source !== null &&
|
||||||
|
'contract_binary' in source;
|
||||||
|
|
||||||
|
const hasVersion =
|
||||||
|
typeof version === 'number' && version >= 6;
|
||||||
|
|
||||||
|
return hasContractBinary || hasVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
function parseJson (json: Record<string, unknown>, chainProperties?: ChainProperties): [Record<string, unknown>, Registry, ContractMetadataSupported, ContractProjectInfo, boolean] {
|
||||||
const registry = new TypeRegistry();
|
const registry = new TypeRegistry();
|
||||||
const info = registry.createType('ContractProjectInfo', json) as unknown as ContractProjectInfo;
|
|
||||||
|
const revive = isRevive(json);
|
||||||
|
const typeName = revive ? 'ContractReviveProjectInfo' : 'ContractProjectInfo';
|
||||||
|
|
||||||
|
const info = registry.createType(typeName, json) as unknown as ContractProjectInfo;
|
||||||
const metadata = getMetadata(registry, json as unknown as AbiJson);
|
const metadata = getMetadata(registry, json as unknown as AbiJson);
|
||||||
const lookup = registry.createType('PortableRegistry', { types: metadata.types }, true);
|
const lookup = registry.createType('PortableRegistry', { types: metadata.types }, true);
|
||||||
|
|
||||||
@@ -84,7 +103,7 @@ function parseJson (json: Record<string, unknown>, chainProperties?: ChainProper
|
|||||||
lookup.getTypeDef(id)
|
lookup.getTypeDef(id)
|
||||||
);
|
);
|
||||||
|
|
||||||
return [json, registry, metadata, info];
|
return [json, registry, metadata, info, revive];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -112,9 +131,10 @@ export class Abi {
|
|||||||
readonly metadata: ContractMetadataSupported;
|
readonly metadata: ContractMetadataSupported;
|
||||||
readonly registry: Registry;
|
readonly registry: Registry;
|
||||||
readonly environment = new Map<string, TypeDef | Codec>();
|
readonly environment = new Map<string, TypeDef | Codec>();
|
||||||
|
readonly isRevive: boolean;
|
||||||
|
|
||||||
constructor (abiJson: Record<string, unknown> | string, chainProperties?: ChainProperties) {
|
constructor (abiJson: Record<string, unknown> | string, chainProperties?: ChainProperties) {
|
||||||
[this.json, this.registry, this.metadata, this.info] = parseJson(
|
[this.json, this.registry, this.metadata, this.info, this.isRevive] = parseJson(
|
||||||
isString(abiJson)
|
isString(abiJson)
|
||||||
? JSON.parse(abiJson) as Record<string, unknown>
|
? JSON.parse(abiJson) as Record<string, unknown>
|
||||||
: abiJson,
|
: abiJson,
|
||||||
@@ -174,12 +194,55 @@ export class Abi {
|
|||||||
// earlier version are hoisted to v4
|
// earlier version are hoisted to v4
|
||||||
case '4':
|
case '4':
|
||||||
return this.#decodeEventV4(record);
|
return this.#decodeEventV4(record);
|
||||||
|
case '5':
|
||||||
|
return this.#decodeEventV5(record);
|
||||||
// Latest
|
// Latest
|
||||||
default:
|
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 => {
|
#decodeEventV5 = (record: EventRecord): DecodedEvent => {
|
||||||
// Find event by first topic, which potentially is the signature_topic
|
// Find event by first topic, which potentially is the signature_topic
|
||||||
const signatureTopic = record.topics[0];
|
const signatureTopic = record.topics[0];
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
import { TypeRegistry } from '@polkadot/types';
|
import { TypeRegistry } from '@polkadot/types';
|
||||||
|
|
||||||
import abis from '../test/contracts/index.js';
|
import abis from '../test/contracts/index.js';
|
||||||
import { v0ToLatestCompatible, v1ToLatestCompatible, v2ToLatestCompatible, v3ToLatestCompatible, v4ToLatestCompatible, v5ToLatestCompatible } from './toLatestCompatible.js';
|
import { v0ToLatestCompatible, v1ToLatestCompatible, v2ToLatestCompatible, v3ToLatestCompatible, v4ToLatestCompatible, v5ToLatestCompatible, v6ToLatestCompatible } from './toLatestCompatible.js';
|
||||||
|
|
||||||
describe('v0ToLatestCompatible', (): void => {
|
describe('v0ToLatestCompatible', (): void => {
|
||||||
const registry = new TypeRegistry();
|
const registry = new TypeRegistry();
|
||||||
@@ -191,3 +191,29 @@ describe('v5ToLatestCompatible', (): void => {
|
|||||||
expect(latest.version.toString()).toEqual('5');
|
expect(latest.version.toString()).toEqual('5');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('v6ToLatestCompatible', (): void => {
|
||||||
|
const registry = new TypeRegistry();
|
||||||
|
const contract = registry.createType('ContractMetadata', { V6: abis['ink_v6_erc20Metadata'] });
|
||||||
|
const latest = v6ToLatestCompatible(registry, contract.asV6);
|
||||||
|
|
||||||
|
it('has the correct messages', (): void => {
|
||||||
|
expect(
|
||||||
|
latest.spec.messages.map(({ label }) => label.toString())
|
||||||
|
).toEqual(['total_supply', 'balance_of', 'allowance', 'transfer', 'approve', 'transfer_from']);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('has H160 as the type of balance_of argument', (): void => {
|
||||||
|
const arg = latest.spec.messages.find(
|
||||||
|
(m) => m.label.toString() === 'balance_of'
|
||||||
|
)?.args[0];
|
||||||
|
|
||||||
|
const name = arg?.type.displayName?.[0]?.toString();
|
||||||
|
|
||||||
|
expect(name).toBe('H160');
|
||||||
|
});
|
||||||
|
|
||||||
|
it('has the latest compatible version number', (): void => {
|
||||||
|
expect(latest.version.toString()).toEqual('6');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
|
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import type { ContractMetadataV4, ContractMetadataV5 } from '@polkadot/types/interfaces';
|
import type { ContractMetadataV4, ContractMetadataV5, ContractMetadataV6 } from '@polkadot/types/interfaces';
|
||||||
import type { Registry } from '@polkadot/types/types';
|
import type { Registry } from '@polkadot/types/types';
|
||||||
import type { ContractMetadataSupported } from './index.js';
|
import type { ContractMetadataSupported } from './index.js';
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ import { v3ToV4 } from './toV4.js';
|
|||||||
|
|
||||||
// The versions where an enum is used, aka V0 is missing
|
// The versions where an enum is used, aka V0 is missing
|
||||||
// (Order from newest, i.e. we expect more on newest vs oldest)
|
// (Order from newest, i.e. we expect more on newest vs oldest)
|
||||||
export const enumVersions = ['V5', 'V4', 'V3', 'V2', 'V1'] as const;
|
export const enumVersions = ['V6', 'V5', 'V4', 'V3', 'V2', 'V1'] as const;
|
||||||
|
|
||||||
type Versions = typeof enumVersions[number] | 'V0';
|
type Versions = typeof enumVersions[number] | 'V0';
|
||||||
|
|
||||||
@@ -24,6 +24,10 @@ function createConverter <I, O> (next: (registry: Registry, input: O) => Contrac
|
|||||||
next(registry, step(registry, input));
|
next(registry, step(registry, input));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function v6ToLatestCompatible (_registry: Registry, v6: ContractMetadataV6): ContractMetadataV6 {
|
||||||
|
return v6;
|
||||||
|
}
|
||||||
|
|
||||||
export function v5ToLatestCompatible (_registry: Registry, v5: ContractMetadataV5): ContractMetadataV5 {
|
export function v5ToLatestCompatible (_registry: Registry, v5: ContractMetadataV5): ContractMetadataV5 {
|
||||||
return v5;
|
return v5;
|
||||||
}
|
}
|
||||||
@@ -38,6 +42,7 @@ export const v1ToLatestCompatible = /*#__PURE__*/ createConverter(v2ToLatestComp
|
|||||||
export const v0ToLatestCompatible = /*#__PURE__*/ createConverter(v1ToLatestCompatible, v0ToV1);
|
export const v0ToLatestCompatible = /*#__PURE__*/ createConverter(v1ToLatestCompatible, v0ToV1);
|
||||||
|
|
||||||
export const convertVersions: [Versions, Converter][] = [
|
export const convertVersions: [Versions, Converter][] = [
|
||||||
|
['V6', v6ToLatestCompatible],
|
||||||
['V5', v5ToLatestCompatible],
|
['V5', v5ToLatestCompatible],
|
||||||
['V4', v4ToLatestCompatible],
|
['V4', v4ToLatestCompatible],
|
||||||
['V3', v3ToLatestCompatible],
|
['V3', v3ToLatestCompatible],
|
||||||
|
|||||||
@@ -16,14 +16,11 @@ export abstract class Base<ApiType extends ApiTypes> {
|
|||||||
|
|
||||||
protected readonly _decorateMethod: DecorateMethod<ApiType>;
|
protected readonly _decorateMethod: DecorateMethod<ApiType>;
|
||||||
protected readonly _isWeightV1: boolean;
|
protected readonly _isWeightV1: boolean;
|
||||||
|
protected readonly _isRevive: boolean;
|
||||||
|
|
||||||
constructor (api: ApiBase<ApiType>, abi: string | Record<string, unknown> | Abi, decorateMethod: DecorateMethod<ApiType>) {
|
constructor (api: ApiBase<ApiType>, abi: string | Record<string, unknown> | Abi, decorateMethod: DecorateMethod<ApiType>) {
|
||||||
if (!api || !api.isConnected || !api.tx) {
|
if (!api || !api.isConnected || !api.tx) {
|
||||||
throw new Error('Your API has not been initialized correctly and is not connected to a chain');
|
throw new Error('Your API has not been initialized correctly and is not connected to a chain');
|
||||||
} else if (!api.tx.contracts || !isFunction(api.tx.contracts.instantiateWithCode) || api.tx.contracts.instantiateWithCode.meta.args.length !== 6) {
|
|
||||||
throw new Error('The runtime does not expose api.tx.contracts.instantiateWithCode with storageDepositLimit');
|
|
||||||
} else if (!api.call.contractsApi || !isFunction(api.call.contractsApi.call)) {
|
|
||||||
throw new Error('Your runtime does not expose the api.call.contractsApi.call runtime interfaces');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.abi = abi instanceof Abi
|
this.abi = abi instanceof Abi
|
||||||
@@ -32,6 +29,21 @@ export abstract class Base<ApiType extends ApiTypes> {
|
|||||||
this.api = api;
|
this.api = api;
|
||||||
this._decorateMethod = decorateMethod;
|
this._decorateMethod = decorateMethod;
|
||||||
this._isWeightV1 = !api.registry.createType<WeightV2>('Weight').proofSize;
|
this._isWeightV1 = !api.registry.createType<WeightV2>('Weight').proofSize;
|
||||||
|
this._isRevive = this.abi.isRevive;
|
||||||
|
|
||||||
|
if (this._isRevive) {
|
||||||
|
if (!api.tx.revive || !isFunction(api.tx.revive.instantiateWithCode) || api.tx.revive.instantiateWithCode.meta.args.length !== 6) {
|
||||||
|
throw new Error('The runtime does not expose api.tx.revive.instantiateWithCode with storageDepositLimit');
|
||||||
|
} else if (!api.call.reviveApi || !isFunction(api.call.reviveApi.call)) {
|
||||||
|
throw new Error('Your runtime does not expose the api.call.reviveApi.call runtime interfaces');
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (!api.tx.contracts || !isFunction(api.tx.contracts.instantiateWithCode) || api.tx.contracts.instantiateWithCode.meta.args.length !== 6) {
|
||||||
|
throw new Error('The runtime does not expose api.tx.contracts.instantiateWithCode with storageDepositLimit');
|
||||||
|
} else if (!api.call.contractsApi || !isFunction(api.call.contractsApi.call)) {
|
||||||
|
throw new Error('Your runtime does not expose the api.call.contractsApi.call runtime interfaces');
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public get registry (): Registry {
|
public get registry (): Registry {
|
||||||
|
|||||||
@@ -55,7 +55,11 @@ export class Blueprint<ApiType extends ApiTypes> extends Base<ApiType> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#deploy = (constructorOrId: AbiConstructor | string | number, { gasLimit = BN_ZERO, salt, storageDepositLimit = null, value = BN_ZERO }: BlueprintOptions, params: unknown[]): SubmittableExtrinsic<ApiType, BlueprintSubmittableResult<ApiType>> => {
|
#deploy = (constructorOrId: AbiConstructor | string | number, { gasLimit = BN_ZERO, salt, storageDepositLimit = null, value = BN_ZERO }: BlueprintOptions, params: unknown[]): SubmittableExtrinsic<ApiType, BlueprintSubmittableResult<ApiType>> => {
|
||||||
return this.api.tx.contracts.instantiate(
|
const palletTx = this._isRevive
|
||||||
|
? this.api.tx.revive
|
||||||
|
: this.api.tx.contracts;
|
||||||
|
|
||||||
|
return palletTx.instantiate(
|
||||||
value,
|
value,
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore jiggle v1 weights, metadata points to latest
|
// @ts-ignore jiggle v1 weights, metadata points to latest
|
||||||
@@ -67,9 +71,23 @@ export class Blueprint<ApiType extends ApiTypes> extends Base<ApiType> {
|
|||||||
this.abi.findConstructor(constructorOrId).toU8a(params),
|
this.abi.findConstructor(constructorOrId).toU8a(params),
|
||||||
encodeSalt(salt)
|
encodeSalt(salt)
|
||||||
).withResultTransform((result: ISubmittableResult) =>
|
).withResultTransform((result: ISubmittableResult) =>
|
||||||
new BlueprintSubmittableResult(result, applyOnEvent(result, ['Instantiated'], ([record]: EventRecord[]) =>
|
new BlueprintSubmittableResult(result,
|
||||||
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod)
|
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), this._isRevive
|
||||||
|
)
|
||||||
|
)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,9 @@ import { toPromiseMethod } from '@polkadot/api';
|
|||||||
import v0contractFlipper from '../test/contracts/ink/v0/flipper.contract.json' assert { type: 'json' };
|
import v0contractFlipper from '../test/contracts/ink/v0/flipper.contract.json' assert { type: 'json' };
|
||||||
import v0abiFlipper from '../test/contracts/ink/v0/flipper.json' assert { type: 'json' };
|
import v0abiFlipper from '../test/contracts/ink/v0/flipper.json' assert { type: 'json' };
|
||||||
import v1contractFlipper from '../test/contracts/ink/v1/flipper.contract.json' assert { type: 'json' };
|
import v1contractFlipper from '../test/contracts/ink/v1/flipper.contract.json' assert { type: 'json' };
|
||||||
|
import v6contractErc20 from '../test/contracts/ink/v6/erc20.contract.json' assert { type: 'json' };
|
||||||
import { Code } from './Code.js';
|
import { Code } from './Code.js';
|
||||||
import { mockApi } from './mock.js';
|
import { mockApi, mockReviveApi } from './mock.js';
|
||||||
|
|
||||||
const v0wasmFlipper = fs.readFileSync(new URL('../test/contracts/ink/v0/flipper.wasm', import.meta.url), 'utf-8');
|
const v0wasmFlipper = fs.readFileSync(new URL('../test/contracts/ink/v0/flipper.wasm', import.meta.url), 'utf-8');
|
||||||
|
|
||||||
@@ -33,4 +34,14 @@ describe('Code', (): void => {
|
|||||||
() => new Code(mockApi, v1contractFlipper as Record<string, unknown>, null, toPromiseMethod)
|
() => new Code(mockApi, v1contractFlipper as Record<string, unknown>, null, toPromiseMethod)
|
||||||
).not.toThrow();
|
).not.toThrow();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('can construct a revive compatible contract (v6)', (): void => {
|
||||||
|
expect(
|
||||||
|
() => new Code(mockApi, v6contractErc20 as Record<string, unknown>, null, toPromiseMethod)
|
||||||
|
).toThrow('The runtime does not expose api.tx.revive.instantiateWithCode with storageDepositLimit');
|
||||||
|
|
||||||
|
expect(
|
||||||
|
() => new Code(mockReviveApi, v6contractErc20 as Record<string, unknown>, null, toPromiseMethod)
|
||||||
|
).not.toThrow();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -68,7 +68,30 @@ export class Code<ApiType extends ApiTypes> extends Base<ApiType> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#instantiate = (constructorOrId: AbiConstructor | string | number, { gasLimit = BN_ZERO, salt, storageDepositLimit = null, value = BN_ZERO }: BlueprintOptions, params: unknown[]): SubmittableExtrinsic<ApiType, CodeSubmittableResult<ApiType>> => {
|
#instantiate = (constructorOrId: AbiConstructor | string | number, { gasLimit = BN_ZERO, salt, storageDepositLimit = null, value = BN_ZERO }: BlueprintOptions, params: unknown[]): SubmittableExtrinsic<ApiType, CodeSubmittableResult<ApiType>> => {
|
||||||
return this.api.tx.contracts.instantiateWithCode(
|
const palletTx = this._isRevive ? this.api.tx.revive : this.api.tx.contracts;
|
||||||
|
|
||||||
|
if (this._isRevive) {
|
||||||
|
return palletTx.instantiateWithCode(
|
||||||
|
value,
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
|
// @ts-ignore jiggle v1 weights, metadata points to latest
|
||||||
|
this._isWeightV1
|
||||||
|
? convertWeight(gasLimit).v1Weight
|
||||||
|
: convertWeight(gasLimit).v2Weight,
|
||||||
|
storageDepositLimit,
|
||||||
|
compactAddLength(this.code),
|
||||||
|
this.abi.findConstructor(constructorOrId).toU8a(params),
|
||||||
|
encodeSalt(salt)
|
||||||
|
).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)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return palletTx.instantiateWithCode(
|
||||||
value,
|
value,
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-ignore jiggle v1 weights, metadata points to latest
|
// @ts-ignore jiggle v1 weights, metadata points to latest
|
||||||
@@ -87,7 +110,7 @@ export class Code<ApiType extends ApiTypes> extends Base<ApiType> {
|
|||||||
: this.api.events.contracts.CodeStored.is(event)
|
: 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]
|
? [new Blueprint<ApiType>(this.api, this.abi, (event as unknown as { data: [AccountId] }).data[0], this._decorateMethod), contract]
|
||||||
: [blueprint, contract],
|
: [blueprint, contract],
|
||||||
[undefined, undefined])
|
[undefined, undefined]), this._isRevive
|
||||||
) || [undefined, undefined]))
|
) || [undefined, undefined]))
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
import type { ApiBase } from '@polkadot/api/base';
|
import type { ApiBase } from '@polkadot/api/base';
|
||||||
import type { SubmittableExtrinsic } from '@polkadot/api/submittable/types';
|
import type { SubmittableExtrinsic } from '@polkadot/api/submittable/types';
|
||||||
import type { ApiTypes, DecorateMethod } from '@polkadot/api/types';
|
import type { ApiTypes, DecorateMethod } from '@polkadot/api/types';
|
||||||
import type { AccountId, ContractExecResult, EventRecord, Weight, WeightV2 } from '@polkadot/types/interfaces';
|
import type { AccountId, AccountId20, ContractExecResult, EventRecord, Weight, WeightV2 } from '@polkadot/types/interfaces';
|
||||||
import type { ISubmittableResult } from '@polkadot/types/types';
|
import type { ISubmittableResult } from '@polkadot/types/types';
|
||||||
import type { Abi } from '../Abi/index.js';
|
import type { Abi } from '../Abi/index.js';
|
||||||
import type { AbiMessage, ContractCallOutcome, ContractOptions, DecodedEvent, WeightAll } from '../types.js';
|
import type { AbiMessage, ContractCallOutcome, ContractOptions, DecodedEvent, WeightAll } from '../types.js';
|
||||||
@@ -52,15 +52,15 @@ export class Contract<ApiType extends ApiTypes> extends Base<ApiType> {
|
|||||||
/**
|
/**
|
||||||
* @description The on-chain address for this contract
|
* @description The on-chain address for this contract
|
||||||
*/
|
*/
|
||||||
readonly address: AccountId;
|
readonly address: AccountId | AccountId20;
|
||||||
|
|
||||||
readonly #query: MapMessageQuery<ApiType> = {};
|
readonly #query: MapMessageQuery<ApiType> = {};
|
||||||
readonly #tx: MapMessageTx<ApiType> = {};
|
readonly #tx: MapMessageTx<ApiType> = {};
|
||||||
|
|
||||||
constructor (api: ApiBase<ApiType>, abi: string | Record<string, unknown> | Abi, address: string | AccountId, decorateMethod: DecorateMethod<ApiType>) {
|
constructor (api: ApiBase<ApiType>, abi: string | Record<string, unknown> | Abi, address: string | AccountId | AccountId20, decorateMethod: DecorateMethod<ApiType>) {
|
||||||
super(api, abi, decorateMethod);
|
super(api, abi, decorateMethod);
|
||||||
|
|
||||||
this.address = this.registry.createType('AccountId', address);
|
this.address = this.registry.createType(this._isRevive ? 'AccountId20' : 'AccountId', address);
|
||||||
|
|
||||||
this.abi.messages.forEach((m): void => {
|
this.abi.messages.forEach((m): void => {
|
||||||
if (isUndefined(this.#tx[m.method])) {
|
if (isUndefined(this.#tx[m.method])) {
|
||||||
@@ -100,7 +100,9 @@ export class Contract<ApiType extends ApiTypes> extends Base<ApiType> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#exec = (messageOrId: AbiMessage | string | number, { gasLimit = BN_ZERO, storageDepositLimit = null, value = BN_ZERO }: ContractOptions, params: unknown[]): SubmittableExtrinsic<ApiType> => {
|
#exec = (messageOrId: AbiMessage | string | number, { gasLimit = BN_ZERO, storageDepositLimit = null, value = BN_ZERO }: ContractOptions, params: unknown[]): SubmittableExtrinsic<ApiType> => {
|
||||||
return this.api.tx.contracts.call(
|
const palletTx = this._isRevive ? this.api.tx.revive : this.api.tx.contracts;
|
||||||
|
|
||||||
|
return palletTx.call(
|
||||||
this.address,
|
this.address,
|
||||||
value,
|
value,
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
@@ -123,7 +125,7 @@ export class Contract<ApiType extends ApiTypes> extends Base<ApiType> {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.filter((decoded): decoded is DecodedEvent => !!decoded)
|
.filter((decoded): decoded is DecodedEvent => !!decoded), this._isRevive
|
||||||
))
|
))
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -134,7 +136,9 @@ export class Contract<ApiType extends ApiTypes> extends Base<ApiType> {
|
|||||||
return {
|
return {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||||
send: this._decorateMethod((origin: string | AccountId | Uint8Array) =>
|
send: this._decorateMethod((origin: string | AccountId | Uint8Array) =>
|
||||||
this.api.rx.call.contractsApi.call<ContractExecResult>(
|
(this._isRevive
|
||||||
|
? this.api.rx.call.reviveApi.call
|
||||||
|
: this.api.rx.call.contractsApi.call)<ContractExecResult>(
|
||||||
origin,
|
origin,
|
||||||
this.address,
|
this.address,
|
||||||
value,
|
value,
|
||||||
|
|||||||
@@ -29,3 +29,20 @@ export const mockApi = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} as unknown as ApiBase<'promise'>;
|
} as unknown as ApiBase<'promise'>;
|
||||||
|
|
||||||
|
export const mockReviveApi = {
|
||||||
|
call: {
|
||||||
|
reviveApi: {
|
||||||
|
call: (): never => {
|
||||||
|
throw new Error('mock');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
isConnected: true,
|
||||||
|
registry,
|
||||||
|
tx: {
|
||||||
|
revive: {
|
||||||
|
instantiateWithCode
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} as unknown as ApiBase<'promise'>;
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import type { ApiPromise } from '@polkadot/api';
|
import type { ApiPromise } from '@polkadot/api';
|
||||||
import type { AccountId, Hash } from '@polkadot/types/interfaces';
|
import type { AccountId, AccountId20, Hash } from '@polkadot/types/interfaces';
|
||||||
import type { Abi } from '../Abi/index.js';
|
import type { Abi } from '../Abi/index.js';
|
||||||
|
|
||||||
import { toPromiseMethod } from '@polkadot/api';
|
import { toPromiseMethod } from '@polkadot/api';
|
||||||
@@ -22,7 +22,7 @@ export class CodePromise extends Code<'promise'> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class ContractPromise extends Contract<'promise'> {
|
export class ContractPromise extends Contract<'promise'> {
|
||||||
constructor (api: ApiPromise, abi: string | Record<string, unknown> | Abi, address: string | AccountId) {
|
constructor (api: ApiPromise, abi: string | Record<string, unknown> | Abi, address: string | AccountId | AccountId20) {
|
||||||
super(api, abi, address, toPromiseMethod);
|
super(api, abi, address, toPromiseMethod);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,418 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 0,
|
||||||
|
"type": "U256",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::U256",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesU256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "VecFixed",
|
||||||
|
"lookupIndex": 1,
|
||||||
|
"type": "[u64;4]",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "",
|
||||||
|
"length": 4,
|
||||||
|
"sub": {
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 2,
|
||||||
|
"type": "u64",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 2,
|
||||||
|
"type": "u64",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 3,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage::lazy::mapping::Mapping"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 4,
|
||||||
|
"type": "H160",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::H160",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesH160"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "VecFixed",
|
||||||
|
"lookupIndex": 5,
|
||||||
|
"type": "[u8;20]",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "",
|
||||||
|
"length": 20,
|
||||||
|
"sub": {
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 6,
|
||||||
|
"type": "u8",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 6,
|
||||||
|
"type": "u8",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 7,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::ResolverKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 8,
|
||||||
|
"lookupName": "InkStorageTraitsImplsAutoKey",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::AutoKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 9,
|
||||||
|
"lookupName": "InkStorageTraitsImplsManualKey",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::ManualKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 10,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 11,
|
||||||
|
"lookupName": "InkStorageLazyMapping",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage::lazy::mapping::Mapping"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Tuple",
|
||||||
|
"lookupIndex": 12,
|
||||||
|
"type": "(H160,H160)",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 4,
|
||||||
|
"type": "H160",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::H160",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesH160"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 4,
|
||||||
|
"type": "H160",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::H160",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesH160"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 13,
|
||||||
|
"lookupName": "InkStorageTraitsImplsResolverKey",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::ResolverKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 14,
|
||||||
|
"lookupName": "InkStorageTraitsImplsManualKey",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::ManualKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Struct",
|
||||||
|
"lookupIndex": 15,
|
||||||
|
"lookupName": "Erc20",
|
||||||
|
"type": "{\"totalSupply\":\"U256\",\"balances\":\"Null\",\"allowances\":\"InkStorageLazyMapping\"}",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "erc20::erc20::Erc20",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"docs": [],
|
||||||
|
"name": "totalSupply",
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 0,
|
||||||
|
"type": "U256",
|
||||||
|
"namespace": "primitive_types::U256",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesU256",
|
||||||
|
"typeName": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"docs": [],
|
||||||
|
"name": "balances",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 3,
|
||||||
|
"type": "Null",
|
||||||
|
"namespace": "ink_storage::lazy::mapping::Mapping",
|
||||||
|
"typeName": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"docs": [],
|
||||||
|
"name": "allowances",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 11,
|
||||||
|
"lookupName": "InkStorageLazyMapping",
|
||||||
|
"type": "Null",
|
||||||
|
"namespace": "ink_storage::lazy::mapping::Mapping",
|
||||||
|
"typeName": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 16,
|
||||||
|
"type": "Result<Null, InkPrimitivesLangError>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 10,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 17,
|
||||||
|
"lookupName": "InkPrimitivesLangError",
|
||||||
|
"type": "Lookup17"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Enum",
|
||||||
|
"lookupIndex": 17,
|
||||||
|
"lookupName": "InkPrimitivesLangError",
|
||||||
|
"type": "{\"_enum\":[\"__Unused0\",\"CouldNotReadInput\"]}",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_primitives::LangError",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"index": 0,
|
||||||
|
"info": "Null",
|
||||||
|
"name": "__Unused0",
|
||||||
|
"type": "Null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"type": "Null",
|
||||||
|
"index": 1,
|
||||||
|
"name": "CouldNotReadInput"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 18,
|
||||||
|
"type": "Result<U256, InkPrimitivesLangError>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 0,
|
||||||
|
"type": "U256",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::U256",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesU256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 17,
|
||||||
|
"lookupName": "InkPrimitivesLangError",
|
||||||
|
"type": "Lookup17"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 19,
|
||||||
|
"type": "Result<Result<Null, Erc20Error>, InkPrimitivesLangError>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 20,
|
||||||
|
"type": "Result<Null, Erc20Error>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 10,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 21,
|
||||||
|
"lookupName": "Erc20Error",
|
||||||
|
"type": "Lookup21"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 17,
|
||||||
|
"lookupName": "InkPrimitivesLangError",
|
||||||
|
"type": "Lookup17"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 20,
|
||||||
|
"type": "Result<Null, Erc20Error>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 10,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 21,
|
||||||
|
"lookupName": "Erc20Error",
|
||||||
|
"type": "Lookup21"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Enum",
|
||||||
|
"lookupIndex": 21,
|
||||||
|
"lookupName": "Erc20Error",
|
||||||
|
"type": "{\"_enum\":[\"InsufficientBalance\",\"InsufficientAllowance\"]}",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "erc20::erc20::Error",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"type": "Null",
|
||||||
|
"index": 0,
|
||||||
|
"name": "InsufficientBalance"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"type": "Null",
|
||||||
|
"index": 1,
|
||||||
|
"name": "InsufficientAllowance"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Option",
|
||||||
|
"lookupIndex": 22,
|
||||||
|
"type": "Option<H160>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Option",
|
||||||
|
"sub": {
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 4,
|
||||||
|
"type": "H160",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::H160",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesH160"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 23,
|
||||||
|
"type": "AccountId",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_primitives::types::AccountId",
|
||||||
|
"lookupNameRoot": "InkPrimitivesAccountId"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "VecFixed",
|
||||||
|
"lookupIndex": 24,
|
||||||
|
"type": "[u8;32]",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "",
|
||||||
|
"length": 32,
|
||||||
|
"sub": {
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 6,
|
||||||
|
"type": "u8",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 25,
|
||||||
|
"type": "u128",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 26,
|
||||||
|
"type": "Hash",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_primitives::types::Hash",
|
||||||
|
"lookupNameRoot": "InkPrimitivesHash"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 27,
|
||||||
|
"type": "u32",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 28,
|
||||||
|
"type": "NoChainExtension",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_primitives::types::NoChainExtension",
|
||||||
|
"lookupNameRoot": "InkPrimitivesNoChainExtension"
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,418 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 0,
|
||||||
|
"type": "U256",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::U256",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesU256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "VecFixed",
|
||||||
|
"lookupIndex": 1,
|
||||||
|
"type": "[u64;4]",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "",
|
||||||
|
"length": 4,
|
||||||
|
"sub": {
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 2,
|
||||||
|
"type": "u64",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 2,
|
||||||
|
"type": "u64",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 3,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage::lazy::mapping::Mapping"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 4,
|
||||||
|
"type": "H160",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::H160",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesH160"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "VecFixed",
|
||||||
|
"lookupIndex": 5,
|
||||||
|
"type": "[u8;20]",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "",
|
||||||
|
"length": 20,
|
||||||
|
"sub": {
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 6,
|
||||||
|
"type": "u8",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 6,
|
||||||
|
"type": "u8",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 7,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::ResolverKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 8,
|
||||||
|
"lookupName": "InkStorageTraitsImplsAutoKey",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::AutoKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 9,
|
||||||
|
"lookupName": "InkStorageTraitsImplsManualKey",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::ManualKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 10,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 11,
|
||||||
|
"lookupName": "InkStorageLazyMapping",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage::lazy::mapping::Mapping"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Tuple",
|
||||||
|
"lookupIndex": 12,
|
||||||
|
"type": "(H160,H160)",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 4,
|
||||||
|
"type": "H160",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::H160",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesH160"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 4,
|
||||||
|
"type": "H160",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::H160",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesH160"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 13,
|
||||||
|
"lookupName": "InkStorageTraitsImplsResolverKey",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::ResolverKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 14,
|
||||||
|
"lookupName": "InkStorageTraitsImplsManualKey",
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_storage_traits::impls::ManualKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Struct",
|
||||||
|
"lookupIndex": 15,
|
||||||
|
"lookupName": "Erc20",
|
||||||
|
"type": "{\"totalSupply\":\"U256\",\"balances\":\"Null\",\"allowances\":\"InkStorageLazyMapping\"}",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "erc20::erc20::Erc20",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"docs": [],
|
||||||
|
"name": "totalSupply",
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 0,
|
||||||
|
"type": "U256",
|
||||||
|
"namespace": "primitive_types::U256",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesU256",
|
||||||
|
"typeName": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"docs": [],
|
||||||
|
"name": "balances",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 3,
|
||||||
|
"type": "Null",
|
||||||
|
"namespace": "ink_storage::lazy::mapping::Mapping",
|
||||||
|
"typeName": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"docs": [],
|
||||||
|
"name": "allowances",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 11,
|
||||||
|
"lookupName": "InkStorageLazyMapping",
|
||||||
|
"type": "Null",
|
||||||
|
"namespace": "ink_storage::lazy::mapping::Mapping",
|
||||||
|
"typeName": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 16,
|
||||||
|
"type": "Result<Null, InkPrimitivesLangError>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 10,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 17,
|
||||||
|
"lookupName": "InkPrimitivesLangError",
|
||||||
|
"type": "Lookup17"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Enum",
|
||||||
|
"lookupIndex": 17,
|
||||||
|
"lookupName": "InkPrimitivesLangError",
|
||||||
|
"type": "{\"_enum\":[\"__Unused0\",\"CouldNotReadInput\"]}",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_primitives::LangError",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"index": 0,
|
||||||
|
"info": "Null",
|
||||||
|
"name": "__Unused0",
|
||||||
|
"type": "Null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"type": "Null",
|
||||||
|
"index": 1,
|
||||||
|
"name": "CouldNotReadInput"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 18,
|
||||||
|
"type": "Result<U256, InkPrimitivesLangError>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 0,
|
||||||
|
"type": "U256",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::U256",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesU256"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 17,
|
||||||
|
"lookupName": "InkPrimitivesLangError",
|
||||||
|
"type": "Lookup17"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 19,
|
||||||
|
"type": "Result<Result<Null, Erc20Error>, InkPrimitivesLangError>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 20,
|
||||||
|
"type": "Result<Null, Erc20Error>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 10,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 21,
|
||||||
|
"lookupName": "Erc20Error",
|
||||||
|
"type": "Lookup21"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 17,
|
||||||
|
"lookupName": "InkPrimitivesLangError",
|
||||||
|
"type": "Lookup17"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Result",
|
||||||
|
"lookupIndex": 20,
|
||||||
|
"type": "Result<Null, Erc20Error>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Result",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"name": "Ok",
|
||||||
|
"info": "Null",
|
||||||
|
"lookupIndex": 10,
|
||||||
|
"type": "Null",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Error",
|
||||||
|
"docs": [],
|
||||||
|
"info": "Si",
|
||||||
|
"lookupIndex": 21,
|
||||||
|
"lookupName": "Erc20Error",
|
||||||
|
"type": "Lookup21"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Enum",
|
||||||
|
"lookupIndex": 21,
|
||||||
|
"lookupName": "Erc20Error",
|
||||||
|
"type": "{\"_enum\":[\"InsufficientBalance\",\"InsufficientAllowance\"]}",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "erc20::erc20::Error",
|
||||||
|
"sub": [
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"type": "Null",
|
||||||
|
"index": 0,
|
||||||
|
"name": "InsufficientBalance"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Null",
|
||||||
|
"type": "Null",
|
||||||
|
"index": 1,
|
||||||
|
"name": "InsufficientAllowance"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Option",
|
||||||
|
"lookupIndex": 22,
|
||||||
|
"type": "Option<H160>",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "Option",
|
||||||
|
"sub": {
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 4,
|
||||||
|
"type": "H160",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "primitive_types::H160",
|
||||||
|
"lookupNameRoot": "PrimitiveTypesH160"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 23,
|
||||||
|
"type": "AccountId",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_primitives::types::AccountId",
|
||||||
|
"lookupNameRoot": "InkPrimitivesAccountId"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "VecFixed",
|
||||||
|
"lookupIndex": 24,
|
||||||
|
"type": "[u8;32]",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "",
|
||||||
|
"length": 32,
|
||||||
|
"sub": {
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 6,
|
||||||
|
"type": "u8",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 25,
|
||||||
|
"type": "u128",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 26,
|
||||||
|
"type": "Hash",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_primitives::types::Hash",
|
||||||
|
"lookupNameRoot": "InkPrimitivesHash"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 27,
|
||||||
|
"type": "u32",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"info": "Plain",
|
||||||
|
"lookupIndex": 28,
|
||||||
|
"type": "NoChainExtension",
|
||||||
|
"docs": [],
|
||||||
|
"namespace": "ink_primitives::types::NoChainExtension",
|
||||||
|
"lookupNameRoot": "InkPrimitivesNoChainExtension"
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -8,5 +8,6 @@ import * as v2 from './v2/index.js';
|
|||||||
import * as v3 from './v3/index.js';
|
import * as v3 from './v3/index.js';
|
||||||
import * as v4 from './v4/index.js';
|
import * as v4 from './v4/index.js';
|
||||||
import * as v5 from './v5/index.js';
|
import * as v5 from './v5/index.js';
|
||||||
|
import * as v6 from './v6/index.js';
|
||||||
|
|
||||||
export default createVersionedExport({ v0, v1, v2, v3, v4, v5 });
|
export default createVersionedExport({ v0, v1, v2, v3, v4, v5, v6 });
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,5 @@
|
|||||||
|
// Copyright 2017-2025 @polkadot/api-contract authors & contributors
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
|
||||||
|
export { default as erc20Metadata } from './erc20.json' assert { type: 'json' };
|
||||||
@@ -6,9 +6,10 @@ import type { EventRecord } from '@polkadot/types/interfaces';
|
|||||||
|
|
||||||
type ContractEvents = 'CodeStored' | 'ContractEmitted' | 'ContractExecution' | 'Instantiated';
|
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) {
|
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) {
|
if (records.length) {
|
||||||
return fn(records);
|
return fn(records);
|
||||||
|
|||||||
@@ -18,25 +18,25 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "16.1.2",
|
"@polkadot/api": "16.4.4",
|
||||||
"@polkadot/api-augment": "16.1.2",
|
"@polkadot/api-augment": "16.4.4",
|
||||||
"@polkadot/api-base": "16.1.2",
|
"@polkadot/api-base": "16.4.4",
|
||||||
"@polkadot/rpc-core": "16.1.2",
|
"@polkadot/rpc-core": "16.4.4",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"@polkadot/util-crypto": "^13.5.1",
|
"@polkadot/util-crypto": "^13.5.5",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "16.1.2",
|
"@polkadot/api": "16.4.4",
|
||||||
"@polkadot/api-augment": "16.1.2",
|
"@polkadot/api-augment": "16.4.4",
|
||||||
"@polkadot/rpc-augment": "16.1.2",
|
"@polkadot/rpc-augment": "16.4.4",
|
||||||
"@polkadot/rpc-provider": "16.1.2",
|
"@polkadot/rpc-provider": "16.4.4",
|
||||||
"@polkadot/types-support": "16.1.2"
|
"@polkadot/types-support": "16.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
+17
-17
@@ -18,29 +18,29 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api-augment": "16.1.2",
|
"@polkadot/api-augment": "16.4.4",
|
||||||
"@polkadot/api-base": "16.1.2",
|
"@polkadot/api-base": "16.4.4",
|
||||||
"@polkadot/api-derive": "16.1.2",
|
"@polkadot/api-derive": "16.4.4",
|
||||||
"@polkadot/keyring": "^13.5.1",
|
"@polkadot/keyring": "^13.5.5",
|
||||||
"@polkadot/rpc-augment": "16.1.2",
|
"@polkadot/rpc-augment": "16.4.4",
|
||||||
"@polkadot/rpc-core": "16.1.2",
|
"@polkadot/rpc-core": "16.4.4",
|
||||||
"@polkadot/rpc-provider": "16.1.2",
|
"@polkadot/rpc-provider": "16.4.4",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-augment": "16.1.2",
|
"@polkadot/types-augment": "16.4.4",
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/types-create": "16.1.2",
|
"@polkadot/types-create": "16.4.4",
|
||||||
"@polkadot/types-known": "16.1.2",
|
"@polkadot/types-known": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"@polkadot/util-crypto": "^13.5.1",
|
"@polkadot/util-crypto": "^13.5.5",
|
||||||
"eventemitter3": "^5.0.1",
|
"eventemitter3": "^5.0.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "16.1.2",
|
"@polkadot/api-augment": "16.4.4",
|
||||||
"@polkadot/types-support": "16.1.2"
|
"@polkadot/types-support": "16.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -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>> {
|
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
|
// an instance of the base extrinsic for us to extend
|
||||||
const ExtrinsicBase = api.registry.createClass('Extrinsic');
|
const ExtrinsicBase = api.registry.createClass('Extrinsic');
|
||||||
|
const extrinsicInfoMap = new WeakMap<SubmittableExtrinsic<ApiType>, UpdateInfo>();
|
||||||
|
|
||||||
class Submittable extends ExtrinsicBase implements SubmittableExtrinsic<ApiType> {
|
class Submittable extends ExtrinsicBase implements SubmittableExtrinsic<ApiType> {
|
||||||
readonly #ignoreStatusCb: boolean;
|
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
|
// send implementation for both immediate Hash and statusCb variants
|
||||||
public send (statusCb?: Callback<ISubmittableResult>): SubmittableResultResult<ApiType> | SubmittableResultSubscription<ApiType> {
|
public send (statusCb?: Callback<ISubmittableResult>): SubmittableResultResult<ApiType> | SubmittableResultSubscription<ApiType> {
|
||||||
const isSubscription = api.hasSubscriptions && (this.#ignoreStatusCb || !!statusCb);
|
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
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call
|
||||||
return decorateMethod(
|
return decorateMethod(
|
||||||
isSubscription
|
isSubscription
|
||||||
? this.#observeSubscribe
|
? () => this.#observeSubscribe(updatedInfo)
|
||||||
: this.#observeSend
|
: () => this.#observeSend(updatedInfo)
|
||||||
)(statusCb);
|
)(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.
|
* @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> {
|
public signAsync (account: AddressOrPair, partialOptions?: Partial<SignerOptions>): PromiseOrObs<ApiType, this> {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call
|
||||||
return decorateMethod(
|
return decorateMethod(
|
||||||
(): Observable<this> =>
|
(): Observable<this> =>
|
||||||
this.#observeSign(account, partialOptions).pipe(
|
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"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-core": "16.1.2",
|
"@polkadot/rpc-core": "16.4.4",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -18,18 +18,18 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-augment": "16.1.2",
|
"@polkadot/rpc-augment": "16.4.4",
|
||||||
"@polkadot/rpc-provider": "16.1.2",
|
"@polkadot/rpc-provider": "16.4.4",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^13.5.1",
|
"@polkadot/keyring": "^13.5.5",
|
||||||
"@polkadot/rpc-augment": "16.1.2"
|
"@polkadot/rpc-augment": "16.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/keyring": "^13.5.1",
|
"@polkadot/keyring": "^13.5.5",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-support": "16.1.2",
|
"@polkadot/types-support": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"@polkadot/util-crypto": "^13.5.1",
|
"@polkadot/util-crypto": "^13.5.5",
|
||||||
"@polkadot/x-fetch": "^13.5.1",
|
"@polkadot/x-fetch": "^13.5.5",
|
||||||
"@polkadot/x-global": "^13.5.1",
|
"@polkadot/x-global": "^13.5.5",
|
||||||
"@polkadot/x-ws": "^13.5.1",
|
"@polkadot/x-ws": "^13.5.5",
|
||||||
"eventemitter3": "^5.0.1",
|
"eventemitter3": "^5.0.1",
|
||||||
"mock-socket": "^9.3.1",
|
"mock-socket": "^9.3.1",
|
||||||
"nock": "^13.5.5",
|
"nock": "^13.5.5",
|
||||||
|
|||||||
@@ -31,6 +31,16 @@ describe('Http', (): void => {
|
|||||||
).not.toThrow();
|
).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 => {
|
it('allow clone', (): void => {
|
||||||
const clone = http.clone();
|
const clone = http.clone();
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
// for Kusama/Polkadot/Substrate falls between 600-750K, 2x for estimate)
|
// for Kusama/Polkadot/Substrate falls between 600-750K, 2x for estimate)
|
||||||
|
|
||||||
export const DEFAULT_CAPACITY = 1024;
|
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
|
// If the user decides to disable the TTL we set the value
|
||||||
// to a very high number (A year = 365 * 24 * 60 * 60 * 1000).
|
// to a very high number (A year = 365 * 24 * 60 * 60 * 1000).
|
||||||
@@ -52,6 +53,16 @@ export class LRUCache {
|
|||||||
readonly #ttl: number;
|
readonly #ttl: number;
|
||||||
|
|
||||||
constructor (capacity = DEFAULT_CAPACITY, ttl: number | null = DEFAULT_TTL) {
|
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;
|
this.capacity = capacity;
|
||||||
ttl ? this.#ttl = ttl : this.#ttl = DISABLED_TTL;
|
ttl ? this.#ttl = ttl : this.#ttl = DISABLED_TTL;
|
||||||
this.#head = this.#tail = new LRUNode('<empty>', this.#ttl);
|
this.#head = this.#tail = new LRUNode('<empty>', this.#ttl);
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -60,6 +60,11 @@ describe('Endpoint Parsing', (): void => {
|
|||||||
new WsProvider(TEST_WS_URL, 0);
|
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', () => {
|
it('Throws when WsProvider endpoint is an invalid string', () => {
|
||||||
expect(
|
expect(
|
||||||
() => new WsProvider('http://127.0.0.1:9955', 0)
|
() => new WsProvider('http://127.0.0.1:9955', 0)
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||||
@@ -28,19 +28,19 @@
|
|||||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "16.1.2",
|
"@polkadot/api": "16.4.4",
|
||||||
"@polkadot/api-augment": "16.1.2",
|
"@polkadot/api-augment": "16.4.4",
|
||||||
"@polkadot/api-derive": "16.1.2",
|
"@polkadot/api-derive": "16.4.4",
|
||||||
"@polkadot/rpc-augment": "16.1.2",
|
"@polkadot/rpc-augment": "16.4.4",
|
||||||
"@polkadot/rpc-provider": "16.1.2",
|
"@polkadot/rpc-provider": "16.4.4",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-augment": "16.1.2",
|
"@polkadot/types-augment": "16.4.4",
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/types-create": "16.1.2",
|
"@polkadot/types-create": "16.4.4",
|
||||||
"@polkadot/types-support": "16.1.2",
|
"@polkadot/types-support": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"@polkadot/util-crypto": "^13.5.1",
|
"@polkadot/util-crypto": "^13.5.5",
|
||||||
"@polkadot/x-ws": "^13.5.1",
|
"@polkadot/x-ws": "^13.5.5",
|
||||||
"comment-parser": "^1.4.1",
|
"comment-parser": "^1.4.1",
|
||||||
"handlebars": "^4.7.8",
|
"handlebars": "^4.7.8",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
/**
|
/**
|
||||||
* Lookup146: asset_hub_kusama_runtime::ProxyType
|
* Lookup148: asset_hub_kusama_runtime::ProxyType
|
||||||
**/
|
**/
|
||||||
AssetHubKusamaRuntimeProxyType: {
|
AssetHubKusamaRuntimeProxyType: {
|
||||||
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Collator']
|
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Collator']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup248: asset_hub_kusama_runtime::RuntimeHoldReason
|
* Lookup253: asset_hub_kusama_runtime::RuntimeHoldReason
|
||||||
**/
|
**/
|
||||||
AssetHubKusamaRuntimeRuntimeHoldReason: {
|
AssetHubKusamaRuntimeRuntimeHoldReason: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -46,7 +46,7 @@ export default {
|
|||||||
__Unused28: 'Null',
|
__Unused28: 'Null',
|
||||||
__Unused29: 'Null',
|
__Unused29: 'Null',
|
||||||
__Unused30: 'Null',
|
__Unused30: 'Null',
|
||||||
__Unused31: 'Null',
|
PolkadotXcm: 'PalletXcmHoldReason',
|
||||||
__Unused32: 'Null',
|
__Unused32: 'Null',
|
||||||
__Unused33: 'Null',
|
__Unused33: 'Null',
|
||||||
__Unused34: 'Null',
|
__Unused34: 'Null',
|
||||||
@@ -75,7 +75,7 @@ export default {
|
|||||||
__Unused57: 'Null',
|
__Unused57: 'Null',
|
||||||
__Unused58: 'Null',
|
__Unused58: 'Null',
|
||||||
__Unused59: 'Null',
|
__Unused59: 'Null',
|
||||||
__Unused60: 'Null',
|
Revive: 'PalletReviveHoldReason',
|
||||||
__Unused61: 'Null',
|
__Unused61: 'Null',
|
||||||
__Unused62: 'Null',
|
__Unused62: 'Null',
|
||||||
__Unused63: 'Null',
|
__Unused63: 'Null',
|
||||||
@@ -89,17 +89,17 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup275: asset_hub_kusama_runtime::SessionKeys
|
* Lookup283: asset_hub_kusama_runtime::SessionKeys
|
||||||
**/
|
**/
|
||||||
AssetHubKusamaRuntimeSessionKeys: {
|
AssetHubKusamaRuntimeSessionKeys: {
|
||||||
aura: 'SpConsensusAuraSr25519AppSr25519Public'
|
aura: 'SpConsensusAuraSr25519AppSr25519Public'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup276: sp_consensus_aura::sr25519::app_sr25519::Public
|
* Lookup284: sp_consensus_aura::sr25519::app_sr25519::Public
|
||||||
**/
|
**/
|
||||||
SpConsensusAuraSr25519AppSr25519Public: '[u8;32]',
|
SpConsensusAuraSr25519AppSr25519Public: '[u8;32]',
|
||||||
/**
|
/**
|
||||||
* Lookup380: pallet_remote_proxy::pallet::Call<T, I>
|
* Lookup398: pallet_remote_proxy::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletRemoteProxyCall: {
|
PalletRemoteProxyCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -120,7 +120,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup381: pallet_remote_proxy::pallet::RemoteProxyProof<RemoteBlockNumber>
|
* Lookup399: pallet_remote_proxy::pallet::RemoteProxyProof<RemoteBlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletRemoteProxyRemoteProxyProof: {
|
PalletRemoteProxyRemoteProxyProof: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -131,7 +131,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup419: asset_hub_kusama_runtime::OriginCaller
|
* Lookup438: asset_hub_kusama_runtime::OriginCaller
|
||||||
**/
|
**/
|
||||||
AssetHubKusamaRuntimeOriginCaller: {
|
AssetHubKusamaRuntimeOriginCaller: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -171,17 +171,17 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup440: pallet_remote_proxy::pallet::Error<T, I>
|
* Lookup459: pallet_remote_proxy::pallet::Error<T, I>
|
||||||
**/
|
**/
|
||||||
PalletRemoteProxyError: {
|
PalletRemoteProxyError: {
|
||||||
_enum: ['CouldNotConvertLocalToRemoteAccountId', 'UnknownProofAnchorBlock', 'InvalidProof', 'ProxyDefinitionDecodingFailed', 'Unannounced', 'DidNotFindMatchingProxyDefinition', 'ProxyProofNotRegistered']
|
_enum: ['CouldNotConvertLocalToRemoteAccountId', 'UnknownProofAnchorBlock', 'InvalidProof', 'ProxyDefinitionDecodingFailed', 'Unannounced', 'DidNotFindMatchingProxyDefinition', 'ProxyProofNotRegistered']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup508: asset_hub_kusama_runtime::Runtime
|
* Lookup532: asset_hub_kusama_runtime::Runtime
|
||||||
**/
|
**/
|
||||||
AssetHubKusamaRuntimeRuntime: 'Null',
|
AssetHubKusamaRuntimeRuntime: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup567: asset_hub_kusama_runtime::RuntimeError
|
* Lookup634: asset_hub_kusama_runtime::RuntimeError
|
||||||
**/
|
**/
|
||||||
AssetHubKusamaRuntimeRuntimeError: {
|
AssetHubKusamaRuntimeRuntimeError: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -245,7 +245,7 @@ export default {
|
|||||||
__Unused57: 'Null',
|
__Unused57: 'Null',
|
||||||
__Unused58: 'Null',
|
__Unused58: 'Null',
|
||||||
__Unused59: 'Null',
|
__Unused59: 'Null',
|
||||||
__Unused60: 'Null',
|
Revive: 'PalletReviveError',
|
||||||
__Unused61: 'Null',
|
__Unused61: 'Null',
|
||||||
__Unused62: 'Null',
|
__Unused62: 'Null',
|
||||||
__Unused63: 'Null',
|
__Unused63: 'Null',
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup133: cumulus_pallet_xcm::pallet::Event<T>
|
* Lookup135: cumulus_pallet_xcm::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
CumulusPalletXcmEvent: {
|
CumulusPalletXcmEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -91,7 +91,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup134: pallet_xcm_bridge_hub_router::pallet::Event<T, I>
|
* Lookup136: pallet_xcm_bridge_hub_router::pallet::Event<T, I>
|
||||||
**/
|
**/
|
||||||
PalletXcmBridgeHubRouterEvent: {
|
PalletXcmBridgeHubRouterEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -104,7 +104,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup137: cumulus_primitives_core::AggregateMessageOrigin
|
* Lookup139: cumulus_primitives_core::AggregateMessageOrigin
|
||||||
**/
|
**/
|
||||||
CumulusPrimitivesCoreAggregateMessageOrigin: {
|
CumulusPrimitivesCoreAggregateMessageOrigin: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -114,13 +114,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup146: asset_hub_polkadot_runtime::ProxyType
|
* Lookup148: asset_hub_polkadot_runtime::ProxyType
|
||||||
**/
|
**/
|
||||||
AssetHubPolkadotRuntimeProxyType: {
|
AssetHubPolkadotRuntimeProxyType: {
|
||||||
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Collator']
|
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Collator']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup197: cumulus_pallet_parachain_system::unincluded_segment::Ancestor<primitive_types::H256>
|
* Lookup200: cumulus_pallet_parachain_system::unincluded_segment::Ancestor<primitive_types::H256>
|
||||||
**/
|
**/
|
||||||
CumulusPalletParachainSystemUnincludedSegmentAncestor: {
|
CumulusPalletParachainSystemUnincludedSegmentAncestor: {
|
||||||
usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth',
|
usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth',
|
||||||
@@ -128,7 +128,7 @@ export default {
|
|||||||
consumedGoAheadSignal: 'Option<PolkadotPrimitivesV8UpgradeGoAhead>'
|
consumedGoAheadSignal: 'Option<PolkadotPrimitivesV8UpgradeGoAhead>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup198: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth
|
* Lookup201: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth
|
||||||
**/
|
**/
|
||||||
CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: {
|
CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: {
|
||||||
umpMsgCount: 'u32',
|
umpMsgCount: 'u32',
|
||||||
@@ -136,14 +136,14 @@ export default {
|
|||||||
hrmpOutgoing: 'BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>'
|
hrmpOutgoing: 'BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup200: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate
|
* Lookup203: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate
|
||||||
**/
|
**/
|
||||||
CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: {
|
CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: {
|
||||||
msgCount: 'u32',
|
msgCount: 'u32',
|
||||||
totalBytes: 'u32'
|
totalBytes: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup206: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker<primitive_types::H256>
|
* Lookup209: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker<primitive_types::H256>
|
||||||
**/
|
**/
|
||||||
CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: {
|
CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: {
|
||||||
usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth',
|
usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth',
|
||||||
@@ -151,13 +151,13 @@ export default {
|
|||||||
consumedGoAheadSignal: 'Option<PolkadotPrimitivesV8UpgradeGoAhead>'
|
consumedGoAheadSignal: 'Option<PolkadotPrimitivesV8UpgradeGoAhead>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup211: sp_trie::storage_proof::StorageProof
|
* Lookup214: sp_trie::storage_proof::StorageProof
|
||||||
**/
|
**/
|
||||||
SpTrieStorageProof: {
|
SpTrieStorageProof: {
|
||||||
trieNodes: 'BTreeSet<Bytes>'
|
trieNodes: 'BTreeSet<Bytes>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup213: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
|
* Lookup216: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
|
||||||
**/
|
**/
|
||||||
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
|
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
|
||||||
dmqMqcHead: 'H256',
|
dmqMqcHead: 'H256',
|
||||||
@@ -166,14 +166,14 @@ export default {
|
|||||||
egressChannels: 'Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>'
|
egressChannels: 'Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup214: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity
|
* Lookup217: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity
|
||||||
**/
|
**/
|
||||||
CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: {
|
CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: {
|
||||||
remainingCount: 'u32',
|
remainingCount: 'u32',
|
||||||
remainingSize: 'u32'
|
remainingSize: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup217: polkadot_primitives::v8::AbridgedHrmpChannel
|
* Lookup220: polkadot_primitives::v8::AbridgedHrmpChannel
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8AbridgedHrmpChannel: {
|
PolkadotPrimitivesV8AbridgedHrmpChannel: {
|
||||||
maxCapacity: 'u32',
|
maxCapacity: 'u32',
|
||||||
@@ -184,7 +184,7 @@ export default {
|
|||||||
mqcHead: 'Option<H256>'
|
mqcHead: 'Option<H256>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup218: polkadot_primitives::v8::AbridgedHostConfiguration
|
* Lookup221: polkadot_primitives::v8::AbridgedHostConfiguration
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8AbridgedHostConfiguration: {
|
PolkadotPrimitivesV8AbridgedHostConfiguration: {
|
||||||
maxCodeSize: 'u32',
|
maxCodeSize: 'u32',
|
||||||
@@ -199,7 +199,7 @@ export default {
|
|||||||
asyncBackingParams: 'PolkadotPrimitivesV8AsyncBackingAsyncBackingParams'
|
asyncBackingParams: 'PolkadotPrimitivesV8AsyncBackingAsyncBackingParams'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup226: cumulus_pallet_parachain_system::pallet::Call<T>
|
* Lookup229: cumulus_pallet_parachain_system::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
CumulusPalletParachainSystemCall: {
|
CumulusPalletParachainSystemCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -212,7 +212,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup227: cumulus_primitives_parachain_inherent::ParachainInherentData
|
* Lookup230: cumulus_primitives_parachain_inherent::ParachainInherentData
|
||||||
**/
|
**/
|
||||||
CumulusPrimitivesParachainInherentParachainInherentData: {
|
CumulusPrimitivesParachainInherentParachainInherentData: {
|
||||||
validationData: 'PolkadotPrimitivesV8PersistedValidationData',
|
validationData: 'PolkadotPrimitivesV8PersistedValidationData',
|
||||||
@@ -221,17 +221,17 @@ export default {
|
|||||||
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
|
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup235: cumulus_pallet_parachain_system::pallet::Error<T>
|
* Lookup238: cumulus_pallet_parachain_system::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
CumulusPalletParachainSystemError: {
|
CumulusPalletParachainSystemError: {
|
||||||
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']
|
_enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup237: staging_parachain_info::pallet::Call<T>
|
* Lookup240: staging_parachain_info::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
StagingParachainInfoCall: 'Null',
|
StagingParachainInfoCall: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup247: asset_hub_polkadot_runtime::RuntimeHoldReason
|
* Lookup250: asset_hub_polkadot_runtime::RuntimeHoldReason
|
||||||
**/
|
**/
|
||||||
AssetHubPolkadotRuntimeRuntimeHoldReason: {
|
AssetHubPolkadotRuntimeRuntimeHoldReason: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -266,7 +266,7 @@ export default {
|
|||||||
__Unused28: 'Null',
|
__Unused28: 'Null',
|
||||||
__Unused29: 'Null',
|
__Unused29: 'Null',
|
||||||
__Unused30: 'Null',
|
__Unused30: 'Null',
|
||||||
__Unused31: 'Null',
|
PolkadotXcm: 'PalletXcmHoldReason',
|
||||||
__Unused32: 'Null',
|
__Unused32: 'Null',
|
||||||
__Unused33: 'Null',
|
__Unused33: 'Null',
|
||||||
__Unused34: 'Null',
|
__Unused34: 'Null',
|
||||||
@@ -309,14 +309,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup267: pallet_collator_selection::pallet::CandidateInfo<sp_core::crypto::AccountId32, Balance>
|
* Lookup271: pallet_collator_selection::pallet::CandidateInfo<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PalletCollatorSelectionCandidateInfo: {
|
PalletCollatorSelectionCandidateInfo: {
|
||||||
who: 'AccountId32',
|
who: 'AccountId32',
|
||||||
deposit: 'u128'
|
deposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup269: pallet_collator_selection::pallet::Call<T>
|
* Lookup273: pallet_collator_selection::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
PalletCollatorSelectionCall: {
|
PalletCollatorSelectionCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -350,23 +350,23 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup270: pallet_collator_selection::pallet::Error<T>
|
* Lookup275: pallet_collator_selection::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PalletCollatorSelectionError: {
|
PalletCollatorSelectionError: {
|
||||||
_enum: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve']
|
_enum: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup273: asset_hub_polkadot_runtime::SessionKeys
|
* Lookup278: asset_hub_polkadot_runtime::SessionKeys
|
||||||
**/
|
**/
|
||||||
AssetHubPolkadotRuntimeSessionKeys: {
|
AssetHubPolkadotRuntimeSessionKeys: {
|
||||||
aura: 'SpConsensusAuraEd25519AppEd25519Public'
|
aura: 'SpConsensusAuraEd25519AppEd25519Public'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup274: sp_consensus_aura::ed25519::app_ed25519::Public
|
* Lookup279: sp_consensus_aura::ed25519::app_ed25519::Public
|
||||||
**/
|
**/
|
||||||
SpConsensusAuraEd25519AppEd25519Public: '[u8;32]',
|
SpConsensusAuraEd25519AppEd25519Public: '[u8;32]',
|
||||||
/**
|
/**
|
||||||
* Lookup287: cumulus_pallet_xcmp_queue::OutboundChannelDetails
|
* Lookup296: cumulus_pallet_xcmp_queue::OutboundChannelDetails
|
||||||
**/
|
**/
|
||||||
CumulusPalletXcmpQueueOutboundChannelDetails: {
|
CumulusPalletXcmpQueueOutboundChannelDetails: {
|
||||||
recipient: 'u32',
|
recipient: 'u32',
|
||||||
@@ -376,13 +376,13 @@ export default {
|
|||||||
lastIndex: 'u16'
|
lastIndex: 'u16'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup288: cumulus_pallet_xcmp_queue::OutboundState
|
* Lookup297: cumulus_pallet_xcmp_queue::OutboundState
|
||||||
**/
|
**/
|
||||||
CumulusPalletXcmpQueueOutboundState: {
|
CumulusPalletXcmpQueueOutboundState: {
|
||||||
_enum: ['Ok', 'Suspended']
|
_enum: ['Ok', 'Suspended']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup292: cumulus_pallet_xcmp_queue::QueueConfigData
|
* Lookup301: cumulus_pallet_xcmp_queue::QueueConfigData
|
||||||
**/
|
**/
|
||||||
CumulusPalletXcmpQueueQueueConfigData: {
|
CumulusPalletXcmpQueueQueueConfigData: {
|
||||||
suspendThreshold: 'u32',
|
suspendThreshold: 'u32',
|
||||||
@@ -390,7 +390,7 @@ export default {
|
|||||||
resumeThreshold: 'u32'
|
resumeThreshold: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup293: cumulus_pallet_xcmp_queue::pallet::Call<T>
|
* Lookup302: cumulus_pallet_xcmp_queue::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
CumulusPalletXcmpQueueCall: {
|
CumulusPalletXcmpQueueCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -418,24 +418,24 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup294: cumulus_pallet_xcmp_queue::pallet::Error<T>
|
* Lookup303: cumulus_pallet_xcmp_queue::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
CumulusPalletXcmpQueueError: {
|
CumulusPalletXcmpQueueError: {
|
||||||
_enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig']
|
_enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup360: cumulus_pallet_xcm::pallet::Call<T>
|
* Lookup375: cumulus_pallet_xcm::pallet::Call<T>
|
||||||
**/
|
**/
|
||||||
CumulusPalletXcmCall: 'Null',
|
CumulusPalletXcmCall: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup361: bp_xcm_bridge_hub_router::BridgeState
|
* Lookup376: bp_xcm_bridge_hub_router::BridgeState
|
||||||
**/
|
**/
|
||||||
BpXcmBridgeHubRouterBridgeState: {
|
BpXcmBridgeHubRouterBridgeState: {
|
||||||
deliveryFeeFactor: 'u128',
|
deliveryFeeFactor: 'u128',
|
||||||
isCongested: 'bool'
|
isCongested: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup362: pallet_xcm_bridge_hub_router::pallet::Call<T, I>
|
* Lookup377: pallet_xcm_bridge_hub_router::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletXcmBridgeHubRouterCall: {
|
PalletXcmBridgeHubRouterCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -446,7 +446,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup414: asset_hub_polkadot_runtime::OriginCaller
|
* Lookup429: asset_hub_polkadot_runtime::OriginCaller
|
||||||
**/
|
**/
|
||||||
AssetHubPolkadotRuntimeOriginCaller: {
|
AssetHubPolkadotRuntimeOriginCaller: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -486,7 +486,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup417: cumulus_pallet_xcm::pallet::Origin
|
* Lookup432: cumulus_pallet_xcm::pallet::Origin
|
||||||
**/
|
**/
|
||||||
CumulusPalletXcmOrigin: {
|
CumulusPalletXcmOrigin: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -495,17 +495,17 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup497: asset_hub_polkadot_runtime::Runtime
|
* Lookup511: asset_hub_polkadot_runtime::Runtime
|
||||||
**/
|
**/
|
||||||
AssetHubPolkadotRuntimeRuntime: 'Null',
|
AssetHubPolkadotRuntimeRuntime: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup547: assets_common::runtime_api::FungiblesAccessError
|
* Lookup561: assets_common::runtime_api::FungiblesAccessError
|
||||||
**/
|
**/
|
||||||
AssetsCommonRuntimeApiFungiblesAccessError: {
|
AssetsCommonRuntimeApiFungiblesAccessError: {
|
||||||
_enum: ['AssetIdConversionFailed', 'AmountToBalanceConversionFailed']
|
_enum: ['AssetIdConversionFailed', 'AmountToBalanceConversionFailed']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup548: cumulus_primitives_core::CollationInfo
|
* Lookup562: cumulus_primitives_core::CollationInfo
|
||||||
**/
|
**/
|
||||||
CumulusPrimitivesCoreCollationInfo: {
|
CumulusPrimitivesCoreCollationInfo: {
|
||||||
upwardMessages: 'Vec<Bytes>',
|
upwardMessages: 'Vec<Bytes>',
|
||||||
@@ -516,7 +516,7 @@ export default {
|
|||||||
headData: 'Bytes'
|
headData: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup556: asset_hub_polkadot_runtime::RuntimeError
|
* Lookup570: asset_hub_polkadot_runtime::RuntimeError
|
||||||
**/
|
**/
|
||||||
AssetHubPolkadotRuntimeRuntimeError: {
|
AssetHubPolkadotRuntimeRuntimeError: {
|
||||||
_enum: {
|
_enum: {
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ export default {
|
|||||||
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup509: staging_kusama_runtime::RuntimeParametersKey
|
* Lookup510: staging_kusama_runtime::RuntimeParametersKey
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeRuntimeParametersKey: {
|
StagingKusamaRuntimeRuntimeParametersKey: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -235,19 +235,19 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup510: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
|
* Lookup511: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeDynamicParamsInflationParametersKey: {
|
StagingKusamaRuntimeDynamicParamsInflationParametersKey: {
|
||||||
_enum: ['MinInflation', 'MaxInflation', 'IdealStake', 'Falloff', 'UseAuctionSlots']
|
_enum: ['MinInflation', 'MaxInflation', 'IdealStake', 'Falloff', 'UseAuctionSlots']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup511: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
|
* Lookup512: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeDynamicParamsTreasuryParametersKey: {
|
StagingKusamaRuntimeDynamicParamsTreasuryParametersKey: {
|
||||||
_enum: ['BurnPortion', 'BurnDestination']
|
_enum: ['BurnPortion', 'BurnDestination']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup513: staging_kusama_runtime::RuntimeParametersValue
|
* Lookup514: staging_kusama_runtime::RuntimeParametersValue
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeRuntimeParametersValue: {
|
StagingKusamaRuntimeRuntimeParametersValue: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -256,7 +256,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup514: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
|
* Lookup515: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeDynamicParamsInflationParametersValue: {
|
StagingKusamaRuntimeDynamicParamsInflationParametersValue: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -268,7 +268,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup515: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
|
* Lookup516: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeDynamicParamsTreasuryParametersValue: {
|
StagingKusamaRuntimeDynamicParamsTreasuryParametersValue: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -277,7 +277,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup604: staging_kusama_runtime::RuntimeHoldReason
|
* Lookup608: staging_kusama_runtime::RuntimeHoldReason
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeRuntimeHoldReason: {
|
StagingKusamaRuntimeRuntimeHoldReason: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -287,7 +287,7 @@ export default {
|
|||||||
__Unused3: 'Null',
|
__Unused3: 'Null',
|
||||||
__Unused4: 'Null',
|
__Unused4: 'Null',
|
||||||
__Unused5: 'Null',
|
__Unused5: 'Null',
|
||||||
__Unused6: 'Null',
|
Staking: 'PalletStakingPalletHoldReason',
|
||||||
__Unused7: 'Null',
|
__Unused7: 'Null',
|
||||||
__Unused8: 'Null',
|
__Unused8: 'Null',
|
||||||
__Unused9: 'Null',
|
__Unused9: 'Null',
|
||||||
@@ -328,11 +328,63 @@ export default {
|
|||||||
__Unused44: 'Null',
|
__Unused44: 'Null',
|
||||||
__Unused45: 'Null',
|
__Unused45: 'Null',
|
||||||
__Unused46: 'Null',
|
__Unused46: 'Null',
|
||||||
DelegatedStaking: 'PalletDelegatedStakingHoldReason'
|
DelegatedStaking: 'PalletDelegatedStakingHoldReason',
|
||||||
|
__Unused48: 'Null',
|
||||||
|
__Unused49: 'Null',
|
||||||
|
__Unused50: 'Null',
|
||||||
|
__Unused51: 'Null',
|
||||||
|
__Unused52: 'Null',
|
||||||
|
__Unused53: 'Null',
|
||||||
|
__Unused54: 'Null',
|
||||||
|
__Unused55: 'Null',
|
||||||
|
__Unused56: 'Null',
|
||||||
|
__Unused57: 'Null',
|
||||||
|
__Unused58: 'Null',
|
||||||
|
__Unused59: 'Null',
|
||||||
|
__Unused60: 'Null',
|
||||||
|
__Unused61: 'Null',
|
||||||
|
__Unused62: 'Null',
|
||||||
|
__Unused63: 'Null',
|
||||||
|
__Unused64: 'Null',
|
||||||
|
__Unused65: 'Null',
|
||||||
|
__Unused66: 'Null',
|
||||||
|
__Unused67: 'Null',
|
||||||
|
__Unused68: 'Null',
|
||||||
|
__Unused69: 'Null',
|
||||||
|
__Unused70: 'Null',
|
||||||
|
__Unused71: 'Null',
|
||||||
|
__Unused72: 'Null',
|
||||||
|
__Unused73: 'Null',
|
||||||
|
__Unused74: 'Null',
|
||||||
|
__Unused75: 'Null',
|
||||||
|
__Unused76: 'Null',
|
||||||
|
__Unused77: 'Null',
|
||||||
|
__Unused78: 'Null',
|
||||||
|
__Unused79: 'Null',
|
||||||
|
__Unused80: 'Null',
|
||||||
|
__Unused81: 'Null',
|
||||||
|
__Unused82: 'Null',
|
||||||
|
__Unused83: 'Null',
|
||||||
|
__Unused84: 'Null',
|
||||||
|
__Unused85: 'Null',
|
||||||
|
__Unused86: 'Null',
|
||||||
|
__Unused87: 'Null',
|
||||||
|
__Unused88: 'Null',
|
||||||
|
__Unused89: 'Null',
|
||||||
|
__Unused90: 'Null',
|
||||||
|
__Unused91: 'Null',
|
||||||
|
__Unused92: 'Null',
|
||||||
|
__Unused93: 'Null',
|
||||||
|
__Unused94: 'Null',
|
||||||
|
__Unused95: 'Null',
|
||||||
|
__Unused96: 'Null',
|
||||||
|
__Unused97: 'Null',
|
||||||
|
__Unused98: 'Null',
|
||||||
|
XcmPallet: 'PalletXcmHoldReason'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup611: staging_kusama_runtime::RuntimeFreezeReason
|
* Lookup617: staging_kusama_runtime::RuntimeFreezeReason
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeRuntimeFreezeReason: {
|
StagingKusamaRuntimeRuntimeFreezeReason: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -381,18 +433,18 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup783: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
|
* Lookup791: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
|
||||||
**/
|
**/
|
||||||
FrameSupportTokensMiscIdAmount: {
|
FrameSupportTokensMiscIdAmount: {
|
||||||
id: 'Null',
|
id: 'Null',
|
||||||
amount: 'u128'
|
amount: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup970: staging_kusama_runtime::Runtime
|
* Lookup983: staging_kusama_runtime::Runtime
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeRuntime: 'Null',
|
StagingKusamaRuntimeRuntime: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup1084: staging_kusama_runtime::RuntimeError
|
* Lookup1099: staging_kusama_runtime::RuntimeError
|
||||||
**/
|
**/
|
||||||
StagingKusamaRuntimeRuntimeError: {
|
StagingKusamaRuntimeRuntimeError: {
|
||||||
_enum: {
|
_enum: {
|
||||||
|
|||||||
@@ -1204,6 +1204,10 @@ export default {
|
|||||||
paraId: 'u32',
|
paraId: 'u32',
|
||||||
},
|
},
|
||||||
place_order_keep_alive: {
|
place_order_keep_alive: {
|
||||||
|
maxAmount: 'u128',
|
||||||
|
paraId: 'u32',
|
||||||
|
},
|
||||||
|
place_order_with_credits: {
|
||||||
maxAmount: 'u128',
|
maxAmount: 'u128',
|
||||||
paraId: 'u32'
|
paraId: 'u32'
|
||||||
}
|
}
|
||||||
@@ -1360,7 +1364,10 @@ export default {
|
|||||||
request_revenue_at: {
|
request_revenue_at: {
|
||||||
when: 'u32',
|
when: 'u32',
|
||||||
},
|
},
|
||||||
__Unused3: 'Null',
|
credit_account: {
|
||||||
|
who: 'AccountId32',
|
||||||
|
amount: 'u128',
|
||||||
|
},
|
||||||
assign_core: {
|
assign_core: {
|
||||||
core: 'u16',
|
core: 'u16',
|
||||||
begin: 'u32',
|
begin: 'u32',
|
||||||
@@ -1442,8 +1449,16 @@ export default {
|
|||||||
remoteFeesId: 'XcmVersionedAssetId',
|
remoteFeesId: 'XcmVersionedAssetId',
|
||||||
feesTransferType: 'StagingXcmExecutorAssetTransferTransferType',
|
feesTransferType: 'StagingXcmExecutorAssetTransferTransferType',
|
||||||
customXcmOnDest: 'XcmVersionedXcm',
|
customXcmOnDest: 'XcmVersionedXcm',
|
||||||
weightLimit: 'XcmV3WeightLimit'
|
weightLimit: 'XcmV3WeightLimit',
|
||||||
}
|
},
|
||||||
|
add_authorized_alias: {
|
||||||
|
aliaser: 'XcmVersionedLocation',
|
||||||
|
expires: 'Option<u64>',
|
||||||
|
},
|
||||||
|
remove_authorized_alias: {
|
||||||
|
aliaser: 'XcmVersionedLocation',
|
||||||
|
},
|
||||||
|
remove_all_authorized_aliases: 'Null'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
@@ -2392,7 +2407,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup441: polkadot_runtime_parachains::inclusion::AggregateMessageOrigin
|
* Lookup442: polkadot_runtime_parachains::inclusion::AggregateMessageOrigin
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin: {
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2400,7 +2415,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup442: polkadot_runtime_parachains::inclusion::UmpQueueId
|
* Lookup443: polkadot_runtime_parachains::inclusion::UmpQueueId
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInclusionUmpQueueId: {
|
PolkadotRuntimeParachainsInclusionUmpQueueId: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2408,7 +2423,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup466: polkadot_runtime_common::claims::pallet::Event<T>
|
* Lookup467: polkadot_runtime_common::claims::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonClaimsPalletEvent: {
|
PolkadotRuntimeCommonClaimsPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2420,7 +2435,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup481: polkadot_runtime_parachains::inclusion::pallet::Event<T>
|
* Lookup484: polkadot_runtime_parachains::inclusion::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInclusionPalletEvent: {
|
PolkadotRuntimeParachainsInclusionPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2434,14 +2449,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup482: polkadot_primitives::vstaging::CandidateReceiptV2<primitive_types::H256>
|
* Lookup485: polkadot_primitives::vstaging::CandidateReceiptV2<primitive_types::H256>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesVstagingCandidateReceiptV2: {
|
PolkadotPrimitivesVstagingCandidateReceiptV2: {
|
||||||
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
|
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
|
||||||
commitmentsHash: 'H256'
|
commitmentsHash: 'H256'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup485: polkadot_runtime_parachains::paras::pallet::Event
|
* Lookup488: polkadot_runtime_parachains::paras::pallet::Event
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasPalletEvent: {
|
PolkadotRuntimeParachainsParasPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2456,7 +2471,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup486: polkadot_runtime_parachains::hrmp::pallet::Event<T>
|
* Lookup489: polkadot_runtime_parachains::hrmp::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsHrmpPalletEvent: {
|
PolkadotRuntimeParachainsHrmpPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2497,7 +2512,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup487: polkadot_runtime_parachains::disputes::pallet::Event<T>
|
* Lookup490: polkadot_runtime_parachains::disputes::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsDisputesPalletEvent: {
|
PolkadotRuntimeParachainsDisputesPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2507,19 +2522,19 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup488: polkadot_runtime_parachains::disputes::DisputeLocation
|
* Lookup491: polkadot_runtime_parachains::disputes::DisputeLocation
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsDisputesDisputeLocation: {
|
PolkadotRuntimeParachainsDisputesDisputeLocation: {
|
||||||
_enum: ['Local', 'Remote']
|
_enum: ['Local', 'Remote']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup489: polkadot_runtime_parachains::disputes::DisputeResult
|
* Lookup492: polkadot_runtime_parachains::disputes::DisputeResult
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsDisputesDisputeResult: {
|
PolkadotRuntimeParachainsDisputesDisputeResult: {
|
||||||
_enum: ['Valid', 'Invalid']
|
_enum: ['Valid', 'Invalid']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup490: polkadot_runtime_parachains::on_demand::pallet::Event<T>
|
* Lookup493: polkadot_runtime_parachains::on_demand::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsOnDemandPalletEvent: {
|
PolkadotRuntimeParachainsOnDemandPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2529,12 +2544,16 @@ export default {
|
|||||||
orderedBy: 'AccountId32',
|
orderedBy: 'AccountId32',
|
||||||
},
|
},
|
||||||
SpotPriceSet: {
|
SpotPriceSet: {
|
||||||
spotPrice: 'u128'
|
spotPrice: 'u128',
|
||||||
|
},
|
||||||
|
AccountCredited: {
|
||||||
|
who: 'AccountId32',
|
||||||
|
amount: 'u128'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup491: polkadot_runtime_common::paras_registrar::pallet::Event<T>
|
* Lookup494: polkadot_runtime_common::paras_registrar::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonParasRegistrarPalletEvent: {
|
PolkadotRuntimeCommonParasRegistrarPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2556,7 +2575,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup492: polkadot_runtime_common::slots::pallet::Event<T>
|
* Lookup495: polkadot_runtime_common::slots::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonSlotsPalletEvent: {
|
PolkadotRuntimeCommonSlotsPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2574,7 +2593,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup493: polkadot_runtime_common::auctions::pallet::Event<T>
|
* Lookup496: polkadot_runtime_common::auctions::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonAuctionsPalletEvent: {
|
PolkadotRuntimeCommonAuctionsPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2614,7 +2633,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup494: polkadot_runtime_common::crowdloan::pallet::Event<T>
|
* Lookup497: polkadot_runtime_common::crowdloan::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonCrowdloanPalletEvent: {
|
PolkadotRuntimeCommonCrowdloanPalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2658,7 +2677,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup495: polkadot_runtime_parachains::coretime::pallet::Event<T>
|
* Lookup498: polkadot_runtime_parachains::coretime::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsCoretimePalletEvent: {
|
PolkadotRuntimeParachainsCoretimePalletEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2671,7 +2690,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup499: pallet_xcm::pallet::Event<T>
|
* Lookup502: pallet_xcm::pallet::Event<T>
|
||||||
**/
|
**/
|
||||||
PalletXcmEvent: {
|
PalletXcmEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2684,6 +2703,17 @@ export default {
|
|||||||
message: 'StagingXcmV5Xcm',
|
message: 'StagingXcmV5Xcm',
|
||||||
messageId: '[u8;32]',
|
messageId: '[u8;32]',
|
||||||
},
|
},
|
||||||
|
SendFailed: {
|
||||||
|
origin: 'StagingXcmV5Location',
|
||||||
|
destination: 'StagingXcmV5Location',
|
||||||
|
error: 'XcmV3TraitsSendError',
|
||||||
|
messageId: '[u8;32]',
|
||||||
|
},
|
||||||
|
ProcessXcmError: {
|
||||||
|
origin: 'StagingXcmV5Location',
|
||||||
|
error: 'XcmV5TraitsError',
|
||||||
|
messageId: '[u8;32]',
|
||||||
|
},
|
||||||
UnexpectedResponse: {
|
UnexpectedResponse: {
|
||||||
origin: 'StagingXcmV5Location',
|
origin: 'StagingXcmV5Location',
|
||||||
queryId: 'u64',
|
queryId: 'u64',
|
||||||
@@ -2791,12 +2821,24 @@ export default {
|
|||||||
assets: 'XcmVersionedAssets',
|
assets: 'XcmVersionedAssets',
|
||||||
},
|
},
|
||||||
VersionMigrationFinished: {
|
VersionMigrationFinished: {
|
||||||
version: 'u32'
|
version: 'u32',
|
||||||
|
},
|
||||||
|
AliasAuthorized: {
|
||||||
|
aliaser: 'StagingXcmV5Location',
|
||||||
|
target: 'StagingXcmV5Location',
|
||||||
|
expiry: 'Option<u64>',
|
||||||
|
},
|
||||||
|
AliasAuthorizationRemoved: {
|
||||||
|
aliaser: 'StagingXcmV5Location',
|
||||||
|
target: 'StagingXcmV5Location',
|
||||||
|
},
|
||||||
|
AliasesAuthorizationsRemoved: {
|
||||||
|
target: 'StagingXcmV5Location'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup500: staging_xcm::v5::traits::Outcome
|
* Lookup503: staging_xcm::v5::traits::Outcome
|
||||||
**/
|
**/
|
||||||
StagingXcmV5TraitsOutcome: {
|
StagingXcmV5TraitsOutcome: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2813,7 +2855,13 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup563: polkadot_runtime::RuntimeHoldReason
|
* Lookup504: xcm::v3::traits::SendError
|
||||||
|
**/
|
||||||
|
XcmV3TraitsSendError: {
|
||||||
|
_enum: ['NotApplicable', 'Transport', 'Unroutable', 'DestinationUnsupported', 'ExceedsMaxMessageSize', 'MissingArgument', 'Fees']
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Lookup567: polkadot_runtime::RuntimeHoldReason
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeRuntimeHoldReason: {
|
PolkadotRuntimeRuntimeHoldReason: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2824,7 +2872,7 @@ export default {
|
|||||||
__Unused4: 'Null',
|
__Unused4: 'Null',
|
||||||
__Unused5: 'Null',
|
__Unused5: 'Null',
|
||||||
__Unused6: 'Null',
|
__Unused6: 'Null',
|
||||||
__Unused7: 'Null',
|
Staking: 'PalletStakingPalletHoldReason',
|
||||||
__Unused8: 'Null',
|
__Unused8: 'Null',
|
||||||
__Unused9: 'Null',
|
__Unused9: 'Null',
|
||||||
Preimage: 'PalletPreimageHoldReason',
|
Preimage: 'PalletPreimageHoldReason',
|
||||||
@@ -2915,11 +2963,18 @@ export default {
|
|||||||
__Unused95: 'Null',
|
__Unused95: 'Null',
|
||||||
__Unused96: 'Null',
|
__Unused96: 'Null',
|
||||||
__Unused97: 'Null',
|
__Unused97: 'Null',
|
||||||
StateTrieMigration: 'PalletStateTrieMigrationHoldReason'
|
StateTrieMigration: 'PalletStateTrieMigrationHoldReason',
|
||||||
|
XcmPallet: 'PalletXcmHoldReason'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup570: polkadot_runtime::RuntimeFreezeReason
|
* Lookup572: pallet_xcm::pallet::HoldReason
|
||||||
|
**/
|
||||||
|
PalletXcmHoldReason: {
|
||||||
|
_enum: ['AuthorizeAlias']
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Lookup576: polkadot_runtime::RuntimeFreezeReason
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeRuntimeFreezeReason: {
|
PolkadotRuntimeRuntimeFreezeReason: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2966,7 +3021,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup632: pallet_referenda::types::ReferendumInfo<TrackId, polkadot_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<polkadot_runtime::RuntimeCall, sp_runtime::traits::BlakeTwo256>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
|
* Lookup640: pallet_referenda::types::ReferendumInfo<TrackId, polkadot_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<polkadot_runtime::RuntimeCall, sp_runtime::traits::BlakeTwo256>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||||
**/
|
**/
|
||||||
PalletReferendaReferendumInfo: {
|
PalletReferendaReferendumInfo: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2979,7 +3034,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup633: pallet_referenda::types::ReferendumStatus<TrackId, polkadot_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<polkadot_runtime::RuntimeCall, sp_runtime::traits::BlakeTwo256>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
|
* Lookup641: pallet_referenda::types::ReferendumStatus<TrackId, polkadot_runtime::OriginCaller, Moment, frame_support::traits::preimages::Bounded<polkadot_runtime::RuntimeCall, sp_runtime::traits::BlakeTwo256>, Balance, pallet_conviction_voting::types::Tally<Votes, Total>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||||
**/
|
**/
|
||||||
PalletReferendaReferendumStatus: {
|
PalletReferendaReferendumStatus: {
|
||||||
track: 'u16',
|
track: 'u16',
|
||||||
@@ -2995,27 +3050,13 @@ export default {
|
|||||||
alarm: 'Option<(u32,(u32,u32))>'
|
alarm: 'Option<(u32,(u32,u32))>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup645: pallet_referenda::types::TrackInfo<Balance, Moment>
|
* Lookup659: polkadot_runtime_common::claims::pallet::Error<T>
|
||||||
**/
|
|
||||||
PalletReferendaTrackInfo: {
|
|
||||||
name: 'Text',
|
|
||||||
maxDeciding: 'u32',
|
|
||||||
decisionDeposit: 'u128',
|
|
||||||
preparePeriod: 'u32',
|
|
||||||
decisionPeriod: 'u32',
|
|
||||||
confirmPeriod: 'u32',
|
|
||||||
minEnactmentPeriod: 'u32',
|
|
||||||
minApproval: 'PalletReferendaCurve',
|
|
||||||
minSupport: 'PalletReferendaCurve'
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* Lookup651: polkadot_runtime_common::claims::pallet::Error<T>
|
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonClaimsPalletError: {
|
PolkadotRuntimeCommonClaimsPalletError: {
|
||||||
_enum: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists']
|
_enum: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup717: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
|
* Lookup724: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
|
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
|
||||||
maxCodeSize: 'u32',
|
maxCodeSize: 'u32',
|
||||||
@@ -3055,20 +3096,20 @@ export default {
|
|||||||
schedulerParams: 'PolkadotPrimitivesV8SchedulerParams'
|
schedulerParams: 'PolkadotPrimitivesV8SchedulerParams'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup720: polkadot_runtime_parachains::configuration::pallet::Error<T>
|
* Lookup727: polkadot_runtime_parachains::configuration::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsConfigurationPalletError: {
|
PolkadotRuntimeParachainsConfigurationPalletError: {
|
||||||
_enum: ['InvalidNewValue']
|
_enum: ['InvalidNewValue']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup723: polkadot_runtime_parachains::shared::AllowedRelayParentsTracker<primitive_types::H256, BlockNumber>
|
* Lookup730: polkadot_runtime_parachains::shared::AllowedRelayParentsTracker<primitive_types::H256, BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker: {
|
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker: {
|
||||||
buffer: 'Vec<PolkadotRuntimeParachainsSharedRelayParentInfo>',
|
buffer: 'Vec<PolkadotRuntimeParachainsSharedRelayParentInfo>',
|
||||||
latestNumber: 'u32'
|
latestNumber: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup725: polkadot_runtime_parachains::shared::RelayParentInfo<primitive_types::H256>
|
* Lookup732: polkadot_runtime_parachains::shared::RelayParentInfo<primitive_types::H256>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsSharedRelayParentInfo: {
|
PolkadotRuntimeParachainsSharedRelayParentInfo: {
|
||||||
relayParent: 'H256',
|
relayParent: 'H256',
|
||||||
@@ -3076,7 +3117,7 @@ export default {
|
|||||||
claimQueue: 'BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>'
|
claimQueue: 'BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup735: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
|
* Lookup742: polkadot_runtime_parachains::inclusion::CandidatePendingAvailability<primitive_types::H256, N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
|
PolkadotRuntimeParachainsInclusionCandidatePendingAvailability: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -3093,13 +3134,13 @@ export default {
|
|||||||
backingGroup: 'u32'
|
backingGroup: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup736: polkadot_runtime_parachains::inclusion::pallet::Error<T>
|
* Lookup743: polkadot_runtime_parachains::inclusion::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInclusionPalletError: {
|
PolkadotRuntimeParachainsInclusionPalletError: {
|
||||||
_enum: ['ValidatorIndexOutOfBounds', 'UnscheduledCandidate', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'DisallowedRelayParent', 'InvalidAssignment', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch']
|
_enum: ['ValidatorIndexOutOfBounds', 'UnscheduledCandidate', 'HeadDataTooLarge', 'PrematureCodeUpgrade', 'NewCodeTooLarge', 'DisallowedRelayParent', 'InvalidAssignment', 'InvalidGroupIndex', 'InsufficientBacking', 'InvalidBacking', 'ValidationDataHashMismatch', 'IncorrectDownwardMessageHandling', 'InvalidUpwardMessages', 'HrmpWatermarkMishandling', 'InvalidOutboundHrmp', 'InvalidValidationCodeHash', 'ParaHeadMismatch']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup737: polkadot_primitives::vstaging::ScrapedOnChainVotes<primitive_types::H256>
|
* Lookup744: polkadot_primitives::vstaging::ScrapedOnChainVotes<primitive_types::H256>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesVstagingScrapedOnChainVotes: {
|
PolkadotPrimitivesVstagingScrapedOnChainVotes: {
|
||||||
session: 'u32',
|
session: 'u32',
|
||||||
@@ -3107,13 +3148,13 @@ export default {
|
|||||||
disputes: 'Vec<PolkadotPrimitivesV8DisputeStatementSet>'
|
disputes: 'Vec<PolkadotPrimitivesV8DisputeStatementSet>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup742: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
|
* Lookup749: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasInherentPalletError: {
|
PolkadotRuntimeParachainsParasInherentPalletError: {
|
||||||
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'InherentDataFilteredDuringExecution', 'UnscheduledCandidate']
|
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'InherentDataFilteredDuringExecution', 'UnscheduledCandidate']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup746: polkadot_runtime_parachains::scheduler::common::Assignment
|
* Lookup753: polkadot_runtime_parachains::scheduler::common::Assignment
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsSchedulerCommonAssignment: {
|
PolkadotRuntimeParachainsSchedulerCommonAssignment: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3125,7 +3166,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup749: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
|
* Lookup756: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState: {
|
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState: {
|
||||||
votesAccept: 'BitVec',
|
votesAccept: 'BitVec',
|
||||||
@@ -3135,7 +3176,7 @@ export default {
|
|||||||
causes: 'Vec<PolkadotRuntimeParachainsParasPvfCheckCause>'
|
causes: 'Vec<PolkadotRuntimeParachainsParasPvfCheckCause>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup751: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
|
* Lookup758: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasPvfCheckCause: {
|
PolkadotRuntimeParachainsParasPvfCheckCause: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3148,45 +3189,45 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup752: polkadot_runtime_parachains::paras::UpgradeStrategy
|
* Lookup759: polkadot_runtime_parachains::paras::UpgradeStrategy
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasUpgradeStrategy: {
|
PolkadotRuntimeParachainsParasUpgradeStrategy: {
|
||||||
_enum: ['SetGoAheadSignal', 'ApplyAtExpectedBlock']
|
_enum: ['SetGoAheadSignal', 'ApplyAtExpectedBlock']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup755: polkadot_runtime_parachains::paras::ParaLifecycle
|
* Lookup762: polkadot_runtime_parachains::paras::ParaLifecycle
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasParaLifecycle: {
|
PolkadotRuntimeParachainsParasParaLifecycle: {
|
||||||
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
|
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup757: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
|
* Lookup764: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
|
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
|
||||||
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
|
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
|
||||||
lastPruned: 'Option<u32>'
|
lastPruned: 'Option<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup759: polkadot_runtime_parachains::paras::ReplacementTimes<N>
|
* Lookup766: polkadot_runtime_parachains::paras::ReplacementTimes<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasReplacementTimes: {
|
PolkadotRuntimeParachainsParasReplacementTimes: {
|
||||||
expectedAt: 'u32',
|
expectedAt: 'u32',
|
||||||
activatedAt: 'u32'
|
activatedAt: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup761: polkadot_primitives::v8::UpgradeGoAhead
|
* Lookup768: polkadot_primitives::v8::UpgradeGoAhead
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8UpgradeGoAhead: {
|
PolkadotPrimitivesV8UpgradeGoAhead: {
|
||||||
_enum: ['Abort', 'GoAhead']
|
_enum: ['Abort', 'GoAhead']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup762: polkadot_primitives::v8::UpgradeRestriction
|
* Lookup769: polkadot_primitives::v8::UpgradeRestriction
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8UpgradeRestriction: {
|
PolkadotPrimitivesV8UpgradeRestriction: {
|
||||||
_enum: ['Present']
|
_enum: ['Present']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup763: polkadot_runtime_parachains::paras::ParaGenesisArgs
|
* Lookup770: polkadot_runtime_parachains::paras::ParaGenesisArgs
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasParaGenesisArgs: {
|
PolkadotRuntimeParachainsParasParaGenesisArgs: {
|
||||||
genesisHead: 'Bytes',
|
genesisHead: 'Bytes',
|
||||||
@@ -3194,13 +3235,13 @@ export default {
|
|||||||
paraKind: 'bool'
|
paraKind: 'bool'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup764: polkadot_runtime_parachains::paras::pallet::Error<T>
|
* Lookup771: polkadot_runtime_parachains::paras::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsParasPalletError: {
|
PolkadotRuntimeParachainsParasPalletError: {
|
||||||
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade', 'PvfCheckStatementStale', 'PvfCheckStatementFuture', 'PvfCheckValidatorIndexOutOfBounds', 'PvfCheckInvalidSignature', 'PvfCheckDoubleVote', 'PvfCheckSubjectInvalid', 'CannotUpgradeCode', 'InvalidCode']
|
_enum: ['NotRegistered', 'CannotOnboard', 'CannotOffboard', 'CannotUpgrade', 'CannotDowngrade', 'PvfCheckStatementStale', 'PvfCheckStatementFuture', 'PvfCheckValidatorIndexOutOfBounds', 'PvfCheckInvalidSignature', 'PvfCheckDoubleVote', 'PvfCheckSubjectInvalid', 'CannotUpgradeCode', 'InvalidCode']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup766: polkadot_runtime_parachains::initializer::BufferedSessionChange
|
* Lookup773: polkadot_runtime_parachains::initializer::BufferedSessionChange
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
|
PolkadotRuntimeParachainsInitializerBufferedSessionChange: {
|
||||||
validators: 'Vec<PolkadotPrimitivesV8ValidatorAppPublic>',
|
validators: 'Vec<PolkadotPrimitivesV8ValidatorAppPublic>',
|
||||||
@@ -3208,14 +3249,14 @@ export default {
|
|||||||
sessionIndex: 'u32'
|
sessionIndex: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup768: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
|
* Lookup775: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotCorePrimitivesInboundDownwardMessage: {
|
PolkadotCorePrimitivesInboundDownwardMessage: {
|
||||||
sentAt: 'u32',
|
sentAt: 'u32',
|
||||||
msg: 'Bytes'
|
msg: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup769: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
|
* Lookup776: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
|
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
|
||||||
confirmed: 'bool',
|
confirmed: 'bool',
|
||||||
@@ -3226,7 +3267,7 @@ export default {
|
|||||||
maxTotalSize: 'u32'
|
maxTotalSize: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup771: polkadot_runtime_parachains::hrmp::HrmpChannel
|
* Lookup778: polkadot_runtime_parachains::hrmp::HrmpChannel
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsHrmpHrmpChannel: {
|
PolkadotRuntimeParachainsHrmpHrmpChannel: {
|
||||||
maxCapacity: 'u32',
|
maxCapacity: 'u32',
|
||||||
@@ -3239,20 +3280,20 @@ export default {
|
|||||||
recipientDeposit: 'u128'
|
recipientDeposit: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup773: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
|
* Lookup780: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotCorePrimitivesInboundHrmpMessage: {
|
PolkadotCorePrimitivesInboundHrmpMessage: {
|
||||||
sentAt: 'u32',
|
sentAt: 'u32',
|
||||||
data: 'Bytes'
|
data: 'Bytes'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup776: polkadot_runtime_parachains::hrmp::pallet::Error<T>
|
* Lookup783: polkadot_runtime_parachains::hrmp::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsHrmpPalletError: {
|
PolkadotRuntimeParachainsHrmpPalletError: {
|
||||||
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed', 'WrongWitness', 'ChannelCreationNotAuthorized']
|
_enum: ['OpenHrmpChannelToSelf', 'OpenHrmpChannelInvalidRecipient', 'OpenHrmpChannelZeroCapacity', 'OpenHrmpChannelCapacityExceedsLimit', 'OpenHrmpChannelZeroMessageSize', 'OpenHrmpChannelMessageSizeExceedsLimit', 'OpenHrmpChannelAlreadyExists', 'OpenHrmpChannelAlreadyRequested', 'OpenHrmpChannelLimitExceeded', 'AcceptHrmpChannelDoesntExist', 'AcceptHrmpChannelAlreadyConfirmed', 'AcceptHrmpChannelLimitExceeded', 'CloseHrmpChannelUnauthorized', 'CloseHrmpChannelDoesntExist', 'CloseHrmpChannelAlreadyUnderway', 'CancelHrmpOpenChannelUnauthorized', 'OpenHrmpChannelDoesntExist', 'OpenHrmpChannelAlreadyConfirmed', 'WrongWitness', 'ChannelCreationNotAuthorized']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup778: polkadot_primitives::v8::SessionInfo
|
* Lookup785: polkadot_primitives::v8::SessionInfo
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8SessionInfo: {
|
PolkadotPrimitivesV8SessionInfo: {
|
||||||
activeValidatorIndices: 'Vec<u32>',
|
activeValidatorIndices: 'Vec<u32>',
|
||||||
@@ -3270,15 +3311,15 @@ export default {
|
|||||||
neededApprovals: 'u32'
|
neededApprovals: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup779: polkadot_primitives::v8::IndexedVec<polkadot_primitives::v8::ValidatorIndex, polkadot_primitives::v8::validator_app::Public>
|
* Lookup786: polkadot_primitives::v8::IndexedVec<polkadot_primitives::v8::ValidatorIndex, polkadot_primitives::v8::validator_app::Public>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8IndexedVecValidatorIndex: 'Vec<PolkadotPrimitivesV8ValidatorAppPublic>',
|
PolkadotPrimitivesV8IndexedVecValidatorIndex: 'Vec<PolkadotPrimitivesV8ValidatorAppPublic>',
|
||||||
/**
|
/**
|
||||||
* Lookup780: polkadot_primitives::v8::IndexedVec<polkadot_primitives::v8::GroupIndex, V>
|
* Lookup787: polkadot_primitives::v8::IndexedVec<polkadot_primitives::v8::GroupIndex, V>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8IndexedVecGroupIndex: 'Vec<Vec<u32>>',
|
PolkadotPrimitivesV8IndexedVecGroupIndex: 'Vec<Vec<u32>>',
|
||||||
/**
|
/**
|
||||||
* Lookup782: polkadot_primitives::v8::DisputeState<N>
|
* Lookup789: polkadot_primitives::v8::DisputeState<N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8DisputeState: {
|
PolkadotPrimitivesV8DisputeState: {
|
||||||
validatorsFor: 'BitVec',
|
validatorsFor: 'BitVec',
|
||||||
@@ -3287,13 +3328,13 @@ export default {
|
|||||||
concludedAt: 'Option<u32>'
|
concludedAt: 'Option<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup784: polkadot_runtime_parachains::disputes::pallet::Error<T>
|
* Lookup791: polkadot_runtime_parachains::disputes::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsDisputesPalletError: {
|
PolkadotRuntimeParachainsDisputesPalletError: {
|
||||||
_enum: ['DuplicateDisputeStatementSets', 'AncientDisputeStatement', 'ValidatorIndexOutOfBounds', 'InvalidSignature', 'DuplicateStatement', 'SingleSidedDispute', 'MaliciousBacker', 'MissingBackingVotes', 'UnconfirmedDispute']
|
_enum: ['DuplicateDisputeStatementSets', 'AncientDisputeStatement', 'ValidatorIndexOutOfBounds', 'InvalidSignature', 'DuplicateStatement', 'SingleSidedDispute', 'MaliciousBacker', 'MissingBackingVotes', 'UnconfirmedDispute']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup785: polkadot_primitives::v8::slashing::PendingSlashes
|
* Lookup792: polkadot_primitives::v8::slashing::PendingSlashes
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8SlashingPendingSlashes: {
|
PolkadotPrimitivesV8SlashingPendingSlashes: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -3303,20 +3344,20 @@ export default {
|
|||||||
kind: 'PolkadotPrimitivesV8SlashingSlashingOffenceKind'
|
kind: 'PolkadotPrimitivesV8SlashingSlashingOffenceKind'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup789: polkadot_runtime_parachains::disputes::slashing::pallet::Error<T>
|
* Lookup796: polkadot_runtime_parachains::disputes::slashing::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsDisputesSlashingPalletError: {
|
PolkadotRuntimeParachainsDisputesSlashingPalletError: {
|
||||||
_enum: ['InvalidKeyOwnershipProof', 'InvalidSessionIndex', 'InvalidCandidateHash', 'InvalidValidatorIndex', 'ValidatorIndexIdMismatch', 'DuplicateSlashingReport']
|
_enum: ['InvalidKeyOwnershipProof', 'InvalidSessionIndex', 'InvalidCandidateHash', 'InvalidValidatorIndex', 'ValidatorIndexIdMismatch', 'DuplicateSlashingReport']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup790: polkadot_runtime_parachains::on_demand::types::CoreAffinityCount
|
* Lookup797: polkadot_runtime_parachains::on_demand::types::CoreAffinityCount
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount: {
|
PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount: {
|
||||||
coreIndex: 'u32',
|
coreIndex: 'u32',
|
||||||
count: 'u32'
|
count: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup791: polkadot_runtime_parachains::on_demand::types::QueueStatusType
|
* Lookup798: polkadot_runtime_parachains::on_demand::types::QueueStatusType
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsOnDemandTypesQueueStatusType: {
|
PolkadotRuntimeParachainsOnDemandTypesQueueStatusType: {
|
||||||
traffic: 'u128',
|
traffic: 'u128',
|
||||||
@@ -3325,28 +3366,28 @@ export default {
|
|||||||
freedIndices: 'BinaryHeapReverseQueueIndex'
|
freedIndices: 'BinaryHeapReverseQueueIndex'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup793: BinaryHeap<polkadot_runtime_parachains::on_demand::types::ReverseQueueIndex>
|
* Lookup800: BinaryHeap<polkadot_runtime_parachains::on_demand::types::ReverseQueueIndex>
|
||||||
**/
|
**/
|
||||||
BinaryHeapReverseQueueIndex: 'Vec<u32>',
|
BinaryHeapReverseQueueIndex: 'Vec<u32>',
|
||||||
/**
|
/**
|
||||||
* Lookup796: BinaryHeap<polkadot_runtime_parachains::on_demand::types::EnqueuedOrder>
|
* Lookup803: BinaryHeap<polkadot_runtime_parachains::on_demand::types::EnqueuedOrder>
|
||||||
**/
|
**/
|
||||||
BinaryHeapEnqueuedOrder: 'Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>',
|
BinaryHeapEnqueuedOrder: 'Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>',
|
||||||
/**
|
/**
|
||||||
* Lookup797: polkadot_runtime_parachains::on_demand::types::EnqueuedOrder
|
* Lookup804: polkadot_runtime_parachains::on_demand::types::EnqueuedOrder
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder: {
|
PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder: {
|
||||||
paraId: 'u32',
|
paraId: 'u32',
|
||||||
idx: 'u32'
|
idx: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup801: polkadot_runtime_parachains::on_demand::pallet::Error<T>
|
* Lookup808: polkadot_runtime_parachains::on_demand::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsOnDemandPalletError: {
|
PolkadotRuntimeParachainsOnDemandPalletError: {
|
||||||
_enum: ['QueueFull', 'SpotPriceHigherThanMaxAmount']
|
_enum: ['QueueFull', 'SpotPriceHigherThanMaxAmount', 'InsufficientCredits']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup803: polkadot_runtime_parachains::assigner_coretime::Schedule<N>
|
* Lookup810: polkadot_runtime_parachains::assigner_coretime::Schedule<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsAssignerCoretimeSchedule: {
|
PolkadotRuntimeParachainsAssignerCoretimeSchedule: {
|
||||||
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,u16)>',
|
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,u16)>',
|
||||||
@@ -3354,21 +3395,21 @@ export default {
|
|||||||
nextSchedule: 'Option<u32>'
|
nextSchedule: 'Option<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup804: polkadot_runtime_parachains::assigner_coretime::CoreDescriptor<N>
|
* Lookup811: polkadot_runtime_parachains::assigner_coretime::CoreDescriptor<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor: {
|
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor: {
|
||||||
queue: 'Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>',
|
queue: 'Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>',
|
||||||
currentWork: 'Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>'
|
currentWork: 'Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup806: polkadot_runtime_parachains::assigner_coretime::QueueDescriptor<N>
|
* Lookup813: polkadot_runtime_parachains::assigner_coretime::QueueDescriptor<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor: {
|
PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor: {
|
||||||
first: 'u32',
|
first: 'u32',
|
||||||
last: 'u32'
|
last: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup808: polkadot_runtime_parachains::assigner_coretime::WorkState<N>
|
* Lookup815: polkadot_runtime_parachains::assigner_coretime::WorkState<N>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsAssignerCoretimeWorkState: {
|
PolkadotRuntimeParachainsAssignerCoretimeWorkState: {
|
||||||
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,PolkadotRuntimeParachainsAssignerCoretimeAssignmentState)>',
|
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,PolkadotRuntimeParachainsAssignerCoretimeAssignmentState)>',
|
||||||
@@ -3377,20 +3418,20 @@ export default {
|
|||||||
step: 'u16'
|
step: 'u16'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup811: polkadot_runtime_parachains::assigner_coretime::AssignmentState
|
* Lookup818: polkadot_runtime_parachains::assigner_coretime::AssignmentState
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsAssignerCoretimeAssignmentState: {
|
PolkadotRuntimeParachainsAssignerCoretimeAssignmentState: {
|
||||||
ratio: 'u16',
|
ratio: 'u16',
|
||||||
remaining: 'u16'
|
remaining: 'u16'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup812: polkadot_runtime_parachains::assigner_coretime::pallet::Error<T>
|
* Lookup819: polkadot_runtime_parachains::assigner_coretime::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsAssignerCoretimePalletError: {
|
PolkadotRuntimeParachainsAssignerCoretimePalletError: {
|
||||||
_enum: ['AssignmentsEmpty', 'DisallowedInsert']
|
_enum: ['AssignmentsEmpty', 'DisallowedInsert']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup813: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
|
* Lookup820: polkadot_runtime_common::paras_registrar::ParaInfo<sp_core::crypto::AccountId32, Balance>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonParasRegistrarParaInfo: {
|
PolkadotRuntimeCommonParasRegistrarParaInfo: {
|
||||||
manager: 'AccountId32',
|
manager: 'AccountId32',
|
||||||
@@ -3398,25 +3439,25 @@ export default {
|
|||||||
locked: 'Option<bool>'
|
locked: 'Option<bool>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup815: polkadot_runtime_common::paras_registrar::pallet::Error<T>
|
* Lookup822: polkadot_runtime_common::paras_registrar::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonParasRegistrarPalletError: {
|
PolkadotRuntimeCommonParasRegistrarPalletError: {
|
||||||
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved', 'InvalidCode', 'CannotSwap']
|
_enum: ['NotRegistered', 'AlreadyRegistered', 'NotOwner', 'CodeTooLarge', 'HeadDataTooLarge', 'NotParachain', 'NotParathread', 'CannotDeregister', 'CannotDowngrade', 'CannotUpgrade', 'ParaLocked', 'NotReserved', 'InvalidCode', 'CannotSwap']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup817: polkadot_runtime_common::slots::pallet::Error<T>
|
* Lookup824: polkadot_runtime_common::slots::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonSlotsPalletError: {
|
PolkadotRuntimeCommonSlotsPalletError: {
|
||||||
_enum: ['ParaNotOnboarding', 'LeaseError']
|
_enum: ['ParaNotOnboarding', 'LeaseError']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup822: polkadot_runtime_common::auctions::pallet::Error<T>
|
* Lookup829: polkadot_runtime_common::auctions::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonAuctionsPalletError: {
|
PolkadotRuntimeCommonAuctionsPalletError: {
|
||||||
_enum: ['AuctionInProgress', 'LeasePeriodInPast', 'ParaNotRegistered', 'NotCurrentAuction', 'NotAuction', 'AuctionEnded', 'AlreadyLeasedOut']
|
_enum: ['AuctionInProgress', 'LeasePeriodInPast', 'ParaNotRegistered', 'NotCurrentAuction', 'NotAuction', 'AuctionEnded', 'AlreadyLeasedOut']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup823: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
|
* Lookup830: polkadot_runtime_common::crowdloan::FundInfo<sp_core::crypto::AccountId32, Balance, BlockNumber, LeasePeriod>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonCrowdloanFundInfo: {
|
PolkadotRuntimeCommonCrowdloanFundInfo: {
|
||||||
depositor: 'AccountId32',
|
depositor: 'AccountId32',
|
||||||
@@ -3431,7 +3472,7 @@ export default {
|
|||||||
fundIndex: 'u32'
|
fundIndex: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup824: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
|
* Lookup831: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonCrowdloanLastContribution: {
|
PolkadotRuntimeCommonCrowdloanLastContribution: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3441,19 +3482,19 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup825: polkadot_runtime_common::crowdloan::pallet::Error<T>
|
* Lookup832: polkadot_runtime_common::crowdloan::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonCrowdloanPalletError: {
|
PolkadotRuntimeCommonCrowdloanPalletError: {
|
||||||
_enum: ['FirstPeriodInPast', 'FirstPeriodTooFarInFuture', 'LastPeriodBeforeFirstPeriod', 'LastPeriodTooFarInFuture', 'CannotEndInPast', 'EndTooFarInFuture', 'Overflow', 'ContributionTooSmall', 'InvalidParaId', 'CapExceeded', 'ContributionPeriodOver', 'InvalidOrigin', 'NotParachain', 'LeaseActive', 'BidOrLeaseActive', 'FundNotEnded', 'NoContributions', 'NotReadyToDissolve', 'InvalidSignature', 'MemoTooLarge', 'AlreadyInNewRaise', 'VrfDelayInProgress', 'NoLeasePeriod']
|
_enum: ['FirstPeriodInPast', 'FirstPeriodTooFarInFuture', 'LastPeriodBeforeFirstPeriod', 'LastPeriodTooFarInFuture', 'CannotEndInPast', 'EndTooFarInFuture', 'Overflow', 'ContributionTooSmall', 'InvalidParaId', 'CapExceeded', 'ContributionPeriodOver', 'InvalidOrigin', 'NotParachain', 'LeaseActive', 'BidOrLeaseActive', 'FundNotEnded', 'NoContributions', 'NotReadyToDissolve', 'InvalidSignature', 'MemoTooLarge', 'AlreadyInNewRaise', 'VrfDelayInProgress', 'NoLeasePeriod']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup826: polkadot_runtime_parachains::coretime::pallet::Error<T>
|
* Lookup833: polkadot_runtime_parachains::coretime::pallet::Error<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeParachainsCoretimePalletError: {
|
PolkadotRuntimeParachainsCoretimePalletError: {
|
||||||
_enum: ['NotBroker', 'RequestedFutureRevenue', 'AssetTransferFailed']
|
_enum: ['NotBroker', 'RequestedFutureRevenue', 'AssetTransferFailed']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup827: pallet_xcm::pallet::QueryStatus<BlockNumber>
|
* Lookup834: pallet_xcm::pallet::QueryStatus<BlockNumber>
|
||||||
**/
|
**/
|
||||||
PalletXcmQueryStatus: {
|
PalletXcmQueryStatus: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3474,7 +3515,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup831: xcm::VersionedResponse
|
* Lookup838: xcm::VersionedResponse
|
||||||
**/
|
**/
|
||||||
XcmVersionedResponse: {
|
XcmVersionedResponse: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3487,7 +3528,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup837: pallet_xcm::pallet::VersionMigrationStage
|
* Lookup844: pallet_xcm::pallet::VersionMigrationStage
|
||||||
**/
|
**/
|
||||||
PalletXcmVersionMigrationStage: {
|
PalletXcmVersionMigrationStage: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3498,7 +3539,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup840: pallet_xcm::pallet::RemoteLockedFungibleRecord<ConsumerIdentifier, MaxConsumers>
|
* Lookup847: pallet_xcm::pallet::RemoteLockedFungibleRecord<ConsumerIdentifier, MaxConsumers>
|
||||||
**/
|
**/
|
||||||
PalletXcmRemoteLockedFungibleRecord: {
|
PalletXcmRemoteLockedFungibleRecord: {
|
||||||
amount: 'u128',
|
amount: 'u128',
|
||||||
@@ -3507,32 +3548,54 @@ export default {
|
|||||||
consumers: 'Vec<(Null,u128)>'
|
consumers: 'Vec<(Null,u128)>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup847: pallet_xcm::pallet::Error<T>
|
* Lookup854: pallet_xcm::AuthorizedAliasesEntry<frame_support::traits::storage::Disabled, pallet_xcm::pallet::MaxAuthorizedAliases>
|
||||||
**/
|
**/
|
||||||
PalletXcmError: {
|
PalletXcmAuthorizedAliasesEntry: {
|
||||||
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', '__Unused20', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete']
|
aliasers: 'Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>',
|
||||||
|
ticket: 'FrameSupportStorageDisabled'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup869: pallet_transaction_payment::ChargeTransactionPayment<T>
|
* Lookup855: frame_support::traits::storage::Disabled
|
||||||
|
**/
|
||||||
|
FrameSupportStorageDisabled: 'Null',
|
||||||
|
/**
|
||||||
|
* Lookup856: pallet_xcm::pallet::MaxAuthorizedAliases
|
||||||
|
**/
|
||||||
|
PalletXcmMaxAuthorizedAliases: 'Null',
|
||||||
|
/**
|
||||||
|
* Lookup858: xcm_runtime_apis::authorized_aliases::OriginAliaser
|
||||||
|
**/
|
||||||
|
XcmRuntimeApisAuthorizedAliasesOriginAliaser: {
|
||||||
|
location: 'XcmVersionedLocation',
|
||||||
|
expiry: 'Option<u64>'
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Lookup860: pallet_xcm::pallet::Error<T>
|
||||||
|
**/
|
||||||
|
PalletXcmError: {
|
||||||
|
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', '__Unused20', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete', 'TooManyAuthorizedAliases', 'ExpiresInPast', 'AliasNotFound']
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Lookup882: pallet_transaction_payment::ChargeTransactionPayment<T>
|
||||||
**/
|
**/
|
||||||
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
|
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
|
||||||
/**
|
/**
|
||||||
* Lookup870: polkadot_runtime_common::claims::PrevalidateAttests<T>
|
* Lookup883: polkadot_runtime_common::claims::PrevalidateAttests<T>
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
|
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup873: polkadot_runtime::Runtime
|
* Lookup886: polkadot_runtime::Runtime
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeRuntime: 'Null',
|
PolkadotRuntimeRuntime: 'Null',
|
||||||
/**
|
/**
|
||||||
* Lookup874: relay_common::apis::InflationInfo
|
* Lookup887: relay_common::apis::InflationInfo
|
||||||
**/
|
**/
|
||||||
RelayCommonApisInflationInfo: {
|
RelayCommonApisInflationInfo: {
|
||||||
inflation: 'Perquintill',
|
inflation: 'Perquintill',
|
||||||
nextMint: '(u128,u128)'
|
nextMint: '(u128,u128)'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup897: polkadot_primitives::v8::GroupRotationInfo<N>
|
* Lookup910: polkadot_primitives::v8::GroupRotationInfo<N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8GroupRotationInfo: {
|
PolkadotPrimitivesV8GroupRotationInfo: {
|
||||||
sessionStartBlock: 'u32',
|
sessionStartBlock: 'u32',
|
||||||
@@ -3540,7 +3603,7 @@ export default {
|
|||||||
now: 'u32'
|
now: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup899: polkadot_primitives::vstaging::CoreState<primitive_types::H256, N>
|
* Lookup912: polkadot_primitives::vstaging::CoreState<primitive_types::H256, N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesVstagingCoreState: {
|
PolkadotPrimitivesVstagingCoreState: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3550,7 +3613,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup900: polkadot_primitives::vstaging::OccupiedCore<primitive_types::H256, N>
|
* Lookup913: polkadot_primitives::vstaging::OccupiedCore<primitive_types::H256, N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesVstagingOccupiedCore: {
|
PolkadotPrimitivesVstagingOccupiedCore: {
|
||||||
nextUpOnAvailable: 'Option<PolkadotPrimitivesV8ScheduledCore>',
|
nextUpOnAvailable: 'Option<PolkadotPrimitivesV8ScheduledCore>',
|
||||||
@@ -3563,24 +3626,24 @@ export default {
|
|||||||
candidateDescriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2'
|
candidateDescriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup902: polkadot_primitives::v8::ScheduledCore
|
* Lookup915: polkadot_primitives::v8::ScheduledCore
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8ScheduledCore: {
|
PolkadotPrimitivesV8ScheduledCore: {
|
||||||
paraId: 'u32',
|
paraId: 'u32',
|
||||||
collator: 'Option<PolkadotPrimitivesV8CollatorAppPublic>'
|
collator: 'Option<PolkadotPrimitivesV8CollatorAppPublic>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup904: polkadot_primitives::v8::collator_app::Public
|
* Lookup917: polkadot_primitives::v8::collator_app::Public
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8CollatorAppPublic: '[u8;32]',
|
PolkadotPrimitivesV8CollatorAppPublic: '[u8;32]',
|
||||||
/**
|
/**
|
||||||
* Lookup905: polkadot_primitives::v8::OccupiedCoreAssumption
|
* Lookup918: polkadot_primitives::v8::OccupiedCoreAssumption
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8OccupiedCoreAssumption: {
|
PolkadotPrimitivesV8OccupiedCoreAssumption: {
|
||||||
_enum: ['Included', 'TimedOut', 'Free']
|
_enum: ['Included', 'TimedOut', 'Free']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup907: polkadot_primitives::v8::PersistedValidationData<primitive_types::H256, N>
|
* Lookup920: polkadot_primitives::v8::PersistedValidationData<primitive_types::H256, N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8PersistedValidationData: {
|
PolkadotPrimitivesV8PersistedValidationData: {
|
||||||
parentHead: 'Bytes',
|
parentHead: 'Bytes',
|
||||||
@@ -3589,7 +3652,7 @@ export default {
|
|||||||
maxPovSize: 'u32'
|
maxPovSize: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup912: polkadot_primitives::vstaging::CandidateEvent<primitive_types::H256>
|
* Lookup925: polkadot_primitives::vstaging::CandidateEvent<primitive_types::H256>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesVstagingCandidateEvent: {
|
PolkadotPrimitivesVstagingCandidateEvent: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -3599,14 +3662,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup928: polkadot_primitives::vstaging::async_backing::BackingState<primitive_types::H256, N>
|
* Lookup941: polkadot_primitives::vstaging::async_backing::BackingState<primitive_types::H256, N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesVstagingAsyncBackingBackingState: {
|
PolkadotPrimitivesVstagingAsyncBackingBackingState: {
|
||||||
constraints: 'PolkadotPrimitivesV8AsyncBackingConstraints',
|
constraints: 'PolkadotPrimitivesV8AsyncBackingConstraints',
|
||||||
pendingAvailability: 'Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>'
|
pendingAvailability: 'Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup929: polkadot_primitives::v8::async_backing::Constraints<N>
|
* Lookup942: polkadot_primitives::v8::async_backing::Constraints<N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8AsyncBackingConstraints: {
|
PolkadotPrimitivesV8AsyncBackingConstraints: {
|
||||||
minRelayParentNumber: 'u32',
|
minRelayParentNumber: 'u32',
|
||||||
@@ -3625,20 +3688,20 @@ export default {
|
|||||||
futureValidationCode: 'Option<(u32,H256)>'
|
futureValidationCode: 'Option<(u32,H256)>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup930: polkadot_primitives::v8::async_backing::InboundHrmpLimitations<N>
|
* Lookup943: polkadot_primitives::v8::async_backing::InboundHrmpLimitations<N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations: {
|
PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations: {
|
||||||
validWatermarks: 'Vec<u32>'
|
validWatermarks: 'Vec<u32>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup933: polkadot_primitives::v8::async_backing::OutboundHrmpChannelLimitations
|
* Lookup946: polkadot_primitives::v8::async_backing::OutboundHrmpChannelLimitations
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations: {
|
PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations: {
|
||||||
bytesRemaining: 'u32',
|
bytesRemaining: 'u32',
|
||||||
messagesRemaining: 'u32'
|
messagesRemaining: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup938: polkadot_primitives::vstaging::async_backing::CandidatePendingAvailability<primitive_types::H256, N>
|
* Lookup951: polkadot_primitives::vstaging::async_backing::CandidatePendingAvailability<primitive_types::H256, N>
|
||||||
**/
|
**/
|
||||||
PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability: {
|
PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability: {
|
||||||
candidateHash: 'H256',
|
candidateHash: 'H256',
|
||||||
@@ -3648,13 +3711,33 @@ export default {
|
|||||||
maxPovSize: 'u32'
|
maxPovSize: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup970: xcm_runtime_apis::fees::Error
|
* Lookup957: polkadot_primitives::vstaging::async_backing::Constraints<N>
|
||||||
|
**/
|
||||||
|
PolkadotPrimitivesVstagingAsyncBackingConstraints: {
|
||||||
|
minRelayParentNumber: 'u32',
|
||||||
|
maxPovSize: 'u32',
|
||||||
|
maxCodeSize: 'u32',
|
||||||
|
maxHeadDataSize: 'u32',
|
||||||
|
umpRemaining: 'u32',
|
||||||
|
umpRemainingBytes: 'u32',
|
||||||
|
maxUmpNumPerCandidate: 'u32',
|
||||||
|
dmpRemainingMessages: 'Vec<u32>',
|
||||||
|
hrmpInbound: 'PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations',
|
||||||
|
hrmpChannelsOut: 'Vec<(u32,PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations)>',
|
||||||
|
maxHrmpNumPerCandidate: 'u32',
|
||||||
|
requiredParent: 'Bytes',
|
||||||
|
validationCodeHash: 'H256',
|
||||||
|
upgradeRestriction: 'Option<PolkadotPrimitivesV8UpgradeRestriction>',
|
||||||
|
futureValidationCode: 'Option<(u32,H256)>'
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* Lookup985: xcm_runtime_apis::fees::Error
|
||||||
**/
|
**/
|
||||||
XcmRuntimeApisFeesError: {
|
XcmRuntimeApisFeesError: {
|
||||||
_enum: ['Unimplemented', 'VersionedConversionFailed', 'WeightNotComputable', 'UnhandledXcmVersion', 'AssetNotFound', 'Unroutable']
|
_enum: ['Unimplemented', 'VersionedConversionFailed', 'WeightNotComputable', 'UnhandledXcmVersion', 'AssetNotFound', 'Unroutable']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup975: xcm_runtime_apis::dry_run::CallDryRunEffects<polkadot_runtime::RuntimeEvent>
|
* Lookup990: xcm_runtime_apis::dry_run::CallDryRunEffects<polkadot_runtime::RuntimeEvent>
|
||||||
**/
|
**/
|
||||||
XcmRuntimeApisDryRunCallDryRunEffects: {
|
XcmRuntimeApisDryRunCallDryRunEffects: {
|
||||||
executionResult: 'Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>',
|
executionResult: 'Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>',
|
||||||
@@ -3663,13 +3746,13 @@ export default {
|
|||||||
forwardedXcms: 'Vec<(XcmVersionedLocation,Vec<XcmVersionedXcm>)>'
|
forwardedXcms: 'Vec<(XcmVersionedLocation,Vec<XcmVersionedXcm>)>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup981: xcm_runtime_apis::dry_run::Error
|
* Lookup996: xcm_runtime_apis::dry_run::Error
|
||||||
**/
|
**/
|
||||||
XcmRuntimeApisDryRunError: {
|
XcmRuntimeApisDryRunError: {
|
||||||
_enum: ['Unimplemented', 'VersionedConversionFailed']
|
_enum: ['Unimplemented', 'VersionedConversionFailed']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup983: xcm_runtime_apis::dry_run::XcmDryRunEffects<polkadot_runtime::RuntimeEvent>
|
* Lookup998: xcm_runtime_apis::dry_run::XcmDryRunEffects<polkadot_runtime::RuntimeEvent>
|
||||||
**/
|
**/
|
||||||
XcmRuntimeApisDryRunXcmDryRunEffects: {
|
XcmRuntimeApisDryRunXcmDryRunEffects: {
|
||||||
executionResult: 'StagingXcmV5TraitsOutcome',
|
executionResult: 'StagingXcmV5TraitsOutcome',
|
||||||
@@ -3677,13 +3760,13 @@ export default {
|
|||||||
forwardedXcms: 'Vec<(XcmVersionedLocation,Vec<XcmVersionedXcm>)>'
|
forwardedXcms: 'Vec<(XcmVersionedLocation,Vec<XcmVersionedXcm>)>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup985: xcm_runtime_apis::conversions::Error
|
* Lookup1000: xcm_runtime_apis::conversions::Error
|
||||||
**/
|
**/
|
||||||
XcmRuntimeApisConversionsError: {
|
XcmRuntimeApisConversionsError: {
|
||||||
_enum: ['Unsupported', 'VersionedConversionFailed']
|
_enum: ['Unsupported', 'VersionedConversionFailed']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup989: polkadot_runtime::RuntimeError
|
* Lookup1004: polkadot_runtime::RuntimeError
|
||||||
**/
|
**/
|
||||||
PolkadotRuntimeRuntimeError: {
|
PolkadotRuntimeRuntimeError: {
|
||||||
_enum: {
|
_enum: {
|
||||||
|
|||||||
@@ -7351,7 +7351,7 @@ export default {
|
|||||||
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
|
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: {
|
PalletElectionProviderMultiPhaseRoundSnapshot: {
|
||||||
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
|
||||||
@@ -9436,17 +9436,30 @@ export default {
|
|||||||
_enum: ['DoesntExist', 'KeyDecodingFailed']
|
_enum: ['DoesntExist', 'KeyDecodingFailed']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerConfig
|
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerType
|
||||||
**/
|
**/
|
||||||
PalletReviveEvmApiDebugRpcTypesTracerConfig: {
|
PalletReviveEvmApiDebugRpcTypesTracerType: {
|
||||||
_enum: {
|
_enum: {
|
||||||
CallTracer: {
|
CallTracer: 'Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>'
|
||||||
withLogs: 'bool'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 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: {
|
PalletReviveEvmApiDebugRpcTypesCallTrace: {
|
||||||
from: 'H160',
|
from: 'H160',
|
||||||
@@ -9463,7 +9476,7 @@ export default {
|
|||||||
callType: 'PalletReviveEvmApiDebugRpcTypesCallType'
|
callType: 'PalletReviveEvmApiDebugRpcTypesCallType'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1091: pallet_revive::evm::api::debug_rpc_types::CallLog
|
* Lookup1094: pallet_revive::evm::api::debug_rpc_types::CallLog
|
||||||
**/
|
**/
|
||||||
PalletReviveEvmApiDebugRpcTypesCallLog: {
|
PalletReviveEvmApiDebugRpcTypesCallLog: {
|
||||||
address: 'H160',
|
address: 'H160',
|
||||||
@@ -9472,13 +9485,13 @@ export default {
|
|||||||
position: 'u32'
|
position: 'u32'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1092: pallet_revive::evm::api::debug_rpc_types::CallType
|
* Lookup1095: pallet_revive::evm::api::debug_rpc_types::CallType
|
||||||
**/
|
**/
|
||||||
PalletReviveEvmApiDebugRpcTypesCallType: {
|
PalletReviveEvmApiDebugRpcTypesCallType: {
|
||||||
_enum: ['Call', 'StaticCall', 'DelegateCall']
|
_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: {
|
PalletTransactionPaymentRuntimeDispatchInfo: {
|
||||||
weight: 'SpWeightsWeightV2Weight',
|
weight: 'SpWeightsWeightV2Weight',
|
||||||
@@ -9486,14 +9499,14 @@ export default {
|
|||||||
partialFee: 'u128'
|
partialFee: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1096: pallet_transaction_payment::types::FeeDetails<Balance>
|
* Lookup1099: pallet_transaction_payment::types::FeeDetails<Balance>
|
||||||
**/
|
**/
|
||||||
PalletTransactionPaymentFeeDetails: {
|
PalletTransactionPaymentFeeDetails: {
|
||||||
inclusionFee: 'Option<PalletTransactionPaymentInclusionFee>',
|
inclusionFee: 'Option<PalletTransactionPaymentInclusionFee>',
|
||||||
tip: 'u128'
|
tip: 'u128'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1098: pallet_transaction_payment::types::InclusionFee<Balance>
|
* Lookup1101: pallet_transaction_payment::types::InclusionFee<Balance>
|
||||||
**/
|
**/
|
||||||
PalletTransactionPaymentInclusionFee: {
|
PalletTransactionPaymentInclusionFee: {
|
||||||
baseFee: 'u128',
|
baseFee: 'u128',
|
||||||
@@ -9501,14 +9514,14 @@ export default {
|
|||||||
adjustedWeightFee: 'u128'
|
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: {
|
SpConsensusBeefyValidatorSet: {
|
||||||
validators: 'Vec<SpConsensusBeefyEcdsaCryptoPublic>',
|
validators: 'Vec<SpConsensusBeefyEcdsaCryptoPublic>',
|
||||||
id: 'u64'
|
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: {
|
SpConsensusBeefyForkVotingProofOpaqueValue: {
|
||||||
vote: 'SpConsensusBeefyVoteMessage',
|
vote: 'SpConsensusBeefyVoteMessage',
|
||||||
@@ -9516,13 +9529,13 @@ export default {
|
|||||||
header: 'SpRuntimeHeader'
|
header: 'SpRuntimeHeader'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1105: sp_mmr_primitives::Error
|
* Lookup1108: sp_mmr_primitives::Error
|
||||||
**/
|
**/
|
||||||
SpMmrPrimitivesError: {
|
SpMmrPrimitivesError: {
|
||||||
_enum: ['InvalidNumericOp', 'Push', 'GetRoot', 'Commit', 'GenerateProof', 'Verify', 'LeafNotFound', 'PalletNotIncluded', 'InvalidLeafIndex', 'InvalidBestKnownBlock']
|
_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: {
|
SpMmrPrimitivesLeafProof: {
|
||||||
leafIndices: 'Vec<u64>',
|
leafIndices: 'Vec<u64>',
|
||||||
@@ -9530,20 +9543,20 @@ export default {
|
|||||||
items: 'Vec<H256>'
|
items: 'Vec<H256>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1113: sp_mixnet::types::SessionStatus
|
* Lookup1116: sp_mixnet::types::SessionStatus
|
||||||
**/
|
**/
|
||||||
SpMixnetSessionStatus: {
|
SpMixnetSessionStatus: {
|
||||||
currentIndex: 'u32',
|
currentIndex: 'u32',
|
||||||
phase: 'SpMixnetSessionPhase'
|
phase: 'SpMixnetSessionPhase'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1114: sp_mixnet::types::SessionPhase
|
* Lookup1117: sp_mixnet::types::SessionPhase
|
||||||
**/
|
**/
|
||||||
SpMixnetSessionPhase: {
|
SpMixnetSessionPhase: {
|
||||||
_enum: ['CoverToCurrent', 'RequestsToCurrent', 'CoverToPrev', 'DisconnectFromPrev']
|
_enum: ['CoverToCurrent', 'RequestsToCurrent', 'CoverToPrev', 'DisconnectFromPrev']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1117: sp_mixnet::types::Mixnode
|
* Lookup1120: sp_mixnet::types::Mixnode
|
||||||
**/
|
**/
|
||||||
SpMixnetMixnode: {
|
SpMixnetMixnode: {
|
||||||
kxPublic: '[u8;32]',
|
kxPublic: '[u8;32]',
|
||||||
@@ -9551,7 +9564,7 @@ export default {
|
|||||||
externalAddresses: 'Vec<Bytes>'
|
externalAddresses: 'Vec<Bytes>'
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1118: sp_mixnet::types::MixnodesErr
|
* Lookup1121: sp_mixnet::types::MixnodesErr
|
||||||
**/
|
**/
|
||||||
SpMixnetMixnodesErr: {
|
SpMixnetMixnodesErr: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -9562,7 +9575,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup1124: kitchensink_runtime::RuntimeError
|
* Lookup1127: kitchensink_runtime::RuntimeError
|
||||||
**/
|
**/
|
||||||
KitchensinkRuntimeRuntimeError: {
|
KitchensinkRuntimeRuntimeError: {
|
||||||
_enum: {
|
_enum: {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import type { Bytes, Enum, Null, Option, Struct, U8aFixed, Vec, u32 } from '@pol
|
|||||||
import type { Call, MultiAddress } from '@polkadot/types/interfaces/runtime';
|
import type { Call, MultiAddress } from '@polkadot/types/interfaces/runtime';
|
||||||
|
|
||||||
declare module '@polkadot/types/lookup' {
|
declare module '@polkadot/types/lookup' {
|
||||||
/** @name AssetHubKusamaRuntimeProxyType (146) */
|
/** @name AssetHubKusamaRuntimeProxyType (148) */
|
||||||
interface AssetHubKusamaRuntimeProxyType extends Enum {
|
interface AssetHubKusamaRuntimeProxyType extends Enum {
|
||||||
readonly isAny: boolean;
|
readonly isAny: boolean;
|
||||||
readonly isNonTransfer: boolean;
|
readonly isNonTransfer: boolean;
|
||||||
@@ -21,24 +21,28 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
|
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubKusamaRuntimeRuntimeHoldReason (248) */
|
/** @name AssetHubKusamaRuntimeRuntimeHoldReason (253) */
|
||||||
interface AssetHubKusamaRuntimeRuntimeHoldReason extends Enum {
|
interface AssetHubKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||||
|
readonly isPolkadotXcm: boolean;
|
||||||
|
readonly asPolkadotXcm: PalletXcmHoldReason;
|
||||||
readonly isNftFractionalization: boolean;
|
readonly isNftFractionalization: boolean;
|
||||||
readonly asNftFractionalization: PalletNftFractionalizationHoldReason;
|
readonly asNftFractionalization: PalletNftFractionalizationHoldReason;
|
||||||
|
readonly isRevive: boolean;
|
||||||
|
readonly asRevive: PalletReviveHoldReason;
|
||||||
readonly isStateTrieMigration: boolean;
|
readonly isStateTrieMigration: boolean;
|
||||||
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
||||||
readonly type: 'NftFractionalization' | 'StateTrieMigration';
|
readonly type: 'PolkadotXcm' | 'NftFractionalization' | 'Revive' | 'StateTrieMigration';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubKusamaRuntimeSessionKeys (275) */
|
/** @name AssetHubKusamaRuntimeSessionKeys (283) */
|
||||||
interface AssetHubKusamaRuntimeSessionKeys extends Struct {
|
interface AssetHubKusamaRuntimeSessionKeys extends Struct {
|
||||||
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
|
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusAuraSr25519AppSr25519Public (276) */
|
/** @name SpConsensusAuraSr25519AppSr25519Public (284) */
|
||||||
interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {}
|
interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PalletRemoteProxyCall (380) */
|
/** @name PalletRemoteProxyCall (398) */
|
||||||
interface PalletRemoteProxyCall extends Enum {
|
interface PalletRemoteProxyCall extends Enum {
|
||||||
readonly isRemoteProxy: boolean;
|
readonly isRemoteProxy: boolean;
|
||||||
readonly asRemoteProxy: {
|
readonly asRemoteProxy: {
|
||||||
@@ -60,7 +64,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'RemoteProxy' | 'RegisterRemoteProxyProof' | 'RemoteProxyWithRegisteredProof';
|
readonly type: 'RemoteProxy' | 'RegisterRemoteProxyProof' | 'RemoteProxyWithRegisteredProof';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRemoteProxyRemoteProxyProof (381) */
|
/** @name PalletRemoteProxyRemoteProxyProof (399) */
|
||||||
interface PalletRemoteProxyRemoteProxyProof extends Enum {
|
interface PalletRemoteProxyRemoteProxyProof extends Enum {
|
||||||
readonly isRelayChain: boolean;
|
readonly isRelayChain: boolean;
|
||||||
readonly asRelayChain: {
|
readonly asRelayChain: {
|
||||||
@@ -70,7 +74,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'RelayChain';
|
readonly type: 'RelayChain';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubKusamaRuntimeOriginCaller (419) */
|
/** @name AssetHubKusamaRuntimeOriginCaller (438) */
|
||||||
interface AssetHubKusamaRuntimeOriginCaller extends Enum {
|
interface AssetHubKusamaRuntimeOriginCaller extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSupportDispatchRawOrigin;
|
readonly asSystem: FrameSupportDispatchRawOrigin;
|
||||||
@@ -81,7 +85,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
|
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletRemoteProxyError (440) */
|
/** @name PalletRemoteProxyError (459) */
|
||||||
interface PalletRemoteProxyError extends Enum {
|
interface PalletRemoteProxyError extends Enum {
|
||||||
readonly isCouldNotConvertLocalToRemoteAccountId: boolean;
|
readonly isCouldNotConvertLocalToRemoteAccountId: boolean;
|
||||||
readonly isUnknownProofAnchorBlock: boolean;
|
readonly isUnknownProofAnchorBlock: boolean;
|
||||||
@@ -93,10 +97,10 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'CouldNotConvertLocalToRemoteAccountId' | 'UnknownProofAnchorBlock' | 'InvalidProof' | 'ProxyDefinitionDecodingFailed' | 'Unannounced' | 'DidNotFindMatchingProxyDefinition' | 'ProxyProofNotRegistered';
|
readonly type: 'CouldNotConvertLocalToRemoteAccountId' | 'UnknownProofAnchorBlock' | 'InvalidProof' | 'ProxyDefinitionDecodingFailed' | 'Unannounced' | 'DidNotFindMatchingProxyDefinition' | 'ProxyProofNotRegistered';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubKusamaRuntimeRuntime (508) */
|
/** @name AssetHubKusamaRuntimeRuntime (532) */
|
||||||
type AssetHubKusamaRuntimeRuntime = Null;
|
type AssetHubKusamaRuntimeRuntime = Null;
|
||||||
|
|
||||||
/** @name AssetHubKusamaRuntimeRuntimeError (567) */
|
/** @name AssetHubKusamaRuntimeRuntimeError (634) */
|
||||||
interface AssetHubKusamaRuntimeRuntimeError extends Enum {
|
interface AssetHubKusamaRuntimeRuntimeError extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSystemError;
|
readonly asSystem: FrameSystemError;
|
||||||
@@ -138,9 +142,11 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asPoolAssets: PalletAssetsError;
|
readonly asPoolAssets: PalletAssetsError;
|
||||||
readonly isAssetConversion: boolean;
|
readonly isAssetConversion: boolean;
|
||||||
readonly asAssetConversion: PalletAssetConversionError;
|
readonly asAssetConversion: PalletAssetConversionError;
|
||||||
|
readonly isRevive: boolean;
|
||||||
|
readonly asRevive: PalletReviveError;
|
||||||
readonly isStateTrieMigration: boolean;
|
readonly isStateTrieMigration: boolean;
|
||||||
readonly asStateTrieMigration: PalletStateTrieMigrationError;
|
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 type: 'System' | 'ParachainSystem' | 'Balances' | 'Vesting' | 'CollatorSelection' | 'Session' | 'XcmpQueue' | 'PolkadotXcm' | 'MessageQueue' | 'Utility' | 'Multisig' | 'Proxy' | 'RemoteProxyRelayChain' | 'Assets' | 'Uniques' | 'Nfts' | 'ForeignAssets' | 'NftFractionalization' | 'PoolAssets' | 'AssetConversion' | 'Revive' | 'StateTrieMigration';
|
||||||
}
|
}
|
||||||
|
|
||||||
} // declare module
|
} // declare module
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'XcmpMessageSent';
|
readonly type: 'XcmpMessageSent';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletXcmEvent (133) */
|
/** @name CumulusPalletXcmEvent (135) */
|
||||||
interface CumulusPalletXcmEvent extends Enum {
|
interface CumulusPalletXcmEvent extends Enum {
|
||||||
readonly isInvalidFormat: boolean;
|
readonly isInvalidFormat: boolean;
|
||||||
readonly asInvalidFormat: U8aFixed;
|
readonly asInvalidFormat: U8aFixed;
|
||||||
@@ -103,7 +103,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
|
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmBridgeHubRouterEvent (134) */
|
/** @name PalletXcmBridgeHubRouterEvent (136) */
|
||||||
interface PalletXcmBridgeHubRouterEvent extends Enum {
|
interface PalletXcmBridgeHubRouterEvent extends Enum {
|
||||||
readonly isDeliveryFeeFactorDecreased: boolean;
|
readonly isDeliveryFeeFactorDecreased: boolean;
|
||||||
readonly asDeliveryFeeFactorDecreased: {
|
readonly asDeliveryFeeFactorDecreased: {
|
||||||
@@ -116,7 +116,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'DeliveryFeeFactorDecreased' | 'DeliveryFeeFactorIncreased';
|
readonly type: 'DeliveryFeeFactorDecreased' | 'DeliveryFeeFactorIncreased';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPrimitivesCoreAggregateMessageOrigin (137) */
|
/** @name CumulusPrimitivesCoreAggregateMessageOrigin (139) */
|
||||||
interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum {
|
interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum {
|
||||||
readonly isHere: boolean;
|
readonly isHere: boolean;
|
||||||
readonly isParent: boolean;
|
readonly isParent: boolean;
|
||||||
@@ -125,7 +125,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Here' | 'Parent' | 'Sibling';
|
readonly type: 'Here' | 'Parent' | 'Sibling';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubPolkadotRuntimeProxyType (146) */
|
/** @name AssetHubPolkadotRuntimeProxyType (148) */
|
||||||
interface AssetHubPolkadotRuntimeProxyType extends Enum {
|
interface AssetHubPolkadotRuntimeProxyType extends Enum {
|
||||||
readonly isAny: boolean;
|
readonly isAny: boolean;
|
||||||
readonly isNonTransfer: boolean;
|
readonly isNonTransfer: boolean;
|
||||||
@@ -137,39 +137,39 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
|
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (197) */
|
/** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (200) */
|
||||||
interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct {
|
interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct {
|
||||||
readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
||||||
readonly paraHeadHash: Option<H256>;
|
readonly paraHeadHash: Option<H256>;
|
||||||
readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV8UpgradeGoAhead>;
|
readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV8UpgradeGoAhead>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (198) */
|
/** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (201) */
|
||||||
interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct {
|
interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct {
|
||||||
readonly umpMsgCount: u32;
|
readonly umpMsgCount: u32;
|
||||||
readonly umpTotalBytes: u32;
|
readonly umpTotalBytes: u32;
|
||||||
readonly hrmpOutgoing: BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>;
|
readonly hrmpOutgoing: BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (200) */
|
/** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (203) */
|
||||||
interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct {
|
interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct {
|
||||||
readonly msgCount: u32;
|
readonly msgCount: u32;
|
||||||
readonly totalBytes: u32;
|
readonly totalBytes: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (206) */
|
/** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (209) */
|
||||||
interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct {
|
interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct {
|
||||||
readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
||||||
readonly hrmpWatermark: Option<u32>;
|
readonly hrmpWatermark: Option<u32>;
|
||||||
readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV8UpgradeGoAhead>;
|
readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV8UpgradeGoAhead>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpTrieStorageProof (211) */
|
/** @name SpTrieStorageProof (214) */
|
||||||
interface SpTrieStorageProof extends Struct {
|
interface SpTrieStorageProof extends Struct {
|
||||||
readonly trieNodes: BTreeSet<Bytes>;
|
readonly trieNodes: BTreeSet<Bytes>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (213) */
|
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (216) */
|
||||||
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
|
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
|
||||||
readonly dmqMqcHead: H256;
|
readonly dmqMqcHead: H256;
|
||||||
readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
||||||
@@ -177,13 +177,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV8AbridgedHrmpChannel]>>;
|
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV8AbridgedHrmpChannel]>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (214) */
|
/** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (217) */
|
||||||
interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct {
|
interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct {
|
||||||
readonly remainingCount: u32;
|
readonly remainingCount: u32;
|
||||||
readonly remainingSize: u32;
|
readonly remainingSize: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8AbridgedHrmpChannel (217) */
|
/** @name PolkadotPrimitivesV8AbridgedHrmpChannel (220) */
|
||||||
interface PolkadotPrimitivesV8AbridgedHrmpChannel extends Struct {
|
interface PolkadotPrimitivesV8AbridgedHrmpChannel extends Struct {
|
||||||
readonly maxCapacity: u32;
|
readonly maxCapacity: u32;
|
||||||
readonly maxTotalSize: u32;
|
readonly maxTotalSize: u32;
|
||||||
@@ -193,7 +193,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly mqcHead: Option<H256>;
|
readonly mqcHead: Option<H256>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8AbridgedHostConfiguration (218) */
|
/** @name PolkadotPrimitivesV8AbridgedHostConfiguration (221) */
|
||||||
interface PolkadotPrimitivesV8AbridgedHostConfiguration extends Struct {
|
interface PolkadotPrimitivesV8AbridgedHostConfiguration extends Struct {
|
||||||
readonly maxCodeSize: u32;
|
readonly maxCodeSize: u32;
|
||||||
readonly maxHeadDataSize: u32;
|
readonly maxHeadDataSize: u32;
|
||||||
@@ -207,7 +207,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
|
readonly asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletParachainSystemCall (226) */
|
/** @name CumulusPalletParachainSystemCall (229) */
|
||||||
interface CumulusPalletParachainSystemCall extends Enum {
|
interface CumulusPalletParachainSystemCall extends Enum {
|
||||||
readonly isSetValidationData: boolean;
|
readonly isSetValidationData: boolean;
|
||||||
readonly asSetValidationData: {
|
readonly asSetValidationData: {
|
||||||
@@ -220,7 +220,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage';
|
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPrimitivesParachainInherentParachainInherentData (227) */
|
/** @name CumulusPrimitivesParachainInherentParachainInherentData (230) */
|
||||||
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
|
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
|
||||||
readonly validationData: PolkadotPrimitivesV8PersistedValidationData;
|
readonly validationData: PolkadotPrimitivesV8PersistedValidationData;
|
||||||
readonly relayChainState: SpTrieStorageProof;
|
readonly relayChainState: SpTrieStorageProof;
|
||||||
@@ -228,7 +228,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
|
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletParachainSystemError (235) */
|
/** @name CumulusPalletParachainSystemError (238) */
|
||||||
interface CumulusPalletParachainSystemError extends Enum {
|
interface CumulusPalletParachainSystemError extends Enum {
|
||||||
readonly isOverlappingUpgrades: boolean;
|
readonly isOverlappingUpgrades: boolean;
|
||||||
readonly isProhibitedByPolkadot: boolean;
|
readonly isProhibitedByPolkadot: boolean;
|
||||||
@@ -236,28 +236,28 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isValidationDataNotAvailable: boolean;
|
readonly isValidationDataNotAvailable: boolean;
|
||||||
readonly isHostConfigurationNotAvailable: boolean;
|
readonly isHostConfigurationNotAvailable: boolean;
|
||||||
readonly isNotScheduled: boolean;
|
readonly isNotScheduled: boolean;
|
||||||
readonly isNothingAuthorized: boolean;
|
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled';
|
||||||
readonly isUnauthorized: boolean;
|
|
||||||
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingParachainInfoCall (237) */
|
/** @name StagingParachainInfoCall (240) */
|
||||||
type StagingParachainInfoCall = Null;
|
type StagingParachainInfoCall = Null;
|
||||||
|
|
||||||
/** @name AssetHubPolkadotRuntimeRuntimeHoldReason (247) */
|
/** @name AssetHubPolkadotRuntimeRuntimeHoldReason (250) */
|
||||||
interface AssetHubPolkadotRuntimeRuntimeHoldReason extends Enum {
|
interface AssetHubPolkadotRuntimeRuntimeHoldReason extends Enum {
|
||||||
|
readonly isPolkadotXcm: boolean;
|
||||||
|
readonly asPolkadotXcm: PalletXcmHoldReason;
|
||||||
readonly isStateTrieMigration: boolean;
|
readonly isStateTrieMigration: boolean;
|
||||||
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
||||||
readonly type: 'StateTrieMigration';
|
readonly type: 'PolkadotXcm' | 'StateTrieMigration';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletCollatorSelectionCandidateInfo (267) */
|
/** @name PalletCollatorSelectionCandidateInfo (271) */
|
||||||
interface PalletCollatorSelectionCandidateInfo extends Struct {
|
interface PalletCollatorSelectionCandidateInfo extends Struct {
|
||||||
readonly who: AccountId32;
|
readonly who: AccountId32;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletCollatorSelectionCall (269) */
|
/** @name PalletCollatorSelectionCall (273) */
|
||||||
interface PalletCollatorSelectionCall extends Enum {
|
interface PalletCollatorSelectionCall extends Enum {
|
||||||
readonly isSetInvulnerables: boolean;
|
readonly isSetInvulnerables: boolean;
|
||||||
readonly asSetInvulnerables: {
|
readonly asSetInvulnerables: {
|
||||||
@@ -293,7 +293,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'SetInvulnerables' | 'SetDesiredCandidates' | 'SetCandidacyBond' | 'RegisterAsCandidate' | 'LeaveIntent' | 'AddInvulnerable' | 'RemoveInvulnerable' | 'UpdateBond' | 'TakeCandidateSlot';
|
readonly type: 'SetInvulnerables' | 'SetDesiredCandidates' | 'SetCandidacyBond' | 'RegisterAsCandidate' | 'LeaveIntent' | 'AddInvulnerable' | 'RemoveInvulnerable' | 'UpdateBond' | 'TakeCandidateSlot';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletCollatorSelectionError (270) */
|
/** @name PalletCollatorSelectionError (275) */
|
||||||
interface PalletCollatorSelectionError extends Enum {
|
interface PalletCollatorSelectionError extends Enum {
|
||||||
readonly isTooManyCandidates: boolean;
|
readonly isTooManyCandidates: boolean;
|
||||||
readonly isTooFewEligibleCollators: boolean;
|
readonly isTooFewEligibleCollators: boolean;
|
||||||
@@ -315,15 +315,15 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'TooManyCandidates' | 'TooFewEligibleCollators' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered' | 'InsertToCandidateListFailed' | 'RemoveFromCandidateListFailed' | 'DepositTooLow' | 'UpdateCandidateListFailed' | 'InsufficientBond' | 'TargetIsNotCandidate' | 'IdenticalDeposit' | 'InvalidUnreserve';
|
readonly type: 'TooManyCandidates' | 'TooFewEligibleCollators' | 'AlreadyCandidate' | 'NotCandidate' | 'TooManyInvulnerables' | 'AlreadyInvulnerable' | 'NotInvulnerable' | 'NoAssociatedValidatorId' | 'ValidatorNotRegistered' | 'InsertToCandidateListFailed' | 'RemoveFromCandidateListFailed' | 'DepositTooLow' | 'UpdateCandidateListFailed' | 'InsufficientBond' | 'TargetIsNotCandidate' | 'IdenticalDeposit' | 'InvalidUnreserve';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubPolkadotRuntimeSessionKeys (273) */
|
/** @name AssetHubPolkadotRuntimeSessionKeys (278) */
|
||||||
interface AssetHubPolkadotRuntimeSessionKeys extends Struct {
|
interface AssetHubPolkadotRuntimeSessionKeys extends Struct {
|
||||||
readonly aura: SpConsensusAuraEd25519AppEd25519Public;
|
readonly aura: SpConsensusAuraEd25519AppEd25519Public;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusAuraEd25519AppEd25519Public (274) */
|
/** @name SpConsensusAuraEd25519AppEd25519Public (279) */
|
||||||
interface SpConsensusAuraEd25519AppEd25519Public extends U8aFixed {}
|
interface SpConsensusAuraEd25519AppEd25519Public extends U8aFixed {}
|
||||||
|
|
||||||
/** @name CumulusPalletXcmpQueueOutboundChannelDetails (287) */
|
/** @name CumulusPalletXcmpQueueOutboundChannelDetails (296) */
|
||||||
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
|
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
|
||||||
readonly recipient: u32;
|
readonly recipient: u32;
|
||||||
readonly state: CumulusPalletXcmpQueueOutboundState;
|
readonly state: CumulusPalletXcmpQueueOutboundState;
|
||||||
@@ -332,21 +332,21 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly lastIndex: u16;
|
readonly lastIndex: u16;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletXcmpQueueOutboundState (288) */
|
/** @name CumulusPalletXcmpQueueOutboundState (297) */
|
||||||
interface CumulusPalletXcmpQueueOutboundState extends Enum {
|
interface CumulusPalletXcmpQueueOutboundState extends Enum {
|
||||||
readonly isOk: boolean;
|
readonly isOk: boolean;
|
||||||
readonly isSuspended: boolean;
|
readonly isSuspended: boolean;
|
||||||
readonly type: 'Ok' | 'Suspended';
|
readonly type: 'Ok' | 'Suspended';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletXcmpQueueQueueConfigData (292) */
|
/** @name CumulusPalletXcmpQueueQueueConfigData (301) */
|
||||||
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
|
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
|
||||||
readonly suspendThreshold: u32;
|
readonly suspendThreshold: u32;
|
||||||
readonly dropThreshold: u32;
|
readonly dropThreshold: u32;
|
||||||
readonly resumeThreshold: u32;
|
readonly resumeThreshold: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletXcmpQueueCall (293) */
|
/** @name CumulusPalletXcmpQueueCall (302) */
|
||||||
interface CumulusPalletXcmpQueueCall extends Enum {
|
interface CumulusPalletXcmpQueueCall extends Enum {
|
||||||
readonly isSuspendXcmExecution: boolean;
|
readonly isSuspendXcmExecution: boolean;
|
||||||
readonly isResumeXcmExecution: boolean;
|
readonly isResumeXcmExecution: boolean;
|
||||||
@@ -365,7 +365,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold';
|
readonly type: 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletXcmpQueueError (294) */
|
/** @name CumulusPalletXcmpQueueError (303) */
|
||||||
interface CumulusPalletXcmpQueueError extends Enum {
|
interface CumulusPalletXcmpQueueError extends Enum {
|
||||||
readonly isBadQueueConfig: boolean;
|
readonly isBadQueueConfig: boolean;
|
||||||
readonly isAlreadySuspended: boolean;
|
readonly isAlreadySuspended: boolean;
|
||||||
@@ -375,16 +375,16 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed' | 'TooManyActiveOutboundChannels' | 'TooBig';
|
readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed' | 'TooManyActiveOutboundChannels' | 'TooBig';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletXcmCall (360) */
|
/** @name CumulusPalletXcmCall (375) */
|
||||||
type CumulusPalletXcmCall = Null;
|
type CumulusPalletXcmCall = Null;
|
||||||
|
|
||||||
/** @name BpXcmBridgeHubRouterBridgeState (361) */
|
/** @name BpXcmBridgeHubRouterBridgeState (376) */
|
||||||
interface BpXcmBridgeHubRouterBridgeState extends Struct {
|
interface BpXcmBridgeHubRouterBridgeState extends Struct {
|
||||||
readonly deliveryFeeFactor: u128;
|
readonly deliveryFeeFactor: u128;
|
||||||
readonly isCongested: bool;
|
readonly isCongested: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmBridgeHubRouterCall (362) */
|
/** @name PalletXcmBridgeHubRouterCall (377) */
|
||||||
interface PalletXcmBridgeHubRouterCall extends Enum {
|
interface PalletXcmBridgeHubRouterCall extends Enum {
|
||||||
readonly isReportBridgeStatus: boolean;
|
readonly isReportBridgeStatus: boolean;
|
||||||
readonly asReportBridgeStatus: {
|
readonly asReportBridgeStatus: {
|
||||||
@@ -394,7 +394,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'ReportBridgeStatus';
|
readonly type: 'ReportBridgeStatus';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubPolkadotRuntimeOriginCaller (414) */
|
/** @name AssetHubPolkadotRuntimeOriginCaller (429) */
|
||||||
interface AssetHubPolkadotRuntimeOriginCaller extends Enum {
|
interface AssetHubPolkadotRuntimeOriginCaller extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSupportDispatchRawOrigin;
|
readonly asSystem: FrameSupportDispatchRawOrigin;
|
||||||
@@ -405,7 +405,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
|
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPalletXcmOrigin (417) */
|
/** @name CumulusPalletXcmOrigin (432) */
|
||||||
interface CumulusPalletXcmOrigin extends Enum {
|
interface CumulusPalletXcmOrigin extends Enum {
|
||||||
readonly isRelay: boolean;
|
readonly isRelay: boolean;
|
||||||
readonly isSiblingParachain: boolean;
|
readonly isSiblingParachain: boolean;
|
||||||
@@ -413,17 +413,17 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Relay' | 'SiblingParachain';
|
readonly type: 'Relay' | 'SiblingParachain';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubPolkadotRuntimeRuntime (497) */
|
/** @name AssetHubPolkadotRuntimeRuntime (511) */
|
||||||
type AssetHubPolkadotRuntimeRuntime = Null;
|
type AssetHubPolkadotRuntimeRuntime = Null;
|
||||||
|
|
||||||
/** @name AssetsCommonRuntimeApiFungiblesAccessError (547) */
|
/** @name AssetsCommonRuntimeApiFungiblesAccessError (561) */
|
||||||
interface AssetsCommonRuntimeApiFungiblesAccessError extends Enum {
|
interface AssetsCommonRuntimeApiFungiblesAccessError extends Enum {
|
||||||
readonly isAssetIdConversionFailed: boolean;
|
readonly isAssetIdConversionFailed: boolean;
|
||||||
readonly isAmountToBalanceConversionFailed: boolean;
|
readonly isAmountToBalanceConversionFailed: boolean;
|
||||||
readonly type: 'AssetIdConversionFailed' | 'AmountToBalanceConversionFailed';
|
readonly type: 'AssetIdConversionFailed' | 'AmountToBalanceConversionFailed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name CumulusPrimitivesCoreCollationInfo (548) */
|
/** @name CumulusPrimitivesCoreCollationInfo (562) */
|
||||||
interface CumulusPrimitivesCoreCollationInfo extends Struct {
|
interface CumulusPrimitivesCoreCollationInfo extends Struct {
|
||||||
readonly upwardMessages: Vec<Bytes>;
|
readonly upwardMessages: Vec<Bytes>;
|
||||||
readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>;
|
readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>;
|
||||||
@@ -433,7 +433,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly headData: Bytes;
|
readonly headData: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name AssetHubPolkadotRuntimeRuntimeError (556) */
|
/** @name AssetHubPolkadotRuntimeRuntimeError (570) */
|
||||||
interface AssetHubPolkadotRuntimeRuntimeError extends Enum {
|
interface AssetHubPolkadotRuntimeRuntimeError extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSystemError;
|
readonly asSystem: FrameSystemError;
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly votes24: 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 StagingKusamaRuntimeRuntimeParametersKey (509) */
|
/** @name StagingKusamaRuntimeRuntimeParametersKey (510) */
|
||||||
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
|
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
|
||||||
readonly isInflation: boolean;
|
readonly isInflation: boolean;
|
||||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
|
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
|
||||||
@@ -175,7 +175,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Inflation' | 'Treasury';
|
readonly type: 'Inflation' | 'Treasury';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (510) */
|
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (511) */
|
||||||
interface StagingKusamaRuntimeDynamicParamsInflationParametersKey extends Enum {
|
interface StagingKusamaRuntimeDynamicParamsInflationParametersKey extends Enum {
|
||||||
readonly isMinInflation: boolean;
|
readonly isMinInflation: boolean;
|
||||||
readonly isMaxInflation: boolean;
|
readonly isMaxInflation: boolean;
|
||||||
@@ -185,14 +185,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (511) */
|
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (512) */
|
||||||
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersKey extends Enum {
|
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersKey extends Enum {
|
||||||
readonly isBurnPortion: boolean;
|
readonly isBurnPortion: boolean;
|
||||||
readonly isBurnDestination: boolean;
|
readonly isBurnDestination: boolean;
|
||||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeRuntimeParametersValue (513) */
|
/** @name StagingKusamaRuntimeRuntimeParametersValue (514) */
|
||||||
interface StagingKusamaRuntimeRuntimeParametersValue extends Enum {
|
interface StagingKusamaRuntimeRuntimeParametersValue extends Enum {
|
||||||
readonly isInflation: boolean;
|
readonly isInflation: boolean;
|
||||||
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
|
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
|
||||||
@@ -201,7 +201,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Inflation' | 'Treasury';
|
readonly type: 'Inflation' | 'Treasury';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (514) */
|
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (515) */
|
||||||
interface StagingKusamaRuntimeDynamicParamsInflationParametersValue extends Enum {
|
interface StagingKusamaRuntimeDynamicParamsInflationParametersValue extends Enum {
|
||||||
readonly isMinInflation: boolean;
|
readonly isMinInflation: boolean;
|
||||||
readonly asMinInflation: Perquintill;
|
readonly asMinInflation: Perquintill;
|
||||||
@@ -216,7 +216,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (515) */
|
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (516) */
|
||||||
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersValue extends Enum {
|
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersValue extends Enum {
|
||||||
readonly isBurnPortion: boolean;
|
readonly isBurnPortion: boolean;
|
||||||
readonly asBurnPortion: Permill;
|
readonly asBurnPortion: Permill;
|
||||||
@@ -225,34 +225,38 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'BurnPortion' | 'BurnDestination';
|
readonly type: 'BurnPortion' | 'BurnDestination';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeRuntimeHoldReason (604) */
|
/** @name StagingKusamaRuntimeRuntimeHoldReason (608) */
|
||||||
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
|
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
|
||||||
|
readonly isStaking: boolean;
|
||||||
|
readonly asStaking: PalletStakingPalletHoldReason;
|
||||||
readonly isPreimage: boolean;
|
readonly isPreimage: boolean;
|
||||||
readonly asPreimage: PalletPreimageHoldReason;
|
readonly asPreimage: PalletPreimageHoldReason;
|
||||||
readonly isNis: boolean;
|
readonly isNis: boolean;
|
||||||
readonly asNis: PalletNisHoldReason;
|
readonly asNis: PalletNisHoldReason;
|
||||||
readonly isDelegatedStaking: boolean;
|
readonly isDelegatedStaking: boolean;
|
||||||
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
|
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
|
||||||
readonly type: 'Preimage' | 'Nis' | 'DelegatedStaking';
|
readonly isXcmPallet: boolean;
|
||||||
|
readonly asXcmPallet: PalletXcmHoldReason;
|
||||||
|
readonly type: 'Staking' | 'Preimage' | 'Nis' | 'DelegatedStaking' | 'XcmPallet';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeRuntimeFreezeReason (611) */
|
/** @name StagingKusamaRuntimeRuntimeFreezeReason (617) */
|
||||||
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
|
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
|
||||||
readonly isNominationPools: boolean;
|
readonly isNominationPools: boolean;
|
||||||
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
||||||
readonly type: 'NominationPools';
|
readonly type: 'NominationPools';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name FrameSupportTokensMiscIdAmount (783) */
|
/** @name FrameSupportTokensMiscIdAmount (791) */
|
||||||
interface FrameSupportTokensMiscIdAmount extends Struct {
|
interface FrameSupportTokensMiscIdAmount extends Struct {
|
||||||
readonly id: Null;
|
readonly id: Null;
|
||||||
readonly amount: u128;
|
readonly amount: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeRuntime (970) */
|
/** @name StagingKusamaRuntimeRuntime (983) */
|
||||||
type StagingKusamaRuntimeRuntime = Null;
|
type StagingKusamaRuntimeRuntime = Null;
|
||||||
|
|
||||||
/** @name StagingKusamaRuntimeRuntimeError (1084) */
|
/** @name StagingKusamaRuntimeRuntimeError (1099) */
|
||||||
interface StagingKusamaRuntimeRuntimeError extends Enum {
|
interface StagingKusamaRuntimeRuntimeError extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSystemError;
|
readonly asSystem: FrameSystemError;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
// this is required to allow for ambient/previous definitions
|
// this is required to allow for ambient/previous definitions
|
||||||
import '@polkadot/types/lookup';
|
import '@polkadot/types/lookup';
|
||||||
|
|
||||||
import type { BTreeMap, BTreeSet, BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
import type { BTreeMap, BTreeSet, BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||||
import type { ITuple } from '@polkadot/types-codec/types';
|
import type { ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, H256, PerU16, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256, PerU16, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||||
@@ -1066,7 +1066,12 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly maxAmount: u128;
|
readonly maxAmount: u128;
|
||||||
readonly paraId: u32;
|
readonly paraId: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'PlaceOrderAllowDeath' | 'PlaceOrderKeepAlive';
|
readonly isPlaceOrderWithCredits: boolean;
|
||||||
|
readonly asPlaceOrderWithCredits: {
|
||||||
|
readonly maxAmount: u128;
|
||||||
|
readonly paraId: u32;
|
||||||
|
} & Struct;
|
||||||
|
readonly type: 'PlaceOrderAllowDeath' | 'PlaceOrderKeepAlive' | 'PlaceOrderWithCredits';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletCall (329) */
|
/** @name PolkadotRuntimeCommonParasRegistrarPalletCall (329) */
|
||||||
@@ -1233,6 +1238,11 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asRequestRevenueAt: {
|
readonly asRequestRevenueAt: {
|
||||||
readonly when: u32;
|
readonly when: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
|
readonly isCreditAccount: boolean;
|
||||||
|
readonly asCreditAccount: {
|
||||||
|
readonly who: AccountId32;
|
||||||
|
readonly amount: u128;
|
||||||
|
} & Struct;
|
||||||
readonly isAssignCore: boolean;
|
readonly isAssignCore: boolean;
|
||||||
readonly asAssignCore: {
|
readonly asAssignCore: {
|
||||||
readonly core: u16;
|
readonly core: u16;
|
||||||
@@ -1240,7 +1250,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
|
readonly assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
|
||||||
readonly endHint: Option<u32>;
|
readonly endHint: Option<u32>;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'RequestCoreCount' | 'RequestRevenueAt' | 'AssignCore';
|
readonly type: 'RequestCoreCount' | 'RequestRevenueAt' | 'CreditAccount' | 'AssignCore';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmCall (349) */
|
/** @name PalletXcmCall (349) */
|
||||||
@@ -1329,7 +1339,17 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly customXcmOnDest: XcmVersionedXcm;
|
readonly customXcmOnDest: XcmVersionedXcm;
|
||||||
readonly weightLimit: XcmV3WeightLimit;
|
readonly weightLimit: XcmV3WeightLimit;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension' | 'TransferAssets' | 'ClaimAssets' | 'TransferAssetsUsingTypeAndThen';
|
readonly isAddAuthorizedAlias: boolean;
|
||||||
|
readonly asAddAuthorizedAlias: {
|
||||||
|
readonly aliaser: XcmVersionedLocation;
|
||||||
|
readonly expires: Option<u64>;
|
||||||
|
} & Struct;
|
||||||
|
readonly isRemoveAuthorizedAlias: boolean;
|
||||||
|
readonly asRemoveAuthorizedAlias: {
|
||||||
|
readonly aliaser: XcmVersionedLocation;
|
||||||
|
} & Struct;
|
||||||
|
readonly isRemoveAllAuthorizedAliases: boolean;
|
||||||
|
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension' | 'TransferAssets' | 'ClaimAssets' | 'TransferAssetsUsingTypeAndThen' | 'AddAuthorizedAlias' | 'RemoveAuthorizedAlias' | 'RemoveAllAuthorizedAliases';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmVersionedXcm (350) */
|
/** @name XcmVersionedXcm (350) */
|
||||||
@@ -2404,21 +2424,21 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'V3' | 'V4' | 'V5';
|
readonly type: 'V3' | 'V4' | 'V5';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInclusionAggregateMessageOrigin (441) */
|
/** @name PolkadotRuntimeParachainsInclusionAggregateMessageOrigin (442) */
|
||||||
interface PolkadotRuntimeParachainsInclusionAggregateMessageOrigin extends Enum {
|
interface PolkadotRuntimeParachainsInclusionAggregateMessageOrigin extends Enum {
|
||||||
readonly isUmp: boolean;
|
readonly isUmp: boolean;
|
||||||
readonly asUmp: PolkadotRuntimeParachainsInclusionUmpQueueId;
|
readonly asUmp: PolkadotRuntimeParachainsInclusionUmpQueueId;
|
||||||
readonly type: 'Ump';
|
readonly type: 'Ump';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInclusionUmpQueueId (442) */
|
/** @name PolkadotRuntimeParachainsInclusionUmpQueueId (443) */
|
||||||
interface PolkadotRuntimeParachainsInclusionUmpQueueId extends Enum {
|
interface PolkadotRuntimeParachainsInclusionUmpQueueId extends Enum {
|
||||||
readonly isPara: boolean;
|
readonly isPara: boolean;
|
||||||
readonly asPara: u32;
|
readonly asPara: u32;
|
||||||
readonly type: 'Para';
|
readonly type: 'Para';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonClaimsPalletEvent (466) */
|
/** @name PolkadotRuntimeCommonClaimsPalletEvent (467) */
|
||||||
interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
|
interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
|
||||||
readonly isClaimed: boolean;
|
readonly isClaimed: boolean;
|
||||||
readonly asClaimed: {
|
readonly asClaimed: {
|
||||||
@@ -2429,7 +2449,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Claimed';
|
readonly type: 'Claimed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (481) */
|
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (484) */
|
||||||
interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum {
|
interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum {
|
||||||
readonly isCandidateBacked: boolean;
|
readonly isCandidateBacked: boolean;
|
||||||
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
|
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
|
||||||
@@ -2445,13 +2465,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut' | 'UpwardMessagesReceived';
|
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut' | 'UpwardMessagesReceived';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesVstagingCandidateReceiptV2 (482) */
|
/** @name PolkadotPrimitivesVstagingCandidateReceiptV2 (485) */
|
||||||
interface PolkadotPrimitivesVstagingCandidateReceiptV2 extends Struct {
|
interface PolkadotPrimitivesVstagingCandidateReceiptV2 extends Struct {
|
||||||
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
||||||
readonly commitmentsHash: H256;
|
readonly commitmentsHash: H256;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasPalletEvent (485) */
|
/** @name PolkadotRuntimeParachainsParasPalletEvent (488) */
|
||||||
interface PolkadotRuntimeParachainsParasPalletEvent extends Enum {
|
interface PolkadotRuntimeParachainsParasPalletEvent extends Enum {
|
||||||
readonly isCurrentCodeUpdated: boolean;
|
readonly isCurrentCodeUpdated: boolean;
|
||||||
readonly asCurrentCodeUpdated: u32;
|
readonly asCurrentCodeUpdated: u32;
|
||||||
@@ -2472,7 +2492,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'CurrentCodeUpdated' | 'CurrentHeadUpdated' | 'CodeUpgradeScheduled' | 'NewHeadNoted' | 'ActionQueued' | 'PvfCheckStarted' | 'PvfCheckAccepted' | 'PvfCheckRejected';
|
readonly type: 'CurrentCodeUpdated' | 'CurrentHeadUpdated' | 'CodeUpgradeScheduled' | 'NewHeadNoted' | 'ActionQueued' | 'PvfCheckStarted' | 'PvfCheckAccepted' | 'PvfCheckRejected';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (486) */
|
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (489) */
|
||||||
interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum {
|
interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum {
|
||||||
readonly isOpenChannelRequested: boolean;
|
readonly isOpenChannelRequested: boolean;
|
||||||
readonly asOpenChannelRequested: {
|
readonly asOpenChannelRequested: {
|
||||||
@@ -2518,7 +2538,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'OpenChannelRequested' | 'OpenChannelCanceled' | 'OpenChannelAccepted' | 'ChannelClosed' | 'HrmpChannelForceOpened' | 'HrmpSystemChannelOpened' | 'OpenChannelDepositsUpdated';
|
readonly type: 'OpenChannelRequested' | 'OpenChannelCanceled' | 'OpenChannelAccepted' | 'ChannelClosed' | 'HrmpChannelForceOpened' | 'HrmpSystemChannelOpened' | 'OpenChannelDepositsUpdated';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (487) */
|
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (490) */
|
||||||
interface PolkadotRuntimeParachainsDisputesPalletEvent extends Enum {
|
interface PolkadotRuntimeParachainsDisputesPalletEvent extends Enum {
|
||||||
readonly isDisputeInitiated: boolean;
|
readonly isDisputeInitiated: boolean;
|
||||||
readonly asDisputeInitiated: ITuple<[H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>;
|
readonly asDisputeInitiated: ITuple<[H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>;
|
||||||
@@ -2529,21 +2549,21 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'DisputeInitiated' | 'DisputeConcluded' | 'Revert';
|
readonly type: 'DisputeInitiated' | 'DisputeConcluded' | 'Revert';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (488) */
|
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (491) */
|
||||||
interface PolkadotRuntimeParachainsDisputesDisputeLocation extends Enum {
|
interface PolkadotRuntimeParachainsDisputesDisputeLocation extends Enum {
|
||||||
readonly isLocal: boolean;
|
readonly isLocal: boolean;
|
||||||
readonly isRemote: boolean;
|
readonly isRemote: boolean;
|
||||||
readonly type: 'Local' | 'Remote';
|
readonly type: 'Local' | 'Remote';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (489) */
|
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (492) */
|
||||||
interface PolkadotRuntimeParachainsDisputesDisputeResult extends Enum {
|
interface PolkadotRuntimeParachainsDisputesDisputeResult extends Enum {
|
||||||
readonly isValid: boolean;
|
readonly isValid: boolean;
|
||||||
readonly isInvalid: boolean;
|
readonly isInvalid: boolean;
|
||||||
readonly type: 'Valid' | 'Invalid';
|
readonly type: 'Valid' | 'Invalid';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsOnDemandPalletEvent (490) */
|
/** @name PolkadotRuntimeParachainsOnDemandPalletEvent (493) */
|
||||||
interface PolkadotRuntimeParachainsOnDemandPalletEvent extends Enum {
|
interface PolkadotRuntimeParachainsOnDemandPalletEvent extends Enum {
|
||||||
readonly isOnDemandOrderPlaced: boolean;
|
readonly isOnDemandOrderPlaced: boolean;
|
||||||
readonly asOnDemandOrderPlaced: {
|
readonly asOnDemandOrderPlaced: {
|
||||||
@@ -2555,10 +2575,15 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asSpotPriceSet: {
|
readonly asSpotPriceSet: {
|
||||||
readonly spotPrice: u128;
|
readonly spotPrice: u128;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'OnDemandOrderPlaced' | 'SpotPriceSet';
|
readonly isAccountCredited: boolean;
|
||||||
|
readonly asAccountCredited: {
|
||||||
|
readonly who: AccountId32;
|
||||||
|
readonly amount: u128;
|
||||||
|
} & Struct;
|
||||||
|
readonly type: 'OnDemandOrderPlaced' | 'SpotPriceSet' | 'AccountCredited';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (491) */
|
/** @name PolkadotRuntimeCommonParasRegistrarPalletEvent (494) */
|
||||||
interface PolkadotRuntimeCommonParasRegistrarPalletEvent extends Enum {
|
interface PolkadotRuntimeCommonParasRegistrarPalletEvent extends Enum {
|
||||||
readonly isRegistered: boolean;
|
readonly isRegistered: boolean;
|
||||||
readonly asRegistered: {
|
readonly asRegistered: {
|
||||||
@@ -2582,7 +2607,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Registered' | 'Deregistered' | 'Reserved' | 'Swapped';
|
readonly type: 'Registered' | 'Deregistered' | 'Reserved' | 'Swapped';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonSlotsPalletEvent (492) */
|
/** @name PolkadotRuntimeCommonSlotsPalletEvent (495) */
|
||||||
interface PolkadotRuntimeCommonSlotsPalletEvent extends Enum {
|
interface PolkadotRuntimeCommonSlotsPalletEvent extends Enum {
|
||||||
readonly isNewLeasePeriod: boolean;
|
readonly isNewLeasePeriod: boolean;
|
||||||
readonly asNewLeasePeriod: {
|
readonly asNewLeasePeriod: {
|
||||||
@@ -2600,7 +2625,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NewLeasePeriod' | 'Leased';
|
readonly type: 'NewLeasePeriod' | 'Leased';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (493) */
|
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (496) */
|
||||||
interface PolkadotRuntimeCommonAuctionsPalletEvent extends Enum {
|
interface PolkadotRuntimeCommonAuctionsPalletEvent extends Enum {
|
||||||
readonly isAuctionStarted: boolean;
|
readonly isAuctionStarted: boolean;
|
||||||
readonly asAuctionStarted: {
|
readonly asAuctionStarted: {
|
||||||
@@ -2645,7 +2670,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'AuctionStarted' | 'AuctionClosed' | 'Reserved' | 'Unreserved' | 'ReserveConfiscated' | 'BidAccepted' | 'WinningOffset';
|
readonly type: 'AuctionStarted' | 'AuctionClosed' | 'Reserved' | 'Unreserved' | 'ReserveConfiscated' | 'BidAccepted' | 'WinningOffset';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (494) */
|
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (497) */
|
||||||
interface PolkadotRuntimeCommonCrowdloanPalletEvent extends Enum {
|
interface PolkadotRuntimeCommonCrowdloanPalletEvent extends Enum {
|
||||||
readonly isCreated: boolean;
|
readonly isCreated: boolean;
|
||||||
readonly asCreated: {
|
readonly asCreated: {
|
||||||
@@ -2697,7 +2722,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Created' | 'Contributed' | 'Withdrew' | 'PartiallyRefunded' | 'AllRefunded' | 'Dissolved' | 'HandleBidResult' | 'Edited' | 'MemoUpdated' | 'AddedToNewRaise';
|
readonly type: 'Created' | 'Contributed' | 'Withdrew' | 'PartiallyRefunded' | 'AllRefunded' | 'Dissolved' | 'HandleBidResult' | 'Edited' | 'MemoUpdated' | 'AddedToNewRaise';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsCoretimePalletEvent (495) */
|
/** @name PolkadotRuntimeParachainsCoretimePalletEvent (498) */
|
||||||
interface PolkadotRuntimeParachainsCoretimePalletEvent extends Enum {
|
interface PolkadotRuntimeParachainsCoretimePalletEvent extends Enum {
|
||||||
readonly isRevenueInfoRequested: boolean;
|
readonly isRevenueInfoRequested: boolean;
|
||||||
readonly asRevenueInfoRequested: {
|
readonly asRevenueInfoRequested: {
|
||||||
@@ -2710,7 +2735,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'RevenueInfoRequested' | 'CoreAssigned';
|
readonly type: 'RevenueInfoRequested' | 'CoreAssigned';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmEvent (499) */
|
/** @name PalletXcmEvent (502) */
|
||||||
interface PalletXcmEvent extends Enum {
|
interface PalletXcmEvent extends Enum {
|
||||||
readonly isAttempted: boolean;
|
readonly isAttempted: boolean;
|
||||||
readonly asAttempted: {
|
readonly asAttempted: {
|
||||||
@@ -2723,6 +2748,19 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly message: StagingXcmV5Xcm;
|
readonly message: StagingXcmV5Xcm;
|
||||||
readonly messageId: U8aFixed;
|
readonly messageId: U8aFixed;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
|
readonly isSendFailed: boolean;
|
||||||
|
readonly asSendFailed: {
|
||||||
|
readonly origin: StagingXcmV5Location;
|
||||||
|
readonly destination: StagingXcmV5Location;
|
||||||
|
readonly error: XcmV3TraitsSendError;
|
||||||
|
readonly messageId: U8aFixed;
|
||||||
|
} & Struct;
|
||||||
|
readonly isProcessXcmError: boolean;
|
||||||
|
readonly asProcessXcmError: {
|
||||||
|
readonly origin: StagingXcmV5Location;
|
||||||
|
readonly error: XcmV5TraitsError;
|
||||||
|
readonly messageId: U8aFixed;
|
||||||
|
} & Struct;
|
||||||
readonly isUnexpectedResponse: boolean;
|
readonly isUnexpectedResponse: boolean;
|
||||||
readonly asUnexpectedResponse: {
|
readonly asUnexpectedResponse: {
|
||||||
readonly origin: StagingXcmV5Location;
|
readonly origin: StagingXcmV5Location;
|
||||||
@@ -2848,10 +2886,25 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly asVersionMigrationFinished: {
|
readonly asVersionMigrationFinished: {
|
||||||
readonly version: u32;
|
readonly version: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed' | 'VersionMigrationFinished';
|
readonly isAliasAuthorized: boolean;
|
||||||
|
readonly asAliasAuthorized: {
|
||||||
|
readonly aliaser: StagingXcmV5Location;
|
||||||
|
readonly target: StagingXcmV5Location;
|
||||||
|
readonly expiry: Option<u64>;
|
||||||
|
} & Struct;
|
||||||
|
readonly isAliasAuthorizationRemoved: boolean;
|
||||||
|
readonly asAliasAuthorizationRemoved: {
|
||||||
|
readonly aliaser: StagingXcmV5Location;
|
||||||
|
readonly target: StagingXcmV5Location;
|
||||||
|
} & Struct;
|
||||||
|
readonly isAliasesAuthorizationsRemoved: boolean;
|
||||||
|
readonly asAliasesAuthorizationsRemoved: {
|
||||||
|
readonly target: StagingXcmV5Location;
|
||||||
|
} & Struct;
|
||||||
|
readonly type: 'Attempted' | 'Sent' | 'SendFailed' | 'ProcessXcmError' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail' | 'InvalidQuerierVersion' | 'InvalidQuerier' | 'VersionNotifyStarted' | 'VersionNotifyRequested' | 'VersionNotifyUnrequested' | 'FeesPaid' | 'AssetsClaimed' | 'VersionMigrationFinished' | 'AliasAuthorized' | 'AliasAuthorizationRemoved' | 'AliasesAuthorizationsRemoved';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name StagingXcmV5TraitsOutcome (500) */
|
/** @name StagingXcmV5TraitsOutcome (503) */
|
||||||
interface StagingXcmV5TraitsOutcome extends Enum {
|
interface StagingXcmV5TraitsOutcome extends Enum {
|
||||||
readonly isComplete: boolean;
|
readonly isComplete: boolean;
|
||||||
readonly asComplete: {
|
readonly asComplete: {
|
||||||
@@ -2869,25 +2922,47 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Complete' | 'Incomplete' | 'Error';
|
readonly type: 'Complete' | 'Incomplete' | 'Error';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeRuntimeHoldReason (563) */
|
/** @name XcmV3TraitsSendError (504) */
|
||||||
|
interface XcmV3TraitsSendError extends Enum {
|
||||||
|
readonly isNotApplicable: boolean;
|
||||||
|
readonly isTransport: boolean;
|
||||||
|
readonly isUnroutable: boolean;
|
||||||
|
readonly isDestinationUnsupported: boolean;
|
||||||
|
readonly isExceedsMaxMessageSize: boolean;
|
||||||
|
readonly isMissingArgument: boolean;
|
||||||
|
readonly isFees: boolean;
|
||||||
|
readonly type: 'NotApplicable' | 'Transport' | 'Unroutable' | 'DestinationUnsupported' | 'ExceedsMaxMessageSize' | 'MissingArgument' | 'Fees';
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name PolkadotRuntimeRuntimeHoldReason (567) */
|
||||||
interface PolkadotRuntimeRuntimeHoldReason extends Enum {
|
interface PolkadotRuntimeRuntimeHoldReason extends Enum {
|
||||||
|
readonly isStaking: boolean;
|
||||||
|
readonly asStaking: PalletStakingPalletHoldReason;
|
||||||
readonly isPreimage: boolean;
|
readonly isPreimage: boolean;
|
||||||
readonly asPreimage: PalletPreimageHoldReason;
|
readonly asPreimage: PalletPreimageHoldReason;
|
||||||
readonly isDelegatedStaking: boolean;
|
readonly isDelegatedStaking: boolean;
|
||||||
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
|
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
|
||||||
readonly isStateTrieMigration: boolean;
|
readonly isStateTrieMigration: boolean;
|
||||||
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
|
||||||
readonly type: 'Preimage' | 'DelegatedStaking' | 'StateTrieMigration';
|
readonly isXcmPallet: boolean;
|
||||||
|
readonly asXcmPallet: PalletXcmHoldReason;
|
||||||
|
readonly type: 'Staking' | 'Preimage' | 'DelegatedStaking' | 'StateTrieMigration' | 'XcmPallet';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeRuntimeFreezeReason (570) */
|
/** @name PalletXcmHoldReason (572) */
|
||||||
|
interface PalletXcmHoldReason extends Enum {
|
||||||
|
readonly isAuthorizeAlias: boolean;
|
||||||
|
readonly type: 'AuthorizeAlias';
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name PolkadotRuntimeRuntimeFreezeReason (576) */
|
||||||
interface PolkadotRuntimeRuntimeFreezeReason extends Enum {
|
interface PolkadotRuntimeRuntimeFreezeReason extends Enum {
|
||||||
readonly isNominationPools: boolean;
|
readonly isNominationPools: boolean;
|
||||||
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
readonly asNominationPools: PalletNominationPoolsFreezeReason;
|
||||||
readonly type: 'NominationPools';
|
readonly type: 'NominationPools';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletReferendaReferendumInfo (632) */
|
/** @name PalletReferendaReferendumInfo (640) */
|
||||||
interface PalletReferendaReferendumInfo extends Enum {
|
interface PalletReferendaReferendumInfo extends Enum {
|
||||||
readonly isOngoing: boolean;
|
readonly isOngoing: boolean;
|
||||||
readonly asOngoing: PalletReferendaReferendumStatus;
|
readonly asOngoing: PalletReferendaReferendumStatus;
|
||||||
@@ -2904,7 +2979,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed';
|
readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletReferendaReferendumStatus (633) */
|
/** @name PalletReferendaReferendumStatus (641) */
|
||||||
interface PalletReferendaReferendumStatus extends Struct {
|
interface PalletReferendaReferendumStatus extends Struct {
|
||||||
readonly track: u16;
|
readonly track: u16;
|
||||||
readonly origin: PolkadotRuntimeOriginCaller;
|
readonly origin: PolkadotRuntimeOriginCaller;
|
||||||
@@ -2919,20 +2994,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>;
|
readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletReferendaTrackInfo (645) */
|
/** @name PolkadotRuntimeCommonClaimsPalletError (659) */
|
||||||
interface PalletReferendaTrackInfo extends Struct {
|
|
||||||
readonly name: Text;
|
|
||||||
readonly maxDeciding: u32;
|
|
||||||
readonly decisionDeposit: u128;
|
|
||||||
readonly preparePeriod: u32;
|
|
||||||
readonly decisionPeriod: u32;
|
|
||||||
readonly confirmPeriod: u32;
|
|
||||||
readonly minEnactmentPeriod: u32;
|
|
||||||
readonly minApproval: PalletReferendaCurve;
|
|
||||||
readonly minSupport: PalletReferendaCurve;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonClaimsPalletError (651) */
|
|
||||||
interface PolkadotRuntimeCommonClaimsPalletError extends Enum {
|
interface PolkadotRuntimeCommonClaimsPalletError extends Enum {
|
||||||
readonly isInvalidEthereumSignature: boolean;
|
readonly isInvalidEthereumSignature: boolean;
|
||||||
readonly isSignerHasNoClaim: boolean;
|
readonly isSignerHasNoClaim: boolean;
|
||||||
@@ -2943,7 +3005,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InvalidEthereumSignature' | 'SignerHasNoClaim' | 'SenderHasNoClaim' | 'PotUnderflow' | 'InvalidStatement' | 'VestedBalanceExists';
|
readonly type: 'InvalidEthereumSignature' | 'SignerHasNoClaim' | 'SenderHasNoClaim' | 'PotUnderflow' | 'InvalidStatement' | 'VestedBalanceExists';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (717) */
|
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (724) */
|
||||||
interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
|
interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
|
||||||
readonly maxCodeSize: u32;
|
readonly maxCodeSize: u32;
|
||||||
readonly maxHeadDataSize: u32;
|
readonly maxHeadDataSize: u32;
|
||||||
@@ -2982,26 +3044,26 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly schedulerParams: PolkadotPrimitivesV8SchedulerParams;
|
readonly schedulerParams: PolkadotPrimitivesV8SchedulerParams;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsConfigurationPalletError (720) */
|
/** @name PolkadotRuntimeParachainsConfigurationPalletError (727) */
|
||||||
interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum {
|
interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum {
|
||||||
readonly isInvalidNewValue: boolean;
|
readonly isInvalidNewValue: boolean;
|
||||||
readonly type: 'InvalidNewValue';
|
readonly type: 'InvalidNewValue';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker (723) */
|
/** @name PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker (730) */
|
||||||
interface PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker extends Struct {
|
interface PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker extends Struct {
|
||||||
readonly buffer: Vec<PolkadotRuntimeParachainsSharedRelayParentInfo>;
|
readonly buffer: Vec<PolkadotRuntimeParachainsSharedRelayParentInfo>;
|
||||||
readonly latestNumber: u32;
|
readonly latestNumber: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsSharedRelayParentInfo (725) */
|
/** @name PolkadotRuntimeParachainsSharedRelayParentInfo (732) */
|
||||||
interface PolkadotRuntimeParachainsSharedRelayParentInfo extends Struct {
|
interface PolkadotRuntimeParachainsSharedRelayParentInfo extends Struct {
|
||||||
readonly relayParent: H256;
|
readonly relayParent: H256;
|
||||||
readonly stateRoot: H256;
|
readonly stateRoot: H256;
|
||||||
readonly claimQueue: BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>;
|
readonly claimQueue: BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (735) */
|
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (742) */
|
||||||
interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
|
interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
|
||||||
readonly core: u32;
|
readonly core: u32;
|
||||||
readonly hash_: H256;
|
readonly hash_: H256;
|
||||||
@@ -3014,7 +3076,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly backingGroup: u32;
|
readonly backingGroup: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInclusionPalletError (736) */
|
/** @name PolkadotRuntimeParachainsInclusionPalletError (743) */
|
||||||
interface PolkadotRuntimeParachainsInclusionPalletError extends Enum {
|
interface PolkadotRuntimeParachainsInclusionPalletError extends Enum {
|
||||||
readonly isValidatorIndexOutOfBounds: boolean;
|
readonly isValidatorIndexOutOfBounds: boolean;
|
||||||
readonly isUnscheduledCandidate: boolean;
|
readonly isUnscheduledCandidate: boolean;
|
||||||
@@ -3036,14 +3098,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'ValidatorIndexOutOfBounds' | 'UnscheduledCandidate' | 'HeadDataTooLarge' | 'PrematureCodeUpgrade' | 'NewCodeTooLarge' | 'DisallowedRelayParent' | 'InvalidAssignment' | 'InvalidGroupIndex' | 'InsufficientBacking' | 'InvalidBacking' | 'ValidationDataHashMismatch' | 'IncorrectDownwardMessageHandling' | 'InvalidUpwardMessages' | 'HrmpWatermarkMishandling' | 'InvalidOutboundHrmp' | 'InvalidValidationCodeHash' | 'ParaHeadMismatch';
|
readonly type: 'ValidatorIndexOutOfBounds' | 'UnscheduledCandidate' | 'HeadDataTooLarge' | 'PrematureCodeUpgrade' | 'NewCodeTooLarge' | 'DisallowedRelayParent' | 'InvalidAssignment' | 'InvalidGroupIndex' | 'InsufficientBacking' | 'InvalidBacking' | 'ValidationDataHashMismatch' | 'IncorrectDownwardMessageHandling' | 'InvalidUpwardMessages' | 'HrmpWatermarkMishandling' | 'InvalidOutboundHrmp' | 'InvalidValidationCodeHash' | 'ParaHeadMismatch';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesVstagingScrapedOnChainVotes (737) */
|
/** @name PolkadotPrimitivesVstagingScrapedOnChainVotes (744) */
|
||||||
interface PolkadotPrimitivesVstagingScrapedOnChainVotes extends Struct {
|
interface PolkadotPrimitivesVstagingScrapedOnChainVotes extends Struct {
|
||||||
readonly session: u32;
|
readonly session: u32;
|
||||||
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Vec<ITuple<[u32, PolkadotPrimitivesV8ValidityAttestation]>>]>>;
|
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Vec<ITuple<[u32, PolkadotPrimitivesV8ValidityAttestation]>>]>>;
|
||||||
readonly disputes: Vec<PolkadotPrimitivesV8DisputeStatementSet>;
|
readonly disputes: Vec<PolkadotPrimitivesV8DisputeStatementSet>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasInherentPalletError (742) */
|
/** @name PolkadotRuntimeParachainsParasInherentPalletError (749) */
|
||||||
interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum {
|
interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum {
|
||||||
readonly isTooManyInclusionInherents: boolean;
|
readonly isTooManyInclusionInherents: boolean;
|
||||||
readonly isInvalidParentHeader: boolean;
|
readonly isInvalidParentHeader: boolean;
|
||||||
@@ -3052,7 +3114,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'TooManyInclusionInherents' | 'InvalidParentHeader' | 'InherentDataFilteredDuringExecution' | 'UnscheduledCandidate';
|
readonly type: 'TooManyInclusionInherents' | 'InvalidParentHeader' | 'InherentDataFilteredDuringExecution' | 'UnscheduledCandidate';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsSchedulerCommonAssignment (746) */
|
/** @name PolkadotRuntimeParachainsSchedulerCommonAssignment (753) */
|
||||||
interface PolkadotRuntimeParachainsSchedulerCommonAssignment extends Enum {
|
interface PolkadotRuntimeParachainsSchedulerCommonAssignment extends Enum {
|
||||||
readonly isPool: boolean;
|
readonly isPool: boolean;
|
||||||
readonly asPool: {
|
readonly asPool: {
|
||||||
@@ -3064,7 +3126,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Pool' | 'Bulk';
|
readonly type: 'Pool' | 'Bulk';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (749) */
|
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (756) */
|
||||||
interface PolkadotRuntimeParachainsParasPvfCheckActiveVoteState extends Struct {
|
interface PolkadotRuntimeParachainsParasPvfCheckActiveVoteState extends Struct {
|
||||||
readonly votesAccept: BitVec;
|
readonly votesAccept: BitVec;
|
||||||
readonly votesReject: BitVec;
|
readonly votesReject: BitVec;
|
||||||
@@ -3073,7 +3135,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly causes: Vec<PolkadotRuntimeParachainsParasPvfCheckCause>;
|
readonly causes: Vec<PolkadotRuntimeParachainsParasPvfCheckCause>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (751) */
|
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (758) */
|
||||||
interface PolkadotRuntimeParachainsParasPvfCheckCause extends Enum {
|
interface PolkadotRuntimeParachainsParasPvfCheckCause extends Enum {
|
||||||
readonly isOnboarding: boolean;
|
readonly isOnboarding: boolean;
|
||||||
readonly asOnboarding: u32;
|
readonly asOnboarding: u32;
|
||||||
@@ -3086,14 +3148,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Onboarding' | 'Upgrade';
|
readonly type: 'Onboarding' | 'Upgrade';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasUpgradeStrategy (752) */
|
/** @name PolkadotRuntimeParachainsParasUpgradeStrategy (759) */
|
||||||
interface PolkadotRuntimeParachainsParasUpgradeStrategy extends Enum {
|
interface PolkadotRuntimeParachainsParasUpgradeStrategy extends Enum {
|
||||||
readonly isSetGoAheadSignal: boolean;
|
readonly isSetGoAheadSignal: boolean;
|
||||||
readonly isApplyAtExpectedBlock: boolean;
|
readonly isApplyAtExpectedBlock: boolean;
|
||||||
readonly type: 'SetGoAheadSignal' | 'ApplyAtExpectedBlock';
|
readonly type: 'SetGoAheadSignal' | 'ApplyAtExpectedBlock';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasParaLifecycle (755) */
|
/** @name PolkadotRuntimeParachainsParasParaLifecycle (762) */
|
||||||
interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
|
interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
|
||||||
readonly isOnboarding: boolean;
|
readonly isOnboarding: boolean;
|
||||||
readonly isParathread: boolean;
|
readonly isParathread: boolean;
|
||||||
@@ -3105,39 +3167,39 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Onboarding' | 'Parathread' | 'Parachain' | 'UpgradingParathread' | 'DowngradingParachain' | 'OffboardingParathread' | 'OffboardingParachain';
|
readonly type: 'Onboarding' | 'Parathread' | 'Parachain' | 'UpgradingParathread' | 'DowngradingParachain' | 'OffboardingParathread' | 'OffboardingParachain';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (757) */
|
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (764) */
|
||||||
interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
|
interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
|
||||||
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
|
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
|
||||||
readonly lastPruned: Option<u32>;
|
readonly lastPruned: Option<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasReplacementTimes (759) */
|
/** @name PolkadotRuntimeParachainsParasReplacementTimes (766) */
|
||||||
interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
|
interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
|
||||||
readonly expectedAt: u32;
|
readonly expectedAt: u32;
|
||||||
readonly activatedAt: u32;
|
readonly activatedAt: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8UpgradeGoAhead (761) */
|
/** @name PolkadotPrimitivesV8UpgradeGoAhead (768) */
|
||||||
interface PolkadotPrimitivesV8UpgradeGoAhead extends Enum {
|
interface PolkadotPrimitivesV8UpgradeGoAhead extends Enum {
|
||||||
readonly isAbort: boolean;
|
readonly isAbort: boolean;
|
||||||
readonly isGoAhead: boolean;
|
readonly isGoAhead: boolean;
|
||||||
readonly type: 'Abort' | 'GoAhead';
|
readonly type: 'Abort' | 'GoAhead';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8UpgradeRestriction (762) */
|
/** @name PolkadotPrimitivesV8UpgradeRestriction (769) */
|
||||||
interface PolkadotPrimitivesV8UpgradeRestriction extends Enum {
|
interface PolkadotPrimitivesV8UpgradeRestriction extends Enum {
|
||||||
readonly isPresent: boolean;
|
readonly isPresent: boolean;
|
||||||
readonly type: 'Present';
|
readonly type: 'Present';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (763) */
|
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (770) */
|
||||||
interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
|
interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
|
||||||
readonly genesisHead: Bytes;
|
readonly genesisHead: Bytes;
|
||||||
readonly validationCode: Bytes;
|
readonly validationCode: Bytes;
|
||||||
readonly paraKind: bool;
|
readonly paraKind: bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsParasPalletError (764) */
|
/** @name PolkadotRuntimeParachainsParasPalletError (771) */
|
||||||
interface PolkadotRuntimeParachainsParasPalletError extends Enum {
|
interface PolkadotRuntimeParachainsParasPalletError extends Enum {
|
||||||
readonly isNotRegistered: boolean;
|
readonly isNotRegistered: boolean;
|
||||||
readonly isCannotOnboard: boolean;
|
readonly isCannotOnboard: boolean;
|
||||||
@@ -3155,20 +3217,20 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NotRegistered' | 'CannotOnboard' | 'CannotOffboard' | 'CannotUpgrade' | 'CannotDowngrade' | 'PvfCheckStatementStale' | 'PvfCheckStatementFuture' | 'PvfCheckValidatorIndexOutOfBounds' | 'PvfCheckInvalidSignature' | 'PvfCheckDoubleVote' | 'PvfCheckSubjectInvalid' | 'CannotUpgradeCode' | 'InvalidCode';
|
readonly type: 'NotRegistered' | 'CannotOnboard' | 'CannotOffboard' | 'CannotUpgrade' | 'CannotDowngrade' | 'PvfCheckStatementStale' | 'PvfCheckStatementFuture' | 'PvfCheckValidatorIndexOutOfBounds' | 'PvfCheckInvalidSignature' | 'PvfCheckDoubleVote' | 'PvfCheckSubjectInvalid' | 'CannotUpgradeCode' | 'InvalidCode';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (766) */
|
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (773) */
|
||||||
interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
|
interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
|
||||||
readonly validators: Vec<PolkadotPrimitivesV8ValidatorAppPublic>;
|
readonly validators: Vec<PolkadotPrimitivesV8ValidatorAppPublic>;
|
||||||
readonly queued: Vec<PolkadotPrimitivesV8ValidatorAppPublic>;
|
readonly queued: Vec<PolkadotPrimitivesV8ValidatorAppPublic>;
|
||||||
readonly sessionIndex: u32;
|
readonly sessionIndex: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotCorePrimitivesInboundDownwardMessage (768) */
|
/** @name PolkadotCorePrimitivesInboundDownwardMessage (775) */
|
||||||
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
|
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
|
||||||
readonly sentAt: u32;
|
readonly sentAt: u32;
|
||||||
readonly msg: Bytes;
|
readonly msg: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (769) */
|
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (776) */
|
||||||
interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
|
interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
|
||||||
readonly confirmed: bool;
|
readonly confirmed: bool;
|
||||||
readonly age: u32;
|
readonly age: u32;
|
||||||
@@ -3178,7 +3240,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly maxTotalSize: u32;
|
readonly maxTotalSize: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (771) */
|
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (778) */
|
||||||
interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
|
interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
|
||||||
readonly maxCapacity: u32;
|
readonly maxCapacity: u32;
|
||||||
readonly maxTotalSize: u32;
|
readonly maxTotalSize: u32;
|
||||||
@@ -3190,13 +3252,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly recipientDeposit: u128;
|
readonly recipientDeposit: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotCorePrimitivesInboundHrmpMessage (773) */
|
/** @name PolkadotCorePrimitivesInboundHrmpMessage (780) */
|
||||||
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
|
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
|
||||||
readonly sentAt: u32;
|
readonly sentAt: u32;
|
||||||
readonly data: Bytes;
|
readonly data: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsHrmpPalletError (776) */
|
/** @name PolkadotRuntimeParachainsHrmpPalletError (783) */
|
||||||
interface PolkadotRuntimeParachainsHrmpPalletError extends Enum {
|
interface PolkadotRuntimeParachainsHrmpPalletError extends Enum {
|
||||||
readonly isOpenHrmpChannelToSelf: boolean;
|
readonly isOpenHrmpChannelToSelf: boolean;
|
||||||
readonly isOpenHrmpChannelInvalidRecipient: boolean;
|
readonly isOpenHrmpChannelInvalidRecipient: boolean;
|
||||||
@@ -3221,7 +3283,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'OpenHrmpChannelToSelf' | 'OpenHrmpChannelInvalidRecipient' | 'OpenHrmpChannelZeroCapacity' | 'OpenHrmpChannelCapacityExceedsLimit' | 'OpenHrmpChannelZeroMessageSize' | 'OpenHrmpChannelMessageSizeExceedsLimit' | 'OpenHrmpChannelAlreadyExists' | 'OpenHrmpChannelAlreadyRequested' | 'OpenHrmpChannelLimitExceeded' | 'AcceptHrmpChannelDoesntExist' | 'AcceptHrmpChannelAlreadyConfirmed' | 'AcceptHrmpChannelLimitExceeded' | 'CloseHrmpChannelUnauthorized' | 'CloseHrmpChannelDoesntExist' | 'CloseHrmpChannelAlreadyUnderway' | 'CancelHrmpOpenChannelUnauthorized' | 'OpenHrmpChannelDoesntExist' | 'OpenHrmpChannelAlreadyConfirmed' | 'WrongWitness' | 'ChannelCreationNotAuthorized';
|
readonly type: 'OpenHrmpChannelToSelf' | 'OpenHrmpChannelInvalidRecipient' | 'OpenHrmpChannelZeroCapacity' | 'OpenHrmpChannelCapacityExceedsLimit' | 'OpenHrmpChannelZeroMessageSize' | 'OpenHrmpChannelMessageSizeExceedsLimit' | 'OpenHrmpChannelAlreadyExists' | 'OpenHrmpChannelAlreadyRequested' | 'OpenHrmpChannelLimitExceeded' | 'AcceptHrmpChannelDoesntExist' | 'AcceptHrmpChannelAlreadyConfirmed' | 'AcceptHrmpChannelLimitExceeded' | 'CloseHrmpChannelUnauthorized' | 'CloseHrmpChannelDoesntExist' | 'CloseHrmpChannelAlreadyUnderway' | 'CancelHrmpOpenChannelUnauthorized' | 'OpenHrmpChannelDoesntExist' | 'OpenHrmpChannelAlreadyConfirmed' | 'WrongWitness' | 'ChannelCreationNotAuthorized';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8SessionInfo (778) */
|
/** @name PolkadotPrimitivesV8SessionInfo (785) */
|
||||||
interface PolkadotPrimitivesV8SessionInfo extends Struct {
|
interface PolkadotPrimitivesV8SessionInfo extends Struct {
|
||||||
readonly activeValidatorIndices: Vec<u32>;
|
readonly activeValidatorIndices: Vec<u32>;
|
||||||
readonly randomSeed: U8aFixed;
|
readonly randomSeed: U8aFixed;
|
||||||
@@ -3238,13 +3300,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly neededApprovals: u32;
|
readonly neededApprovals: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8IndexedVecValidatorIndex (779) */
|
/** @name PolkadotPrimitivesV8IndexedVecValidatorIndex (786) */
|
||||||
interface PolkadotPrimitivesV8IndexedVecValidatorIndex extends Vec<PolkadotPrimitivesV8ValidatorAppPublic> {}
|
interface PolkadotPrimitivesV8IndexedVecValidatorIndex extends Vec<PolkadotPrimitivesV8ValidatorAppPublic> {}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8IndexedVecGroupIndex (780) */
|
/** @name PolkadotPrimitivesV8IndexedVecGroupIndex (787) */
|
||||||
interface PolkadotPrimitivesV8IndexedVecGroupIndex extends Vec<Vec<u32>> {}
|
interface PolkadotPrimitivesV8IndexedVecGroupIndex extends Vec<Vec<u32>> {}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8DisputeState (782) */
|
/** @name PolkadotPrimitivesV8DisputeState (789) */
|
||||||
interface PolkadotPrimitivesV8DisputeState extends Struct {
|
interface PolkadotPrimitivesV8DisputeState extends Struct {
|
||||||
readonly validatorsFor: BitVec;
|
readonly validatorsFor: BitVec;
|
||||||
readonly validatorsAgainst: BitVec;
|
readonly validatorsAgainst: BitVec;
|
||||||
@@ -3252,7 +3314,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly concludedAt: Option<u32>;
|
readonly concludedAt: Option<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsDisputesPalletError (784) */
|
/** @name PolkadotRuntimeParachainsDisputesPalletError (791) */
|
||||||
interface PolkadotRuntimeParachainsDisputesPalletError extends Enum {
|
interface PolkadotRuntimeParachainsDisputesPalletError extends Enum {
|
||||||
readonly isDuplicateDisputeStatementSets: boolean;
|
readonly isDuplicateDisputeStatementSets: boolean;
|
||||||
readonly isAncientDisputeStatement: boolean;
|
readonly isAncientDisputeStatement: boolean;
|
||||||
@@ -3266,13 +3328,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'DuplicateDisputeStatementSets' | 'AncientDisputeStatement' | 'ValidatorIndexOutOfBounds' | 'InvalidSignature' | 'DuplicateStatement' | 'SingleSidedDispute' | 'MaliciousBacker' | 'MissingBackingVotes' | 'UnconfirmedDispute';
|
readonly type: 'DuplicateDisputeStatementSets' | 'AncientDisputeStatement' | 'ValidatorIndexOutOfBounds' | 'InvalidSignature' | 'DuplicateStatement' | 'SingleSidedDispute' | 'MaliciousBacker' | 'MissingBackingVotes' | 'UnconfirmedDispute';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8SlashingPendingSlashes (785) */
|
/** @name PolkadotPrimitivesV8SlashingPendingSlashes (792) */
|
||||||
interface PolkadotPrimitivesV8SlashingPendingSlashes extends Struct {
|
interface PolkadotPrimitivesV8SlashingPendingSlashes extends Struct {
|
||||||
readonly keys_: BTreeMap<u32, PolkadotPrimitivesV8ValidatorAppPublic>;
|
readonly keys_: BTreeMap<u32, PolkadotPrimitivesV8ValidatorAppPublic>;
|
||||||
readonly kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
|
readonly kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsDisputesSlashingPalletError (789) */
|
/** @name PolkadotRuntimeParachainsDisputesSlashingPalletError (796) */
|
||||||
interface PolkadotRuntimeParachainsDisputesSlashingPalletError extends Enum {
|
interface PolkadotRuntimeParachainsDisputesSlashingPalletError extends Enum {
|
||||||
readonly isInvalidKeyOwnershipProof: boolean;
|
readonly isInvalidKeyOwnershipProof: boolean;
|
||||||
readonly isInvalidSessionIndex: boolean;
|
readonly isInvalidSessionIndex: boolean;
|
||||||
@@ -3283,13 +3345,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InvalidKeyOwnershipProof' | 'InvalidSessionIndex' | 'InvalidCandidateHash' | 'InvalidValidatorIndex' | 'ValidatorIndexIdMismatch' | 'DuplicateSlashingReport';
|
readonly type: 'InvalidKeyOwnershipProof' | 'InvalidSessionIndex' | 'InvalidCandidateHash' | 'InvalidValidatorIndex' | 'ValidatorIndexIdMismatch' | 'DuplicateSlashingReport';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount (790) */
|
/** @name PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount (797) */
|
||||||
interface PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount extends Struct {
|
interface PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount extends Struct {
|
||||||
readonly coreIndex: u32;
|
readonly coreIndex: u32;
|
||||||
readonly count: u32;
|
readonly count: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsOnDemandTypesQueueStatusType (791) */
|
/** @name PolkadotRuntimeParachainsOnDemandTypesQueueStatusType (798) */
|
||||||
interface PolkadotRuntimeParachainsOnDemandTypesQueueStatusType extends Struct {
|
interface PolkadotRuntimeParachainsOnDemandTypesQueueStatusType extends Struct {
|
||||||
readonly traffic: u128;
|
readonly traffic: u128;
|
||||||
readonly nextIndex: u32;
|
readonly nextIndex: u32;
|
||||||
@@ -3297,45 +3359,46 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly freedIndices: BinaryHeapReverseQueueIndex;
|
readonly freedIndices: BinaryHeapReverseQueueIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name BinaryHeapReverseQueueIndex (793) */
|
/** @name BinaryHeapReverseQueueIndex (800) */
|
||||||
interface BinaryHeapReverseQueueIndex extends Vec<u32> {}
|
interface BinaryHeapReverseQueueIndex extends Vec<u32> {}
|
||||||
|
|
||||||
/** @name BinaryHeapEnqueuedOrder (796) */
|
/** @name BinaryHeapEnqueuedOrder (803) */
|
||||||
interface BinaryHeapEnqueuedOrder extends Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder> {}
|
interface BinaryHeapEnqueuedOrder extends Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder> {}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder (797) */
|
/** @name PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder (804) */
|
||||||
interface PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder extends Struct {
|
interface PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder extends Struct {
|
||||||
readonly paraId: u32;
|
readonly paraId: u32;
|
||||||
readonly idx: u32;
|
readonly idx: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsOnDemandPalletError (801) */
|
/** @name PolkadotRuntimeParachainsOnDemandPalletError (808) */
|
||||||
interface PolkadotRuntimeParachainsOnDemandPalletError extends Enum {
|
interface PolkadotRuntimeParachainsOnDemandPalletError extends Enum {
|
||||||
readonly isQueueFull: boolean;
|
readonly isQueueFull: boolean;
|
||||||
readonly isSpotPriceHigherThanMaxAmount: boolean;
|
readonly isSpotPriceHigherThanMaxAmount: boolean;
|
||||||
readonly type: 'QueueFull' | 'SpotPriceHigherThanMaxAmount';
|
readonly isInsufficientCredits: boolean;
|
||||||
|
readonly type: 'QueueFull' | 'SpotPriceHigherThanMaxAmount' | 'InsufficientCredits';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeSchedule (803) */
|
/** @name PolkadotRuntimeParachainsAssignerCoretimeSchedule (810) */
|
||||||
interface PolkadotRuntimeParachainsAssignerCoretimeSchedule extends Struct {
|
interface PolkadotRuntimeParachainsAssignerCoretimeSchedule extends Struct {
|
||||||
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
|
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
|
||||||
readonly endHint: Option<u32>;
|
readonly endHint: Option<u32>;
|
||||||
readonly nextSchedule: Option<u32>;
|
readonly nextSchedule: Option<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor (804) */
|
/** @name PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor (811) */
|
||||||
interface PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor extends Struct {
|
interface PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor extends Struct {
|
||||||
readonly queue: Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>;
|
readonly queue: Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>;
|
||||||
readonly currentWork: Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>;
|
readonly currentWork: Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor (806) */
|
/** @name PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor (813) */
|
||||||
interface PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor extends Struct {
|
interface PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor extends Struct {
|
||||||
readonly first: u32;
|
readonly first: u32;
|
||||||
readonly last: u32;
|
readonly last: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeWorkState (808) */
|
/** @name PolkadotRuntimeParachainsAssignerCoretimeWorkState (815) */
|
||||||
interface PolkadotRuntimeParachainsAssignerCoretimeWorkState extends Struct {
|
interface PolkadotRuntimeParachainsAssignerCoretimeWorkState extends Struct {
|
||||||
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState]>>;
|
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState]>>;
|
||||||
readonly endHint: Option<u32>;
|
readonly endHint: Option<u32>;
|
||||||
@@ -3343,27 +3406,27 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly step: u16;
|
readonly step: u16;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsAssignerCoretimeAssignmentState (811) */
|
/** @name PolkadotRuntimeParachainsAssignerCoretimeAssignmentState (818) */
|
||||||
interface PolkadotRuntimeParachainsAssignerCoretimeAssignmentState extends Struct {
|
interface PolkadotRuntimeParachainsAssignerCoretimeAssignmentState extends Struct {
|
||||||
readonly ratio: u16;
|
readonly ratio: u16;
|
||||||
readonly remaining: u16;
|
readonly remaining: u16;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsAssignerCoretimePalletError (812) */
|
/** @name PolkadotRuntimeParachainsAssignerCoretimePalletError (819) */
|
||||||
interface PolkadotRuntimeParachainsAssignerCoretimePalletError extends Enum {
|
interface PolkadotRuntimeParachainsAssignerCoretimePalletError extends Enum {
|
||||||
readonly isAssignmentsEmpty: boolean;
|
readonly isAssignmentsEmpty: boolean;
|
||||||
readonly isDisallowedInsert: boolean;
|
readonly isDisallowedInsert: boolean;
|
||||||
readonly type: 'AssignmentsEmpty' | 'DisallowedInsert';
|
readonly type: 'AssignmentsEmpty' | 'DisallowedInsert';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (813) */
|
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (820) */
|
||||||
interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
|
interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
|
||||||
readonly manager: AccountId32;
|
readonly manager: AccountId32;
|
||||||
readonly deposit: u128;
|
readonly deposit: u128;
|
||||||
readonly locked: Option<bool>;
|
readonly locked: Option<bool>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (815) */
|
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (822) */
|
||||||
interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum {
|
interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum {
|
||||||
readonly isNotRegistered: boolean;
|
readonly isNotRegistered: boolean;
|
||||||
readonly isAlreadyRegistered: boolean;
|
readonly isAlreadyRegistered: boolean;
|
||||||
@@ -3382,14 +3445,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NotRegistered' | 'AlreadyRegistered' | 'NotOwner' | 'CodeTooLarge' | 'HeadDataTooLarge' | 'NotParachain' | 'NotParathread' | 'CannotDeregister' | 'CannotDowngrade' | 'CannotUpgrade' | 'ParaLocked' | 'NotReserved' | 'InvalidCode' | 'CannotSwap';
|
readonly type: 'NotRegistered' | 'AlreadyRegistered' | 'NotOwner' | 'CodeTooLarge' | 'HeadDataTooLarge' | 'NotParachain' | 'NotParathread' | 'CannotDeregister' | 'CannotDowngrade' | 'CannotUpgrade' | 'ParaLocked' | 'NotReserved' | 'InvalidCode' | 'CannotSwap';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonSlotsPalletError (817) */
|
/** @name PolkadotRuntimeCommonSlotsPalletError (824) */
|
||||||
interface PolkadotRuntimeCommonSlotsPalletError extends Enum {
|
interface PolkadotRuntimeCommonSlotsPalletError extends Enum {
|
||||||
readonly isParaNotOnboarding: boolean;
|
readonly isParaNotOnboarding: boolean;
|
||||||
readonly isLeaseError: boolean;
|
readonly isLeaseError: boolean;
|
||||||
readonly type: 'ParaNotOnboarding' | 'LeaseError';
|
readonly type: 'ParaNotOnboarding' | 'LeaseError';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonAuctionsPalletError (822) */
|
/** @name PolkadotRuntimeCommonAuctionsPalletError (829) */
|
||||||
interface PolkadotRuntimeCommonAuctionsPalletError extends Enum {
|
interface PolkadotRuntimeCommonAuctionsPalletError extends Enum {
|
||||||
readonly isAuctionInProgress: boolean;
|
readonly isAuctionInProgress: boolean;
|
||||||
readonly isLeasePeriodInPast: boolean;
|
readonly isLeasePeriodInPast: boolean;
|
||||||
@@ -3401,7 +3464,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'AuctionInProgress' | 'LeasePeriodInPast' | 'ParaNotRegistered' | 'NotCurrentAuction' | 'NotAuction' | 'AuctionEnded' | 'AlreadyLeasedOut';
|
readonly type: 'AuctionInProgress' | 'LeasePeriodInPast' | 'ParaNotRegistered' | 'NotCurrentAuction' | 'NotAuction' | 'AuctionEnded' | 'AlreadyLeasedOut';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (823) */
|
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (830) */
|
||||||
interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
|
interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
|
||||||
readonly depositor: AccountId32;
|
readonly depositor: AccountId32;
|
||||||
readonly verifier: Option<SpRuntimeMultiSigner>;
|
readonly verifier: Option<SpRuntimeMultiSigner>;
|
||||||
@@ -3415,7 +3478,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly fundIndex: u32;
|
readonly fundIndex: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (824) */
|
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (831) */
|
||||||
interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
|
interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
|
||||||
readonly isNever: boolean;
|
readonly isNever: boolean;
|
||||||
readonly isPreEnding: boolean;
|
readonly isPreEnding: boolean;
|
||||||
@@ -3425,7 +3488,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Never' | 'PreEnding' | 'Ending';
|
readonly type: 'Never' | 'PreEnding' | 'Ending';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonCrowdloanPalletError (825) */
|
/** @name PolkadotRuntimeCommonCrowdloanPalletError (832) */
|
||||||
interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum {
|
interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum {
|
||||||
readonly isFirstPeriodInPast: boolean;
|
readonly isFirstPeriodInPast: boolean;
|
||||||
readonly isFirstPeriodTooFarInFuture: boolean;
|
readonly isFirstPeriodTooFarInFuture: boolean;
|
||||||
@@ -3453,7 +3516,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'FirstPeriodInPast' | 'FirstPeriodTooFarInFuture' | 'LastPeriodBeforeFirstPeriod' | 'LastPeriodTooFarInFuture' | 'CannotEndInPast' | 'EndTooFarInFuture' | 'Overflow' | 'ContributionTooSmall' | 'InvalidParaId' | 'CapExceeded' | 'ContributionPeriodOver' | 'InvalidOrigin' | 'NotParachain' | 'LeaseActive' | 'BidOrLeaseActive' | 'FundNotEnded' | 'NoContributions' | 'NotReadyToDissolve' | 'InvalidSignature' | 'MemoTooLarge' | 'AlreadyInNewRaise' | 'VrfDelayInProgress' | 'NoLeasePeriod';
|
readonly type: 'FirstPeriodInPast' | 'FirstPeriodTooFarInFuture' | 'LastPeriodBeforeFirstPeriod' | 'LastPeriodTooFarInFuture' | 'CannotEndInPast' | 'EndTooFarInFuture' | 'Overflow' | 'ContributionTooSmall' | 'InvalidParaId' | 'CapExceeded' | 'ContributionPeriodOver' | 'InvalidOrigin' | 'NotParachain' | 'LeaseActive' | 'BidOrLeaseActive' | 'FundNotEnded' | 'NoContributions' | 'NotReadyToDissolve' | 'InvalidSignature' | 'MemoTooLarge' | 'AlreadyInNewRaise' | 'VrfDelayInProgress' | 'NoLeasePeriod';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeParachainsCoretimePalletError (826) */
|
/** @name PolkadotRuntimeParachainsCoretimePalletError (833) */
|
||||||
interface PolkadotRuntimeParachainsCoretimePalletError extends Enum {
|
interface PolkadotRuntimeParachainsCoretimePalletError extends Enum {
|
||||||
readonly isNotBroker: boolean;
|
readonly isNotBroker: boolean;
|
||||||
readonly isRequestedFutureRevenue: boolean;
|
readonly isRequestedFutureRevenue: boolean;
|
||||||
@@ -3461,7 +3524,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'NotBroker' | 'RequestedFutureRevenue' | 'AssetTransferFailed';
|
readonly type: 'NotBroker' | 'RequestedFutureRevenue' | 'AssetTransferFailed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmQueryStatus (827) */
|
/** @name PalletXcmQueryStatus (834) */
|
||||||
interface PalletXcmQueryStatus extends Enum {
|
interface PalletXcmQueryStatus extends Enum {
|
||||||
readonly isPending: boolean;
|
readonly isPending: boolean;
|
||||||
readonly asPending: {
|
readonly asPending: {
|
||||||
@@ -3483,7 +3546,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Pending' | 'VersionNotifier' | 'Ready';
|
readonly type: 'Pending' | 'VersionNotifier' | 'Ready';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmVersionedResponse (831) */
|
/** @name XcmVersionedResponse (838) */
|
||||||
interface XcmVersionedResponse extends Enum {
|
interface XcmVersionedResponse extends Enum {
|
||||||
readonly isV3: boolean;
|
readonly isV3: boolean;
|
||||||
readonly asV3: XcmV3Response;
|
readonly asV3: XcmV3Response;
|
||||||
@@ -3494,7 +3557,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'V3' | 'V4' | 'V5';
|
readonly type: 'V3' | 'V4' | 'V5';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmVersionMigrationStage (837) */
|
/** @name PalletXcmVersionMigrationStage (844) */
|
||||||
interface PalletXcmVersionMigrationStage extends Enum {
|
interface PalletXcmVersionMigrationStage extends Enum {
|
||||||
readonly isMigrateSupportedVersion: boolean;
|
readonly isMigrateSupportedVersion: boolean;
|
||||||
readonly isMigrateVersionNotifiers: boolean;
|
readonly isMigrateVersionNotifiers: boolean;
|
||||||
@@ -3504,7 +3567,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets';
|
readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmRemoteLockedFungibleRecord (840) */
|
/** @name PalletXcmRemoteLockedFungibleRecord (847) */
|
||||||
interface PalletXcmRemoteLockedFungibleRecord extends Struct {
|
interface PalletXcmRemoteLockedFungibleRecord extends Struct {
|
||||||
readonly amount: u128;
|
readonly amount: u128;
|
||||||
readonly owner: XcmVersionedLocation;
|
readonly owner: XcmVersionedLocation;
|
||||||
@@ -3512,7 +3575,25 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly consumers: Vec<ITuple<[Null, u128]>>;
|
readonly consumers: Vec<ITuple<[Null, u128]>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletXcmError (847) */
|
/** @name PalletXcmAuthorizedAliasesEntry (854) */
|
||||||
|
interface PalletXcmAuthorizedAliasesEntry extends Struct {
|
||||||
|
readonly aliasers: Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>;
|
||||||
|
readonly ticket: FrameSupportStorageDisabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name FrameSupportStorageDisabled (855) */
|
||||||
|
type FrameSupportStorageDisabled = Null;
|
||||||
|
|
||||||
|
/** @name PalletXcmMaxAuthorizedAliases (856) */
|
||||||
|
type PalletXcmMaxAuthorizedAliases = Null;
|
||||||
|
|
||||||
|
/** @name XcmRuntimeApisAuthorizedAliasesOriginAliaser (858) */
|
||||||
|
interface XcmRuntimeApisAuthorizedAliasesOriginAliaser extends Struct {
|
||||||
|
readonly location: XcmVersionedLocation;
|
||||||
|
readonly expiry: Option<u64>;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name PalletXcmError (860) */
|
||||||
interface PalletXcmError extends Enum {
|
interface PalletXcmError extends Enum {
|
||||||
readonly isUnreachable: boolean;
|
readonly isUnreachable: boolean;
|
||||||
readonly isSendFailure: boolean;
|
readonly isSendFailure: boolean;
|
||||||
@@ -3538,32 +3619,35 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isInvalidAssetUnsupportedReserve: boolean;
|
readonly isInvalidAssetUnsupportedReserve: boolean;
|
||||||
readonly isTooManyReserves: boolean;
|
readonly isTooManyReserves: boolean;
|
||||||
readonly isLocalExecutionIncomplete: boolean;
|
readonly isLocalExecutionIncomplete: boolean;
|
||||||
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'CannotCheckOutTeleport' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse' | 'InvalidAssetUnknownReserve' | 'InvalidAssetUnsupportedReserve' | 'TooManyReserves' | 'LocalExecutionIncomplete';
|
readonly isTooManyAuthorizedAliases: boolean;
|
||||||
|
readonly isExpiresInPast: boolean;
|
||||||
|
readonly isAliasNotFound: boolean;
|
||||||
|
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'CannotCheckOutTeleport' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse' | 'InvalidAssetUnknownReserve' | 'InvalidAssetUnsupportedReserve' | 'TooManyReserves' | 'LocalExecutionIncomplete' | 'TooManyAuthorizedAliases' | 'ExpiresInPast' | 'AliasNotFound';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionPaymentChargeTransactionPayment (869) */
|
/** @name PalletTransactionPaymentChargeTransactionPayment (882) */
|
||||||
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (870) */
|
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (883) */
|
||||||
type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
|
type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
|
||||||
|
|
||||||
/** @name PolkadotRuntimeRuntime (873) */
|
/** @name PolkadotRuntimeRuntime (886) */
|
||||||
type PolkadotRuntimeRuntime = Null;
|
type PolkadotRuntimeRuntime = Null;
|
||||||
|
|
||||||
/** @name RelayCommonApisInflationInfo (874) */
|
/** @name RelayCommonApisInflationInfo (887) */
|
||||||
interface RelayCommonApisInflationInfo extends Struct {
|
interface RelayCommonApisInflationInfo extends Struct {
|
||||||
readonly inflation: Perquintill;
|
readonly inflation: Perquintill;
|
||||||
readonly nextMint: ITuple<[u128, u128]>;
|
readonly nextMint: ITuple<[u128, u128]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8GroupRotationInfo (897) */
|
/** @name PolkadotPrimitivesV8GroupRotationInfo (910) */
|
||||||
interface PolkadotPrimitivesV8GroupRotationInfo extends Struct {
|
interface PolkadotPrimitivesV8GroupRotationInfo extends Struct {
|
||||||
readonly sessionStartBlock: u32;
|
readonly sessionStartBlock: u32;
|
||||||
readonly groupRotationFrequency: u32;
|
readonly groupRotationFrequency: u32;
|
||||||
readonly now: u32;
|
readonly now: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesVstagingCoreState (899) */
|
/** @name PolkadotPrimitivesVstagingCoreState (912) */
|
||||||
interface PolkadotPrimitivesVstagingCoreState extends Enum {
|
interface PolkadotPrimitivesVstagingCoreState extends Enum {
|
||||||
readonly isOccupied: boolean;
|
readonly isOccupied: boolean;
|
||||||
readonly asOccupied: PolkadotPrimitivesVstagingOccupiedCore;
|
readonly asOccupied: PolkadotPrimitivesVstagingOccupiedCore;
|
||||||
@@ -3573,7 +3657,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Occupied' | 'Scheduled' | 'Free';
|
readonly type: 'Occupied' | 'Scheduled' | 'Free';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesVstagingOccupiedCore (900) */
|
/** @name PolkadotPrimitivesVstagingOccupiedCore (913) */
|
||||||
interface PolkadotPrimitivesVstagingOccupiedCore extends Struct {
|
interface PolkadotPrimitivesVstagingOccupiedCore extends Struct {
|
||||||
readonly nextUpOnAvailable: Option<PolkadotPrimitivesV8ScheduledCore>;
|
readonly nextUpOnAvailable: Option<PolkadotPrimitivesV8ScheduledCore>;
|
||||||
readonly occupiedSince: u32;
|
readonly occupiedSince: u32;
|
||||||
@@ -3585,16 +3669,16 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly candidateDescriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
readonly candidateDescriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8ScheduledCore (902) */
|
/** @name PolkadotPrimitivesV8ScheduledCore (915) */
|
||||||
interface PolkadotPrimitivesV8ScheduledCore extends Struct {
|
interface PolkadotPrimitivesV8ScheduledCore extends Struct {
|
||||||
readonly paraId: u32;
|
readonly paraId: u32;
|
||||||
readonly collator: Option<PolkadotPrimitivesV8CollatorAppPublic>;
|
readonly collator: Option<PolkadotPrimitivesV8CollatorAppPublic>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8CollatorAppPublic (904) */
|
/** @name PolkadotPrimitivesV8CollatorAppPublic (917) */
|
||||||
interface PolkadotPrimitivesV8CollatorAppPublic extends U8aFixed {}
|
interface PolkadotPrimitivesV8CollatorAppPublic extends U8aFixed {}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8OccupiedCoreAssumption (905) */
|
/** @name PolkadotPrimitivesV8OccupiedCoreAssumption (918) */
|
||||||
interface PolkadotPrimitivesV8OccupiedCoreAssumption extends Enum {
|
interface PolkadotPrimitivesV8OccupiedCoreAssumption extends Enum {
|
||||||
readonly isIncluded: boolean;
|
readonly isIncluded: boolean;
|
||||||
readonly isTimedOut: boolean;
|
readonly isTimedOut: boolean;
|
||||||
@@ -3602,7 +3686,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Included' | 'TimedOut' | 'Free';
|
readonly type: 'Included' | 'TimedOut' | 'Free';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8PersistedValidationData (907) */
|
/** @name PolkadotPrimitivesV8PersistedValidationData (920) */
|
||||||
interface PolkadotPrimitivesV8PersistedValidationData extends Struct {
|
interface PolkadotPrimitivesV8PersistedValidationData extends Struct {
|
||||||
readonly parentHead: Bytes;
|
readonly parentHead: Bytes;
|
||||||
readonly relayParentNumber: u32;
|
readonly relayParentNumber: u32;
|
||||||
@@ -3610,7 +3694,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly maxPovSize: u32;
|
readonly maxPovSize: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesVstagingCandidateEvent (912) */
|
/** @name PolkadotPrimitivesVstagingCandidateEvent (925) */
|
||||||
interface PolkadotPrimitivesVstagingCandidateEvent extends Enum {
|
interface PolkadotPrimitivesVstagingCandidateEvent extends Enum {
|
||||||
readonly isCandidateBacked: boolean;
|
readonly isCandidateBacked: boolean;
|
||||||
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
|
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
|
||||||
@@ -3621,13 +3705,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut';
|
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesVstagingAsyncBackingBackingState (928) */
|
/** @name PolkadotPrimitivesVstagingAsyncBackingBackingState (941) */
|
||||||
interface PolkadotPrimitivesVstagingAsyncBackingBackingState extends Struct {
|
interface PolkadotPrimitivesVstagingAsyncBackingBackingState extends Struct {
|
||||||
readonly constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
|
readonly constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
|
||||||
readonly pendingAvailability: Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
|
readonly pendingAvailability: Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8AsyncBackingConstraints (929) */
|
/** @name PolkadotPrimitivesV8AsyncBackingConstraints (942) */
|
||||||
interface PolkadotPrimitivesV8AsyncBackingConstraints extends Struct {
|
interface PolkadotPrimitivesV8AsyncBackingConstraints extends Struct {
|
||||||
readonly minRelayParentNumber: u32;
|
readonly minRelayParentNumber: u32;
|
||||||
readonly maxPovSize: u32;
|
readonly maxPovSize: u32;
|
||||||
@@ -3645,18 +3729,18 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly futureValidationCode: Option<ITuple<[u32, H256]>>;
|
readonly futureValidationCode: Option<ITuple<[u32, H256]>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations (930) */
|
/** @name PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations (943) */
|
||||||
interface PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations extends Struct {
|
interface PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations extends Struct {
|
||||||
readonly validWatermarks: Vec<u32>;
|
readonly validWatermarks: Vec<u32>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations (933) */
|
/** @name PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations (946) */
|
||||||
interface PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations extends Struct {
|
interface PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations extends Struct {
|
||||||
readonly bytesRemaining: u32;
|
readonly bytesRemaining: u32;
|
||||||
readonly messagesRemaining: u32;
|
readonly messagesRemaining: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability (938) */
|
/** @name PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability (951) */
|
||||||
interface PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability extends Struct {
|
interface PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability extends Struct {
|
||||||
readonly candidateHash: H256;
|
readonly candidateHash: H256;
|
||||||
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
|
||||||
@@ -3665,7 +3749,26 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly maxPovSize: u32;
|
readonly maxPovSize: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmRuntimeApisFeesError (970) */
|
/** @name PolkadotPrimitivesVstagingAsyncBackingConstraints (957) */
|
||||||
|
interface PolkadotPrimitivesVstagingAsyncBackingConstraints extends Struct {
|
||||||
|
readonly minRelayParentNumber: u32;
|
||||||
|
readonly maxPovSize: u32;
|
||||||
|
readonly maxCodeSize: u32;
|
||||||
|
readonly maxHeadDataSize: u32;
|
||||||
|
readonly umpRemaining: u32;
|
||||||
|
readonly umpRemainingBytes: u32;
|
||||||
|
readonly maxUmpNumPerCandidate: u32;
|
||||||
|
readonly dmpRemainingMessages: Vec<u32>;
|
||||||
|
readonly hrmpInbound: PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations;
|
||||||
|
readonly hrmpChannelsOut: Vec<ITuple<[u32, PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations]>>;
|
||||||
|
readonly maxHrmpNumPerCandidate: u32;
|
||||||
|
readonly requiredParent: Bytes;
|
||||||
|
readonly validationCodeHash: H256;
|
||||||
|
readonly upgradeRestriction: Option<PolkadotPrimitivesV8UpgradeRestriction>;
|
||||||
|
readonly futureValidationCode: Option<ITuple<[u32, H256]>>;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name XcmRuntimeApisFeesError (985) */
|
||||||
interface XcmRuntimeApisFeesError extends Enum {
|
interface XcmRuntimeApisFeesError extends Enum {
|
||||||
readonly isUnimplemented: boolean;
|
readonly isUnimplemented: boolean;
|
||||||
readonly isVersionedConversionFailed: boolean;
|
readonly isVersionedConversionFailed: boolean;
|
||||||
@@ -3676,7 +3779,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Unimplemented' | 'VersionedConversionFailed' | 'WeightNotComputable' | 'UnhandledXcmVersion' | 'AssetNotFound' | 'Unroutable';
|
readonly type: 'Unimplemented' | 'VersionedConversionFailed' | 'WeightNotComputable' | 'UnhandledXcmVersion' | 'AssetNotFound' | 'Unroutable';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmRuntimeApisDryRunCallDryRunEffects (975) */
|
/** @name XcmRuntimeApisDryRunCallDryRunEffects (990) */
|
||||||
interface XcmRuntimeApisDryRunCallDryRunEffects extends Struct {
|
interface XcmRuntimeApisDryRunCallDryRunEffects extends Struct {
|
||||||
readonly executionResult: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
readonly executionResult: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
|
||||||
readonly emittedEvents: Vec<Event>;
|
readonly emittedEvents: Vec<Event>;
|
||||||
@@ -3684,28 +3787,28 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly forwardedXcms: Vec<ITuple<[XcmVersionedLocation, Vec<XcmVersionedXcm>]>>;
|
readonly forwardedXcms: Vec<ITuple<[XcmVersionedLocation, Vec<XcmVersionedXcm>]>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmRuntimeApisDryRunError (981) */
|
/** @name XcmRuntimeApisDryRunError (996) */
|
||||||
interface XcmRuntimeApisDryRunError extends Enum {
|
interface XcmRuntimeApisDryRunError extends Enum {
|
||||||
readonly isUnimplemented: boolean;
|
readonly isUnimplemented: boolean;
|
||||||
readonly isVersionedConversionFailed: boolean;
|
readonly isVersionedConversionFailed: boolean;
|
||||||
readonly type: 'Unimplemented' | 'VersionedConversionFailed';
|
readonly type: 'Unimplemented' | 'VersionedConversionFailed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmRuntimeApisDryRunXcmDryRunEffects (983) */
|
/** @name XcmRuntimeApisDryRunXcmDryRunEffects (998) */
|
||||||
interface XcmRuntimeApisDryRunXcmDryRunEffects extends Struct {
|
interface XcmRuntimeApisDryRunXcmDryRunEffects extends Struct {
|
||||||
readonly executionResult: StagingXcmV5TraitsOutcome;
|
readonly executionResult: StagingXcmV5TraitsOutcome;
|
||||||
readonly emittedEvents: Vec<Event>;
|
readonly emittedEvents: Vec<Event>;
|
||||||
readonly forwardedXcms: Vec<ITuple<[XcmVersionedLocation, Vec<XcmVersionedXcm>]>>;
|
readonly forwardedXcms: Vec<ITuple<[XcmVersionedLocation, Vec<XcmVersionedXcm>]>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmRuntimeApisConversionsError (985) */
|
/** @name XcmRuntimeApisConversionsError (1000) */
|
||||||
interface XcmRuntimeApisConversionsError extends Enum {
|
interface XcmRuntimeApisConversionsError extends Enum {
|
||||||
readonly isUnsupported: boolean;
|
readonly isUnsupported: boolean;
|
||||||
readonly isVersionedConversionFailed: boolean;
|
readonly isVersionedConversionFailed: boolean;
|
||||||
readonly type: 'Unsupported' | 'VersionedConversionFailed';
|
readonly type: 'Unsupported' | 'VersionedConversionFailed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PolkadotRuntimeRuntimeError (989) */
|
/** @name PolkadotRuntimeRuntimeError (1004) */
|
||||||
interface PolkadotRuntimeRuntimeError extends Enum {
|
interface PolkadotRuntimeRuntimeError extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSystemError;
|
readonly asSystem: FrameSystemError;
|
||||||
|
|||||||
@@ -10309,16 +10309,27 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'DoesntExist' | 'KeyDecodingFailed';
|
readonly type: 'DoesntExist' | 'KeyDecodingFailed';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletReviveEvmApiDebugRpcTypesTracerConfig (1084) */
|
/** @name PalletReviveEvmApiDebugRpcTypesTracerType (1084) */
|
||||||
interface PalletReviveEvmApiDebugRpcTypesTracerConfig extends Enum {
|
interface PalletReviveEvmApiDebugRpcTypesTracerType extends Enum {
|
||||||
readonly isCallTracer: boolean;
|
readonly isCallTracer: boolean;
|
||||||
readonly asCallTracer: {
|
readonly asCallTracer: Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>;
|
||||||
readonly withLogs: bool;
|
|
||||||
} & Struct;
|
|
||||||
readonly type: 'CallTracer';
|
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 {
|
interface PalletReviveEvmApiDebugRpcTypesCallTrace extends Struct {
|
||||||
readonly from: H160;
|
readonly from: H160;
|
||||||
readonly gas: U256;
|
readonly gas: U256;
|
||||||
@@ -10334,7 +10345,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly callType: PalletReviveEvmApiDebugRpcTypesCallType;
|
readonly callType: PalletReviveEvmApiDebugRpcTypesCallType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1091) */
|
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1094) */
|
||||||
interface PalletReviveEvmApiDebugRpcTypesCallLog extends Struct {
|
interface PalletReviveEvmApiDebugRpcTypesCallLog extends Struct {
|
||||||
readonly address: H160;
|
readonly address: H160;
|
||||||
readonly topics: Vec<H256>;
|
readonly topics: Vec<H256>;
|
||||||
@@ -10342,7 +10353,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly position: u32;
|
readonly position: u32;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1092) */
|
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1095) */
|
||||||
interface PalletReviveEvmApiDebugRpcTypesCallType extends Enum {
|
interface PalletReviveEvmApiDebugRpcTypesCallType extends Enum {
|
||||||
readonly isCall: boolean;
|
readonly isCall: boolean;
|
||||||
readonly isStaticCall: boolean;
|
readonly isStaticCall: boolean;
|
||||||
@@ -10350,40 +10361,40 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Call' | 'StaticCall' | 'DelegateCall';
|
readonly type: 'Call' | 'StaticCall' | 'DelegateCall';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1095) */
|
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1098) */
|
||||||
interface PalletTransactionPaymentRuntimeDispatchInfo extends Struct {
|
interface PalletTransactionPaymentRuntimeDispatchInfo extends Struct {
|
||||||
readonly weight: SpWeightsWeightV2Weight;
|
readonly weight: SpWeightsWeightV2Weight;
|
||||||
readonly class: FrameSupportDispatchDispatchClass;
|
readonly class: FrameSupportDispatchDispatchClass;
|
||||||
readonly partialFee: u128;
|
readonly partialFee: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionPaymentFeeDetails (1096) */
|
/** @name PalletTransactionPaymentFeeDetails (1099) */
|
||||||
interface PalletTransactionPaymentFeeDetails extends Struct {
|
interface PalletTransactionPaymentFeeDetails extends Struct {
|
||||||
readonly inclusionFee: Option<PalletTransactionPaymentInclusionFee>;
|
readonly inclusionFee: Option<PalletTransactionPaymentInclusionFee>;
|
||||||
readonly tip: u128;
|
readonly tip: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionPaymentInclusionFee (1098) */
|
/** @name PalletTransactionPaymentInclusionFee (1101) */
|
||||||
interface PalletTransactionPaymentInclusionFee extends Struct {
|
interface PalletTransactionPaymentInclusionFee extends Struct {
|
||||||
readonly baseFee: u128;
|
readonly baseFee: u128;
|
||||||
readonly lenFee: u128;
|
readonly lenFee: u128;
|
||||||
readonly adjustedWeightFee: u128;
|
readonly adjustedWeightFee: u128;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusBeefyValidatorSet (1102) */
|
/** @name SpConsensusBeefyValidatorSet (1105) */
|
||||||
interface SpConsensusBeefyValidatorSet extends Struct {
|
interface SpConsensusBeefyValidatorSet extends Struct {
|
||||||
readonly validators: Vec<SpConsensusBeefyEcdsaCryptoPublic>;
|
readonly validators: Vec<SpConsensusBeefyEcdsaCryptoPublic>;
|
||||||
readonly id: u64;
|
readonly id: u64;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1103) */
|
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1106) */
|
||||||
interface SpConsensusBeefyForkVotingProofOpaqueValue extends Struct {
|
interface SpConsensusBeefyForkVotingProofOpaqueValue extends Struct {
|
||||||
readonly vote: SpConsensusBeefyVoteMessage;
|
readonly vote: SpConsensusBeefyVoteMessage;
|
||||||
readonly ancestryProof: Bytes;
|
readonly ancestryProof: Bytes;
|
||||||
readonly header: SpRuntimeHeader;
|
readonly header: SpRuntimeHeader;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpMmrPrimitivesError (1105) */
|
/** @name SpMmrPrimitivesError (1108) */
|
||||||
interface SpMmrPrimitivesError extends Enum {
|
interface SpMmrPrimitivesError extends Enum {
|
||||||
readonly isInvalidNumericOp: boolean;
|
readonly isInvalidNumericOp: boolean;
|
||||||
readonly isPush: 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';
|
readonly type: 'InvalidNumericOp' | 'Push' | 'GetRoot' | 'Commit' | 'GenerateProof' | 'Verify' | 'LeafNotFound' | 'PalletNotIncluded' | 'InvalidLeafIndex' | 'InvalidBestKnownBlock';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpMmrPrimitivesLeafProof (1111) */
|
/** @name SpMmrPrimitivesLeafProof (1114) */
|
||||||
interface SpMmrPrimitivesLeafProof extends Struct {
|
interface SpMmrPrimitivesLeafProof extends Struct {
|
||||||
readonly leafIndices: Vec<u64>;
|
readonly leafIndices: Vec<u64>;
|
||||||
readonly leafCount: u64;
|
readonly leafCount: u64;
|
||||||
readonly items: Vec<H256>;
|
readonly items: Vec<H256>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpMixnetSessionStatus (1113) */
|
/** @name SpMixnetSessionStatus (1116) */
|
||||||
interface SpMixnetSessionStatus extends Struct {
|
interface SpMixnetSessionStatus extends Struct {
|
||||||
readonly currentIndex: u32;
|
readonly currentIndex: u32;
|
||||||
readonly phase: SpMixnetSessionPhase;
|
readonly phase: SpMixnetSessionPhase;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpMixnetSessionPhase (1114) */
|
/** @name SpMixnetSessionPhase (1117) */
|
||||||
interface SpMixnetSessionPhase extends Enum {
|
interface SpMixnetSessionPhase extends Enum {
|
||||||
readonly isCoverToCurrent: boolean;
|
readonly isCoverToCurrent: boolean;
|
||||||
readonly isRequestsToCurrent: boolean;
|
readonly isRequestsToCurrent: boolean;
|
||||||
@@ -10420,14 +10431,14 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'CoverToCurrent' | 'RequestsToCurrent' | 'CoverToPrev' | 'DisconnectFromPrev';
|
readonly type: 'CoverToCurrent' | 'RequestsToCurrent' | 'CoverToPrev' | 'DisconnectFromPrev';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpMixnetMixnode (1117) */
|
/** @name SpMixnetMixnode (1120) */
|
||||||
interface SpMixnetMixnode extends Struct {
|
interface SpMixnetMixnode extends Struct {
|
||||||
readonly kxPublic: U8aFixed;
|
readonly kxPublic: U8aFixed;
|
||||||
readonly peerId: U8aFixed;
|
readonly peerId: U8aFixed;
|
||||||
readonly externalAddresses: Vec<Bytes>;
|
readonly externalAddresses: Vec<Bytes>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name SpMixnetMixnodesErr (1118) */
|
/** @name SpMixnetMixnodesErr (1121) */
|
||||||
interface SpMixnetMixnodesErr extends Enum {
|
interface SpMixnetMixnodesErr extends Enum {
|
||||||
readonly isInsufficientRegistrations: boolean;
|
readonly isInsufficientRegistrations: boolean;
|
||||||
readonly asInsufficientRegistrations: {
|
readonly asInsufficientRegistrations: {
|
||||||
@@ -10437,7 +10448,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'InsufficientRegistrations';
|
readonly type: 'InsufficientRegistrations';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name KitchensinkRuntimeRuntimeError (1124) */
|
/** @name KitchensinkRuntimeRuntimeError (1127) */
|
||||||
interface KitchensinkRuntimeRuntimeError extends Enum {
|
interface KitchensinkRuntimeRuntimeError extends Enum {
|
||||||
readonly isSystem: boolean;
|
readonly isSystem: boolean;
|
||||||
readonly asSystem: FrameSystemError;
|
readonly asSystem: FrameSystemError;
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import type { StatementKind } from '@polkadot/types/interfaces/claims';
|
|||||||
import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
|
import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
|
||||||
import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
|
import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
|
||||||
import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractExecResultU64, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractInstantiateResultU64, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
|
import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractExecResultU64, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractInstantiateResultU64, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
|
||||||
import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractConstructorSpecV4, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractContractSpecV5, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEnvironmentV4, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractEventSpecV3, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMessageSpecV3, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractMetadataV5, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
|
import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractConstructorSpecV4, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractContractSpecV5, ContractContractSpecV6, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEnvironmentV4, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractEventSpecV3, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMessageSpecV3, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractMetadataV5, ContractMetadataV6, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractReviveProjectInfo, ContractReviveProjectSource, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
|
||||||
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
|
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
|
||||||
import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
|
import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
|
||||||
import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
|
import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy';
|
||||||
@@ -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 { 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 { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections';
|
||||||
import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine';
|
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 { 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 { 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';
|
import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles';
|
||||||
@@ -204,6 +204,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
BlockV0: BlockV0;
|
BlockV0: BlockV0;
|
||||||
BlockV1: BlockV1;
|
BlockV1: BlockV1;
|
||||||
BlockV2: BlockV2;
|
BlockV2: BlockV2;
|
||||||
|
BlockV3: BlockV3;
|
||||||
BlockWeights: BlockWeights;
|
BlockWeights: BlockWeights;
|
||||||
BodyId: BodyId;
|
BodyId: BodyId;
|
||||||
BodyIdV2: BodyIdV2;
|
BodyIdV2: BodyIdV2;
|
||||||
@@ -285,6 +286,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
ContractContractSpecV3: ContractContractSpecV3;
|
ContractContractSpecV3: ContractContractSpecV3;
|
||||||
ContractContractSpecV4: ContractContractSpecV4;
|
ContractContractSpecV4: ContractContractSpecV4;
|
||||||
ContractContractSpecV5: ContractContractSpecV5;
|
ContractContractSpecV5: ContractContractSpecV5;
|
||||||
|
ContractContractSpecV6: ContractContractSpecV6;
|
||||||
ContractCryptoHasher: ContractCryptoHasher;
|
ContractCryptoHasher: ContractCryptoHasher;
|
||||||
ContractDiscriminant: ContractDiscriminant;
|
ContractDiscriminant: ContractDiscriminant;
|
||||||
ContractDisplayName: ContractDisplayName;
|
ContractDisplayName: ContractDisplayName;
|
||||||
@@ -335,12 +337,15 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
ContractMetadataV3: ContractMetadataV3;
|
ContractMetadataV3: ContractMetadataV3;
|
||||||
ContractMetadataV4: ContractMetadataV4;
|
ContractMetadataV4: ContractMetadataV4;
|
||||||
ContractMetadataV5: ContractMetadataV5;
|
ContractMetadataV5: ContractMetadataV5;
|
||||||
|
ContractMetadataV6: ContractMetadataV6;
|
||||||
ContractProject: ContractProject;
|
ContractProject: ContractProject;
|
||||||
ContractProjectContract: ContractProjectContract;
|
ContractProjectContract: ContractProjectContract;
|
||||||
ContractProjectInfo: ContractProjectInfo;
|
ContractProjectInfo: ContractProjectInfo;
|
||||||
ContractProjectSource: ContractProjectSource;
|
ContractProjectSource: ContractProjectSource;
|
||||||
ContractProjectV0: ContractProjectV0;
|
ContractProjectV0: ContractProjectV0;
|
||||||
ContractReturnFlags: ContractReturnFlags;
|
ContractReturnFlags: ContractReturnFlags;
|
||||||
|
ContractReviveProjectInfo: ContractReviveProjectInfo;
|
||||||
|
ContractReviveProjectSource: ContractReviveProjectSource;
|
||||||
ContractSelector: ContractSelector;
|
ContractSelector: ContractSelector;
|
||||||
ContractStorageKey: ContractStorageKey;
|
ContractStorageKey: ContractStorageKey;
|
||||||
ContractStorageLayout: ContractStorageLayout;
|
ContractStorageLayout: ContractStorageLayout;
|
||||||
@@ -401,6 +406,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
Ed25519Signature: Ed25519Signature;
|
Ed25519Signature: Ed25519Signature;
|
||||||
EIP1559Transaction: EIP1559Transaction;
|
EIP1559Transaction: EIP1559Transaction;
|
||||||
EIP2930Transaction: EIP2930Transaction;
|
EIP2930Transaction: EIP2930Transaction;
|
||||||
|
EIP7702Transaction: EIP7702Transaction;
|
||||||
ElectionCompute: ElectionCompute;
|
ElectionCompute: ElectionCompute;
|
||||||
ElectionPhase: ElectionPhase;
|
ElectionPhase: ElectionPhase;
|
||||||
ElectionResult: ElectionResult;
|
ElectionResult: ElectionResult;
|
||||||
@@ -430,6 +436,9 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
EthAccessListItem: EthAccessListItem;
|
EthAccessListItem: EthAccessListItem;
|
||||||
EthAccount: EthAccount;
|
EthAccount: EthAccount;
|
||||||
EthAddress: EthAddress;
|
EthAddress: EthAddress;
|
||||||
|
EthAuthorizationList: EthAuthorizationList;
|
||||||
|
EthAuthorizationListItem: EthAuthorizationListItem;
|
||||||
|
EthAuthorizationSignature: EthAuthorizationSignature;
|
||||||
EthBlock: EthBlock;
|
EthBlock: EthBlock;
|
||||||
EthBloom: EthBloom;
|
EthBloom: EthBloom;
|
||||||
EthCallRequest: EthCallRequest;
|
EthCallRequest: EthCallRequest;
|
||||||
@@ -445,10 +454,12 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
EthFilterTopicEntry: EthFilterTopicEntry;
|
EthFilterTopicEntry: EthFilterTopicEntry;
|
||||||
EthFilterTopicInner: EthFilterTopicInner;
|
EthFilterTopicInner: EthFilterTopicInner;
|
||||||
EthHeader: EthHeader;
|
EthHeader: EthHeader;
|
||||||
|
EthLegacyTransactionSignature: EthLegacyTransactionSignature;
|
||||||
EthLog: EthLog;
|
EthLog: EthLog;
|
||||||
EthReceipt: EthReceipt;
|
EthReceipt: EthReceipt;
|
||||||
EthReceiptV0: EthReceiptV0;
|
EthReceiptV0: EthReceiptV0;
|
||||||
EthReceiptV3: EthReceiptV3;
|
EthReceiptV3: EthReceiptV3;
|
||||||
|
EthReceiptV4: EthReceiptV4;
|
||||||
EthRichBlock: EthRichBlock;
|
EthRichBlock: EthRichBlock;
|
||||||
EthRichHeader: EthRichHeader;
|
EthRichHeader: EthRichHeader;
|
||||||
EthStorageProof: EthStorageProof;
|
EthStorageProof: EthStorageProof;
|
||||||
@@ -1222,6 +1233,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
TransactionV0: TransactionV0;
|
TransactionV0: TransactionV0;
|
||||||
TransactionV1: TransactionV1;
|
TransactionV1: TransactionV1;
|
||||||
TransactionV2: TransactionV2;
|
TransactionV2: TransactionV2;
|
||||||
|
TransactionV3: TransactionV3;
|
||||||
TransactionValidity: TransactionValidity;
|
TransactionValidity: TransactionValidity;
|
||||||
TransactionValidityError: TransactionValidityError;
|
TransactionValidityError: TransactionValidityError;
|
||||||
TransientValidationData: TransientValidationData;
|
TransientValidationData: TransientValidationData;
|
||||||
|
|||||||
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"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"@polkadot/x-bigint": "^13.5.1",
|
"@polkadot/x-bigint": "^13.5.5",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-augment": "16.1.2",
|
"@polkadot/types-augment": "16.4.4",
|
||||||
"@polkadot/types-support": "16.1.2",
|
"@polkadot/types-support": "16.4.4",
|
||||||
"@polkadot/util-crypto": "^13.5.1"
|
"@polkadot/util-crypto": "^13.5.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -5,6 +5,15 @@ import type { Codec, CodecClass, Registry } from '../types/index.js';
|
|||||||
|
|
||||||
import { u8aToHex } from '@polkadot/util';
|
import { u8aToHex } from '@polkadot/util';
|
||||||
|
|
||||||
|
const MAX_DEPTH = 1024;
|
||||||
|
|
||||||
|
/** @internal */
|
||||||
|
function isComplexType (Type: CodecClass): boolean {
|
||||||
|
const typeName = Type.name?.toLowerCase() || '';
|
||||||
|
|
||||||
|
return ['enum', 'hashmap', 'linkage', 'null', 'option', 'range', 'rangeinclusive', 'result', 'struct', 'tuple', 'vec', 'vecfixed'].includes(typeName);
|
||||||
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @internal */
|
||||||
function formatFailure (registry: Registry, fn: 'decodeU8a' | 'decodeU8aStruct' | 'decodeU8aVec', _result: unknown[], { message }: Error, u8a: Uint8Array, i: number, count: number, Type: CodecClass, key?: string): string {
|
function formatFailure (registry: Registry, fn: 'decodeU8a' | 'decodeU8aStruct' | 'decodeU8aVec', _result: unknown[], { message }: Error, u8a: Uint8Array, i: number, count: number, Type: CodecClass, key?: string): string {
|
||||||
let type = '';
|
let type = '';
|
||||||
@@ -63,6 +72,10 @@ export function decodeU8aStruct (registry: Registry, result: [string, Codec][],
|
|||||||
let offset = 0;
|
let offset = 0;
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
||||||
|
if (count > MAX_DEPTH && isComplexType(Types[i])) {
|
||||||
|
throw new Error(`decodeU8aStruct: Maximum depth exceeded, received ${count} elements, limit ${MAX_DEPTH}`);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
while (i < count) {
|
while (i < count) {
|
||||||
const value = new Types[i](registry, u8a.subarray(offset));
|
const value = new Types[i](registry, u8a.subarray(offset));
|
||||||
@@ -86,6 +99,11 @@ export function decodeU8aStruct (registry: Registry, result: [string, Codec][],
|
|||||||
*/
|
*/
|
||||||
export function decodeU8aVec <T extends Codec = Codec> (registry: Registry, result: unknown[], u8a: Uint8Array, startAt: number, Type: CodecClass<T>): [number, number] {
|
export function decodeU8aVec <T extends Codec = Codec> (registry: Registry, result: unknown[], u8a: Uint8Array, startAt: number, Type: CodecClass<T>): [number, number] {
|
||||||
const count = result.length;
|
const count = result.length;
|
||||||
|
|
||||||
|
if (count > MAX_DEPTH && isComplexType(Type)) {
|
||||||
|
throw new Error(`decodeU8aVec: Maximum depth exceeded, received ${count} elements, limit ${MAX_DEPTH}`);
|
||||||
|
}
|
||||||
|
|
||||||
let offset = startAt;
|
let offset = startAt;
|
||||||
let i = 0;
|
let i = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "16.1.2"
|
"@polkadot/types": "16.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/networks": "^13.5.1",
|
"@polkadot/networks": "^13.5.5",
|
||||||
"@polkadot/types": "16.1.2",
|
"@polkadot/types": "16.4.4",
|
||||||
"@polkadot/types-codec": "16.1.2",
|
"@polkadot/types-codec": "16.4.4",
|
||||||
"@polkadot/types-create": "16.1.2",
|
"@polkadot/types-create": "16.4.4",
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "16.1.2"
|
"@polkadot/api": "16.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.1.2' };
|
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.4.4' };
|
||||||
|
|||||||
@@ -18,10 +18,10 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.1.2",
|
"version": "16.4.4",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/util": "^13.5.1",
|
"@polkadot/util": "^13.5.5",
|
||||||
"tslib": "^2.8.1"
|
"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
@@ -8,16 +8,6 @@
|
|||||||
export default {
|
export default {
|
||||||
"methods": [
|
"methods": [
|
||||||
"account_nextIndex",
|
"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_hasKey",
|
||||||
"author_hasSessionKeys",
|
"author_hasSessionKeys",
|
||||||
"author_insertKey",
|
"author_insertKey",
|
||||||
@@ -66,6 +56,8 @@ export default {
|
|||||||
"childstate_getStorageHash",
|
"childstate_getStorageHash",
|
||||||
"childstate_getStorageSize",
|
"childstate_getStorageSize",
|
||||||
"dev_getBlockStats",
|
"dev_getBlockStats",
|
||||||
|
"engine_createBlock",
|
||||||
|
"engine_finalizeBlock",
|
||||||
"offchain_localStorageClear",
|
"offchain_localStorageClear",
|
||||||
"offchain_localStorageGet",
|
"offchain_localStorageGet",
|
||||||
"offchain_localStorageSet",
|
"offchain_localStorageSet",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@ export default {
|
|||||||
"specName": "statemine",
|
"specName": "statemine",
|
||||||
"implName": "statemine",
|
"implName": "statemine",
|
||||||
"authoringVersion": 1,
|
"authoringVersion": 1,
|
||||||
"specVersion": 1005001,
|
"specVersion": 1006000,
|
||||||
"implVersion": 0,
|
"implVersion": 0,
|
||||||
"apis": [
|
"apis": [
|
||||||
[
|
[
|
||||||
@@ -18,7 +18,7 @@ export default {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
"0xd7bdd8a272ca0d65",
|
"0xd7bdd8a272ca0d65",
|
||||||
1
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"0xdf6acb689907609b",
|
"0xdf6acb689907609b",
|
||||||
@@ -83,6 +83,10 @@ export default {
|
|||||||
[
|
[
|
||||||
"0xfbc577b9d747efd6",
|
"0xfbc577b9d747efd6",
|
||||||
1
|
1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"0x8c403e5c4a9fd442",
|
||||||
|
1
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"transactionVersion": 15,
|
"transactionVersion": 15,
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -8,16 +8,6 @@
|
|||||||
export default {
|
export default {
|
||||||
"methods": [
|
"methods": [
|
||||||
"account_nextIndex",
|
"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_hasKey",
|
||||||
"author_hasSessionKeys",
|
"author_hasSessionKeys",
|
||||||
"author_insertKey",
|
"author_insertKey",
|
||||||
@@ -66,6 +56,8 @@ export default {
|
|||||||
"childstate_getStorageHash",
|
"childstate_getStorageHash",
|
||||||
"childstate_getStorageSize",
|
"childstate_getStorageSize",
|
||||||
"dev_getBlockStats",
|
"dev_getBlockStats",
|
||||||
|
"engine_createBlock",
|
||||||
|
"engine_finalizeBlock",
|
||||||
"offchain_localStorageClear",
|
"offchain_localStorageClear",
|
||||||
"offchain_localStorageGet",
|
"offchain_localStorageGet",
|
||||||
"offchain_localStorageSet",
|
"offchain_localStorageSet",
|
||||||
|
|||||||
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