Compare commits

..
28 Commits
Author SHA1 Message Date
github-actions[bot] f5cc1b203d [CI Skip] release/stable 16.4.2
skip-checks: true
2025-07-22 13:49:00 +00:00
rajk93 0009649d15 16.4.2 (#6190) 2025-07-22 19:13:11 +05:30
github-actions[bot] 63afa969e0 [CI Skip] bump/beta 16.4.2-0-x
skip-checks: true
2025-07-21 12:15:25 +00:00
Arjun Porwal 29ce33fe64 Add validation for cache capacity and TTL in LRUCache (#6187)
* fix: lru cache validation

* chore: increased ttl to 30 mins

* fix: tests
2025-07-21 17:39:35 +05:30
github-actions[bot] 528f1262b9 [CI Skip] release/stable 16.4.1
skip-checks: true
2025-07-09 04:13:12 +00:00
Valentin Fernandez a405cb59d0 16.4.1 (#6186)
* 16.3.2

* 16.4.1
2025-07-09 09:37:08 +05:30
Valentin Fernandez 401b746cb8 16.3.2 (#6184) 2025-07-08 13:23:47 -03:00
github-actions[bot] 94545879b3 [CI Skip] bump/beta 16.3.2-1-x
skip-checks: true
2025-07-08 14:30:37 +00:00
Alex Bean cb76a1db74 fix(api-contracts): correctly decode pallet_revive events (#6181)
* fix: revive events

* chore: format
2025-07-08 11:24:44 -03:00
github-actions[bot] 3e231e206a [CI Skip] bump/beta 16.3.2-0-x
skip-checks: true
2025-07-08 14:22:38 +00:00
rajk93 f89a8bd201 chore: update kusama types to 1.6.0 (#6175) 2025-07-08 11:16:34 -03:00
github-actions[bot] 3a36fd59ae [CI Skip] release/stable 16.3.1
skip-checks: true
2025-07-01 17:21:37 +00:00
Valentin Fernandez 1b3ef2cae3 16.3.1 (#6180) 2025-07-01 14:15:49 -03:00
github-actions[bot] 4ba97aa33d [CI Skip] bump/beta 16.2.3-2-x
skip-checks: true
2025-07-01 17:03:27 +00:00
Arjun Porwal 078f41aa1c Fix signature issue in signAsync + send flow (#6177)
* feat: add extrinsicInfoMap to track signed transaction updates

* fix: update extrinsicInfoMap to use 'this' instead of extrinsic

* fix: remove extrinsic from extrinsicInfoMap after sending transaction
2025-07-01 13:57:50 -03:00
Valentin Fernandez 2f912dcce3 Update AssetHub Polkadot types to 1.6.0 (#6174)
* Update AssetHub Polkadot types to 1.6.0

* Fix tests
2025-07-01 13:57:31 -03:00
rajk93 e60a59269c chore: update asset hub kusama types to 1.6.0 (#6176) 2025-07-01 13:56:53 -03:00
Valentin Fernandez 87bbbd4805 Update Polkadot types to polkadot-fellows/runtimes release 1.6.0 (#6173)
* Update Polkadot types to polkadot-fellows/runtimes release 1.6.0

* Fix tests
2025-07-01 13:56:26 -03:00
github-actions[bot] 104630eab6 [CI Skip] bump/beta 16.2.3-1-x
skip-checks: true
2025-07-01 16:50:09 +00:00
Valentin Fernandez fade4d68cc Bump @polkadot/common to 13.5.2 (#6179) 2025-07-01 13:44:24 -03:00
github-actions[bot] d3633fe714 [CI Skip] bump/beta 16.2.3-0-x
skip-checks: true
2025-06-27 02:19:30 +00:00
Valentin Fernandez 2db1715f14 Update Substrate types to Polkadot stable2503-5 (#6172) 2025-06-26 23:13:40 -03:00
github-actions[bot] e87df306d8 [CI Skip] release/stable 16.2.2
skip-checks: true
2025-06-17 16:56:21 +00:00
Valentin Fernandez 8d2c9b29d4 16.2.2 (#6171) 2025-06-17 13:50:23 -03:00
github-actions[bot] 52db57b8be [CI Skip] bump/beta 16.2.2-1-x
skip-checks: true
2025-06-17 15:15:07 +00:00
Valentin Fernandez 996c6fa17a bump polkadotjs/common to 13.5.2 (#6170) 2025-06-17 12:09:17 -03:00
github-actions[bot] f124375fdd [CI Skip] bump/beta 16.2.2-0-x
skip-checks: true
2025-06-13 13:19:11 +00:00
rajk93 41de04896f feat(types-codec): Add maximum depth limit in decodeU8a functions (#6168)
* feat(decodeU8a): add maximum depth check for complex types in decode functions

* chore: lint
2025-06-13 10:13:18 -03:00
102 changed files with 20398 additions and 9860 deletions
+28
View File
@@ -1,5 +1,33 @@
# CHANGELOG
## 16.4.2 Jul 22, 2025
- Add validation for cache capacity and TTL in LRUCache ([#6187](https://github.com/polkadot-js/api/pull/6187))
## 16.4.1 Jul 8, 2025
- Update Kusama types to 1.6.0 ([#6175](https://github.com/polkadot-js/api/pull/6175))
- fix(api-contracts): correctly decode pallet_revive events ([#6181](https://github.com/polkadot-js/api/pull/6181))
## 16.3.1 Jul 1, 2025
- Update Substrate types to Polkadot stable2503-5 ([#6172](https://github.com/polkadot-js/api/pull/6172))
- 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:
+4 -4
View File
@@ -1,7 +1,7 @@
3512 Jaco Bump deps (#5785)
164 Tarik Gul Upgrade polkadot/common to 13.5.1 (#6150)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
40 Valentin Fernandez 16.2.1 (#6167)
49 Valentin Fernandez 16.4.1 (#6186)
37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709)
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
@@ -11,7 +11,9 @@
11 Ian He HttpProvider support clone() (#3949)
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
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 rajk93 16.4.2 (#6190)
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
5 Chevdor Fix metadata package link (#3458)
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
@@ -21,7 +23,6 @@
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
4 Alex Wang fix issue that creates duplicate providers (#983)
4 Alexander Popiak Add asset id in signing (#4009)
4 Arjun Porwal doc: Update README.md with metadata retrieval instructions and testing caveats (#6156)
4 Joshy Orndorff spelling; efect -> effect (#2295)
4 Nantian fix bigint type (#3869)
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
@@ -37,6 +38,7 @@
3 Miguel Hervas Adding RT4 Types (#3007)
3 Shawn Tabrizi Add `isReadyOrError` when connecting to API (#2577)
3 YJ feat: Vote interface as U8a (#1061)
2 Alex Bean fix(api-contracts): correctly decode `pallet_revive` events (#6181)
2 Alexander Krupenkin Add [u8; 33] type width for U8aFixed type (#2391)
2 Branan Riley Add proxy type for Centrifuge (#3940)
2 Caio Add `Range` and `RangeInclusive` types (#3791)
@@ -50,7 +52,6 @@
2 MOZGIII Follow-up fix after #4665 (#4666)
2 Paweł Nguyen Fix a minor typo in cookbook blocks docs (#2294)
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 sung wu Update tx.md (#2485)
2 Veliko Abi constructor takes different parameters (#3347)
@@ -60,7 +61,6 @@
2 扩散性百万甜面包 Typo, deocrateMethod -> decorateMethod (#1594)
1 Alan Sapede Adds Eth feeHistory & maxPriorityFeePerGas rpc (#4956)
1 Aleš Ferlan fix: use H160 for address in getTransactionCount (#5472)
1 Alex Bean feat(api-contract): add support for ink! v6 and pallet-revive compatibility (#6158)
1 Alisher A. Khassanov Add `offchain_localStorageClear` RPC method (#6070)
1 Brad Larson [NEW] Support for custom headers with providers (#2423)
1 Btwiuse Arch Add side effect check workaround (#4994) (#5009)
+4 -4
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"versions": {
"git": "16.2.1",
"npm": "16.2.1"
"git": "16.4.2",
"npm": "16.4.2"
},
"workspaces": [
"packages/*"
@@ -40,7 +40,7 @@
"test:one": "polkadot-dev-run-test --env node"
},
"devDependencies": {
"@polkadot/dev": "^0.83.2",
"@polkadot/dev": "^0.83.3",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/node": "^22.10.5"
},
+7 -7
View File
@@ -18,15 +18,15 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "16.2.1",
"@polkadot/rpc-augment": "16.2.1",
"@polkadot/types": "16.2.1",
"@polkadot/types-augment": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/api-base": "16.4.2",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"tslib": "^2.8.1"
}
}
@@ -6,9 +6,9 @@
import '@polkadot/api-base/types/consts';
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Bytes, Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Bytes, Option, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Permill } from '@polkadot/types/interfaces/runtime';
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -134,6 +134,37 @@ declare module '@polkadot/api-base/types/consts' {
**/
[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: {
/**
* 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;
};
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: {
/**
* 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;
};
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: {
/**
* Maximal number of bytes that a key can have.
+254 -10
View File
@@ -141,6 +141,14 @@ declare module '@polkadot/api-base/types/errors' {
* Callback action resulted in error
**/
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.
**/
@@ -362,6 +370,14 @@ declare module '@polkadot/api-base/types/errors' {
* Callback action resulted in error
**/
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.
**/
@@ -496,7 +512,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoApprovalsNeeded: AugmentedError<ApiType>;
/**
* Multisig operation not found when attempting to cancel.
* Multisig operation not found in storage.
**/
NotFound: AugmentedError<ApiType>;
/**
@@ -504,7 +520,8 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoTimepoint: AugmentedError<ApiType>;
/**
* Only the account that originally created the multisig is able to cancel it.
* Only the account that originally created the multisig is able to cancel it or update
* its deposits.
**/
NotOwner: AugmentedError<ApiType>;
/**
@@ -749,10 +766,6 @@ declare module '@polkadot/api-base/types/errors' {
* The inherent which supplies the host configuration did not run this block.
**/
HostConfigurationNotAvailable: AugmentedError<ApiType>;
/**
* No code upgrade has been authorized.
**/
NothingAuthorized: AugmentedError<ApiType>;
/**
* No validation function upgrade is currently scheduled.
**/
@@ -770,10 +783,6 @@ declare module '@polkadot/api-base/types/errors' {
* willing to run.
**/
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.
**/
@@ -788,6 +797,10 @@ declare module '@polkadot/api-base/types/errors' {
* The given account is not an identifiable sovereign account for any location.
**/
AccountNotSovereign: AugmentedError<ApiType>;
/**
* The alias to remove authorization for was not found.
**/
AliasNotFound: AugmentedError<ApiType>;
/**
* The location is invalid since it already has a subscription from us.
**/
@@ -817,6 +830,10 @@ declare module '@polkadot/api-base/types/errors' {
* The assets to be sent are empty.
**/
Empty: AugmentedError<ApiType>;
/**
* Expiry block number is in the past.
**/
ExpiresInPast: AugmentedError<ApiType>;
/**
* The operation required fees to be paid which the initiator could not meet.
**/
@@ -866,6 +883,10 @@ declare module '@polkadot/api-base/types/errors' {
* Too many assets have been attempted for transfer.
**/
TooManyAssets: AugmentedError<ApiType>;
/**
* Too many locations authorized to alias origin.
**/
TooManyAuthorizedAliases: AugmentedError<ApiType>;
/**
* The asset owner has too many locks on the asset.
**/
@@ -917,6 +938,14 @@ declare module '@polkadot/api-base/types/errors' {
* Callback action resulted in error
**/
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.
**/
@@ -1053,6 +1082,221 @@ declare module '@polkadot/api-base/types/errors' {
**/
[key: string]: AugmentedError<ApiType>;
};
revive: {
/**
* Tried to map an account that is already mapped.
**/
AccountAlreadyMapped: AugmentedError<ApiType>;
/**
* An `AccountID32` account tried to interact with the pallet without having a mapping.
*
* Call [`Pallet::map_account`] in order to create a mapping for the account.
**/
AccountUnmapped: AugmentedError<ApiType>;
/**
* 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: {
/**
* Registered duplicate key.
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/events';
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, 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 { AccountId32, H160, H256, Permill } from '@polkadot/types/interfaces/runtime';
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>;
@@ -470,6 +470,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
multisig: {
/**
* The deposit for a multisig operation has been updated/poked.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
/**
* A multisig operation has been approved by someone.
**/
@@ -697,6 +701,19 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
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
**/
@@ -777,6 +794,10 @@ declare module '@polkadot/api-base/types/events' {
* sending the notification to it.
**/
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
/**
* An XCM message failed to process.
**/
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], { origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed }>;
/**
* Query response has been received and is ready for taking with `take_response`. There is
* no registered notification call.
@@ -787,7 +808,11 @@ declare module '@polkadot/api-base/types/events' {
**/
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
/**
* A XCM message was sent.
* An XCM message failed to send.
**/
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed }>;
/**
* An XCM message was sent.
**/
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
@@ -946,6 +971,10 @@ declare module '@polkadot/api-base/types/events' {
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
/**
* A deposit stored for proxies or announcements was poked / updated.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
/**
* A proxy was added.
**/
@@ -968,12 +997,30 @@ declare module '@polkadot/api-base/types/events' {
**/
[key: string]: AugmentedEvent<ApiType>;
};
revive: {
/**
* A custom event emitted by the contract.
**/
ContractEmitted: AugmentedEvent<ApiType, [contract: H160, data: Bytes, topics: Vec<H256>], { contract: H160, data: Bytes, topics: Vec<H256> }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
session: {
/**
* New session has happened. Note that the argument is the session index, not the
* block number as the type might suggest.
**/
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
/**
* Validator has been disabled.
**/
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Validator has been re-enabled.
**/
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Generic event
**/
@@ -1023,6 +1070,10 @@ declare module '@polkadot/api-base/types/events' {
* A new account was created.
**/
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* An invalid authorized upgrade was rejected while trying to apply it.
**/
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], { codeHash: H256, error: SpRuntimeDispatchError }>;
/**
* On on-chain remark happened.
**/
@@ -1195,6 +1246,14 @@ declare module '@polkadot/api-base/types/events' {
* A call was dispatched.
**/
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
/**
* The fallback call was dispatched.
**/
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], { mainError: SpRuntimeDispatchError }>;
/**
* Main call was dispatched.
**/
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
/**
* A single item within a Batch of dispatches has completed with no error.
**/
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256 } 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 { 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, 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';
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, []>;
/**
* 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
**/
@@ -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).
**/
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.
**/
@@ -686,6 +693,49 @@ declare module '@polkadot/api-base/types/storage' {
**/
[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: {
/**
* 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
* 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.
**/
@@ -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).
**/
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.
**/
@@ -6,12 +6,12 @@
import '@polkadot/api-base/types/calls';
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, Text, Vec, bool, u128, u32 } from '@polkadot/types-codec';
import type { Bytes, Null, Option, Result, Text, U256, U8aFixed, Vec, bool, u128, u32 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { AccountId32, H160, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
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';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -67,7 +67,7 @@ declare module '@polkadot/api-base/types/calls' {
/** 0xd7bdd8a272ca0d65/ */
auraUnincludedSegmentApi: {
/**
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given relay chain slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
**/
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
/**
@@ -214,6 +214,61 @@ declare module '@polkadot/api-base/types/calls' {
**/
[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/ */
sessionKeys: {
/**
+251 -1
View File
@@ -8,7 +8,7 @@ import '@polkadot/api-base/types/submittable';
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 { 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';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
@@ -403,6 +403,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `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.
**/
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.
* - `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.
**/
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
* 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>]>;
/**
@@ -1132,6 +1141,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `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.
**/
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.
* - `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.
**/
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
* 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]>;
/**
@@ -1500,6 +1518,22 @@ declare module '@polkadot/api-base/types/submittable' {
* - Storage: removes one item.
**/
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
/**
* Poke the deposit reserved for an existing multisig operation.
*
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
* the multisig operation.
*
* The transaction fee is waived if the deposit amount has changed.
*
* - `threshold`: The total number of approvals needed for this multisig.
* - `other_signatories`: The accounts (other than the sender) who are part of the
* multisig.
* - `call_hash`: The hash of the call this deposit is reserved for.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
/**
* Generic tx
**/
@@ -2201,6 +2235,20 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
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.
*
@@ -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.
**/
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
* making this call.
**/
removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Remove a previously authorized `aliaser` from the list of locations that can alias into
* the local `origin` making this call.
**/
removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
/**
* Transfer some assets from the local chain to the destination chain through their local,
* destination or remote reserve.
@@ -2780,6 +2838,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `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.
**/
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.
* - `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.
**/
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
* 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]>;
/**
@@ -3078,6 +3145,17 @@ declare module '@polkadot/api-base/types/submittable' {
* account whose `pure` call has corresponding parameters.
**/
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: 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
* `add_proxy`.
@@ -3220,6 +3298,144 @@ declare module '@polkadot/api-base/types/submittable' {
**/
[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: {
/**
* Removes any session key(s) of the function caller.
@@ -3927,6 +4143,14 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(1).
**/
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.
* 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.
**/
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.
*
@@ -8,7 +8,7 @@ import '@polkadot/api-base/types/consts';
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec } from '@polkadot/types-codec/types';
import type { Permill } from '@polkadot/types/interfaces/runtime';
import type { AccountId32, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -134,6 +134,37 @@ declare module '@polkadot/api-base/types/consts' {
**/
[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: {
/**
* 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;
};
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: {
/**
* 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
**/
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.
**/
@@ -362,6 +370,14 @@ declare module '@polkadot/api-base/types/errors' {
* Callback action resulted in error
**/
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.
**/
@@ -496,7 +512,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoApprovalsNeeded: AugmentedError<ApiType>;
/**
* Multisig operation not found when attempting to cancel.
* Multisig operation not found in storage.
**/
NotFound: AugmentedError<ApiType>;
/**
@@ -504,7 +520,8 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoTimepoint: AugmentedError<ApiType>;
/**
* Only the account that originally created the multisig is able to cancel it.
* Only the account that originally created the multisig is able to cancel it or update
* its deposits.
**/
NotOwner: AugmentedError<ApiType>;
/**
@@ -727,10 +744,6 @@ declare module '@polkadot/api-base/types/errors' {
* The inherent which supplies the host configuration did not run this block.
**/
HostConfigurationNotAvailable: AugmentedError<ApiType>;
/**
* No code upgrade has been authorized.
**/
NothingAuthorized: AugmentedError<ApiType>;
/**
* No validation function upgrade is currently scheduled.
**/
@@ -748,10 +761,6 @@ declare module '@polkadot/api-base/types/errors' {
* willing to run.
**/
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.
**/
@@ -766,6 +775,10 @@ declare module '@polkadot/api-base/types/errors' {
* The given account is not an identifiable sovereign account for any location.
**/
AccountNotSovereign: AugmentedError<ApiType>;
/**
* The alias to remove authorization for was not found.
**/
AliasNotFound: AugmentedError<ApiType>;
/**
* The location is invalid since it already has a subscription from us.
**/
@@ -795,6 +808,10 @@ declare module '@polkadot/api-base/types/errors' {
* The assets to be sent are empty.
**/
Empty: AugmentedError<ApiType>;
/**
* Expiry block number is in the past.
**/
ExpiresInPast: AugmentedError<ApiType>;
/**
* The operation required fees to be paid which the initiator could not meet.
**/
@@ -844,6 +861,10 @@ declare module '@polkadot/api-base/types/errors' {
* Too many assets have been attempted for transfer.
**/
TooManyAssets: AugmentedError<ApiType>;
/**
* Too many locations authorized to alias origin.
**/
TooManyAuthorizedAliases: AugmentedError<ApiType>;
/**
* The asset owner has too many locks on the asset.
**/
@@ -895,6 +916,14 @@ declare module '@polkadot/api-base/types/errors' {
* Callback action resulted in error
**/
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.
**/
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256, 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>;
@@ -470,6 +470,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
multisig: {
/**
* The deposit for a multisig operation has been updated/poked.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
/**
* A multisig operation has been approved by someone.
**/
@@ -683,6 +687,19 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
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
**/
@@ -763,6 +780,10 @@ declare module '@polkadot/api-base/types/events' {
* sending the notification to it.
**/
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
/**
* An XCM message failed to process.
**/
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], { origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed }>;
/**
* Query response has been received and is ready for taking with `take_response`. There is
* no registered notification call.
@@ -773,7 +794,11 @@ declare module '@polkadot/api-base/types/events' {
**/
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
/**
* A XCM message was sent.
* An XCM message failed to send.
**/
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed }>;
/**
* An XCM message was sent.
**/
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
@@ -932,6 +957,10 @@ declare module '@polkadot/api-base/types/events' {
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
/**
* A deposit stored for proxies or announcements was poked / updated.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
/**
* A proxy was added.
**/
@@ -960,6 +989,14 @@ declare module '@polkadot/api-base/types/events' {
* block number as the type might suggest.
**/
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
/**
* Validator has been disabled.
**/
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Validator has been re-enabled.
**/
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Generic event
**/
@@ -1009,6 +1046,10 @@ declare module '@polkadot/api-base/types/events' {
* A new account was created.
**/
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* An invalid authorized upgrade was rejected while trying to apply it.
**/
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], { codeHash: H256, error: SpRuntimeDispatchError }>;
/**
* On on-chain remark happened.
**/
@@ -1181,6 +1222,14 @@ declare module '@polkadot/api-base/types/events' {
* A call was dispatched.
**/
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
/**
* The fallback call was dispatched.
**/
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], { mainError: SpRuntimeDispatchError }>;
/**
* Main call was dispatched.
**/
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
/**
* A single item within a Batch of dispatches has completed with no error.
**/
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256 } 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 { 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, 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';
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, []>;
/**
* 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
**/
@@ -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).
**/
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.
**/
@@ -677,7 +684,7 @@ declare module '@polkadot/api-base/types/storage' {
* disabled using binary search. It gets cleared when `on_session_ending` returns
* a new set of identities.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
**/
@@ -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).
**/
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.
**/
@@ -67,7 +67,7 @@ declare module '@polkadot/api-base/types/calls' {
/** 0xd7bdd8a272ca0d65/ */
auraUnincludedSegmentApi: {
/**
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given relay chain slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
**/
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
/**
@@ -403,6 +403,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `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.
**/
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.
* - `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.
**/
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
* 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>]>;
/**
@@ -1132,6 +1141,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `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.
**/
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.
* - `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.
**/
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
* 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]>;
/**
@@ -1500,6 +1518,22 @@ declare module '@polkadot/api-base/types/submittable' {
* - Storage: removes one item.
**/
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
/**
* Poke the deposit reserved for an existing multisig operation.
*
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
* the multisig operation.
*
* The transaction fee is waived if the deposit amount has changed.
*
* - `threshold`: The total number of approvals needed for this multisig.
* - `other_signatories`: The accounts (other than the sender) who are part of the
* multisig.
* - `call_hash`: The hash of the call this deposit is reserved for.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
/**
* Generic tx
**/
@@ -2156,6 +2190,20 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
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.
*
@@ -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.
**/
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
* making this call.
**/
removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Remove a previously authorized `aliaser` from the list of locations that can alias into
* the local `origin` making this call.
**/
removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
/**
* Transfer some assets from the local chain to the destination chain through their local,
* destination or remote reserve.
@@ -2735,6 +2793,9 @@ declare module '@polkadot/api-base/types/submittable' {
* refunded.
* - `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.
**/
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.
* - `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.
**/
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
* 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]>;
/**
@@ -3033,6 +3100,17 @@ declare module '@polkadot/api-base/types/submittable' {
* account whose `pure` call has corresponding parameters.
**/
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: 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
* `add_proxy`.
@@ -3816,6 +3894,14 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(1).
**/
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.
* 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.
**/
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.
*
+31 -7
View File
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/consts';
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec, ITuple } from '@polkadot/types-codec/types';
import type { Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
import type { AccountId32, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -128,7 +128,12 @@ declare module '@polkadot/api-base/types/consts' {
**/
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
/**
* Bounty duration in blocks.
* The time limit for a curator to act before a bounty expires.
*
* The period that starts when a curator is approved, during which they must execute or
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
* removing the need for `extend_bounty_expiry`.
**/
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
/**
@@ -348,9 +353,11 @@ declare module '@polkadot/api-base/types/consts' {
**/
submissionDeposit: u128 & AugmentedConst<ApiType>;
/**
* Information concerning the different referendum tracks.
* A list of tracks.
*
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
**/
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
/**
* The number of blocks after submission that a referendum must begin being decided by.
* Once this passes, then anyone may cancel the referendum.
@@ -707,9 +714,11 @@ declare module '@polkadot/api-base/types/consts' {
**/
submissionDeposit: u128 & AugmentedConst<ApiType>;
/**
* Information concerning the different referendum tracks.
* A list of tracks.
*
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
**/
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
/**
* The number of blocks after submission that a referendum must begin being decided by.
* Once this passes, then anyone may cancel the referendum.
@@ -983,6 +992,10 @@ declare module '@polkadot/api-base/types/consts' {
* The period during which an approved treasury spend has to be claimed.
**/
payoutPeriod: u32 & AugmentedConst<ApiType>;
/**
* Gets this pallet's derived pot account.
**/
potAccount: AccountId32 & AugmentedConst<ApiType>;
/**
* Period between successive spends.
**/
@@ -1065,5 +1078,16 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
xcmPallet: {
/**
* The latest supported version that we advertise. Generally just set it to
* `pallet_xcm::CurrentXcmVersion`.
**/
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
} // AugmentedConsts
} // declare module
+41 -2
View File
@@ -954,7 +954,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoApprovalsNeeded: AugmentedError<ApiType>;
/**
* Multisig operation not found when attempting to cancel.
* Multisig operation not found in storage.
**/
NotFound: AugmentedError<ApiType>;
/**
@@ -962,7 +962,8 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoTimepoint: AugmentedError<ApiType>;
/**
* Only the account that originally created the multisig is able to cancel it.
* Only the account that originally created the multisig is able to cancel it or update
* its deposits.
**/
NotOwner: AugmentedError<ApiType>;
/**
@@ -1260,10 +1261,19 @@ declare module '@polkadot/api-base/types/errors' {
* A (bonded) pool id does not exist.
**/
PoolNotFound: AugmentedError<ApiType>;
/**
* Account is restricted from participation in pools. This may happen if the account is
* staking in another way already.
**/
Restricted: AugmentedError<ApiType>;
/**
* A reward pool does not exist. In all cases this is a system logic error.
**/
RewardPoolNotFound: AugmentedError<ApiType>;
/**
* The slash amount is too low to be applied.
**/
SlashTooLow: AugmentedError<ApiType>;
/**
* A sub pool does not exist.
**/
@@ -1274,6 +1284,10 @@ declare module '@polkadot/api-base/types/errors' {
[key: string]: AugmentedError<ApiType>;
};
onDemandAssignmentProvider: {
/**
* The account doesn't have enough credits to purchase on-demand coretime.
**/
InsufficientCredits: AugmentedError<ApiType>;
/**
* The order queue is full, `place_order` will not continue.
**/
@@ -2001,6 +2015,10 @@ declare module '@polkadot/api-base/types/errors' {
* Rewards for this era have already been claimed for this validator.
**/
AlreadyClaimed: AugmentedError<ApiType>;
/**
* The stake of this account is already migrated to `Fungible` holds.
**/
AlreadyMigrated: AugmentedError<ApiType>;
/**
* Controller is already paired.
**/
@@ -2021,6 +2039,10 @@ declare module '@polkadot/api-base/types/errors' {
* The user has enough bond and thus cannot be chilled forcefully by an external person.
**/
CannotChillOther: AugmentedError<ApiType>;
/**
* Stash could not be reaped as other pallet might depend on it.
**/
CannotReapStash: AugmentedError<ApiType>;
/**
* Cannot reset a ledger.
**/
@@ -2099,6 +2121,11 @@ declare module '@polkadot/api-base/types/errors' {
* Can not rebond without unlocking chunks.
**/
NoUnlockChunk: AugmentedError<ApiType>;
/**
* Account is restricted from participation in staking. This may happen if the account is
* staking in another way already, such as via pool.
**/
Restricted: AugmentedError<ApiType>;
/**
* Provided reward destination is not allowed.
**/
@@ -2301,6 +2328,10 @@ declare module '@polkadot/api-base/types/errors' {
* The given account is not an identifiable sovereign account for any location.
**/
AccountNotSovereign: AugmentedError<ApiType>;
/**
* The alias to remove authorization for was not found.
**/
AliasNotFound: AugmentedError<ApiType>;
/**
* The location is invalid since it already has a subscription from us.
**/
@@ -2330,6 +2361,10 @@ declare module '@polkadot/api-base/types/errors' {
* The assets to be sent are empty.
**/
Empty: AugmentedError<ApiType>;
/**
* Expiry block number is in the past.
**/
ExpiresInPast: AugmentedError<ApiType>;
/**
* The operation required fees to be paid which the initiator could not meet.
**/
@@ -2379,6 +2414,10 @@ declare module '@polkadot/api-base/types/errors' {
* Too many assets have been attempted for transfer.
**/
TooManyAssets: AugmentedError<ApiType>;
/**
* Too many locations authorized to alias origin.
**/
TooManyAuthorizedAliases: AugmentedError<ApiType>;
/**
* The asset owner has too many locks on the asset.
**/
+95 -4
View File
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
import type { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, KusamaRuntimeConstantsProxyProxyType, PalletConvictionVotingTally, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletProxyDepositKind, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesVstagingCandidateReceiptV2, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -251,13 +251,17 @@ declare module '@polkadot/api-base/types/events' {
**/
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
/**
* An account that has voted
* An account has voted
**/
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
/**
* A vote that been removed
* A vote has been removed
**/
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
/**
* The lockup period of a conviction vote expired, and the funds have been unlocked.
**/
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], { who: AccountId32, class: u16 }>;
/**
* Generic event
**/
@@ -557,6 +561,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
indices: {
/**
* A deposit to reserve an index has been poked/reconsidered.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
/**
* A account index was assigned.
**/
@@ -597,6 +605,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
multisig: {
/**
* The deposit for a multisig operation has been updated/poked.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
/**
* A multisig operation has been approved by someone.
**/
@@ -761,6 +773,14 @@ declare module '@polkadot/api-base/types/events' {
* A pool has been destroyed.
**/
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
/**
* Global parameters regulating nomination pools have been updated.
**/
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill> }>;
/**
* A pool member's claim permission has been updated.
**/
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], { member: AccountId32, permission: PalletNominationPoolsClaimPermission }>;
/**
* A member has been removed from a pool.
*
@@ -769,6 +789,10 @@ declare module '@polkadot/api-base/types/events' {
* represented by `released_balance`.
**/
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
/**
* A pool's metadata was updated.
**/
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
/**
* Topped up deficit in frozen ED of the reward pool.
**/
@@ -801,6 +825,15 @@ declare module '@polkadot/api-base/types/events' {
* A pool's maximum commission setting has been changed.
**/
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
/**
* A pool's nominating account (or the pool's root account) has nominated a validator set
* on behalf of the pool.
**/
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
/**
* The pool is chilled i.e. no longer nominating.
**/
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
/**
* The active balance of pool `pool_id` has been slashed to `balance`.
**/
@@ -859,6 +892,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
onDemandAssignmentProvider: {
/**
* An account was given credits.
**/
AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* An order was placed at some spot price amount by orderer ordered_by
**/
@@ -992,6 +1029,10 @@ declare module '@polkadot/api-base/types/events' {
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
/**
* A deposit stored for proxies or announcements was poked / updated.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
/**
* A proxy was added.
**/
@@ -1119,6 +1160,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
scheduler: {
/**
* Agenda is incomplete from `when`.
**/
AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], { when: u32 }>;
/**
* The call for the provided hash was not found so the task has been aborted.
**/
@@ -1167,6 +1212,14 @@ declare module '@polkadot/api-base/types/events' {
* block number as the type might suggest.
**/
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
/**
* Validator has been disabled.
**/
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Validator has been re-enabled.
**/
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Generic event
**/
@@ -1281,6 +1334,11 @@ declare module '@polkadot/api-base/types/events' {
* Report of a controller batch deprecation.
**/
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
/**
* Staking balance migrated from locks to holds, with any balance that could not be held
* is force withdrawn.
**/
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], { stash: AccountId32, forceWithdraw: u128 }>;
/**
* The era payout has been set; the first balance is the validator-payout; the second is
* the remainder from the maximum amount of reward.
@@ -1371,6 +1429,10 @@ declare module '@polkadot/api-base/types/events' {
* A new account was created.
**/
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* An invalid authorized upgrade was rejected while trying to apply it.
**/
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], { codeHash: H256, error: SpRuntimeDispatchError }>;
/**
* On on-chain remark happened.
**/
@@ -1468,6 +1530,14 @@ declare module '@polkadot/api-base/types/events' {
* A call was dispatched.
**/
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
/**
* The fallback call was dispatched.
**/
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], { mainError: SpRuntimeDispatchError }>;
/**
* Main call was dispatched.
**/
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
/**
* A single item within a Batch of dispatches has completed with no error.
**/
@@ -1520,6 +1590,19 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
xcmPallet: {
/**
* `target` removed alias authorization for `aliaser`.
**/
AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location }>;
/**
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
* `expiry` block number.
**/
AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64> }>;
/**
* `target` removed all alias authorizations.
**/
AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], { target: StagingXcmV5Location }>;
/**
* Some assets have been claimed from an asset trap
**/
@@ -1600,6 +1683,10 @@ declare module '@polkadot/api-base/types/events' {
* sending the notification to it.
**/
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
/**
* An XCM message failed to process.
**/
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], { origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed }>;
/**
* Query response has been received and is ready for taking with `take_response`. There is
* no registered notification call.
@@ -1610,7 +1697,11 @@ declare module '@polkadot/api-base/types/events' {
**/
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
/**
* A XCM message was sent.
* An XCM message failed to send.
**/
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed }>;
/**
* An XCM message was sent.
**/
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
+25 -12
View File
@@ -10,7 +10,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmAuthorizedAliasesEntry, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -1167,6 +1167,10 @@ declare module '@polkadot/api-base/types/storage' {
* Queue entries that are currently bound to a particular core due to core affinity.
**/
affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Keeps track of credits owned by each account.
**/
credits: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
**/
@@ -1627,6 +1631,9 @@ declare module '@polkadot/api-base/types/storage' {
* Items to be executed, indexed by the block number that they should be executed on.
**/
agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Block number at which the agenda began incomplete execution.
**/
incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Lookup from a name to the block number and index of the task.
@@ -1656,7 +1663,7 @@ declare module '@polkadot/api-base/types/storage' {
* disabled using binary search. It gets cleared when `on_session_ending` returns
* a new set of identities.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
**/
@@ -1862,16 +1869,6 @@ declare module '@polkadot/api-base/types/storage' {
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
**/
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Indices of validators that have offended in the active era. The offenders are disabled for a
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
* implicitly means that the implementor also controls the max number of disabled validators.
*
* The vec is always kept sorted so that we can find whether a given validator has previously
* offended using binary search.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Rewards for the last [`Config::HistoryDepth`] eras.
* If reward hasn't been set or has been removed then 0 reward is returned.
@@ -2158,6 +2155,16 @@ declare module '@polkadot/api-base/types/storage' {
* Extrinsics data for the current block (maps an extrinsic's index to its data).
**/
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The weight reclaimed for the extrinsic.
*
* This information is available until the end of the extrinsic execution.
* More precisely this information is removed in `note_applied_extrinsic`.
*
* Logic doing some post dispatch weight reduction must update this storage to avoid duplicate
* reduction.
**/
extrinsicWeightReclaimed: AugmentedQuery<ApiType, () => Observable<SpWeightsWeightV2Weight>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Whether all inherents have been applied.
**/
@@ -2309,6 +2316,12 @@ declare module '@polkadot/api-base/types/storage' {
* times this pair has been trapped (usually just 1 if it exists at all).
**/
assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
/**
* Map of authorized aliasers of local origins. Each local location can authorize a list of
* other locations to alias into it. Each aliaser is only valid until its inner `expiry`
* block number.
**/
authorizedAliases: AugmentedQuery<ApiType, (arg: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PalletXcmAuthorizedAliasesEntry>>, [XcmVersionedLocation]> & QueryableStorageEntry<ApiType, [XcmVersionedLocation]>;
/**
* The current migration's stage, if any.
**/
+10 -2
View File
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -302,7 +302,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
* Returns the pending slash for a given pool member.
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
**/
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
/**
@@ -367,6 +367,10 @@ declare module '@polkadot/api-base/types/calls' {
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
**/
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
/**
* Returns the constraints on the actions that can be taken by a new parachain, block.
**/
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingConstraints>>>;
/**
* Get a vector of events concerning candidates that occurred within a block.
**/
@@ -431,6 +435,10 @@ declare module '@polkadot/api-base/types/calls' {
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
**/
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
/**
* Retrieve the scheduling lookahead
**/
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Returns execution parameters for the session.
**/
+185 -26
View File
@@ -1012,6 +1012,7 @@ declare module '@polkadot/api-base/types/submittable' {
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
**/
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PalletBrokerCoretimeInterfaceCoreAssignment | { Idle: any } | { Pool: any } | { Task: any } | string | Uint8Array, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
creditAccount: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128]>;
/**
* Request the configuration to be updated with the specified number of cores. Warning:
* Since this only schedules a configuration update, it takes two sessions to come into
@@ -1641,6 +1642,19 @@ declare module '@polkadot/api-base/types/submittable' {
* - `O(1)`.
**/
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Poke the deposit reserved for an index.
*
* The dispatch origin for this call must be _Signed_ and the signing account must have a
* non-frozen account `index`.
*
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
*
* - `index`: the index whose deposit is to be poked/reconsidered.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Assign an index already owned by the sender to another account. The balance reservation
* is effectively transferred to the new account.
@@ -1814,6 +1828,22 @@ declare module '@polkadot/api-base/types/submittable' {
* - Storage: removes one item.
**/
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
/**
* Poke the deposit reserved for an existing multisig operation.
*
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
* the multisig operation.
*
* The transaction fee is waived if the deposit amount has changed.
*
* - `threshold`: The total number of approvals needed for this multisig.
* - `other_signatories`: The accounts (other than the sender) who are part of the
* multisig.
* - `call_hash`: The hash of the call this deposit is reserved for.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
/**
* Generic tx
**/
@@ -1989,8 +2019,10 @@ declare module '@polkadot/api-base/types/submittable' {
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
* [`adapter::StakeStrategyType::Delegate`].
*
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
* slash to be applied, caller may be rewarded with the part of the slash.
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
* is successful, fee is refunded and caller may be rewarded with a part of the slash
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
**/
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
@@ -2021,25 +2053,37 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch origin of this call can be signed by the pool nominator or the pool
* root role, same as [`Pallet::nominate`].
*
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
*
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
* account).
*
* # Conditions for a permissionless dispatch:
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
* are unable to unbond.
*
* # Conditions for permissioned dispatch:
* * The caller has a nominator or root role of the pool.
* This directly forward the call to the staking pallet, on behalf of the pool bonded
* account.
* * The caller is the pool's nominator or root.
**/
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Claim pending commission.
*
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
* commission is paid out and added to total claimed commission`. Total pending commission
* is reset to zero. the current.
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
*
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
* trigger the process of claiming the pool's commission.
*
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
* accounts
* * `acc`, and
* * the pool's root account
*
* may call this extrinsic on behalf of the pool.
*
* Pending commissions are paid out and added to the total claimed commission.
* The total pending commission is reset to zero.
**/
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
@@ -2090,8 +2134,9 @@ declare module '@polkadot/api-base/types/submittable' {
**/
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
/**
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
* account and immediately increases the pools bond.
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
* increases the pool's bond.
*
* The method of transferring the amount to the pool account is determined by
* [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -2137,13 +2182,13 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch origin of this call must be signed by the pool nominator or the pool
* root role.
*
* This directly forward the call to the staking pallet, on behalf of the pool bonded
* account.
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
*
* # Note
*
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
* at least `depositor_min_bond` in the pool to start nominating.
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
* have at least `depositor_min_bond` in the pool to start nominating.
**/
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
/**
@@ -2340,6 +2385,26 @@ declare module '@polkadot/api-base/types/submittable' {
* - `OnDemandOrderPlaced`
**/
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
/**
* Create a single on demand core order with credits.
* Will charge the owner's on-demand credit account the spot price for the current block.
*
* Parameters:
* - `origin`: The sender of the call, on-demand credits will be withdrawn from this
* account.
* - `max_amount`: The maximum number of credits to spend from the origin to place an
* order.
* - `para_id`: A `ParaId` the origin wants to provide blockspace for.
*
* Errors:
* - `InsufficientCredits`
* - `QueueFull`
* - `SpotPriceHigherThanMaxAmount`
*
* Events:
* - `OnDemandOrderPlaced`
**/
placeOrderWithCredits: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
/**
* Generic tx
**/
@@ -2458,7 +2523,7 @@ declare module '@polkadot/api-base/types/submittable' {
};
preimage: {
/**
* Ensure that the a bulk of pre-images is upgraded.
* Ensure that the bulk of pre-images is upgraded.
*
* The caller pays no fee if at least 90% of pre-images were successfully updated.
**/
@@ -2568,6 +2633,17 @@ declare module '@polkadot/api-base/types/submittable' {
* account whose `pure` call has corresponding parameters.
**/
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | 'Spokesperson' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
/**
* Poke / Adjust deposits made for proxies and announcements based on current values.
* This can be used by accounts to possibly lower their locked amount.
*
* The dispatch origin for this call must be _Signed_.
*
* The transaction fee is waived if the deposit amount has changed.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Dispatch the given `call` from an account that the sender is authorised for through
* `add_proxy`.
@@ -2740,7 +2816,7 @@ declare module '@polkadot/api-base/types/submittable' {
**/
removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Allow ROOT to bypass the recovery process and set an a rescuer account
* Allow ROOT to bypass the recovery process and set a rescuer account
* for a lost account directly.
*
* The dispatch origin for this call must be _ROOT_.
@@ -3502,6 +3578,40 @@ declare module '@polkadot/api-base/types/submittable' {
* block any further nominations.
**/
kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
/**
* This function allows governance to manually slash a validator and is a
* **fallback mechanism**.
*
* The dispatch origin must be `T::AdminOrigin`.
*
* ## Parameters
* - `validator_stash` - The stash account of the validator to slash.
* - `era` - The era in which the validator was in the active set.
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
*
* ## Behavior
*
* The slash will be applied using the standard slashing mechanics, respecting the
* configured `SlashDeferDuration`.
*
* This means:
* - If the validator was already slashed by a higher percentage for the same era, this
* slash will have no additional effect.
* - If the validator was previously slashed by a lower percentage, only the difference
* will be applied.
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
**/
manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
/**
* Removes the legacy Staking locks if they exist.
*
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
* much as possible. The remaining stake is forced withdrawn from the ledger.
*
* The fee is waived if the migration is successful.
**/
migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* Declare the desire to nominate `targets` for the origin controller.
*
@@ -3719,15 +3829,6 @@ declare module '@polkadot/api-base/types/submittable' {
* The dispatch origin for this call must be _Signed_ by the controller, not the stash.
**/
validate: AugmentedSubmittable<(prefs: PalletStakingValidatorPrefs | { commission?: any; blocked?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStakingValidatorPrefs]>;
/**
* Adjusts the staking ledger by withdrawing any excess staked amount.
*
* This function corrects cases where a user's recorded stake in the ledger
* exceeds their actual staked funds. This situation can arise due to cases such as
* external slashing by another pallet, leading to an inconsistency between the ledger
* and the actual stake.
**/
withdrawOverstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* Remove any unlocked chunks from the `unlocking` queue from our management.
*
@@ -4068,6 +4169,14 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(1).
**/
dispatchAs: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, Call]>;
/**
* Dispatches a function call with a provided origin.
*
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
*
* The dispatch origin for this call must be _Root_.
**/
dispatchAsFallible: AugmentedSubmittable<(asOrigin: StagingKusamaRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeOriginCaller, Call]>;
/**
* Send a batch of dispatch calls.
* Unlike `batch`, it allows errors and won't interrupt.
@@ -4084,6 +4193,32 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(C) where C is the number of calls to be batched.
**/
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
/**
* Dispatch a fallback call in the event the main call fails to execute.
* May be called from any origin except `None`.
*
* This function first attempts to dispatch the `main` call.
* If the `main` call fails, the `fallback` is attemted.
* if the fallback is successfully dispatched, the weights of both calls
* are accumulated and an event containing the main call error is deposited.
*
* In the event of a fallback failure the whole call fails
* with the weights returned.
*
* - `main`: The main call to be dispatched. This is the primary action to execute.
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
*
* ## Dispatch Logic
* - If the origin is `root`, both the main and fallback calls are executed without
* applying any origin filters.
* - If the origin is not `root`, the origin filter is applied to both the `main` and
* `fallback` calls.
*
* ## Use Case
* - Some use cases might involve submitting a `batch` type call in either main, fallback
* or both.
**/
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
/**
* Dispatch a function call with a specified weight.
*
@@ -4245,6 +4380,20 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
xcmPallet: {
/**
* Authorize another `aliaser` location to alias into the local `origin` making this call.
* The `aliaser` is only authorized until the provided `expiry` block number.
* The call can also be used for a previously authorized alias in order to update its
* `expiry` block number.
*
* Usually useful to allow your local account to be aliased into from a remote location
* also under your control (like your account on another chain).
*
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
* `origin` in XCM programs executed on the local chain.
**/
addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
/**
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
*
@@ -4359,6 +4508,16 @@ declare module '@polkadot/api-base/types/submittable' {
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
* making this call.
**/
removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Remove a previously authorized `aliaser` from the list of locations that can alias into
* the local `origin` making this call.
**/
removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
/**
* Transfer some assets from the local chain to the destination chain through their local,
* destination or remote reserve.
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.4.2' };
+27 -5
View File
@@ -8,8 +8,8 @@ import '@polkadot/api-base/types/consts';
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { Codec, ITuple } from '@polkadot/types-codec/types';
import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
@@ -128,7 +128,12 @@ declare module '@polkadot/api-base/types/consts' {
**/
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
/**
* Bounty duration in blocks.
* The time limit for a curator to act before a bounty expires.
*
* The period that starts when a curator is approved, during which they must execute or
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
* removing the need for `extend_bounty_expiry`.
**/
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
/**
@@ -541,9 +546,11 @@ declare module '@polkadot/api-base/types/consts' {
**/
submissionDeposit: u128 & AugmentedConst<ApiType>;
/**
* Information concerning the different referendum tracks.
* A list of tracks.
*
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
**/
tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;
tracks: Vec<ITuple<[u16, PalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
/**
* The number of blocks after submission that a referendum must begin being decided by.
* Once this passes, then anyone may cancel the referendum.
@@ -803,6 +810,10 @@ declare module '@polkadot/api-base/types/consts' {
* The period during which an approved treasury spend has to be claimed.
**/
payoutPeriod: u32 & AugmentedConst<ApiType>;
/**
* Gets this pallet's derived pot account.
**/
potAccount: AccountId32 & AugmentedConst<ApiType>;
/**
* Period between successive spends.
**/
@@ -885,5 +896,16 @@ declare module '@polkadot/api-base/types/consts' {
**/
[key: string]: Codec;
};
xcmPallet: {
/**
* The latest supported version that we advertise. Generally just set it to
* `pallet_xcm::CurrentXcmVersion`.
**/
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
} // AugmentedConsts
} // declare module
+41 -2
View File
@@ -842,7 +842,7 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoApprovalsNeeded: AugmentedError<ApiType>;
/**
* Multisig operation not found when attempting to cancel.
* Multisig operation not found in storage.
**/
NotFound: AugmentedError<ApiType>;
/**
@@ -850,7 +850,8 @@ declare module '@polkadot/api-base/types/errors' {
**/
NoTimepoint: AugmentedError<ApiType>;
/**
* Only the account that originally created the multisig is able to cancel it.
* Only the account that originally created the multisig is able to cancel it or update
* its deposits.
**/
NotOwner: AugmentedError<ApiType>;
/**
@@ -1027,10 +1028,19 @@ declare module '@polkadot/api-base/types/errors' {
* A (bonded) pool id does not exist.
**/
PoolNotFound: AugmentedError<ApiType>;
/**
* Account is restricted from participation in pools. This may happen if the account is
* staking in another way already.
**/
Restricted: AugmentedError<ApiType>;
/**
* A reward pool does not exist. In all cases this is a system logic error.
**/
RewardPoolNotFound: AugmentedError<ApiType>;
/**
* The slash amount is too low to be applied.
**/
SlashTooLow: AugmentedError<ApiType>;
/**
* A sub pool does not exist.
**/
@@ -1041,6 +1051,10 @@ declare module '@polkadot/api-base/types/errors' {
[key: string]: AugmentedError<ApiType>;
};
onDemand: {
/**
* The account doesn't have enough credits to purchase on-demand coretime.
**/
InsufficientCredits: AugmentedError<ApiType>;
/**
* The order queue is full, `place_order` will not continue.
**/
@@ -1564,6 +1578,10 @@ declare module '@polkadot/api-base/types/errors' {
* Rewards for this era have already been claimed for this validator.
**/
AlreadyClaimed: AugmentedError<ApiType>;
/**
* The stake of this account is already migrated to `Fungible` holds.
**/
AlreadyMigrated: AugmentedError<ApiType>;
/**
* Controller is already paired.
**/
@@ -1584,6 +1602,10 @@ declare module '@polkadot/api-base/types/errors' {
* The user has enough bond and thus cannot be chilled forcefully by an external person.
**/
CannotChillOther: AugmentedError<ApiType>;
/**
* Stash could not be reaped as other pallet might depend on it.
**/
CannotReapStash: AugmentedError<ApiType>;
/**
* Cannot reset a ledger.
**/
@@ -1662,6 +1684,11 @@ declare module '@polkadot/api-base/types/errors' {
* Can not rebond without unlocking chunks.
**/
NoUnlockChunk: AugmentedError<ApiType>;
/**
* Account is restricted from participation in staking. This may happen if the account is
* staking in another way already, such as via pool.
**/
Restricted: AugmentedError<ApiType>;
/**
* Provided reward destination is not allowed.
**/
@@ -1900,6 +1927,10 @@ declare module '@polkadot/api-base/types/errors' {
* The given account is not an identifiable sovereign account for any location.
**/
AccountNotSovereign: AugmentedError<ApiType>;
/**
* The alias to remove authorization for was not found.
**/
AliasNotFound: AugmentedError<ApiType>;
/**
* The location is invalid since it already has a subscription from us.
**/
@@ -1929,6 +1960,10 @@ declare module '@polkadot/api-base/types/errors' {
* The assets to be sent are empty.
**/
Empty: AugmentedError<ApiType>;
/**
* Expiry block number is in the past.
**/
ExpiresInPast: AugmentedError<ApiType>;
/**
* The operation required fees to be paid which the initiator could not meet.
**/
@@ -1978,6 +2013,10 @@ declare module '@polkadot/api-base/types/errors' {
* Too many assets have been attempted for transfer.
**/
TooManyAssets: AugmentedError<ApiType>;
/**
* Too many locations authorized to alias origin.
**/
TooManyAuthorizedAliases: AugmentedError<ApiType>;
/**
* The asset owner has too many locks on the asset.
**/
+95 -4
View File
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
import type { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, 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>;
@@ -251,13 +251,17 @@ declare module '@polkadot/api-base/types/events' {
**/
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
/**
* An account that has voted
* An account has voted
**/
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
/**
* A vote that been removed
* A vote has been removed
**/
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PalletConvictionVotingVoteAccountVote }>;
/**
* The lockup period of a conviction vote expired, and the funds have been unlocked.
**/
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], { who: AccountId32, class: u16 }>;
/**
* Generic event
**/
@@ -466,6 +470,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
indices: {
/**
* A deposit to reserve an index has been poked/reconsidered.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
/**
* A account index was assigned.
**/
@@ -506,6 +514,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
multisig: {
/**
* The deposit for a multisig operation has been updated/poked.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
/**
* A multisig operation has been approved by someone.
**/
@@ -540,6 +552,14 @@ declare module '@polkadot/api-base/types/events' {
* A pool has been destroyed.
**/
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
/**
* Global parameters regulating nomination pools have been updated.
**/
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill> }>;
/**
* A pool member's claim permission has been updated.
**/
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PalletNominationPoolsClaimPermission], { member: AccountId32, permission: PalletNominationPoolsClaimPermission }>;
/**
* A member has been removed from a pool.
*
@@ -548,6 +568,10 @@ declare module '@polkadot/api-base/types/events' {
* represented by `released_balance`.
**/
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
/**
* A pool's metadata was updated.
**/
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
/**
* Topped up deficit in frozen ED of the reward pool.
**/
@@ -580,6 +604,15 @@ declare module '@polkadot/api-base/types/events' {
* A pool's maximum commission setting has been changed.
**/
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
/**
* A pool's nominating account (or the pool's root account) has nominated a validator set
* on behalf of the pool.
**/
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
/**
* The pool is chilled i.e. no longer nominating.
**/
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
/**
* The active balance of pool `pool_id` has been slashed to `balance`.
**/
@@ -638,6 +671,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
onDemand: {
/**
* An account was given credits.
**/
AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* An order was placed at some spot price amount by orderer ordered_by
**/
@@ -759,6 +796,10 @@ declare module '@polkadot/api-base/types/events' {
* An announcement was placed to make a call in the future.
**/
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
/**
* A deposit stored for proxies or announcements was poked / updated.
**/
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
/**
* A proxy was added.
**/
@@ -856,6 +897,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
scheduler: {
/**
* Agenda is incomplete from `when`.
**/
AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], { when: u32 }>;
/**
* The call for the provided hash was not found so the task has been aborted.
**/
@@ -904,6 +949,14 @@ declare module '@polkadot/api-base/types/events' {
* block number as the type might suggest.
**/
NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
/**
* Validator has been disabled.
**/
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Validator has been re-enabled.
**/
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
/**
* Generic event
**/
@@ -941,6 +994,11 @@ declare module '@polkadot/api-base/types/events' {
* Report of a controller batch deprecation.
**/
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
/**
* Staking balance migrated from locks to holds, with any balance that could not be held
* is force withdrawn.
**/
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], { stash: AccountId32, forceWithdraw: u128 }>;
/**
* The era payout has been set; the first balance is the validator-payout; the second is
* the remainder from the maximum amount of reward.
@@ -1054,6 +1112,10 @@ declare module '@polkadot/api-base/types/events' {
* A new account was created.
**/
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
/**
* An invalid authorized upgrade was rejected while trying to apply it.
**/
RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], { codeHash: H256, error: SpRuntimeDispatchError }>;
/**
* On on-chain remark happened.
**/
@@ -1151,6 +1213,14 @@ declare module '@polkadot/api-base/types/events' {
* A call was dispatched.
**/
DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], { result: Result<Null, SpRuntimeDispatchError> }>;
/**
* The fallback call was dispatched.
**/
IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], { mainError: SpRuntimeDispatchError }>;
/**
* Main call was dispatched.
**/
IfElseMainSuccess: AugmentedEvent<ApiType, []>;
/**
* A single item within a Batch of dispatches has completed with no error.
**/
@@ -1203,6 +1273,19 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>;
};
xcmPallet: {
/**
* `target` removed alias authorization for `aliaser`.
**/
AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location }>;
/**
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
* `expiry` block number.
**/
AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], { aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64> }>;
/**
* `target` removed all alias authorizations.
**/
AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], { target: StagingXcmV5Location }>;
/**
* Some assets have been claimed from an asset trap
**/
@@ -1283,6 +1366,10 @@ declare module '@polkadot/api-base/types/events' {
* sending the notification to it.
**/
NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], { location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError }>;
/**
* An XCM message failed to process.
**/
ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], { origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed }>;
/**
* Query response has been received and is ready for taking with `take_response`. There is
* no registered notification call.
@@ -1293,7 +1380,11 @@ declare module '@polkadot/api-base/types/events' {
**/
ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
/**
* A XCM message was sent.
* An XCM message failed to send.
**/
SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed }>;
/**
* An XCM message was sent.
**/
Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], { origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed }>;
/**
+25 -12
View File
@@ -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 { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletDelegatedStakingAgentLedger, PalletDelegatedStakingDelegation, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV8AssignmentAppPublic, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8UpgradeGoAhead, PolkadotPrimitivesV8UpgradeRestriction, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCommonAssignment, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV5Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { 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';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -1007,6 +1007,10 @@ declare module '@polkadot/api-base/types/storage' {
* Queue entries that are currently bound to a particular core due to core affinity.
**/
affinityEntries: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BinaryHeapEnqueuedOrder>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Keeps track of credits owned by each account.
**/
credits: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
**/
@@ -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.
**/
agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* Block number at which the agenda began incomplete execution.
**/
incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Lookup from a name to the block number and index of the task.
@@ -1463,7 +1470,7 @@ declare module '@polkadot/api-base/types/storage' {
* disabled using binary search. It gets cleared when `on_session_ending` returns
* a new set of identities.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
**/
@@ -1582,16 +1589,6 @@ declare module '@polkadot/api-base/types/storage' {
* This is basically in sync with the call to [`pallet_session::SessionManager::new_session`].
**/
currentPlannedSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Indices of validators that have offended in the active era. The offenders are disabled for a
* whole era. For this reason they are kept here - only staking pallet knows about eras. The
* implementor of [`DisablingStrategy`] defines if a validator should be disabled which
* implicitly means that the implementor also controls the max number of disabled validators.
*
* The vec is always kept sorted so that we can find whether a given validator has previously
* offended using binary search.
**/
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Rewards for the last [`Config::HistoryDepth`] eras.
* If reward hasn't been set or has been removed then 0 reward is returned.
@@ -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).
**/
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.
**/
@@ -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).
**/
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.
**/
+10 -2
View File
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains';
import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
import type { PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, 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';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -302,7 +302,7 @@ declare module '@polkadot/api-base/types/calls' {
**/
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
/**
* Returns the pending slash for a given pool member.
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
**/
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
/**
@@ -367,6 +367,10 @@ declare module '@polkadot/api-base/types/calls' {
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
**/
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PolkadotPrimitivesVstagingCoreState>>>;
/**
* Returns the constraints on the actions that can be taken by a new parachain, block.
**/
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PolkadotPrimitivesVstagingAsyncBackingConstraints>>>;
/**
* Get a vector of events concerning candidates that occurred within a block.
**/
@@ -431,6 +435,10 @@ declare module '@polkadot/api-base/types/calls' {
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
**/
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
/**
* Retrieve the scheduling lookahead
**/
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Returns execution parameters for the session.
**/
+184 -25
View File
@@ -1012,6 +1012,7 @@ declare module '@polkadot/api-base/types/submittable' {
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
**/
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PalletBrokerCoretimeInterfaceCoreAssignment | { Idle: any } | { Pool: any } | { Task: any } | string | Uint8Array, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
creditAccount: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128]>;
/**
* Request the configuration to be updated with the specified number of cores. Warning:
* Since this only schedules a configuration update, it takes two sessions to come into
@@ -1466,6 +1467,19 @@ declare module '@polkadot/api-base/types/submittable' {
* - `O(1)`.
**/
freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Poke the deposit reserved for an index.
*
* The dispatch origin for this call must be _Signed_ and the signing account must have a
* non-frozen account `index`.
*
* The transaction fees is waived if the deposit is changed after poking/reconsideration.
*
* - `index`: the index whose deposit is to be poked/reconsidered.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Assign an index already owned by the sender to another account. The balance reservation
* is effectively transferred to the new account.
@@ -1639,6 +1653,22 @@ declare module '@polkadot/api-base/types/submittable' {
* - Storage: removes one item.
**/
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
/**
* Poke the deposit reserved for an existing multisig operation.
*
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
* the multisig operation.
*
* The transaction fee is waived if the deposit amount has changed.
*
* - `threshold`: The total number of approvals needed for this multisig.
* - `other_signatories`: The accounts (other than the sender) who are part of the
* multisig.
* - `call_hash`: The hash of the call this deposit is reserved for.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
/**
* Generic tx
**/
@@ -1661,8 +1691,10 @@ declare module '@polkadot/api-base/types/submittable' {
* Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
* [`adapter::StakeStrategyType::Delegate`].
*
* This call can be dispatched permissionlessly (i.e. by any account). If the member has
* slash to be applied, caller may be rewarded with the part of the slash.
* The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
* This call can be dispatched permissionlessly (i.e. by any account). If the execution
* is successful, fee is refunded and caller may be rewarded with a part of the slash
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
**/
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
@@ -1693,25 +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
* root role, same as [`Pallet::nominate`].
*
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
*
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
* account).
*
* # Conditions for a permissionless dispatch:
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
* * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
* are unable to unbond.
*
* # Conditions for permissioned dispatch:
* * The caller has a nominator or root role of the pool.
* This directly forward the call to the staking pallet, on behalf of the pool bonded
* account.
* * The caller is the pool's nominator or root.
**/
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Claim pending commission.
*
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
* commission is paid out and added to total claimed commission`. Total pending commission
* is reset to zero. the current.
* The `root` role of the pool is _always_ allowed to claim the pool's commission.
*
* If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
* trigger the process of claiming the pool's commission.
*
* If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
* accounts
* * `acc`, and
* * the pool's root account
*
* may call this extrinsic on behalf of the pool.
*
* Pending commissions are paid out and added to the total claimed commission.
* The total pending commission is reset to zero.
**/
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
@@ -1762,8 +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]>;
/**
* Stake funds with a pool. The amount to bond is transferred from the member to the pool
* account and immediately increases the pools bond.
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
* increases the pool's bond.
*
* The method of transferring the amount to the pool account is determined by
* [`adapter::StakeStrategyType`]. If the pool is configured to use
@@ -1809,13 +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
* root role.
*
* This directly forward the call to the staking pallet, on behalf of the pool bonded
* account.
* This directly forwards the call to an implementation of `StakingInterface` (e.g.,
* `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
*
* # Note
*
* In addition to a `root` or `nominator` role of `origin`, pool's depositor needs to have
* at least `depositor_min_bond` in the pool to start nominating.
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
* have at least `depositor_min_bond` in the pool to start nominating.
**/
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
/**
@@ -2012,6 +2057,26 @@ declare module '@polkadot/api-base/types/submittable' {
* - `OnDemandOrderPlaced`
**/
placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
/**
* Create a single on demand core order with credits.
* Will charge the owner's on-demand credit account the spot price for the current block.
*
* Parameters:
* - `origin`: The sender of the call, on-demand credits will be withdrawn from this
* account.
* - `max_amount`: The maximum number of credits to spend from the origin to place an
* order.
* - `para_id`: A `ParaId` the origin wants to provide blockspace for.
*
* Errors:
* - `InsufficientCredits`
* - `QueueFull`
* - `SpotPriceHigherThanMaxAmount`
*
* Events:
* - `OnDemandOrderPlaced`
**/
placeOrderWithCredits: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
/**
* Generic tx
**/
@@ -2117,7 +2182,7 @@ declare module '@polkadot/api-base/types/submittable' {
};
preimage: {
/**
* Ensure that the a bulk of pre-images is upgraded.
* Ensure that the bulk of pre-images is upgraded.
*
* The caller pays no fee if at least 90% of pre-images were successfully updated.
**/
@@ -2227,6 +2292,17 @@ declare module '@polkadot/api-base/types/submittable' {
* account whose `pure` call has corresponding parameters.
**/
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeConstantsProxyProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'NominationPools' | 'ParaRegistration' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
/**
* Poke / Adjust deposits made for proxies and announcements based on current values.
* This can be used by accounts to possibly lower their locked amount.
*
* The dispatch origin for this call must be _Signed_.
*
* The transaction fee is waived if the deposit amount has changed.
*
* Emits `DepositPoked` if successful.
**/
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Dispatch the given `call` from an account that the sender is authorised for through
* `add_proxy`.
@@ -2828,6 +2904,40 @@ declare module '@polkadot/api-base/types/submittable' {
* block any further nominations.
**/
kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
/**
* This function allows governance to manually slash a validator and is a
* **fallback mechanism**.
*
* The dispatch origin must be `T::AdminOrigin`.
*
* ## Parameters
* - `validator_stash` - The stash account of the validator to slash.
* - `era` - The era in which the validator was in the active set.
* - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
*
* ## Behavior
*
* The slash will be applied using the standard slashing mechanics, respecting the
* configured `SlashDeferDuration`.
*
* This means:
* - If the validator was already slashed by a higher percentage for the same era, this
* slash will have no additional effect.
* - If the validator was previously slashed by a lower percentage, only the difference
* will be applied.
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
**/
manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
/**
* Removes the legacy Staking locks if they exist.
*
* This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
* hold on it if needed. If all stake cannot be held, the best effort is made to hold as
* much as possible. The remaining stake is forced withdrawn from the ledger.
*
* The fee is waived if the migration is successful.
**/
migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
/**
* Declare the desire to nominate `targets` for the origin controller.
*
@@ -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.
**/
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.
*
@@ -3462,6 +3563,14 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(1).
**/
dispatchAs: AugmentedSubmittable<(asOrigin: PolkadotRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, Call]>;
/**
* Dispatches a function call with a provided origin.
*
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
*
* The dispatch origin for this call must be _Root_.
**/
dispatchAsFallible: AugmentedSubmittable<(asOrigin: PolkadotRuntimeOriginCaller | { system: any } | { Origins: any } | { ParachainsOrigin: any } | { XcmPallet: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PolkadotRuntimeOriginCaller, Call]>;
/**
* Send a batch of dispatch calls.
* Unlike `batch`, it allows errors and won't interrupt.
@@ -3478,6 +3587,32 @@ declare module '@polkadot/api-base/types/submittable' {
* - O(C) where C is the number of calls to be batched.
**/
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
/**
* Dispatch a fallback call in the event the main call fails to execute.
* May be called from any origin except `None`.
*
* This function first attempts to dispatch the `main` call.
* If the `main` call fails, the `fallback` is attemted.
* if the fallback is successfully dispatched, the weights of both calls
* are accumulated and an event containing the main call error is deposited.
*
* In the event of a fallback failure the whole call fails
* with the weights returned.
*
* - `main`: The main call to be dispatched. This is the primary action to execute.
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
*
* ## Dispatch Logic
* - If the origin is `root`, both the main and fallback calls are executed without
* applying any origin filters.
* - If the origin is not `root`, the origin filter is applied to both the `main` and
* `fallback` calls.
*
* ## Use Case
* - Some use cases might involve submitting a `batch` type call in either main, fallback
* or both.
**/
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
/**
* Dispatch a function call with a specified weight.
*
@@ -3639,6 +3774,20 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
xcmPallet: {
/**
* Authorize another `aliaser` location to alias into the local `origin` making this call.
* The `aliaser` is only authorized until the provided `expiry` block number.
* The call can also be used for a previously authorized alias in order to update its
* `expiry` block number.
*
* Usually useful to allow your local account to be aliased into from a remote location
* also under your control (like your account on another chain).
*
* WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
* their/your name. Once authorized using this call, the `aliaser` can freely impersonate
* `origin` in XCM programs executed on the local chain.
**/
addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
/**
* Claims assets trapped on this pallet because of leftover assets during XCM execution.
*
@@ -3753,6 +3902,16 @@ declare module '@polkadot/api-base/types/submittable' {
* - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
**/
limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, assets: XcmVersionedAssets | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* Remove all previously authorized `aliaser`s that can alias into the local `origin`
* making this call.
**/
removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Remove a previously authorized `aliaser` from the list of locations that can alias into
* the local `origin` making this call.
**/
removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
/**
* Transfer some assets from the local chain to the destination chain through their local,
* destination or remote reserve.
@@ -12,7 +12,7 @@ import type { OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { AccountId32, H160, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, FrameSystemEventRecord, PalletContractsPrimitivesCode, PalletContractsPrimitivesCodeUploadReturnValue, PalletContractsPrimitivesContractAccessError, PalletContractsPrimitivesContractResult, PalletContractsPrimitivesExecReturnValue, PalletContractsPrimitivesStorageDeposit, PalletContractsWasmDeterminism, PalletReviveEvmApiDebugRpcTypesCallTrace, PalletReviveEvmApiDebugRpcTypesTracerConfig, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMixnetMixnode, SpMixnetMixnodesErr, SpMixnetSessionStatus, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpStatementStoreRuntimeApiInvalidStatement, SpStatementStoreRuntimeApiStatementSource, SpStatementStoreRuntimeApiValidStatement, SpStatementStoreStatement, SpVersionRuntimeVersion, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, FrameSystemEventRecord, PalletContractsPrimitivesCode, PalletContractsPrimitivesCodeUploadReturnValue, PalletContractsPrimitivesContractAccessError, PalletContractsPrimitivesContractResult, PalletContractsPrimitivesExecReturnValue, PalletContractsPrimitivesStorageDeposit, PalletContractsWasmDeterminism, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMixnetMixnode, SpMixnetMixnodesErr, SpMixnetSessionStatus, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpStatementStoreRuntimeApiInvalidStatement, SpStatementStoreRuntimeApiStatementSource, SpStatementStoreRuntimeApiValidStatement, SpStatementStoreStatement, SpVersionRuntimeVersion, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
@@ -458,15 +458,15 @@ declare module '@polkadot/api-base/types/calls' {
/**
* Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage.
**/
traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesCallTrace]>>>>;
traceBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
/**
* Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
**/
traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesCallTrace, PalletRevivePrimitivesEthTransactError>>>;
traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | { accessList?: any; blobVersionedHashes?: any; blobs?: any; chainId?: any; from?: any; gas?: any; gasPrice?: any; input?: any; maxFeePerBlobGas?: any; maxFeePerGas?: any; maxPriorityFeePerGas?: any; nonce?: any; to?: any; r_type?: any; value?: any } | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
/**
* Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage.
**/
traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerConfig | { CallTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesCallTrace>>>;
traceTx: AugmentedCall<ApiType, (block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | { CallTracer: any } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
/**
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
**/
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "16.2.1",
"@polkadot/types": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/rpc-core": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/util": "^13.5.3",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.4.2' };
+11 -11
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "16.2.1",
"@polkadot/api-augment": "16.2.1",
"@polkadot/types": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/types-create": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"@polkadot/api": "16.4.2",
"@polkadot/api-augment": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api-augment": "16.2.1",
"@polkadot/keyring": "^13.5.1",
"@polkadot/types-support": "16.2.1"
"@polkadot/api-augment": "16.4.2",
"@polkadot/keyring": "^13.5.3",
"@polkadot/types-support": "16.4.2"
}
}
+44 -1
View File
@@ -194,12 +194,55 @@ export class Abi {
// earlier version are hoisted to v4
case '4':
return this.#decodeEventV4(record);
case '5':
return this.#decodeEventV5(record);
// Latest
default:
return this.#decodeEventV5(record);
return this.#decodeEventV6(record);
}
}
#decodeEventV6 = (record: EventRecord): DecodedEvent => {
const topics = record.event.data[2] as unknown as { toHex: () => string }[];
// Try to match by signature topic (first topic)
const signatureTopic = topics[0];
const data = record.event.data[1] as Bytes;
if (signatureTopic) {
const event = this.events.find((e) => e.signatureTopic !== undefined && e.signatureTopic !== null && e.signatureTopic === signatureTopic.toHex());
// Early return if event found by signature topic
if (event) {
return event.fromU8a(data);
}
}
// If no event returned yet, it might be anonymous
const amountOfTopics = topics.length;
const potentialEvents = this.events.filter((e) => {
// event can't have a signature topic
if (e.signatureTopic !== null && e.signatureTopic !== undefined) {
return false;
}
// event should have same amount of indexed fields as emitted topics
const amountIndexed = e.args.filter((a) => a.indexed).length;
if (amountIndexed !== amountOfTopics) {
return false;
}
// If all conditions met, it's a potential event
return true;
});
if (potentialEvents.length === 1) {
return potentialEvents[0].fromU8a(data);
}
throw new Error('Unable to determine event');
};
#decodeEventV5 = (record: EventRecord): DecodedEvent => {
// Find event by first topic, which potentially is the signature_topic
const signatureTopic = record.topics[0];
+1 -1
View File
@@ -85,7 +85,7 @@ export class Blueprint<ApiType extends ApiTypes> extends Base<ApiType> {
: undefined
)
: applyOnEvent(result, ['Instantiated'], ([record]: EventRecord[]) =>
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod)
new Contract<ApiType>(this.api, this.abi, record.event.data[1] as AccountId, this._decorateMethod), this._isRevive
)
)
);
+1 -1
View File
@@ -110,7 +110,7 @@ export class Code<ApiType extends ApiTypes> extends Base<ApiType> {
: this.api.events.contracts.CodeStored.is(event)
? [new Blueprint<ApiType>(this.api, this.abi, (event as unknown as { data: [AccountId] }).data[0], this._decorateMethod), contract]
: [blueprint, contract],
[undefined, undefined])
[undefined, undefined]), this._isRevive
) || [undefined, undefined]))
);
};
+1 -1
View File
@@ -125,7 +125,7 @@ export class Contract<ApiType extends ApiTypes> extends Base<ApiType> {
return null;
}
})
.filter((decoded): decoded is DecodedEvent => !!decoded)
.filter((decoded): decoded is DecodedEvent => !!decoded), this._isRevive
))
);
};
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.4.2' };
+3 -2
View File
@@ -6,9 +6,10 @@ import type { EventRecord } from '@polkadot/types/interfaces';
type ContractEvents = 'CodeStored' | 'ContractEmitted' | 'ContractExecution' | 'Instantiated';
export function applyOnEvent <T> (result: SubmittableResult, types: ContractEvents[], fn: (records: EventRecord[]) => T): T | undefined {
export function applyOnEvent <T> (result: SubmittableResult, types: ContractEvents[], fn: (records: EventRecord[]) => T, isRevive: boolean): T | undefined {
if (result.isInBlock || result.isFinalized) {
const records = result.filterRecords('contracts', types);
const section = isRevive ? 'revive' : 'contracts';
const records = result.filterRecords(section, types);
if (records.length) {
return fn(records);
+14 -14
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "16.2.1",
"@polkadot/api-augment": "16.2.1",
"@polkadot/api-base": "16.2.1",
"@polkadot/rpc-core": "16.2.1",
"@polkadot/types": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"@polkadot/api": "16.4.2",
"@polkadot/api-augment": "16.4.2",
"@polkadot/api-base": "16.4.2",
"@polkadot/rpc-core": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api": "16.2.1",
"@polkadot/api-augment": "16.2.1",
"@polkadot/rpc-augment": "16.2.1",
"@polkadot/rpc-provider": "16.2.1",
"@polkadot/types-support": "16.2.1"
"@polkadot/api": "16.4.2",
"@polkadot/api-augment": "16.4.2",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/rpc-provider": "16.4.2",
"@polkadot/types-support": "16.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.4.2' };
+17 -17
View File
@@ -18,29 +18,29 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "16.2.1",
"@polkadot/api-base": "16.2.1",
"@polkadot/api-derive": "16.2.1",
"@polkadot/keyring": "^13.5.1",
"@polkadot/rpc-augment": "16.2.1",
"@polkadot/rpc-core": "16.2.1",
"@polkadot/rpc-provider": "16.2.1",
"@polkadot/types": "16.2.1",
"@polkadot/types-augment": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/types-create": "16.2.1",
"@polkadot/types-known": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"@polkadot/api-augment": "16.4.2",
"@polkadot/api-base": "16.4.2",
"@polkadot/api-derive": "16.4.2",
"@polkadot/keyring": "^13.5.3",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/rpc-core": "16.4.2",
"@polkadot/rpc-provider": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/types-known": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"eventemitter3": "^5.0.1",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api-augment": "16.2.1",
"@polkadot/types-support": "16.2.1"
"@polkadot/api-augment": "16.4.2",
"@polkadot/types-support": "16.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.4.2' };
+20 -4
View File
@@ -93,6 +93,7 @@ function optionsOrNonce (partialOptions: Partial<SignerOptions> = {}): Partial<S
export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHash, decorateMethod }: SubmittableOptions<ApiType>): CodecClass<SubmittableExtrinsic<ApiType>> {
// an instance of the base extrinsic for us to extend
const ExtrinsicBase = api.registry.createClass('Extrinsic');
const extrinsicInfoMap = new WeakMap<SubmittableExtrinsic<ApiType>, UpdateInfo>();
class Submittable extends ExtrinsicBase implements SubmittableExtrinsic<ApiType> {
readonly #ignoreStatusCb: boolean;
@@ -188,24 +189,39 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
// send implementation for both immediate Hash and statusCb variants
public send (statusCb?: Callback<ISubmittableResult>): SubmittableResultResult<ApiType> | SubmittableResultSubscription<ApiType> {
const isSubscription = api.hasSubscriptions && (this.#ignoreStatusCb || !!statusCb);
const updatedInfo = extrinsicInfoMap.get(this);
extrinsicInfoMap.delete(this);
// eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call
return decorateMethod(
isSubscription
? this.#observeSubscribe
: this.#observeSend
? () => this.#observeSubscribe(updatedInfo)
: () => this.#observeSend(updatedInfo)
)(statusCb);
}
/**
* @description Signs a transaction, returning `this` to allow chaining. E.g.: `signAsync(...).send()`. Like `.signAndSend` this will retrieve the nonce and blockHash to send the tx with.
*/
*/
public signAsync (account: AddressOrPair, partialOptions?: Partial<SignerOptions>): PromiseOrObs<ApiType, this> {
// eslint-disable-next-line @typescript-eslint/no-unsafe-return,@typescript-eslint/no-unsafe-call
return decorateMethod(
(): Observable<this> =>
this.#observeSign(account, partialOptions).pipe(
map(() => this)
map((info) => {
// If we got a full signed transaction from the signer, attach it
if (info.signedTransaction) {
const extrinsic = new Submittable(api.registry, info.signedTransaction);
extrinsicInfoMap.set(this, info);
return extrinsic as this;
}
// Fallback if signer didnt return signedTransaction
return this;
})
)
)();
}
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "16.2.1",
"@polkadot/types": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/rpc-core": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"tslib": "^2.8.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.4.2' };
+7 -7
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "16.2.1",
"@polkadot/rpc-provider": "16.2.1",
"@polkadot/types": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/rpc-provider": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/util": "^13.5.3",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/keyring": "^13.5.1",
"@polkadot/rpc-augment": "16.2.1"
"@polkadot/keyring": "^13.5.3",
"@polkadot/rpc-augment": "16.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.4.2' };
+9 -9
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.5.1",
"@polkadot/types": "16.2.1",
"@polkadot/types-support": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"@polkadot/x-fetch": "^13.5.1",
"@polkadot/x-global": "^13.5.1",
"@polkadot/x-ws": "^13.5.1",
"@polkadot/keyring": "^13.5.3",
"@polkadot/types": "16.4.2",
"@polkadot/types-support": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"@polkadot/x-fetch": "^13.5.3",
"@polkadot/x-global": "^13.5.3",
"@polkadot/x-ws": "^13.5.3",
"eventemitter3": "^5.0.1",
"mock-socket": "^9.3.1",
"nock": "^13.5.5",
@@ -31,6 +31,16 @@ describe('Http', (): void => {
).not.toThrow();
});
it('should throw error on negative cache capacity or TTL', () => {
expect(() =>
new HttpProvider(TEST_HTTP_URL, {}, -5, 30000)
).toThrow(/'capacity' must be a non-negative integer/);
expect(() =>
new HttpProvider(TEST_HTTP_URL, {}, 1024, -1000)
).toThrow(/'ttl' must be between 0 and 1800000 ms or null to disable/);
});
it('allow clone', (): void => {
const clone = http.clone();
/* eslint-disable */
+12 -1
View File
@@ -6,7 +6,8 @@
// for Kusama/Polkadot/Substrate falls between 600-750K, 2x for estimate)
export const DEFAULT_CAPACITY = 1024;
export const DEFAULT_TTL = 30000;
export const DEFAULT_TTL = 30000; // 30 seconds
const MAX_TTL = 1800_000; // 30 minutes
// If the user decides to disable the TTL we set the value
// to a very high number (A year = 365 * 24 * 60 * 60 * 1000).
@@ -52,6 +53,16 @@ export class LRUCache {
readonly #ttl: number;
constructor (capacity = DEFAULT_CAPACITY, ttl: number | null = DEFAULT_TTL) {
// Validate capacity
if (!Number.isInteger(capacity) || capacity < 0) {
throw new Error(`LRUCache initialization error: 'capacity' must be a non-negative integer. Received: ${capacity}`);
}
// Validate ttl
if (ttl !== null && (!Number.isFinite(ttl) || ttl < 0 || ttl > MAX_TTL)) {
throw new Error(`LRUCache initialization error: 'ttl' must be between 0 and ${MAX_TTL} ms or null to disable. Received: ${ttl}`);
}
this.capacity = capacity;
ttl ? this.#ttl = ttl : this.#ttl = DISABLED_TTL;
this.#head = this.#tail = new LRUNode('<empty>', this.#ttl);
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.4.2' };
@@ -60,6 +60,11 @@ describe('Endpoint Parsing', (): void => {
new WsProvider(TEST_WS_URL, 0);
});
it('should throw error on negative cache capacity or TTL', () => {
expect(() => new WsProvider(TEST_WS_URL, false, {}, undefined, -5, 30000)).toThrow(/'capacity' must be a non-negative integer/);
expect(() => new WsProvider(TEST_WS_URL, false, {}, undefined, 1024, -1000)).toThrow(/'ttl' must be between 0 and 1800000 ms or null to disable/);
});
it('Throws when WsProvider endpoint is an invalid string', () => {
expect(
() => new WsProvider('http://127.0.0.1:9955', 0)
+14 -14
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,19 +28,19 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "16.2.1",
"@polkadot/api-augment": "16.2.1",
"@polkadot/api-derive": "16.2.1",
"@polkadot/rpc-augment": "16.2.1",
"@polkadot/rpc-provider": "16.2.1",
"@polkadot/types": "16.2.1",
"@polkadot/types-augment": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/types-create": "16.2.1",
"@polkadot/types-support": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"@polkadot/x-ws": "^13.5.1",
"@polkadot/api": "16.4.2",
"@polkadot/api-augment": "16.4.2",
"@polkadot/api-derive": "16.4.2",
"@polkadot/rpc-augment": "16.4.2",
"@polkadot/rpc-provider": "16.4.2",
"@polkadot/types": "16.4.2",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/types-support": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"@polkadot/x-ws": "^13.5.3",
"comment-parser": "^1.4.1",
"handlebars": "^4.7.8",
"tslib": "^2.8.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.4.2' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/types": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"tslib": "^2.8.1"
}
}
@@ -5,13 +5,13 @@
export default {
/**
* Lookup146: asset_hub_kusama_runtime::ProxyType
* Lookup148: asset_hub_kusama_runtime::ProxyType
**/
AssetHubKusamaRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Collator']
},
/**
* Lookup248: asset_hub_kusama_runtime::RuntimeHoldReason
* Lookup253: asset_hub_kusama_runtime::RuntimeHoldReason
**/
AssetHubKusamaRuntimeRuntimeHoldReason: {
_enum: {
@@ -46,7 +46,7 @@ export default {
__Unused28: 'Null',
__Unused29: 'Null',
__Unused30: 'Null',
__Unused31: 'Null',
PolkadotXcm: 'PalletXcmHoldReason',
__Unused32: 'Null',
__Unused33: 'Null',
__Unused34: 'Null',
@@ -75,7 +75,7 @@ export default {
__Unused57: 'Null',
__Unused58: 'Null',
__Unused59: 'Null',
__Unused60: 'Null',
Revive: 'PalletReviveHoldReason',
__Unused61: 'Null',
__Unused62: 'Null',
__Unused63: 'Null',
@@ -89,17 +89,17 @@ export default {
}
},
/**
* Lookup275: asset_hub_kusama_runtime::SessionKeys
* Lookup283: asset_hub_kusama_runtime::SessionKeys
**/
AssetHubKusamaRuntimeSessionKeys: {
aura: 'SpConsensusAuraSr25519AppSr25519Public'
},
/**
* Lookup276: sp_consensus_aura::sr25519::app_sr25519::Public
* Lookup284: sp_consensus_aura::sr25519::app_sr25519::Public
**/
SpConsensusAuraSr25519AppSr25519Public: '[u8;32]',
/**
* Lookup380: pallet_remote_proxy::pallet::Call<T, I>
* Lookup398: pallet_remote_proxy::pallet::Call<T, I>
**/
PalletRemoteProxyCall: {
_enum: {
@@ -120,7 +120,7 @@ export default {
}
},
/**
* Lookup381: pallet_remote_proxy::pallet::RemoteProxyProof<RemoteBlockNumber>
* Lookup399: pallet_remote_proxy::pallet::RemoteProxyProof<RemoteBlockNumber>
**/
PalletRemoteProxyRemoteProxyProof: {
_enum: {
@@ -131,7 +131,7 @@ export default {
}
},
/**
* Lookup419: asset_hub_kusama_runtime::OriginCaller
* Lookup438: asset_hub_kusama_runtime::OriginCaller
**/
AssetHubKusamaRuntimeOriginCaller: {
_enum: {
@@ -171,17 +171,17 @@ export default {
}
},
/**
* Lookup440: pallet_remote_proxy::pallet::Error<T, I>
* Lookup459: pallet_remote_proxy::pallet::Error<T, I>
**/
PalletRemoteProxyError: {
_enum: ['CouldNotConvertLocalToRemoteAccountId', 'UnknownProofAnchorBlock', 'InvalidProof', 'ProxyDefinitionDecodingFailed', 'Unannounced', 'DidNotFindMatchingProxyDefinition', 'ProxyProofNotRegistered']
},
/**
* Lookup508: asset_hub_kusama_runtime::Runtime
* Lookup532: asset_hub_kusama_runtime::Runtime
**/
AssetHubKusamaRuntimeRuntime: 'Null',
/**
* Lookup567: asset_hub_kusama_runtime::RuntimeError
* Lookup634: asset_hub_kusama_runtime::RuntimeError
**/
AssetHubKusamaRuntimeRuntimeError: {
_enum: {
@@ -245,7 +245,7 @@ export default {
__Unused57: 'Null',
__Unused58: 'Null',
__Unused59: 'Null',
__Unused60: 'Null',
Revive: 'PalletReviveError',
__Unused61: 'Null',
__Unused62: 'Null',
__Unused63: 'Null',
@@ -81,7 +81,7 @@ export default {
}
},
/**
* Lookup133: cumulus_pallet_xcm::pallet::Event<T>
* Lookup135: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_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: {
_enum: {
@@ -104,7 +104,7 @@ export default {
}
},
/**
* Lookup137: cumulus_primitives_core::AggregateMessageOrigin
* Lookup139: cumulus_primitives_core::AggregateMessageOrigin
**/
CumulusPrimitivesCoreAggregateMessageOrigin: {
_enum: {
@@ -114,13 +114,13 @@ export default {
}
},
/**
* Lookup146: asset_hub_polkadot_runtime::ProxyType
* Lookup148: asset_hub_polkadot_runtime::ProxyType
**/
AssetHubPolkadotRuntimeProxyType: {
_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: {
usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth',
@@ -128,7 +128,7 @@ export default {
consumedGoAheadSignal: 'Option<PolkadotPrimitivesV8UpgradeGoAhead>'
},
/**
* Lookup198: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth
* Lookup201: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth
**/
CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: {
umpMsgCount: 'u32',
@@ -136,14 +136,14 @@ export default {
hrmpOutgoing: 'BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>'
},
/**
* Lookup200: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate
* Lookup203: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate
**/
CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: {
msgCount: '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: {
usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth',
@@ -151,13 +151,13 @@ export default {
consumedGoAheadSignal: 'Option<PolkadotPrimitivesV8UpgradeGoAhead>'
},
/**
* Lookup211: sp_trie::storage_proof::StorageProof
* Lookup214: sp_trie::storage_proof::StorageProof
**/
SpTrieStorageProof: {
trieNodes: 'BTreeSet<Bytes>'
},
/**
* Lookup213: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
* Lookup216: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot
**/
CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {
dmqMqcHead: 'H256',
@@ -166,14 +166,14 @@ export default {
egressChannels: 'Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>'
},
/**
* Lookup214: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity
* Lookup217: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity
**/
CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: {
remainingCount: 'u32',
remainingSize: 'u32'
},
/**
* Lookup217: polkadot_primitives::v8::AbridgedHrmpChannel
* Lookup220: polkadot_primitives::v8::AbridgedHrmpChannel
**/
PolkadotPrimitivesV8AbridgedHrmpChannel: {
maxCapacity: 'u32',
@@ -184,7 +184,7 @@ export default {
mqcHead: 'Option<H256>'
},
/**
* Lookup218: polkadot_primitives::v8::AbridgedHostConfiguration
* Lookup221: polkadot_primitives::v8::AbridgedHostConfiguration
**/
PolkadotPrimitivesV8AbridgedHostConfiguration: {
maxCodeSize: 'u32',
@@ -199,7 +199,7 @@ export default {
asyncBackingParams: 'PolkadotPrimitivesV8AsyncBackingAsyncBackingParams'
},
/**
* Lookup226: cumulus_pallet_parachain_system::pallet::Call<T>
* Lookup229: cumulus_pallet_parachain_system::pallet::Call<T>
**/
CumulusPalletParachainSystemCall: {
_enum: {
@@ -212,7 +212,7 @@ export default {
}
},
/**
* Lookup227: cumulus_primitives_parachain_inherent::ParachainInherentData
* Lookup230: cumulus_primitives_parachain_inherent::ParachainInherentData
**/
CumulusPrimitivesParachainInherentParachainInherentData: {
validationData: 'PolkadotPrimitivesV8PersistedValidationData',
@@ -221,17 +221,17 @@ export default {
horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'
},
/**
* Lookup235: cumulus_pallet_parachain_system::pallet::Error<T>
* Lookup238: cumulus_pallet_parachain_system::pallet::Error<T>
**/
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',
/**
* Lookup247: asset_hub_polkadot_runtime::RuntimeHoldReason
* Lookup250: asset_hub_polkadot_runtime::RuntimeHoldReason
**/
AssetHubPolkadotRuntimeRuntimeHoldReason: {
_enum: {
@@ -266,7 +266,7 @@ export default {
__Unused28: 'Null',
__Unused29: 'Null',
__Unused30: 'Null',
__Unused31: 'Null',
PolkadotXcm: 'PalletXcmHoldReason',
__Unused32: 'Null',
__Unused33: '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: {
who: 'AccountId32',
deposit: 'u128'
},
/**
* Lookup269: pallet_collator_selection::pallet::Call<T>
* Lookup273: pallet_collator_selection::pallet::Call<T>
**/
PalletCollatorSelectionCall: {
_enum: {
@@ -350,23 +350,23 @@ export default {
}
},
/**
* Lookup270: pallet_collator_selection::pallet::Error<T>
* Lookup275: pallet_collator_selection::pallet::Error<T>
**/
PalletCollatorSelectionError: {
_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: {
aura: 'SpConsensusAuraEd25519AppEd25519Public'
},
/**
* Lookup274: sp_consensus_aura::ed25519::app_ed25519::Public
* Lookup279: sp_consensus_aura::ed25519::app_ed25519::Public
**/
SpConsensusAuraEd25519AppEd25519Public: '[u8;32]',
/**
* Lookup287: cumulus_pallet_xcmp_queue::OutboundChannelDetails
* Lookup296: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -376,13 +376,13 @@ export default {
lastIndex: 'u16'
},
/**
* Lookup288: cumulus_pallet_xcmp_queue::OutboundState
* Lookup297: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
* Lookup292: cumulus_pallet_xcmp_queue::QueueConfigData
* Lookup301: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -390,7 +390,7 @@ export default {
resumeThreshold: 'u32'
},
/**
* Lookup293: cumulus_pallet_xcmp_queue::pallet::Call<T>
* Lookup302: cumulus_pallet_xcmp_queue::pallet::Call<T>
**/
CumulusPalletXcmpQueueCall: {
_enum: {
@@ -418,24 +418,24 @@ export default {
}
},
/**
* Lookup294: cumulus_pallet_xcmp_queue::pallet::Error<T>
* Lookup303: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig']
},
/**
* Lookup360: cumulus_pallet_xcm::pallet::Call<T>
* Lookup375: cumulus_pallet_xcm::pallet::Call<T>
**/
CumulusPalletXcmCall: 'Null',
/**
* Lookup361: bp_xcm_bridge_hub_router::BridgeState
* Lookup376: bp_xcm_bridge_hub_router::BridgeState
**/
BpXcmBridgeHubRouterBridgeState: {
deliveryFeeFactor: 'u128',
isCongested: 'bool'
},
/**
* Lookup362: pallet_xcm_bridge_hub_router::pallet::Call<T, I>
* Lookup377: pallet_xcm_bridge_hub_router::pallet::Call<T, I>
**/
PalletXcmBridgeHubRouterCall: {
_enum: {
@@ -446,7 +446,7 @@ export default {
}
},
/**
* Lookup414: asset_hub_polkadot_runtime::OriginCaller
* Lookup429: asset_hub_polkadot_runtime::OriginCaller
**/
AssetHubPolkadotRuntimeOriginCaller: {
_enum: {
@@ -486,7 +486,7 @@ export default {
}
},
/**
* Lookup417: cumulus_pallet_xcm::pallet::Origin
* Lookup432: cumulus_pallet_xcm::pallet::Origin
**/
CumulusPalletXcmOrigin: {
_enum: {
@@ -495,17 +495,17 @@ export default {
}
},
/**
* Lookup497: asset_hub_polkadot_runtime::Runtime
* Lookup511: asset_hub_polkadot_runtime::Runtime
**/
AssetHubPolkadotRuntimeRuntime: 'Null',
/**
* Lookup547: assets_common::runtime_api::FungiblesAccessError
* Lookup561: assets_common::runtime_api::FungiblesAccessError
**/
AssetsCommonRuntimeApiFungiblesAccessError: {
_enum: ['AssetIdConversionFailed', 'AmountToBalanceConversionFailed']
},
/**
* Lookup548: cumulus_primitives_core::CollationInfo
* Lookup562: cumulus_primitives_core::CollationInfo
**/
CumulusPrimitivesCoreCollationInfo: {
upwardMessages: 'Vec<Bytes>',
@@ -516,7 +516,7 @@ export default {
headData: 'Bytes'
},
/**
* Lookup556: asset_hub_polkadot_runtime::RuntimeError
* Lookup570: asset_hub_polkadot_runtime::RuntimeError
**/
AssetHubPolkadotRuntimeRuntimeError: {
_enum: {
+65 -13
View File
@@ -226,7 +226,7 @@ export default {
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
},
/**
* Lookup509: staging_kusama_runtime::RuntimeParametersKey
* Lookup510: staging_kusama_runtime::RuntimeParametersKey
**/
StagingKusamaRuntimeRuntimeParametersKey: {
_enum: {
@@ -235,19 +235,19 @@ export default {
}
},
/**
* Lookup510: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
* Lookup511: staging_kusama_runtime::dynamic_params::inflation::ParametersKey
**/
StagingKusamaRuntimeDynamicParamsInflationParametersKey: {
_enum: ['MinInflation', 'MaxInflation', 'IdealStake', 'Falloff', 'UseAuctionSlots']
},
/**
* Lookup511: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
* Lookup512: staging_kusama_runtime::dynamic_params::treasury::ParametersKey
**/
StagingKusamaRuntimeDynamicParamsTreasuryParametersKey: {
_enum: ['BurnPortion', 'BurnDestination']
},
/**
* Lookup513: staging_kusama_runtime::RuntimeParametersValue
* Lookup514: staging_kusama_runtime::RuntimeParametersValue
**/
StagingKusamaRuntimeRuntimeParametersValue: {
_enum: {
@@ -256,7 +256,7 @@ export default {
}
},
/**
* Lookup514: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
* Lookup515: staging_kusama_runtime::dynamic_params::inflation::ParametersValue
**/
StagingKusamaRuntimeDynamicParamsInflationParametersValue: {
_enum: {
@@ -268,7 +268,7 @@ export default {
}
},
/**
* Lookup515: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
* Lookup516: staging_kusama_runtime::dynamic_params::treasury::ParametersValue
**/
StagingKusamaRuntimeDynamicParamsTreasuryParametersValue: {
_enum: {
@@ -277,7 +277,7 @@ export default {
}
},
/**
* Lookup604: staging_kusama_runtime::RuntimeHoldReason
* Lookup608: staging_kusama_runtime::RuntimeHoldReason
**/
StagingKusamaRuntimeRuntimeHoldReason: {
_enum: {
@@ -287,7 +287,7 @@ export default {
__Unused3: 'Null',
__Unused4: 'Null',
__Unused5: 'Null',
__Unused6: 'Null',
Staking: 'PalletStakingPalletHoldReason',
__Unused7: 'Null',
__Unused8: 'Null',
__Unused9: 'Null',
@@ -328,11 +328,63 @@ export default {
__Unused44: 'Null',
__Unused45: 'Null',
__Unused46: 'Null',
DelegatedStaking: 'PalletDelegatedStakingHoldReason'
DelegatedStaking: 'PalletDelegatedStakingHoldReason',
__Unused48: 'Null',
__Unused49: 'Null',
__Unused50: 'Null',
__Unused51: 'Null',
__Unused52: 'Null',
__Unused53: 'Null',
__Unused54: 'Null',
__Unused55: 'Null',
__Unused56: 'Null',
__Unused57: 'Null',
__Unused58: 'Null',
__Unused59: 'Null',
__Unused60: 'Null',
__Unused61: 'Null',
__Unused62: 'Null',
__Unused63: 'Null',
__Unused64: 'Null',
__Unused65: 'Null',
__Unused66: 'Null',
__Unused67: 'Null',
__Unused68: 'Null',
__Unused69: 'Null',
__Unused70: 'Null',
__Unused71: 'Null',
__Unused72: 'Null',
__Unused73: 'Null',
__Unused74: 'Null',
__Unused75: 'Null',
__Unused76: 'Null',
__Unused77: 'Null',
__Unused78: 'Null',
__Unused79: 'Null',
__Unused80: 'Null',
__Unused81: 'Null',
__Unused82: 'Null',
__Unused83: 'Null',
__Unused84: 'Null',
__Unused85: 'Null',
__Unused86: 'Null',
__Unused87: 'Null',
__Unused88: 'Null',
__Unused89: 'Null',
__Unused90: 'Null',
__Unused91: 'Null',
__Unused92: 'Null',
__Unused93: 'Null',
__Unused94: 'Null',
__Unused95: 'Null',
__Unused96: 'Null',
__Unused97: 'Null',
__Unused98: 'Null',
XcmPallet: 'PalletXcmHoldReason'
}
},
/**
* Lookup611: staging_kusama_runtime::RuntimeFreezeReason
* Lookup617: staging_kusama_runtime::RuntimeFreezeReason
**/
StagingKusamaRuntimeRuntimeFreezeReason: {
_enum: {
@@ -381,18 +433,18 @@ export default {
}
},
/**
* Lookup783: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
* Lookup791: frame_support::traits::tokens::misc::IdAmount<Id, Balance>
**/
FrameSupportTokensMiscIdAmount: {
id: 'Null',
amount: 'u128'
},
/**
* Lookup970: staging_kusama_runtime::Runtime
* Lookup983: staging_kusama_runtime::Runtime
**/
StagingKusamaRuntimeRuntime: 'Null',
/**
* Lookup1084: staging_kusama_runtime::RuntimeError
* Lookup1099: staging_kusama_runtime::RuntimeError
**/
StagingKusamaRuntimeRuntimeError: {
_enum: {
+210 -127
View File
@@ -1204,6 +1204,10 @@ export default {
paraId: 'u32',
},
place_order_keep_alive: {
maxAmount: 'u128',
paraId: 'u32',
},
place_order_with_credits: {
maxAmount: 'u128',
paraId: 'u32'
}
@@ -1360,7 +1364,10 @@ export default {
request_revenue_at: {
when: 'u32',
},
__Unused3: 'Null',
credit_account: {
who: 'AccountId32',
amount: 'u128',
},
assign_core: {
core: 'u16',
begin: 'u32',
@@ -1442,8 +1449,16 @@ export default {
remoteFeesId: 'XcmVersionedAssetId',
feesTransferType: 'StagingXcmExecutorAssetTransferTransferType',
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: {
_enum: {
@@ -2400,7 +2415,7 @@ export default {
}
},
/**
* Lookup442: polkadot_runtime_parachains::inclusion::UmpQueueId
* Lookup443: polkadot_runtime_parachains::inclusion::UmpQueueId
**/
PolkadotRuntimeParachainsInclusionUmpQueueId: {
_enum: {
@@ -2408,7 +2423,7 @@ export default {
}
},
/**
* Lookup466: polkadot_runtime_common::claims::pallet::Event<T>
* Lookup467: polkadot_runtime_common::claims::pallet::Event<T>
**/
PolkadotRuntimeCommonClaimsPalletEvent: {
_enum: {
@@ -2420,7 +2435,7 @@ export default {
}
},
/**
* Lookup481: polkadot_runtime_parachains::inclusion::pallet::Event<T>
* Lookup484: polkadot_runtime_parachains::inclusion::pallet::Event<T>
**/
PolkadotRuntimeParachainsInclusionPalletEvent: {
_enum: {
@@ -2434,14 +2449,14 @@ export default {
}
},
/**
* Lookup482: polkadot_primitives::vstaging::CandidateReceiptV2<primitive_types::H256>
* Lookup485: polkadot_primitives::vstaging::CandidateReceiptV2<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCandidateReceiptV2: {
descriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2',
commitmentsHash: 'H256'
},
/**
* Lookup485: polkadot_runtime_parachains::paras::pallet::Event
* Lookup488: polkadot_runtime_parachains::paras::pallet::Event
**/
PolkadotRuntimeParachainsParasPalletEvent: {
_enum: {
@@ -2456,7 +2471,7 @@ export default {
}
},
/**
* Lookup486: polkadot_runtime_parachains::hrmp::pallet::Event<T>
* Lookup489: polkadot_runtime_parachains::hrmp::pallet::Event<T>
**/
PolkadotRuntimeParachainsHrmpPalletEvent: {
_enum: {
@@ -2497,7 +2512,7 @@ export default {
}
},
/**
* Lookup487: polkadot_runtime_parachains::disputes::pallet::Event<T>
* Lookup490: polkadot_runtime_parachains::disputes::pallet::Event<T>
**/
PolkadotRuntimeParachainsDisputesPalletEvent: {
_enum: {
@@ -2507,19 +2522,19 @@ export default {
}
},
/**
* Lookup488: polkadot_runtime_parachains::disputes::DisputeLocation
* Lookup491: polkadot_runtime_parachains::disputes::DisputeLocation
**/
PolkadotRuntimeParachainsDisputesDisputeLocation: {
_enum: ['Local', 'Remote']
},
/**
* Lookup489: polkadot_runtime_parachains::disputes::DisputeResult
* Lookup492: polkadot_runtime_parachains::disputes::DisputeResult
**/
PolkadotRuntimeParachainsDisputesDisputeResult: {
_enum: ['Valid', 'Invalid']
},
/**
* Lookup490: polkadot_runtime_parachains::on_demand::pallet::Event<T>
* Lookup493: polkadot_runtime_parachains::on_demand::pallet::Event<T>
**/
PolkadotRuntimeParachainsOnDemandPalletEvent: {
_enum: {
@@ -2529,12 +2544,16 @@ export default {
orderedBy: 'AccountId32',
},
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: {
_enum: {
@@ -2556,7 +2575,7 @@ export default {
}
},
/**
* Lookup492: polkadot_runtime_common::slots::pallet::Event<T>
* Lookup495: polkadot_runtime_common::slots::pallet::Event<T>
**/
PolkadotRuntimeCommonSlotsPalletEvent: {
_enum: {
@@ -2574,7 +2593,7 @@ export default {
}
},
/**
* Lookup493: polkadot_runtime_common::auctions::pallet::Event<T>
* Lookup496: polkadot_runtime_common::auctions::pallet::Event<T>
**/
PolkadotRuntimeCommonAuctionsPalletEvent: {
_enum: {
@@ -2614,7 +2633,7 @@ export default {
}
},
/**
* Lookup494: polkadot_runtime_common::crowdloan::pallet::Event<T>
* Lookup497: polkadot_runtime_common::crowdloan::pallet::Event<T>
**/
PolkadotRuntimeCommonCrowdloanPalletEvent: {
_enum: {
@@ -2658,7 +2677,7 @@ export default {
}
},
/**
* Lookup495: polkadot_runtime_parachains::coretime::pallet::Event<T>
* Lookup498: polkadot_runtime_parachains::coretime::pallet::Event<T>
**/
PolkadotRuntimeParachainsCoretimePalletEvent: {
_enum: {
@@ -2671,7 +2690,7 @@ export default {
}
},
/**
* Lookup499: pallet_xcm::pallet::Event<T>
* Lookup502: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -2684,6 +2703,17 @@ export default {
message: 'StagingXcmV5Xcm',
messageId: '[u8;32]',
},
SendFailed: {
origin: 'StagingXcmV5Location',
destination: 'StagingXcmV5Location',
error: 'XcmV3TraitsSendError',
messageId: '[u8;32]',
},
ProcessXcmError: {
origin: 'StagingXcmV5Location',
error: 'XcmV5TraitsError',
messageId: '[u8;32]',
},
UnexpectedResponse: {
origin: 'StagingXcmV5Location',
queryId: 'u64',
@@ -2791,12 +2821,24 @@ export default {
assets: 'XcmVersionedAssets',
},
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: {
_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: {
_enum: {
@@ -2824,7 +2872,7 @@ export default {
__Unused4: 'Null',
__Unused5: 'Null',
__Unused6: 'Null',
__Unused7: 'Null',
Staking: 'PalletStakingPalletHoldReason',
__Unused8: 'Null',
__Unused9: 'Null',
Preimage: 'PalletPreimageHoldReason',
@@ -2915,11 +2963,18 @@ export default {
__Unused95: 'Null',
__Unused96: '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: {
_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: {
_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: {
track: 'u16',
@@ -2995,27 +3050,13 @@ export default {
alarm: 'Option<(u32,(u32,u32))>'
},
/**
* Lookup645: pallet_referenda::types::TrackInfo<Balance, Moment>
**/
PalletReferendaTrackInfo: {
name: 'Text',
maxDeciding: 'u32',
decisionDeposit: 'u128',
preparePeriod: 'u32',
decisionPeriod: 'u32',
confirmPeriod: 'u32',
minEnactmentPeriod: 'u32',
minApproval: 'PalletReferendaCurve',
minSupport: 'PalletReferendaCurve'
},
/**
* Lookup651: polkadot_runtime_common::claims::pallet::Error<T>
* Lookup659: polkadot_runtime_common::claims::pallet::Error<T>
**/
PolkadotRuntimeCommonClaimsPalletError: {
_enum: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists']
},
/**
* Lookup717: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
* Lookup724: polkadot_runtime_parachains::configuration::HostConfiguration<BlockNumber>
**/
PolkadotRuntimeParachainsConfigurationHostConfiguration: {
maxCodeSize: 'u32',
@@ -3055,20 +3096,20 @@ export default {
schedulerParams: 'PolkadotPrimitivesV8SchedulerParams'
},
/**
* Lookup720: polkadot_runtime_parachains::configuration::pallet::Error<T>
* Lookup727: polkadot_runtime_parachains::configuration::pallet::Error<T>
**/
PolkadotRuntimeParachainsConfigurationPalletError: {
_enum: ['InvalidNewValue']
},
/**
* Lookup723: polkadot_runtime_parachains::shared::AllowedRelayParentsTracker<primitive_types::H256, BlockNumber>
* Lookup730: polkadot_runtime_parachains::shared::AllowedRelayParentsTracker<primitive_types::H256, BlockNumber>
**/
PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker: {
buffer: 'Vec<PolkadotRuntimeParachainsSharedRelayParentInfo>',
latestNumber: 'u32'
},
/**
* Lookup725: polkadot_runtime_parachains::shared::RelayParentInfo<primitive_types::H256>
* Lookup732: polkadot_runtime_parachains::shared::RelayParentInfo<primitive_types::H256>
**/
PolkadotRuntimeParachainsSharedRelayParentInfo: {
relayParent: 'H256',
@@ -3076,7 +3117,7 @@ export default {
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: {
_alias: {
@@ -3093,13 +3134,13 @@ export default {
backingGroup: 'u32'
},
/**
* Lookup736: polkadot_runtime_parachains::inclusion::pallet::Error<T>
* Lookup743: polkadot_runtime_parachains::inclusion::pallet::Error<T>
**/
PolkadotRuntimeParachainsInclusionPalletError: {
_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: {
session: 'u32',
@@ -3107,13 +3148,13 @@ export default {
disputes: 'Vec<PolkadotPrimitivesV8DisputeStatementSet>'
},
/**
* Lookup742: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
* Lookup749: polkadot_runtime_parachains::paras_inherent::pallet::Error<T>
**/
PolkadotRuntimeParachainsParasInherentPalletError: {
_enum: ['TooManyInclusionInherents', 'InvalidParentHeader', 'InherentDataFilteredDuringExecution', 'UnscheduledCandidate']
},
/**
* Lookup746: polkadot_runtime_parachains::scheduler::common::Assignment
* Lookup753: polkadot_runtime_parachains::scheduler::common::Assignment
**/
PolkadotRuntimeParachainsSchedulerCommonAssignment: {
_enum: {
@@ -3125,7 +3166,7 @@ export default {
}
},
/**
* Lookup749: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
* Lookup756: polkadot_runtime_parachains::paras::PvfCheckActiveVoteState<BlockNumber>
**/
PolkadotRuntimeParachainsParasPvfCheckActiveVoteState: {
votesAccept: 'BitVec',
@@ -3135,7 +3176,7 @@ export default {
causes: 'Vec<PolkadotRuntimeParachainsParasPvfCheckCause>'
},
/**
* Lookup751: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
* Lookup758: polkadot_runtime_parachains::paras::PvfCheckCause<BlockNumber>
**/
PolkadotRuntimeParachainsParasPvfCheckCause: {
_enum: {
@@ -3148,45 +3189,45 @@ export default {
}
},
/**
* Lookup752: polkadot_runtime_parachains::paras::UpgradeStrategy
* Lookup759: polkadot_runtime_parachains::paras::UpgradeStrategy
**/
PolkadotRuntimeParachainsParasUpgradeStrategy: {
_enum: ['SetGoAheadSignal', 'ApplyAtExpectedBlock']
},
/**
* Lookup755: polkadot_runtime_parachains::paras::ParaLifecycle
* Lookup762: polkadot_runtime_parachains::paras::ParaLifecycle
**/
PolkadotRuntimeParachainsParasParaLifecycle: {
_enum: ['Onboarding', 'Parathread', 'Parachain', 'UpgradingParathread', 'DowngradingParachain', 'OffboardingParathread', 'OffboardingParachain']
},
/**
* Lookup757: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
* Lookup764: polkadot_runtime_parachains::paras::ParaPastCodeMeta<N>
**/
PolkadotRuntimeParachainsParasParaPastCodeMeta: {
upgradeTimes: 'Vec<PolkadotRuntimeParachainsParasReplacementTimes>',
lastPruned: 'Option<u32>'
},
/**
* Lookup759: polkadot_runtime_parachains::paras::ReplacementTimes<N>
* Lookup766: polkadot_runtime_parachains::paras::ReplacementTimes<N>
**/
PolkadotRuntimeParachainsParasReplacementTimes: {
expectedAt: 'u32',
activatedAt: 'u32'
},
/**
* Lookup761: polkadot_primitives::v8::UpgradeGoAhead
* Lookup768: polkadot_primitives::v8::UpgradeGoAhead
**/
PolkadotPrimitivesV8UpgradeGoAhead: {
_enum: ['Abort', 'GoAhead']
},
/**
* Lookup762: polkadot_primitives::v8::UpgradeRestriction
* Lookup769: polkadot_primitives::v8::UpgradeRestriction
**/
PolkadotPrimitivesV8UpgradeRestriction: {
_enum: ['Present']
},
/**
* Lookup763: polkadot_runtime_parachains::paras::ParaGenesisArgs
* Lookup770: polkadot_runtime_parachains::paras::ParaGenesisArgs
**/
PolkadotRuntimeParachainsParasParaGenesisArgs: {
genesisHead: 'Bytes',
@@ -3194,13 +3235,13 @@ export default {
paraKind: 'bool'
},
/**
* Lookup764: polkadot_runtime_parachains::paras::pallet::Error<T>
* Lookup771: polkadot_runtime_parachains::paras::pallet::Error<T>
**/
PolkadotRuntimeParachainsParasPalletError: {
_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: {
validators: 'Vec<PolkadotPrimitivesV8ValidatorAppPublic>',
@@ -3208,14 +3249,14 @@ export default {
sessionIndex: 'u32'
},
/**
* Lookup768: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
* Lookup775: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundDownwardMessage: {
sentAt: 'u32',
msg: 'Bytes'
},
/**
* Lookup769: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
* Lookup776: polkadot_runtime_parachains::hrmp::HrmpOpenChannelRequest
**/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool',
@@ -3226,7 +3267,7 @@ export default {
maxTotalSize: 'u32'
},
/**
* Lookup771: polkadot_runtime_parachains::hrmp::HrmpChannel
* Lookup778: polkadot_runtime_parachains::hrmp::HrmpChannel
**/
PolkadotRuntimeParachainsHrmpHrmpChannel: {
maxCapacity: 'u32',
@@ -3239,20 +3280,20 @@ export default {
recipientDeposit: 'u128'
},
/**
* Lookup773: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
* Lookup780: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>
**/
PolkadotCorePrimitivesInboundHrmpMessage: {
sentAt: 'u32',
data: 'Bytes'
},
/**
* Lookup776: polkadot_runtime_parachains::hrmp::pallet::Error<T>
* Lookup783: polkadot_runtime_parachains::hrmp::pallet::Error<T>
**/
PolkadotRuntimeParachainsHrmpPalletError: {
_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: {
activeValidatorIndices: 'Vec<u32>',
@@ -3270,15 +3311,15 @@ export default {
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>',
/**
* Lookup780: polkadot_primitives::v8::IndexedVec<polkadot_primitives::v8::GroupIndex, V>
* Lookup787: polkadot_primitives::v8::IndexedVec<polkadot_primitives::v8::GroupIndex, V>
**/
PolkadotPrimitivesV8IndexedVecGroupIndex: 'Vec<Vec<u32>>',
/**
* Lookup782: polkadot_primitives::v8::DisputeState<N>
* Lookup789: polkadot_primitives::v8::DisputeState<N>
**/
PolkadotPrimitivesV8DisputeState: {
validatorsFor: 'BitVec',
@@ -3287,13 +3328,13 @@ export default {
concludedAt: 'Option<u32>'
},
/**
* Lookup784: polkadot_runtime_parachains::disputes::pallet::Error<T>
* Lookup791: polkadot_runtime_parachains::disputes::pallet::Error<T>
**/
PolkadotRuntimeParachainsDisputesPalletError: {
_enum: ['DuplicateDisputeStatementSets', 'AncientDisputeStatement', 'ValidatorIndexOutOfBounds', 'InvalidSignature', 'DuplicateStatement', 'SingleSidedDispute', 'MaliciousBacker', 'MissingBackingVotes', 'UnconfirmedDispute']
},
/**
* Lookup785: polkadot_primitives::v8::slashing::PendingSlashes
* Lookup792: polkadot_primitives::v8::slashing::PendingSlashes
**/
PolkadotPrimitivesV8SlashingPendingSlashes: {
_alias: {
@@ -3303,20 +3344,20 @@ export default {
kind: 'PolkadotPrimitivesV8SlashingSlashingOffenceKind'
},
/**
* Lookup789: polkadot_runtime_parachains::disputes::slashing::pallet::Error<T>
* Lookup796: polkadot_runtime_parachains::disputes::slashing::pallet::Error<T>
**/
PolkadotRuntimeParachainsDisputesSlashingPalletError: {
_enum: ['InvalidKeyOwnershipProof', 'InvalidSessionIndex', 'InvalidCandidateHash', 'InvalidValidatorIndex', 'ValidatorIndexIdMismatch', 'DuplicateSlashingReport']
},
/**
* Lookup790: polkadot_runtime_parachains::on_demand::types::CoreAffinityCount
* Lookup797: polkadot_runtime_parachains::on_demand::types::CoreAffinityCount
**/
PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount: {
coreIndex: 'u32',
count: 'u32'
},
/**
* Lookup791: polkadot_runtime_parachains::on_demand::types::QueueStatusType
* Lookup798: polkadot_runtime_parachains::on_demand::types::QueueStatusType
**/
PolkadotRuntimeParachainsOnDemandTypesQueueStatusType: {
traffic: 'u128',
@@ -3325,28 +3366,28 @@ export default {
freedIndices: 'BinaryHeapReverseQueueIndex'
},
/**
* Lookup793: BinaryHeap<polkadot_runtime_parachains::on_demand::types::ReverseQueueIndex>
* Lookup800: BinaryHeap<polkadot_runtime_parachains::on_demand::types::ReverseQueueIndex>
**/
BinaryHeapReverseQueueIndex: 'Vec<u32>',
/**
* Lookup796: BinaryHeap<polkadot_runtime_parachains::on_demand::types::EnqueuedOrder>
* Lookup803: BinaryHeap<polkadot_runtime_parachains::on_demand::types::EnqueuedOrder>
**/
BinaryHeapEnqueuedOrder: 'Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder>',
/**
* Lookup797: polkadot_runtime_parachains::on_demand::types::EnqueuedOrder
* Lookup804: polkadot_runtime_parachains::on_demand::types::EnqueuedOrder
**/
PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder: {
paraId: 'u32',
idx: 'u32'
},
/**
* Lookup801: polkadot_runtime_parachains::on_demand::pallet::Error<T>
* Lookup808: polkadot_runtime_parachains::on_demand::pallet::Error<T>
**/
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: {
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,u16)>',
@@ -3354,21 +3395,21 @@ export default {
nextSchedule: 'Option<u32>'
},
/**
* Lookup804: polkadot_runtime_parachains::assigner_coretime::CoreDescriptor<N>
* Lookup811: polkadot_runtime_parachains::assigner_coretime::CoreDescriptor<N>
**/
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor: {
queue: 'Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>',
currentWork: 'Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>'
},
/**
* Lookup806: polkadot_runtime_parachains::assigner_coretime::QueueDescriptor<N>
* Lookup813: polkadot_runtime_parachains::assigner_coretime::QueueDescriptor<N>
**/
PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor: {
first: 'u32',
last: 'u32'
},
/**
* Lookup808: polkadot_runtime_parachains::assigner_coretime::WorkState<N>
* Lookup815: polkadot_runtime_parachains::assigner_coretime::WorkState<N>
**/
PolkadotRuntimeParachainsAssignerCoretimeWorkState: {
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,PolkadotRuntimeParachainsAssignerCoretimeAssignmentState)>',
@@ -3377,20 +3418,20 @@ export default {
step: 'u16'
},
/**
* Lookup811: polkadot_runtime_parachains::assigner_coretime::AssignmentState
* Lookup818: polkadot_runtime_parachains::assigner_coretime::AssignmentState
**/
PolkadotRuntimeParachainsAssignerCoretimeAssignmentState: {
ratio: 'u16',
remaining: 'u16'
},
/**
* Lookup812: polkadot_runtime_parachains::assigner_coretime::pallet::Error<T>
* Lookup819: polkadot_runtime_parachains::assigner_coretime::pallet::Error<T>
**/
PolkadotRuntimeParachainsAssignerCoretimePalletError: {
_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: {
manager: 'AccountId32',
@@ -3398,25 +3439,25 @@ export default {
locked: 'Option<bool>'
},
/**
* Lookup815: polkadot_runtime_common::paras_registrar::pallet::Error<T>
* Lookup822: polkadot_runtime_common::paras_registrar::pallet::Error<T>
**/
PolkadotRuntimeCommonParasRegistrarPalletError: {
_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: {
_enum: ['ParaNotOnboarding', 'LeaseError']
},
/**
* Lookup822: polkadot_runtime_common::auctions::pallet::Error<T>
* Lookup829: polkadot_runtime_common::auctions::pallet::Error<T>
**/
PolkadotRuntimeCommonAuctionsPalletError: {
_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: {
depositor: 'AccountId32',
@@ -3431,7 +3472,7 @@ export default {
fundIndex: 'u32'
},
/**
* Lookup824: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
* Lookup831: polkadot_runtime_common::crowdloan::LastContribution<BlockNumber>
**/
PolkadotRuntimeCommonCrowdloanLastContribution: {
_enum: {
@@ -3441,19 +3482,19 @@ export default {
}
},
/**
* Lookup825: polkadot_runtime_common::crowdloan::pallet::Error<T>
* Lookup832: polkadot_runtime_common::crowdloan::pallet::Error<T>
**/
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']
},
/**
* Lookup826: polkadot_runtime_parachains::coretime::pallet::Error<T>
* Lookup833: polkadot_runtime_parachains::coretime::pallet::Error<T>
**/
PolkadotRuntimeParachainsCoretimePalletError: {
_enum: ['NotBroker', 'RequestedFutureRevenue', 'AssetTransferFailed']
},
/**
* Lookup827: pallet_xcm::pallet::QueryStatus<BlockNumber>
* Lookup834: pallet_xcm::pallet::QueryStatus<BlockNumber>
**/
PalletXcmQueryStatus: {
_enum: {
@@ -3474,7 +3515,7 @@ export default {
}
},
/**
* Lookup831: xcm::VersionedResponse
* Lookup838: xcm::VersionedResponse
**/
XcmVersionedResponse: {
_enum: {
@@ -3487,7 +3528,7 @@ export default {
}
},
/**
* Lookup837: pallet_xcm::pallet::VersionMigrationStage
* Lookup844: pallet_xcm::pallet::VersionMigrationStage
**/
PalletXcmVersionMigrationStage: {
_enum: {
@@ -3498,7 +3539,7 @@ export default {
}
},
/**
* Lookup840: pallet_xcm::pallet::RemoteLockedFungibleRecord<ConsumerIdentifier, MaxConsumers>
* Lookup847: pallet_xcm::pallet::RemoteLockedFungibleRecord<ConsumerIdentifier, MaxConsumers>
**/
PalletXcmRemoteLockedFungibleRecord: {
amount: 'u128',
@@ -3507,32 +3548,54 @@ export default {
consumers: 'Vec<(Null,u128)>'
},
/**
* Lookup847: pallet_xcm::pallet::Error<T>
* Lookup854: pallet_xcm::AuthorizedAliasesEntry<frame_support::traits::storage::Disabled, pallet_xcm::pallet::MaxAuthorizedAliases>
**/
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']
PalletXcmAuthorizedAliasesEntry: {
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>',
/**
* Lookup870: polkadot_runtime_common::claims::PrevalidateAttests<T>
* Lookup883: polkadot_runtime_common::claims::PrevalidateAttests<T>
**/
PolkadotRuntimeCommonClaimsPrevalidateAttests: 'Null',
/**
* Lookup873: polkadot_runtime::Runtime
* Lookup886: polkadot_runtime::Runtime
**/
PolkadotRuntimeRuntime: 'Null',
/**
* Lookup874: relay_common::apis::InflationInfo
* Lookup887: relay_common::apis::InflationInfo
**/
RelayCommonApisInflationInfo: {
inflation: 'Perquintill',
nextMint: '(u128,u128)'
},
/**
* Lookup897: polkadot_primitives::v8::GroupRotationInfo<N>
* Lookup910: polkadot_primitives::v8::GroupRotationInfo<N>
**/
PolkadotPrimitivesV8GroupRotationInfo: {
sessionStartBlock: 'u32',
@@ -3540,7 +3603,7 @@ export default {
now: 'u32'
},
/**
* Lookup899: polkadot_primitives::vstaging::CoreState<primitive_types::H256, N>
* Lookup912: polkadot_primitives::vstaging::CoreState<primitive_types::H256, N>
**/
PolkadotPrimitivesVstagingCoreState: {
_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: {
nextUpOnAvailable: 'Option<PolkadotPrimitivesV8ScheduledCore>',
@@ -3563,24 +3626,24 @@ export default {
candidateDescriptor: 'PolkadotPrimitivesVstagingCandidateDescriptorV2'
},
/**
* Lookup902: polkadot_primitives::v8::ScheduledCore
* Lookup915: polkadot_primitives::v8::ScheduledCore
**/
PolkadotPrimitivesV8ScheduledCore: {
paraId: 'u32',
collator: 'Option<PolkadotPrimitivesV8CollatorAppPublic>'
},
/**
* Lookup904: polkadot_primitives::v8::collator_app::Public
* Lookup917: polkadot_primitives::v8::collator_app::Public
**/
PolkadotPrimitivesV8CollatorAppPublic: '[u8;32]',
/**
* Lookup905: polkadot_primitives::v8::OccupiedCoreAssumption
* Lookup918: polkadot_primitives::v8::OccupiedCoreAssumption
**/
PolkadotPrimitivesV8OccupiedCoreAssumption: {
_enum: ['Included', 'TimedOut', 'Free']
},
/**
* Lookup907: polkadot_primitives::v8::PersistedValidationData<primitive_types::H256, N>
* Lookup920: polkadot_primitives::v8::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV8PersistedValidationData: {
parentHead: 'Bytes',
@@ -3589,7 +3652,7 @@ export default {
maxPovSize: 'u32'
},
/**
* Lookup912: polkadot_primitives::vstaging::CandidateEvent<primitive_types::H256>
* Lookup925: polkadot_primitives::vstaging::CandidateEvent<primitive_types::H256>
**/
PolkadotPrimitivesVstagingCandidateEvent: {
_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: {
constraints: 'PolkadotPrimitivesV8AsyncBackingConstraints',
pendingAvailability: 'Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>'
},
/**
* Lookup929: polkadot_primitives::v8::async_backing::Constraints<N>
* Lookup942: polkadot_primitives::v8::async_backing::Constraints<N>
**/
PolkadotPrimitivesV8AsyncBackingConstraints: {
minRelayParentNumber: 'u32',
@@ -3625,20 +3688,20 @@ export default {
futureValidationCode: 'Option<(u32,H256)>'
},
/**
* Lookup930: polkadot_primitives::v8::async_backing::InboundHrmpLimitations<N>
* Lookup943: polkadot_primitives::v8::async_backing::InboundHrmpLimitations<N>
**/
PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations: {
validWatermarks: 'Vec<u32>'
},
/**
* Lookup933: polkadot_primitives::v8::async_backing::OutboundHrmpChannelLimitations
* Lookup946: polkadot_primitives::v8::async_backing::OutboundHrmpChannelLimitations
**/
PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations: {
bytesRemaining: '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: {
candidateHash: 'H256',
@@ -3648,13 +3711,33 @@ export default {
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: {
_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: {
executionResult: 'Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>',
@@ -3663,13 +3746,13 @@ export default {
forwardedXcms: 'Vec<(XcmVersionedLocation,Vec<XcmVersionedXcm>)>'
},
/**
* Lookup981: xcm_runtime_apis::dry_run::Error
* Lookup996: xcm_runtime_apis::dry_run::Error
**/
XcmRuntimeApisDryRunError: {
_enum: ['Unimplemented', 'VersionedConversionFailed']
},
/**
* Lookup983: xcm_runtime_apis::dry_run::XcmDryRunEffects<polkadot_runtime::RuntimeEvent>
* Lookup998: xcm_runtime_apis::dry_run::XcmDryRunEffects<polkadot_runtime::RuntimeEvent>
**/
XcmRuntimeApisDryRunXcmDryRunEffects: {
executionResult: 'StagingXcmV5TraitsOutcome',
@@ -3677,13 +3760,13 @@ export default {
forwardedXcms: 'Vec<(XcmVersionedLocation,Vec<XcmVersionedXcm>)>'
},
/**
* Lookup985: xcm_runtime_apis::conversions::Error
* Lookup1000: xcm_runtime_apis::conversions::Error
**/
XcmRuntimeApisConversionsError: {
_enum: ['Unsupported', 'VersionedConversionFailed']
},
/**
* Lookup989: polkadot_runtime::RuntimeError
* Lookup1004: polkadot_runtime::RuntimeError
**/
PolkadotRuntimeRuntimeError: {
_enum: {
+34 -21
View File
@@ -7351,7 +7351,7 @@ export default {
compute: 'PalletElectionProviderMultiPhaseElectionCompute'
},
/**
* Lookup621: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, DataProvider>
* Lookup621: pallet_election_provider_multi_phase::RoundSnapshot<sp_core::crypto::AccountId32, VoterType>
**/
PalletElectionProviderMultiPhaseRoundSnapshot: {
voters: 'Vec<(AccountId32,u64,Vec<AccountId32>)>',
@@ -9436,17 +9436,30 @@ export default {
_enum: ['DoesntExist', 'KeyDecodingFailed']
},
/**
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerConfig
* Lookup1084: pallet_revive::evm::api::debug_rpc_types::TracerType
**/
PalletReviveEvmApiDebugRpcTypesTracerConfig: {
PalletReviveEvmApiDebugRpcTypesTracerType: {
_enum: {
CallTracer: {
withLogs: 'bool'
}
CallTracer: 'Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>'
}
},
/**
* Lookup1087: pallet_revive::evm::api::debug_rpc_types::CallTrace<primitive_types::U256>
* Lookup1086: pallet_revive::evm::api::debug_rpc_types::CallTracerConfig
**/
PalletReviveEvmApiDebugRpcTypesCallTracerConfig: {
withLogs: 'bool',
onlyTopCall: 'bool'
},
/**
* Lookup1089: pallet_revive::evm::api::debug_rpc_types::Trace
**/
PalletReviveEvmApiDebugRpcTypesTrace: {
_enum: {
Call: 'PalletReviveEvmApiDebugRpcTypesCallTrace'
}
},
/**
* Lookup1090: pallet_revive::evm::api::debug_rpc_types::CallTrace<primitive_types::U256>
**/
PalletReviveEvmApiDebugRpcTypesCallTrace: {
from: 'H160',
@@ -9463,7 +9476,7 @@ export default {
callType: 'PalletReviveEvmApiDebugRpcTypesCallType'
},
/**
* Lookup1091: pallet_revive::evm::api::debug_rpc_types::CallLog
* Lookup1094: pallet_revive::evm::api::debug_rpc_types::CallLog
**/
PalletReviveEvmApiDebugRpcTypesCallLog: {
address: 'H160',
@@ -9472,13 +9485,13 @@ export default {
position: 'u32'
},
/**
* Lookup1092: pallet_revive::evm::api::debug_rpc_types::CallType
* Lookup1095: pallet_revive::evm::api::debug_rpc_types::CallType
**/
PalletReviveEvmApiDebugRpcTypesCallType: {
_enum: ['Call', 'StaticCall', 'DelegateCall']
},
/**
* Lookup1095: pallet_transaction_payment::types::RuntimeDispatchInfo<Balance, sp_weights::weight_v2::Weight>
* Lookup1098: pallet_transaction_payment::types::RuntimeDispatchInfo<Balance, sp_weights::weight_v2::Weight>
**/
PalletTransactionPaymentRuntimeDispatchInfo: {
weight: 'SpWeightsWeightV2Weight',
@@ -9486,14 +9499,14 @@ export default {
partialFee: 'u128'
},
/**
* Lookup1096: pallet_transaction_payment::types::FeeDetails<Balance>
* Lookup1099: pallet_transaction_payment::types::FeeDetails<Balance>
**/
PalletTransactionPaymentFeeDetails: {
inclusionFee: 'Option<PalletTransactionPaymentInclusionFee>',
tip: 'u128'
},
/**
* Lookup1098: pallet_transaction_payment::types::InclusionFee<Balance>
* Lookup1101: pallet_transaction_payment::types::InclusionFee<Balance>
**/
PalletTransactionPaymentInclusionFee: {
baseFee: 'u128',
@@ -9501,14 +9514,14 @@ export default {
adjustedWeightFee: 'u128'
},
/**
* Lookup1102: sp_consensus_beefy::ValidatorSet<sp_consensus_beefy::ecdsa_crypto::Public>
* Lookup1105: sp_consensus_beefy::ValidatorSet<sp_consensus_beefy::ecdsa_crypto::Public>
**/
SpConsensusBeefyValidatorSet: {
validators: 'Vec<SpConsensusBeefyEcdsaCryptoPublic>',
id: 'u64'
},
/**
* Lookup1103: sp_consensus_beefy::ForkVotingProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_beefy::ecdsa_crypto::Public, sp_runtime::OpaqueValue>
* Lookup1106: sp_consensus_beefy::ForkVotingProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_beefy::ecdsa_crypto::Public, sp_runtime::OpaqueValue>
**/
SpConsensusBeefyForkVotingProofOpaqueValue: {
vote: 'SpConsensusBeefyVoteMessage',
@@ -9516,13 +9529,13 @@ export default {
header: 'SpRuntimeHeader'
},
/**
* Lookup1105: sp_mmr_primitives::Error
* Lookup1108: sp_mmr_primitives::Error
**/
SpMmrPrimitivesError: {
_enum: ['InvalidNumericOp', 'Push', 'GetRoot', 'Commit', 'GenerateProof', 'Verify', 'LeafNotFound', 'PalletNotIncluded', 'InvalidLeafIndex', 'InvalidBestKnownBlock']
},
/**
* Lookup1111: sp_mmr_primitives::LeafProof<primitive_types::H256>
* Lookup1114: sp_mmr_primitives::LeafProof<primitive_types::H256>
**/
SpMmrPrimitivesLeafProof: {
leafIndices: 'Vec<u64>',
@@ -9530,20 +9543,20 @@ export default {
items: 'Vec<H256>'
},
/**
* Lookup1113: sp_mixnet::types::SessionStatus
* Lookup1116: sp_mixnet::types::SessionStatus
**/
SpMixnetSessionStatus: {
currentIndex: 'u32',
phase: 'SpMixnetSessionPhase'
},
/**
* Lookup1114: sp_mixnet::types::SessionPhase
* Lookup1117: sp_mixnet::types::SessionPhase
**/
SpMixnetSessionPhase: {
_enum: ['CoverToCurrent', 'RequestsToCurrent', 'CoverToPrev', 'DisconnectFromPrev']
},
/**
* Lookup1117: sp_mixnet::types::Mixnode
* Lookup1120: sp_mixnet::types::Mixnode
**/
SpMixnetMixnode: {
kxPublic: '[u8;32]',
@@ -9551,7 +9564,7 @@ export default {
externalAddresses: 'Vec<Bytes>'
},
/**
* Lookup1118: sp_mixnet::types::MixnodesErr
* Lookup1121: sp_mixnet::types::MixnodesErr
**/
SpMixnetMixnodesErr: {
_enum: {
@@ -9562,7 +9575,7 @@ export default {
}
},
/**
* Lookup1124: kitchensink_runtime::RuntimeError
* Lookup1127: kitchensink_runtime::RuntimeError
**/
KitchensinkRuntimeRuntimeError: {
_enum: {
@@ -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';
declare module '@polkadot/types/lookup' {
/** @name AssetHubKusamaRuntimeProxyType (146) */
/** @name AssetHubKusamaRuntimeProxyType (148) */
interface AssetHubKusamaRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -21,24 +21,28 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
}
/** @name AssetHubKusamaRuntimeRuntimeHoldReason (248) */
/** @name AssetHubKusamaRuntimeRuntimeHoldReason (253) */
interface AssetHubKusamaRuntimeRuntimeHoldReason extends Enum {
readonly isPolkadotXcm: boolean;
readonly asPolkadotXcm: PalletXcmHoldReason;
readonly isNftFractionalization: boolean;
readonly asNftFractionalization: PalletNftFractionalizationHoldReason;
readonly isRevive: boolean;
readonly asRevive: PalletReviveHoldReason;
readonly isStateTrieMigration: boolean;
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
readonly type: 'NftFractionalization' | 'StateTrieMigration';
readonly type: 'PolkadotXcm' | 'NftFractionalization' | 'Revive' | 'StateTrieMigration';
}
/** @name AssetHubKusamaRuntimeSessionKeys (275) */
/** @name AssetHubKusamaRuntimeSessionKeys (283) */
interface AssetHubKusamaRuntimeSessionKeys extends Struct {
readonly aura: SpConsensusAuraSr25519AppSr25519Public;
}
/** @name SpConsensusAuraSr25519AppSr25519Public (276) */
/** @name SpConsensusAuraSr25519AppSr25519Public (284) */
interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {}
/** @name PalletRemoteProxyCall (380) */
/** @name PalletRemoteProxyCall (398) */
interface PalletRemoteProxyCall extends Enum {
readonly isRemoteProxy: boolean;
readonly asRemoteProxy: {
@@ -60,7 +64,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'RemoteProxy' | 'RegisterRemoteProxyProof' | 'RemoteProxyWithRegisteredProof';
}
/** @name PalletRemoteProxyRemoteProxyProof (381) */
/** @name PalletRemoteProxyRemoteProxyProof (399) */
interface PalletRemoteProxyRemoteProxyProof extends Enum {
readonly isRelayChain: boolean;
readonly asRelayChain: {
@@ -70,7 +74,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'RelayChain';
}
/** @name AssetHubKusamaRuntimeOriginCaller (419) */
/** @name AssetHubKusamaRuntimeOriginCaller (438) */
interface AssetHubKusamaRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
@@ -81,7 +85,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
}
/** @name PalletRemoteProxyError (440) */
/** @name PalletRemoteProxyError (459) */
interface PalletRemoteProxyError extends Enum {
readonly isCouldNotConvertLocalToRemoteAccountId: boolean;
readonly isUnknownProofAnchorBlock: boolean;
@@ -93,10 +97,10 @@ declare module '@polkadot/types/lookup' {
readonly type: 'CouldNotConvertLocalToRemoteAccountId' | 'UnknownProofAnchorBlock' | 'InvalidProof' | 'ProxyDefinitionDecodingFailed' | 'Unannounced' | 'DidNotFindMatchingProxyDefinition' | 'ProxyProofNotRegistered';
}
/** @name AssetHubKusamaRuntimeRuntime (508) */
/** @name AssetHubKusamaRuntimeRuntime (532) */
type AssetHubKusamaRuntimeRuntime = Null;
/** @name AssetHubKusamaRuntimeRuntimeError (567) */
/** @name AssetHubKusamaRuntimeRuntimeError (634) */
interface AssetHubKusamaRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemError;
@@ -138,9 +142,11 @@ declare module '@polkadot/types/lookup' {
readonly asPoolAssets: PalletAssetsError;
readonly isAssetConversion: boolean;
readonly asAssetConversion: PalletAssetConversionError;
readonly isRevive: boolean;
readonly asRevive: PalletReviveError;
readonly isStateTrieMigration: boolean;
readonly asStateTrieMigration: PalletStateTrieMigrationError;
readonly type: 'System' | 'ParachainSystem' | 'Balances' | 'Vesting' | 'CollatorSelection' | 'Session' | 'XcmpQueue' | 'PolkadotXcm' | 'MessageQueue' | 'Utility' | 'Multisig' | 'Proxy' | 'RemoteProxyRelayChain' | 'Assets' | 'Uniques' | 'Nfts' | 'ForeignAssets' | 'NftFractionalization' | 'PoolAssets' | 'AssetConversion' | 'StateTrieMigration';
readonly 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
@@ -92,7 +92,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'XcmpMessageSent';
}
/** @name CumulusPalletXcmEvent (133) */
/** @name CumulusPalletXcmEvent (135) */
interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -103,7 +103,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
/** @name PalletXcmBridgeHubRouterEvent (134) */
/** @name PalletXcmBridgeHubRouterEvent (136) */
interface PalletXcmBridgeHubRouterEvent extends Enum {
readonly isDeliveryFeeFactorDecreased: boolean;
readonly asDeliveryFeeFactorDecreased: {
@@ -116,7 +116,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DeliveryFeeFactorDecreased' | 'DeliveryFeeFactorIncreased';
}
/** @name CumulusPrimitivesCoreAggregateMessageOrigin (137) */
/** @name CumulusPrimitivesCoreAggregateMessageOrigin (139) */
interface CumulusPrimitivesCoreAggregateMessageOrigin extends Enum {
readonly isHere: boolean;
readonly isParent: boolean;
@@ -125,7 +125,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Here' | 'Parent' | 'Sibling';
}
/** @name AssetHubPolkadotRuntimeProxyType (146) */
/** @name AssetHubPolkadotRuntimeProxyType (148) */
interface AssetHubPolkadotRuntimeProxyType extends Enum {
readonly isAny: boolean;
readonly isNonTransfer: boolean;
@@ -137,39 +137,39 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Any' | 'NonTransfer' | 'CancelProxy' | 'Assets' | 'AssetOwner' | 'AssetManager' | 'Collator';
}
/** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (197) */
/** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (200) */
interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct {
readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
readonly paraHeadHash: Option<H256>;
readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV8UpgradeGoAhead>;
}
/** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (198) */
/** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (201) */
interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct {
readonly umpMsgCount: u32;
readonly umpTotalBytes: u32;
readonly hrmpOutgoing: BTreeMap<u32, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate>;
}
/** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (200) */
/** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (203) */
interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct {
readonly msgCount: u32;
readonly totalBytes: u32;
}
/** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (206) */
/** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (209) */
interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct {
readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
readonly hrmpWatermark: Option<u32>;
readonly consumedGoAheadSignal: Option<PolkadotPrimitivesV8UpgradeGoAhead>;
}
/** @name SpTrieStorageProof (211) */
/** @name SpTrieStorageProof (214) */
interface SpTrieStorageProof extends Struct {
readonly trieNodes: BTreeSet<Bytes>;
}
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (213) */
/** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (216) */
interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct {
readonly dmqMqcHead: H256;
readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
@@ -177,13 +177,13 @@ declare module '@polkadot/types/lookup' {
readonly egressChannels: Vec<ITuple<[u32, PolkadotPrimitivesV8AbridgedHrmpChannel]>>;
}
/** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (214) */
/** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (217) */
interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct {
readonly remainingCount: u32;
readonly remainingSize: u32;
}
/** @name PolkadotPrimitivesV8AbridgedHrmpChannel (217) */
/** @name PolkadotPrimitivesV8AbridgedHrmpChannel (220) */
interface PolkadotPrimitivesV8AbridgedHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -193,7 +193,7 @@ declare module '@polkadot/types/lookup' {
readonly mqcHead: Option<H256>;
}
/** @name PolkadotPrimitivesV8AbridgedHostConfiguration (218) */
/** @name PolkadotPrimitivesV8AbridgedHostConfiguration (221) */
interface PolkadotPrimitivesV8AbridgedHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -207,7 +207,7 @@ declare module '@polkadot/types/lookup' {
readonly asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
}
/** @name CumulusPalletParachainSystemCall (226) */
/** @name CumulusPalletParachainSystemCall (229) */
interface CumulusPalletParachainSystemCall extends Enum {
readonly isSetValidationData: boolean;
readonly asSetValidationData: {
@@ -220,7 +220,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'SetValidationData' | 'SudoSendUpwardMessage';
}
/** @name CumulusPrimitivesParachainInherentParachainInherentData (227) */
/** @name CumulusPrimitivesParachainInherentParachainInherentData (230) */
interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct {
readonly validationData: PolkadotPrimitivesV8PersistedValidationData;
readonly relayChainState: SpTrieStorageProof;
@@ -228,7 +228,7 @@ declare module '@polkadot/types/lookup' {
readonly horizontalMessages: BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>;
}
/** @name CumulusPalletParachainSystemError (235) */
/** @name CumulusPalletParachainSystemError (238) */
interface CumulusPalletParachainSystemError extends Enum {
readonly isOverlappingUpgrades: boolean;
readonly isProhibitedByPolkadot: boolean;
@@ -236,28 +236,28 @@ declare module '@polkadot/types/lookup' {
readonly isValidationDataNotAvailable: boolean;
readonly isHostConfigurationNotAvailable: boolean;
readonly isNotScheduled: boolean;
readonly isNothingAuthorized: boolean;
readonly isUnauthorized: boolean;
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized';
readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled';
}
/** @name StagingParachainInfoCall (237) */
/** @name StagingParachainInfoCall (240) */
type StagingParachainInfoCall = Null;
/** @name AssetHubPolkadotRuntimeRuntimeHoldReason (247) */
/** @name AssetHubPolkadotRuntimeRuntimeHoldReason (250) */
interface AssetHubPolkadotRuntimeRuntimeHoldReason extends Enum {
readonly isPolkadotXcm: boolean;
readonly asPolkadotXcm: PalletXcmHoldReason;
readonly isStateTrieMigration: boolean;
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
readonly type: 'StateTrieMigration';
readonly type: 'PolkadotXcm' | 'StateTrieMigration';
}
/** @name PalletCollatorSelectionCandidateInfo (267) */
/** @name PalletCollatorSelectionCandidateInfo (271) */
interface PalletCollatorSelectionCandidateInfo extends Struct {
readonly who: AccountId32;
readonly deposit: u128;
}
/** @name PalletCollatorSelectionCall (269) */
/** @name PalletCollatorSelectionCall (273) */
interface PalletCollatorSelectionCall extends Enum {
readonly isSetInvulnerables: boolean;
readonly asSetInvulnerables: {
@@ -293,7 +293,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'SetInvulnerables' | 'SetDesiredCandidates' | 'SetCandidacyBond' | 'RegisterAsCandidate' | 'LeaveIntent' | 'AddInvulnerable' | 'RemoveInvulnerable' | 'UpdateBond' | 'TakeCandidateSlot';
}
/** @name PalletCollatorSelectionError (270) */
/** @name PalletCollatorSelectionError (275) */
interface PalletCollatorSelectionError extends Enum {
readonly isTooManyCandidates: 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';
}
/** @name AssetHubPolkadotRuntimeSessionKeys (273) */
/** @name AssetHubPolkadotRuntimeSessionKeys (278) */
interface AssetHubPolkadotRuntimeSessionKeys extends Struct {
readonly aura: SpConsensusAuraEd25519AppEd25519Public;
}
/** @name SpConsensusAuraEd25519AppEd25519Public (274) */
/** @name SpConsensusAuraEd25519AppEd25519Public (279) */
interface SpConsensusAuraEd25519AppEd25519Public extends U8aFixed {}
/** @name CumulusPalletXcmpQueueOutboundChannelDetails (287) */
/** @name CumulusPalletXcmpQueueOutboundChannelDetails (296) */
interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -332,21 +332,21 @@ declare module '@polkadot/types/lookup' {
readonly lastIndex: u16;
}
/** @name CumulusPalletXcmpQueueOutboundState (288) */
/** @name CumulusPalletXcmpQueueOutboundState (297) */
interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
/** @name CumulusPalletXcmpQueueQueueConfigData (292) */
/** @name CumulusPalletXcmpQueueQueueConfigData (301) */
interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
readonly resumeThreshold: u32;
}
/** @name CumulusPalletXcmpQueueCall (293) */
/** @name CumulusPalletXcmpQueueCall (302) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isSuspendXcmExecution: boolean;
readonly isResumeXcmExecution: boolean;
@@ -365,7 +365,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold';
}
/** @name CumulusPalletXcmpQueueError (294) */
/** @name CumulusPalletXcmpQueueError (303) */
interface CumulusPalletXcmpQueueError extends Enum {
readonly isBadQueueConfig: boolean;
readonly isAlreadySuspended: boolean;
@@ -375,16 +375,16 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed' | 'TooManyActiveOutboundChannels' | 'TooBig';
}
/** @name CumulusPalletXcmCall (360) */
/** @name CumulusPalletXcmCall (375) */
type CumulusPalletXcmCall = Null;
/** @name BpXcmBridgeHubRouterBridgeState (361) */
/** @name BpXcmBridgeHubRouterBridgeState (376) */
interface BpXcmBridgeHubRouterBridgeState extends Struct {
readonly deliveryFeeFactor: u128;
readonly isCongested: bool;
}
/** @name PalletXcmBridgeHubRouterCall (362) */
/** @name PalletXcmBridgeHubRouterCall (377) */
interface PalletXcmBridgeHubRouterCall extends Enum {
readonly isReportBridgeStatus: boolean;
readonly asReportBridgeStatus: {
@@ -394,7 +394,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'ReportBridgeStatus';
}
/** @name AssetHubPolkadotRuntimeOriginCaller (414) */
/** @name AssetHubPolkadotRuntimeOriginCaller (429) */
interface AssetHubPolkadotRuntimeOriginCaller extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin;
@@ -405,7 +405,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'System' | 'PolkadotXcm' | 'CumulusXcm';
}
/** @name CumulusPalletXcmOrigin (417) */
/** @name CumulusPalletXcmOrigin (432) */
interface CumulusPalletXcmOrigin extends Enum {
readonly isRelay: boolean;
readonly isSiblingParachain: boolean;
@@ -413,17 +413,17 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Relay' | 'SiblingParachain';
}
/** @name AssetHubPolkadotRuntimeRuntime (497) */
/** @name AssetHubPolkadotRuntimeRuntime (511) */
type AssetHubPolkadotRuntimeRuntime = Null;
/** @name AssetsCommonRuntimeApiFungiblesAccessError (547) */
/** @name AssetsCommonRuntimeApiFungiblesAccessError (561) */
interface AssetsCommonRuntimeApiFungiblesAccessError extends Enum {
readonly isAssetIdConversionFailed: boolean;
readonly isAmountToBalanceConversionFailed: boolean;
readonly type: 'AssetIdConversionFailed' | 'AmountToBalanceConversionFailed';
}
/** @name CumulusPrimitivesCoreCollationInfo (548) */
/** @name CumulusPrimitivesCoreCollationInfo (562) */
interface CumulusPrimitivesCoreCollationInfo extends Struct {
readonly upwardMessages: Vec<Bytes>;
readonly horizontalMessages: Vec<PolkadotCorePrimitivesOutboundHrmpMessage>;
@@ -433,7 +433,7 @@ declare module '@polkadot/types/lookup' {
readonly headData: Bytes;
}
/** @name AssetHubPolkadotRuntimeRuntimeError (556) */
/** @name AssetHubPolkadotRuntimeRuntimeError (570) */
interface AssetHubPolkadotRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
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>]>>;
}
/** @name StagingKusamaRuntimeRuntimeParametersKey (509) */
/** @name StagingKusamaRuntimeRuntimeParametersKey (510) */
interface StagingKusamaRuntimeRuntimeParametersKey extends Enum {
readonly isInflation: boolean;
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersKey;
@@ -175,7 +175,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Inflation' | 'Treasury';
}
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (510) */
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersKey (511) */
interface StagingKusamaRuntimeDynamicParamsInflationParametersKey extends Enum {
readonly isMinInflation: boolean;
readonly isMaxInflation: boolean;
@@ -185,14 +185,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
}
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (511) */
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersKey (512) */
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersKey extends Enum {
readonly isBurnPortion: boolean;
readonly isBurnDestination: boolean;
readonly type: 'BurnPortion' | 'BurnDestination';
}
/** @name StagingKusamaRuntimeRuntimeParametersValue (513) */
/** @name StagingKusamaRuntimeRuntimeParametersValue (514) */
interface StagingKusamaRuntimeRuntimeParametersValue extends Enum {
readonly isInflation: boolean;
readonly asInflation: StagingKusamaRuntimeDynamicParamsInflationParametersValue;
@@ -201,7 +201,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Inflation' | 'Treasury';
}
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (514) */
/** @name StagingKusamaRuntimeDynamicParamsInflationParametersValue (515) */
interface StagingKusamaRuntimeDynamicParamsInflationParametersValue extends Enum {
readonly isMinInflation: boolean;
readonly asMinInflation: Perquintill;
@@ -216,7 +216,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MinInflation' | 'MaxInflation' | 'IdealStake' | 'Falloff' | 'UseAuctionSlots';
}
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (515) */
/** @name StagingKusamaRuntimeDynamicParamsTreasuryParametersValue (516) */
interface StagingKusamaRuntimeDynamicParamsTreasuryParametersValue extends Enum {
readonly isBurnPortion: boolean;
readonly asBurnPortion: Permill;
@@ -225,34 +225,38 @@ declare module '@polkadot/types/lookup' {
readonly type: 'BurnPortion' | 'BurnDestination';
}
/** @name StagingKusamaRuntimeRuntimeHoldReason (604) */
/** @name StagingKusamaRuntimeRuntimeHoldReason (608) */
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
readonly isStaking: boolean;
readonly asStaking: PalletStakingPalletHoldReason;
readonly isPreimage: boolean;
readonly asPreimage: PalletPreimageHoldReason;
readonly isNis: boolean;
readonly asNis: PalletNisHoldReason;
readonly isDelegatedStaking: boolean;
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
readonly type: 'Preimage' | 'Nis' | 'DelegatedStaking';
readonly isXcmPallet: boolean;
readonly asXcmPallet: PalletXcmHoldReason;
readonly type: 'Staking' | 'Preimage' | 'Nis' | 'DelegatedStaking' | 'XcmPallet';
}
/** @name StagingKusamaRuntimeRuntimeFreezeReason (611) */
/** @name StagingKusamaRuntimeRuntimeFreezeReason (617) */
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
readonly isNominationPools: boolean;
readonly asNominationPools: PalletNominationPoolsFreezeReason;
readonly type: 'NominationPools';
}
/** @name FrameSupportTokensMiscIdAmount (783) */
/** @name FrameSupportTokensMiscIdAmount (791) */
interface FrameSupportTokensMiscIdAmount extends Struct {
readonly id: Null;
readonly amount: u128;
}
/** @name StagingKusamaRuntimeRuntime (970) */
/** @name StagingKusamaRuntimeRuntime (983) */
type StagingKusamaRuntimeRuntime = Null;
/** @name StagingKusamaRuntimeRuntimeError (1084) */
/** @name StagingKusamaRuntimeRuntimeError (1099) */
interface StagingKusamaRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemError;
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions
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 { EthereumAddress } from '@polkadot/types/interfaces/eth';
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 paraId: u32;
} & 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) */
@@ -1233,6 +1238,11 @@ declare module '@polkadot/types/lookup' {
readonly asRequestRevenueAt: {
readonly when: u32;
} & Struct;
readonly isCreditAccount: boolean;
readonly asCreditAccount: {
readonly who: AccountId32;
readonly amount: u128;
} & Struct;
readonly isAssignCore: boolean;
readonly asAssignCore: {
readonly core: u16;
@@ -1240,7 +1250,7 @@ declare module '@polkadot/types/lookup' {
readonly assignment: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
readonly endHint: Option<u32>;
} & Struct;
readonly type: 'RequestCoreCount' | 'RequestRevenueAt' | 'AssignCore';
readonly type: 'RequestCoreCount' | 'RequestRevenueAt' | 'CreditAccount' | 'AssignCore';
}
/** @name PalletXcmCall (349) */
@@ -1329,7 +1339,17 @@ declare module '@polkadot/types/lookup' {
readonly customXcmOnDest: XcmVersionedXcm;
readonly weightLimit: XcmV3WeightLimit;
} & 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) */
@@ -2404,21 +2424,21 @@ declare module '@polkadot/types/lookup' {
readonly type: 'V3' | 'V4' | 'V5';
}
/** @name PolkadotRuntimeParachainsInclusionAggregateMessageOrigin (441) */
/** @name PolkadotRuntimeParachainsInclusionAggregateMessageOrigin (442) */
interface PolkadotRuntimeParachainsInclusionAggregateMessageOrigin extends Enum {
readonly isUmp: boolean;
readonly asUmp: PolkadotRuntimeParachainsInclusionUmpQueueId;
readonly type: 'Ump';
}
/** @name PolkadotRuntimeParachainsInclusionUmpQueueId (442) */
/** @name PolkadotRuntimeParachainsInclusionUmpQueueId (443) */
interface PolkadotRuntimeParachainsInclusionUmpQueueId extends Enum {
readonly isPara: boolean;
readonly asPara: u32;
readonly type: 'Para';
}
/** @name PolkadotRuntimeCommonClaimsPalletEvent (466) */
/** @name PolkadotRuntimeCommonClaimsPalletEvent (467) */
interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
readonly isClaimed: boolean;
readonly asClaimed: {
@@ -2429,7 +2449,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Claimed';
}
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (481) */
/** @name PolkadotRuntimeParachainsInclusionPalletEvent (484) */
interface PolkadotRuntimeParachainsInclusionPalletEvent extends Enum {
readonly isCandidateBacked: boolean;
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
@@ -2445,13 +2465,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut' | 'UpwardMessagesReceived';
}
/** @name PolkadotPrimitivesVstagingCandidateReceiptV2 (482) */
/** @name PolkadotPrimitivesVstagingCandidateReceiptV2 (485) */
interface PolkadotPrimitivesVstagingCandidateReceiptV2 extends Struct {
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
readonly commitmentsHash: H256;
}
/** @name PolkadotRuntimeParachainsParasPalletEvent (485) */
/** @name PolkadotRuntimeParachainsParasPalletEvent (488) */
interface PolkadotRuntimeParachainsParasPalletEvent extends Enum {
readonly isCurrentCodeUpdated: boolean;
readonly asCurrentCodeUpdated: u32;
@@ -2472,7 +2492,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'CurrentCodeUpdated' | 'CurrentHeadUpdated' | 'CodeUpgradeScheduled' | 'NewHeadNoted' | 'ActionQueued' | 'PvfCheckStarted' | 'PvfCheckAccepted' | 'PvfCheckRejected';
}
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (486) */
/** @name PolkadotRuntimeParachainsHrmpPalletEvent (489) */
interface PolkadotRuntimeParachainsHrmpPalletEvent extends Enum {
readonly isOpenChannelRequested: boolean;
readonly asOpenChannelRequested: {
@@ -2518,7 +2538,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'OpenChannelRequested' | 'OpenChannelCanceled' | 'OpenChannelAccepted' | 'ChannelClosed' | 'HrmpChannelForceOpened' | 'HrmpSystemChannelOpened' | 'OpenChannelDepositsUpdated';
}
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (487) */
/** @name PolkadotRuntimeParachainsDisputesPalletEvent (490) */
interface PolkadotRuntimeParachainsDisputesPalletEvent extends Enum {
readonly isDisputeInitiated: boolean;
readonly asDisputeInitiated: ITuple<[H256, PolkadotRuntimeParachainsDisputesDisputeLocation]>;
@@ -2529,21 +2549,21 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DisputeInitiated' | 'DisputeConcluded' | 'Revert';
}
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (488) */
/** @name PolkadotRuntimeParachainsDisputesDisputeLocation (491) */
interface PolkadotRuntimeParachainsDisputesDisputeLocation extends Enum {
readonly isLocal: boolean;
readonly isRemote: boolean;
readonly type: 'Local' | 'Remote';
}
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (489) */
/** @name PolkadotRuntimeParachainsDisputesDisputeResult (492) */
interface PolkadotRuntimeParachainsDisputesDisputeResult extends Enum {
readonly isValid: boolean;
readonly isInvalid: boolean;
readonly type: 'Valid' | 'Invalid';
}
/** @name PolkadotRuntimeParachainsOnDemandPalletEvent (490) */
/** @name PolkadotRuntimeParachainsOnDemandPalletEvent (493) */
interface PolkadotRuntimeParachainsOnDemandPalletEvent extends Enum {
readonly isOnDemandOrderPlaced: boolean;
readonly asOnDemandOrderPlaced: {
@@ -2555,10 +2575,15 @@ declare module '@polkadot/types/lookup' {
readonly asSpotPriceSet: {
readonly spotPrice: u128;
} & 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 {
readonly isRegistered: boolean;
readonly asRegistered: {
@@ -2582,7 +2607,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Registered' | 'Deregistered' | 'Reserved' | 'Swapped';
}
/** @name PolkadotRuntimeCommonSlotsPalletEvent (492) */
/** @name PolkadotRuntimeCommonSlotsPalletEvent (495) */
interface PolkadotRuntimeCommonSlotsPalletEvent extends Enum {
readonly isNewLeasePeriod: boolean;
readonly asNewLeasePeriod: {
@@ -2600,7 +2625,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NewLeasePeriod' | 'Leased';
}
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (493) */
/** @name PolkadotRuntimeCommonAuctionsPalletEvent (496) */
interface PolkadotRuntimeCommonAuctionsPalletEvent extends Enum {
readonly isAuctionStarted: boolean;
readonly asAuctionStarted: {
@@ -2645,7 +2670,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AuctionStarted' | 'AuctionClosed' | 'Reserved' | 'Unreserved' | 'ReserveConfiscated' | 'BidAccepted' | 'WinningOffset';
}
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (494) */
/** @name PolkadotRuntimeCommonCrowdloanPalletEvent (497) */
interface PolkadotRuntimeCommonCrowdloanPalletEvent extends Enum {
readonly isCreated: boolean;
readonly asCreated: {
@@ -2697,7 +2722,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Created' | 'Contributed' | 'Withdrew' | 'PartiallyRefunded' | 'AllRefunded' | 'Dissolved' | 'HandleBidResult' | 'Edited' | 'MemoUpdated' | 'AddedToNewRaise';
}
/** @name PolkadotRuntimeParachainsCoretimePalletEvent (495) */
/** @name PolkadotRuntimeParachainsCoretimePalletEvent (498) */
interface PolkadotRuntimeParachainsCoretimePalletEvent extends Enum {
readonly isRevenueInfoRequested: boolean;
readonly asRevenueInfoRequested: {
@@ -2710,7 +2735,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'RevenueInfoRequested' | 'CoreAssigned';
}
/** @name PalletXcmEvent (499) */
/** @name PalletXcmEvent (502) */
interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: {
@@ -2723,6 +2748,19 @@ declare module '@polkadot/types/lookup' {
readonly message: StagingXcmV5Xcm;
readonly messageId: U8aFixed;
} & 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 asUnexpectedResponse: {
readonly origin: StagingXcmV5Location;
@@ -2848,10 +2886,25 @@ declare module '@polkadot/types/lookup' {
readonly asVersionMigrationFinished: {
readonly version: u32;
} & 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 {
readonly isComplete: boolean;
readonly asComplete: {
@@ -2869,25 +2922,47 @@ declare module '@polkadot/types/lookup' {
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 {
readonly isStaking: boolean;
readonly asStaking: PalletStakingPalletHoldReason;
readonly isPreimage: boolean;
readonly asPreimage: PalletPreimageHoldReason;
readonly isDelegatedStaking: boolean;
readonly asDelegatedStaking: PalletDelegatedStakingHoldReason;
readonly isStateTrieMigration: boolean;
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 {
readonly isNominationPools: boolean;
readonly asNominationPools: PalletNominationPoolsFreezeReason;
readonly type: 'NominationPools';
}
/** @name PalletReferendaReferendumInfo (632) */
/** @name PalletReferendaReferendumInfo (640) */
interface PalletReferendaReferendumInfo extends Enum {
readonly isOngoing: boolean;
readonly asOngoing: PalletReferendaReferendumStatus;
@@ -2904,7 +2979,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Ongoing' | 'Approved' | 'Rejected' | 'Cancelled' | 'TimedOut' | 'Killed';
}
/** @name PalletReferendaReferendumStatus (633) */
/** @name PalletReferendaReferendumStatus (641) */
interface PalletReferendaReferendumStatus extends Struct {
readonly track: u16;
readonly origin: PolkadotRuntimeOriginCaller;
@@ -2919,20 +2994,7 @@ declare module '@polkadot/types/lookup' {
readonly alarm: Option<ITuple<[u32, ITuple<[u32, u32]>]>>;
}
/** @name PalletReferendaTrackInfo (645) */
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) */
/** @name PolkadotRuntimeCommonClaimsPalletError (659) */
interface PolkadotRuntimeCommonClaimsPalletError extends Enum {
readonly isInvalidEthereumSignature: boolean;
readonly isSignerHasNoClaim: boolean;
@@ -2943,7 +3005,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidEthereumSignature' | 'SignerHasNoClaim' | 'SenderHasNoClaim' | 'PotUnderflow' | 'InvalidStatement' | 'VestedBalanceExists';
}
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (717) */
/** @name PolkadotRuntimeParachainsConfigurationHostConfiguration (724) */
interface PolkadotRuntimeParachainsConfigurationHostConfiguration extends Struct {
readonly maxCodeSize: u32;
readonly maxHeadDataSize: u32;
@@ -2982,26 +3044,26 @@ declare module '@polkadot/types/lookup' {
readonly schedulerParams: PolkadotPrimitivesV8SchedulerParams;
}
/** @name PolkadotRuntimeParachainsConfigurationPalletError (720) */
/** @name PolkadotRuntimeParachainsConfigurationPalletError (727) */
interface PolkadotRuntimeParachainsConfigurationPalletError extends Enum {
readonly isInvalidNewValue: boolean;
readonly type: 'InvalidNewValue';
}
/** @name PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker (723) */
/** @name PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker (730) */
interface PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker extends Struct {
readonly buffer: Vec<PolkadotRuntimeParachainsSharedRelayParentInfo>;
readonly latestNumber: u32;
}
/** @name PolkadotRuntimeParachainsSharedRelayParentInfo (725) */
/** @name PolkadotRuntimeParachainsSharedRelayParentInfo (732) */
interface PolkadotRuntimeParachainsSharedRelayParentInfo extends Struct {
readonly relayParent: H256;
readonly stateRoot: H256;
readonly claimQueue: BTreeMap<u32, BTreeMap<u8, BTreeSet<u32>>>;
}
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (735) */
/** @name PolkadotRuntimeParachainsInclusionCandidatePendingAvailability (742) */
interface PolkadotRuntimeParachainsInclusionCandidatePendingAvailability extends Struct {
readonly core: u32;
readonly hash_: H256;
@@ -3014,7 +3076,7 @@ declare module '@polkadot/types/lookup' {
readonly backingGroup: u32;
}
/** @name PolkadotRuntimeParachainsInclusionPalletError (736) */
/** @name PolkadotRuntimeParachainsInclusionPalletError (743) */
interface PolkadotRuntimeParachainsInclusionPalletError extends Enum {
readonly isValidatorIndexOutOfBounds: 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';
}
/** @name PolkadotPrimitivesVstagingScrapedOnChainVotes (737) */
/** @name PolkadotPrimitivesVstagingScrapedOnChainVotes (744) */
interface PolkadotPrimitivesVstagingScrapedOnChainVotes extends Struct {
readonly session: u32;
readonly backingValidatorsPerCandidate: Vec<ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Vec<ITuple<[u32, PolkadotPrimitivesV8ValidityAttestation]>>]>>;
readonly disputes: Vec<PolkadotPrimitivesV8DisputeStatementSet>;
}
/** @name PolkadotRuntimeParachainsParasInherentPalletError (742) */
/** @name PolkadotRuntimeParachainsParasInherentPalletError (749) */
interface PolkadotRuntimeParachainsParasInherentPalletError extends Enum {
readonly isTooManyInclusionInherents: boolean;
readonly isInvalidParentHeader: boolean;
@@ -3052,7 +3114,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'TooManyInclusionInherents' | 'InvalidParentHeader' | 'InherentDataFilteredDuringExecution' | 'UnscheduledCandidate';
}
/** @name PolkadotRuntimeParachainsSchedulerCommonAssignment (746) */
/** @name PolkadotRuntimeParachainsSchedulerCommonAssignment (753) */
interface PolkadotRuntimeParachainsSchedulerCommonAssignment extends Enum {
readonly isPool: boolean;
readonly asPool: {
@@ -3064,7 +3126,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Pool' | 'Bulk';
}
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (749) */
/** @name PolkadotRuntimeParachainsParasPvfCheckActiveVoteState (756) */
interface PolkadotRuntimeParachainsParasPvfCheckActiveVoteState extends Struct {
readonly votesAccept: BitVec;
readonly votesReject: BitVec;
@@ -3073,7 +3135,7 @@ declare module '@polkadot/types/lookup' {
readonly causes: Vec<PolkadotRuntimeParachainsParasPvfCheckCause>;
}
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (751) */
/** @name PolkadotRuntimeParachainsParasPvfCheckCause (758) */
interface PolkadotRuntimeParachainsParasPvfCheckCause extends Enum {
readonly isOnboarding: boolean;
readonly asOnboarding: u32;
@@ -3086,14 +3148,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Onboarding' | 'Upgrade';
}
/** @name PolkadotRuntimeParachainsParasUpgradeStrategy (752) */
/** @name PolkadotRuntimeParachainsParasUpgradeStrategy (759) */
interface PolkadotRuntimeParachainsParasUpgradeStrategy extends Enum {
readonly isSetGoAheadSignal: boolean;
readonly isApplyAtExpectedBlock: boolean;
readonly type: 'SetGoAheadSignal' | 'ApplyAtExpectedBlock';
}
/** @name PolkadotRuntimeParachainsParasParaLifecycle (755) */
/** @name PolkadotRuntimeParachainsParasParaLifecycle (762) */
interface PolkadotRuntimeParachainsParasParaLifecycle extends Enum {
readonly isOnboarding: boolean;
readonly isParathread: boolean;
@@ -3105,39 +3167,39 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Onboarding' | 'Parathread' | 'Parachain' | 'UpgradingParathread' | 'DowngradingParachain' | 'OffboardingParathread' | 'OffboardingParachain';
}
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (757) */
/** @name PolkadotRuntimeParachainsParasParaPastCodeMeta (764) */
interface PolkadotRuntimeParachainsParasParaPastCodeMeta extends Struct {
readonly upgradeTimes: Vec<PolkadotRuntimeParachainsParasReplacementTimes>;
readonly lastPruned: Option<u32>;
}
/** @name PolkadotRuntimeParachainsParasReplacementTimes (759) */
/** @name PolkadotRuntimeParachainsParasReplacementTimes (766) */
interface PolkadotRuntimeParachainsParasReplacementTimes extends Struct {
readonly expectedAt: u32;
readonly activatedAt: u32;
}
/** @name PolkadotPrimitivesV8UpgradeGoAhead (761) */
/** @name PolkadotPrimitivesV8UpgradeGoAhead (768) */
interface PolkadotPrimitivesV8UpgradeGoAhead extends Enum {
readonly isAbort: boolean;
readonly isGoAhead: boolean;
readonly type: 'Abort' | 'GoAhead';
}
/** @name PolkadotPrimitivesV8UpgradeRestriction (762) */
/** @name PolkadotPrimitivesV8UpgradeRestriction (769) */
interface PolkadotPrimitivesV8UpgradeRestriction extends Enum {
readonly isPresent: boolean;
readonly type: 'Present';
}
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (763) */
/** @name PolkadotRuntimeParachainsParasParaGenesisArgs (770) */
interface PolkadotRuntimeParachainsParasParaGenesisArgs extends Struct {
readonly genesisHead: Bytes;
readonly validationCode: Bytes;
readonly paraKind: bool;
}
/** @name PolkadotRuntimeParachainsParasPalletError (764) */
/** @name PolkadotRuntimeParachainsParasPalletError (771) */
interface PolkadotRuntimeParachainsParasPalletError extends Enum {
readonly isNotRegistered: 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';
}
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (766) */
/** @name PolkadotRuntimeParachainsInitializerBufferedSessionChange (773) */
interface PolkadotRuntimeParachainsInitializerBufferedSessionChange extends Struct {
readonly validators: Vec<PolkadotPrimitivesV8ValidatorAppPublic>;
readonly queued: Vec<PolkadotPrimitivesV8ValidatorAppPublic>;
readonly sessionIndex: u32;
}
/** @name PolkadotCorePrimitivesInboundDownwardMessage (768) */
/** @name PolkadotCorePrimitivesInboundDownwardMessage (775) */
interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
readonly sentAt: u32;
readonly msg: Bytes;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (769) */
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (776) */
interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool;
readonly age: u32;
@@ -3178,7 +3240,7 @@ declare module '@polkadot/types/lookup' {
readonly maxTotalSize: u32;
}
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (771) */
/** @name PolkadotRuntimeParachainsHrmpHrmpChannel (778) */
interface PolkadotRuntimeParachainsHrmpHrmpChannel extends Struct {
readonly maxCapacity: u32;
readonly maxTotalSize: u32;
@@ -3190,13 +3252,13 @@ declare module '@polkadot/types/lookup' {
readonly recipientDeposit: u128;
}
/** @name PolkadotCorePrimitivesInboundHrmpMessage (773) */
/** @name PolkadotCorePrimitivesInboundHrmpMessage (780) */
interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct {
readonly sentAt: u32;
readonly data: Bytes;
}
/** @name PolkadotRuntimeParachainsHrmpPalletError (776) */
/** @name PolkadotRuntimeParachainsHrmpPalletError (783) */
interface PolkadotRuntimeParachainsHrmpPalletError extends Enum {
readonly isOpenHrmpChannelToSelf: 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';
}
/** @name PolkadotPrimitivesV8SessionInfo (778) */
/** @name PolkadotPrimitivesV8SessionInfo (785) */
interface PolkadotPrimitivesV8SessionInfo extends Struct {
readonly activeValidatorIndices: Vec<u32>;
readonly randomSeed: U8aFixed;
@@ -3238,13 +3300,13 @@ declare module '@polkadot/types/lookup' {
readonly neededApprovals: u32;
}
/** @name PolkadotPrimitivesV8IndexedVecValidatorIndex (779) */
/** @name PolkadotPrimitivesV8IndexedVecValidatorIndex (786) */
interface PolkadotPrimitivesV8IndexedVecValidatorIndex extends Vec<PolkadotPrimitivesV8ValidatorAppPublic> {}
/** @name PolkadotPrimitivesV8IndexedVecGroupIndex (780) */
/** @name PolkadotPrimitivesV8IndexedVecGroupIndex (787) */
interface PolkadotPrimitivesV8IndexedVecGroupIndex extends Vec<Vec<u32>> {}
/** @name PolkadotPrimitivesV8DisputeState (782) */
/** @name PolkadotPrimitivesV8DisputeState (789) */
interface PolkadotPrimitivesV8DisputeState extends Struct {
readonly validatorsFor: BitVec;
readonly validatorsAgainst: BitVec;
@@ -3252,7 +3314,7 @@ declare module '@polkadot/types/lookup' {
readonly concludedAt: Option<u32>;
}
/** @name PolkadotRuntimeParachainsDisputesPalletError (784) */
/** @name PolkadotRuntimeParachainsDisputesPalletError (791) */
interface PolkadotRuntimeParachainsDisputesPalletError extends Enum {
readonly isDuplicateDisputeStatementSets: boolean;
readonly isAncientDisputeStatement: boolean;
@@ -3266,13 +3328,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DuplicateDisputeStatementSets' | 'AncientDisputeStatement' | 'ValidatorIndexOutOfBounds' | 'InvalidSignature' | 'DuplicateStatement' | 'SingleSidedDispute' | 'MaliciousBacker' | 'MissingBackingVotes' | 'UnconfirmedDispute';
}
/** @name PolkadotPrimitivesV8SlashingPendingSlashes (785) */
/** @name PolkadotPrimitivesV8SlashingPendingSlashes (792) */
interface PolkadotPrimitivesV8SlashingPendingSlashes extends Struct {
readonly keys_: BTreeMap<u32, PolkadotPrimitivesV8ValidatorAppPublic>;
readonly kind: PolkadotPrimitivesV8SlashingSlashingOffenceKind;
}
/** @name PolkadotRuntimeParachainsDisputesSlashingPalletError (789) */
/** @name PolkadotRuntimeParachainsDisputesSlashingPalletError (796) */
interface PolkadotRuntimeParachainsDisputesSlashingPalletError extends Enum {
readonly isInvalidKeyOwnershipProof: boolean;
readonly isInvalidSessionIndex: boolean;
@@ -3283,13 +3345,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidKeyOwnershipProof' | 'InvalidSessionIndex' | 'InvalidCandidateHash' | 'InvalidValidatorIndex' | 'ValidatorIndexIdMismatch' | 'DuplicateSlashingReport';
}
/** @name PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount (790) */
/** @name PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount (797) */
interface PolkadotRuntimeParachainsOnDemandTypesCoreAffinityCount extends Struct {
readonly coreIndex: u32;
readonly count: u32;
}
/** @name PolkadotRuntimeParachainsOnDemandTypesQueueStatusType (791) */
/** @name PolkadotRuntimeParachainsOnDemandTypesQueueStatusType (798) */
interface PolkadotRuntimeParachainsOnDemandTypesQueueStatusType extends Struct {
readonly traffic: u128;
readonly nextIndex: u32;
@@ -3297,45 +3359,46 @@ declare module '@polkadot/types/lookup' {
readonly freedIndices: BinaryHeapReverseQueueIndex;
}
/** @name BinaryHeapReverseQueueIndex (793) */
/** @name BinaryHeapReverseQueueIndex (800) */
interface BinaryHeapReverseQueueIndex extends Vec<u32> {}
/** @name BinaryHeapEnqueuedOrder (796) */
/** @name BinaryHeapEnqueuedOrder (803) */
interface BinaryHeapEnqueuedOrder extends Vec<PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder> {}
/** @name PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder (797) */
/** @name PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder (804) */
interface PolkadotRuntimeParachainsOnDemandTypesEnqueuedOrder extends Struct {
readonly paraId: u32;
readonly idx: u32;
}
/** @name PolkadotRuntimeParachainsOnDemandPalletError (801) */
/** @name PolkadotRuntimeParachainsOnDemandPalletError (808) */
interface PolkadotRuntimeParachainsOnDemandPalletError extends Enum {
readonly isQueueFull: 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 {
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
readonly endHint: Option<u32>;
readonly nextSchedule: Option<u32>;
}
/** @name PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor (804) */
/** @name PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor (811) */
interface PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor extends Struct {
readonly queue: Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>;
readonly currentWork: Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>;
}
/** @name PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor (806) */
/** @name PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor (813) */
interface PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor extends Struct {
readonly first: u32;
readonly last: u32;
}
/** @name PolkadotRuntimeParachainsAssignerCoretimeWorkState (808) */
/** @name PolkadotRuntimeParachainsAssignerCoretimeWorkState (815) */
interface PolkadotRuntimeParachainsAssignerCoretimeWorkState extends Struct {
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState]>>;
readonly endHint: Option<u32>;
@@ -3343,27 +3406,27 @@ declare module '@polkadot/types/lookup' {
readonly step: u16;
}
/** @name PolkadotRuntimeParachainsAssignerCoretimeAssignmentState (811) */
/** @name PolkadotRuntimeParachainsAssignerCoretimeAssignmentState (818) */
interface PolkadotRuntimeParachainsAssignerCoretimeAssignmentState extends Struct {
readonly ratio: u16;
readonly remaining: u16;
}
/** @name PolkadotRuntimeParachainsAssignerCoretimePalletError (812) */
/** @name PolkadotRuntimeParachainsAssignerCoretimePalletError (819) */
interface PolkadotRuntimeParachainsAssignerCoretimePalletError extends Enum {
readonly isAssignmentsEmpty: boolean;
readonly isDisallowedInsert: boolean;
readonly type: 'AssignmentsEmpty' | 'DisallowedInsert';
}
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (813) */
/** @name PolkadotRuntimeCommonParasRegistrarParaInfo (820) */
interface PolkadotRuntimeCommonParasRegistrarParaInfo extends Struct {
readonly manager: AccountId32;
readonly deposit: u128;
readonly locked: Option<bool>;
}
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (815) */
/** @name PolkadotRuntimeCommonParasRegistrarPalletError (822) */
interface PolkadotRuntimeCommonParasRegistrarPalletError extends Enum {
readonly isNotRegistered: 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';
}
/** @name PolkadotRuntimeCommonSlotsPalletError (817) */
/** @name PolkadotRuntimeCommonSlotsPalletError (824) */
interface PolkadotRuntimeCommonSlotsPalletError extends Enum {
readonly isParaNotOnboarding: boolean;
readonly isLeaseError: boolean;
readonly type: 'ParaNotOnboarding' | 'LeaseError';
}
/** @name PolkadotRuntimeCommonAuctionsPalletError (822) */
/** @name PolkadotRuntimeCommonAuctionsPalletError (829) */
interface PolkadotRuntimeCommonAuctionsPalletError extends Enum {
readonly isAuctionInProgress: boolean;
readonly isLeasePeriodInPast: boolean;
@@ -3401,7 +3464,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AuctionInProgress' | 'LeasePeriodInPast' | 'ParaNotRegistered' | 'NotCurrentAuction' | 'NotAuction' | 'AuctionEnded' | 'AlreadyLeasedOut';
}
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (823) */
/** @name PolkadotRuntimeCommonCrowdloanFundInfo (830) */
interface PolkadotRuntimeCommonCrowdloanFundInfo extends Struct {
readonly depositor: AccountId32;
readonly verifier: Option<SpRuntimeMultiSigner>;
@@ -3415,7 +3478,7 @@ declare module '@polkadot/types/lookup' {
readonly fundIndex: u32;
}
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (824) */
/** @name PolkadotRuntimeCommonCrowdloanLastContribution (831) */
interface PolkadotRuntimeCommonCrowdloanLastContribution extends Enum {
readonly isNever: boolean;
readonly isPreEnding: boolean;
@@ -3425,7 +3488,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Never' | 'PreEnding' | 'Ending';
}
/** @name PolkadotRuntimeCommonCrowdloanPalletError (825) */
/** @name PolkadotRuntimeCommonCrowdloanPalletError (832) */
interface PolkadotRuntimeCommonCrowdloanPalletError extends Enum {
readonly isFirstPeriodInPast: 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';
}
/** @name PolkadotRuntimeParachainsCoretimePalletError (826) */
/** @name PolkadotRuntimeParachainsCoretimePalletError (833) */
interface PolkadotRuntimeParachainsCoretimePalletError extends Enum {
readonly isNotBroker: boolean;
readonly isRequestedFutureRevenue: boolean;
@@ -3461,7 +3524,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'NotBroker' | 'RequestedFutureRevenue' | 'AssetTransferFailed';
}
/** @name PalletXcmQueryStatus (827) */
/** @name PalletXcmQueryStatus (834) */
interface PalletXcmQueryStatus extends Enum {
readonly isPending: boolean;
readonly asPending: {
@@ -3483,7 +3546,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Pending' | 'VersionNotifier' | 'Ready';
}
/** @name XcmVersionedResponse (831) */
/** @name XcmVersionedResponse (838) */
interface XcmVersionedResponse extends Enum {
readonly isV3: boolean;
readonly asV3: XcmV3Response;
@@ -3494,7 +3557,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'V3' | 'V4' | 'V5';
}
/** @name PalletXcmVersionMigrationStage (837) */
/** @name PalletXcmVersionMigrationStage (844) */
interface PalletXcmVersionMigrationStage extends Enum {
readonly isMigrateSupportedVersion: boolean;
readonly isMigrateVersionNotifiers: boolean;
@@ -3504,7 +3567,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets';
}
/** @name PalletXcmRemoteLockedFungibleRecord (840) */
/** @name PalletXcmRemoteLockedFungibleRecord (847) */
interface PalletXcmRemoteLockedFungibleRecord extends Struct {
readonly amount: u128;
readonly owner: XcmVersionedLocation;
@@ -3512,7 +3575,25 @@ declare module '@polkadot/types/lookup' {
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 {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -3538,32 +3619,35 @@ declare module '@polkadot/types/lookup' {
readonly isInvalidAssetUnsupportedReserve: boolean;
readonly isTooManyReserves: 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> {}
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (870) */
/** @name PolkadotRuntimeCommonClaimsPrevalidateAttests (883) */
type PolkadotRuntimeCommonClaimsPrevalidateAttests = Null;
/** @name PolkadotRuntimeRuntime (873) */
/** @name PolkadotRuntimeRuntime (886) */
type PolkadotRuntimeRuntime = Null;
/** @name RelayCommonApisInflationInfo (874) */
/** @name RelayCommonApisInflationInfo (887) */
interface RelayCommonApisInflationInfo extends Struct {
readonly inflation: Perquintill;
readonly nextMint: ITuple<[u128, u128]>;
}
/** @name PolkadotPrimitivesV8GroupRotationInfo (897) */
/** @name PolkadotPrimitivesV8GroupRotationInfo (910) */
interface PolkadotPrimitivesV8GroupRotationInfo extends Struct {
readonly sessionStartBlock: u32;
readonly groupRotationFrequency: u32;
readonly now: u32;
}
/** @name PolkadotPrimitivesVstagingCoreState (899) */
/** @name PolkadotPrimitivesVstagingCoreState (912) */
interface PolkadotPrimitivesVstagingCoreState extends Enum {
readonly isOccupied: boolean;
readonly asOccupied: PolkadotPrimitivesVstagingOccupiedCore;
@@ -3573,7 +3657,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Occupied' | 'Scheduled' | 'Free';
}
/** @name PolkadotPrimitivesVstagingOccupiedCore (900) */
/** @name PolkadotPrimitivesVstagingOccupiedCore (913) */
interface PolkadotPrimitivesVstagingOccupiedCore extends Struct {
readonly nextUpOnAvailable: Option<PolkadotPrimitivesV8ScheduledCore>;
readonly occupiedSince: u32;
@@ -3585,16 +3669,16 @@ declare module '@polkadot/types/lookup' {
readonly candidateDescriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
}
/** @name PolkadotPrimitivesV8ScheduledCore (902) */
/** @name PolkadotPrimitivesV8ScheduledCore (915) */
interface PolkadotPrimitivesV8ScheduledCore extends Struct {
readonly paraId: u32;
readonly collator: Option<PolkadotPrimitivesV8CollatorAppPublic>;
}
/** @name PolkadotPrimitivesV8CollatorAppPublic (904) */
/** @name PolkadotPrimitivesV8CollatorAppPublic (917) */
interface PolkadotPrimitivesV8CollatorAppPublic extends U8aFixed {}
/** @name PolkadotPrimitivesV8OccupiedCoreAssumption (905) */
/** @name PolkadotPrimitivesV8OccupiedCoreAssumption (918) */
interface PolkadotPrimitivesV8OccupiedCoreAssumption extends Enum {
readonly isIncluded: boolean;
readonly isTimedOut: boolean;
@@ -3602,7 +3686,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Included' | 'TimedOut' | 'Free';
}
/** @name PolkadotPrimitivesV8PersistedValidationData (907) */
/** @name PolkadotPrimitivesV8PersistedValidationData (920) */
interface PolkadotPrimitivesV8PersistedValidationData extends Struct {
readonly parentHead: Bytes;
readonly relayParentNumber: u32;
@@ -3610,7 +3694,7 @@ declare module '@polkadot/types/lookup' {
readonly maxPovSize: u32;
}
/** @name PolkadotPrimitivesVstagingCandidateEvent (912) */
/** @name PolkadotPrimitivesVstagingCandidateEvent (925) */
interface PolkadotPrimitivesVstagingCandidateEvent extends Enum {
readonly isCandidateBacked: boolean;
readonly asCandidateBacked: ITuple<[PolkadotPrimitivesVstagingCandidateReceiptV2, Bytes, u32, u32]>;
@@ -3621,13 +3705,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'CandidateBacked' | 'CandidateIncluded' | 'CandidateTimedOut';
}
/** @name PolkadotPrimitivesVstagingAsyncBackingBackingState (928) */
/** @name PolkadotPrimitivesVstagingAsyncBackingBackingState (941) */
interface PolkadotPrimitivesVstagingAsyncBackingBackingState extends Struct {
readonly constraints: PolkadotPrimitivesV8AsyncBackingConstraints;
readonly pendingAvailability: Vec<PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability>;
}
/** @name PolkadotPrimitivesV8AsyncBackingConstraints (929) */
/** @name PolkadotPrimitivesV8AsyncBackingConstraints (942) */
interface PolkadotPrimitivesV8AsyncBackingConstraints extends Struct {
readonly minRelayParentNumber: u32;
readonly maxPovSize: u32;
@@ -3645,18 +3729,18 @@ declare module '@polkadot/types/lookup' {
readonly futureValidationCode: Option<ITuple<[u32, H256]>>;
}
/** @name PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations (930) */
/** @name PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations (943) */
interface PolkadotPrimitivesV8AsyncBackingInboundHrmpLimitations extends Struct {
readonly validWatermarks: Vec<u32>;
}
/** @name PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations (933) */
/** @name PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations (946) */
interface PolkadotPrimitivesV8AsyncBackingOutboundHrmpChannelLimitations extends Struct {
readonly bytesRemaining: u32;
readonly messagesRemaining: u32;
}
/** @name PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability (938) */
/** @name PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability (951) */
interface PolkadotPrimitivesVstagingAsyncBackingCandidatePendingAvailability extends Struct {
readonly candidateHash: H256;
readonly descriptor: PolkadotPrimitivesVstagingCandidateDescriptorV2;
@@ -3665,7 +3749,26 @@ declare module '@polkadot/types/lookup' {
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 {
readonly isUnimplemented: boolean;
readonly isVersionedConversionFailed: boolean;
@@ -3676,7 +3779,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Unimplemented' | 'VersionedConversionFailed' | 'WeightNotComputable' | 'UnhandledXcmVersion' | 'AssetNotFound' | 'Unroutable';
}
/** @name XcmRuntimeApisDryRunCallDryRunEffects (975) */
/** @name XcmRuntimeApisDryRunCallDryRunEffects (990) */
interface XcmRuntimeApisDryRunCallDryRunEffects extends Struct {
readonly executionResult: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
readonly emittedEvents: Vec<Event>;
@@ -3684,28 +3787,28 @@ declare module '@polkadot/types/lookup' {
readonly forwardedXcms: Vec<ITuple<[XcmVersionedLocation, Vec<XcmVersionedXcm>]>>;
}
/** @name XcmRuntimeApisDryRunError (981) */
/** @name XcmRuntimeApisDryRunError (996) */
interface XcmRuntimeApisDryRunError extends Enum {
readonly isUnimplemented: boolean;
readonly isVersionedConversionFailed: boolean;
readonly type: 'Unimplemented' | 'VersionedConversionFailed';
}
/** @name XcmRuntimeApisDryRunXcmDryRunEffects (983) */
/** @name XcmRuntimeApisDryRunXcmDryRunEffects (998) */
interface XcmRuntimeApisDryRunXcmDryRunEffects extends Struct {
readonly executionResult: StagingXcmV5TraitsOutcome;
readonly emittedEvents: Vec<Event>;
readonly forwardedXcms: Vec<ITuple<[XcmVersionedLocation, Vec<XcmVersionedXcm>]>>;
}
/** @name XcmRuntimeApisConversionsError (985) */
/** @name XcmRuntimeApisConversionsError (1000) */
interface XcmRuntimeApisConversionsError extends Enum {
readonly isUnsupported: boolean;
readonly isVersionedConversionFailed: boolean;
readonly type: 'Unsupported' | 'VersionedConversionFailed';
}
/** @name PolkadotRuntimeRuntimeError (989) */
/** @name PolkadotRuntimeRuntimeError (1004) */
interface PolkadotRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemError;
@@ -10309,16 +10309,27 @@ declare module '@polkadot/types/lookup' {
readonly type: 'DoesntExist' | 'KeyDecodingFailed';
}
/** @name PalletReviveEvmApiDebugRpcTypesTracerConfig (1084) */
interface PalletReviveEvmApiDebugRpcTypesTracerConfig extends Enum {
/** @name PalletReviveEvmApiDebugRpcTypesTracerType (1084) */
interface PalletReviveEvmApiDebugRpcTypesTracerType extends Enum {
readonly isCallTracer: boolean;
readonly asCallTracer: {
readonly withLogs: bool;
} & Struct;
readonly asCallTracer: Option<PalletReviveEvmApiDebugRpcTypesCallTracerConfig>;
readonly type: 'CallTracer';
}
/** @name PalletReviveEvmApiDebugRpcTypesCallTrace (1087) */
/** @name PalletReviveEvmApiDebugRpcTypesCallTracerConfig (1086) */
interface PalletReviveEvmApiDebugRpcTypesCallTracerConfig extends Struct {
readonly withLogs: bool;
readonly onlyTopCall: bool;
}
/** @name PalletReviveEvmApiDebugRpcTypesTrace (1089) */
interface PalletReviveEvmApiDebugRpcTypesTrace extends Enum {
readonly isCall: boolean;
readonly asCall: PalletReviveEvmApiDebugRpcTypesCallTrace;
readonly type: 'Call';
}
/** @name PalletReviveEvmApiDebugRpcTypesCallTrace (1090) */
interface PalletReviveEvmApiDebugRpcTypesCallTrace extends Struct {
readonly from: H160;
readonly gas: U256;
@@ -10334,7 +10345,7 @@ declare module '@polkadot/types/lookup' {
readonly callType: PalletReviveEvmApiDebugRpcTypesCallType;
}
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1091) */
/** @name PalletReviveEvmApiDebugRpcTypesCallLog (1094) */
interface PalletReviveEvmApiDebugRpcTypesCallLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
@@ -10342,7 +10353,7 @@ declare module '@polkadot/types/lookup' {
readonly position: u32;
}
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1092) */
/** @name PalletReviveEvmApiDebugRpcTypesCallType (1095) */
interface PalletReviveEvmApiDebugRpcTypesCallType extends Enum {
readonly isCall: boolean;
readonly isStaticCall: boolean;
@@ -10350,40 +10361,40 @@ declare module '@polkadot/types/lookup' {
readonly type: 'Call' | 'StaticCall' | 'DelegateCall';
}
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1095) */
/** @name PalletTransactionPaymentRuntimeDispatchInfo (1098) */
interface PalletTransactionPaymentRuntimeDispatchInfo extends Struct {
readonly weight: SpWeightsWeightV2Weight;
readonly class: FrameSupportDispatchDispatchClass;
readonly partialFee: u128;
}
/** @name PalletTransactionPaymentFeeDetails (1096) */
/** @name PalletTransactionPaymentFeeDetails (1099) */
interface PalletTransactionPaymentFeeDetails extends Struct {
readonly inclusionFee: Option<PalletTransactionPaymentInclusionFee>;
readonly tip: u128;
}
/** @name PalletTransactionPaymentInclusionFee (1098) */
/** @name PalletTransactionPaymentInclusionFee (1101) */
interface PalletTransactionPaymentInclusionFee extends Struct {
readonly baseFee: u128;
readonly lenFee: u128;
readonly adjustedWeightFee: u128;
}
/** @name SpConsensusBeefyValidatorSet (1102) */
/** @name SpConsensusBeefyValidatorSet (1105) */
interface SpConsensusBeefyValidatorSet extends Struct {
readonly validators: Vec<SpConsensusBeefyEcdsaCryptoPublic>;
readonly id: u64;
}
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1103) */
/** @name SpConsensusBeefyForkVotingProofOpaqueValue (1106) */
interface SpConsensusBeefyForkVotingProofOpaqueValue extends Struct {
readonly vote: SpConsensusBeefyVoteMessage;
readonly ancestryProof: Bytes;
readonly header: SpRuntimeHeader;
}
/** @name SpMmrPrimitivesError (1105) */
/** @name SpMmrPrimitivesError (1108) */
interface SpMmrPrimitivesError extends Enum {
readonly isInvalidNumericOp: boolean;
readonly isPush: boolean;
@@ -10398,20 +10409,20 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidNumericOp' | 'Push' | 'GetRoot' | 'Commit' | 'GenerateProof' | 'Verify' | 'LeafNotFound' | 'PalletNotIncluded' | 'InvalidLeafIndex' | 'InvalidBestKnownBlock';
}
/** @name SpMmrPrimitivesLeafProof (1111) */
/** @name SpMmrPrimitivesLeafProof (1114) */
interface SpMmrPrimitivesLeafProof extends Struct {
readonly leafIndices: Vec<u64>;
readonly leafCount: u64;
readonly items: Vec<H256>;
}
/** @name SpMixnetSessionStatus (1113) */
/** @name SpMixnetSessionStatus (1116) */
interface SpMixnetSessionStatus extends Struct {
readonly currentIndex: u32;
readonly phase: SpMixnetSessionPhase;
}
/** @name SpMixnetSessionPhase (1114) */
/** @name SpMixnetSessionPhase (1117) */
interface SpMixnetSessionPhase extends Enum {
readonly isCoverToCurrent: boolean;
readonly isRequestsToCurrent: boolean;
@@ -10420,14 +10431,14 @@ declare module '@polkadot/types/lookup' {
readonly type: 'CoverToCurrent' | 'RequestsToCurrent' | 'CoverToPrev' | 'DisconnectFromPrev';
}
/** @name SpMixnetMixnode (1117) */
/** @name SpMixnetMixnode (1120) */
interface SpMixnetMixnode extends Struct {
readonly kxPublic: U8aFixed;
readonly peerId: U8aFixed;
readonly externalAddresses: Vec<Bytes>;
}
/** @name SpMixnetMixnodesErr (1118) */
/** @name SpMixnetMixnodesErr (1121) */
interface SpMixnetMixnodesErr extends Enum {
readonly isInsufficientRegistrations: boolean;
readonly asInsufficientRegistrations: {
@@ -10437,7 +10448,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InsufficientRegistrations';
}
/** @name KitchensinkRuntimeRuntimeError (1124) */
/** @name KitchensinkRuntimeRuntimeError (1127) */
interface KitchensinkRuntimeRuntimeError extends Enum {
readonly isSystem: boolean;
readonly asSystem: FrameSystemError;
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.4.2' };
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+7 -7
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.5.1",
"@polkadot/x-bigint": "^13.5.1",
"@polkadot/util": "^13.5.3",
"@polkadot/x-bigint": "^13.5.3",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/types": "16.2.1",
"@polkadot/types-augment": "16.2.1",
"@polkadot/types-support": "16.2.1",
"@polkadot/util-crypto": "^13.5.1"
"@polkadot/types": "16.4.2",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-support": "16.4.2",
"@polkadot/util-crypto": "^13.5.3"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.4.2' };
@@ -5,6 +5,15 @@ import type { Codec, CodecClass, Registry } from '../types/index.js';
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 */
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 = '';
@@ -63,6 +72,10 @@ export function decodeU8aStruct (registry: Registry, result: [string, Codec][],
let offset = 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 {
while (i < count) {
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] {
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 i = 0;
+4 -4
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/types-codec": "16.4.2",
"@polkadot/util": "^13.5.3",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/types": "16.2.1"
"@polkadot/types": "16.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.4.2' };
+7 -7
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^13.5.1",
"@polkadot/types": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/types-create": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/networks": "^13.5.3",
"@polkadot/types": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/util": "^13.5.3",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/api": "16.2.1"
"@polkadot/api": "16.4.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.4.2' };
+2 -2
View File
@@ -18,10 +18,10 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.5.1",
"@polkadot/util": "^13.5.3",
"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 {
"methods": [
"account_nextIndex",
"archive_v1_body",
"archive_v1_call",
"archive_v1_finalizedHeight",
"archive_v1_genesisHash",
"archive_v1_hashByHeight",
"archive_v1_header",
"archive_v1_stopStorage",
"archive_v1_storage",
"archive_v1_storageDiff",
"archive_v1_storageDiff_stopStorageDiff",
"author_hasKey",
"author_hasSessionKeys",
"author_insertKey",
@@ -66,6 +56,8 @@ export default {
"childstate_getStorageHash",
"childstate_getStorageSize",
"dev_getBlockStats",
"engine_createBlock",
"engine_finalizeBlock",
"offchain_localStorageClear",
"offchain_localStorageGet",
"offchain_localStorageSet",
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "statemine",
"implName": "statemine",
"authoringVersion": 1,
"specVersion": 1005001,
"specVersion": 1006000,
"implVersion": 0,
"apis": [
[
@@ -18,7 +18,7 @@ export default {
],
[
"0xd7bdd8a272ca0d65",
1
2
],
[
"0xdf6acb689907609b",
@@ -83,6 +83,10 @@ export default {
[
"0xfbc577b9d747efd6",
1
],
[
"0x8c403e5c4a9fd442",
1
]
],
"transactionVersion": 15,
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -8,16 +8,6 @@
export default {
"methods": [
"account_nextIndex",
"archive_v1_body",
"archive_v1_call",
"archive_v1_finalizedHeight",
"archive_v1_genesisHash",
"archive_v1_hashByHeight",
"archive_v1_header",
"archive_v1_stopStorage",
"archive_v1_storage",
"archive_v1_storageDiff",
"archive_v1_storageDiff_stopStorageDiff",
"author_hasKey",
"author_hasSessionKeys",
"author_insertKey",
@@ -66,6 +56,8 @@ export default {
"childstate_getStorageHash",
"childstate_getStorageSize",
"dev_getBlockStats",
"engine_createBlock",
"engine_finalizeBlock",
"offchain_localStorageClear",
"offchain_localStorageGet",
"offchain_localStorageSet",
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "statemint",
"implName": "statemint",
"authoringVersion": 1,
"specVersion": 1005001,
"specVersion": 1006000,
"implVersion": 0,
"apis": [
[
@@ -18,7 +18,7 @@ export default {
],
[
"0xd7bdd8a272ca0d65",
1
2
],
[
"0xdf6acb689907609b",
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "kusama",
"implName": "parity-kusama",
"authoringVersion": 2,
"specVersion": 1005000,
"specVersion": 1006000,
"implVersion": 0,
"apis": [
[
@@ -38,7 +38,7 @@ export default {
],
[
"0xaf2c0297a23e6d3d",
12
13
],
[
"0x49eaaf1b548a0cb0",
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "polkadot",
"implName": "parity-polkadot",
"authoringVersion": 0,
"specVersion": 1005000,
"specVersion": 1006000,
"implVersion": 0,
"apis": [
[
@@ -46,7 +46,7 @@ export default {
],
[
"0xaf2c0297a23e6d3d",
12
13
],
[
"0x49eaaf1b548a0cb0",
File diff suppressed because one or more lines are too long
@@ -11978,7 +11978,7 @@
"type": 1084
}
],
"output": 1085,
"output": 1087,
"docs": [
" Traces the execution of an entire block and returns call traces.",
"",
@@ -12004,7 +12004,7 @@
"type": 1084
}
],
"output": 1093,
"output": 1096,
"docs": [
" Traces the execution of a specific transaction within a block.",
"",
@@ -12026,7 +12026,7 @@
"type": 1084
}
],
"output": 1094,
"output": 1097,
"docs": [
" Dry run and return the trace of the given call.",
"",
@@ -12053,7 +12053,7 @@
"type": 4
}
],
"output": 1095,
"output": 1098,
"docs": []
},
{
@@ -12068,7 +12068,7 @@
"type": 4
}
],
"output": 1096,
"output": 1099,
"docs": []
},
{
@@ -12167,7 +12167,7 @@
"type": 40
}
],
"output": 1099,
"output": 1102,
"docs": [
" Returns the size of the liquidity pool for the given asset pair."
]
@@ -12193,7 +12193,7 @@
"type": 4
}
],
"output": 1095,
"output": 1098,
"docs": [
" Query information of a dispatch class, weight, and fee of a given encoded `Call`."
]
@@ -12210,7 +12210,7 @@
"type": 4
}
],
"output": 1096,
"output": 1099,
"docs": [
" Query fee details of a given encoded `Call`."
]
@@ -12366,7 +12366,7 @@
{
"name": "validator_set",
"inputs": [],
"output": 1101,
"output": 1104,
"docs": [
" Return the current active BEEFY validator set"
]
@@ -12400,7 +12400,7 @@
"inputs": [
{
"name": "equivocation_proof",
"type": 1103
"type": 1106
},
{
"name": "key_owner_proof",
@@ -12499,7 +12499,7 @@
{
"name": "mmr_root",
"inputs": [],
"output": 1104,
"output": 1107,
"docs": [
" Return the on-chain MMR root hash."
]
@@ -12507,7 +12507,7 @@
{
"name": "mmr_leaf_count",
"inputs": [],
"output": 1106,
"output": 1109,
"docs": [
" Return the number of MMR blocks in the chain."
]
@@ -12524,7 +12524,7 @@
"type": 50
}
],
"output": 1107,
"output": 1110,
"docs": [
" Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,",
" use historical MMR state at given block height `n`. Else, use current MMR state."
@@ -12535,14 +12535,14 @@
"inputs": [
{
"name": "leaves",
"type": 1109
"type": 1112
},
{
"name": "proof",
"type": 1111
"type": 1114
}
],
"output": 1112,
"output": 1115,
"docs": [
" Verify MMR proof against on-chain MMR for a batch of leaves.",
"",
@@ -12560,14 +12560,14 @@
},
{
"name": "leaves",
"type": 1109
"type": 1112
},
{
"name": "proof",
"type": 1111
"type": 1114
}
],
"output": 1112,
"output": 1115,
"docs": [
" Verify MMR proof against given root hash for a batch of leaves.",
"",
@@ -12589,7 +12589,7 @@
{
"name": "session_status",
"inputs": [],
"output": 1113,
"output": 1116,
"docs": [
" Get the index and phase of the current session."
]
@@ -12597,7 +12597,7 @@
{
"name": "prev_mixnodes",
"inputs": [],
"output": 1115,
"output": 1118,
"docs": [
" Get the mixnode set for the previous session."
]
@@ -12605,7 +12605,7 @@
{
"name": "current_mixnodes",
"inputs": [],
"output": 1115,
"output": 1118,
"docs": [
" Get the mixnode set for the current session."
]
@@ -12619,7 +12619,7 @@
},
{
"name": "mixnode",
"type": 1117
"type": 1120
}
],
"output": 8,
@@ -12676,7 +12676,7 @@
"type": 14
}
],
"output": 1119,
"output": 1122,
"docs": [
" Decode the given public session keys.",
"",
@@ -12717,7 +12717,7 @@
"type": 14
}
],
"output": 1122,
"output": 1125,
"docs": [
" Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the",
" storage.",
@@ -12736,7 +12736,7 @@
"inputs": [
{
"name": "id",
"type": 1088
"type": 1091
}
],
"output": 439,
@@ -12760,7 +12760,7 @@
{
"name": "preset_names",
"inputs": [],
"output": 1123,
"output": 1126,
"docs": [
" Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.",
"",
@@ -12777,7 +12777,7 @@
"outerEnums": {
"callType": 139,
"eventType": 21,
"errorType": 1124
"errorType": 1127
},
"custom": {
"map": {}
@@ -55917,7 +55917,7 @@
"type": 0
},
{
"name": "DataProvider",
"name": "VoterType",
"type": 622
}
],
@@ -55927,7 +55927,7 @@
{
"name": "voters",
"type": 624,
"typeName": "Vec<DataProvider>",
"typeName": "Vec<VoterType>",
"docs": []
},
{
@@ -78870,7 +78870,7 @@
"evm",
"api",
"debug_rpc_types",
"TracerConfig"
"TracerType"
],
"params": [],
"def": {
@@ -78880,9 +78880,9 @@
"name": "CallTracer",
"fields": [
{
"name": "with_logs",
"type": 8,
"typeName": "bool",
"name": null,
"type": 1085,
"typeName": "Option<CallTracerConfig>",
"docs": []
}
],
@@ -78898,12 +78898,39 @@
{
"id": 1085,
"type": {
"path": [],
"params": [],
"def": {
"sequence": {
"path": [
"Option"
],
"params": [
{
"name": "T",
"type": 1086
}
],
"def": {
"variant": {
"variants": [
{
"name": "None",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Some",
"fields": [
{
"name": null,
"type": 1086,
"typeName": null,
"docs": []
}
],
"index": 1,
"docs": []
}
]
}
},
"docs": []
}
@@ -78911,19 +78938,97 @@
{
"id": 1086,
"type": {
"path": [],
"path": [
"pallet_revive",
"evm",
"api",
"debug_rpc_types",
"CallTracerConfig"
],
"params": [],
"def": {
"tuple": [
4,
1087
]
"composite": {
"fields": [
{
"name": "with_logs",
"type": 8,
"typeName": "bool",
"docs": []
},
{
"name": "only_top_call",
"type": 8,
"typeName": "bool",
"docs": []
}
]
}
},
"docs": []
}
},
{
"id": 1087,
"type": {
"path": [],
"params": [],
"def": {
"sequence": {
"type": 1088
}
},
"docs": []
}
},
{
"id": 1088,
"type": {
"path": [],
"params": [],
"def": {
"tuple": [
4,
1089
]
},
"docs": []
}
},
{
"id": 1089,
"type": {
"path": [
"pallet_revive",
"evm",
"api",
"debug_rpc_types",
"Trace"
],
"params": [],
"def": {
"variant": {
"variants": [
{
"name": "Call",
"fields": [
{
"name": null,
"type": 1090,
"typeName": "CallTrace",
"docs": []
}
],
"index": 0,
"docs": []
}
]
}
},
"docs": []
}
},
{
"id": 1090,
"type": {
"path": [
"pallet_revive",
@@ -78979,25 +79084,25 @@
},
{
"name": "error",
"type": 1088,
"type": 1091,
"typeName": "Option<String>",
"docs": []
},
{
"name": "revert_reason",
"type": 1088,
"type": 1091,
"typeName": "Option<String>",
"docs": []
},
{
"name": "calls",
"type": 1089,
"type": 1092,
"typeName": "Vec<CallTrace<Gas>>",
"docs": []
},
{
"name": "logs",
"type": 1090,
"type": 1093,
"typeName": "Vec<CallLog>",
"docs": []
},
@@ -79009,7 +79114,7 @@
},
{
"name": "call_type",
"type": 1092,
"type": 1095,
"typeName": "CallType",
"docs": []
}
@@ -79020,7 +79125,7 @@
}
},
{
"id": 1088,
"id": 1091,
"type": {
"path": [
"Option"
@@ -79060,33 +79165,33 @@
}
},
{
"id": 1089,
"id": 1092,
"type": {
"path": [],
"params": [],
"def": {
"sequence": {
"type": 1087
"type": 1090
}
},
"docs": []
}
},
{
"id": 1090,
"id": 1093,
"type": {
"path": [],
"params": [],
"def": {
"sequence": {
"type": 1091
"type": 1094
}
},
"docs": []
}
},
{
"id": 1091,
"id": 1094,
"type": {
"path": [
"pallet_revive",
@@ -79130,7 +79235,7 @@
}
},
{
"id": 1092,
"id": 1095,
"type": {
"path": [
"pallet_revive",
@@ -79168,7 +79273,7 @@
}
},
{
"id": 1093,
"id": 1096,
"type": {
"path": [
"Option"
@@ -79176,7 +79281,7 @@
"params": [
{
"name": "T",
"type": 1087
"type": 1089
}
],
"def": {
@@ -79193,7 +79298,7 @@
"fields": [
{
"name": null,
"type": 1087,
"type": 1089,
"typeName": null,
"docs": []
}
@@ -79208,7 +79313,7 @@
}
},
{
"id": 1094,
"id": 1097,
"type": {
"path": [
"Result"
@@ -79216,7 +79321,7 @@
"params": [
{
"name": "T",
"type": 1087
"type": 1089
},
{
"name": "E",
@@ -79231,7 +79336,7 @@
"fields": [
{
"name": null,
"type": 1087,
"type": 1089,
"typeName": null,
"docs": []
}
@@ -79259,7 +79364,7 @@
}
},
{
"id": 1095,
"id": 1098,
"type": {
"path": [
"pallet_transaction_payment",
@@ -79304,7 +79409,7 @@
}
},
{
"id": 1096,
"id": 1099,
"type": {
"path": [
"pallet_transaction_payment",
@@ -79322,7 +79427,7 @@
"fields": [
{
"name": "inclusion_fee",
"type": 1097,
"type": 1100,
"typeName": "Option<InclusionFee<Balance>>",
"docs": []
},
@@ -79339,7 +79444,7 @@
}
},
{
"id": 1097,
"id": 1100,
"type": {
"path": [
"Option"
@@ -79347,7 +79452,7 @@
"params": [
{
"name": "T",
"type": 1098
"type": 1101
}
],
"def": {
@@ -79364,7 +79469,7 @@
"fields": [
{
"name": null,
"type": 1098,
"type": 1101,
"typeName": null,
"docs": []
}
@@ -79379,7 +79484,7 @@
}
},
{
"id": 1098,
"id": 1101,
"type": {
"path": [
"pallet_transaction_payment",
@@ -79420,7 +79525,7 @@
}
},
{
"id": 1099,
"id": 1102,
"type": {
"path": [
"Option"
@@ -79428,7 +79533,7 @@
"params": [
{
"name": "T",
"type": 1100
"type": 1103
}
],
"def": {
@@ -79445,7 +79550,7 @@
"fields": [
{
"name": null,
"type": 1100,
"type": 1103,
"typeName": null,
"docs": []
}
@@ -79460,7 +79565,7 @@
}
},
{
"id": 1100,
"id": 1103,
"type": {
"path": [],
"params": [],
@@ -79474,7 +79579,7 @@
}
},
{
"id": 1101,
"id": 1104,
"type": {
"path": [
"Option"
@@ -79482,7 +79587,7 @@
"params": [
{
"name": "T",
"type": 1102
"type": 1105
}
],
"def": {
@@ -79499,7 +79604,7 @@
"fields": [
{
"name": null,
"type": 1102,
"type": 1105,
"typeName": null,
"docs": []
}
@@ -79514,7 +79619,7 @@
}
},
{
"id": 1102,
"id": 1105,
"type": {
"path": [
"sp_consensus_beefy",
@@ -79548,7 +79653,7 @@
}
},
{
"id": 1103,
"id": 1106,
"type": {
"path": [
"sp_consensus_beefy",
@@ -79596,7 +79701,7 @@
}
},
{
"id": 1104,
"id": 1107,
"type": {
"path": [
"Result"
@@ -79608,7 +79713,7 @@
},
{
"name": "E",
"type": 1105
"type": 1108
}
],
"def": {
@@ -79632,7 +79737,7 @@
"fields": [
{
"name": null,
"type": 1105,
"type": 1108,
"typeName": null,
"docs": []
}
@@ -79647,7 +79752,7 @@
}
},
{
"id": 1105,
"id": 1108,
"type": {
"path": [
"sp_mmr_primitives",
@@ -79724,7 +79829,7 @@
}
},
{
"id": 1106,
"id": 1109,
"type": {
"path": [
"Result"
@@ -79736,7 +79841,7 @@
},
{
"name": "E",
"type": 1105
"type": 1108
}
],
"def": {
@@ -79760,7 +79865,7 @@
"fields": [
{
"name": null,
"type": 1105,
"type": 1108,
"typeName": null,
"docs": []
}
@@ -79775,7 +79880,7 @@
}
},
{
"id": 1107,
"id": 1110,
"type": {
"path": [
"Result"
@@ -79783,11 +79888,11 @@
"params": [
{
"name": "T",
"type": 1108
"type": 1111
},
{
"name": "E",
"type": 1105
"type": 1108
}
],
"def": {
@@ -79798,7 +79903,7 @@
"fields": [
{
"name": null,
"type": 1108,
"type": 1111,
"typeName": null,
"docs": []
}
@@ -79811,7 +79916,7 @@
"fields": [
{
"name": null,
"type": 1105,
"type": 1108,
"typeName": null,
"docs": []
}
@@ -79826,34 +79931,34 @@
}
},
{
"id": 1108,
"id": 1111,
"type": {
"path": [],
"params": [],
"def": {
"tuple": [
1109,
1111
1112,
1114
]
},
"docs": []
}
},
{
"id": 1109,
"id": 1112,
"type": {
"path": [],
"params": [],
"def": {
"sequence": {
"type": 1110
"type": 1113
}
},
"docs": []
}
},
{
"id": 1110,
"id": 1113,
"type": {
"path": [
"sp_mmr_primitives",
@@ -79876,7 +79981,7 @@
}
},
{
"id": 1111,
"id": 1114,
"type": {
"path": [
"sp_mmr_primitives",
@@ -79916,7 +80021,7 @@
}
},
{
"id": 1112,
"id": 1115,
"type": {
"path": [
"Result"
@@ -79928,7 +80033,7 @@
},
{
"name": "E",
"type": 1105
"type": 1108
}
],
"def": {
@@ -79952,7 +80057,7 @@
"fields": [
{
"name": null,
"type": 1105,
"type": 1108,
"typeName": null,
"docs": []
}
@@ -79967,7 +80072,7 @@
}
},
{
"id": 1113,
"id": 1116,
"type": {
"path": [
"sp_mixnet",
@@ -79986,7 +80091,7 @@
},
{
"name": "phase",
"type": 1114,
"type": 1117,
"typeName": "SessionPhase",
"docs": []
}
@@ -79997,7 +80102,7 @@
}
},
{
"id": 1114,
"id": 1117,
"type": {
"path": [
"sp_mixnet",
@@ -80039,7 +80144,7 @@
}
},
{
"id": 1115,
"id": 1118,
"type": {
"path": [
"Result"
@@ -80047,11 +80152,11 @@
"params": [
{
"name": "T",
"type": 1116
"type": 1119
},
{
"name": "E",
"type": 1118
"type": 1121
}
],
"def": {
@@ -80062,7 +80167,7 @@
"fields": [
{
"name": null,
"type": 1116,
"type": 1119,
"typeName": null,
"docs": []
}
@@ -80075,7 +80180,7 @@
"fields": [
{
"name": null,
"type": 1118,
"type": 1121,
"typeName": null,
"docs": []
}
@@ -80090,20 +80195,20 @@
}
},
{
"id": 1116,
"id": 1119,
"type": {
"path": [],
"params": [],
"def": {
"sequence": {
"type": 1117
"type": 1120
}
},
"docs": []
}
},
{
"id": 1117,
"id": 1120,
"type": {
"path": [
"sp_mixnet",
@@ -80139,7 +80244,7 @@
}
},
{
"id": 1118,
"id": 1121,
"type": {
"path": [
"sp_mixnet",
@@ -80176,7 +80281,7 @@
}
},
{
"id": 1119,
"id": 1122,
"type": {
"path": [
"Option"
@@ -80184,7 +80289,7 @@
"params": [
{
"name": "T",
"type": 1120
"type": 1123
}
],
"def": {
@@ -80201,7 +80306,7 @@
"fields": [
{
"name": null,
"type": 1120,
"type": 1123,
"typeName": null,
"docs": []
}
@@ -80216,20 +80321,20 @@
}
},
{
"id": 1120,
"id": 1123,
"type": {
"path": [],
"params": [],
"def": {
"sequence": {
"type": 1121
"type": 1124
}
},
"docs": []
}
},
{
"id": 1121,
"id": 1124,
"type": {
"path": [],
"params": [],
@@ -80243,7 +80348,7 @@
}
},
{
"id": 1122,
"id": 1125,
"type": {
"path": [
"Result"
@@ -80294,7 +80399,7 @@
}
},
{
"id": 1123,
"id": 1126,
"type": {
"path": [],
"params": [],
@@ -80307,7 +80412,7 @@
}
},
{
"id": 1124,
"id": 1127,
"type": {
"path": [
"kitchensink_runtime",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '16.2.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '16.4.2' };
+9 -9
View File
@@ -18,20 +18,20 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "16.2.1",
"version": "16.4.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.5.1",
"@polkadot/types-augment": "16.2.1",
"@polkadot/types-codec": "16.2.1",
"@polkadot/types-create": "16.2.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"@polkadot/keyring": "^13.5.3",
"@polkadot/types-augment": "16.4.2",
"@polkadot/types-codec": "16.4.2",
"@polkadot/types-create": "16.4.2",
"@polkadot/util": "^13.5.3",
"@polkadot/util-crypto": "^13.5.3",
"rxjs": "^7.8.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/keyring": "^13.5.1",
"@polkadot/types-support": "16.2.1"
"@polkadot/keyring": "^13.5.3",
"@polkadot/types-support": "16.4.2"
}
}

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