Compare commits

..
22 Commits
Author SHA1 Message Date
github-actions[bot] dac94c5196 [CI Skip] release/stable 12.2.1
skip-checks: true
2024-07-13 20:02:35 +00:00
Tarik Gul 83204f15fc 12.2.1 (#5939) 2024-07-13 22:55:12 +03:00
github-actions[bot] fe6473351c [CI Skip] bump/beta 12.1.2-3-x
skip-checks: true
2024-07-13 19:29:42 +00:00
Tarik Gul 90efba4c36 Bump yarn to 4.3.1 (#5938) 2024-07-13 22:22:11 +03:00
github-actions[bot] 771d06b2a2 [CI Skip] bump/beta 12.1.2-2-x
skip-checks: true
2024-07-13 18:51:30 +00:00
Tarik Gul 217da1451a Update Polkadot 1002006 types-known (#5937) 2024-07-13 21:43:52 +03:00
github-actions[bot] f92f2ea357 [CI Skip] bump/beta 12.1.2-1-x
skip-checks: true
2024-07-13 18:21:05 +00:00
Tarik Gul 38a978b9be Bump substrate to latest (#5936)
* Bump substrate to latest

* Fix issues
2024-07-13 21:13:34 +03:00
github-actions[bot] 0945d26c03 [CI Skip] bump/beta 12.1.2-0-x
skip-checks: true
2024-07-13 01:06:21 +00:00
Tarik Gul 3f38963e85 Bump common to 13.0.2 (#5935) 2024-07-13 03:58:41 +03:00
github-actions[bot] 534e7e3650 [CI Skip] release/stable 12.1.1
skip-checks: true
2024-07-02 19:56:33 +00:00
Tarik Gul c6d3a68dd0 12.1.1 (#5932) 2024-07-02 22:49:05 +03:00
github-actions[bot] bad574609c [CI Skip] bump/beta 12.0.3-4-x
skip-checks: true
2024-07-01 19:06:54 +00:00
Tarik Gul 35132f4b28 Update known upgrades for kusama 1002006 (#5929)
* Update known upgrades for kusama 1002006

* nit
2024-07-01 21:59:05 +03:00
github-actions[bot] 49e8e18a0f [CI Skip] bump/beta 12.0.3-3-x
skip-checks: true
2024-07-01 18:36:15 +00:00
Tarik Gul 436bd956b6 Update Augmented type for kusama 1002006 (#5928) 2024-07-01 21:28:35 +03:00
github-actions[bot] 9ead1a8c46 [CI Skip] bump/beta 12.0.3-2-x
skip-checks: true
2024-07-01 18:03:26 +00:00
Tarik Gul 0f61aa2ace Update known upgrades for polkadot 1002005 (#5927) 2024-07-01 20:55:41 +03:00
github-actions[bot] 4a2a70c0fb [CI Skip] bump/beta 12.0.3-1-x
skip-checks: true
2024-07-01 16:13:16 +00:00
Tarik Gul 97d553c52f Update Augmented type for polkadot 1002005 (#5926) 2024-07-01 19:05:40 +03:00
github-actions[bot] 23586f9849 [CI Skip] bump/beta 12.0.3-0-x
skip-checks: true
2024-06-28 14:40:00 +00:00
girazoki dda0c3b980 Implement xcm payment api (#5911)
* implement xcm payment api

* lint

* merge

* refactor
2024-06-28 10:31:55 -04:00
88 changed files with 19876 additions and 21443 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -12,4 +12,4 @@ logFilters:
nodeLinker: node-modules nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.2.2.cjs yarnPath: .yarn/releases/yarn-4.3.1.cjs
+26
View File
@@ -1,5 +1,31 @@
# CHANGELOG # CHANGELOG
## 12.2.1 July 13, 2024
Changes:
- Bump polkadot/common to 13.0.2
- This contains the latest changes to the Ledger interface in `@polkadot/hw-ledger`. For more info please see ([13.0.1](https://github.com/polkadot-js/common/releases/tag/v13.0.1))
- Bump Substrate Metadata to Latest
- This includes additions and removals to the api's type augmentation. For more info please see ([#5936](https://github.com/polkadot-js/api/pull/5936))
- Update Polkadot 1002006 types-known
- Bump yarn to 4.3.1
## 12.1.1 July 2, 2024
Contributed:
- Implement xcm payment api (Thanks to https://github.com/girazoki)
Changes:
- Update Augmented types for polkadot 1002005
- Update Augmented types for kusama 1002006
- Note: This removes type support for the Identity pallet for Kusama, and stateTrieMigration
- Update upgrade blocks for {Kusama, Polkadot}
## 12.0.2 June 27, 2024 ## 12.0.2 June 27, 2024
**Important Changes**: **Important Changes**:
+2 -1
View File
@@ -1,6 +1,6 @@
3512 Jaco Bump deps (#5785) 3512 Jaco Bump deps (#5785)
83 Amaury Martiny StatementKind: Regular and Saft (#2303) 83 Amaury Martiny StatementKind: Regular and Saft (#2303)
67 Tarik Gul 12.0.2 (#5924) 77 Tarik Gul 12.2.1 (#5939)
37 Keith Ingram Update contract types and rpc (#4541) 37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709) 35 Stefanie Doll Updated child storage parameters (#1709)
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970) 20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
@@ -79,6 +79,7 @@
1 Furqan A fix: fixed 404 to the docs from the api readme (#3985) 1 Furqan A fix: fixed 404 to the docs from the api readme (#3985)
1 Gérard Dethier Fix LRUCache memory leak. (#4520) 1 Gérard Dethier Fix LRUCache memory leak. (#4520)
1 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329) 1 Gerben van de Wiel Adding some extra notes on changes in the specname (#2329)
1 girazoki Implement xcm payment api (#5911)
1 HackFisher fix OutboundLaneData types (#3992) 1 HackFisher fix OutboundLaneData types (#3992)
1 Hoani Bryson Multiple Endpoint support for WsProvider (#2234) 1 Hoani Bryson Multiple Endpoint support for WsProvider (#2234)
1 Hyungsuk Kang Update fees.ts (#1014) 1 Hyungsuk Kang Update fees.ts (#1014)
+4 -4
View File
@@ -6,7 +6,7 @@
}, },
"homepage": "https://github.com/polkadot-js/api#readme", "homepage": "https://github.com/polkadot-js/api#readme",
"license": "Apache-2.0", "license": "Apache-2.0",
"packageManager": "yarn@4.2.2", "packageManager": "yarn@4.3.1",
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
@@ -14,10 +14,10 @@
}, },
"sideEffects": false, "sideEffects": false,
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"versions": { "versions": {
"git": "12.0.2", "git": "12.2.1",
"npm": "12.0.2" "npm": "12.2.1"
}, },
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
+7 -7
View File
@@ -18,15 +18,15 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api-base": "12.0.2", "@polkadot/api-base": "12.2.1",
"@polkadot/rpc-augment": "12.0.2", "@polkadot/rpc-augment": "12.2.1",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-augment": "12.0.2", "@polkadot/types-augment": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"tslib": "^2.6.2" "tslib": "^2.6.2"
} }
} }
-71
View File
@@ -370,47 +370,6 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
identity: {
/**
* The amount held on deposit for a registered identity.
**/
basicDeposit: u128 & AugmentedConst<ApiType>;
/**
* The amount held on deposit per encoded byte for a registered identity.
**/
byteDeposit: u128 & AugmentedConst<ApiType>;
/**
* Maxmimum number of registrars allowed in the system. Needed to bound the complexity
* of, e.g., updating judgements.
**/
maxRegistrars: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of sub-accounts allowed per identified account.
**/
maxSubAccounts: u32 & AugmentedConst<ApiType>;
/**
* The maximum length of a suffix.
**/
maxSuffixLength: u32 & AugmentedConst<ApiType>;
/**
* The maximum length of a username, including its suffix and any system-added delimiters.
**/
maxUsernameLength: u32 & AugmentedConst<ApiType>;
/**
* The number of blocks within which a username grant must be accepted.
**/
pendingUsernameExpiration: u32 & AugmentedConst<ApiType>;
/**
* The amount held on deposit for a registered subaccount. This should account for the fact
* that one storage item's value will increase by the size of an account ID, and there will
* be another trie item whose value is the size of an account ID plus 32 bytes.
**/
subAccountDeposit: u128 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
indices: { indices: {
/** /**
* The deposit needed for reserving an index. * The deposit needed for reserving an index.
@@ -887,36 +846,6 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
stateTrieMigration: {
/**
* Maximal number of bytes that a key can have.
*
* FRAME itself does not limit the key length.
* The concrete value must therefore depend on your storage usage.
* A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
* keys which are then hashed and concatenated, resulting in arbitrarily long keys.
*
* Use the *state migration RPC* to retrieve the length of the longest key in your
* storage: <https://github.com/paritytech/substrate/issues/11642>
*
* The migration will halt with a `Halted` event if this value is too small.
* Since there is no real penalty from over-estimating, it is advised to use a large
* value. The default is 512 byte.
*
* Some key lengths for reference:
* - [`frame_support::storage::StorageValue`]: 32 byte
* - [`frame_support::storage::StorageMap`]: 64 byte
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
*
* For more info see
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
**/
maxKeyLen: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
system: { system: {
/** /**
* Maximum number of block number to block hash mappings to keep (oldest pruned first). * Maximum number of block number to block hash mappings to keep (oldest pruned first).
+4 -146
View File
@@ -783,116 +783,6 @@ declare module '@polkadot/api-base/types/errors' {
**/ **/
[key: string]: AugmentedError<ApiType>; [key: string]: AugmentedError<ApiType>;
}; };
identity: {
/**
* Account ID is already named.
**/
AlreadyClaimed: AugmentedError<ApiType>;
/**
* Empty index.
**/
EmptyIndex: AugmentedError<ApiType>;
/**
* Fee is changed.
**/
FeeChanged: AugmentedError<ApiType>;
/**
* The index is invalid.
**/
InvalidIndex: AugmentedError<ApiType>;
/**
* Invalid judgement.
**/
InvalidJudgement: AugmentedError<ApiType>;
/**
* The signature on a username was not valid.
**/
InvalidSignature: AugmentedError<ApiType>;
/**
* The provided suffix is too long.
**/
InvalidSuffix: AugmentedError<ApiType>;
/**
* The target is invalid.
**/
InvalidTarget: AugmentedError<ApiType>;
/**
* The username does not meet the requirements.
**/
InvalidUsername: AugmentedError<ApiType>;
/**
* The provided judgement was for a different identity.
**/
JudgementForDifferentIdentity: AugmentedError<ApiType>;
/**
* Judgement given.
**/
JudgementGiven: AugmentedError<ApiType>;
/**
* Error that occurs when there is an issue paying for judgement.
**/
JudgementPaymentFailed: AugmentedError<ApiType>;
/**
* The authority cannot allocate any more usernames.
**/
NoAllocation: AugmentedError<ApiType>;
/**
* No identity found.
**/
NoIdentity: AugmentedError<ApiType>;
/**
* The username cannot be forcefully removed because it can still be accepted.
**/
NotExpired: AugmentedError<ApiType>;
/**
* Account isn't found.
**/
NotFound: AugmentedError<ApiType>;
/**
* Account isn't named.
**/
NotNamed: AugmentedError<ApiType>;
/**
* Sub-account isn't owned by sender.
**/
NotOwned: AugmentedError<ApiType>;
/**
* Sender is not a sub-account.
**/
NotSub: AugmentedError<ApiType>;
/**
* The sender does not have permission to issue a username.
**/
NotUsernameAuthority: AugmentedError<ApiType>;
/**
* The requested username does not exist.
**/
NoUsername: AugmentedError<ApiType>;
/**
* Setting this username requires a signature, but none was provided.
**/
RequiresSignature: AugmentedError<ApiType>;
/**
* Sticky judgement.
**/
StickyJudgement: AugmentedError<ApiType>;
/**
* Maximum amount of registrars reached. Cannot add any more.
**/
TooManyRegistrars: AugmentedError<ApiType>;
/**
* Too many subs-accounts.
**/
TooManySubAccounts: AugmentedError<ApiType>;
/**
* The username is already taken.
**/
UsernameTaken: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
indices: { indices: {
/** /**
* The index was not available. * The index was not available.
@@ -2106,6 +1996,10 @@ declare module '@polkadot/api-base/types/errors' {
* The user has enough bond and thus cannot be chilled forcefully by an external person. * The user has enough bond and thus cannot be chilled forcefully by an external person.
**/ **/
CannotChillOther: AugmentedError<ApiType>; CannotChillOther: AugmentedError<ApiType>;
/**
* Cannot reset a ledger.
**/
CannotRestoreLedger: AugmentedError<ApiType>;
/** /**
* Commission is too low. Must be at least `MinCommission`. * Commission is too low. Must be at least `MinCommission`.
**/ **/
@@ -2195,42 +2089,6 @@ declare module '@polkadot/api-base/types/errors' {
**/ **/
[key: string]: AugmentedError<ApiType>; [key: string]: AugmentedError<ApiType>;
}; };
stateTrieMigration: {
/**
* Bad child root provided.
**/
BadChildRoot: AugmentedError<ApiType>;
/**
* Bad witness data provided.
**/
BadWitness: AugmentedError<ApiType>;
/**
* A key was longer than the configured maximum.
*
* This means that the migration halted at the current [`Progress`] and
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
* The value should only be increased to avoid a storage migration for the currently
* stored [`crate::Progress::LastKey`].
**/
KeyTooLong: AugmentedError<ApiType>;
/**
* Max signed limits not respected.
**/
MaxSignedLimits: AugmentedError<ApiType>;
/**
* submitter does not have enough funds.
**/
NotEnoughFunds: AugmentedError<ApiType>;
/**
* Signed migration is not allowed because the maximum limit is not set yet.
**/
SignedMigrationNotAllowed: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
system: { system: {
/** /**
* The origin filter prevent the call to be dispatched. * The origin filter prevent the call to be dispatched.
+6 -101
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 { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingKusamaRuntimeProxyType, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>; export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -502,7 +502,7 @@ declare module '@polkadot/api-base/types/events' {
**/ **/
HrmpChannelForceOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], { sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32 }>; HrmpChannelForceOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], { sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32 }>;
/** /**
* An HRMP channel was opened between two system chains. * An HRMP channel was opened with a system chain.
**/ **/
HrmpSystemChannelOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], { sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32 }>; HrmpSystemChannelOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], { sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32 }>;
/** /**
@@ -526,82 +526,6 @@ declare module '@polkadot/api-base/types/events' {
**/ **/
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
identity: {
/**
* A username authority was added.
**/
AuthorityAdded: AugmentedEvent<ApiType, [authority: AccountId32], { authority: AccountId32 }>;
/**
* A username authority was removed.
**/
AuthorityRemoved: AugmentedEvent<ApiType, [authority: AccountId32], { authority: AccountId32 }>;
/**
* A dangling username (as in, a username corresponding to an account that has removed its
* identity) has been removed.
**/
DanglingUsernameRemoved: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
/**
* A name was cleared, and the given balance returned.
**/
IdentityCleared: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32, deposit: u128 }>;
/**
* A name was removed and the given balance slashed.
**/
IdentityKilled: AugmentedEvent<ApiType, [who: AccountId32, deposit: u128], { who: AccountId32, deposit: u128 }>;
/**
* A name was set or reset (which will remove all judgements).
**/
IdentitySet: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
/**
* A judgement was given by a registrar.
**/
JudgementGiven: AugmentedEvent<ApiType, [target: AccountId32, registrarIndex: u32], { target: AccountId32, registrarIndex: u32 }>;
/**
* A judgement was asked from a registrar.
**/
JudgementRequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
/**
* A judgement request was retracted.
**/
JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId32, registrarIndex: u32], { who: AccountId32, registrarIndex: u32 }>;
/**
* A queued username passed its expiration without being claimed and was removed.
**/
PreapprovalExpired: AugmentedEvent<ApiType, [whose: AccountId32], { whose: AccountId32 }>;
/**
* A username was set as a primary and can be looked up from `who`.
**/
PrimaryUsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
/**
* A registrar was added.
**/
RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], { registrarIndex: u32 }>;
/**
* A sub-identity was added to an identity and the deposit paid.
**/
SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
/**
* A sub-identity was removed from an identity and the deposit freed.
**/
SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
/**
* A sub-identity was cleared, and the given deposit repatriated from the
* main identity account to the sub-identity account.
**/
SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId32, main: AccountId32, deposit: u128], { sub: AccountId32, main: AccountId32, deposit: u128 }>;
/**
* A username was queued, but `who` must accept it prior to `expiration`.
**/
UsernameQueued: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes, expiration: u32], { who: AccountId32, username: Bytes, expiration: u32 }>;
/**
* A username was set for `who`.
**/
UsernameSet: AugmentedEvent<ApiType, [who: AccountId32, username: Bytes], { who: AccountId32, username: Bytes }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
indices: { indices: {
/** /**
* A account index was assigned. * A account index was assigned.
@@ -1296,6 +1220,10 @@ declare module '@polkadot/api-base/types/events' {
* An account has stopped participating as either a validator or nominator. * An account has stopped participating as either a validator or nominator.
**/ **/
Chilled: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>; Chilled: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
/**
* Report of a controller batch deprecation.
**/
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
/** /**
* The era payout has been set; the first balance is the validator-payout; the second is * The era payout has been set; the first balance is the validator-payout; the second is
* the remainder from the maximum amount of reward. * the remainder from the maximum amount of reward.
@@ -1365,29 +1293,6 @@ declare module '@polkadot/api-base/types/events' {
**/ **/
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
stateTrieMigration: {
/**
* The auto migration task finished.
**/
AutoMigrationFinished: AugmentedEvent<ApiType, []>;
/**
* Migration got halted due to an error or miss-configuration.
**/
Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], { error: PalletStateTrieMigrationError }>;
/**
* Given number of `(top, child)` keys were migrated respectively, with the given
* `compute`.
**/
Migrated: AugmentedEvent<ApiType, [top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute], { top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute }>;
/**
* Some account got slashed by the given amount.
**/
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
system: { system: {
/** /**
* `:code` was updated. * `:code` was updated.
+1 -81
View File
@@ -6,12 +6,11 @@
import '@polkadot/api-base/types/storage'; import '@polkadot/api-base/types/storage';
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
import type { Data } from '@polkadot/types';
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AssignmentAppPublic, PolkadotPrimitivesV6CandidateCommitments, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeSessionKeys, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, 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, 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, PolkadotPrimitivesV6AssignmentAppPublic, PolkadotPrimitivesV6CandidateCommitments, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeSessionKeys, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types'; import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>; export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -816,60 +815,6 @@ declare module '@polkadot/api-base/types/storage' {
**/ **/
[key: string]: QueryableStorageEntry<ApiType>; [key: string]: QueryableStorageEntry<ApiType>;
}; };
identity: {
/**
* Reverse lookup from `username` to the `AccountId` that has registered it. The value should
* be a key in the `IdentityOf` map, but it may not if the user has cleared their identity.
*
* Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one
* primary username.
**/
accountOfUsername: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<AccountId32>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
/**
* Information that is pertinent to identify the entity behind an account. First item is the
* registration, second is the account's primary username.
*
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
**/
identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PalletIdentityRegistration, Option<Bytes>]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Usernames that an authority has granted, but that the account controller has not confirmed
* that they want it. Used primarily in cases where the `AccountId` cannot provide a signature
* because they are a pure proxy, multisig, etc. In order to confirm it, they should call
* [`Call::accept_username`].
*
* First tuple item is the account and second is the acceptance deadline.
**/
pendingUsernames: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;
/**
* The set of registrars. Not expected to get very big as can only be added through a
* special origin (likely a council motion).
*
* The index into this can be cast to `RegistrarIndex` to get a valid value.
**/
registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Alternative "sub" identities of this account.
*
* The first item is the deposit, the second is a vector of the accounts.
*
* TWOX-NOTE: OK ― `AccountId` is a secure hash.
**/
subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* The super-identity of an alternative "sub" identity together with its name, within that
* context. If the account is not some other account's sub-identity, then just `None`.
**/
superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* A map of the accounts who are authorized to grant usernames.
**/
usernameAuthorities: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityAuthorityProperties>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
indices: { indices: {
/** /**
* The lookup from index to account. * The lookup from index to account.
@@ -2068,31 +2013,6 @@ declare module '@polkadot/api-base/types/storage' {
**/ **/
[key: string]: QueryableStorageEntry<ApiType>; [key: string]: QueryableStorageEntry<ApiType>;
}; };
stateTrieMigration: {
/**
* The limits that are imposed on automatic migrations.
*
* If set to None, then no automatic migration happens.
**/
autoLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Migration progress.
*
* This stores the snapshot of the last migrated keys. It can be set into motion and move
* forward by any of the means provided by this pallet.
**/
migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The maximum limits that the signed migration could use.
*
* If not set, no signed submission is allowed.
**/
signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
system: { system: {
/** /**
* The full account information for a particular account ID. * The full account information for a particular account ID.
+19 -132
View File
@@ -6,12 +6,11 @@
import '@polkadot/api-base/types/submittable'; import '@polkadot/api-base/types/submittable';
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6InherentData, PolkadotPrimitivesV6PvfCheckStatement, PolkadotPrimitivesV6SlashingDisputeProof, PolkadotPrimitivesV6ValidatorAppSignature, PolkadotPrimitivesVstagingApprovalVotingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeSessionKeys, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletBrokerCoretimeInterfaceCoreAssignment, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6InherentData, PolkadotPrimitivesV6PvfCheckStatement, PolkadotPrimitivesV6SlashingDisputeProof, PolkadotPrimitivesV6ValidatorAppSignature, PolkadotPrimitivesVstagingApprovalVotingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>; export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -650,6 +649,10 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
hrmp: { hrmp: {
/**
* See [`Pallet::establish_channel_with_system`].
**/
establishChannelWithSystem: AugmentedSubmittable<(targetSystemChain: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/** /**
* See [`Pallet::establish_system_channel`]. * See [`Pallet::establish_system_channel`].
**/ **/
@@ -695,100 +698,6 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
identity: {
/**
* See [`Pallet::accept_username`].
**/
acceptUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::add_registrar`].
**/
addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* See [`Pallet::add_sub`].
**/
addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
/**
* See [`Pallet::add_username_authority`].
**/
addUsernameAuthority: AugmentedSubmittable<(authority: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, suffix: Bytes | string | Uint8Array, allocation: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Bytes, u32]>;
/**
* See [`Pallet::cancel_request`].
**/
cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* See [`Pallet::clear_identity`].
**/
clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* See [`Pallet::kill_identity`].
**/
killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* See [`Pallet::provide_judgement`].
**/
provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;
/**
* See [`Pallet::quit_sub`].
**/
quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* See [`Pallet::remove_dangling_username`].
**/
removeDanglingUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::remove_expired_approval`].
**/
removeExpiredApproval: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::remove_sub`].
**/
removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* See [`Pallet::remove_username_authority`].
**/
removeUsernameAuthority: AugmentedSubmittable<(authority: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* See [`Pallet::rename_sub`].
**/
renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;
/**
* See [`Pallet::request_judgement`].
**/
requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
/**
* See [`Pallet::set_account_id`].
**/
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
/**
* See [`Pallet::set_fee`].
**/
setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;
/**
* See [`Pallet::set_fields`].
**/
setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, u64]>;
/**
* See [`Pallet::set_identity`].
**/
setIdentity: AugmentedSubmittable<(info: PalletIdentityLegacyIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityLegacyIdentityInfo]>;
/**
* See [`Pallet::set_primary_username`].
**/
setPrimaryUsername: AugmentedSubmittable<(username: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
/**
* See [`Pallet::set_subs`].
**/
setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;
/**
* See [`Pallet::set_username_for`].
**/
setUsernameFor: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, username: Bytes | string | Uint8Array, signature: Option<SpRuntimeMultiSignature> | null | Uint8Array | SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string) => SubmittableExtrinsic<ApiType>, [MultiAddress, Bytes, Option<SpRuntimeMultiSignature>]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
indices: { indices: {
/** /**
* See [`Pallet::claim`]. * See [`Pallet::claim`].
@@ -1159,7 +1068,7 @@ declare module '@polkadot/api-base/types/submittable' {
/** /**
* See [`Pallet::add_proxy`]. * See [`Pallet::add_proxy`].
**/ **/
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>; addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>;
/** /**
* See [`Pallet::announce`]. * See [`Pallet::announce`].
**/ **/
@@ -1167,19 +1076,19 @@ declare module '@polkadot/api-base/types/submittable' {
/** /**
* See [`Pallet::create_pure`]. * See [`Pallet::create_pure`].
**/ **/
createPure: AugmentedSubmittable<(proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeProxyType, u32, u16]>; createPure: AugmentedSubmittable<(proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingKusamaRuntimeProxyType, u32, u16]>;
/** /**
* See [`Pallet::kill_pure`]. * See [`Pallet::kill_pure`].
**/ **/
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>; killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
/** /**
* See [`Pallet::proxy`]. * See [`Pallet::proxy`].
**/ **/
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>; proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>;
/** /**
* See [`Pallet::proxy_announced`]. * See [`Pallet::proxy_announced`].
**/ **/
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>; proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<StagingKusamaRuntimeProxyType> | null | Uint8Array | StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<StagingKusamaRuntimeProxyType>, Call]>;
/** /**
* See [`Pallet::reject_announcement`]. * See [`Pallet::reject_announcement`].
**/ **/
@@ -1195,7 +1104,7 @@ declare module '@polkadot/api-base/types/submittable' {
/** /**
* See [`Pallet::remove_proxy`]. * See [`Pallet::remove_proxy`].
**/ **/
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>; removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: StagingKusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, StagingKusamaRuntimeProxyType, u32]>;
/** /**
* Generic tx * Generic tx
**/ **/
@@ -1548,6 +1457,10 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::rebond`]. * See [`Pallet::rebond`].
**/ **/
rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>; rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
/**
* See [`Pallet::restore_ledger`].
**/
restoreLedger: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, maybeController: Option<AccountId32> | null | Uint8Array | AccountId32 | string, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PalletStakingUnlockChunk>> | null | Uint8Array | Vec<PalletStakingUnlockChunk> | (PalletStakingUnlockChunk | { value?: any; era?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<AccountId32>, Option<u128>, Option<Vec<PalletStakingUnlockChunk>>]>;
/** /**
* See [`Pallet::scale_validator_count`]. * See [`Pallet::scale_validator_count`].
**/ **/
@@ -1597,36 +1510,6 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
stateTrieMigration: {
/**
* See [`Pallet::continue_migrate`].
**/
continueMigrate: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PalletStateTrieMigrationMigrationTask | { progressTop?: any; progressChild?: any; size_?: any; topItems?: any; childItems?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits, u32, PalletStateTrieMigrationMigrationTask]>;
/**
* See [`Pallet::control_auto_migration`].
**/
controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>;
/**
* See [`Pallet::force_set_progress`].
**/
forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>;
/**
* See [`Pallet::migrate_custom_child`].
**/
migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Vec<Bytes>, u32]>;
/**
* See [`Pallet::migrate_custom_top`].
**/
migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
/**
* See [`Pallet::set_signed_max_limits`].
**/
setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
system: { system: {
/** /**
* See [`Pallet::apply_authorized_upgrade`]. * See [`Pallet::apply_authorized_upgrade`].
@@ -1882,6 +1765,10 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::transfer_assets`]. * See [`Pallet::transfer_assets`].
**/ **/
transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* See [`Pallet::transfer_assets_using_type_and_then`].
**/
transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>;
/** /**
* Generic tx * Generic tx
**/ **/
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '12.2.1' };
@@ -661,6 +661,36 @@ declare module '@polkadot/api-base/types/consts' {
**/ **/
[key: string]: Codec; [key: string]: Codec;
}; };
stateTrieMigration: {
/**
* Maximal number of bytes that a key can have.
*
* FRAME itself does not limit the key length.
* The concrete value must therefore depend on your storage usage.
* A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
* keys which are then hashed and concatenated, resulting in arbitrarily long keys.
*
* Use the *state migration RPC* to retrieve the length of the longest key in your
* storage: <https://github.com/paritytech/substrate/issues/11642>
*
* The migration will halt with a `Halted` event if this value is too small.
* Since there is no real penalty from over-estimating, it is advised to use a large
* value. The default is 512 byte.
*
* Some key lengths for reference:
* - [`frame_support::storage::StorageValue`]: 32 byte
* - [`frame_support::storage::StorageMap`]: 64 byte
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
*
* For more info see
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
**/
maxKeyLen: u32 & AugmentedConst<ApiType>;
/**
* Generic const
**/
[key: string]: Codec;
};
system: { system: {
/** /**
* Maximum number of block number to block hash mappings to keep (oldest pruned first). * Maximum number of block number to block hash mappings to keep (oldest pruned first).
@@ -1619,6 +1619,10 @@ declare module '@polkadot/api-base/types/errors' {
* The user has enough bond and thus cannot be chilled forcefully by an external person. * The user has enough bond and thus cannot be chilled forcefully by an external person.
**/ **/
CannotChillOther: AugmentedError<ApiType>; CannotChillOther: AugmentedError<ApiType>;
/**
* Cannot reset a ledger.
**/
CannotRestoreLedger: AugmentedError<ApiType>;
/** /**
* Commission is too low. Must be at least `MinCommission`. * Commission is too low. Must be at least `MinCommission`.
**/ **/
@@ -1708,6 +1712,42 @@ declare module '@polkadot/api-base/types/errors' {
**/ **/
[key: string]: AugmentedError<ApiType>; [key: string]: AugmentedError<ApiType>;
}; };
stateTrieMigration: {
/**
* Bad child root provided.
**/
BadChildRoot: AugmentedError<ApiType>;
/**
* Bad witness data provided.
**/
BadWitness: AugmentedError<ApiType>;
/**
* A key was longer than the configured maximum.
*
* This means that the migration halted at the current [`Progress`] and
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
* The value should only be increased to avoid a storage migration for the currently
* stored [`crate::Progress::LastKey`].
**/
KeyTooLong: AugmentedError<ApiType>;
/**
* Max signed limits not respected.
**/
MaxSignedLimits: AugmentedError<ApiType>;
/**
* submitter does not have enough funds.
**/
NotEnoughFunds: AugmentedError<ApiType>;
/**
* Signed migration is not allowed because the maximum limit is not set yet.
**/
SignedMigrationNotAllowed: AugmentedError<ApiType>;
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
};
system: { system: {
/** /**
* The origin filter prevent the call to be dispatched. * The origin filter prevent the call to be dispatched.
+29 -2
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 { ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, H256, Perbill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, PalletConvictionVotingTally, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletMultisigTimepoint, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6CandidateReceipt, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, StagingXcmV4AssetAssets, StagingXcmV4Location, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>; export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -397,7 +397,7 @@ declare module '@polkadot/api-base/types/events' {
**/ **/
HrmpChannelForceOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], { sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32 }>; HrmpChannelForceOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], { sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32 }>;
/** /**
* An HRMP channel was opened between two system chains. * An HRMP channel was opened with a system chain.
**/ **/
HrmpSystemChannelOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], { sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32 }>; HrmpSystemChannelOpened: AugmentedEvent<ApiType, [sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32], { sender: u32, recipient: u32, proposedMaxCapacity: u32, proposedMaxMessageSize: u32 }>;
/** /**
@@ -940,6 +940,10 @@ declare module '@polkadot/api-base/types/events' {
* An account has stopped participating as either a validator or nominator. * An account has stopped participating as either a validator or nominator.
**/ **/
Chilled: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>; Chilled: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
/**
* Report of a controller batch deprecation.
**/
ControllerBatchDeprecated: AugmentedEvent<ApiType, [failures: u32], { failures: u32 }>;
/** /**
* The era payout has been set; the first balance is the validator-payout; the second is * The era payout has been set; the first balance is the validator-payout; the second is
* the remainder from the maximum amount of reward. * the remainder from the maximum amount of reward.
@@ -1009,6 +1013,29 @@ declare module '@polkadot/api-base/types/events' {
**/ **/
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
stateTrieMigration: {
/**
* The auto migration task finished.
**/
AutoMigrationFinished: AugmentedEvent<ApiType, []>;
/**
* Migration got halted due to an error or miss-configuration.
**/
Halted: AugmentedEvent<ApiType, [error: PalletStateTrieMigrationError], { error: PalletStateTrieMigrationError }>;
/**
* Given number of `(top, child)` keys were migrated respectively, with the given
* `compute`.
**/
Migrated: AugmentedEvent<ApiType, [top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute], { top: u32, child: u32, compute: PalletStateTrieMigrationMigrationCompute }>;
/**
* Some account got slashed by the given amount.
**/
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
};
system: { system: {
/** /**
* `:code` was updated. * `:code` was updated.
+26 -1
View File
@@ -11,7 +11,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AssignmentAppPublic, PolkadotPrimitivesV6CandidateCommitments, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AssignmentAppPublic, PolkadotPrimitivesV6CandidateCommitments, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types'; import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>; export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -1760,6 +1760,31 @@ declare module '@polkadot/api-base/types/storage' {
**/ **/
[key: string]: QueryableStorageEntry<ApiType>; [key: string]: QueryableStorageEntry<ApiType>;
}; };
stateTrieMigration: {
/**
* The limits that are imposed on automatic migrations.
*
* If set to None, then no automatic migration happens.
**/
autoLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Migration progress.
*
* This stores the snapshot of the last migrated keys. It can be set into motion and move
* forward by any of the means provided by this pallet.
**/
migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The maximum limits that the signed migration could use.
*
* If not set, no signed submission is allowed.
**/
signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
};
system: { system: {
/** /**
* The full account information for a particular account ID. * The full account information for a particular account ID.
+27 -2
View File
@@ -19,10 +19,11 @@ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/t
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr'; import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError } from '@polkadot/types/interfaces/mmr';
import type { NpPoolId } from '@polkadot/types/interfaces/nompools'; import type { NpPoolId } from '@polkadot/types/interfaces/nompools';
import type { CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains'; import type { ApprovalVotingParams, AsyncBackingParams, BackingState, CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreState, DisputeProof, DisputeState, ExecutorParams, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, NodeFeatures, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PendingSlashes, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime'; import type { AccountId, Balance, Block, BlockNumber, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
import type { SessionIndex } from '@polkadot/types/interfaces/session'; import type { SessionIndex } from '@polkadot/types/interfaces/session';
import type { ValidatorIndex } from '@polkadot/types/interfaces/staking';
import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system'; import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
@@ -280,12 +281,20 @@ declare module '@polkadot/api-base/types/calls' {
**/ **/
[key: string]: DecoratedCallBase<ApiType>; [key: string]: DecoratedCallBase<ApiType>;
}; };
/** 0xaf2c0297a23e6d3d/5 */ /** 0xaf2c0297a23e6d3d/10 */
parachainHost: { parachainHost: {
/**
* Approval voting configuration parameters
**/
approvalVotingParams: AugmentedCall<ApiType, () => Observable<ApprovalVotingParams>>;
/** /**
* Returns the persisted validation data for the given `ParaId` along with the corresponding validation code hash. * Returns the persisted validation data for the given `ParaId` along with the corresponding validation code hash.
**/ **/
assumedValidationData: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, hash: Hash | string | Uint8Array) => Observable<Option<ITuple<[PersistedValidationData, ValidationCodeHash]>>>>; assumedValidationData: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, hash: Hash | string | Uint8Array) => Observable<Option<ITuple<[PersistedValidationData, ValidationCodeHash]>>>>;
/**
* Returns candidate's acceptance limitations for asynchronous backing for a relay parent
**/
asyncBackingParams: AugmentedCall<ApiType, () => Observable<AsyncBackingParams>>;
/** /**
* Yields information on all availability cores as relevant to the child block. * Yields information on all availability cores as relevant to the child block.
**/ **/
@@ -302,6 +311,10 @@ declare module '@polkadot/api-base/types/calls' {
* Checks if the given validation outputs pass the acceptance criteria. * Checks if the given validation outputs pass the acceptance criteria.
**/ **/
checkValidationOutputs: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, outputs: CandidateCommitments | { upwardMessages?: any; horizontalMessages?: any; newValidationCode?: any; headData?: any; processedDownwardMessages?: any; hrmpWatermark?: any } | string | Uint8Array) => Observable<bool>>; checkValidationOutputs: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array, outputs: CandidateCommitments | { upwardMessages?: any; horizontalMessages?: any; newValidationCode?: any; headData?: any; processedDownwardMessages?: any; hrmpWatermark?: any } | string | Uint8Array) => Observable<bool>>;
/**
* Returns a list of all disabled validators at the given block
**/
disabledValidators: AugmentedCall<ApiType, () => Observable<ValidatorIndex>>;
/** /**
* Returns all onchain disputes. * Returns all onchain disputes.
**/ **/
@@ -318,10 +331,22 @@ declare module '@polkadot/api-base/types/calls' {
* Returns a merkle proof of a validator session key * Returns a merkle proof of a validator session key
**/ **/
keyOwnershipProof: AugmentedCall<ApiType, (validatorId: ValidatorId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>; keyOwnershipProof: AugmentedCall<ApiType, (validatorId: ValidatorId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
/**
* Get the minimum number of backing votes for a parachain candidate. This is a staging method! Do not use on production runtimes!
**/
minimumBackingVotes: AugmentedCall<ApiType, () => Observable<u32>>;
/**
* Get node features. This is a staging method! Do not use on production runtimes!
**/
nodeFeatures: AugmentedCall<ApiType, () => Observable<NodeFeatures>>;
/** /**
* Scrape dispute relevant from on-chain, backing votes and resolved disputes. * Scrape dispute relevant from on-chain, backing votes and resolved disputes.
**/ **/
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<ScrapedOnChainVotes>>>; onChainVotes: AugmentedCall<ApiType, () => Observable<Option<ScrapedOnChainVotes>>>;
/**
* Returns the state of parachain backing for a given para
**/
paraBackingState: AugmentedCall<ApiType, (paraId: ParaId | AnyNumber | Uint8Array) => Observable<Option<BackingState>>>;
/** /**
* Yields the persisted validation data for the given `ParaId` along with an assumption that should be used if the para currently occupies a core. * Yields the persisted validation data for the given `ParaId` along with an assumption that should be used if the para currently occupies a core.
**/ **/
+43 -1
View File
@@ -11,7 +11,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64,
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { EthereumAddress } from '@polkadot/types/interfaces/eth'; import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6InherentData, PolkadotPrimitivesV6PvfCheckStatement, PolkadotPrimitivesV6SlashingDisputeProof, PolkadotPrimitivesV6ValidatorAppSignature, PolkadotPrimitivesVstagingApprovalVotingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletVestingVestingInfo, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6InherentData, PolkadotPrimitivesV6PvfCheckStatement, PolkadotPrimitivesV6SlashingDisputeProof, PolkadotPrimitivesV6ValidatorAppSignature, PolkadotPrimitivesVstagingApprovalVotingParams, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeOriginCaller, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyEquivocationProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>; export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -560,6 +560,10 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
hrmp: { hrmp: {
/**
* See [`Pallet::establish_channel_with_system`].
**/
establishChannelWithSystem: AugmentedSubmittable<(targetSystemChain: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/** /**
* See [`Pallet::establish_system_channel`]. * See [`Pallet::establish_system_channel`].
**/ **/
@@ -1244,6 +1248,10 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::rebond`]. * See [`Pallet::rebond`].
**/ **/
rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>; rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
/**
* See [`Pallet::restore_ledger`].
**/
restoreLedger: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, maybeController: Option<AccountId32> | null | Uint8Array | AccountId32 | string, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PalletStakingUnlockChunk>> | null | Uint8Array | Vec<PalletStakingUnlockChunk> | (PalletStakingUnlockChunk | { value?: any; era?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<AccountId32>, Option<u128>, Option<Vec<PalletStakingUnlockChunk>>]>;
/** /**
* See [`Pallet::scale_validator_count`]. * See [`Pallet::scale_validator_count`].
**/ **/
@@ -1293,6 +1301,36 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
stateTrieMigration: {
/**
* See [`Pallet::continue_migrate`].
**/
continueMigrate: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PalletStateTrieMigrationMigrationTask | { progressTop?: any; progressChild?: any; size_?: any; topItems?: any; childItems?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits, u32, PalletStateTrieMigrationMigrationTask]>;
/**
* See [`Pallet::control_auto_migration`].
**/
controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>;
/**
* See [`Pallet::force_set_progress`].
**/
forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | { ToStart: any } | { LastKey: any } | { Complete: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>;
/**
* See [`Pallet::migrate_custom_child`].
**/
migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Vec<Bytes>, u32]>;
/**
* See [`Pallet::migrate_custom_top`].
**/
migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
/**
* See [`Pallet::set_signed_max_limits`].
**/
setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | { size_?: any; item?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits]>;
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
system: { system: {
/** /**
* See [`Pallet::apply_authorized_upgrade`]. * See [`Pallet::apply_authorized_upgrade`].
@@ -1548,6 +1586,10 @@ declare module '@polkadot/api-base/types/submittable' {
* See [`Pallet::transfer_assets`]. * See [`Pallet::transfer_assets`].
**/ **/
transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
/**
* See [`Pallet::transfer_assets_using_type_and_then`].
**/
transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>;
/** /**
* Generic tx * Generic tx
**/ **/
@@ -1629,19 +1629,6 @@ declare module '@polkadot/api-base/types/consts' {
* The period during which an approved treasury spend has to be claimed. * The period during which an approved treasury spend has to be claimed.
**/ **/
payoutPeriod: u32 & AugmentedConst<ApiType>; payoutPeriod: u32 & AugmentedConst<ApiType>;
/**
* Fraction of a proposal's value that should be bonded in order to place the proposal.
* An accepted proposal gets these back. A rejected proposal does not.
**/
proposalBond: Permill & AugmentedConst<ApiType>;
/**
* Maximum amount of funds that should be placed in a deposit for making a proposal.
**/
proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;
/**
* Minimum amount of funds that should be placed in a deposit for making a proposal.
**/
proposalBondMinimum: u128 & AugmentedConst<ApiType>;
/** /**
* Period between successive spends. * Period between successive spends.
**/ **/
+16 -4
View File
@@ -314,6 +314,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset is not live, and likely being destroyed. * The asset is not live, and likely being destroyed.
**/ **/
AssetNotLive: AugmentedError<ApiType>; AssetNotLive: AugmentedError<ApiType>;
/**
* The asset ID must be equal to the [`NextAssetId`].
**/
BadAssetId: AugmentedError<ApiType>;
/** /**
* Invalid metadata given. * Invalid metadata given.
**/ **/
@@ -2079,6 +2083,10 @@ declare module '@polkadot/api-base/types/errors' {
* The asset is not live, and likely being destroyed. * The asset is not live, and likely being destroyed.
**/ **/
AssetNotLive: AugmentedError<ApiType>; AssetNotLive: AugmentedError<ApiType>;
/**
* The asset ID must be equal to the [`NextAssetId`].
**/
BadAssetId: AugmentedError<ApiType>;
/** /**
* Invalid metadata given. * Invalid metadata given.
**/ **/
@@ -2164,6 +2172,10 @@ declare module '@polkadot/api-base/types/errors' {
* Preimage has already been noted on-chain. * Preimage has already been noted on-chain.
**/ **/
AlreadyNoted: AugmentedError<ApiType>; AlreadyNoted: AugmentedError<ApiType>;
/**
* No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
**/
NoCost: AugmentedError<ApiType>;
/** /**
* The user is not authorized to perform this action. * The user is not authorized to perform this action.
**/ **/
@@ -2276,6 +2288,10 @@ declare module '@polkadot/api-base/types/errors' {
* The new member to exchange is the same as the old member * The new member to exchange is the same as the old member
**/ **/
SameMember: AugmentedError<ApiType>; SameMember: AugmentedError<ApiType>;
/**
* The max member count for the rank has been reached.
**/
TooManyMembers: AugmentedError<ApiType>;
/** /**
* Generic error * Generic error
**/ **/
@@ -3182,10 +3198,6 @@ declare module '@polkadot/api-base/types/errors' {
* amount to be spent. * amount to be spent.
**/ **/
InsufficientPermission: AugmentedError<ApiType>; InsufficientPermission: AugmentedError<ApiType>;
/**
* Proposer's balance is too low.
**/
InsufficientProposersBalance: AugmentedError<ApiType>;
/** /**
* No proposal, bounty or spend at that index. * No proposal, bounty or spend at that index.
**/ **/
+6 -10
View File
@@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types'; import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup'; import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletBrokerCoretimeInterfaceCoreAssignment, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletSafeModeExitReason, PalletSocietyGroupParams, PalletStakingForcing, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStakingExposure, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>; export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
@@ -690,7 +690,7 @@ declare module '@polkadot/api-base/types/events' {
/** /**
* Parameters for the pallet have changed. * Parameters for the pallet have changed.
**/ **/
ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsType], { params: PalletCoreFellowshipParamsType }>; ParamsChanged: AugmentedEvent<ApiType, [params: PalletCoreFellowshipParamsTypeU128], { params: PalletCoreFellowshipParamsTypeU128 }>;
/** /**
* Member has been promoted to the given rank. * Member has been promoted to the given rank.
**/ **/
@@ -933,6 +933,10 @@ declare module '@polkadot/api-base/types/events' {
[key: string]: AugmentedEvent<ApiType>; [key: string]: AugmentedEvent<ApiType>;
}; };
glutton: { glutton: {
/**
* The block length limit has been updated.
**/
BlockLengthLimitSet: AugmentedEvent<ApiType, [blockLength: u64], { blockLength: u64 }>;
/** /**
* The computation limit has been updated. * The computation limit has been updated.
**/ **/
@@ -2422,14 +2426,6 @@ declare module '@polkadot/api-base/types/events' {
* A payment failed and can be retried. * A payment failed and can be retried.
**/ **/
PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: Null], { index: u32, paymentId: Null }>; PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: Null], { index: u32, paymentId: Null }>;
/**
* New proposal.
**/
Proposed: AugmentedEvent<ApiType, [proposalIndex: u32], { proposalIndex: u32 }>;
/**
* A proposal was rejected; funds were slashed.
**/
Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u128], { proposalIndex: u32, slashed: u128 }>;
/** /**
* Spending has finished; this is the amount that rolls over until next spend. * Spending has finished; this is the amount that rolls over until next spend.
**/ **/
+39 -4
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmountRuntimeFreezeReason, PalletBalancesIdAmountRuntimeHoldReason, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup'; import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensFungibleUnionOfNativeOrWithId, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeParametersKey, KitchensinkRuntimeRuntimeParametersValue, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletBrokerConfigRecord, PalletBrokerContributionRecord, PalletBrokerInstaPoolHistoryRecord, PalletBrokerLeaseRecordItem, PalletBrokerOnDemandRevenueRecord, PalletBrokerPoolIoRecord, PalletBrokerPotentialRenewalId, PalletBrokerPotentialRenewalRecord, PalletBrokerRegionId, PalletBrokerRegionRecord, PalletBrokerSaleInfoRecord, PalletBrokerScheduleItem, PalletBrokerStatusRecord, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityAuthorityProperties, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMigrationsMigrationCursor, PalletMixnetBoundedMixnode, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpMixnetAppPublic, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types'; import type { Observable } from '@polkadot/types/types';
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>; export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
@@ -132,6 +132,18 @@ declare module '@polkadot/api-base/types/storage' {
* Metadata of an asset. * Metadata of an asset.
**/ **/
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
* item has no effect.
*
* This can be useful for setting up constraints for IDs of the new assets. For example, by
* providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
* auto-increment model can be applied to all new asset IDs.
*
* The initial next asset ID can be set using the [`GenesisConfig`] or the
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
* Generic query * Generic query
**/ **/
@@ -305,11 +317,11 @@ declare module '@polkadot/api-base/types/storage' {
/** /**
* Freeze locks on account balances. * Freeze locks on account balances.
**/ **/
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/** /**
* Holds on account balances. * Holds on account balances.
**/ **/
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<FrameSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/** /**
* The total units of outstanding deactivated balance in the system. * The total units of outstanding deactivated balance in the system.
**/ **/
@@ -434,6 +446,10 @@ declare module '@polkadot/api-base/types/storage' {
* The Polkadot Core reservations (generally tasked with the maintenance of System Chains). * The Polkadot Core reservations (generally tasked with the maintenance of System Chains).
**/ **/
reservations: AugmentedQuery<ApiType, () => Observable<Vec<Vec<PalletBrokerScheduleItem>>>, []> & QueryableStorageEntry<ApiType, []>; reservations: AugmentedQuery<ApiType, () => Observable<Vec<Vec<PalletBrokerScheduleItem>>>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Received revenue info from the relay chain.
**/
revenueInbox: AugmentedQuery<ApiType, () => Observable<Option<PalletBrokerOnDemandRevenueRecord>>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
* The details of the current sale, including its properties and status. * The details of the current sale, including its properties and status.
**/ **/
@@ -573,7 +589,7 @@ declare module '@polkadot/api-base/types/storage' {
/** /**
* The overall status of the system. * The overall status of the system.
**/ **/
params: AugmentedQuery<ApiType, () => Observable<PalletCoreFellowshipParamsType>, []> & QueryableStorageEntry<ApiType, []>; params: AugmentedQuery<ApiType, () => Observable<PalletCoreFellowshipParamsTypeU128>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
* Generic query * Generic query
**/ **/
@@ -844,6 +860,13 @@ declare module '@polkadot/api-base/types/storage' {
* over `1.0` could stall the chain. * over `1.0` could stall the chain.
**/ **/
compute: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>; compute: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
/**
* The proportion of the `block length` to consume on each block.
*
* `1.0` is mapped to `100%`. Must be at most [`crate::RESOURCE_HARD_LIMIT`]. Setting this to
* over `1.0` could stall the chain.
**/
length: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
* The proportion of the remaining `proof_size` to consume during `on_idle`. * The proportion of the remaining `proof_size` to consume during `on_idle`.
* *
@@ -1440,6 +1463,18 @@ declare module '@polkadot/api-base/types/storage' {
* Metadata of an asset. * Metadata of an asset.
**/ **/
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
/**
* The asset ID enforced for the next asset creation, if any present. Otherwise, this storage
* item has no effect.
*
* This can be useful for setting up constraints for IDs of the new assets. For example, by
* providing an initial [`NextAssetId`] and using the [`crate::AutoIncAssetId`] callback, an
* auto-increment model can be applied to all new asset IDs.
*
* The initial next asset ID can be set using the [`GenesisConfig`] or the
* [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration.
**/
nextAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
/** /**
* Generic query * Generic query
**/ **/
+39 -64
View File
@@ -10,7 +10,7 @@ import type { Data } from '@polkadot/types';
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup'; import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensFungibleUnionOfNativeOrWithId, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeRuntimeParameters, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletBalancesAdjustmentDirection, PalletBrokerConfigRecord, PalletBrokerCoreMask, PalletBrokerFinality, PalletBrokerOnDemandRevenueRecord, PalletBrokerRegionId, PalletBrokerScheduleItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsTypeOption, PalletCoreFellowshipParamsTypeU128, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMigrationsHistoricCleanupSelector, PalletMigrationsMigrationCursor, PalletMixnetRegistration, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsCommissionClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingUnlockChunk, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBeefyDoubleVotingProof, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpMixnetAppSignature, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>; export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -429,7 +429,7 @@ declare module '@polkadot/api-base/types/submittable' {
* *
* Parameters: * Parameters:
* - `id`: The identifier of the new asset. This must not be currently in use to identify * - `id`: The identifier of the new asset. This must not be currently in use to identify
* an existing asset. * an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
* - `admin`: The admin of this class of assets. The admin is the initial address of each * - `admin`: The admin of this class of assets. The admin is the initial address of each
* member of the asset class's admin team. * member of the asset class's admin team.
* - `min_balance`: The minimum balance of this new asset that any single account must * - `min_balance`: The minimum balance of this new asset that any single account must
@@ -548,7 +548,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Unlike `create`, no funds are reserved. * Unlike `create`, no funds are reserved.
* *
* - `id`: The identifier of the new asset. This must not be currently in use to identify * - `id`: The identifier of the new asset. This must not be currently in use to identify
* an existing asset. * an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
* - `owner`: The owner of this class of assets. The owner has full superuser permissions * - `owner`: The owner of this class of assets. The owner has full superuser permissions
* over this asset, but may later change and configure the permissions using * over this asset, but may later change and configure the permissions using
* `transfer_ownership` and `set_team`. * `transfer_ownership` and `set_team`.
@@ -1202,6 +1202,7 @@ declare module '@polkadot/api-base/types/submittable' {
**/ **/
interlace: AugmentedSubmittable<(regionId: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array, pivot: PalletBrokerCoreMask | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, PalletBrokerCoreMask]>; interlace: AugmentedSubmittable<(regionId: PalletBrokerRegionId | { begin?: any; core?: any; mask?: any } | string | Uint8Array, pivot: PalletBrokerCoreMask | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerRegionId, PalletBrokerCoreMask]>;
notifyCoreCount: AugmentedSubmittable<(coreCount: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>; notifyCoreCount: AugmentedSubmittable<(coreCount: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
notifyRevenue: AugmentedSubmittable<(revenue: PalletBrokerOnDemandRevenueRecord | { until?: any; amount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBrokerOnDemandRevenueRecord]>;
/** /**
* Split a Bulk Coretime Region into two non-overlapping Regions at a particular time into * Split a Bulk Coretime Region into two non-overlapping Regions at a particular time into
* the region. * the region.
@@ -1784,6 +1785,14 @@ declare module '@polkadot/api-base/types/submittable' {
* - `to_rank`: One more than the current rank of `who`. * - `to_rank`: One more than the current rank of `who`.
**/ **/
promote: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, toRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16]>; promote: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, toRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16]>;
/**
* Fast promotions can skip ranks and ignore the `min_promotion_period`.
*
* This is useful for out-of-band promotions, hence it has its own `FastPromoteOrigin` to
* be (possibly) more restrictive than `PromoteOrigin`. Note that the member must already
* be inducted.
**/
promoteFast: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, toRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16]>;
/** /**
* Set whether a member is active or not. * Set whether a member is active or not.
* *
@@ -1797,7 +1806,17 @@ declare module '@polkadot/api-base/types/submittable' {
* - `origin`: An origin complying with `ParamsOrigin` or root. * - `origin`: An origin complying with `ParamsOrigin` or root.
* - `params`: The new parameters for the pallet. * - `params`: The new parameters for the pallet.
**/ **/
setParams: AugmentedSubmittable<(params: PalletCoreFellowshipParamsType | { activeSalary?: any; passiveSalary?: any; demotionPeriod?: any; minPromotionPeriod?: any; offboardTimeout?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCoreFellowshipParamsType]>; setParams: AugmentedSubmittable<(params: PalletCoreFellowshipParamsTypeU128 | { activeSalary?: any; passiveSalary?: any; demotionPeriod?: any; minPromotionPeriod?: any; offboardTimeout?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCoreFellowshipParamsTypeU128]>;
/**
* Set the parameters partially.
*
* - `origin`: An origin complying with `ParamsOrigin` or root.
* - `partial_params`: The new parameters for the pallet.
*
* This update config with multiple arguments without duplicating
* the fields that does not need to update (set to None).
**/
setPartialParams: AugmentedSubmittable<(partialParams: PalletCoreFellowshipParamsTypeOption | { activeSalary?: any; passiveSalary?: any; demotionPeriod?: any; minPromotionPeriod?: any; offboardTimeout?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCoreFellowshipParamsTypeOption]>;
/** /**
* Provide evidence that a rank is deserved. * Provide evidence that a rank is deserved.
* *
@@ -2448,6 +2467,10 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
glutton: { glutton: {
/**
* Increase the block size by including the specified garbage bytes.
**/
bloat: AugmentedSubmittable<(garbage: Vec<U8aFixed>) => SubmittableExtrinsic<ApiType>, [Vec<U8aFixed>]>;
/** /**
* Initialize the pallet. Should be called once, if no genesis state was provided. * Initialize the pallet. Should be called once, if no genesis state was provided.
* *
@@ -2457,6 +2480,15 @@ declare module '@polkadot/api-base/types/submittable' {
* Only callable by Root or `AdminOrigin`. A good default for `new_count` is `5_000`. * Only callable by Root or `AdminOrigin`. A good default for `new_count` is `5_000`.
**/ **/
initializePallet: AugmentedSubmittable<(newCount: u32 | AnyNumber | Uint8Array, witnessCount: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>]>; initializePallet: AugmentedSubmittable<(newCount: u32 | AnyNumber | Uint8Array, witnessCount: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>]>;
/**
* Set how much of the block length should be filled with trash data on each block.
*
* `1.0` means that all block should be filled. If set to `1.0`, storage proof size will
* be close to zero.
*
* Only callable by Root or `AdminOrigin`.
**/
setBlockLength: AugmentedSubmittable<(blockLength: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
/** /**
* Set how much of the remaining `ref_time` weight should be consumed by `on_idle`. * Set how much of the remaining `ref_time` weight should be consumed by `on_idle`.
* *
@@ -4254,7 +4286,7 @@ declare module '@polkadot/api-base/types/submittable' {
* *
* Parameters: * Parameters:
* - `id`: The identifier of the new asset. This must not be currently in use to identify * - `id`: The identifier of the new asset. This must not be currently in use to identify
* an existing asset. * an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
* - `admin`: The admin of this class of assets. The admin is the initial address of each * - `admin`: The admin of this class of assets. The admin is the initial address of each
* member of the asset class's admin team. * member of the asset class's admin team.
* - `min_balance`: The minimum balance of this new asset that any single account must * - `min_balance`: The minimum balance of this new asset that any single account must
@@ -4373,7 +4405,7 @@ declare module '@polkadot/api-base/types/submittable' {
* Unlike `create`, no funds are reserved. * Unlike `create`, no funds are reserved.
* *
* - `id`: The identifier of the new asset. This must not be currently in use to identify * - `id`: The identifier of the new asset. This must not be currently in use to identify
* an existing asset. * an existing asset. If [`NextAssetId`] is set, then this must be equal to it.
* - `owner`: The owner of this class of assets. The owner has full superuser permissions * - `owner`: The owner of this class of assets. The owner has full superuser permissions
* over this asset, but may later change and configure the permissions using * over this asset, but may later change and configure the permissions using
* `transfer_ownership` and `set_team`. * `transfer_ownership` and `set_team`.
@@ -6726,26 +6758,6 @@ declare module '@polkadot/api-base/types/submittable' {
[key: string]: SubmittableExtrinsicFunction<ApiType>; [key: string]: SubmittableExtrinsicFunction<ApiType>;
}; };
treasury: { treasury: {
/**
* Approve a proposal.
*
* ## Dispatch Origin
*
* Must be [`Config::ApproveOrigin`].
*
* ## Details
*
* At a later time, the proposal will be allocated to the beneficiary and the original
* deposit will be returned.
*
* ### Complexity
* - O(1).
*
* ## Events
*
* No events are emitted from this dispatch.
**/
approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/** /**
* Check the status of the spend and remove it from the storage if processed. * Check the status of the spend and remove it from the storage if processed.
* *
@@ -6773,7 +6785,7 @@ declare module '@polkadot/api-base/types/submittable' {
* *
* ## Dispatch Origin * ## Dispatch Origin
* *
* Must be signed. * Must be signed
* *
* ## Details * ## Details
* *
@@ -6790,43 +6802,6 @@ declare module '@polkadot/api-base/types/submittable' {
* Emits [`Event::Paid`] if successful. * Emits [`Event::Paid`] if successful.
**/ **/
payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
/**
* Put forward a suggestion for spending.
*
* ## Dispatch Origin
*
* Must be signed.
*
* ## Details
* A deposit proportional to the value is reserved and slashed if the proposal is rejected.
* It is returned once the proposal is awarded.
*
* ### Complexity
* - O(1)
*
* ## Events
*
* Emits [`Event::Proposed`] if successful.
**/
proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
/**
* Reject a proposed spend.
*
* ## Dispatch Origin
*
* Must be [`Config::RejectOrigin`].
*
* ## Details
* The original deposit will be slashed.
*
* ### Complexity
* - O(1)
*
* ## Events
*
* Emits [`Event::Rejected`] if successful.
**/
rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
/** /**
* Force a previously approved proposal to be removed from the approval queue. * Force a previously approved proposal to be removed from the approval queue.
* *
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/rpc-core": "12.0.2", "@polkadot/rpc-core": "12.2.1",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '12.2.1' };
+11 -11
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api": "12.0.2", "@polkadot/api": "12.2.1",
"@polkadot/api-augment": "12.0.2", "@polkadot/api-augment": "12.2.1",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/types-create": "12.0.2", "@polkadot/types-create": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^12.6.2", "@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api-augment": "12.0.2", "@polkadot/api-augment": "12.2.1",
"@polkadot/keyring": "^12.6.2", "@polkadot/keyring": "^13.0.2",
"@polkadot/types-support": "12.0.2" "@polkadot/types-support": "12.2.1"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '12.2.1' };
+14 -14
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api": "12.0.2", "@polkadot/api": "12.2.1",
"@polkadot/api-augment": "12.0.2", "@polkadot/api-augment": "12.2.1",
"@polkadot/api-base": "12.0.2", "@polkadot/api-base": "12.2.1",
"@polkadot/rpc-core": "12.0.2", "@polkadot/rpc-core": "12.2.1",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^12.6.2", "@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api": "12.0.2", "@polkadot/api": "12.2.1",
"@polkadot/api-augment": "12.0.2", "@polkadot/api-augment": "12.2.1",
"@polkadot/rpc-augment": "12.0.2", "@polkadot/rpc-augment": "12.2.1",
"@polkadot/rpc-provider": "12.0.2", "@polkadot/rpc-provider": "12.2.1",
"@polkadot/types-support": "12.0.2" "@polkadot/types-support": "12.2.1"
} }
} }
@@ -147,7 +147,7 @@ describe('bounties derive', () => {
council: { council: {
proposals: () => of([ proposals: () => of([
{ proposal: createProposal(api.tx.bounties.approveBounty(1)) }, { proposal: createProposal(api.tx.bounties.approveBounty(1)) },
{ proposal: createProposal(api.tx.treasury.approveProposal(1)) }] as DeriveCollectiveProposal[]) { proposal: api.tx.treasury['approveProposal'] && createProposal(api.tx.treasury['approveProposal'](1)) }] as DeriveCollectiveProposal[])
} }
} }
} as unknown as DeriveApi; } as unknown as DeriveApi;
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '12.2.1' };
@@ -23,9 +23,11 @@ function parseResult (api: DeriveApi, { allIds, allProposals, approvalIds, counc
const approvals: DeriveTreasuryProposal[] = []; const approvals: DeriveTreasuryProposal[] = [];
const proposals: DeriveTreasuryProposal[] = []; const proposals: DeriveTreasuryProposal[] = [];
const councilTreasury = councilProposals.filter(({ proposal }) => const councilTreasury = councilProposals.filter(({ proposal }) =>
// FIXME `approveProposal` and `rejectProposal` have been removed in substrate and released in 1.14
// in favor of `spend`. See: https://github.com/paritytech/polkadot-sdk/pull/3820
proposal && ( proposal && (
api.tx.treasury.approveProposal.is(proposal) || (api.tx.treasury['approveProposal'] && api.tx.treasury['approveProposal'].is(proposal)) ||
api.tx.treasury.rejectProposal.is(proposal) (api.tx.treasury['rejectProposal'] && api.tx.treasury['rejectProposal'].is(proposal))
) )
); );
+17 -17
View File
@@ -18,29 +18,29 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/api-augment": "12.0.2", "@polkadot/api-augment": "12.2.1",
"@polkadot/api-base": "12.0.2", "@polkadot/api-base": "12.2.1",
"@polkadot/api-derive": "12.0.2", "@polkadot/api-derive": "12.2.1",
"@polkadot/keyring": "^12.6.2", "@polkadot/keyring": "^13.0.2",
"@polkadot/rpc-augment": "12.0.2", "@polkadot/rpc-augment": "12.2.1",
"@polkadot/rpc-core": "12.0.2", "@polkadot/rpc-core": "12.2.1",
"@polkadot/rpc-provider": "12.0.2", "@polkadot/rpc-provider": "12.2.1",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-augment": "12.0.2", "@polkadot/types-augment": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/types-create": "12.0.2", "@polkadot/types-create": "12.2.1",
"@polkadot/types-known": "12.0.2", "@polkadot/types-known": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^12.6.2", "@polkadot/util-crypto": "^13.0.2",
"eventemitter3": "^5.0.1", "eventemitter3": "^5.0.1",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api-augment": "12.0.2", "@polkadot/api-augment": "12.2.1",
"@polkadot/types-support": "12.0.2" "@polkadot/types-support": "12.2.1"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '12.2.1' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/rpc-core": "12.0.2", "@polkadot/rpc-core": "12.2.1",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"tslib": "^2.6.2" "tslib": "^2.6.2"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '12.2.1' };
+7 -7
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/rpc-augment": "12.0.2", "@polkadot/rpc-augment": "12.2.1",
"@polkadot/rpc-provider": "12.0.2", "@polkadot/rpc-provider": "12.2.1",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^12.6.2", "@polkadot/keyring": "^13.0.2",
"@polkadot/rpc-augment": "12.0.2" "@polkadot/rpc-augment": "12.2.1"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '12.2.1' };
+9 -9
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/keyring": "^12.6.2", "@polkadot/keyring": "^13.0.2",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-support": "12.0.2", "@polkadot/types-support": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^12.6.2", "@polkadot/util-crypto": "^13.0.2",
"@polkadot/x-fetch": "^12.6.2", "@polkadot/x-fetch": "^13.0.2",
"@polkadot/x-global": "^12.6.2", "@polkadot/x-global": "^13.0.2",
"@polkadot/x-ws": "^12.6.2", "@polkadot/x-ws": "^13.0.2",
"eventemitter3": "^5.0.1", "eventemitter3": "^5.0.1",
"mock-socket": "^9.3.1", "mock-socket": "^9.3.1",
"nock": "^13.5.0", "nock": "^13.5.0",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '12.2.1' };
+13 -13
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"bin": { "bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs", "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,18 +28,18 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs" "polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
}, },
"dependencies": { "dependencies": {
"@polkadot/api": "12.0.2", "@polkadot/api": "12.2.1",
"@polkadot/api-augment": "12.0.2", "@polkadot/api-augment": "12.2.1",
"@polkadot/rpc-augment": "12.0.2", "@polkadot/rpc-augment": "12.2.1",
"@polkadot/rpc-provider": "12.0.2", "@polkadot/rpc-provider": "12.2.1",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-augment": "12.0.2", "@polkadot/types-augment": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/types-create": "12.0.2", "@polkadot/types-create": "12.2.1",
"@polkadot/types-support": "12.0.2", "@polkadot/types-support": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^12.6.2", "@polkadot/util-crypto": "^13.0.2",
"@polkadot/x-ws": "^12.6.2", "@polkadot/x-ws": "^13.0.2",
"handlebars": "^4.7.8", "handlebars": "^4.7.8",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"yargs": "^17.7.2" "yargs": "^17.7.2"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '12.2.1' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"tslib": "^2.6.2" "tslib": "^2.6.2"
} }
} }
+43 -85
View File
@@ -5,7 +5,25 @@
export default { export default {
/** /**
* Lookup121: staging_kusama_runtime::SessionKeys * Lookup49: staging_kusama_runtime::pallet_im_online::pallet::Event<T>
**/
StagingKusamaRuntimePalletImOnlinePalletEvent: {
_enum: {
HeartbeatReceived: {
authorityId: 'StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public',
},
AllGood: 'Null',
SomeOffline: {
offline: 'Vec<(AccountId32,SpStakingExposure)>'
}
}
},
/**
* Lookup50: staging_kusama_runtime::pallet_im_online::sr25519::app_sr25519::Public
**/
StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public: 'SpCoreSr25519Public',
/**
* Lookup134: staging_kusama_runtime::SessionKeys
**/ **/
StagingKusamaRuntimeSessionKeys: { StagingKusamaRuntimeSessionKeys: {
grandpa: 'SpConsensusGrandpaAppPublic', grandpa: 'SpConsensusGrandpaAppPublic',
@@ -16,7 +34,7 @@ export default {
beefy: 'SpConsensusBeefyEcdsaCryptoPublic' beefy: 'SpConsensusBeefyEcdsaCryptoPublic'
}, },
/** /**
* Lookup148: staging_kusama_runtime::OriginCaller * Lookup161: staging_kusama_runtime::OriginCaller
**/ **/
StagingKusamaRuntimeOriginCaller: { StagingKusamaRuntimeOriginCaller: {
_enum: { _enum: {
@@ -123,19 +141,19 @@ export default {
} }
}, },
/** /**
* Lookup150: staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin * Lookup163: staging_kusama_runtime::governance::origins::pallet_custom_origins::Origin
**/ **/
StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: { StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: {
_enum: ['StakingAdmin', 'Treasurer', 'FellowshipAdmin', 'GeneralAdmin', 'AuctionAdmin', 'LeaseAdmin', 'ReferendumCanceller', 'ReferendumKiller', 'SmallTipper', 'BigTipper', 'SmallSpender', 'MediumSpender', 'BigSpender', 'WhitelistedCaller', 'FellowshipInitiates', 'Fellows', 'FellowshipExperts', 'FellowshipMasters', 'Fellowship1Dan', 'Fellowship2Dan', 'Fellowship3Dan', 'Fellowship4Dan', 'Fellowship5Dan', 'Fellowship6Dan', 'Fellowship7Dan', 'Fellowship8Dan', 'Fellowship9Dan', 'WishForChange'] _enum: ['StakingAdmin', 'Treasurer', 'FellowshipAdmin', 'GeneralAdmin', 'AuctionAdmin', 'LeaseAdmin', 'ReferendumCanceller', 'ReferendumKiller', 'SmallTipper', 'BigTipper', 'SmallSpender', 'MediumSpender', 'BigSpender', 'WhitelistedCaller', 'FellowshipInitiates', 'Fellows', 'FellowshipExperts', 'FellowshipMasters', 'Fellowship1Dan', 'Fellowship2Dan', 'Fellowship3Dan', 'Fellowship4Dan', 'Fellowship5Dan', 'Fellowship6Dan', 'Fellowship7Dan', 'Fellowship8Dan', 'Fellowship9Dan', 'WishForChange']
}, },
/** /**
* Lookup224: staging_kusama_runtime::ProxyType * Lookup192: staging_kusama_runtime::ProxyType
**/ **/
StagingKusamaRuntimeProxyType: { StagingKusamaRuntimeProxyType: {
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction', 'Society', 'NominationPools'] _enum: ['Any', 'NonTransfer', 'Governance', 'Staking', '__Unused4', 'CancelProxy', 'Auction', 'Society', 'NominationPools']
}, },
/** /**
* Lookup234: staging_kusama_runtime::NposCompactSolution24 * Lookup202: staging_kusama_runtime::NposCompactSolution24
**/ **/
StagingKusamaRuntimeNposCompactSolution24: { StagingKusamaRuntimeNposCompactSolution24: {
votes1: 'Vec<(Compact<u32>,Compact<u16>)>', votes1: 'Vec<(Compact<u32>,Compact<u16>)>',
@@ -164,7 +182,7 @@ export default {
votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>' votes24: 'Vec<(Compact<u32>,[(Compact<u16>,Compact<PerU16>);23],Compact<u16>)>'
}, },
/** /**
* Lookup391: polkadot_runtime_parachains::assigner_on_demand::pallet::Call<T> * Lookup360: polkadot_runtime_parachains::assigner_on_demand::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsAssignerOnDemandPalletCall: { PolkadotRuntimeParachainsAssignerOnDemandPalletCall: {
_enum: { _enum: {
@@ -179,7 +197,7 @@ export default {
} }
}, },
/** /**
* Lookup399: polkadot_runtime_parachains::coretime::pallet::Call<T> * Lookup371: polkadot_runtime_parachains::coretime::pallet::Call<T>
**/ **/
PolkadotRuntimeParachainsCoretimePalletCall: { PolkadotRuntimeParachainsCoretimePalletCall: {
_enum: { _enum: {
@@ -198,7 +216,7 @@ export default {
} }
}, },
/** /**
* Lookup543: polkadot_runtime_parachains::assigner_on_demand::pallet::Event<T> * Lookup512: polkadot_runtime_parachains::assigner_on_demand::pallet::Event<T>
**/ **/
PolkadotRuntimeParachainsAssignerOnDemandPalletEvent: { PolkadotRuntimeParachainsAssignerOnDemandPalletEvent: {
_enum: { _enum: {
@@ -212,7 +230,7 @@ export default {
} }
}, },
/** /**
* Lookup548: polkadot_runtime_parachains::coretime::pallet::Event<T> * Lookup517: polkadot_runtime_parachains::coretime::pallet::Event<T>
**/ **/
PolkadotRuntimeParachainsCoretimePalletEvent: { PolkadotRuntimeParachainsCoretimePalletEvent: {
_enum: { _enum: {
@@ -225,7 +243,7 @@ export default {
} }
}, },
/** /**
* Lookup600: staging_kusama_runtime::RuntimeHoldReason * Lookup566: staging_kusama_runtime::RuntimeHoldReason
**/ **/
StagingKusamaRuntimeRuntimeHoldReason: { StagingKusamaRuntimeRuntimeHoldReason: {
_enum: { _enum: {
@@ -267,71 +285,11 @@ export default {
__Unused35: 'Null', __Unused35: 'Null',
__Unused36: 'Null', __Unused36: 'Null',
__Unused37: 'Null', __Unused37: 'Null',
Nis: 'PalletNisHoldReason', Nis: 'PalletNisHoldReason'
__Unused39: 'Null',
__Unused40: 'Null',
__Unused41: 'Null',
__Unused42: 'Null',
__Unused43: 'Null',
__Unused44: 'Null',
__Unused45: 'Null',
__Unused46: 'Null',
__Unused47: 'Null',
__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',
StateTrieMigration: 'PalletStateTrieMigrationHoldReason'
} }
}, },
/** /**
* Lookup607: staging_kusama_runtime::RuntimeFreezeReason * Lookup572: staging_kusama_runtime::RuntimeFreezeReason
**/ **/
StagingKusamaRuntimeRuntimeFreezeReason: { StagingKusamaRuntimeRuntimeFreezeReason: {
_enum: { _enum: {
@@ -380,33 +338,33 @@ export default {
} }
}, },
/** /**
* Lookup800: pallet_balances::types::IdAmount<Id, Balance> * Lookup742: pallet_balances::types::IdAmount<Id, Balance>
**/ **/
PalletBalancesIdAmount: { PalletBalancesIdAmount: {
id: 'Null', id: 'Null',
amount: 'u128' amount: 'u128'
}, },
/** /**
* Lookup899: polkadot_runtime_parachains::assigner_on_demand::EnqueuedOrder * Lookup841: polkadot_runtime_parachains::assigner_on_demand::EnqueuedOrder
**/ **/
PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder: { PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder: {
paraId: 'u32' paraId: 'u32'
}, },
/** /**
* Lookup900: polkadot_runtime_parachains::assigner_on_demand::CoreAffinityCount * Lookup842: polkadot_runtime_parachains::assigner_on_demand::CoreAffinityCount
**/ **/
PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount: { PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount: {
coreIdx: 'u32', coreIdx: 'u32',
count: 'u32' count: 'u32'
}, },
/** /**
* Lookup901: polkadot_runtime_parachains::assigner_on_demand::pallet::Error<T> * Lookup843: polkadot_runtime_parachains::assigner_on_demand::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsAssignerOnDemandPalletError: { PolkadotRuntimeParachainsAssignerOnDemandPalletError: {
_enum: ['InvalidParaId', 'QueueFull', 'SpotPriceHigherThanMaxAmount'] _enum: ['InvalidParaId', 'QueueFull', 'SpotPriceHigherThanMaxAmount']
}, },
/** /**
* Lookup903: polkadot_runtime_parachains::assigner_coretime::Schedule<N> * Lookup845: polkadot_runtime_parachains::assigner_coretime::Schedule<N>
**/ **/
PolkadotRuntimeParachainsAssignerCoretimeSchedule: { PolkadotRuntimeParachainsAssignerCoretimeSchedule: {
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,u16)>', assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,u16)>',
@@ -414,21 +372,21 @@ export default {
nextSchedule: 'Option<u32>' nextSchedule: 'Option<u32>'
}, },
/** /**
* Lookup904: polkadot_runtime_parachains::assigner_coretime::CoreDescriptor<N> * Lookup846: polkadot_runtime_parachains::assigner_coretime::CoreDescriptor<N>
**/ **/
PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor: { PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor: {
queue: 'Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>', queue: 'Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>',
currentWork: 'Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>' currentWork: 'Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>'
}, },
/** /**
* Lookup906: polkadot_runtime_parachains::assigner_coretime::QueueDescriptor<N> * Lookup848: polkadot_runtime_parachains::assigner_coretime::QueueDescriptor<N>
**/ **/
PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor: { PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor: {
first: 'u32', first: 'u32',
last: 'u32' last: 'u32'
}, },
/** /**
* Lookup908: polkadot_runtime_parachains::assigner_coretime::WorkState<N> * Lookup850: polkadot_runtime_parachains::assigner_coretime::WorkState<N>
**/ **/
PolkadotRuntimeParachainsAssignerCoretimeWorkState: { PolkadotRuntimeParachainsAssignerCoretimeWorkState: {
assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,PolkadotRuntimeParachainsAssignerCoretimeAssignmentState)>', assignments: 'Vec<(PalletBrokerCoretimeInterfaceCoreAssignment,PolkadotRuntimeParachainsAssignerCoretimeAssignmentState)>',
@@ -437,26 +395,26 @@ export default {
step: 'u16' step: 'u16'
}, },
/** /**
* Lookup911: polkadot_runtime_parachains::assigner_coretime::AssignmentState * Lookup853: polkadot_runtime_parachains::assigner_coretime::AssignmentState
**/ **/
PolkadotRuntimeParachainsAssignerCoretimeAssignmentState: { PolkadotRuntimeParachainsAssignerCoretimeAssignmentState: {
ratio: 'u16', ratio: 'u16',
remaining: 'u16' remaining: 'u16'
}, },
/** /**
* Lookup912: polkadot_runtime_parachains::assigner_coretime::pallet::Error<T> * Lookup854: polkadot_runtime_parachains::assigner_coretime::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsAssignerCoretimePalletError: { PolkadotRuntimeParachainsAssignerCoretimePalletError: {
_enum: ['AssignmentsEmpty', 'OverScheduled', 'UnderScheduled', 'DisallowedInsert', 'DuplicateInsert', 'AssignmentsNotSorted'] _enum: ['AssignmentsEmpty', 'OverScheduled', 'UnderScheduled', 'DisallowedInsert', 'DuplicateInsert', 'AssignmentsNotSorted']
}, },
/** /**
* Lookup926: polkadot_runtime_parachains::coretime::pallet::Error<T> * Lookup868: polkadot_runtime_parachains::coretime::pallet::Error<T>
**/ **/
PolkadotRuntimeParachainsCoretimePalletError: { PolkadotRuntimeParachainsCoretimePalletError: {
_enum: ['NotBroker'] _enum: ['NotBroker']
}, },
/** /**
* Lookup972: staging_kusama_runtime::Runtime * Lookup915: staging_kusama_runtime::Runtime
**/ **/
StagingKusamaRuntimeRuntime: 'Null' StagingKusamaRuntimeRuntime: 'Null'
}; };
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -7,10 +7,27 @@ import '@polkadot/types/lookup';
import type { Compact, Enum, Null, Option, Struct, Vec, u128, u16, u32 } from '@polkadot/types-codec'; import type { Compact, Enum, Null, Option, Struct, Vec, u128, u16, u32 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types'; import type { ITuple } from '@polkadot/types-codec/types';
import type { PerU16 } from '@polkadot/types/interfaces/runtime'; import type { AccountId32, PerU16 } from '@polkadot/types/interfaces/runtime';
declare module '@polkadot/types/lookup' { declare module '@polkadot/types/lookup' {
/** @name StagingKusamaRuntimeSessionKeys (121) */ /** @name StagingKusamaRuntimePalletImOnlinePalletEvent (49) */
interface StagingKusamaRuntimePalletImOnlinePalletEvent extends Enum {
readonly isHeartbeatReceived: boolean;
readonly asHeartbeatReceived: {
readonly authorityId: StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public;
} & Struct;
readonly isAllGood: boolean;
readonly isSomeOffline: boolean;
readonly asSomeOffline: {
readonly offline: Vec<ITuple<[AccountId32, SpStakingExposure]>>;
} & Struct;
readonly type: 'HeartbeatReceived' | 'AllGood' | 'SomeOffline';
}
/** @name StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public (50) */
interface StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public extends SpCoreSr25519Public {}
/** @name StagingKusamaRuntimeSessionKeys (134) */
interface StagingKusamaRuntimeSessionKeys extends Struct { interface StagingKusamaRuntimeSessionKeys extends Struct {
readonly grandpa: SpConsensusGrandpaAppPublic; readonly grandpa: SpConsensusGrandpaAppPublic;
readonly babe: SpConsensusBabeAppPublic; readonly babe: SpConsensusBabeAppPublic;
@@ -20,7 +37,7 @@ declare module '@polkadot/types/lookup' {
readonly beefy: SpConsensusBeefyEcdsaCryptoPublic; readonly beefy: SpConsensusBeefyEcdsaCryptoPublic;
} }
/** @name StagingKusamaRuntimeOriginCaller (148) */ /** @name StagingKusamaRuntimeOriginCaller (161) */
interface StagingKusamaRuntimeOriginCaller extends Enum { interface StagingKusamaRuntimeOriginCaller extends Enum {
readonly isSystem: boolean; readonly isSystem: boolean;
readonly asSystem: FrameSupportDispatchRawOrigin; readonly asSystem: FrameSupportDispatchRawOrigin;
@@ -34,7 +51,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'System' | 'Void' | 'Origins' | 'ParachainsOrigin' | 'XcmPallet'; readonly type: 'System' | 'Void' | 'Origins' | 'ParachainsOrigin' | 'XcmPallet';
} }
/** @name StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (150) */ /** @name StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin (163) */
interface StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin extends Enum { interface StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin extends Enum {
readonly isStakingAdmin: boolean; readonly isStakingAdmin: boolean;
readonly isTreasurer: boolean; readonly isTreasurer: boolean;
@@ -67,21 +84,20 @@ declare module '@polkadot/types/lookup' {
readonly type: 'StakingAdmin' | 'Treasurer' | 'FellowshipAdmin' | 'GeneralAdmin' | 'AuctionAdmin' | 'LeaseAdmin' | 'ReferendumCanceller' | 'ReferendumKiller' | 'SmallTipper' | 'BigTipper' | 'SmallSpender' | 'MediumSpender' | 'BigSpender' | 'WhitelistedCaller' | 'FellowshipInitiates' | 'Fellows' | 'FellowshipExperts' | 'FellowshipMasters' | 'Fellowship1Dan' | 'Fellowship2Dan' | 'Fellowship3Dan' | 'Fellowship4Dan' | 'Fellowship5Dan' | 'Fellowship6Dan' | 'Fellowship7Dan' | 'Fellowship8Dan' | 'Fellowship9Dan' | 'WishForChange'; readonly type: 'StakingAdmin' | 'Treasurer' | 'FellowshipAdmin' | 'GeneralAdmin' | 'AuctionAdmin' | 'LeaseAdmin' | 'ReferendumCanceller' | 'ReferendumKiller' | 'SmallTipper' | 'BigTipper' | 'SmallSpender' | 'MediumSpender' | 'BigSpender' | 'WhitelistedCaller' | 'FellowshipInitiates' | 'Fellows' | 'FellowshipExperts' | 'FellowshipMasters' | 'Fellowship1Dan' | 'Fellowship2Dan' | 'Fellowship3Dan' | 'Fellowship4Dan' | 'Fellowship5Dan' | 'Fellowship6Dan' | 'Fellowship7Dan' | 'Fellowship8Dan' | 'Fellowship9Dan' | 'WishForChange';
} }
/** @name StagingKusamaRuntimeProxyType (224) */ /** @name StagingKusamaRuntimeProxyType (192) */
interface StagingKusamaRuntimeProxyType extends Enum { interface StagingKusamaRuntimeProxyType extends Enum {
readonly isAny: boolean; readonly isAny: boolean;
readonly isNonTransfer: boolean; readonly isNonTransfer: boolean;
readonly isGovernance: boolean; readonly isGovernance: boolean;
readonly isStaking: boolean; readonly isStaking: boolean;
readonly isIdentityJudgement: boolean;
readonly isCancelProxy: boolean; readonly isCancelProxy: boolean;
readonly isAuction: boolean; readonly isAuction: boolean;
readonly isSociety: boolean; readonly isSociety: boolean;
readonly isNominationPools: boolean; readonly isNominationPools: boolean;
readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools'; readonly type: 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'CancelProxy' | 'Auction' | 'Society' | 'NominationPools';
} }
/** @name StagingKusamaRuntimeNposCompactSolution24 (234) */ /** @name StagingKusamaRuntimeNposCompactSolution24 (202) */
interface StagingKusamaRuntimeNposCompactSolution24 extends Struct { interface StagingKusamaRuntimeNposCompactSolution24 extends Struct {
readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>; readonly votes1: Vec<ITuple<[Compact<u32>, Compact<u16>]>>;
readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>; readonly votes2: Vec<ITuple<[Compact<u32>, ITuple<[Compact<u16>, Compact<PerU16>]>, Compact<u16>]>>;
@@ -109,7 +125,7 @@ declare module '@polkadot/types/lookup' {
readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>; readonly votes24: Vec<ITuple<[Compact<u32>, Vec<ITuple<[Compact<u16>, Compact<PerU16>]>>, Compact<u16>]>>;
} }
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletCall (391) */ /** @name PolkadotRuntimeParachainsAssignerOnDemandPalletCall (360) */
interface PolkadotRuntimeParachainsAssignerOnDemandPalletCall extends Enum { interface PolkadotRuntimeParachainsAssignerOnDemandPalletCall extends Enum {
readonly isPlaceOrderAllowDeath: boolean; readonly isPlaceOrderAllowDeath: boolean;
readonly asPlaceOrderAllowDeath: { readonly asPlaceOrderAllowDeath: {
@@ -124,7 +140,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'PlaceOrderAllowDeath' | 'PlaceOrderKeepAlive'; readonly type: 'PlaceOrderAllowDeath' | 'PlaceOrderKeepAlive';
} }
/** @name PolkadotRuntimeParachainsCoretimePalletCall (399) */ /** @name PolkadotRuntimeParachainsCoretimePalletCall (371) */
interface PolkadotRuntimeParachainsCoretimePalletCall extends Enum { interface PolkadotRuntimeParachainsCoretimePalletCall extends Enum {
readonly isRequestCoreCount: boolean; readonly isRequestCoreCount: boolean;
readonly asRequestCoreCount: { readonly asRequestCoreCount: {
@@ -140,7 +156,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'RequestCoreCount' | 'AssignCore'; readonly type: 'RequestCoreCount' | 'AssignCore';
} }
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletEvent (543) */ /** @name PolkadotRuntimeParachainsAssignerOnDemandPalletEvent (512) */
interface PolkadotRuntimeParachainsAssignerOnDemandPalletEvent extends Enum { interface PolkadotRuntimeParachainsAssignerOnDemandPalletEvent extends Enum {
readonly isOnDemandOrderPlaced: boolean; readonly isOnDemandOrderPlaced: boolean;
readonly asOnDemandOrderPlaced: { readonly asOnDemandOrderPlaced: {
@@ -154,7 +170,7 @@ declare module '@polkadot/types/lookup' {
readonly type: 'OnDemandOrderPlaced' | 'SpotTrafficSet'; readonly type: 'OnDemandOrderPlaced' | 'SpotTrafficSet';
} }
/** @name PolkadotRuntimeParachainsCoretimePalletEvent (548) */ /** @name PolkadotRuntimeParachainsCoretimePalletEvent (517) */
interface PolkadotRuntimeParachainsCoretimePalletEvent extends Enum { interface PolkadotRuntimeParachainsCoretimePalletEvent extends Enum {
readonly isRevenueInfoRequested: boolean; readonly isRevenueInfoRequested: boolean;
readonly asRevenueInfoRequested: { readonly asRevenueInfoRequested: {
@@ -167,42 +183,40 @@ declare module '@polkadot/types/lookup' {
readonly type: 'RevenueInfoRequested' | 'CoreAssigned'; readonly type: 'RevenueInfoRequested' | 'CoreAssigned';
} }
/** @name StagingKusamaRuntimeRuntimeHoldReason (600) */ /** @name StagingKusamaRuntimeRuntimeHoldReason (566) */
interface StagingKusamaRuntimeRuntimeHoldReason extends Enum { interface StagingKusamaRuntimeRuntimeHoldReason extends Enum {
readonly isPreimage: boolean; readonly isPreimage: boolean;
readonly asPreimage: PalletPreimageHoldReason; readonly asPreimage: PalletPreimageHoldReason;
readonly isNis: boolean; readonly isNis: boolean;
readonly asNis: PalletNisHoldReason; readonly asNis: PalletNisHoldReason;
readonly isStateTrieMigration: boolean; readonly type: 'Preimage' | 'Nis';
readonly asStateTrieMigration: PalletStateTrieMigrationHoldReason;
readonly type: 'Preimage' | 'Nis' | 'StateTrieMigration';
} }
/** @name StagingKusamaRuntimeRuntimeFreezeReason (607) */ /** @name StagingKusamaRuntimeRuntimeFreezeReason (572) */
interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum { interface StagingKusamaRuntimeRuntimeFreezeReason extends Enum {
readonly isNominationPools: boolean; readonly isNominationPools: boolean;
readonly asNominationPools: PalletNominationPoolsFreezeReason; readonly asNominationPools: PalletNominationPoolsFreezeReason;
readonly type: 'NominationPools'; readonly type: 'NominationPools';
} }
/** @name PalletBalancesIdAmount (800) */ /** @name PalletBalancesIdAmount (742) */
interface PalletBalancesIdAmount extends Struct { interface PalletBalancesIdAmount extends Struct {
readonly id: Null; readonly id: Null;
readonly amount: u128; readonly amount: u128;
} }
/** @name PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder (899) */ /** @name PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder (841) */
interface PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder extends Struct { interface PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder extends Struct {
readonly paraId: u32; readonly paraId: u32;
} }
/** @name PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount (900) */ /** @name PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount (842) */
interface PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount extends Struct { interface PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount extends Struct {
readonly coreIdx: u32; readonly coreIdx: u32;
readonly count: u32; readonly count: u32;
} }
/** @name PolkadotRuntimeParachainsAssignerOnDemandPalletError (901) */ /** @name PolkadotRuntimeParachainsAssignerOnDemandPalletError (843) */
interface PolkadotRuntimeParachainsAssignerOnDemandPalletError extends Enum { interface PolkadotRuntimeParachainsAssignerOnDemandPalletError extends Enum {
readonly isInvalidParaId: boolean; readonly isInvalidParaId: boolean;
readonly isQueueFull: boolean; readonly isQueueFull: boolean;
@@ -210,26 +224,26 @@ declare module '@polkadot/types/lookup' {
readonly type: 'InvalidParaId' | 'QueueFull' | 'SpotPriceHigherThanMaxAmount'; readonly type: 'InvalidParaId' | 'QueueFull' | 'SpotPriceHigherThanMaxAmount';
} }
/** @name PolkadotRuntimeParachainsAssignerCoretimeSchedule (903) */ /** @name PolkadotRuntimeParachainsAssignerCoretimeSchedule (845) */
interface PolkadotRuntimeParachainsAssignerCoretimeSchedule extends Struct { interface PolkadotRuntimeParachainsAssignerCoretimeSchedule extends Struct {
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>; readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, u16]>>;
readonly endHint: Option<u32>; readonly endHint: Option<u32>;
readonly nextSchedule: Option<u32>; readonly nextSchedule: Option<u32>;
} }
/** @name PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor (904) */ /** @name PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor (846) */
interface PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor extends Struct { interface PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor extends Struct {
readonly queue: Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>; readonly queue: Option<PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor>;
readonly currentWork: Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>; readonly currentWork: Option<PolkadotRuntimeParachainsAssignerCoretimeWorkState>;
} }
/** @name PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor (906) */ /** @name PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor (848) */
interface PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor extends Struct { interface PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor extends Struct {
readonly first: u32; readonly first: u32;
readonly last: u32; readonly last: u32;
} }
/** @name PolkadotRuntimeParachainsAssignerCoretimeWorkState (908) */ /** @name PolkadotRuntimeParachainsAssignerCoretimeWorkState (850) */
interface PolkadotRuntimeParachainsAssignerCoretimeWorkState extends Struct { interface PolkadotRuntimeParachainsAssignerCoretimeWorkState extends Struct {
readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState]>>; readonly assignments: Vec<ITuple<[PalletBrokerCoretimeInterfaceCoreAssignment, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState]>>;
readonly endHint: Option<u32>; readonly endHint: Option<u32>;
@@ -237,13 +251,13 @@ declare module '@polkadot/types/lookup' {
readonly step: u16; readonly step: u16;
} }
/** @name PolkadotRuntimeParachainsAssignerCoretimeAssignmentState (911) */ /** @name PolkadotRuntimeParachainsAssignerCoretimeAssignmentState (853) */
interface PolkadotRuntimeParachainsAssignerCoretimeAssignmentState extends Struct { interface PolkadotRuntimeParachainsAssignerCoretimeAssignmentState extends Struct {
readonly ratio: u16; readonly ratio: u16;
readonly remaining: u16; readonly remaining: u16;
} }
/** @name PolkadotRuntimeParachainsAssignerCoretimePalletError (912) */ /** @name PolkadotRuntimeParachainsAssignerCoretimePalletError (854) */
interface PolkadotRuntimeParachainsAssignerCoretimePalletError extends Enum { interface PolkadotRuntimeParachainsAssignerCoretimePalletError extends Enum {
readonly isAssignmentsEmpty: boolean; readonly isAssignmentsEmpty: boolean;
readonly isOverScheduled: boolean; readonly isOverScheduled: boolean;
@@ -254,13 +268,13 @@ declare module '@polkadot/types/lookup' {
readonly type: 'AssignmentsEmpty' | 'OverScheduled' | 'UnderScheduled' | 'DisallowedInsert' | 'DuplicateInsert' | 'AssignmentsNotSorted'; readonly type: 'AssignmentsEmpty' | 'OverScheduled' | 'UnderScheduled' | 'DisallowedInsert' | 'DuplicateInsert' | 'AssignmentsNotSorted';
} }
/** @name PolkadotRuntimeParachainsCoretimePalletError (926) */ /** @name PolkadotRuntimeParachainsCoretimePalletError (868) */
interface PolkadotRuntimeParachainsCoretimePalletError extends Enum { interface PolkadotRuntimeParachainsCoretimePalletError extends Enum {
readonly isNotBroker: boolean; readonly isNotBroker: boolean;
readonly type: 'NotBroker'; readonly type: 'NotBroker';
} }
/** @name StagingKusamaRuntimeRuntime (972) */ /** @name StagingKusamaRuntimeRuntime (915) */
type StagingKusamaRuntimeRuntime = Null; type StagingKusamaRuntimeRuntime = Null;
} // declare module } // declare module
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '12.2.1' };
@@ -74,6 +74,7 @@ import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalan
import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
import type { VestingInfo } from '@polkadot/types/interfaces/vesting'; import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm'; import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi';
import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi'; import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi';
declare module '@polkadot/types/types/registry' { declare module '@polkadot/types/types/registry' {
@@ -1249,6 +1250,7 @@ declare module '@polkadot/types/types/registry' {
XcmOrderV2: XcmOrderV2; XcmOrderV2: XcmOrderV2;
XcmOrigin: XcmOrigin; XcmOrigin: XcmOrigin;
XcmOriginKind: XcmOriginKind; XcmOriginKind: XcmOriginKind;
XcmPaymentApiError: XcmPaymentApiError;
XcmpMessageFormat: XcmpMessageFormat; XcmpMessageFormat: XcmpMessageFormat;
XcmV0: XcmV0; XcmV0: XcmV0;
XcmV1: XcmV1; XcmV1: XcmV1;
@@ -5,7 +5,7 @@
// this is required to allow for ambient/previous definitions // this is required to allow for ambient/previous definitions
import '@polkadot/types/types/registry'; import '@polkadot/types/types/registry';
import type { PalletBalancesIdAmount, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimePalletError, PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerCoretimeWorkState, PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandPalletCall, PolkadotRuntimeParachainsAssignerOnDemandPalletError, PolkadotRuntimeParachainsAssignerOnDemandPalletEvent, PolkadotRuntimeParachainsCoretimePalletCall, PolkadotRuntimeParachainsCoretimePalletError, PolkadotRuntimeParachainsCoretimePalletEvent, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup'; import type { PalletBalancesIdAmount, PolkadotRuntimeParachainsAssignerCoretimeAssignmentState, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimePalletError, PolkadotRuntimeParachainsAssignerCoretimeQueueDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerCoretimeWorkState, PolkadotRuntimeParachainsAssignerOnDemandCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandPalletCall, PolkadotRuntimeParachainsAssignerOnDemandPalletError, PolkadotRuntimeParachainsAssignerOnDemandPalletEvent, PolkadotRuntimeParachainsCoretimePalletCall, PolkadotRuntimeParachainsCoretimePalletError, PolkadotRuntimeParachainsCoretimePalletEvent, StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin, StagingKusamaRuntimeNposCompactSolution24, StagingKusamaRuntimeOriginCaller, StagingKusamaRuntimePalletImOnlinePalletEvent, StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public, StagingKusamaRuntimeProxyType, StagingKusamaRuntimeRuntime, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeSessionKeys } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' { declare module '@polkadot/types/types/registry' {
interface InterfaceTypes { interface InterfaceTypes {
@@ -27,6 +27,8 @@ declare module '@polkadot/types/types/registry' {
StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin; StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin: StagingKusamaRuntimeGovernanceOriginsPalletCustomOriginsOrigin;
StagingKusamaRuntimeNposCompactSolution24: StagingKusamaRuntimeNposCompactSolution24; StagingKusamaRuntimeNposCompactSolution24: StagingKusamaRuntimeNposCompactSolution24;
StagingKusamaRuntimeOriginCaller: StagingKusamaRuntimeOriginCaller; StagingKusamaRuntimeOriginCaller: StagingKusamaRuntimeOriginCaller;
StagingKusamaRuntimePalletImOnlinePalletEvent: StagingKusamaRuntimePalletImOnlinePalletEvent;
StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public: StagingKusamaRuntimePalletImOnlineSr25519AppSr25519Public;
StagingKusamaRuntimeProxyType: StagingKusamaRuntimeProxyType; StagingKusamaRuntimeProxyType: StagingKusamaRuntimeProxyType;
StagingKusamaRuntimeRuntime: StagingKusamaRuntimeRuntime; StagingKusamaRuntimeRuntime: StagingKusamaRuntimeRuntime;
StagingKusamaRuntimeRuntimeFreezeReason: StagingKusamaRuntimeRuntimeFreezeReason; StagingKusamaRuntimeRuntimeFreezeReason: StagingKusamaRuntimeRuntimeFreezeReason;
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" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"@polkadot/x-bigint": "^12.6.2", "@polkadot/x-bigint": "^13.0.2",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-augment": "12.0.2", "@polkadot/types-augment": "12.2.1",
"@polkadot/types-support": "12.0.2", "@polkadot/types-support": "12.2.1",
"@polkadot/util-crypto": "^12.6.2" "@polkadot/util-crypto": "^13.0.2"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '12.2.1' };
+4 -4
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/types": "12.0.2" "@polkadot/types": "12.2.1"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '12.2.1' };
+7 -7
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/networks": "^12.6.2", "@polkadot/networks": "^13.0.2",
"@polkadot/types": "12.0.2", "@polkadot/types": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/types-create": "12.0.2", "@polkadot/types-create": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/api": "12.0.2" "@polkadot/api": "12.2.1"
} }
} }
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '12.2.1' };
@@ -5188,5 +5188,87 @@ export const upgrades: ChainUpgradesExpanded = [
1 1
] ]
] ]
],
[
23780224,
1002006,
[
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
10
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xfbc577b9d747efd6",
1
]
]
] ]
]; ];
@@ -3462,5 +3462,169 @@ export const upgrades: ChainUpgradesExpanded = [
1 1
] ]
] ]
],
[
21455374,
1002005,
[
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
10
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0xfbc577b9d747efd6",
1
]
]
],
[
21558004,
1002006,
[
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
],
[
"0x17a6bc0d0062aeb3",
1
],
[
"0x18ef58a3b67ba770",
1
],
[
"0xd2bc9897eed08f15",
3
],
[
"0xf78b278be53f454c",
2
],
[
"0xaf2c0297a23e6d3d",
10
],
[
"0x49eaaf1b548a0cb0",
3
],
[
"0x91d5df18b0d2cf58",
2
],
[
"0x2a5e924655399e60",
1
],
[
"0xed99c5acb25eedf5",
3
],
[
"0xcbca25e39f142387",
2
],
[
"0x687ad44ad37f03c2",
1
],
[
"0xab3c0572291feb8b",
1
],
[
"0xbc9d89904f5b923f",
1
],
[
"0x37c8bb1350a9a2a8",
4
],
[
"0xf3ff14d5ab527059",
3
],
[
"0xfbc577b9d747efd6",
1
]
]
] ]
]; ];
@@ -21,5 +21,6 @@ export const upgrades: ChainUpgradesRaw = [
// we have 9340 via system.setStorage (whitelist.WhitelistedCallDispatched event) // we have 9340 via system.setStorage (whitelist.WhitelistedCallDispatched event)
[15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381], [15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381],
[18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002], [18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002],
[22515962, 1001003], [22790000, 1002000], [23176015, 1002001], [23450253, 1002004], [23565293, 1002005] [22515962, 1001003], [22790000, 1002000], [23176015, 1002001], [23450253, 1002004], [23565293, 1002005],
[23780224, 1002006]
]; ];
@@ -15,5 +15,5 @@ export const upgrades: ChainUpgradesRaw = [
[11933818, 9270], [12217535, 9280], [12245277, 9281], [12532644, 9291], [12876189, 9300], [11933818, 9270], [12217535, 9280], [12245277, 9281], [12532644, 9291], [12876189, 9300],
[13800015, 9340], [14188833, 9360], [14543918, 9370], [15978362, 9420], [16450000, 9430], [13800015, 9340], [14188833, 9360], [14543918, 9370], [15978362, 9420], [16450000, 9430],
[17840000, 9431], [18407475, 1000001], [19551000, 1001002], [20181758, 1001003], [17840000, 9431], [18407475, 1000001], [19551000, 1001002], [20181758, 1001003],
[20438530, 1002000], [21169168, 1002004] [20438530, 1002000], [21169168, 1002004], [21455374, 1002005], [21558004, 1002006]
]; ];
+2 -2
View File
@@ -18,10 +18,10 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"tslib": "^2.6.2" "tslib": "^2.6.2"
} }
} }
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -8,6 +8,13 @@
export default { export default {
"methods": [ "methods": [
"account_nextIndex", "account_nextIndex",
"archive_unstable_body",
"archive_unstable_call",
"archive_unstable_finalizedHeight",
"archive_unstable_genesisHash",
"archive_unstable_hashByHeight",
"archive_unstable_header",
"archive_unstable_storage",
"author_hasKey", "author_hasKey",
"author_hasSessionKeys", "author_hasSessionKeys",
"author_insertKey", "author_insertKey",
@@ -21,15 +28,15 @@ export default {
"beefy_getFinalizedHead", "beefy_getFinalizedHead",
"beefy_subscribeJustifications", "beefy_subscribeJustifications",
"beefy_unsubscribeJustifications", "beefy_unsubscribeJustifications",
"chainHead_unstable_body", "chainHead_v1_body",
"chainHead_unstable_call", "chainHead_v1_call",
"chainHead_unstable_continue", "chainHead_v1_continue",
"chainHead_unstable_follow", "chainHead_v1_follow",
"chainHead_unstable_header", "chainHead_v1_header",
"chainHead_unstable_stopOperation", "chainHead_v1_stopOperation",
"chainHead_unstable_storage", "chainHead_v1_storage",
"chainHead_unstable_unfollow", "chainHead_v1_unfollow",
"chainHead_unstable_unpin", "chainHead_v1_unpin",
"chainSpec_v1_chainName", "chainSpec_v1_chainName",
"chainSpec_v1_genesisHash", "chainSpec_v1_genesisHash",
"chainSpec_v1_properties", "chainSpec_v1_properties",
@@ -118,8 +125,10 @@ export default {
"system_syncState", "system_syncState",
"system_unstable_networkState", "system_unstable_networkState",
"system_version", "system_version",
"transactionWatch_unstable_submitAndWatch", "transactionWatch_v1_submitAndWatch",
"transactionWatch_unstable_unwatch", "transactionWatch_v1_unwatch",
"transaction_v1_broadcast",
"transaction_v1_stop",
"unsubscribe_newHead" "unsubscribe_newHead"
] ]
}; };
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "kusama", "specName": "kusama",
"implName": "parity-kusama", "implName": "parity-kusama",
"authoringVersion": 2, "authoringVersion": 2,
"specVersion": 1002000, "specVersion": 1002006,
"implVersion": 0, "implVersion": 0,
"apis": [ "apis": [
[ [
@@ -89,6 +89,6 @@ export default {
1 1
] ]
], ],
"transactionVersion": 25, "transactionVersion": 26,
"stateVersion": 1 "stateVersion": 1
}; };
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -21,15 +21,15 @@ export default {
"beefy_getFinalizedHead", "beefy_getFinalizedHead",
"beefy_subscribeJustifications", "beefy_subscribeJustifications",
"beefy_unsubscribeJustifications", "beefy_unsubscribeJustifications",
"chainHead_unstable_body", "chainHead_v1_body",
"chainHead_unstable_call", "chainHead_v1_call",
"chainHead_unstable_continue", "chainHead_v1_continue",
"chainHead_unstable_follow", "chainHead_v1_follow",
"chainHead_unstable_header", "chainHead_v1_header",
"chainHead_unstable_stopOperation", "chainHead_v1_stopOperation",
"chainHead_unstable_storage", "chainHead_v1_storage",
"chainHead_unstable_unfollow", "chainHead_v1_unfollow",
"chainHead_unstable_unpin", "chainHead_v1_unpin",
"chainSpec_v1_chainName", "chainSpec_v1_chainName",
"chainSpec_v1_genesisHash", "chainSpec_v1_genesisHash",
"chainSpec_v1_properties", "chainSpec_v1_properties",
@@ -118,8 +118,10 @@ export default {
"system_syncState", "system_syncState",
"system_unstable_networkState", "system_unstable_networkState",
"system_version", "system_version",
"transactionWatch_unstable_submitAndWatch", "transactionWatch_v1_submitAndWatch",
"transactionWatch_unstable_unwatch", "transactionWatch_v1_unwatch",
"transaction_v1_broadcast",
"transaction_v1_stop",
"unsubscribe_newHead" "unsubscribe_newHead"
] ]
}; };
File diff suppressed because it is too large Load Diff
@@ -9,7 +9,7 @@ export default {
"specName": "polkadot", "specName": "polkadot",
"implName": "parity-polkadot", "implName": "parity-polkadot",
"authoringVersion": 0, "authoringVersion": 0,
"specVersion": 1002000, "specVersion": 1002005,
"implVersion": 0, "implVersion": 0,
"apis": [ "apis": [
[ [
@@ -42,7 +42,7 @@ export default {
], ],
[ [
"0xaf2c0297a23e6d3d", "0xaf2c0297a23e6d3d",
5 10
], ],
[ [
"0x49eaaf1b548a0cb0", "0x49eaaf1b548a0cb0",
@@ -89,6 +89,6 @@ export default {
1 1
] ]
], ],
"transactionVersion": 25, "transactionVersion": 26,
"stateVersion": 0 "stateVersion": 1
}; };
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '12.2.1' };
+9 -9
View File
@@ -18,20 +18,20 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "12.0.2", "version": "12.2.1",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@polkadot/keyring": "^12.6.2", "@polkadot/keyring": "^13.0.2",
"@polkadot/types-augment": "12.0.2", "@polkadot/types-augment": "12.2.1",
"@polkadot/types-codec": "12.0.2", "@polkadot/types-codec": "12.2.1",
"@polkadot/types-create": "12.0.2", "@polkadot/types-create": "12.2.1",
"@polkadot/util": "^12.6.2", "@polkadot/util": "^13.0.2",
"@polkadot/util-crypto": "^12.6.2", "@polkadot/util-crypto": "^13.0.2",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"devDependencies": { "devDependencies": {
"@polkadot/keyring": "^12.6.2", "@polkadot/keyring": "^13.0.2",
"@polkadot/types-support": "12.0.2" "@polkadot/types-support": "12.2.1"
} }
} }
@@ -122,7 +122,7 @@ describe('runtime definitions', (): void => {
for (const { methods, version } of versions) { for (const { methods, version } of versions) {
describe(`version ${version}`, (): void => { describe(`version ${version}`, (): void => {
const methodsEntries = Object.entries<DefinitionCall>(methods); const methodsEntries = Object.entries<DefinitionCall>(methods);
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>', 'XcmVersionedLocation']; const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>', 'XcmVersionedLocation', 'XcmVersionedAssetId', 'XcmVersionedXcm', 'Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>'];
for (const [key, { params, type }] of methodsEntries) { for (const [key, { params, type }] of methodsEntries) {
describe(`${key}`, (): void => { describe(`${key}`, (): void => {
@@ -67,6 +67,7 @@ export { default as purchase } from './purchase/definitions.js';
// XCM related types // XCM related types
export { default as xcm } from './xcm/definitions.js'; export { default as xcm } from './xcm/definitions.js';
export { default as xcmPaymentApi } from './xcmPaymentApi/definitions.js';
export { default as xcmRuntimeApi } from './xcmRuntimeApi/definitions.js'; export { default as xcmRuntimeApi } from './xcmRuntimeApi/definitions.js';
// other useful types // other useful types
+1
View File
@@ -75,4 +75,5 @@ export * from './uniques/types.js';
export * from './utility/types.js'; export * from './utility/types.js';
export * from './vesting/types.js'; export * from './vesting/types.js';
export * from './xcm/types.js'; export * from './xcm/types.js';
export * from './xcmPaymentApi/types.js';
export * from './xcmRuntimeApi/types.js'; export * from './xcmRuntimeApi/types.js';
@@ -0,0 +1,25 @@
// Copyright 2017-2024 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// order important in structs... :)
/* eslint-disable sort-keys */
import type { Definitions } from '../../types/index.js';
import { runtime } from './runtime.js';
export default {
rpc: {},
runtime,
types: {
XcmPaymentApiError: {
_enum: [
'Unimplemented',
'VersionedConversionFailed',
'WeightNotComputable',
'UnhandledXcmVersion',
'AssetNotFound'
]
}
}
} as Definitions;
@@ -0,0 +1,4 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
export * from './types.js';
@@ -0,0 +1,48 @@
// Copyright 2017-2024 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DefinitionsCall } from '../../types/index.js';
export const runtime: DefinitionsCall = {
XcmPaymentApi: [
{
methods: {
query_acceptable_payment_assets: {
description: 'The API to query acceptable payment assets',
params: [
{
name: 'version',
type: 'u32'
}
],
type: 'Result<Vec<XcmVersionedAssetId>, XcmPaymentApiError>'
},
query_weight_to_asset_fee: {
description: '',
params: [
{
name: 'weight',
type: 'WeightV2'
},
{
name: 'asset',
type: 'XcmVersionedAssetId'
}
],
type: 'Result<u128, XcmPaymentApiError>'
},
query_xcm_weight: {
description: '',
params: [
{
name: 'message',
type: 'XcmVersionedXcm'
}
],
type: 'Result<WeightV2, XcmPaymentApiError>'
}
},
version: 1
}
]
};
@@ -0,0 +1,16 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
import type { Enum } from '@polkadot/types-codec';
/** @name XcmPaymentApiError */
export interface XcmPaymentApiError extends Enum {
readonly isUnimplemented: boolean;
readonly isVersionedConversionFailed: boolean;
readonly isWeightNotComputable: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isAssetNotFound: boolean;
readonly type: 'Unimplemented' | 'VersionedConversionFailed' | 'WeightNotComputable' | 'UnhandledXcmVersion' | 'AssetNotFound';
}
export type PHANTOM_XCMPAYMENTAPI = 'xcmPaymentApi';
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '12.0.2' }; export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '12.2.1' };
+184 -184
View File
@@ -444,27 +444,27 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/api-augment@npm:12.0.2, @polkadot/api-augment@workspace:packages/api-augment": "@polkadot/api-augment@npm:12.2.1, @polkadot/api-augment@workspace:packages/api-augment":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/api-augment@workspace:packages/api-augment" resolution: "@polkadot/api-augment@workspace:packages/api-augment"
dependencies: dependencies:
"@polkadot/api-base": "npm:12.0.2" "@polkadot/api-base": "npm:12.2.1"
"@polkadot/rpc-augment": "npm:12.0.2" "@polkadot/rpc-augment": "npm:12.2.1"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-augment": "npm:12.0.2" "@polkadot/types-augment": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/api-base@npm:12.0.2, @polkadot/api-base@workspace:packages/api-base": "@polkadot/api-base@npm:12.2.1, @polkadot/api-base@workspace:packages/api-base":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/api-base@workspace:packages/api-base" resolution: "@polkadot/api-base@workspace:packages/api-base"
dependencies: dependencies:
"@polkadot/rpc-core": "npm:12.0.2" "@polkadot/rpc-core": "npm:12.2.1"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
rxjs: "npm:^7.8.1" rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
@@ -474,59 +474,59 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract" resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies: dependencies:
"@polkadot/api": "npm:12.0.2" "@polkadot/api": "npm:12.2.1"
"@polkadot/api-augment": "npm:12.0.2" "@polkadot/api-augment": "npm:12.2.1"
"@polkadot/keyring": "npm:^12.6.2" "@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/types-create": "npm:12.0.2" "@polkadot/types-create": "npm:12.2.1"
"@polkadot/types-support": "npm:12.0.2" "@polkadot/types-support": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^12.6.2" "@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1" rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/api-derive@npm:12.0.2, @polkadot/api-derive@workspace:packages/api-derive": "@polkadot/api-derive@npm:12.2.1, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive" resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies: dependencies:
"@polkadot/api": "npm:12.0.2" "@polkadot/api": "npm:12.2.1"
"@polkadot/api-augment": "npm:12.0.2" "@polkadot/api-augment": "npm:12.2.1"
"@polkadot/api-base": "npm:12.0.2" "@polkadot/api-base": "npm:12.2.1"
"@polkadot/rpc-augment": "npm:12.0.2" "@polkadot/rpc-augment": "npm:12.2.1"
"@polkadot/rpc-core": "npm:12.0.2" "@polkadot/rpc-core": "npm:12.2.1"
"@polkadot/rpc-provider": "npm:12.0.2" "@polkadot/rpc-provider": "npm:12.2.1"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/types-support": "npm:12.0.2" "@polkadot/types-support": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^12.6.2" "@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1" rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/api@npm:12.0.2, @polkadot/api@workspace:packages/api": "@polkadot/api@npm:12.2.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api" resolution: "@polkadot/api@workspace:packages/api"
dependencies: dependencies:
"@polkadot/api-augment": "npm:12.0.2" "@polkadot/api-augment": "npm:12.2.1"
"@polkadot/api-base": "npm:12.0.2" "@polkadot/api-base": "npm:12.2.1"
"@polkadot/api-derive": "npm:12.0.2" "@polkadot/api-derive": "npm:12.2.1"
"@polkadot/keyring": "npm:^12.6.2" "@polkadot/keyring": "npm:^13.0.2"
"@polkadot/rpc-augment": "npm:12.0.2" "@polkadot/rpc-augment": "npm:12.2.1"
"@polkadot/rpc-core": "npm:12.0.2" "@polkadot/rpc-core": "npm:12.2.1"
"@polkadot/rpc-provider": "npm:12.0.2" "@polkadot/rpc-provider": "npm:12.2.1"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-augment": "npm:12.0.2" "@polkadot/types-augment": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/types-create": "npm:12.0.2" "@polkadot/types-create": "npm:12.2.1"
"@polkadot/types-known": "npm:12.0.2" "@polkadot/types-known": "npm:12.2.1"
"@polkadot/types-support": "npm:12.0.2" "@polkadot/types-support": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^12.6.2" "@polkadot/util-crypto": "npm:^13.0.2"
eventemitter3: "npm:^5.0.1" eventemitter3: "npm:^5.0.1"
rxjs: "npm:^7.8.1" rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
@@ -629,69 +629,69 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/keyring@npm:^12.6.2": "@polkadot/keyring@npm:^13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/keyring@npm:12.6.2" resolution: "@polkadot/keyring@npm:13.0.2"
dependencies: dependencies:
"@polkadot/util": "npm:12.6.2" "@polkadot/util": "npm:13.0.2"
"@polkadot/util-crypto": "npm:12.6.2" "@polkadot/util-crypto": "npm:13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
peerDependencies: peerDependencies:
"@polkadot/util": 12.6.2 "@polkadot/util": 13.0.2
"@polkadot/util-crypto": 12.6.2 "@polkadot/util-crypto": 13.0.2
checksum: 10/8faf59684ff5d041ba5fa7dd85c3ee4ac3920b2d907f81a485e37aedab64798f9c59b7ec914eb24dfc5271a4ef31e1244aecbd247c66f2b2ec518cfd37dd30fc checksum: 10/7d94566cf61396a8890abe5d59b8fdd6d763a9eb3f9a42b8e2faab950fa0e13ac043b6898ea467694c098bac72c5bf3d44cc9da1fb1511ba1424c740f638ad48
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/networks@npm:12.6.2, @polkadot/networks@npm:^12.6.2": "@polkadot/networks@npm:13.0.2, @polkadot/networks@npm:^13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/networks@npm:12.6.2" resolution: "@polkadot/networks@npm:13.0.2"
dependencies: dependencies:
"@polkadot/util": "npm:12.6.2" "@polkadot/util": "npm:13.0.2"
"@substrate/ss58-registry": "npm:^1.44.0" "@substrate/ss58-registry": "npm:^1.46.0"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
checksum: 10/6c2cd7f631ec40489e8f8260b15a138bd0d276d222e4133847e8915c476aea415498dd8d8ab583bdf76f2e4e5bb1c7a20bca9dac110eae2fb48d5f6cf6798349 checksum: 10/00722e54b9869a6186b1974fad7eb35af6a1fb13ad6bd82d79c972250e874994977ed6fdc1c5f1eb0465974ab628de7251502f162c179d40f872c49b54ab5e7d
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/rpc-augment@npm:12.0.2, @polkadot/rpc-augment@workspace:packages/rpc-augment": "@polkadot/rpc-augment@npm:12.2.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment" resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
dependencies: dependencies:
"@polkadot/rpc-core": "npm:12.0.2" "@polkadot/rpc-core": "npm:12.2.1"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/rpc-core@npm:12.0.2, @polkadot/rpc-core@workspace:packages/rpc-core": "@polkadot/rpc-core@npm:12.2.1, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies: dependencies:
"@polkadot/keyring": "npm:^12.6.2" "@polkadot/keyring": "npm:^13.0.2"
"@polkadot/rpc-augment": "npm:12.0.2" "@polkadot/rpc-augment": "npm:12.2.1"
"@polkadot/rpc-provider": "npm:12.0.2" "@polkadot/rpc-provider": "npm:12.2.1"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
rxjs: "npm:^7.8.1" rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/rpc-provider@npm:12.0.2, @polkadot/rpc-provider@workspace:packages/rpc-provider": "@polkadot/rpc-provider@npm:12.2.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies: dependencies:
"@polkadot/keyring": "npm:^12.6.2" "@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-support": "npm:12.0.2" "@polkadot/types-support": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^12.6.2" "@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-fetch": "npm:^12.6.2" "@polkadot/x-fetch": "npm:^13.0.2"
"@polkadot/x-global": "npm:^12.6.2" "@polkadot/x-global": "npm:^13.0.2"
"@polkadot/x-ws": "npm:^12.6.2" "@polkadot/x-ws": "npm:^13.0.2"
"@substrate/connect": "npm:0.8.10" "@substrate/connect": "npm:0.8.10"
eventemitter3: "npm:^5.0.1" eventemitter3: "npm:^5.0.1"
mock-socket: "npm:^9.3.1" mock-socket: "npm:^9.3.1"
@@ -707,18 +707,18 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen" resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies: dependencies:
"@polkadot/api": "npm:12.0.2" "@polkadot/api": "npm:12.2.1"
"@polkadot/api-augment": "npm:12.0.2" "@polkadot/api-augment": "npm:12.2.1"
"@polkadot/rpc-augment": "npm:12.0.2" "@polkadot/rpc-augment": "npm:12.2.1"
"@polkadot/rpc-provider": "npm:12.0.2" "@polkadot/rpc-provider": "npm:12.2.1"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-augment": "npm:12.0.2" "@polkadot/types-augment": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/types-create": "npm:12.0.2" "@polkadot/types-create": "npm:12.2.1"
"@polkadot/types-support": "npm:12.0.2" "@polkadot/types-support": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^12.6.2" "@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-ws": "npm:^12.6.2" "@polkadot/x-ws": "npm:^13.0.2"
"@types/yargs": "npm:^17.0.32" "@types/yargs": "npm:^17.0.32"
handlebars: "npm:^4.7.8" handlebars: "npm:^4.7.8"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
@@ -732,113 +732,113 @@ __metadata:
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/types-augment@npm:12.0.2, @polkadot/types-augment@workspace:packages/types-augment": "@polkadot/types-augment@npm:12.2.1, @polkadot/types-augment@workspace:packages/types-augment":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/types-augment@workspace:packages/types-augment" resolution: "@polkadot/types-augment@workspace:packages/types-augment"
dependencies: dependencies:
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/types-codec@npm:12.0.2, @polkadot/types-codec@workspace:packages/types-codec": "@polkadot/types-codec@npm:12.2.1, @polkadot/types-codec@workspace:packages/types-codec":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/types-codec@workspace:packages/types-codec" resolution: "@polkadot/types-codec@workspace:packages/types-codec"
dependencies: dependencies:
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-augment": "npm:12.0.2" "@polkadot/types-augment": "npm:12.2.1"
"@polkadot/types-support": "npm:12.0.2" "@polkadot/types-support": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^12.6.2" "@polkadot/util-crypto": "npm:^13.0.2"
"@polkadot/x-bigint": "npm:^12.6.2" "@polkadot/x-bigint": "npm:^13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/types-create@npm:12.0.2, @polkadot/types-create@workspace:packages/types-create": "@polkadot/types-create@npm:12.2.1, @polkadot/types-create@workspace:packages/types-create":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/types-create@workspace:packages/types-create" resolution: "@polkadot/types-create@workspace:packages/types-create"
dependencies: dependencies:
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/types-known@npm:12.0.2, @polkadot/types-known@workspace:packages/types-known": "@polkadot/types-known@npm:12.2.1, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known" resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies: dependencies:
"@polkadot/api": "npm:12.0.2" "@polkadot/api": "npm:12.2.1"
"@polkadot/networks": "npm:^12.6.2" "@polkadot/networks": "npm:^13.0.2"
"@polkadot/types": "npm:12.0.2" "@polkadot/types": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/types-create": "npm:12.0.2" "@polkadot/types-create": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/types-support@npm:12.0.2, @polkadot/types-support@workspace:packages/types-support": "@polkadot/types-support@npm:12.2.1, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support" resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies: dependencies:
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/types@npm:12.0.2, @polkadot/types@workspace:packages/types": "@polkadot/types@npm:12.2.1, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types" resolution: "@polkadot/types@workspace:packages/types"
dependencies: dependencies:
"@polkadot/keyring": "npm:^12.6.2" "@polkadot/keyring": "npm:^13.0.2"
"@polkadot/types-augment": "npm:12.0.2" "@polkadot/types-augment": "npm:12.2.1"
"@polkadot/types-codec": "npm:12.0.2" "@polkadot/types-codec": "npm:12.2.1"
"@polkadot/types-create": "npm:12.0.2" "@polkadot/types-create": "npm:12.2.1"
"@polkadot/types-support": "npm:12.0.2" "@polkadot/types-support": "npm:12.2.1"
"@polkadot/util": "npm:^12.6.2" "@polkadot/util": "npm:^13.0.2"
"@polkadot/util-crypto": "npm:^12.6.2" "@polkadot/util-crypto": "npm:^13.0.2"
rxjs: "npm:^7.8.1" rxjs: "npm:^7.8.1"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@polkadot/util-crypto@npm:12.6.2, @polkadot/util-crypto@npm:^12.6.2": "@polkadot/util-crypto@npm:13.0.2, @polkadot/util-crypto@npm:^13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/util-crypto@npm:12.6.2" resolution: "@polkadot/util-crypto@npm:13.0.2"
dependencies: dependencies:
"@noble/curves": "npm:^1.3.0" "@noble/curves": "npm:^1.3.0"
"@noble/hashes": "npm:^1.3.3" "@noble/hashes": "npm:^1.3.3"
"@polkadot/networks": "npm:12.6.2" "@polkadot/networks": "npm:13.0.2"
"@polkadot/util": "npm:12.6.2" "@polkadot/util": "npm:13.0.2"
"@polkadot/wasm-crypto": "npm:^7.3.2" "@polkadot/wasm-crypto": "npm:^7.3.2"
"@polkadot/wasm-util": "npm:^7.3.2" "@polkadot/wasm-util": "npm:^7.3.2"
"@polkadot/x-bigint": "npm:12.6.2" "@polkadot/x-bigint": "npm:13.0.2"
"@polkadot/x-randomvalues": "npm:12.6.2" "@polkadot/x-randomvalues": "npm:13.0.2"
"@scure/base": "npm:^1.1.5" "@scure/base": "npm:^1.1.5"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
peerDependencies: peerDependencies:
"@polkadot/util": 12.6.2 "@polkadot/util": 13.0.2
checksum: 10/a587e5e25697f3a928ae8677b82ccdbcc1df95122db2bbde753b0605f44487136fe2f55c502460d931def0007e856db40b1b34b4da3c674638ead459e79f227a checksum: 10/333db21d1708158dc83905c32437ba201c97ba4274c2970f0bdfa9384f70f9bedbbe4e3032ce67d6f73bd0b755a4ab4d67b89f483b6bfc76305a67a867230915
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/util@npm:12.6.2, @polkadot/util@npm:^12.6.2": "@polkadot/util@npm:13.0.2, @polkadot/util@npm:^13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/util@npm:12.6.2" resolution: "@polkadot/util@npm:13.0.2"
dependencies: dependencies:
"@polkadot/x-bigint": "npm:12.6.2" "@polkadot/x-bigint": "npm:13.0.2"
"@polkadot/x-global": "npm:12.6.2" "@polkadot/x-global": "npm:13.0.2"
"@polkadot/x-textdecoder": "npm:12.6.2" "@polkadot/x-textdecoder": "npm:13.0.2"
"@polkadot/x-textencoder": "npm:12.6.2" "@polkadot/x-textencoder": "npm:13.0.2"
"@types/bn.js": "npm:^5.1.5" "@types/bn.js": "npm:^5.1.5"
bn.js: "npm:^5.2.1" bn.js: "npm:^5.2.1"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
checksum: 10/b7a3c2be417d670fc64d0642818cadbf041cbcfae830f2ee45fc2496e86c8e11c385854b733504a7d6a6391066fd0ef544a1748f0f8809215c37a5c0ff64571d checksum: 10/9e83f0843c3da9ffa7b6bc95a73e96ca4754d45cb9cc4418461e1ca38f00c54cb0e61873bb6f09f40c51e435025cfc282577b906a23b36eb6b0eb5af8668fad8
languageName: node languageName: node
linkType: hard linkType: hard
@@ -922,77 +922,77 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/x-bigint@npm:12.6.2, @polkadot/x-bigint@npm:^12.6.2": "@polkadot/x-bigint@npm:13.0.2, @polkadot/x-bigint@npm:^13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/x-bigint@npm:12.6.2" resolution: "@polkadot/x-bigint@npm:13.0.2"
dependencies: dependencies:
"@polkadot/x-global": "npm:12.6.2" "@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
checksum: 10/8a9533ba955d06213e3810d48e95618186cc832375f82d8b52376a99d7c8f9fdd01ffb9c35495522aec8c28d18ca5ef6c8feeec9770b83ebb64cded4cd3b7e27 checksum: 10/6c8d198f8982ae9de78a301e1beb0d38e627ba3c6aac149a385c5f753f39dc7201761bc02ce45881b50e7cf50a883edc8f179abc50532b2b094538c388bbc146
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/x-fetch@npm:^12.6.2": "@polkadot/x-fetch@npm:^13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/x-fetch@npm:12.6.2" resolution: "@polkadot/x-fetch@npm:13.0.2"
dependencies: dependencies:
"@polkadot/x-global": "npm:12.6.2" "@polkadot/x-global": "npm:13.0.2"
node-fetch: "npm:^3.3.2" node-fetch: "npm:^3.3.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
checksum: 10/755feee15234b31de9e74bae5eca1a2e9c17e3e76330e5c5cca5e446fc3c350b8f02e3c3853005d1dd4b3da9d4f6a6c3ffd6d2146ae529b0fa6ed3c4206343af checksum: 10/b4cf06f5219dab2b8b94af7913a3346fa46d1179b47c809f0cabecf07b068f9cd3e6f395c943c59b71341b92d61808df7bc05e23e4a30088349c77ed6b4ec11f
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/x-global@npm:12.6.2, @polkadot/x-global@npm:^12.6.2": "@polkadot/x-global@npm:13.0.2, @polkadot/x-global@npm:^13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/x-global@npm:12.6.2" resolution: "@polkadot/x-global@npm:13.0.2"
dependencies: dependencies:
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
checksum: 10/9159bd77e099f734f7c48ba3e37a886ba376c50066b664ee52caf0bf8eb0399b762ca08404ef6470c22e4d20e9fc8c5e0a87026efcbbd0f21ea5504b0e33d587 checksum: 10/e21fa675a0f0e017bcd7e39638b1ddcaf7adc6a457ffcc431aef6c5bc2ae9ad721e97a97f6b1b4b5b4499297be0357887040540085765b31fb837fa91a71055b
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/x-randomvalues@npm:12.6.2": "@polkadot/x-randomvalues@npm:13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/x-randomvalues@npm:12.6.2" resolution: "@polkadot/x-randomvalues@npm:13.0.2"
dependencies: dependencies:
"@polkadot/x-global": "npm:12.6.2" "@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
peerDependencies: peerDependencies:
"@polkadot/util": 12.6.2 "@polkadot/util": 13.0.2
"@polkadot/wasm-util": "*" "@polkadot/wasm-util": "*"
checksum: 10/9ab555931ab81a8834800da35f04cb86df48b0d706d33ea89c51f42b8d340dab7312c462d01ecae04573ba6a01ff1ad6066ea6cf82b1330482ff537eb3c12eeb checksum: 10/bcfe394658d21f40b1169c063b9123b1d8044bc081785b7532c4851b9161b6192ca30edb502f3ead3d3bfffe7776b2cb091c15b6566c301516f355c70b69d211
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/x-textdecoder@npm:12.6.2": "@polkadot/x-textdecoder@npm:13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/x-textdecoder@npm:12.6.2" resolution: "@polkadot/x-textdecoder@npm:13.0.2"
dependencies: dependencies:
"@polkadot/x-global": "npm:12.6.2" "@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
checksum: 10/ba8ebe34cce1445a78d4eb744c8cfcf068cebfaf6c8efca23e1cdb037e8769cb2738b77b7266e3f86cd2459bb3eb87744f9518cba76e76fca609a16e6b84789e checksum: 10/31f378a8d9b3f3963b94fd87320100a754d1381eaf4687f58d28f9de0df24acc99d80ce707ff0d2d0b4ca3477d12ac8506f7cc502fde2b08fb30867f7a7553c1
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/x-textencoder@npm:12.6.2": "@polkadot/x-textencoder@npm:13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/x-textencoder@npm:12.6.2" resolution: "@polkadot/x-textencoder@npm:13.0.2"
dependencies: dependencies:
"@polkadot/x-global": "npm:12.6.2" "@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
checksum: 10/b2e721d19660f7bcf3995d695fac5d78d4bc8c5fd0632ec0735eb20dd9b4b79fad1ce7dfe7ade202c4ace5cd2d6b8ac663bb4dca273afa050f73cf1e99498f82 checksum: 10/f3e2379901b68176398efc5be1e8304ceda28b3f4bf6b0da0b837b13478257967108552eae3250a43d634253bdb46e907146244ff41908a5a39f99852fb5a252
languageName: node languageName: node
linkType: hard linkType: hard
"@polkadot/x-ws@npm:^12.6.2": "@polkadot/x-ws@npm:^13.0.2":
version: 12.6.2 version: 13.0.2
resolution: "@polkadot/x-ws@npm:12.6.2" resolution: "@polkadot/x-ws@npm:13.0.2"
dependencies: dependencies:
"@polkadot/x-global": "npm:12.6.2" "@polkadot/x-global": "npm:13.0.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
ws: "npm:^8.15.1" ws: "npm:^8.16.0"
checksum: 10/de987c0a9d5df7d9eb17d96fd47afb2417eb85b7126e4e11bc4fe7dc908b54307390a1e3da61d251cd5f1f6edd054712f018bdc695ce946e0267806d1f050119 checksum: 10/627d7bb8fb115a66fafb11e8f96c2559f793ea936fd88be2aee3f304c5f08c6133073fd762a7a9ae793e2f83ad122c5dace1509831ee1e694b7bf67d5a56e89a
languageName: node languageName: node
linkType: hard linkType: hard
@@ -1260,10 +1260,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@substrate/ss58-registry@npm:^1.44.0": "@substrate/ss58-registry@npm:^1.46.0":
version: 1.44.0 version: 1.49.0
resolution: "@substrate/ss58-registry@npm:1.44.0" resolution: "@substrate/ss58-registry@npm:1.49.0"
checksum: 10/97a05ca6f439f42ea24bd4d3fc1ab9e77e65e6dd0d2d823e438ae9a82ea4d6249012066149a23c1dad8fb27ec5a3913f6639c2e480377fea3ee96fd1bd592bd0 checksum: 10/6214c8f8586aefbb67b70bd2f02a9d133cfb15f360d691f1164c192036b59d1e282495e884b7da80a32e54eed1bd2bcc421f571e548a29410a5a50be7b2daa10
languageName: node languageName: node
linkType: hard linkType: hard
@@ -9717,7 +9717,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"ws@npm:^8.13.0, ws@npm:^8.15.1, ws@npm:^8.16.0, ws@npm:^8.8.1": "ws@npm:^8.13.0, ws@npm:^8.16.0, ws@npm:^8.8.1":
version: 8.16.0 version: 8.16.0
resolution: "ws@npm:8.16.0" resolution: "ws@npm:8.16.0"
peerDependencies: peerDependencies: