Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
363c502ae8 | ||
|
|
d6cc0c30b4 | ||
|
|
5e312973f3 | ||
|
|
17c6262a5e | ||
|
|
0932a9aa7b | ||
|
|
88b44befdf |
@@ -1,5 +1,21 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 5.6.1 Aug 23, 2021
|
||||||
|
|
||||||
|
Upgrade priority: Low. Recommended for users of Xcm, preparing for Kusama/Westend 9100
|
||||||
|
|
||||||
|
Contributed:
|
||||||
|
|
||||||
|
- Support 0...N-1 args on `keys/entries` (Thanks to https://github.com/hamidra)
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Updated XCM types, `AssetId`, `MultiAssets`, `MultiAssetV1`, `AssetInstanceV1`, `XcmOrderV1`
|
||||||
|
- Rename `Null` entry in `MultiLocation` to `Here` (Xcm V1)
|
||||||
|
- Westend 9090 upgrade block
|
||||||
|
- Bump static Substrate, Kusama & Polkadot metadata
|
||||||
|
|
||||||
|
|
||||||
## 5.5.2 Aug 19, 2021
|
## 5.5.2 Aug 19, 2021
|
||||||
|
|
||||||
Upgrade priority: Medium. Contains fixes for parachain types, affecting historic block retrieval on Kusama.
|
Upgrade priority: Medium. Contains fixes for parachain types, affecting historic block retrieval on Kusama.
|
||||||
|
|||||||
+1
-1
@@ -35,6 +35,6 @@
|
|||||||
"@types/jest": "^26.0.24",
|
"@types/jest": "^26.0.24",
|
||||||
"copyfiles": "^2.4.1"
|
"copyfiles": "^2.4.1"
|
||||||
},
|
},
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"packageManager": "yarn@3.0.1"
|
"packageManager": "yarn@3.0.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/api-contract",
|
"name": "@polkadot/api-contract",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,8 +20,8 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.3",
|
"@babel/runtime": "^7.15.3",
|
||||||
"@polkadot/api": "5.5.2",
|
"@polkadot/api": "5.6.1",
|
||||||
"@polkadot/types": "5.5.2",
|
"@polkadot/types": "5.6.1",
|
||||||
"@polkadot/util": "^7.2.1",
|
"@polkadot/util": "^7.2.1",
|
||||||
"rxjs": "^7.3.0"
|
"rxjs": "^7.3.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-contract', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/api-contract', version: '5.6.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/api-derive",
|
"name": "@polkadot/api-derive",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,15 +20,15 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.3",
|
"@babel/runtime": "^7.15.3",
|
||||||
"@polkadot/api": "5.5.2",
|
"@polkadot/api": "5.6.1",
|
||||||
"@polkadot/rpc-core": "5.5.2",
|
"@polkadot/rpc-core": "5.6.1",
|
||||||
"@polkadot/types": "5.5.2",
|
"@polkadot/types": "5.6.1",
|
||||||
"@polkadot/util": "^7.2.1",
|
"@polkadot/util": "^7.2.1",
|
||||||
"@polkadot/util-crypto": "^7.2.1",
|
"@polkadot/util-crypto": "^7.2.1",
|
||||||
"rxjs": "^7.3.0"
|
"rxjs": "^7.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^7.2.1",
|
"@polkadot/keyring": "^7.2.1",
|
||||||
"@polkadot/rpc-provider": "5.5.2"
|
"@polkadot/rpc-provider": "5.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-derive', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/api-derive', version: '5.6.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/api",
|
"name": "@polkadot/api",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,12 +20,12 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.3",
|
"@babel/runtime": "^7.15.3",
|
||||||
"@polkadot/api-derive": "5.5.2",
|
"@polkadot/api-derive": "5.6.1",
|
||||||
"@polkadot/keyring": "^7.2.1",
|
"@polkadot/keyring": "^7.2.1",
|
||||||
"@polkadot/rpc-core": "5.5.2",
|
"@polkadot/rpc-core": "5.6.1",
|
||||||
"@polkadot/rpc-provider": "5.5.2",
|
"@polkadot/rpc-provider": "5.6.1",
|
||||||
"@polkadot/types": "5.5.2",
|
"@polkadot/types": "5.6.1",
|
||||||
"@polkadot/types-known": "5.5.2",
|
"@polkadot/types-known": "5.6.1",
|
||||||
"@polkadot/util": "^7.2.1",
|
"@polkadot/util": "^7.2.1",
|
||||||
"@polkadot/util-crypto": "^7.2.1",
|
"@polkadot/util-crypto": "^7.2.1",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
|
|||||||
@@ -143,17 +143,18 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
* deposited while the contract is alive. Costs for additional storage are added to
|
* deposited while the contract is alive. Costs for additional storage are added to
|
||||||
* this base cost.
|
* this base cost.
|
||||||
*
|
*
|
||||||
* This is a simple way to ensure that contracts with empty storage eventually get deleted by
|
* This is a simple way to ensure that contracts with empty storage eventually get deleted
|
||||||
* making them pay rent. This creates an incentive to remove them early in order to save rent.
|
* by making them pay rent. This creates an incentive to remove them early in order to save
|
||||||
|
* rent.
|
||||||
**/
|
**/
|
||||||
depositPerContract: BalanceOf & AugmentedConst<ApiType>;
|
depositPerContract: BalanceOf & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The balance a contract needs to deposit per storage byte to stay alive indefinitely.
|
* The balance a contract needs to deposit per storage byte to stay alive indefinitely.
|
||||||
*
|
*
|
||||||
* Let's suppose the deposit is 1,000 BU (balance units)/byte and the rent is 1 BU/byte/day,
|
* Let's suppose the deposit is 1,000 BU (balance units)/byte and the rent is 1
|
||||||
* then a contract with 1,000,000 BU that uses 1,000 bytes of storage would pay no rent.
|
* BU/byte/day, then a contract with 1,000,000 BU that uses 1,000 bytes of storage would
|
||||||
* But if the balance reduced to 500,000 BU and the storage stayed the same at 1,000,
|
* pay no rent. But if the balance reduced to 500,000 BU and the storage stayed the same at
|
||||||
* then it would pay 500 BU/day.
|
* 1,000, then it would pay 500 BU/day.
|
||||||
**/
|
**/
|
||||||
depositPerStorageByte: BalanceOf & AugmentedConst<ApiType>;
|
depositPerStorageByte: BalanceOf & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -201,11 +202,12 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
**/
|
**/
|
||||||
cooloffPeriod: BlockNumber & AugmentedConst<ApiType>;
|
cooloffPeriod: BlockNumber & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The minimum period of locking and the period between a proposal being approved and enacted.
|
* The minimum period of locking and the period between a proposal being approved and
|
||||||
|
* enacted.
|
||||||
*
|
*
|
||||||
* It should generally be a little more than the unstake period to ensure that
|
* It should generally be a little more than the unstake period to ensure that
|
||||||
* voting stakers have an opportunity to remove themselves from the system in the case where
|
* voting stakers have an opportunity to remove themselves from the system in the case
|
||||||
* they are on the losing side of a vote.
|
* where they are on the losing side of a vote.
|
||||||
**/
|
**/
|
||||||
enactmentPeriod: BlockNumber & AugmentedConst<ApiType>;
|
enactmentPeriod: BlockNumber & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -213,9 +215,9 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
**/
|
**/
|
||||||
fastTrackVotingPeriod: BlockNumber & AugmentedConst<ApiType>;
|
fastTrackVotingPeriod: BlockNumber & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Indicator for whether an emergency origin is even allowed to happen. Some chains may want
|
* Indicator for whether an emergency origin is even allowed to happen. Some chains may
|
||||||
* to set this permanently to `false`, others may want to condition it on things such as
|
* want to set this permanently to `false`, others may want to condition it on things such
|
||||||
* an upgrade having happened recently.
|
* as an upgrade having happened recently.
|
||||||
**/
|
**/
|
||||||
instantAllowed: bool & AugmentedConst<ApiType>;
|
instantAllowed: bool & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -449,8 +451,8 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
maxSubAccounts: u32 & AugmentedConst<ApiType>;
|
maxSubAccounts: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount held on deposit for a registered subaccount. This should account for the fact
|
* 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
|
* that one storage item's value will increase by the size of an account ID, and there will
|
||||||
* another trie item whose value is the size of an account ID plus 32 bytes.
|
* be another trie item whose value is the size of an account ID plus 32 bytes.
|
||||||
**/
|
**/
|
||||||
subAccountDeposit: BalanceOf & AugmentedConst<ApiType>;
|
subAccountDeposit: BalanceOf & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -503,8 +505,8 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
};
|
};
|
||||||
multisig: {
|
multisig: {
|
||||||
/**
|
/**
|
||||||
* The base amount of currency needed to reserve for creating a multisig execution or to store
|
* The base amount of currency needed to reserve for creating a multisig execution or to
|
||||||
* a dispatch call for later.
|
* store a dispatch call for later.
|
||||||
*
|
*
|
||||||
* This is held for an additional storage item whose value size is
|
* This is held for an additional storage item whose value size is
|
||||||
* `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
|
* `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
|
||||||
@@ -530,7 +532,8 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* The base amount of currency needed to reserve for creating an announcement.
|
* The base amount of currency needed to reserve for creating an announcement.
|
||||||
*
|
*
|
||||||
* This is held when a new storage item holding a `Balance` is created (typically 16 bytes).
|
* This is held when a new storage item holding a `Balance` is created (typically 16
|
||||||
|
* bytes).
|
||||||
**/
|
**/
|
||||||
announcementDepositBase: BalanceOf & AugmentedConst<ApiType>;
|
announcementDepositBase: BalanceOf & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -558,9 +561,9 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* The amount of currency needed per proxy added.
|
* The amount of currency needed per proxy added.
|
||||||
*
|
*
|
||||||
* This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing
|
* This is held for adding 32 bytes plus an instance of `ProxyType` more into a
|
||||||
* storage value. Thus, when configuring `ProxyDepositFactor` one should take into account
|
* pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
|
||||||
* `32 + proxy_type.encode().len()` bytes of data.
|
* into account `32 + proxy_type.encode().len()` bytes of data.
|
||||||
**/
|
**/
|
||||||
proxyDepositFactor: BalanceOf & AugmentedConst<ApiType>;
|
proxyDepositFactor: BalanceOf & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -577,9 +580,11 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
**/
|
**/
|
||||||
configDepositBase: BalanceOf & AugmentedConst<ApiType>;
|
configDepositBase: BalanceOf & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount of currency needed per additional user when creating a recovery configuration.
|
* The amount of currency needed per additional user when creating a recovery
|
||||||
|
* configuration.
|
||||||
*
|
*
|
||||||
* This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage value.
|
* This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage
|
||||||
|
* value.
|
||||||
**/
|
**/
|
||||||
friendDepositFactor: BalanceOf & AugmentedConst<ApiType>;
|
friendDepositFactor: BalanceOf & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -603,8 +608,8 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
};
|
};
|
||||||
scheduler: {
|
scheduler: {
|
||||||
/**
|
/**
|
||||||
* The maximum weight that may be scheduled per block for any dispatchables of less priority
|
* The maximum weight that may be scheduled per block for any dispatchables of less
|
||||||
* than `schedule::HARD_DEADLINE`.
|
* priority than `schedule::HARD_DEADLINE`.
|
||||||
**/
|
**/
|
||||||
maximumWeight: Weight & AugmentedConst<ApiType>;
|
maximumWeight: Weight & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -666,8 +671,8 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* The maximum number of nominators rewarded for each validator.
|
* The maximum number of nominators rewarded for each validator.
|
||||||
*
|
*
|
||||||
* For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can claim
|
* For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can
|
||||||
* their reward. This used to limit the i/o cost for the nominator payout.
|
* claim their reward. This used to limit the i/o cost for the nominator payout.
|
||||||
**/
|
**/
|
||||||
maxNominatorRewardedPerValidator: u32 & AugmentedConst<ApiType>;
|
maxNominatorRewardedPerValidator: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -722,10 +727,10 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
};
|
};
|
||||||
timestamp: {
|
timestamp: {
|
||||||
/**
|
/**
|
||||||
* The minimum period between blocks. Beware that this is different to the *expected* period
|
* The minimum period between blocks. Beware that this is different to the *expected*
|
||||||
* that the block production apparatus provides. Your chosen consensus system will generally
|
* period that the block production apparatus provides. Your chosen consensus system will
|
||||||
* work with this to determine a sensible block time. e.g. For Aura, it will be double this
|
* generally work with this to determine a sensible block time. e.g. For Aura, it will be
|
||||||
* period on default settings.
|
* double this period on default settings.
|
||||||
**/
|
**/
|
||||||
minimumPeriod: Moment & AugmentedConst<ApiType>;
|
minimumPeriod: Moment & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -843,6 +848,16 @@ declare module '@polkadot/api/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[key: string]: Codec;
|
||||||
};
|
};
|
||||||
|
utility: {
|
||||||
|
/**
|
||||||
|
* The limit on the number of batched calls.
|
||||||
|
**/
|
||||||
|
batchedCallsLimit: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic const
|
||||||
|
**/
|
||||||
|
[key: string]: Codec;
|
||||||
|
};
|
||||||
vesting: {
|
vesting: {
|
||||||
/**
|
/**
|
||||||
* The minimum amount transferred to call `vested_transfer`.
|
* The minimum amount transferred to call `vested_transfer`.
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ declare module '@polkadot/api/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoPermission: AugmentedError<ApiType>;
|
NoPermission: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* No provider reference exists to allow a non-zero balance of a non-self-sufficient asset.
|
* No provider reference exists to allow a non-zero balance of a non-self-sufficient
|
||||||
|
* asset.
|
||||||
**/
|
**/
|
||||||
NoProvider: AugmentedError<ApiType>;
|
NoProvider: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -424,10 +425,6 @@ declare module '@polkadot/api/types/errors' {
|
|||||||
* Identity may not veto a proposal twice
|
* Identity may not veto a proposal twice
|
||||||
**/
|
**/
|
||||||
AlreadyVetoed: AugmentedError<ApiType>;
|
AlreadyVetoed: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* Unknown index
|
|
||||||
**/
|
|
||||||
BadIndex: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* Preimage already noted
|
* Preimage already noted
|
||||||
**/
|
**/
|
||||||
@@ -452,10 +449,6 @@ declare module '@polkadot/api/types/errors' {
|
|||||||
* Invalid hash
|
* Invalid hash
|
||||||
**/
|
**/
|
||||||
InvalidHash: AugmentedError<ApiType>;
|
InvalidHash: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* The provided witness data is wrong.
|
|
||||||
**/
|
|
||||||
InvalidWitness: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* Maximum number of votes reached.
|
* Maximum number of votes reached.
|
||||||
**/
|
**/
|
||||||
@@ -476,26 +469,14 @@ declare module '@polkadot/api/types/errors' {
|
|||||||
* No external proposal
|
* No external proposal
|
||||||
**/
|
**/
|
||||||
NoProposal: AugmentedError<ApiType>;
|
NoProposal: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* Not delegated
|
|
||||||
**/
|
|
||||||
NotDelegated: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* The account is not currently delegating.
|
* The account is not currently delegating.
|
||||||
**/
|
**/
|
||||||
NotDelegating: AugmentedError<ApiType>;
|
NotDelegating: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* The lock on the account to be unlocked has not yet expired.
|
|
||||||
**/
|
|
||||||
NotExpired: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* Not imminent
|
* Not imminent
|
||||||
**/
|
**/
|
||||||
NotImminent: AugmentedError<ApiType>;
|
NotImminent: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* The target account does not have a lock.
|
|
||||||
**/
|
|
||||||
NotLocked: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* Next external proposal not simple majority
|
* Next external proposal not simple majority
|
||||||
**/
|
**/
|
||||||
@@ -680,8 +661,8 @@ declare module '@polkadot/api/types/errors' {
|
|||||||
**/
|
**/
|
||||||
AmountTooSmall: AugmentedError<ApiType>;
|
AmountTooSmall: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The queue for the bid's duration is full and the amount bid is too low to get in through
|
* The queue for the bid's duration is full and the amount bid is too low to get in
|
||||||
* replacing an existing bid.
|
* through replacing an existing bid.
|
||||||
**/
|
**/
|
||||||
BidTooLow: AugmentedError<ApiType>;
|
BidTooLow: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -1271,8 +1252,8 @@ declare module '@polkadot/api/types/errors' {
|
|||||||
**/
|
**/
|
||||||
NoUnlockChunk: AugmentedError<ApiType>;
|
NoUnlockChunk: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* There are too many nominators in the system. Governance needs to adjust the staking settings
|
* There are too many nominators in the system. Governance needs to adjust the staking
|
||||||
* to keep things safe for the runtime.
|
* settings to keep things safe for the runtime.
|
||||||
**/
|
**/
|
||||||
TooManyNominators: AugmentedError<ApiType>;
|
TooManyNominators: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -1280,8 +1261,8 @@ declare module '@polkadot/api/types/errors' {
|
|||||||
**/
|
**/
|
||||||
TooManyTargets: AugmentedError<ApiType>;
|
TooManyTargets: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
* There are too many validators in the system. Governance needs to adjust the staking settings
|
* There are too many validators in the system. Governance needs to adjust the staking
|
||||||
* to keep things safe for the runtime.
|
* settings to keep things safe for the runtime.
|
||||||
**/
|
**/
|
||||||
TooManyValidators: AugmentedError<ApiType>;
|
TooManyValidators: AugmentedError<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -1541,6 +1522,16 @@ declare module '@polkadot/api/types/errors' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: AugmentedError<ApiType>;
|
[key: string]: AugmentedError<ApiType>;
|
||||||
};
|
};
|
||||||
|
utility: {
|
||||||
|
/**
|
||||||
|
* Too many calls batched.
|
||||||
|
**/
|
||||||
|
TooManyCalls: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic error
|
||||||
|
**/
|
||||||
|
[key: string]: AugmentedError<ApiType>;
|
||||||
|
};
|
||||||
vesting: {
|
vesting: {
|
||||||
/**
|
/**
|
||||||
* Amount being transferred is too low to create a vesting schedule.
|
* Amount being transferred is too low to create a vesting schedule.
|
||||||
|
|||||||
@@ -204,8 +204,8 @@ declare module '@polkadot/api/types/events' {
|
|||||||
* # Params
|
* # Params
|
||||||
*
|
*
|
||||||
* - `contract`: The contract that emitted the event.
|
* - `contract`: The contract that emitted the event.
|
||||||
* - `data`: Data supplied by the contract. Metadata generated during contract
|
* - `data`: Data supplied by the contract. Metadata generated during contract compilation
|
||||||
* compilation is needed to decode it.
|
* is needed to decode it.
|
||||||
**/
|
**/
|
||||||
ContractEmitted: AugmentedEvent<ApiType, [AccountId, Bytes]>;
|
ContractEmitted: AugmentedEvent<ApiType, [AccountId, Bytes]>;
|
||||||
/**
|
/**
|
||||||
@@ -362,17 +362,14 @@ declare module '@polkadot/api/types/events' {
|
|||||||
**/
|
**/
|
||||||
Started: AugmentedEvent<ApiType, [ReferendumIndex, VoteThreshold]>;
|
Started: AugmentedEvent<ApiType, [ReferendumIndex, VoteThreshold]>;
|
||||||
/**
|
/**
|
||||||
* A public proposal has been tabled for referendum vote. \[proposal_index, deposit, depositors\]
|
* A public proposal has been tabled for referendum vote. \[proposal_index, deposit,
|
||||||
|
* depositors\]
|
||||||
**/
|
**/
|
||||||
Tabled: AugmentedEvent<ApiType, [PropIndex, Balance, Vec<AccountId>]>;
|
Tabled: AugmentedEvent<ApiType, [PropIndex, Balance, Vec<AccountId>]>;
|
||||||
/**
|
/**
|
||||||
* An \[account\] has cancelled a previous delegation operation.
|
* An \[account\] has cancelled a previous delegation operation.
|
||||||
**/
|
**/
|
||||||
Undelegated: AugmentedEvent<ApiType, [AccountId]>;
|
Undelegated: AugmentedEvent<ApiType, [AccountId]>;
|
||||||
/**
|
|
||||||
* An \[account\] has been unlocked successfully.
|
|
||||||
**/
|
|
||||||
Unlocked: AugmentedEvent<ApiType, [AccountId]>;
|
|
||||||
/**
|
/**
|
||||||
* An external proposal has been vetoed. \[who, proposal_hash, until\]
|
* An external proposal has been vetoed. \[who, proposal_hash, until\]
|
||||||
**/
|
**/
|
||||||
@@ -653,7 +650,8 @@ declare module '@polkadot/api/types/events' {
|
|||||||
Announced: AugmentedEvent<ApiType, [AccountId, AccountId, Hash]>;
|
Announced: AugmentedEvent<ApiType, [AccountId, AccountId, Hash]>;
|
||||||
/**
|
/**
|
||||||
* Anonymous account has been created by new proxy with given
|
* Anonymous account has been created by new proxy with given
|
||||||
* disambiguation index and proxy type. \[anonymous, who, proxy_type, disambiguation_index\]
|
* disambiguation index and proxy type. \[anonymous, who, proxy_type,
|
||||||
|
* disambiguation_index\]
|
||||||
**/
|
**/
|
||||||
AnonymousCreated: AugmentedEvent<ApiType, [AccountId, AccountId, ProxyType, u16]>;
|
AnonymousCreated: AugmentedEvent<ApiType, [AccountId, AccountId, ProxyType, u16]>;
|
||||||
/**
|
/**
|
||||||
@@ -719,8 +717,8 @@ declare module '@polkadot/api/types/events' {
|
|||||||
};
|
};
|
||||||
session: {
|
session: {
|
||||||
/**
|
/**
|
||||||
* New session has happened. Note that the argument is the \[session_index\], not the block
|
* New session has happened. Note that the argument is the \[session_index\], not the
|
||||||
* number as the type might suggest.
|
* block number as the type might suggest.
|
||||||
**/
|
**/
|
||||||
NewSession: AugmentedEvent<ApiType, [SessionIndex]>;
|
NewSession: AugmentedEvent<ApiType, [SessionIndex]>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -94,7 +94,8 @@ declare module '@polkadot/api/types/storage' {
|
|||||||
**/
|
**/
|
||||||
currentSlot: AugmentedQuery<ApiType, () => Observable<Slot>, []> & QueryableStorageEntry<ApiType, []>;
|
currentSlot: AugmentedQuery<ApiType, () => Observable<Slot>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The configuration for the current epoch. Should never be `None` as it is initialized in genesis.
|
* The configuration for the current epoch. Should never be `None` as it is initialized in
|
||||||
|
* genesis.
|
||||||
**/
|
**/
|
||||||
epochConfig: AugmentedQuery<ApiType, () => Observable<Option<BabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
|
epochConfig: AugmentedQuery<ApiType, () => Observable<Option<BabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
@@ -916,9 +917,9 @@ declare module '@polkadot/api/types/storage' {
|
|||||||
**/
|
**/
|
||||||
canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<BalanceOf>, []> & QueryableStorageEntry<ApiType, []>;
|
canceledSlashPayout: AugmentedQuery<ApiType, () => Observable<BalanceOf>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The threshold for when users can start calling `chill_other` for other validators / nominators.
|
* The threshold for when users can start calling `chill_other` for other validators /
|
||||||
* The threshold is compared to the actual number of validators / nominators (`CountFor*`) in
|
* nominators. The threshold is compared to the actual number of validators / nominators
|
||||||
* the system compared to the configured max (`Max*Count`).
|
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
||||||
**/
|
**/
|
||||||
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -211,8 +211,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* - `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.
|
||||||
* - `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 `transfer_ownership`
|
* over this asset, but may later change and configure the permissions using
|
||||||
* and `set_team`.
|
* `transfer_ownership` and `set_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
|
||||||
* have. If an account's balance is reduced below this, then it collapses to zero.
|
* have. If an account's balance is reduced below this, then it collapses to zero.
|
||||||
*
|
*
|
||||||
@@ -486,8 +486,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* Exactly as `transfer`, except the origin must be root and the source account may be
|
* Exactly as `transfer`, except the origin must be root and the source account may be
|
||||||
* specified.
|
* specified.
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - Same as transfer, but additional read and write because the source account is
|
* - Same as transfer, but additional read and write because the source account is not
|
||||||
* not assumed to be in the overlay.
|
* assumed to be in the overlay.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
forceTransfer: AugmentedSubmittable<(source: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [LookupSource, LookupSource, Compact<Balance>]>;
|
forceTransfer: AugmentedSubmittable<(source: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [LookupSource, LookupSource, Compact<Balance>]>;
|
||||||
@@ -523,9 +523,10 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* The dispatch origin for this call must be `Signed` by the transactor.
|
* The dispatch origin for this call must be `Signed` by the transactor.
|
||||||
*
|
*
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - Dependent on arguments but not critical, given proper implementations for
|
* - Dependent on arguments but not critical, given proper implementations for input config
|
||||||
* input config types. See related functions below.
|
* types. See related functions below.
|
||||||
* - It contains a limited number of reads and writes internally and no complex computation.
|
* - It contains a limited number of reads and writes internally and no complex
|
||||||
|
* computation.
|
||||||
*
|
*
|
||||||
* Related functions:
|
* Related functions:
|
||||||
*
|
*
|
||||||
@@ -533,8 +534,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* - Transferring balances to accounts that did not exist before will cause
|
* - Transferring balances to accounts that did not exist before will cause
|
||||||
* `T::OnNewAccount::on_new_account` to be called.
|
* `T::OnNewAccount::on_new_account` to be called.
|
||||||
* - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.
|
* - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.
|
||||||
* - `transfer_keep_alive` works the same way as `transfer`, but has an additional
|
* - `transfer_keep_alive` works the same way as `transfer`, but has an additional check
|
||||||
* check that the transfer will not kill the origin account.
|
* that the transfer will not kill the origin account.
|
||||||
* ---------------------------------
|
* ---------------------------------
|
||||||
* - Base Weight: 73.64 µs, worst case scenario (account created, account removed)
|
* - Base Weight: 73.64 µs, worst case scenario (account created, account removed)
|
||||||
* - DB Weight: 1 Read and 1 Write to destination account
|
* - DB Weight: 1 Read and 1 Write to destination account
|
||||||
@@ -557,8 +558,7 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
||||||
* of the funds the account has, causing the sender account to be killed (false), or
|
* of the funds the account has, causing the sender account to be killed (false), or
|
||||||
* transfer everything except at least the existential deposit, which will guarantee to
|
* transfer everything except at least the existential deposit, which will guarantee to
|
||||||
* keep the sender account alive (true).
|
* keep the sender account alive (true). # <weight>
|
||||||
* # <weight>
|
|
||||||
* - O(1). Just like transfer, but reading the user's transferable balance first.
|
* - O(1). Just like transfer, but reading the user's transferable balance first.
|
||||||
* #</weight>
|
* #</weight>
|
||||||
**/
|
**/
|
||||||
@@ -754,7 +754,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Instantiation is executed as follows:
|
* Instantiation is executed as follows:
|
||||||
*
|
*
|
||||||
* - The supplied `code` is instrumented, deployed, and a `code_hash` is created for that code.
|
* - The supplied `code` is instrumented, deployed, and a `code_hash` is created for that
|
||||||
|
* code.
|
||||||
* - If the `code_hash` already exists on the chain the underlying `code` will be shared.
|
* - If the `code_hash` already exists on the chain the underlying `code` will be shared.
|
||||||
* - The destination address is computed based on the sender, code_hash and the salt.
|
* - The destination address is computed based on the sender, code_hash and the salt.
|
||||||
* - The smart-contract account is created at the computed address.
|
* - The smart-contract account is created at the computed address.
|
||||||
@@ -980,8 +981,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* - `to`: The account whose voting the `target` account's voting power will follow.
|
* - `to`: The account whose voting the `target` account's voting power will follow.
|
||||||
* - `conviction`: The conviction that will be attached to the delegated votes. When the
|
* - `conviction`: The conviction that will be attached to the delegated votes. When the
|
||||||
* account is undelegated, the funds will be locked for the corresponding period.
|
* account is undelegated, the funds will be locked for the corresponding period.
|
||||||
* - `balance`: The amount of the account's balance to be used in delegating. This must
|
* - `balance`: The amount of the account's balance to be used in delegating. This must not
|
||||||
* not be more than the account's current balance.
|
* be more than the account's current balance.
|
||||||
*
|
*
|
||||||
* Emits `Delegated`.
|
* Emits `Delegated`.
|
||||||
*
|
*
|
||||||
@@ -1118,8 +1119,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* The dispatch origin of this call must be _Signed_.
|
* The dispatch origin of this call must be _Signed_.
|
||||||
*
|
*
|
||||||
* - `proposal_hash`: The preimage hash of a proposal.
|
* - `proposal_hash`: The preimage hash of a proposal.
|
||||||
* - `proposal_length_upper_bound`: an upper bound on length of the proposal.
|
* - `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is
|
||||||
* Extrinsic is weighted according to this value with no refund.
|
* weighted according to this value with no refund.
|
||||||
*
|
*
|
||||||
* This will only work after `VotingPeriod` blocks from the time that the preimage was
|
* This will only work after `VotingPeriod` blocks from the time that the preimage was
|
||||||
* noted, if it's the same account doing it. If it's a different account, then it'll only
|
* noted, if it's the same account doing it. If it's a different account, then it'll only
|
||||||
@@ -1280,7 +1281,7 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* Queue size must be provided as witness data.
|
* Queue size must be provided as witness data.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
submit: AugmentedSubmittable<(solution: RawSolution | { compact?: any; score?: any; round?: any } | string | Uint8Array, numSignedSubmissions: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [RawSolution, u32]>;
|
submit: AugmentedSubmittable<(rawSolution: RawSolution | { compact?: any; score?: any; round?: any } | string | Uint8Array, numSignedSubmissions: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [RawSolution, u32]>;
|
||||||
/**
|
/**
|
||||||
* Submit a solution for the unsigned phase.
|
* Submit a solution for the unsigned phase.
|
||||||
*
|
*
|
||||||
@@ -1297,7 +1298,7 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
*
|
*
|
||||||
* No deposit or reward is associated with this submission.
|
* No deposit or reward is associated with this submission.
|
||||||
**/
|
**/
|
||||||
submitUnsigned: AugmentedSubmittable<(solution: RawSolution | { compact?: any; score?: any; round?: any } | string | Uint8Array, witness: SolutionOrSnapshotSize | { voters?: any; targets?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [RawSolution, SolutionOrSnapshotSize]>;
|
submitUnsigned: AugmentedSubmittable<(rawSolution: RawSolution | { compact?: any; score?: any; round?: any } | string | Uint8Array, witness: SolutionOrSnapshotSize | { voters?: any; targets?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [RawSolution, SolutionOrSnapshotSize]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1352,9 +1353,9 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* origin is removed as a runner-up.
|
* origin is removed as a runner-up.
|
||||||
* - `origin` is a current member. In this case, the deposit is unreserved and origin is
|
* - `origin` is a current member. In this case, the deposit is unreserved and origin is
|
||||||
* removed as a member, consequently not being a candidate for the next round anymore.
|
* removed as a member, consequently not being a candidate for the next round anymore.
|
||||||
* Similar to [`remove_member`](Self::remove_member), if replacement runners exists,
|
* Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they
|
||||||
* they are immediately used. If the prime is renouncing, then no prime will exist until
|
* are immediately used. If the prime is renouncing, then no prime will exist until the
|
||||||
* the next round.
|
* next round.
|
||||||
*
|
*
|
||||||
* The dispatch origin of this call must be signed, and have one of the above roles.
|
* The dispatch origin of this call must be signed, and have one of the above roles.
|
||||||
*
|
*
|
||||||
@@ -1768,8 +1769,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
imOnline: {
|
imOnline: {
|
||||||
/**
|
/**
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len)
|
* - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is
|
||||||
* and E is length of `heartbeat.network_state.external_address`
|
* length of `heartbeat.network_state.external_address`
|
||||||
* - `O(K)`: decoding of length `K`
|
* - `O(K)`: decoding of length `K`
|
||||||
* - `O(E)`: decoding/encoding of length `E`
|
* - `O(E)`: decoding/encoding of length `E`
|
||||||
* - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,
|
* - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,
|
||||||
@@ -1851,7 +1852,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
free: AugmentedSubmittable<(index: AccountIndex | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountIndex]>;
|
free: AugmentedSubmittable<(index: AccountIndex | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountIndex]>;
|
||||||
/**
|
/**
|
||||||
* Freeze an index so it will always point to the sender account. This consumes the deposit.
|
* Freeze an index so it will always point to the sender account. This consumes the
|
||||||
|
* deposit.
|
||||||
*
|
*
|
||||||
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
* The dispatch origin for this call must be _Signed_ and the signing account must have a
|
||||||
* non-frozen account `index`.
|
* non-frozen account `index`.
|
||||||
@@ -1977,9 +1979,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* - Up to one binary search and insert (`O(logS + S)`).
|
* - Up to one binary search and insert (`O(logS + S)`).
|
||||||
* - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
|
* - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
|
||||||
* - One event.
|
* - One event.
|
||||||
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
||||||
* deposit taken for its lifetime of
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
||||||
* `DepositBase + threshold * DepositFactor`.
|
|
||||||
* ----------------------------------
|
* ----------------------------------
|
||||||
* - DB Weight:
|
* - DB Weight:
|
||||||
* - Read: Multisig Storage, [Caller Account]
|
* - Read: Multisig Storage, [Caller Account]
|
||||||
@@ -2025,9 +2026,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
|
* - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
|
||||||
* - One event.
|
* - One event.
|
||||||
* - The weight of the `call`.
|
* - The weight of the `call`.
|
||||||
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
||||||
* deposit taken for its lifetime of
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
||||||
* `DepositBase + threshold * DepositFactor`.
|
|
||||||
* -------------------------------
|
* -------------------------------
|
||||||
* - DB Weight:
|
* - DB Weight:
|
||||||
* - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)
|
* - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)
|
||||||
@@ -2326,8 +2326,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* `threshold` or more vouches, waited `delay_period` blocks since initiation.
|
* `threshold` or more vouches, waited `delay_period` blocks since initiation.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* - `account`: The lost account that you want to claim has been successfully
|
* - `account`: The lost account that you want to claim has been successfully recovered by
|
||||||
* recovered by you.
|
* you.
|
||||||
*
|
*
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* Key: F (len of friends in config), V (len of vouching friends)
|
* Key: F (len of friends in config), V (len of vouching friends)
|
||||||
@@ -2374,13 +2374,13 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* The dispatch origin for this call must be _Signed_.
|
* The dispatch origin for this call must be _Signed_.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* - `friends`: A list of friends you trust to vouch for recovery attempts.
|
* - `friends`: A list of friends you trust to vouch for recovery attempts. Should be
|
||||||
* Should be ordered and contain no duplicate values.
|
* ordered and contain no duplicate values.
|
||||||
* - `threshold`: The number of friends that must vouch for a recovery attempt
|
* - `threshold`: The number of friends that must vouch for a recovery attempt before the
|
||||||
* before the account can be recovered. Should be less than or equal to
|
* account can be recovered. Should be less than or equal to the length of the list of
|
||||||
* the length of the list of friends.
|
* friends.
|
||||||
* - `delay_period`: The number of blocks after a recovery attempt is initialized
|
* - `delay_period`: The number of blocks after a recovery attempt is initialized that
|
||||||
* that needs to pass before the account can be recovered.
|
* needs to pass before the account can be recovered.
|
||||||
*
|
*
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - Key: F (len of friends)
|
* - Key: F (len of friends)
|
||||||
@@ -2404,8 +2404,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* The dispatch origin for this call must be _Signed_.
|
* The dispatch origin for this call must be _Signed_.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* - `account`: The lost account that you want to recover. This account
|
* - `account`: The lost account that you want to recover. This account needs to be
|
||||||
* needs to be recoverable (i.e. have a recovery configuration).
|
* recoverable (i.e. have a recovery configuration).
|
||||||
*
|
*
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - One storage read to check that account is recoverable. O(F)
|
* - One storage read to check that account is recoverable. O(F)
|
||||||
@@ -2468,8 +2468,7 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* - `lost`: The lost account that you want to recover.
|
* - `lost`: The lost account that you want to recover.
|
||||||
* - `rescuer`: The account trying to rescue the lost account that you
|
* - `rescuer`: The account trying to rescue the lost account that you want to vouch for.
|
||||||
* want to vouch for.
|
|
||||||
*
|
*
|
||||||
* The combination of these two parameters must point to an active recovery
|
* The combination of these two parameters must point to an active recovery
|
||||||
* process.
|
* process.
|
||||||
@@ -2955,8 +2954,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* The dispatch origin for this call must be _Signed_ by the stash, not the controller.
|
* The dispatch origin for this call must be _Signed_ by the stash, not the controller.
|
||||||
*
|
*
|
||||||
* Use this if there are additional funds in your stash account that you wish to bond.
|
* Use this if there are additional funds in your stash account that you wish to bond.
|
||||||
* Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose any limitation
|
* Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose
|
||||||
* on the amount that can be added.
|
* any limitation on the amount that can be added.
|
||||||
*
|
*
|
||||||
* Emits `Bonded`.
|
* Emits `Bonded`.
|
||||||
*
|
*
|
||||||
@@ -3082,8 +3081,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* # <weight>
|
* # <weight>
|
||||||
* O(S) where S is the number of slashing spans to be removed
|
* O(S) where S is the number of slashing spans to be removed
|
||||||
* Reads: Bonded, Slashing Spans, Account, Locks
|
* Reads: Bonded, Slashing Spans, Account, Locks
|
||||||
* Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Account, Locks
|
* Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,
|
||||||
* Writes Each: SpanSlash * S
|
* Account, Locks Writes Each: SpanSlash * S
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
forceUnstake: AugmentedSubmittable<(stash: AccountId | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId, u32]>;
|
forceUnstake: AugmentedSubmittable<(stash: AccountId | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId, u32]>;
|
||||||
@@ -3162,7 +3161,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* Complexity: O(S) where S is the number of slashing spans on the account.
|
* Complexity: O(S) where S is the number of slashing spans on the account.
|
||||||
* DB Weight:
|
* DB Weight:
|
||||||
* - Reads: Stash Account, Bonded, Slashing Spans, Locks
|
* - Reads: Stash Account, Bonded, Slashing Spans, Locks
|
||||||
* - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Stash Account, Locks
|
* - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,
|
||||||
|
* Stash Account, Locks
|
||||||
* - Writes Each: SpanSlash * S
|
* - Writes Each: SpanSlash * S
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
@@ -3214,10 +3214,10 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* - `new_history_depth`: The new history depth you would like to set.
|
* - `new_history_depth`: The new history depth you would like to set.
|
||||||
* - `era_items_deleted`: The number of items that will be deleted by this dispatch.
|
* - `era_items_deleted`: The number of items that will be deleted by this dispatch. This
|
||||||
* This should report all the storage items that will be deleted by clearing old
|
* should report all the storage items that will be deleted by clearing old era history.
|
||||||
* era history. Needed to report an accurate weight for the dispatch. Trusted by
|
* Needed to report an accurate weight for the dispatch. Trusted by `Root` to report an
|
||||||
* `Root` to report an accurate number.
|
* accurate number.
|
||||||
*
|
*
|
||||||
* Origin must be root.
|
* Origin must be root.
|
||||||
*
|
*
|
||||||
@@ -3228,7 +3228,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* - Reads: Current Era, History Depth
|
* - Reads: Current Era, History Depth
|
||||||
* - Writes: History Depth
|
* - Writes: History Depth
|
||||||
* - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs
|
* - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs
|
||||||
* - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake, ErasStartSessionIndex
|
* - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake,
|
||||||
|
* ErasStartSessionIndex
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
setHistoryDepth: AugmentedSubmittable<(newHistoryDepth: Compact<EraIndex> | AnyNumber | Uint8Array, eraItemsDeleted: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<EraIndex>, Compact<u32>]>;
|
setHistoryDepth: AugmentedSubmittable<(newHistoryDepth: Compact<EraIndex> | AnyNumber | Uint8Array, eraItemsDeleted: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<EraIndex>, Compact<u32>]>;
|
||||||
@@ -3267,10 +3268,10 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
*
|
*
|
||||||
* * `min_nominator_bond`: The minimum active bond needed to be a nominator.
|
* * `min_nominator_bond`: The minimum active bond needed to be a nominator.
|
||||||
* * `min_validator_bond`: The minimum active bond needed to be a validator.
|
* * `min_validator_bond`: The minimum active bond needed to be a validator.
|
||||||
* * `max_nominator_count`: The max number of users who can be a nominator at once.
|
* * `max_nominator_count`: The max number of users who can be a nominator at once. When
|
||||||
* When set to `None`, no limit is enforced.
|
* set to `None`, no limit is enforced.
|
||||||
* * `max_validator_count`: The max number of users who can be a validator at once.
|
* * `max_validator_count`: The max number of users who can be a validator at once. When
|
||||||
* When set to `None`, no limit is enforced.
|
* set to `None`, no limit is enforced.
|
||||||
*
|
*
|
||||||
* Origin must be Root to call this function.
|
* Origin must be Root to call this function.
|
||||||
*
|
*
|
||||||
@@ -3344,7 +3345,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
};
|
};
|
||||||
sudo: {
|
sudo: {
|
||||||
/**
|
/**
|
||||||
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo key.
|
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
|
||||||
|
* key.
|
||||||
*
|
*
|
||||||
* The dispatch origin for this call must be _Signed_.
|
* The dispatch origin for this call must be _Signed_.
|
||||||
*
|
*
|
||||||
@@ -3466,10 +3468,11 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* # <weight>
|
* # <weight>
|
||||||
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
|
* - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
|
||||||
* - 1 storage write (codec `O(C)`).
|
* - 1 storage write (codec `O(C)`).
|
||||||
* - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is expensive).
|
* - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is
|
||||||
|
* expensive).
|
||||||
* - 1 event.
|
* - 1 event.
|
||||||
* The weight of this function is dependent on the runtime, but generally this is very expensive.
|
* The weight of this function is dependent on the runtime, but generally this is very
|
||||||
* We will treat this as a full block.
|
* expensive. We will treat this as a full block.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||||
@@ -3480,8 +3483,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* - `O(C)` where `C` length of `code`
|
* - `O(C)` where `C` length of `code`
|
||||||
* - 1 storage write (codec `O(C)`).
|
* - 1 storage write (codec `O(C)`).
|
||||||
* - 1 event.
|
* - 1 event.
|
||||||
* The weight of this function is dependent on the runtime. We will treat this as a full block.
|
* The weight of this function is dependent on the runtime. We will treat this as a full
|
||||||
* # </weight>
|
* block. # </weight>
|
||||||
**/
|
**/
|
||||||
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
||||||
/**
|
/**
|
||||||
@@ -3720,7 +3723,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
*
|
*
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
||||||
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in `on_finalize`)
|
* - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in
|
||||||
|
* `on_finalize`)
|
||||||
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
@@ -3873,7 +3877,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
* Check storage proof for block number `block_number() - StoragePeriod`.
|
* Check storage proof for block number `block_number() - StoragePeriod`.
|
||||||
* If such block does not exist the proof is expected to be `None`.
|
* If such block does not exist the proof is expected to be `None`.
|
||||||
* # <weight>
|
* # <weight>
|
||||||
* - Linear w.r.t the number of indexed transactions in the proved block for random probing.
|
* - Linear w.r.t the number of indexed transactions in the proved block for random
|
||||||
|
* probing.
|
||||||
* There's a DB read for each transaction.
|
* There's a DB read for each transaction.
|
||||||
* Here we assume a maximum of 100 probed transactions.
|
* Here we assume a maximum of 100 probed transactions.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
@@ -3890,9 +3895,9 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
renew: AugmentedSubmittable<(block: BlockNumber | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [BlockNumber, u32]>;
|
renew: AugmentedSubmittable<(block: BlockNumber | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [BlockNumber, u32]>;
|
||||||
/**
|
/**
|
||||||
* Index and store data on chain. Minimum data size is 1 bytes, maximum is `MaxTransactionSize`.
|
* Index and store data on chain. Minimum data size is 1 bytes, maximum is
|
||||||
* Data will be removed after `STORAGE_PERIOD` blocks, unless `renew` is called.
|
* `MaxTransactionSize`. Data will be removed after `STORAGE_PERIOD` blocks, unless `renew`
|
||||||
* # <weight>
|
* is called. # <weight>
|
||||||
* - n*log(n) of data size, as all data is pushed to an in-memory trie.
|
* - n*log(n) of data size, as all data is pushed to an in-memory trie.
|
||||||
* Additionally contains a DB write.
|
* Additionally contains a DB write.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
@@ -4339,7 +4344,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May be called from any origin.
|
* May be called from any origin.
|
||||||
*
|
*
|
||||||
* - `calls`: The calls to be dispatched from the same origin.
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
||||||
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
||||||
*
|
*
|
||||||
* If origin is root then call are dispatch without checking origin filter. (This includes
|
* If origin is root then call are dispatch without checking origin filter. (This includes
|
||||||
* bypassing `frame_system::Config::BaseCallFilter`).
|
* bypassing `frame_system::Config::BaseCallFilter`).
|
||||||
@@ -4361,7 +4367,8 @@ declare module '@polkadot/api/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May be called from any origin.
|
* May be called from any origin.
|
||||||
*
|
*
|
||||||
* - `calls`: The calls to be dispatched from the same origin.
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
||||||
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
||||||
*
|
*
|
||||||
* If origin is root then call are dispatch without checking origin filter. (This includes
|
* If origin is root then call are dispatch without checking origin filter. (This includes
|
||||||
* bypassing `frame_system::Config::BaseCallFilter`).
|
* bypassing `frame_system::Config::BaseCallFilter`).
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/api', version: '5.6.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/rpc-core",
|
"name": "@polkadot/rpc-core",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,8 +20,8 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.3",
|
"@babel/runtime": "^7.15.3",
|
||||||
"@polkadot/rpc-provider": "5.5.2",
|
"@polkadot/rpc-provider": "5.6.1",
|
||||||
"@polkadot/types": "5.5.2",
|
"@polkadot/types": "5.6.1",
|
||||||
"@polkadot/util": "^7.2.1",
|
"@polkadot/util": "^7.2.1",
|
||||||
"rxjs": "^7.3.0"
|
"rxjs": "^7.3.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-core', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/rpc-core', version: '5.6.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/rpc-provider",
|
"name": "@polkadot/rpc-provider",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Transport providers for the API",
|
"description": "Transport providers for the API",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.3",
|
"@babel/runtime": "^7.15.3",
|
||||||
"@polkadot/types": "5.5.2",
|
"@polkadot/types": "5.6.1",
|
||||||
"@polkadot/util": "^7.2.1",
|
"@polkadot/util": "^7.2.1",
|
||||||
"@polkadot/util-crypto": "^7.2.1",
|
"@polkadot/util-crypto": "^7.2.1",
|
||||||
"@polkadot/x-fetch": "^7.2.1",
|
"@polkadot/x-fetch": "^7.2.1",
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^7.2.1",
|
"@polkadot/keyring": "^7.2.1",
|
||||||
"@polkadot/types": "5.5.2",
|
"@polkadot/types": "5.6.1",
|
||||||
"mock-socket": "^9.0.3",
|
"mock-socket": "^9.0.3",
|
||||||
"nock": "^13.1.1"
|
"nock": "^13.1.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-provider', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/rpc-provider', version: '5.6.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/typegen",
|
"name": "@polkadot/typegen",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Type generation scripts",
|
"description": "Type generation scripts",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -29,10 +29,10 @@
|
|||||||
"@babel/core": "^7.15.0",
|
"@babel/core": "^7.15.0",
|
||||||
"@babel/register": "^7.15.3",
|
"@babel/register": "^7.15.3",
|
||||||
"@babel/runtime": "^7.15.3",
|
"@babel/runtime": "^7.15.3",
|
||||||
"@polkadot/api": "5.5.2",
|
"@polkadot/api": "5.6.1",
|
||||||
"@polkadot/rpc-provider": "5.5.2",
|
"@polkadot/rpc-provider": "5.6.1",
|
||||||
"@polkadot/types": "5.5.2",
|
"@polkadot/types": "5.6.1",
|
||||||
"@polkadot/types-support": "5.5.2",
|
"@polkadot/types-support": "5.6.1",
|
||||||
"@polkadot/util": "^7.2.1",
|
"@polkadot/util": "^7.2.1",
|
||||||
"handlebars": "^4.7.7",
|
"handlebars": "^4.7.7",
|
||||||
"websocket": "^1.0.34",
|
"websocket": "^1.0.34",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/typegen', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/typegen', version: '5.6.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/types-known",
|
"name": "@polkadot/types-known",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Known type definitions",
|
"description": "Known type definitions",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.3",
|
"@babel/runtime": "^7.15.3",
|
||||||
"@polkadot/networks": "^7.2.1",
|
"@polkadot/networks": "^7.2.1",
|
||||||
"@polkadot/types": "5.5.2",
|
"@polkadot/types": "5.6.1",
|
||||||
"@polkadot/util": "^7.2.1"
|
"@polkadot/util": "^7.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,12 @@ const typesModules: Record<string, OverrideModuleType> = {
|
|||||||
},
|
},
|
||||||
treasury: {
|
treasury: {
|
||||||
Proposal: 'TreasuryProposal'
|
Proposal: 'TreasuryProposal'
|
||||||
|
},
|
||||||
|
xcm: {
|
||||||
|
AssetId: 'XcmAssetId'
|
||||||
|
},
|
||||||
|
xcmPallet: {
|
||||||
|
AssetId: 'XcmAssetId'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-known', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/types-known', version: '5.6.1' };
|
||||||
|
|||||||
@@ -192,7 +192,10 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
{
|
{
|
||||||
minmax: [9010, undefined],
|
minmax: [9010, undefined],
|
||||||
types: {
|
types: {
|
||||||
...sharedTypes
|
...sharedTypes,
|
||||||
|
AssetInstance: 'AssetInstanceV0',
|
||||||
|
MultiAsset: 'MultiAssetV0',
|
||||||
|
XcmOrder: 'XcmOrderV0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -91,7 +91,10 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
{
|
{
|
||||||
minmax: [50, undefined],
|
minmax: [50, undefined],
|
||||||
types: {
|
types: {
|
||||||
...sharedTypes
|
...sharedTypes,
|
||||||
|
AssetInstance: 'AssetInstanceV0',
|
||||||
|
MultiAsset: 'MultiAssetV0',
|
||||||
|
XcmOrder: 'XcmOrderV0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const upgrades: ChainUpgradesRaw = [
|
|||||||
[2549864, 45], [3925782, 46], [3925843, 47], [4207800, 48], [4627944, 49],
|
[2549864, 45], [3925782, 46], [3925843, 47], [4207800, 48], [4627944, 49],
|
||||||
[5124076, 50], [5478664, 900], [5482450, 9000], [5584305, 9010], [5784566, 9030],
|
[5124076, 50], [5478664, 900], [5482450, 9000], [5584305, 9010], [5784566, 9030],
|
||||||
[5879822, 9031], [5896856, 9032], [5897316, 9033], [6117927, 9050], [6210274, 9070],
|
[5879822, 9031], [5896856, 9032], [5897316, 9033], [6117927, 9050], [6210274, 9070],
|
||||||
[6379314, 9080]
|
[6379314, 9080], [6979141, 9090]
|
||||||
];
|
];
|
||||||
|
|
||||||
export default upgrades;
|
export default upgrades;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/types-support",
|
"name": "@polkadot/types-support",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Supporting files for types, mostly for testing",
|
"description": "Supporting files for types, mostly for testing",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -278,10 +278,11 @@
|
|||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`",
|
" - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`",
|
||||||
" - 1 storage write (codec `O(C)`).",
|
" - 1 storage write (codec `O(C)`).",
|
||||||
" - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is expensive).",
|
" - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is",
|
||||||
|
" expensive).",
|
||||||
" - 1 event.",
|
" - 1 event.",
|
||||||
" The weight of this function is dependent on the runtime, but generally this is very expensive.",
|
" The weight of this function is dependent on the runtime, but generally this is very",
|
||||||
" We will treat this as a full block.",
|
" expensive. We will treat this as a full block.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -300,8 +301,8 @@
|
|||||||
" - `O(C)` where `C` length of `code`",
|
" - `O(C)` where `C` length of `code`",
|
||||||
" - 1 storage write (codec `O(C)`).",
|
" - 1 storage write (codec `O(C)`).",
|
||||||
" - 1 event.",
|
" - 1 event.",
|
||||||
" The weight of this function is dependent on the runtime. We will treat this as a full block.",
|
" The weight of this function is dependent on the runtime. We will treat this as a full",
|
||||||
" # </weight>"
|
" block. # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -757,7 +758,8 @@
|
|||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The configuration for the current epoch. Should never be `None` as it is initialized in genesis."
|
" The configuration for the current epoch. Should never be `None` as it is initialized in",
|
||||||
|
" genesis."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -931,7 +933,8 @@
|
|||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)",
|
" - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)",
|
||||||
" - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in `on_finalize`)",
|
" - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in",
|
||||||
|
" `on_finalize`)",
|
||||||
" - 1 event handler `on_timestamp_set`. Must be `O(1)`.",
|
" - 1 event handler `on_timestamp_set`. Must be `O(1)`.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
@@ -944,10 +947,10 @@
|
|||||||
"type": "Moment",
|
"type": "Moment",
|
||||||
"value": "0xb80b000000000000",
|
"value": "0xb80b000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The minimum period between blocks. Beware that this is different to the *expected* period",
|
" The minimum period between blocks. Beware that this is different to the *expected*",
|
||||||
" that the block production apparatus provides. Your chosen consensus system will generally",
|
" period that the block production apparatus provides. Your chosen consensus system will",
|
||||||
" work with this to determine a sensible block time. e.g. For Aura, it will be double this",
|
" generally work with this to determine a sensible block time. e.g. For Aura, it will be",
|
||||||
" period on default settings."
|
" double this period on default settings."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -1120,7 +1123,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" Freeze an index so it will always point to the sender account. This consumes the deposit.",
|
" Freeze an index so it will always point to the sender account. This consumes the",
|
||||||
|
" deposit.",
|
||||||
"",
|
"",
|
||||||
" The dispatch origin for this call must be _Signed_ and the signing account must have a",
|
" The dispatch origin for this call must be _Signed_ and the signing account must have a",
|
||||||
" non-frozen account `index`.",
|
" non-frozen account `index`.",
|
||||||
@@ -1321,18 +1325,19 @@
|
|||||||
" The dispatch origin for this call must be `Signed` by the transactor.",
|
" The dispatch origin for this call must be `Signed` by the transactor.",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Dependent on arguments but not critical, given proper implementations for",
|
" - Dependent on arguments but not critical, given proper implementations for input config",
|
||||||
" input config types. See related functions below.",
|
" types. See related functions below.",
|
||||||
" - It contains a limited number of reads and writes internally and no complex computation.",
|
" - It contains a limited number of reads and writes internally and no complex",
|
||||||
|
" computation.",
|
||||||
"",
|
"",
|
||||||
" Related functions:",
|
" Related functions:",
|
||||||
"",
|
"",
|
||||||
" - `ensure_can_withdraw` is always called internally but has a bounded complexity.",
|
" - `ensure_can_withdraw` is always called internally but has a bounded complexity.",
|
||||||
" - Transferring balances to accounts that did not exist before will cause",
|
" - Transferring balances to accounts that did not exist before will cause",
|
||||||
" `T::OnNewAccount::on_new_account` to be called.",
|
" `T::OnNewAccount::on_new_account` to be called.",
|
||||||
" - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.",
|
" - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.",
|
||||||
" - `transfer_keep_alive` works the same way as `transfer`, but has an additional",
|
" - `transfer_keep_alive` works the same way as `transfer`, but has an additional check",
|
||||||
" check that the transfer will not kill the origin account.",
|
" that the transfer will not kill the origin account.",
|
||||||
" ---------------------------------",
|
" ---------------------------------",
|
||||||
" - Base Weight: 73.64 µs, worst case scenario (account created, account removed)",
|
" - Base Weight: 73.64 µs, worst case scenario (account created, account removed)",
|
||||||
" - DB Weight: 1 Read and 1 Write to destination account",
|
" - DB Weight: 1 Read and 1 Write to destination account",
|
||||||
@@ -1397,8 +1402,8 @@
|
|||||||
" Exactly as `transfer`, except the origin must be root and the source account may be",
|
" Exactly as `transfer`, except the origin must be root and the source account may be",
|
||||||
" specified.",
|
" specified.",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Same as transfer, but additional read and write because the source account is",
|
" - Same as transfer, but additional read and write because the source account is not",
|
||||||
" not assumed to be in the overlay.",
|
" assumed to be in the overlay.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -1455,8 +1460,7 @@
|
|||||||
" - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all",
|
" - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all",
|
||||||
" of the funds the account has, causing the sender account to be killed (false), or",
|
" of the funds the account has, causing the sender account to be killed (false), or",
|
||||||
" transfer everything except at least the existential deposit, which will guarantee to",
|
" transfer everything except at least the existential deposit, which will guarantee to",
|
||||||
" keep the sender account alive (true).",
|
" keep the sender account alive (true). # <weight>",
|
||||||
" # <weight>",
|
|
||||||
" - O(1). Just like transfer, but reading the user's transferable balance first.",
|
" - O(1). Just like transfer, but reading the user's transferable balance first.",
|
||||||
" #</weight>"
|
" #</weight>"
|
||||||
]
|
]
|
||||||
@@ -2351,9 +2355,9 @@
|
|||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The threshold for when users can start calling `chill_other` for other validators / nominators.",
|
" The threshold for when users can start calling `chill_other` for other validators /",
|
||||||
" The threshold is compared to the actual number of validators / nominators (`CountFor*`) in",
|
" nominators. The threshold is compared to the actual number of validators / nominators",
|
||||||
" the system compared to the configured max (`Max*Count`)."
|
" (`CountFor*`) in the system compared to the configured max (`Max*Count`)."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -2410,8 +2414,8 @@
|
|||||||
" The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
|
" The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
|
||||||
"",
|
"",
|
||||||
" Use this if there are additional funds in your stash account that you wish to bond.",
|
" Use this if there are additional funds in your stash account that you wish to bond.",
|
||||||
" Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose any limitation",
|
" Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose",
|
||||||
" on the amount that can be added.",
|
" any limitation on the amount that can be added.",
|
||||||
"",
|
"",
|
||||||
" Emits `Bonded`.",
|
" Emits `Bonded`.",
|
||||||
"",
|
"",
|
||||||
@@ -2723,8 +2727,8 @@
|
|||||||
" # <weight>",
|
" # <weight>",
|
||||||
" O(S) where S is the number of slashing spans to be removed",
|
" O(S) where S is the number of slashing spans to be removed",
|
||||||
" Reads: Bonded, Slashing Spans, Account, Locks",
|
" Reads: Bonded, Slashing Spans, Account, Locks",
|
||||||
" Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Account, Locks",
|
" Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,",
|
||||||
" Writes Each: SpanSlash * S",
|
" Account, Locks Writes Each: SpanSlash * S",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -2850,10 +2854,10 @@
|
|||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `new_history_depth`: The new history depth you would like to set.",
|
" - `new_history_depth`: The new history depth you would like to set.",
|
||||||
" - `era_items_deleted`: The number of items that will be deleted by this dispatch.",
|
" - `era_items_deleted`: The number of items that will be deleted by this dispatch. This",
|
||||||
" This should report all the storage items that will be deleted by clearing old",
|
" should report all the storage items that will be deleted by clearing old era history.",
|
||||||
" era history. Needed to report an accurate weight for the dispatch. Trusted by",
|
" Needed to report an accurate weight for the dispatch. Trusted by `Root` to report an",
|
||||||
" `Root` to report an accurate number.",
|
" accurate number.",
|
||||||
"",
|
"",
|
||||||
" Origin must be root.",
|
" Origin must be root.",
|
||||||
"",
|
"",
|
||||||
@@ -2864,7 +2868,8 @@
|
|||||||
" - Reads: Current Era, History Depth",
|
" - Reads: Current Era, History Depth",
|
||||||
" - Writes: History Depth",
|
" - Writes: History Depth",
|
||||||
" - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs",
|
" - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs",
|
||||||
" - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake, ErasStartSessionIndex",
|
" - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake,",
|
||||||
|
" ErasStartSessionIndex",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -2893,7 +2898,8 @@
|
|||||||
" Complexity: O(S) where S is the number of slashing spans on the account.",
|
" Complexity: O(S) where S is the number of slashing spans on the account.",
|
||||||
" DB Weight:",
|
" DB Weight:",
|
||||||
" - Reads: Stash Account, Bonded, Slashing Spans, Locks",
|
" - Reads: Stash Account, Bonded, Slashing Spans, Locks",
|
||||||
" - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Stash Account, Locks",
|
" - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,",
|
||||||
|
" Stash Account, Locks",
|
||||||
" - Writes Each: SpanSlash * S",
|
" - Writes Each: SpanSlash * S",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
@@ -2949,10 +2955,10 @@
|
|||||||
"",
|
"",
|
||||||
" * `min_nominator_bond`: The minimum active bond needed to be a nominator.",
|
" * `min_nominator_bond`: The minimum active bond needed to be a nominator.",
|
||||||
" * `min_validator_bond`: The minimum active bond needed to be a validator.",
|
" * `min_validator_bond`: The minimum active bond needed to be a validator.",
|
||||||
" * `max_nominator_count`: The max number of users who can be a nominator at once.",
|
" * `max_nominator_count`: The max number of users who can be a nominator at once. When",
|
||||||
" When set to `None`, no limit is enforced.",
|
" set to `None`, no limit is enforced.",
|
||||||
" * `max_validator_count`: The max number of users who can be a validator at once.",
|
" * `max_validator_count`: The max number of users who can be a validator at once. When",
|
||||||
" When set to `None`, no limit is enforced.",
|
" set to `None`, no limit is enforced.",
|
||||||
"",
|
"",
|
||||||
" Origin must be Root to call this function.",
|
" Origin must be Root to call this function.",
|
||||||
"",
|
"",
|
||||||
@@ -3152,8 +3158,8 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The maximum number of nominators rewarded for each validator.",
|
" The maximum number of nominators rewarded for each validator.",
|
||||||
"",
|
"",
|
||||||
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can claim",
|
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can",
|
||||||
" their reward. This used to limit the i/o cost for the nominator payout."
|
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -3293,15 +3299,15 @@
|
|||||||
{
|
{
|
||||||
"name": "TooManyNominators",
|
"name": "TooManyNominators",
|
||||||
"docs": [
|
"docs": [
|
||||||
" There are too many nominators in the system. Governance needs to adjust the staking settings",
|
" There are too many nominators in the system. Governance needs to adjust the staking",
|
||||||
" to keep things safe for the runtime."
|
" settings to keep things safe for the runtime."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "TooManyValidators",
|
"name": "TooManyValidators",
|
||||||
"docs": [
|
"docs": [
|
||||||
" There are too many validators in the system. Governance needs to adjust the staking settings",
|
" There are too many validators in the system. Governance needs to adjust the staking",
|
||||||
" to keep things safe for the runtime."
|
" settings to keep things safe for the runtime."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -3550,8 +3556,8 @@
|
|||||||
"SessionIndex"
|
"SessionIndex"
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" New session has happened. Note that the argument is the \\[session_index\\], not the block",
|
" New session has happened. Note that the argument is the \\[session_index\\], not the",
|
||||||
" number as the type might suggest."
|
" block number as the type might suggest."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -3903,8 +3909,8 @@
|
|||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len)",
|
" - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is",
|
||||||
" and E is length of `heartbeat.network_state.external_address`",
|
" length of `heartbeat.network_state.external_address`",
|
||||||
" - `O(K)`: decoding of length `K`",
|
" - `O(K)`: decoding of length `K`",
|
||||||
" - `O(E)`: decoding/encoding of length `E`",
|
" - `O(E)`: decoding/encoding of length `E`",
|
||||||
" - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,",
|
" - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,",
|
||||||
@@ -4473,8 +4479,8 @@
|
|||||||
" - `to`: The account whose voting the `target` account's voting power will follow.",
|
" - `to`: The account whose voting the `target` account's voting power will follow.",
|
||||||
" - `conviction`: The conviction that will be attached to the delegated votes. When the",
|
" - `conviction`: The conviction that will be attached to the delegated votes. When the",
|
||||||
" account is undelegated, the funds will be locked for the corresponding period.",
|
" account is undelegated, the funds will be locked for the corresponding period.",
|
||||||
" - `balance`: The amount of the account's balance to be used in delegating. This must",
|
" - `balance`: The amount of the account's balance to be used in delegating. This must not",
|
||||||
" not be more than the account's current balance.",
|
" be more than the account's current balance.",
|
||||||
"",
|
"",
|
||||||
" Emits `Delegated`.",
|
" Emits `Delegated`.",
|
||||||
"",
|
"",
|
||||||
@@ -4597,8 +4603,8 @@
|
|||||||
" The dispatch origin of this call must be _Signed_.",
|
" The dispatch origin of this call must be _Signed_.",
|
||||||
"",
|
"",
|
||||||
" - `proposal_hash`: The preimage hash of a proposal.",
|
" - `proposal_hash`: The preimage hash of a proposal.",
|
||||||
" - `proposal_length_upper_bound`: an upper bound on length of the proposal.",
|
" - `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is",
|
||||||
" Extrinsic is weighted according to this value with no refund.",
|
" weighted according to this value with no refund.",
|
||||||
"",
|
"",
|
||||||
" This will only work after `VotingPeriod` blocks from the time that the preimage was",
|
" This will only work after `VotingPeriod` blocks from the time that the preimage was",
|
||||||
" noted, if it's the same account doing it. If it's a different account, then it'll only",
|
" noted, if it's the same account doing it. If it's a different account, then it'll only",
|
||||||
@@ -4779,7 +4785,8 @@
|
|||||||
"Vec<AccountId>"
|
"Vec<AccountId>"
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" A public proposal has been tabled for referendum vote. \\[proposal_index, deposit, depositors\\]"
|
" A public proposal has been tabled for referendum vote. \\[proposal_index, deposit,",
|
||||||
|
" depositors\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -4924,15 +4931,6 @@
|
|||||||
" \\[proposal_hash, provider, deposit, reaper\\]"
|
" \\[proposal_hash, provider, deposit, reaper\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Unlocked",
|
|
||||||
"args": [
|
|
||||||
"AccountId"
|
|
||||||
],
|
|
||||||
"docs": [
|
|
||||||
" An \\[account\\] has been unlocked successfully."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Blacklisted",
|
"name": "Blacklisted",
|
||||||
"args": [
|
"args": [
|
||||||
@@ -4949,11 +4947,12 @@
|
|||||||
"type": "BlockNumber",
|
"type": "BlockNumber",
|
||||||
"value": "0x00c20100",
|
"value": "0x00c20100",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The minimum period of locking and the period between a proposal being approved and enacted.",
|
" The minimum period of locking and the period between a proposal being approved and",
|
||||||
|
" enacted.",
|
||||||
"",
|
"",
|
||||||
" It should generally be a little more than the unstake period to ensure that",
|
" It should generally be a little more than the unstake period to ensure that",
|
||||||
" voting stakers have an opportunity to remove themselves from the system in the case where",
|
" voting stakers have an opportunity to remove themselves from the system in the case",
|
||||||
" they are on the losing side of a vote."
|
" where they are on the losing side of a vote."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -4985,9 +4984,9 @@
|
|||||||
"type": "bool",
|
"type": "bool",
|
||||||
"value": "0x01",
|
"value": "0x01",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Indicator for whether an emergency origin is even allowed to happen. Some chains may want",
|
" Indicator for whether an emergency origin is even allowed to happen. Some chains may",
|
||||||
" to set this permanently to `false`, others may want to condition it on things such as",
|
" want to set this permanently to `false`, others may want to condition it on things such",
|
||||||
" an upgrade having happened recently."
|
" as an upgrade having happened recently."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -5047,12 +5046,6 @@
|
|||||||
" Proposal does not exist"
|
" Proposal does not exist"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "BadIndex",
|
|
||||||
"docs": [
|
|
||||||
" Unknown index"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "AlreadyCanceled",
|
"name": "AlreadyCanceled",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5095,12 +5088,6 @@
|
|||||||
" Identity may not veto a proposal twice"
|
" Identity may not veto a proposal twice"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "NotDelegated",
|
|
||||||
"docs": [
|
|
||||||
" Not delegated"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "DuplicatePreimage",
|
"name": "DuplicatePreimage",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5149,18 +5136,6 @@
|
|||||||
" No proposals waiting"
|
" No proposals waiting"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "NotLocked",
|
|
||||||
"docs": [
|
|
||||||
" The target account does not have a lock."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "NotExpired",
|
|
||||||
"docs": [
|
|
||||||
" The lock on the account to be unlocked has not yet expired."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "NotVoter",
|
"name": "NotVoter",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5222,12 +5197,6 @@
|
|||||||
" Maximum number of votes reached."
|
" Maximum number of votes reached."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "InvalidWitness",
|
|
||||||
"docs": [
|
|
||||||
" The provided witness data is wrong."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "TooManyProposals",
|
"name": "TooManyProposals",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -6328,9 +6297,9 @@
|
|||||||
" origin is removed as a runner-up.",
|
" origin is removed as a runner-up.",
|
||||||
" - `origin` is a current member. In this case, the deposit is unreserved and origin is",
|
" - `origin` is a current member. In this case, the deposit is unreserved and origin is",
|
||||||
" removed as a member, consequently not being a candidate for the next round anymore.",
|
" removed as a member, consequently not being a candidate for the next round anymore.",
|
||||||
" Similar to [`remove_member`](Self::remove_member), if replacement runners exists,",
|
" Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they",
|
||||||
" they are immediately used. If the prime is renouncing, then no prime will exist until",
|
" are immediately used. If the prime is renouncing, then no prime will exist until the",
|
||||||
" the next round.",
|
" next round.",
|
||||||
"",
|
"",
|
||||||
" The dispatch origin of this call must be signed, and have one of the above roles.",
|
" The dispatch origin of this call must be signed, and have one of the above roles.",
|
||||||
"",
|
"",
|
||||||
@@ -7415,7 +7384,8 @@
|
|||||||
"",
|
"",
|
||||||
" May be called from any origin.",
|
" May be called from any origin.",
|
||||||
"",
|
"",
|
||||||
" - `calls`: The calls to be dispatched from the same origin.",
|
" - `calls`: The calls to be dispatched from the same origin. The number of call must not",
|
||||||
|
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
|
||||||
"",
|
"",
|
||||||
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
||||||
" bypassing `frame_system::Config::BaseCallFilter`).",
|
" bypassing `frame_system::Config::BaseCallFilter`).",
|
||||||
@@ -7473,7 +7443,8 @@
|
|||||||
"",
|
"",
|
||||||
" May be called from any origin.",
|
" May be called from any origin.",
|
||||||
"",
|
"",
|
||||||
" - `calls`: The calls to be dispatched from the same origin.",
|
" - `calls`: The calls to be dispatched from the same origin. The number of call must not",
|
||||||
|
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
|
||||||
"",
|
"",
|
||||||
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
||||||
" bypassing `frame_system::Config::BaseCallFilter`).",
|
" bypassing `frame_system::Config::BaseCallFilter`).",
|
||||||
@@ -7511,8 +7482,24 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"constants": [],
|
"constants": [
|
||||||
"errors": [],
|
{
|
||||||
|
"name": "batched_calls_limit",
|
||||||
|
"type": "u32",
|
||||||
|
"value": "0x0cc30000",
|
||||||
|
"docs": [
|
||||||
|
" The limit on the number of batched calls."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"errors": [
|
||||||
|
{
|
||||||
|
"name": "TooManyCalls",
|
||||||
|
"docs": [
|
||||||
|
" Too many calls batched."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"index": 24
|
"index": 24
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -8124,8 +8111,8 @@
|
|||||||
"value": "0x68425d8d010000000000000000000000",
|
"value": "0x68425d8d010000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The amount held on deposit for a registered subaccount. This should account for the fact",
|
" 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",
|
" that one storage item's value will increase by the size of an account ID, and there will",
|
||||||
" another trie item whose value is the size of an account ID plus 32 bytes."
|
" be another trie item whose value is the size of an account ID plus 32 bytes."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -9389,13 +9376,13 @@
|
|||||||
" The dispatch origin for this call must be _Signed_.",
|
" The dispatch origin for this call must be _Signed_.",
|
||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `friends`: A list of friends you trust to vouch for recovery attempts.",
|
" - `friends`: A list of friends you trust to vouch for recovery attempts. Should be",
|
||||||
" Should be ordered and contain no duplicate values.",
|
" ordered and contain no duplicate values.",
|
||||||
" - `threshold`: The number of friends that must vouch for a recovery attempt",
|
" - `threshold`: The number of friends that must vouch for a recovery attempt before the",
|
||||||
" before the account can be recovered. Should be less than or equal to",
|
" account can be recovered. Should be less than or equal to the length of the list of",
|
||||||
" the length of the list of friends.",
|
" friends.",
|
||||||
" - `delay_period`: The number of blocks after a recovery attempt is initialized",
|
" - `delay_period`: The number of blocks after a recovery attempt is initialized that",
|
||||||
" that needs to pass before the account can be recovered.",
|
" needs to pass before the account can be recovered.",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Key: F (len of friends)",
|
" - Key: F (len of friends)",
|
||||||
@@ -9427,8 +9414,8 @@
|
|||||||
" The dispatch origin for this call must be _Signed_.",
|
" The dispatch origin for this call must be _Signed_.",
|
||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `account`: The lost account that you want to recover. This account",
|
" - `account`: The lost account that you want to recover. This account needs to be",
|
||||||
" needs to be recoverable (i.e. have a recovery configuration).",
|
" recoverable (i.e. have a recovery configuration).",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - One storage read to check that account is recoverable. O(F)",
|
" - One storage read to check that account is recoverable. O(F)",
|
||||||
@@ -9463,8 +9450,7 @@
|
|||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `lost`: The lost account that you want to recover.",
|
" - `lost`: The lost account that you want to recover.",
|
||||||
" - `rescuer`: The account trying to rescue the lost account that you",
|
" - `rescuer`: The account trying to rescue the lost account that you want to vouch for.",
|
||||||
" want to vouch for.",
|
|
||||||
"",
|
"",
|
||||||
" The combination of these two parameters must point to an active recovery",
|
" The combination of these two parameters must point to an active recovery",
|
||||||
" process.",
|
" process.",
|
||||||
@@ -9498,8 +9484,8 @@
|
|||||||
" `threshold` or more vouches, waited `delay_period` blocks since initiation.",
|
" `threshold` or more vouches, waited `delay_period` blocks since initiation.",
|
||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `account`: The lost account that you want to claim has been successfully",
|
" - `account`: The lost account that you want to claim has been successfully recovered by",
|
||||||
" recovered by you.",
|
" you.",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" Key: F (len of friends in config), V (len of vouching friends)",
|
" Key: F (len of friends in config), V (len of vouching friends)",
|
||||||
@@ -9676,9 +9662,11 @@
|
|||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0x9a505763000000000000000000000000",
|
"value": "0x9a505763000000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The amount of currency needed per additional user when creating a recovery configuration.",
|
" The amount of currency needed per additional user when creating a recovery",
|
||||||
|
" configuration.",
|
||||||
"",
|
"",
|
||||||
" This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage value."
|
" This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage",
|
||||||
|
" value."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -10265,8 +10253,8 @@
|
|||||||
"type": "Weight",
|
"type": "Weight",
|
||||||
"value": "0x00806e8774010000",
|
"value": "0x00806e8774010000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The maximum weight that may be scheduled per block for any dispatchables of less priority",
|
" The maximum weight that may be scheduled per block for any dispatchables of less",
|
||||||
" than `schedule::HARD_DEADLINE`."
|
" priority than `schedule::HARD_DEADLINE`."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -10708,7 +10696,8 @@
|
|||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" Anonymous account has been created by new proxy with given",
|
" Anonymous account has been created by new proxy with given",
|
||||||
" disambiguation index and proxy type. \\[anonymous, who, proxy_type, disambiguation_index\\]"
|
" disambiguation index and proxy type. \\[anonymous, who, proxy_type,",
|
||||||
|
" disambiguation_index\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -10742,9 +10731,9 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The amount of currency needed per proxy added.",
|
" The amount of currency needed per proxy added.",
|
||||||
"",
|
"",
|
||||||
" This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing",
|
" This is held for adding 32 bytes plus an instance of `ProxyType` more into a",
|
||||||
" storage value. Thus, when configuring `ProxyDepositFactor` one should take into account",
|
" pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take",
|
||||||
" `32 + proxy_type.encode().len()` bytes of data."
|
" into account `32 + proxy_type.encode().len()` bytes of data."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -10770,7 +10759,8 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The base amount of currency needed to reserve for creating an announcement.",
|
" The base amount of currency needed to reserve for creating an announcement.",
|
||||||
"",
|
"",
|
||||||
" This is held when a new storage item holding a `Balance` is created (typically 16 bytes)."
|
" This is held when a new storage item holding a `Balance` is created (typically 16",
|
||||||
|
" bytes)."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -10973,9 +10963,8 @@
|
|||||||
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
||||||
" - One event.",
|
" - One event.",
|
||||||
" - The weight of the `call`.",
|
" - The weight of the `call`.",
|
||||||
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a",
|
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit",
|
||||||
" deposit taken for its lifetime of",
|
" taken for its lifetime of `DepositBase + threshold * DepositFactor`.",
|
||||||
" `DepositBase + threshold * DepositFactor`.",
|
|
||||||
" -------------------------------",
|
" -------------------------------",
|
||||||
" - DB Weight:",
|
" - DB Weight:",
|
||||||
" - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)",
|
" - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)",
|
||||||
@@ -11037,9 +11026,8 @@
|
|||||||
" - Up to one binary search and insert (`O(logS + S)`).",
|
" - Up to one binary search and insert (`O(logS + S)`).",
|
||||||
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
||||||
" - One event.",
|
" - One event.",
|
||||||
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a",
|
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit",
|
||||||
" deposit taken for its lifetime of",
|
" taken for its lifetime of `DepositBase + threshold * DepositFactor`.",
|
||||||
" `DepositBase + threshold * DepositFactor`.",
|
|
||||||
" ----------------------------------",
|
" ----------------------------------",
|
||||||
" - DB Weight:",
|
" - DB Weight:",
|
||||||
" - Read: Multisig Storage, [Caller Account]",
|
" - Read: Multisig Storage, [Caller Account]",
|
||||||
@@ -11154,8 +11142,8 @@
|
|||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0xf07520970f0000000000000000000000",
|
"value": "0xf07520970f0000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The base amount of currency needed to reserve for creating a multisig execution or to store",
|
" The base amount of currency needed to reserve for creating a multisig execution or to",
|
||||||
" a dispatch call for later.",
|
" store a dispatch call for later.",
|
||||||
"",
|
"",
|
||||||
" This is held for an additional storage item whose value size is",
|
" This is held for an additional storage item whose value size is",
|
||||||
" `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is",
|
" `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is",
|
||||||
@@ -12262,7 +12250,7 @@
|
|||||||
"name": "submit_unsigned",
|
"name": "submit_unsigned",
|
||||||
"args": [
|
"args": [
|
||||||
{
|
{
|
||||||
"name": "solution",
|
"name": "raw_solution",
|
||||||
"type": "RawSolution"
|
"type": "RawSolution"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -12326,7 +12314,7 @@
|
|||||||
"name": "submit",
|
"name": "submit",
|
||||||
"args": [
|
"args": [
|
||||||
{
|
{
|
||||||
"name": "solution",
|
"name": "raw_solution",
|
||||||
"type": "RawSolution"
|
"type": "RawSolution"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -12516,7 +12504,7 @@
|
|||||||
{
|
{
|
||||||
"name": "SignedDepositBase",
|
"name": "SignedDepositBase",
|
||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0x1098a4850f0000000000000000000000",
|
"value": "0x2030490b1f0000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Base deposit for a signed solution."
|
" Base deposit for a signed solution."
|
||||||
]
|
]
|
||||||
@@ -12524,7 +12512,7 @@
|
|||||||
{
|
{
|
||||||
"name": "SignedDepositByte",
|
"name": "SignedDepositByte",
|
||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0x43de1300000000000000000000000000",
|
"value": "0x277f0000000000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Per-byte deposit for a signed solution."
|
" Per-byte deposit for a signed solution."
|
||||||
]
|
]
|
||||||
@@ -12927,8 +12915,8 @@
|
|||||||
{
|
{
|
||||||
"name": "BidTooLow",
|
"name": "BidTooLow",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The queue for the bid's duration is full and the amount bid is too low to get in through",
|
" The queue for the bid's duration is full and the amount bid is too low to get in",
|
||||||
" replacing an existing bid."
|
" through replacing an existing bid."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -16499,7 +16487,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "assets",
|
"name": "assets",
|
||||||
"type": "Vec<MultiAsset>"
|
"type": "MultiAssets"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fee_asset_item",
|
||||||
|
"type": "u32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dest_weight",
|
"name": "dest_weight",
|
||||||
@@ -16509,13 +16501,15 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" Teleport some assets from the local chain to some destination chain.",
|
" Teleport some assets from the local chain to some destination chain.",
|
||||||
"",
|
"",
|
||||||
|
" Fee payment on the destination side is made from the first asset listed in the `assets` vector.",
|
||||||
|
"",
|
||||||
" - `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
|
" - `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
|
||||||
" - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
|
" - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
|
||||||
" from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.",
|
" from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.",
|
||||||
" - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be",
|
" - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be",
|
||||||
" an `AccountId32` value.",
|
" an `AccountId32` value.",
|
||||||
" - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the",
|
" - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the",
|
||||||
" `dest` side.",
|
" `dest` side. May not be empty.",
|
||||||
" - `dest_weight`: Equal to the total weight on `dest` of the XCM message",
|
" - `dest_weight`: Equal to the total weight on `dest` of the XCM message",
|
||||||
" `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`."
|
" `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`."
|
||||||
]
|
]
|
||||||
@@ -16533,7 +16527,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "assets",
|
"name": "assets",
|
||||||
"type": "Vec<MultiAsset>"
|
"type": "MultiAssets"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fee_asset_item",
|
||||||
|
"type": "u32"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dest_weight",
|
"name": "dest_weight",
|
||||||
@@ -16544,6 +16542,8 @@
|
|||||||
" Transfer some assets from the local chain to the sovereign account of a destination chain and forward",
|
" Transfer some assets from the local chain to the sovereign account of a destination chain and forward",
|
||||||
" a notification XCM.",
|
" a notification XCM.",
|
||||||
"",
|
"",
|
||||||
|
" Fee payment on the destination side is made from the first asset listed in the `assets` vector.",
|
||||||
|
"",
|
||||||
" - `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
|
" - `origin`: Must be capable of withdrawing the `assets` and executing XCM.",
|
||||||
" - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
|
" - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send",
|
||||||
" from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.",
|
" from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.",
|
||||||
@@ -16552,7 +16552,7 @@
|
|||||||
" - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the",
|
" - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the",
|
||||||
" `dest` side.",
|
" `dest` side.",
|
||||||
" - `dest_weight`: Equal to the total weight on `dest` of the XCM message",
|
" - `dest_weight`: Equal to the total weight on `dest` of the XCM message",
|
||||||
" `ReserveAssetDeposit { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`."
|
" `ReserveAssetDeposited { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -16621,6 +16621,30 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The message's weight could not be determined."
|
" The message's weight could not be determined."
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Empty",
|
||||||
|
"docs": [
|
||||||
|
" The assets to be sent are empty."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CannotReanchor",
|
||||||
|
"docs": [
|
||||||
|
" Could not re-anchor the assets to declare the fees for the destination chain."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TooManyAssets",
|
||||||
|
"docs": [
|
||||||
|
" Too many assets have been attempted for transfer."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "InvalidOrigin",
|
||||||
|
"docs": [
|
||||||
|
" Origin is invalid for sending."
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"index": 99
|
"index": 99
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -278,10 +278,11 @@
|
|||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`",
|
" - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`",
|
||||||
" - 1 storage write (codec `O(C)`).",
|
" - 1 storage write (codec `O(C)`).",
|
||||||
" - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is expensive).",
|
" - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is",
|
||||||
|
" expensive).",
|
||||||
" - 1 event.",
|
" - 1 event.",
|
||||||
" The weight of this function is dependent on the runtime, but generally this is very expensive.",
|
" The weight of this function is dependent on the runtime, but generally this is very",
|
||||||
" We will treat this as a full block.",
|
" expensive. We will treat this as a full block.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -300,8 +301,8 @@
|
|||||||
" - `O(C)` where `C` length of `code`",
|
" - `O(C)` where `C` length of `code`",
|
||||||
" - 1 storage write (codec `O(C)`).",
|
" - 1 storage write (codec `O(C)`).",
|
||||||
" - 1 event.",
|
" - 1 event.",
|
||||||
" The weight of this function is dependent on the runtime. We will treat this as a full block.",
|
" The weight of this function is dependent on the runtime. We will treat this as a full",
|
||||||
" # </weight>"
|
" block. # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -824,8 +825,8 @@
|
|||||||
"type": "Weight",
|
"type": "Weight",
|
||||||
"value": "0x00806e8774010000",
|
"value": "0x00806e8774010000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The maximum weight that may be scheduled per block for any dispatchables of less priority",
|
" The maximum weight that may be scheduled per block for any dispatchables of less",
|
||||||
" than `schedule::HARD_DEADLINE`."
|
" priority than `schedule::HARD_DEADLINE`."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1068,7 +1069,8 @@
|
|||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The configuration for the current epoch. Should never be `None` as it is initialized in genesis."
|
" The configuration for the current epoch. Should never be `None` as it is initialized in",
|
||||||
|
" genesis."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1242,7 +1244,8 @@
|
|||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)",
|
" - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)",
|
||||||
" - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in `on_finalize`)",
|
" - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in",
|
||||||
|
" `on_finalize`)",
|
||||||
" - 1 event handler `on_timestamp_set`. Must be `O(1)`.",
|
" - 1 event handler `on_timestamp_set`. Must be `O(1)`.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
@@ -1255,10 +1258,10 @@
|
|||||||
"type": "Moment",
|
"type": "Moment",
|
||||||
"value": "0xb80b000000000000",
|
"value": "0xb80b000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The minimum period between blocks. Beware that this is different to the *expected* period",
|
" The minimum period between blocks. Beware that this is different to the *expected*",
|
||||||
" that the block production apparatus provides. Your chosen consensus system will generally",
|
" period that the block production apparatus provides. Your chosen consensus system will",
|
||||||
" work with this to determine a sensible block time. e.g. For Aura, it will be double this",
|
" generally work with this to determine a sensible block time. e.g. For Aura, it will be",
|
||||||
" period on default settings."
|
" double this period on default settings."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -1431,7 +1434,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" Freeze an index so it will always point to the sender account. This consumes the deposit.",
|
" Freeze an index so it will always point to the sender account. This consumes the",
|
||||||
|
" deposit.",
|
||||||
"",
|
"",
|
||||||
" The dispatch origin for this call must be _Signed_ and the signing account must have a",
|
" The dispatch origin for this call must be _Signed_ and the signing account must have a",
|
||||||
" non-frozen account `index`.",
|
" non-frozen account `index`.",
|
||||||
@@ -1632,18 +1636,19 @@
|
|||||||
" The dispatch origin for this call must be `Signed` by the transactor.",
|
" The dispatch origin for this call must be `Signed` by the transactor.",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Dependent on arguments but not critical, given proper implementations for",
|
" - Dependent on arguments but not critical, given proper implementations for input config",
|
||||||
" input config types. See related functions below.",
|
" types. See related functions below.",
|
||||||
" - It contains a limited number of reads and writes internally and no complex computation.",
|
" - It contains a limited number of reads and writes internally and no complex",
|
||||||
|
" computation.",
|
||||||
"",
|
"",
|
||||||
" Related functions:",
|
" Related functions:",
|
||||||
"",
|
"",
|
||||||
" - `ensure_can_withdraw` is always called internally but has a bounded complexity.",
|
" - `ensure_can_withdraw` is always called internally but has a bounded complexity.",
|
||||||
" - Transferring balances to accounts that did not exist before will cause",
|
" - Transferring balances to accounts that did not exist before will cause",
|
||||||
" `T::OnNewAccount::on_new_account` to be called.",
|
" `T::OnNewAccount::on_new_account` to be called.",
|
||||||
" - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.",
|
" - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.",
|
||||||
" - `transfer_keep_alive` works the same way as `transfer`, but has an additional",
|
" - `transfer_keep_alive` works the same way as `transfer`, but has an additional check",
|
||||||
" check that the transfer will not kill the origin account.",
|
" that the transfer will not kill the origin account.",
|
||||||
" ---------------------------------",
|
" ---------------------------------",
|
||||||
" - Base Weight: 73.64 µs, worst case scenario (account created, account removed)",
|
" - Base Weight: 73.64 µs, worst case scenario (account created, account removed)",
|
||||||
" - DB Weight: 1 Read and 1 Write to destination account",
|
" - DB Weight: 1 Read and 1 Write to destination account",
|
||||||
@@ -1708,8 +1713,8 @@
|
|||||||
" Exactly as `transfer`, except the origin must be root and the source account may be",
|
" Exactly as `transfer`, except the origin must be root and the source account may be",
|
||||||
" specified.",
|
" specified.",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Same as transfer, but additional read and write because the source account is",
|
" - Same as transfer, but additional read and write because the source account is not",
|
||||||
" not assumed to be in the overlay.",
|
" assumed to be in the overlay.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -1766,8 +1771,7 @@
|
|||||||
" - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all",
|
" - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all",
|
||||||
" of the funds the account has, causing the sender account to be killed (false), or",
|
" of the funds the account has, causing the sender account to be killed (false), or",
|
||||||
" transfer everything except at least the existential deposit, which will guarantee to",
|
" transfer everything except at least the existential deposit, which will guarantee to",
|
||||||
" keep the sender account alive (true).",
|
" keep the sender account alive (true). # <weight>",
|
||||||
" # <weight>",
|
|
||||||
" - O(1). Just like transfer, but reading the user's transferable balance first.",
|
" - O(1). Just like transfer, but reading the user's transferable balance first.",
|
||||||
" #</weight>"
|
" #</weight>"
|
||||||
]
|
]
|
||||||
@@ -2662,9 +2666,9 @@
|
|||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The threshold for when users can start calling `chill_other` for other validators / nominators.",
|
" The threshold for when users can start calling `chill_other` for other validators /",
|
||||||
" The threshold is compared to the actual number of validators / nominators (`CountFor*`) in",
|
" nominators. The threshold is compared to the actual number of validators / nominators",
|
||||||
" the system compared to the configured max (`Max*Count`)."
|
" (`CountFor*`) in the system compared to the configured max (`Max*Count`)."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -2721,8 +2725,8 @@
|
|||||||
" The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
|
" The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
|
||||||
"",
|
"",
|
||||||
" Use this if there are additional funds in your stash account that you wish to bond.",
|
" Use this if there are additional funds in your stash account that you wish to bond.",
|
||||||
" Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose any limitation",
|
" Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose",
|
||||||
" on the amount that can be added.",
|
" any limitation on the amount that can be added.",
|
||||||
"",
|
"",
|
||||||
" Emits `Bonded`.",
|
" Emits `Bonded`.",
|
||||||
"",
|
"",
|
||||||
@@ -3034,8 +3038,8 @@
|
|||||||
" # <weight>",
|
" # <weight>",
|
||||||
" O(S) where S is the number of slashing spans to be removed",
|
" O(S) where S is the number of slashing spans to be removed",
|
||||||
" Reads: Bonded, Slashing Spans, Account, Locks",
|
" Reads: Bonded, Slashing Spans, Account, Locks",
|
||||||
" Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Account, Locks",
|
" Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,",
|
||||||
" Writes Each: SpanSlash * S",
|
" Account, Locks Writes Each: SpanSlash * S",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -3161,10 +3165,10 @@
|
|||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `new_history_depth`: The new history depth you would like to set.",
|
" - `new_history_depth`: The new history depth you would like to set.",
|
||||||
" - `era_items_deleted`: The number of items that will be deleted by this dispatch.",
|
" - `era_items_deleted`: The number of items that will be deleted by this dispatch. This",
|
||||||
" This should report all the storage items that will be deleted by clearing old",
|
" should report all the storage items that will be deleted by clearing old era history.",
|
||||||
" era history. Needed to report an accurate weight for the dispatch. Trusted by",
|
" Needed to report an accurate weight for the dispatch. Trusted by `Root` to report an",
|
||||||
" `Root` to report an accurate number.",
|
" accurate number.",
|
||||||
"",
|
"",
|
||||||
" Origin must be root.",
|
" Origin must be root.",
|
||||||
"",
|
"",
|
||||||
@@ -3175,7 +3179,8 @@
|
|||||||
" - Reads: Current Era, History Depth",
|
" - Reads: Current Era, History Depth",
|
||||||
" - Writes: History Depth",
|
" - Writes: History Depth",
|
||||||
" - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs",
|
" - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs",
|
||||||
" - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake, ErasStartSessionIndex",
|
" - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake,",
|
||||||
|
" ErasStartSessionIndex",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -3204,7 +3209,8 @@
|
|||||||
" Complexity: O(S) where S is the number of slashing spans on the account.",
|
" Complexity: O(S) where S is the number of slashing spans on the account.",
|
||||||
" DB Weight:",
|
" DB Weight:",
|
||||||
" - Reads: Stash Account, Bonded, Slashing Spans, Locks",
|
" - Reads: Stash Account, Bonded, Slashing Spans, Locks",
|
||||||
" - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Stash Account, Locks",
|
" - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,",
|
||||||
|
" Stash Account, Locks",
|
||||||
" - Writes Each: SpanSlash * S",
|
" - Writes Each: SpanSlash * S",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
@@ -3260,10 +3266,10 @@
|
|||||||
"",
|
"",
|
||||||
" * `min_nominator_bond`: The minimum active bond needed to be a nominator.",
|
" * `min_nominator_bond`: The minimum active bond needed to be a nominator.",
|
||||||
" * `min_validator_bond`: The minimum active bond needed to be a validator.",
|
" * `min_validator_bond`: The minimum active bond needed to be a validator.",
|
||||||
" * `max_nominator_count`: The max number of users who can be a nominator at once.",
|
" * `max_nominator_count`: The max number of users who can be a nominator at once. When",
|
||||||
" When set to `None`, no limit is enforced.",
|
" set to `None`, no limit is enforced.",
|
||||||
" * `max_validator_count`: The max number of users who can be a validator at once.",
|
" * `max_validator_count`: The max number of users who can be a validator at once. When",
|
||||||
" When set to `None`, no limit is enforced.",
|
" set to `None`, no limit is enforced.",
|
||||||
"",
|
"",
|
||||||
" Origin must be Root to call this function.",
|
" Origin must be Root to call this function.",
|
||||||
"",
|
"",
|
||||||
@@ -3463,8 +3469,8 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The maximum number of nominators rewarded for each validator.",
|
" The maximum number of nominators rewarded for each validator.",
|
||||||
"",
|
"",
|
||||||
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can claim",
|
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can",
|
||||||
" their reward. This used to limit the i/o cost for the nominator payout."
|
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -3604,15 +3610,15 @@
|
|||||||
{
|
{
|
||||||
"name": "TooManyNominators",
|
"name": "TooManyNominators",
|
||||||
"docs": [
|
"docs": [
|
||||||
" There are too many nominators in the system. Governance needs to adjust the staking settings",
|
" There are too many nominators in the system. Governance needs to adjust the staking",
|
||||||
" to keep things safe for the runtime."
|
" settings to keep things safe for the runtime."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "TooManyValidators",
|
"name": "TooManyValidators",
|
||||||
"docs": [
|
"docs": [
|
||||||
" There are too many validators in the system. Governance needs to adjust the staking settings",
|
" There are too many validators in the system. Governance needs to adjust the staking",
|
||||||
" to keep things safe for the runtime."
|
" settings to keep things safe for the runtime."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -3861,8 +3867,8 @@
|
|||||||
"SessionIndex"
|
"SessionIndex"
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" New session has happened. Note that the argument is the \\[session_index\\], not the block",
|
" New session has happened. Note that the argument is the \\[session_index\\], not the",
|
||||||
" number as the type might suggest."
|
" block number as the type might suggest."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -4214,8 +4220,8 @@
|
|||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len)",
|
" - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is",
|
||||||
" and E is length of `heartbeat.network_state.external_address`",
|
" length of `heartbeat.network_state.external_address`",
|
||||||
" - `O(K)`: decoding of length `K`",
|
" - `O(K)`: decoding of length `K`",
|
||||||
" - `O(E)`: decoding/encoding of length `E`",
|
" - `O(E)`: decoding/encoding of length `E`",
|
||||||
" - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,",
|
" - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,",
|
||||||
@@ -4784,8 +4790,8 @@
|
|||||||
" - `to`: The account whose voting the `target` account's voting power will follow.",
|
" - `to`: The account whose voting the `target` account's voting power will follow.",
|
||||||
" - `conviction`: The conviction that will be attached to the delegated votes. When the",
|
" - `conviction`: The conviction that will be attached to the delegated votes. When the",
|
||||||
" account is undelegated, the funds will be locked for the corresponding period.",
|
" account is undelegated, the funds will be locked for the corresponding period.",
|
||||||
" - `balance`: The amount of the account's balance to be used in delegating. This must",
|
" - `balance`: The amount of the account's balance to be used in delegating. This must not",
|
||||||
" not be more than the account's current balance.",
|
" be more than the account's current balance.",
|
||||||
"",
|
"",
|
||||||
" Emits `Delegated`.",
|
" Emits `Delegated`.",
|
||||||
"",
|
"",
|
||||||
@@ -4908,8 +4914,8 @@
|
|||||||
" The dispatch origin of this call must be _Signed_.",
|
" The dispatch origin of this call must be _Signed_.",
|
||||||
"",
|
"",
|
||||||
" - `proposal_hash`: The preimage hash of a proposal.",
|
" - `proposal_hash`: The preimage hash of a proposal.",
|
||||||
" - `proposal_length_upper_bound`: an upper bound on length of the proposal.",
|
" - `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is",
|
||||||
" Extrinsic is weighted according to this value with no refund.",
|
" weighted according to this value with no refund.",
|
||||||
"",
|
"",
|
||||||
" This will only work after `VotingPeriod` blocks from the time that the preimage was",
|
" This will only work after `VotingPeriod` blocks from the time that the preimage was",
|
||||||
" noted, if it's the same account doing it. If it's a different account, then it'll only",
|
" noted, if it's the same account doing it. If it's a different account, then it'll only",
|
||||||
@@ -5090,7 +5096,8 @@
|
|||||||
"Vec<AccountId>"
|
"Vec<AccountId>"
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" A public proposal has been tabled for referendum vote. \\[proposal_index, deposit, depositors\\]"
|
" A public proposal has been tabled for referendum vote. \\[proposal_index, deposit,",
|
||||||
|
" depositors\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -5235,15 +5242,6 @@
|
|||||||
" \\[proposal_hash, provider, deposit, reaper\\]"
|
" \\[proposal_hash, provider, deposit, reaper\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Unlocked",
|
|
||||||
"args": [
|
|
||||||
"AccountId"
|
|
||||||
],
|
|
||||||
"docs": [
|
|
||||||
" An \\[account\\] has been unlocked successfully."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Blacklisted",
|
"name": "Blacklisted",
|
||||||
"args": [
|
"args": [
|
||||||
@@ -5260,11 +5258,12 @@
|
|||||||
"type": "BlockNumber",
|
"type": "BlockNumber",
|
||||||
"value": "0x00270600",
|
"value": "0x00270600",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The minimum period of locking and the period between a proposal being approved and enacted.",
|
" The minimum period of locking and the period between a proposal being approved and",
|
||||||
|
" enacted.",
|
||||||
"",
|
"",
|
||||||
" It should generally be a little more than the unstake period to ensure that",
|
" It should generally be a little more than the unstake period to ensure that",
|
||||||
" voting stakers have an opportunity to remove themselves from the system in the case where",
|
" voting stakers have an opportunity to remove themselves from the system in the case",
|
||||||
" they are on the losing side of a vote."
|
" where they are on the losing side of a vote."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -5296,9 +5295,9 @@
|
|||||||
"type": "bool",
|
"type": "bool",
|
||||||
"value": "0x01",
|
"value": "0x01",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Indicator for whether an emergency origin is even allowed to happen. Some chains may want",
|
" Indicator for whether an emergency origin is even allowed to happen. Some chains may",
|
||||||
" to set this permanently to `false`, others may want to condition it on things such as",
|
" want to set this permanently to `false`, others may want to condition it on things such",
|
||||||
" an upgrade having happened recently."
|
" as an upgrade having happened recently."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -5358,12 +5357,6 @@
|
|||||||
" Proposal does not exist"
|
" Proposal does not exist"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "BadIndex",
|
|
||||||
"docs": [
|
|
||||||
" Unknown index"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "AlreadyCanceled",
|
"name": "AlreadyCanceled",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5406,12 +5399,6 @@
|
|||||||
" Identity may not veto a proposal twice"
|
" Identity may not veto a proposal twice"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "NotDelegated",
|
|
||||||
"docs": [
|
|
||||||
" Not delegated"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "DuplicatePreimage",
|
"name": "DuplicatePreimage",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5460,18 +5447,6 @@
|
|||||||
" No proposals waiting"
|
" No proposals waiting"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "NotLocked",
|
|
||||||
"docs": [
|
|
||||||
" The target account does not have a lock."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "NotExpired",
|
|
||||||
"docs": [
|
|
||||||
" The lock on the account to be unlocked has not yet expired."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "NotVoter",
|
"name": "NotVoter",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5533,12 +5508,6 @@
|
|||||||
" Maximum number of votes reached."
|
" Maximum number of votes reached."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "InvalidWitness",
|
|
||||||
"docs": [
|
|
||||||
" The provided witness data is wrong."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "TooManyProposals",
|
"name": "TooManyProposals",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -6639,9 +6608,9 @@
|
|||||||
" origin is removed as a runner-up.",
|
" origin is removed as a runner-up.",
|
||||||
" - `origin` is a current member. In this case, the deposit is unreserved and origin is",
|
" - `origin` is a current member. In this case, the deposit is unreserved and origin is",
|
||||||
" removed as a member, consequently not being a candidate for the next round anymore.",
|
" removed as a member, consequently not being a candidate for the next round anymore.",
|
||||||
" Similar to [`remove_member`](Self::remove_member), if replacement runners exists,",
|
" Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they",
|
||||||
" they are immediately used. If the prime is renouncing, then no prime will exist until",
|
" are immediately used. If the prime is renouncing, then no prime will exist until the",
|
||||||
" the next round.",
|
" next round.",
|
||||||
"",
|
"",
|
||||||
" The dispatch origin of this call must be signed, and have one of the above roles.",
|
" The dispatch origin of this call must be signed, and have one of the above roles.",
|
||||||
"",
|
"",
|
||||||
@@ -7918,7 +7887,8 @@
|
|||||||
"",
|
"",
|
||||||
" May be called from any origin.",
|
" May be called from any origin.",
|
||||||
"",
|
"",
|
||||||
" - `calls`: The calls to be dispatched from the same origin.",
|
" - `calls`: The calls to be dispatched from the same origin. The number of call must not",
|
||||||
|
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
|
||||||
"",
|
"",
|
||||||
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
||||||
" bypassing `frame_system::Config::BaseCallFilter`).",
|
" bypassing `frame_system::Config::BaseCallFilter`).",
|
||||||
@@ -7976,7 +7946,8 @@
|
|||||||
"",
|
"",
|
||||||
" May be called from any origin.",
|
" May be called from any origin.",
|
||||||
"",
|
"",
|
||||||
" - `calls`: The calls to be dispatched from the same origin.",
|
" - `calls`: The calls to be dispatched from the same origin. The number of call must not",
|
||||||
|
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
|
||||||
"",
|
"",
|
||||||
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
||||||
" bypassing `frame_system::Config::BaseCallFilter`).",
|
" bypassing `frame_system::Config::BaseCallFilter`).",
|
||||||
@@ -8014,8 +7985,24 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"constants": [],
|
"constants": [
|
||||||
"errors": [],
|
{
|
||||||
|
"name": "batched_calls_limit",
|
||||||
|
"type": "u32",
|
||||||
|
"value": "0x0cc30000",
|
||||||
|
"docs": [
|
||||||
|
" The limit on the number of batched calls."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"errors": [
|
||||||
|
{
|
||||||
|
"name": "TooManyCalls",
|
||||||
|
"docs": [
|
||||||
|
" Too many calls batched."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"index": 26
|
"index": 26
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -8627,8 +8614,8 @@
|
|||||||
"value": "0x80f884b02e0000000000000000000000",
|
"value": "0x80f884b02e0000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The amount held on deposit for a registered subaccount. This should account for the fact",
|
" 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",
|
" that one storage item's value will increase by the size of an account ID, and there will",
|
||||||
" another trie item whose value is the size of an account ID plus 32 bytes."
|
" be another trie item whose value is the size of an account ID plus 32 bytes."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -9159,7 +9146,8 @@
|
|||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" Anonymous account has been created by new proxy with given",
|
" Anonymous account has been created by new proxy with given",
|
||||||
" disambiguation index and proxy type. \\[anonymous, who, proxy_type, disambiguation_index\\]"
|
" disambiguation index and proxy type. \\[anonymous, who, proxy_type,",
|
||||||
|
" disambiguation_index\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -9193,9 +9181,9 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The amount of currency needed per proxy added.",
|
" The amount of currency needed per proxy added.",
|
||||||
"",
|
"",
|
||||||
" This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing",
|
" This is held for adding 32 bytes plus an instance of `ProxyType` more into a",
|
||||||
" storage value. Thus, when configuring `ProxyDepositFactor` one should take into account",
|
" pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take",
|
||||||
" `32 + proxy_type.encode().len()` bytes of data."
|
" into account `32 + proxy_type.encode().len()` bytes of data."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -9221,7 +9209,8 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The base amount of currency needed to reserve for creating an announcement.",
|
" The base amount of currency needed to reserve for creating an announcement.",
|
||||||
"",
|
"",
|
||||||
" This is held when a new storage item holding a `Balance` is created (typically 16 bytes)."
|
" This is held when a new storage item holding a `Balance` is created (typically 16",
|
||||||
|
" bytes)."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -9424,9 +9413,8 @@
|
|||||||
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
||||||
" - One event.",
|
" - One event.",
|
||||||
" - The weight of the `call`.",
|
" - The weight of the `call`.",
|
||||||
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a",
|
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit",
|
||||||
" deposit taken for its lifetime of",
|
" taken for its lifetime of `DepositBase + threshold * DepositFactor`.",
|
||||||
" `DepositBase + threshold * DepositFactor`.",
|
|
||||||
" -------------------------------",
|
" -------------------------------",
|
||||||
" - DB Weight:",
|
" - DB Weight:",
|
||||||
" - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)",
|
" - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)",
|
||||||
@@ -9488,9 +9476,8 @@
|
|||||||
" - Up to one binary search and insert (`O(logS + S)`).",
|
" - Up to one binary search and insert (`O(logS + S)`).",
|
||||||
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
||||||
" - One event.",
|
" - One event.",
|
||||||
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a",
|
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit",
|
||||||
" deposit taken for its lifetime of",
|
" taken for its lifetime of `DepositBase + threshold * DepositFactor`.",
|
||||||
" `DepositBase + threshold * DepositFactor`.",
|
|
||||||
" ----------------------------------",
|
" ----------------------------------",
|
||||||
" - DB Weight:",
|
" - DB Weight:",
|
||||||
" - Read: Multisig Storage, [Caller Account]",
|
" - Read: Multisig Storage, [Caller Account]",
|
||||||
@@ -9605,8 +9592,8 @@
|
|||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0x008c61c52e0000000000000000000000",
|
"value": "0x008c61c52e0000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The base amount of currency needed to reserve for creating a multisig execution or to store",
|
" The base amount of currency needed to reserve for creating a multisig execution or to",
|
||||||
" a dispatch call for later.",
|
" store a dispatch call for later.",
|
||||||
"",
|
"",
|
||||||
" This is held for an additional storage item whose value size is",
|
" This is held for an additional storage item whose value size is",
|
||||||
" `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is",
|
" `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is",
|
||||||
@@ -10713,7 +10700,7 @@
|
|||||||
"name": "submit_unsigned",
|
"name": "submit_unsigned",
|
||||||
"args": [
|
"args": [
|
||||||
{
|
{
|
||||||
"name": "solution",
|
"name": "raw_solution",
|
||||||
"type": "RawSolution"
|
"type": "RawSolution"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -10777,7 +10764,7 @@
|
|||||||
"name": "submit",
|
"name": "submit",
|
||||||
"args": [
|
"args": [
|
||||||
{
|
{
|
||||||
"name": "solution",
|
"name": "raw_solution",
|
||||||
"type": "RawSolution"
|
"type": "RawSolution"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -10967,7 +10954,7 @@
|
|||||||
{
|
{
|
||||||
"name": "SignedDepositBase",
|
"name": "SignedDepositBase",
|
||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0x00d0ed902e0000000000000000000000",
|
"value": "0x00a0db215d0000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Base deposit for a signed solution."
|
" Base deposit for a signed solution."
|
||||||
]
|
]
|
||||||
@@ -10975,7 +10962,7 @@
|
|||||||
{
|
{
|
||||||
"name": "SignedDepositByte",
|
"name": "SignedDepositByte",
|
||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0xca9a3b00000000000000000000000000",
|
"value": "0x787d0100000000000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Per-byte deposit for a signed solution."
|
" Per-byte deposit for a signed solution."
|
||||||
]
|
]
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -278,10 +278,11 @@
|
|||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`",
|
" - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`",
|
||||||
" - 1 storage write (codec `O(C)`).",
|
" - 1 storage write (codec `O(C)`).",
|
||||||
" - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is expensive).",
|
" - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is",
|
||||||
|
" expensive).",
|
||||||
" - 1 event.",
|
" - 1 event.",
|
||||||
" The weight of this function is dependent on the runtime, but generally this is very expensive.",
|
" The weight of this function is dependent on the runtime, but generally this is very",
|
||||||
" We will treat this as a full block.",
|
" expensive. We will treat this as a full block.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -300,8 +301,8 @@
|
|||||||
" - `O(C)` where `C` length of `code`",
|
" - `O(C)` where `C` length of `code`",
|
||||||
" - 1 storage write (codec `O(C)`).",
|
" - 1 storage write (codec `O(C)`).",
|
||||||
" - 1 event.",
|
" - 1 event.",
|
||||||
" The weight of this function is dependent on the runtime. We will treat this as a full block.",
|
" The weight of this function is dependent on the runtime. We will treat this as a full",
|
||||||
" # </weight>"
|
" block. # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -499,7 +500,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Version",
|
"name": "Version",
|
||||||
"type": "RuntimeVersion",
|
"type": "RuntimeVersion",
|
||||||
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000b0100000000000034df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf502000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a80100000091d5df18b0d2cf5801000000ab3c0572291feb8b0100000002000000",
|
"value": "0x106e6f6465387375627374726174652d6e6f64650a0000000b0100000000000034df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000bc9d89904f5b923f0100000068b66ba122c93fa70100000037c8bb1350a9a2a80100000091d5df18b0d2cf5801000000ab3c0572291feb8b0100000002000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Get the chain's current version."
|
" Get the chain's current version."
|
||||||
]
|
]
|
||||||
@@ -572,7 +573,8 @@
|
|||||||
"",
|
"",
|
||||||
" May be called from any origin.",
|
" May be called from any origin.",
|
||||||
"",
|
"",
|
||||||
" - `calls`: The calls to be dispatched from the same origin.",
|
" - `calls`: The calls to be dispatched from the same origin. The number of call must not",
|
||||||
|
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
|
||||||
"",
|
"",
|
||||||
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
||||||
" bypassing `frame_system::Config::BaseCallFilter`).",
|
" bypassing `frame_system::Config::BaseCallFilter`).",
|
||||||
@@ -630,7 +632,8 @@
|
|||||||
"",
|
"",
|
||||||
" May be called from any origin.",
|
" May be called from any origin.",
|
||||||
"",
|
"",
|
||||||
" - `calls`: The calls to be dispatched from the same origin.",
|
" - `calls`: The calls to be dispatched from the same origin. The number of call must not",
|
||||||
|
" exceed the constant: `batched_calls_limit` (available in constant metadata).",
|
||||||
"",
|
"",
|
||||||
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
" If origin is root then call are dispatch without checking origin filter. (This includes",
|
||||||
" bypassing `frame_system::Config::BaseCallFilter`).",
|
" bypassing `frame_system::Config::BaseCallFilter`).",
|
||||||
@@ -668,8 +671,24 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"constants": [],
|
"constants": [
|
||||||
"errors": [],
|
{
|
||||||
|
"name": "batched_calls_limit",
|
||||||
|
"type": "u32",
|
||||||
|
"value": "0x73ed0000",
|
||||||
|
"docs": [
|
||||||
|
" The limit on the number of batched calls."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"errors": [
|
||||||
|
{
|
||||||
|
"name": "TooManyCalls",
|
||||||
|
"docs": [
|
||||||
|
" Too many calls batched."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"index": 1
|
"index": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -874,7 +893,8 @@
|
|||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The configuration for the current epoch. Should never be `None` as it is initialized in genesis."
|
" The configuration for the current epoch. Should never be `None` as it is initialized in",
|
||||||
|
" genesis."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1048,7 +1068,8 @@
|
|||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)",
|
" - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)",
|
||||||
" - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in `on_finalize`)",
|
" - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in",
|
||||||
|
" `on_finalize`)",
|
||||||
" - 1 event handler `on_timestamp_set`. Must be `O(1)`.",
|
" - 1 event handler `on_timestamp_set`. Must be `O(1)`.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
@@ -1061,10 +1082,10 @@
|
|||||||
"type": "Moment",
|
"type": "Moment",
|
||||||
"value": "0xdc05000000000000",
|
"value": "0xdc05000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The minimum period between blocks. Beware that this is different to the *expected* period",
|
" The minimum period between blocks. Beware that this is different to the *expected*",
|
||||||
" that the block production apparatus provides. Your chosen consensus system will generally",
|
" period that the block production apparatus provides. Your chosen consensus system will",
|
||||||
" work with this to determine a sensible block time. e.g. For Aura, it will be double this",
|
" generally work with this to determine a sensible block time. e.g. For Aura, it will be",
|
||||||
" period on default settings."
|
" double this period on default settings."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -1350,7 +1371,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" Freeze an index so it will always point to the sender account. This consumes the deposit.",
|
" Freeze an index so it will always point to the sender account. This consumes the",
|
||||||
|
" deposit.",
|
||||||
"",
|
"",
|
||||||
" The dispatch origin for this call must be _Signed_ and the signing account must have a",
|
" The dispatch origin for this call must be _Signed_ and the signing account must have a",
|
||||||
" non-frozen account `index`.",
|
" non-frozen account `index`.",
|
||||||
@@ -1551,18 +1573,19 @@
|
|||||||
" The dispatch origin for this call must be `Signed` by the transactor.",
|
" The dispatch origin for this call must be `Signed` by the transactor.",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Dependent on arguments but not critical, given proper implementations for",
|
" - Dependent on arguments but not critical, given proper implementations for input config",
|
||||||
" input config types. See related functions below.",
|
" types. See related functions below.",
|
||||||
" - It contains a limited number of reads and writes internally and no complex computation.",
|
" - It contains a limited number of reads and writes internally and no complex",
|
||||||
|
" computation.",
|
||||||
"",
|
"",
|
||||||
" Related functions:",
|
" Related functions:",
|
||||||
"",
|
"",
|
||||||
" - `ensure_can_withdraw` is always called internally but has a bounded complexity.",
|
" - `ensure_can_withdraw` is always called internally but has a bounded complexity.",
|
||||||
" - Transferring balances to accounts that did not exist before will cause",
|
" - Transferring balances to accounts that did not exist before will cause",
|
||||||
" `T::OnNewAccount::on_new_account` to be called.",
|
" `T::OnNewAccount::on_new_account` to be called.",
|
||||||
" - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.",
|
" - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.",
|
||||||
" - `transfer_keep_alive` works the same way as `transfer`, but has an additional",
|
" - `transfer_keep_alive` works the same way as `transfer`, but has an additional check",
|
||||||
" check that the transfer will not kill the origin account.",
|
" that the transfer will not kill the origin account.",
|
||||||
" ---------------------------------",
|
" ---------------------------------",
|
||||||
" - Base Weight: 73.64 µs, worst case scenario (account created, account removed)",
|
" - Base Weight: 73.64 µs, worst case scenario (account created, account removed)",
|
||||||
" - DB Weight: 1 Read and 1 Write to destination account",
|
" - DB Weight: 1 Read and 1 Write to destination account",
|
||||||
@@ -1627,8 +1650,8 @@
|
|||||||
" Exactly as `transfer`, except the origin must be root and the source account may be",
|
" Exactly as `transfer`, except the origin must be root and the source account may be",
|
||||||
" specified.",
|
" specified.",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Same as transfer, but additional read and write because the source account is",
|
" - Same as transfer, but additional read and write because the source account is not",
|
||||||
" not assumed to be in the overlay.",
|
" assumed to be in the overlay.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -1685,8 +1708,7 @@
|
|||||||
" - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all",
|
" - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all",
|
||||||
" of the funds the account has, causing the sender account to be killed (false), or",
|
" of the funds the account has, causing the sender account to be killed (false), or",
|
||||||
" transfer everything except at least the existential deposit, which will guarantee to",
|
" transfer everything except at least the existential deposit, which will guarantee to",
|
||||||
" keep the sender account alive (true).",
|
" keep the sender account alive (true). # <weight>",
|
||||||
" # <weight>",
|
|
||||||
" - O(1). Just like transfer, but reading the user's transferable balance first.",
|
" - O(1). Just like transfer, but reading the user's transferable balance first.",
|
||||||
" #</weight>"
|
" #</weight>"
|
||||||
]
|
]
|
||||||
@@ -2068,7 +2090,7 @@
|
|||||||
"name": "submit_unsigned",
|
"name": "submit_unsigned",
|
||||||
"args": [
|
"args": [
|
||||||
{
|
{
|
||||||
"name": "solution",
|
"name": "raw_solution",
|
||||||
"type": "RawSolution"
|
"type": "RawSolution"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -2132,7 +2154,7 @@
|
|||||||
"name": "submit",
|
"name": "submit",
|
||||||
"args": [
|
"args": [
|
||||||
{
|
{
|
||||||
"name": "solution",
|
"name": "raw_solution",
|
||||||
"type": "RawSolution"
|
"type": "RawSolution"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -2985,9 +3007,9 @@
|
|||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The threshold for when users can start calling `chill_other` for other validators / nominators.",
|
" The threshold for when users can start calling `chill_other` for other validators /",
|
||||||
" The threshold is compared to the actual number of validators / nominators (`CountFor*`) in",
|
" nominators. The threshold is compared to the actual number of validators / nominators",
|
||||||
" the system compared to the configured max (`Max*Count`)."
|
" (`CountFor*`) in the system compared to the configured max (`Max*Count`)."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -3044,8 +3066,8 @@
|
|||||||
" The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
|
" The dispatch origin for this call must be _Signed_ by the stash, not the controller.",
|
||||||
"",
|
"",
|
||||||
" Use this if there are additional funds in your stash account that you wish to bond.",
|
" Use this if there are additional funds in your stash account that you wish to bond.",
|
||||||
" Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose any limitation",
|
" Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose",
|
||||||
" on the amount that can be added.",
|
" any limitation on the amount that can be added.",
|
||||||
"",
|
"",
|
||||||
" Emits `Bonded`.",
|
" Emits `Bonded`.",
|
||||||
"",
|
"",
|
||||||
@@ -3357,8 +3379,8 @@
|
|||||||
" # <weight>",
|
" # <weight>",
|
||||||
" O(S) where S is the number of slashing spans to be removed",
|
" O(S) where S is the number of slashing spans to be removed",
|
||||||
" Reads: Bonded, Slashing Spans, Account, Locks",
|
" Reads: Bonded, Slashing Spans, Account, Locks",
|
||||||
" Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Account, Locks",
|
" Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,",
|
||||||
" Writes Each: SpanSlash * S",
|
" Account, Locks Writes Each: SpanSlash * S",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -3484,10 +3506,10 @@
|
|||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `new_history_depth`: The new history depth you would like to set.",
|
" - `new_history_depth`: The new history depth you would like to set.",
|
||||||
" - `era_items_deleted`: The number of items that will be deleted by this dispatch.",
|
" - `era_items_deleted`: The number of items that will be deleted by this dispatch. This",
|
||||||
" This should report all the storage items that will be deleted by clearing old",
|
" should report all the storage items that will be deleted by clearing old era history.",
|
||||||
" era history. Needed to report an accurate weight for the dispatch. Trusted by",
|
" Needed to report an accurate weight for the dispatch. Trusted by `Root` to report an",
|
||||||
" `Root` to report an accurate number.",
|
" accurate number.",
|
||||||
"",
|
"",
|
||||||
" Origin must be root.",
|
" Origin must be root.",
|
||||||
"",
|
"",
|
||||||
@@ -3498,7 +3520,8 @@
|
|||||||
" - Reads: Current Era, History Depth",
|
" - Reads: Current Era, History Depth",
|
||||||
" - Writes: History Depth",
|
" - Writes: History Depth",
|
||||||
" - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs",
|
" - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs",
|
||||||
" - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake, ErasStartSessionIndex",
|
" - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake,",
|
||||||
|
" ErasStartSessionIndex",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -3527,7 +3550,8 @@
|
|||||||
" Complexity: O(S) where S is the number of slashing spans on the account.",
|
" Complexity: O(S) where S is the number of slashing spans on the account.",
|
||||||
" DB Weight:",
|
" DB Weight:",
|
||||||
" - Reads: Stash Account, Bonded, Slashing Spans, Locks",
|
" - Reads: Stash Account, Bonded, Slashing Spans, Locks",
|
||||||
" - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Stash Account, Locks",
|
" - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators,",
|
||||||
|
" Stash Account, Locks",
|
||||||
" - Writes Each: SpanSlash * S",
|
" - Writes Each: SpanSlash * S",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
]
|
]
|
||||||
@@ -3583,10 +3607,10 @@
|
|||||||
"",
|
"",
|
||||||
" * `min_nominator_bond`: The minimum active bond needed to be a nominator.",
|
" * `min_nominator_bond`: The minimum active bond needed to be a nominator.",
|
||||||
" * `min_validator_bond`: The minimum active bond needed to be a validator.",
|
" * `min_validator_bond`: The minimum active bond needed to be a validator.",
|
||||||
" * `max_nominator_count`: The max number of users who can be a nominator at once.",
|
" * `max_nominator_count`: The max number of users who can be a nominator at once. When",
|
||||||
" When set to `None`, no limit is enforced.",
|
" set to `None`, no limit is enforced.",
|
||||||
" * `max_validator_count`: The max number of users who can be a validator at once.",
|
" * `max_validator_count`: The max number of users who can be a validator at once. When",
|
||||||
" When set to `None`, no limit is enforced.",
|
" set to `None`, no limit is enforced.",
|
||||||
"",
|
"",
|
||||||
" Origin must be Root to call this function.",
|
" Origin must be Root to call this function.",
|
||||||
"",
|
"",
|
||||||
@@ -3786,8 +3810,8 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The maximum number of nominators rewarded for each validator.",
|
" The maximum number of nominators rewarded for each validator.",
|
||||||
"",
|
"",
|
||||||
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can claim",
|
" For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can",
|
||||||
" their reward. This used to limit the i/o cost for the nominator payout."
|
" claim their reward. This used to limit the i/o cost for the nominator payout."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -3927,15 +3951,15 @@
|
|||||||
{
|
{
|
||||||
"name": "TooManyNominators",
|
"name": "TooManyNominators",
|
||||||
"docs": [
|
"docs": [
|
||||||
" There are too many nominators in the system. Governance needs to adjust the staking settings",
|
" There are too many nominators in the system. Governance needs to adjust the staking",
|
||||||
" to keep things safe for the runtime."
|
" settings to keep things safe for the runtime."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "TooManyValidators",
|
"name": "TooManyValidators",
|
||||||
"docs": [
|
"docs": [
|
||||||
" There are too many validators in the system. Governance needs to adjust the staking settings",
|
" There are too many validators in the system. Governance needs to adjust the staking",
|
||||||
" to keep things safe for the runtime."
|
" settings to keep things safe for the runtime."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -4095,8 +4119,8 @@
|
|||||||
"SessionIndex"
|
"SessionIndex"
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" New session has happened. Note that the argument is the \\[session_index\\], not the block",
|
" New session has happened. Note that the argument is the \\[session_index\\], not the",
|
||||||
" number as the type might suggest."
|
" block number as the type might suggest."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -4629,8 +4653,8 @@
|
|||||||
" - `to`: The account whose voting the `target` account's voting power will follow.",
|
" - `to`: The account whose voting the `target` account's voting power will follow.",
|
||||||
" - `conviction`: The conviction that will be attached to the delegated votes. When the",
|
" - `conviction`: The conviction that will be attached to the delegated votes. When the",
|
||||||
" account is undelegated, the funds will be locked for the corresponding period.",
|
" account is undelegated, the funds will be locked for the corresponding period.",
|
||||||
" - `balance`: The amount of the account's balance to be used in delegating. This must",
|
" - `balance`: The amount of the account's balance to be used in delegating. This must not",
|
||||||
" not be more than the account's current balance.",
|
" be more than the account's current balance.",
|
||||||
"",
|
"",
|
||||||
" Emits `Delegated`.",
|
" Emits `Delegated`.",
|
||||||
"",
|
"",
|
||||||
@@ -4753,8 +4777,8 @@
|
|||||||
" The dispatch origin of this call must be _Signed_.",
|
" The dispatch origin of this call must be _Signed_.",
|
||||||
"",
|
"",
|
||||||
" - `proposal_hash`: The preimage hash of a proposal.",
|
" - `proposal_hash`: The preimage hash of a proposal.",
|
||||||
" - `proposal_length_upper_bound`: an upper bound on length of the proposal.",
|
" - `proposal_length_upper_bound`: an upper bound on length of the proposal. Extrinsic is",
|
||||||
" Extrinsic is weighted according to this value with no refund.",
|
" weighted according to this value with no refund.",
|
||||||
"",
|
"",
|
||||||
" This will only work after `VotingPeriod` blocks from the time that the preimage was",
|
" This will only work after `VotingPeriod` blocks from the time that the preimage was",
|
||||||
" noted, if it's the same account doing it. If it's a different account, then it'll only",
|
" noted, if it's the same account doing it. If it's a different account, then it'll only",
|
||||||
@@ -4935,7 +4959,8 @@
|
|||||||
"Vec<AccountId>"
|
"Vec<AccountId>"
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" A public proposal has been tabled for referendum vote. \\[proposal_index, deposit, depositors\\]"
|
" A public proposal has been tabled for referendum vote. \\[proposal_index, deposit,",
|
||||||
|
" depositors\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -5080,15 +5105,6 @@
|
|||||||
" \\[proposal_hash, provider, deposit, reaper\\]"
|
" \\[proposal_hash, provider, deposit, reaper\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Unlocked",
|
|
||||||
"args": [
|
|
||||||
"AccountId"
|
|
||||||
],
|
|
||||||
"docs": [
|
|
||||||
" An \\[account\\] has been unlocked successfully."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Blacklisted",
|
"name": "Blacklisted",
|
||||||
"args": [
|
"args": [
|
||||||
@@ -5105,11 +5121,12 @@
|
|||||||
"type": "BlockNumber",
|
"type": "BlockNumber",
|
||||||
"value": "0x002f0d00",
|
"value": "0x002f0d00",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The minimum period of locking and the period between a proposal being approved and enacted.",
|
" The minimum period of locking and the period between a proposal being approved and",
|
||||||
|
" enacted.",
|
||||||
"",
|
"",
|
||||||
" It should generally be a little more than the unstake period to ensure that",
|
" It should generally be a little more than the unstake period to ensure that",
|
||||||
" voting stakers have an opportunity to remove themselves from the system in the case where",
|
" voting stakers have an opportunity to remove themselves from the system in the case",
|
||||||
" they are on the losing side of a vote."
|
" where they are on the losing side of a vote."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -5141,9 +5158,9 @@
|
|||||||
"type": "bool",
|
"type": "bool",
|
||||||
"value": "0x01",
|
"value": "0x01",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Indicator for whether an emergency origin is even allowed to happen. Some chains may want",
|
" Indicator for whether an emergency origin is even allowed to happen. Some chains may",
|
||||||
" to set this permanently to `false`, others may want to condition it on things such as",
|
" want to set this permanently to `false`, others may want to condition it on things such",
|
||||||
" an upgrade having happened recently."
|
" as an upgrade having happened recently."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -5203,12 +5220,6 @@
|
|||||||
" Proposal does not exist"
|
" Proposal does not exist"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "BadIndex",
|
|
||||||
"docs": [
|
|
||||||
" Unknown index"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "AlreadyCanceled",
|
"name": "AlreadyCanceled",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5251,12 +5262,6 @@
|
|||||||
" Identity may not veto a proposal twice"
|
" Identity may not veto a proposal twice"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "NotDelegated",
|
|
||||||
"docs": [
|
|
||||||
" Not delegated"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "DuplicatePreimage",
|
"name": "DuplicatePreimage",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5305,18 +5310,6 @@
|
|||||||
" No proposals waiting"
|
" No proposals waiting"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "NotLocked",
|
|
||||||
"docs": [
|
|
||||||
" The target account does not have a lock."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "NotExpired",
|
|
||||||
"docs": [
|
|
||||||
" The lock on the account to be unlocked has not yet expired."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "NotVoter",
|
"name": "NotVoter",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -5378,12 +5371,6 @@
|
|||||||
" Maximum number of votes reached."
|
" Maximum number of votes reached."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "InvalidWitness",
|
|
||||||
"docs": [
|
|
||||||
" The provided witness data is wrong."
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "TooManyProposals",
|
"name": "TooManyProposals",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -6484,9 +6471,9 @@
|
|||||||
" origin is removed as a runner-up.",
|
" origin is removed as a runner-up.",
|
||||||
" - `origin` is a current member. In this case, the deposit is unreserved and origin is",
|
" - `origin` is a current member. In this case, the deposit is unreserved and origin is",
|
||||||
" removed as a member, consequently not being a candidate for the next round anymore.",
|
" removed as a member, consequently not being a candidate for the next round anymore.",
|
||||||
" Similar to [`remove_member`](Self::remove_member), if replacement runners exists,",
|
" Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they",
|
||||||
" they are immediately used. If the prime is renouncing, then no prime will exist until",
|
" are immediately used. If the prime is renouncing, then no prime will exist until the",
|
||||||
" the next round.",
|
" next round.",
|
||||||
"",
|
"",
|
||||||
" The dispatch origin of this call must be signed, and have one of the above roles.",
|
" The dispatch origin of this call must be signed, and have one of the above roles.",
|
||||||
"",
|
"",
|
||||||
@@ -7617,7 +7604,8 @@
|
|||||||
"",
|
"",
|
||||||
" Instantiation is executed as follows:",
|
" Instantiation is executed as follows:",
|
||||||
"",
|
"",
|
||||||
" - The supplied `code` is instrumented, deployed, and a `code_hash` is created for that code.",
|
" - The supplied `code` is instrumented, deployed, and a `code_hash` is created for that",
|
||||||
|
" code.",
|
||||||
" - If the `code_hash` already exists on the chain the underlying `code` will be shared.",
|
" - If the `code_hash` already exists on the chain the underlying `code` will be shared.",
|
||||||
" - The destination address is computed based on the sender, code_hash and the salt.",
|
" - The destination address is computed based on the sender, code_hash and the salt.",
|
||||||
" - The smart-contract account is created at the computed address.",
|
" - The smart-contract account is created at the computed address.",
|
||||||
@@ -7779,8 +7767,8 @@
|
|||||||
" # Params",
|
" # Params",
|
||||||
"",
|
"",
|
||||||
" - `contract`: The contract that emitted the event.",
|
" - `contract`: The contract that emitted the event.",
|
||||||
" - `data`: Data supplied by the contract. Metadata generated during contract",
|
" - `data`: Data supplied by the contract. Metadata generated during contract compilation",
|
||||||
" compilation is needed to decode it."
|
" is needed to decode it."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -7800,7 +7788,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Schedule",
|
"name": "Schedule",
|
||||||
"type": "Schedule",
|
"type": "Schedule",
|
||||||
"value": "0x0400000000020000000100008000000010000000001000000001000020000000200000000040000000000200020000008e0f0000b04602009a8c0300a9720000767600005e380000ea5e00000753000097000000579e030088130500b60000007a170000c11100005721000099370000483a0000d0110000d8d12c08bc4300005c430000bb2e0000a942000000260000b72300009c370000ad540000de540000ca5400000354000018550000e553000011550000c053000007540000da540000a0530000e85300008d5400004a690000bd680000a56a000096670000b053000013540000055400006a5500009255000060550000f455000033550000cae32900000000007a332a00000000004041290000000000a6fb5d000000000060c02a0000000000e6d6290000000000065329000000000062002a0000000000d425290000000000b0522a00000000005cb3540000000000b41c1600000000008057640000000000000100000000000008f6380000000000710200000000000078d68a210000000098d6de2a000000007c75640900000000466d6f000000000070baac0000000000ec73de07000000007406000000000000922c190000000000fc9f1d00000000008618ee0900000000450200000000000082dc6108000000003e573102000000002704000000000000cc94430b000000009406e1100000000096fa930800000000dc010000000000009c020000000000001843c12400000000f001000000000000b80200000000000094070000000000008a9b2a0000000000561200000000000046432b0000000000ab0c000000000000c08c260000000000b005000000000000acd2260000000000b005000000000000",
|
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000810600004e6202009680030050150000ee180000c2090000cf140000b52600009a000000cc5101005dc002004d090000a206000059080000d80600002b1c0000d41e0000ec0900005ca8b5082d08000043070000e40a00000a0700008d0600000d0600009a0600001f08000010080000be0700008f080000040800004c080000ff07000024080000520800001d080000ac0700003608000029070000ec1f0000881e0000cb200000771e000032080000b7070000f2070000900900000d09000094080000810800001e0800008a25230000000000902e2300000000006c4e22000000000054624900000000008a53220000000000ea3e2200000000003e2c220000000000de18220000000000f04c220000000000ee3a220000000000b2054300000000004e5011000000000050d6650000000000f2030000000000005037410000000000e30100000000000050a02b2000000000587eaf290000000004ece30800000000d4e9550000000000ae7c7f0000000000cabfbe0700000000b90500000000000002af120000000000d2c0170000000000ead5bf07000000009601000000000000d2280c08000000005242e201000000006b03000000000000c2e5520a000000006a36c80f00000000a2c639080000000039010000000000001302000000000000d2b3ac22000000004a010000000000002d02000000000000de0600000000000086ad210000000000a11100000000000080ad220000000000f00b000000000000487b1e0000000000fe0400000000000092fe1e0000000000fe04000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Cost schedule and limits."
|
" Cost schedule and limits."
|
||||||
]
|
]
|
||||||
@@ -7835,8 +7823,9 @@
|
|||||||
" deposited while the contract is alive. Costs for additional storage are added to",
|
" deposited while the contract is alive. Costs for additional storage are added to",
|
||||||
" this base cost.",
|
" this base cost.",
|
||||||
"",
|
"",
|
||||||
" This is a simple way to ensure that contracts with empty storage eventually get deleted by",
|
" This is a simple way to ensure that contracts with empty storage eventually get deleted",
|
||||||
" making them pay rent. This creates an incentive to remove them early in order to save rent."
|
" by making them pay rent. This creates an incentive to remove them early in order to save",
|
||||||
|
" rent."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -7846,10 +7835,10 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The balance a contract needs to deposit per storage byte to stay alive indefinitely.",
|
" The balance a contract needs to deposit per storage byte to stay alive indefinitely.",
|
||||||
"",
|
"",
|
||||||
" Let's suppose the deposit is 1,000 BU (balance units)/byte and the rent is 1 BU/byte/day,",
|
" Let's suppose the deposit is 1,000 BU (balance units)/byte and the rent is 1",
|
||||||
" then a contract with 1,000,000 BU that uses 1,000 bytes of storage would pay no rent.",
|
" BU/byte/day, then a contract with 1,000,000 BU that uses 1,000 bytes of storage would",
|
||||||
" But if the balance reduced to 500,000 BU and the storage stayed the same at 1,000,",
|
" pay no rent. But if the balance reduced to 500,000 BU and the storage stayed the same at",
|
||||||
" then it would pay 500 BU/day."
|
" 1,000, then it would pay 500 BU/day."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -7886,7 +7875,7 @@
|
|||||||
{
|
{
|
||||||
"name": "DeletionQueueDepth",
|
"name": "DeletionQueueDepth",
|
||||||
"type": "u32",
|
"type": "u32",
|
||||||
"value": "0x1a040000",
|
"value": "0x18040000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The maximum number of tries that can be queued for deletion."
|
" The maximum number of tries that can be queued for deletion."
|
||||||
]
|
]
|
||||||
@@ -8213,7 +8202,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo key.",
|
" Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo",
|
||||||
|
" key.",
|
||||||
"",
|
"",
|
||||||
" The dispatch origin for this call must be _Signed_.",
|
" The dispatch origin for this call must be _Signed_.",
|
||||||
"",
|
"",
|
||||||
@@ -8381,8 +8371,8 @@
|
|||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len)",
|
" - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is",
|
||||||
" and E is length of `heartbeat.network_state.external_address`",
|
" length of `heartbeat.network_state.external_address`",
|
||||||
" - `O(K)`: decoding of length `K`",
|
" - `O(K)`: decoding of length `K`",
|
||||||
" - `O(E)`: decoding/encoding of length `E`",
|
" - `O(E)`: decoding/encoding of length `E`",
|
||||||
" - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,",
|
" - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,",
|
||||||
@@ -9181,8 +9171,8 @@
|
|||||||
"value": "0x0080f420e6b500000000000000000000",
|
"value": "0x0080f420e6b500000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The amount held on deposit for a registered subaccount. This should account for the fact",
|
" 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",
|
" that one storage item's value will increase by the size of an account ID, and there will",
|
||||||
" another trie item whose value is the size of an account ID plus 32 bytes."
|
" be another trie item whose value is the size of an account ID plus 32 bytes."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -10446,13 +10436,13 @@
|
|||||||
" The dispatch origin for this call must be _Signed_.",
|
" The dispatch origin for this call must be _Signed_.",
|
||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `friends`: A list of friends you trust to vouch for recovery attempts.",
|
" - `friends`: A list of friends you trust to vouch for recovery attempts. Should be",
|
||||||
" Should be ordered and contain no duplicate values.",
|
" ordered and contain no duplicate values.",
|
||||||
" - `threshold`: The number of friends that must vouch for a recovery attempt",
|
" - `threshold`: The number of friends that must vouch for a recovery attempt before the",
|
||||||
" before the account can be recovered. Should be less than or equal to",
|
" account can be recovered. Should be less than or equal to the length of the list of",
|
||||||
" the length of the list of friends.",
|
" friends.",
|
||||||
" - `delay_period`: The number of blocks after a recovery attempt is initialized",
|
" - `delay_period`: The number of blocks after a recovery attempt is initialized that",
|
||||||
" that needs to pass before the account can be recovered.",
|
" needs to pass before the account can be recovered.",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Key: F (len of friends)",
|
" - Key: F (len of friends)",
|
||||||
@@ -10484,8 +10474,8 @@
|
|||||||
" The dispatch origin for this call must be _Signed_.",
|
" The dispatch origin for this call must be _Signed_.",
|
||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `account`: The lost account that you want to recover. This account",
|
" - `account`: The lost account that you want to recover. This account needs to be",
|
||||||
" needs to be recoverable (i.e. have a recovery configuration).",
|
" recoverable (i.e. have a recovery configuration).",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - One storage read to check that account is recoverable. O(F)",
|
" - One storage read to check that account is recoverable. O(F)",
|
||||||
@@ -10520,8 +10510,7 @@
|
|||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `lost`: The lost account that you want to recover.",
|
" - `lost`: The lost account that you want to recover.",
|
||||||
" - `rescuer`: The account trying to rescue the lost account that you",
|
" - `rescuer`: The account trying to rescue the lost account that you want to vouch for.",
|
||||||
" want to vouch for.",
|
|
||||||
"",
|
"",
|
||||||
" The combination of these two parameters must point to an active recovery",
|
" The combination of these two parameters must point to an active recovery",
|
||||||
" process.",
|
" process.",
|
||||||
@@ -10555,8 +10544,8 @@
|
|||||||
" `threshold` or more vouches, waited `delay_period` blocks since initiation.",
|
" `threshold` or more vouches, waited `delay_period` blocks since initiation.",
|
||||||
"",
|
"",
|
||||||
" Parameters:",
|
" Parameters:",
|
||||||
" - `account`: The lost account that you want to claim has been successfully",
|
" - `account`: The lost account that you want to claim has been successfully recovered by",
|
||||||
" recovered by you.",
|
" you.",
|
||||||
"",
|
"",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" Key: F (len of friends in config), V (len of vouching friends)",
|
" Key: F (len of friends in config), V (len of vouching friends)",
|
||||||
@@ -10733,9 +10722,11 @@
|
|||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0x00203d88792d00000000000000000000",
|
"value": "0x00203d88792d00000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The amount of currency needed per additional user when creating a recovery configuration.",
|
" The amount of currency needed per additional user when creating a recovery",
|
||||||
|
" configuration.",
|
||||||
"",
|
"",
|
||||||
" This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage value."
|
" This is held for adding `sizeof(AccountId)` bytes more into a pre-existing storage",
|
||||||
|
" value."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -11322,8 +11313,8 @@
|
|||||||
"type": "Weight",
|
"type": "Weight",
|
||||||
"value": "0x00806e8774010000",
|
"value": "0x00806e8774010000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The maximum weight that may be scheduled per block for any dispatchables of less priority",
|
" The maximum weight that may be scheduled per block for any dispatchables of less",
|
||||||
" than `schedule::HARD_DEADLINE`."
|
" priority than `schedule::HARD_DEADLINE`."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -11765,7 +11756,8 @@
|
|||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" Anonymous account has been created by new proxy with given",
|
" Anonymous account has been created by new proxy with given",
|
||||||
" disambiguation index and proxy type. \\[anonymous, who, proxy_type, disambiguation_index\\]"
|
" disambiguation index and proxy type. \\[anonymous, who, proxy_type,",
|
||||||
|
" disambiguation_index\\]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -11799,9 +11791,9 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The amount of currency needed per proxy added.",
|
" The amount of currency needed per proxy added.",
|
||||||
"",
|
"",
|
||||||
" This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing",
|
" This is held for adding 32 bytes plus an instance of `ProxyType` more into a",
|
||||||
" storage value. Thus, when configuring `ProxyDepositFactor` one should take into account",
|
" pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take",
|
||||||
" `32 + proxy_type.encode().len()` bytes of data."
|
" into account `32 + proxy_type.encode().len()` bytes of data."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -11827,7 +11819,8 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" The base amount of currency needed to reserve for creating an announcement.",
|
" The base amount of currency needed to reserve for creating an announcement.",
|
||||||
"",
|
"",
|
||||||
" This is held when a new storage item holding a `Balance` is created (typically 16 bytes)."
|
" This is held when a new storage item holding a `Balance` is created (typically 16",
|
||||||
|
" bytes)."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -12030,9 +12023,8 @@
|
|||||||
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
||||||
" - One event.",
|
" - One event.",
|
||||||
" - The weight of the `call`.",
|
" - The weight of the `call`.",
|
||||||
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a",
|
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit",
|
||||||
" deposit taken for its lifetime of",
|
" taken for its lifetime of `DepositBase + threshold * DepositFactor`.",
|
||||||
" `DepositBase + threshold * DepositFactor`.",
|
|
||||||
" -------------------------------",
|
" -------------------------------",
|
||||||
" - DB Weight:",
|
" - DB Weight:",
|
||||||
" - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)",
|
" - Reads: Multisig Storage, [Caller Account], Calls (if `store_call`)",
|
||||||
@@ -12094,9 +12086,8 @@
|
|||||||
" - Up to one binary search and insert (`O(logS + S)`).",
|
" - Up to one binary search and insert (`O(logS + S)`).",
|
||||||
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
" - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.",
|
||||||
" - One event.",
|
" - One event.",
|
||||||
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a",
|
" - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit",
|
||||||
" deposit taken for its lifetime of",
|
" taken for its lifetime of `DepositBase + threshold * DepositFactor`.",
|
||||||
" `DepositBase + threshold * DepositFactor`.",
|
|
||||||
" ----------------------------------",
|
" ----------------------------------",
|
||||||
" - DB Weight:",
|
" - DB Weight:",
|
||||||
" - Read: Multisig Storage, [Caller Account]",
|
" - Read: Multisig Storage, [Caller Account]",
|
||||||
@@ -12211,8 +12202,8 @@
|
|||||||
"type": "BalanceOf",
|
"type": "BalanceOf",
|
||||||
"value": "0x00f01c0adbed01000000000000000000",
|
"value": "0x00f01c0adbed01000000000000000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The base amount of currency needed to reserve for creating a multisig execution or to store",
|
" The base amount of currency needed to reserve for creating a multisig execution or to",
|
||||||
" a dispatch call for later.",
|
" store a dispatch call for later.",
|
||||||
"",
|
"",
|
||||||
" This is held for an additional storage item whose value size is",
|
" This is held for an additional storage item whose value size is",
|
||||||
" `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is",
|
" `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is",
|
||||||
@@ -13311,8 +13302,8 @@
|
|||||||
" - `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.",
|
||||||
" - `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 `transfer_ownership`",
|
" over this asset, but may later change and configure the permissions using",
|
||||||
" and `set_team`.",
|
" `transfer_ownership` and `set_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",
|
||||||
" have. If an account's balance is reduced below this, then it collapses to zero.",
|
" have. If an account's balance is reduced below this, then it collapses to zero.",
|
||||||
"",
|
"",
|
||||||
@@ -14304,7 +14295,8 @@
|
|||||||
{
|
{
|
||||||
"name": "NoProvider",
|
"name": "NoProvider",
|
||||||
"docs": [
|
"docs": [
|
||||||
" No provider reference exists to allow a non-zero balance of a non-self-sufficient asset."
|
" No provider reference exists to allow a non-zero balance of a non-self-sufficient",
|
||||||
|
" asset."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -14969,8 +14961,8 @@
|
|||||||
{
|
{
|
||||||
"name": "BidTooLow",
|
"name": "BidTooLow",
|
||||||
"docs": [
|
"docs": [
|
||||||
" The queue for the bid's duration is full and the amount bid is too low to get in through",
|
" The queue for the bid's duration is full and the amount bid is too low to get in",
|
||||||
" replacing an existing bid."
|
" through replacing an existing bid."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -16313,9 +16305,9 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"docs": [
|
"docs": [
|
||||||
" Index and store data on chain. Minimum data size is 1 bytes, maximum is `MaxTransactionSize`.",
|
" Index and store data on chain. Minimum data size is 1 bytes, maximum is",
|
||||||
" Data will be removed after `STORAGE_PERIOD` blocks, unless `renew` is called.",
|
" `MaxTransactionSize`. Data will be removed after `STORAGE_PERIOD` blocks, unless `renew`",
|
||||||
" # <weight>",
|
" is called. # <weight>",
|
||||||
" - n*log(n) of data size, as all data is pushed to an in-memory trie.",
|
" - n*log(n) of data size, as all data is pushed to an in-memory trie.",
|
||||||
" Additionally contains a DB write.",
|
" Additionally contains a DB write.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
@@ -16355,7 +16347,8 @@
|
|||||||
" Check storage proof for block number `block_number() - StoragePeriod`.",
|
" Check storage proof for block number `block_number() - StoragePeriod`.",
|
||||||
" If such block does not exist the proof is expected to be `None`.",
|
" If such block does not exist the proof is expected to be `None`.",
|
||||||
" # <weight>",
|
" # <weight>",
|
||||||
" - Linear w.r.t the number of indexed transactions in the proved block for random probing.",
|
" - Linear w.r.t the number of indexed transactions in the proved block for random",
|
||||||
|
" probing.",
|
||||||
" There's a DB read for each transaction.",
|
" There's a DB read for each transaction.",
|
||||||
" Here we assume a maximum of 100 probed transactions.",
|
" Here we assume a maximum of 100 probed transactions.",
|
||||||
" # </weight>"
|
" # </weight>"
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-support', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/types-support', version: '5.6.1' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@polkadot/types",
|
"name": "@polkadot/types",
|
||||||
"version": "5.5.2",
|
"version": "5.6.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Implementation of the Parity codec",
|
"description": "Implementation of the Parity codec",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^7.2.1",
|
"@polkadot/keyring": "^7.2.1",
|
||||||
"@polkadot/types-support": "5.5.2",
|
"@polkadot/types-support": "5.6.1",
|
||||||
"@types/bn.js": "^4.11.6",
|
"@types/bn.js": "^4.11.6",
|
||||||
"bn.js": "^4.11.9"
|
"bn.js": "^4.11.9"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ import type { Multiplier } from '@polkadot/types/interfaces/txpayment';
|
|||||||
import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
|
import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
|
||||||
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 { AccountId32Junction, AccountIndex64Junction, AccountKey20Junction, AssetInstance, BodyId, BodyPart, BodyPartAtLeastProportion, BodyPartFraction, BodyPartMoreThanProportion, DoubleEncodedCall, InboundStatus, Junction, MultiAsset, MultiAssetAbstractFungible, MultiAssetAbstractNonFungible, MultiAssetConcreteFungible, MultiAssetConcreteNonFungible, MultiLocation, NetworkId, OutboundStatus, Outcome, PluralityJunction, QueueConfigData, VersionedMultiAsset, VersionedMultiLocation, VersionedXcm, Xcm, XcmAssetEffects, XcmError, XcmHrmpChannelAccepted, XcmHrmpChannelClosing, XcmHrmpNewChannelOpenRequest, XcmOrder, XcmOrderBuyExecution, XcmOrderDepositAsset, XcmOrderDepositReserveAsset, XcmOrderExchangeAsset, XcmOrderInitiateReserveWithdraw, XcmOrderInitiateTeleport, XcmOrderQueryHolding, XcmOrigin, XcmOriginKind, XcmQueryResponse, XcmRelayedFrom, XcmReserveAssetDeposit, XcmResponse, XcmTeleportAsset, XcmTransact, XcmTransferAsset, XcmTransferReserveAsset, XcmWithdrawAsset, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
|
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, BodyId, BodyPart, DoubleEncodedCall, Fungibility, InboundStatus, Junction, MultiAsset, MultiAssetFilter, MultiAssetV0, MultiAssetV1, MultiAssets, MultiLocation, NetworkId, OutboundStatus, Outcome, QueueConfigData, VersionedMultiAsset, VersionedMultiLocation, VersionedXcm, WildFungibility, WildMultiAsset, Xcm, XcmAssetId, XcmError, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrigin, XcmOriginKind, XcmResponse, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
|
||||||
|
|
||||||
declare module '@polkadot/types/types/registry' {
|
declare module '@polkadot/types/types/registry' {
|
||||||
export interface InterfaceTypes {
|
export interface InterfaceTypes {
|
||||||
@@ -68,17 +68,14 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
AccountId: AccountId;
|
AccountId: AccountId;
|
||||||
AccountId20: AccountId20;
|
AccountId20: AccountId20;
|
||||||
AccountId32: AccountId32;
|
AccountId32: AccountId32;
|
||||||
AccountId32Junction: AccountId32Junction;
|
|
||||||
AccountIdOf: AccountIdOf;
|
AccountIdOf: AccountIdOf;
|
||||||
AccountIndex: AccountIndex;
|
AccountIndex: AccountIndex;
|
||||||
AccountIndex64Junction: AccountIndex64Junction;
|
|
||||||
AccountInfo: AccountInfo;
|
AccountInfo: AccountInfo;
|
||||||
AccountInfoWithDualRefCount: AccountInfoWithDualRefCount;
|
AccountInfoWithDualRefCount: AccountInfoWithDualRefCount;
|
||||||
AccountInfoWithProviders: AccountInfoWithProviders;
|
AccountInfoWithProviders: AccountInfoWithProviders;
|
||||||
AccountInfoWithRefCount: AccountInfoWithRefCount;
|
AccountInfoWithRefCount: AccountInfoWithRefCount;
|
||||||
AccountInfoWithRefCountU8: AccountInfoWithRefCountU8;
|
AccountInfoWithRefCountU8: AccountInfoWithRefCountU8;
|
||||||
AccountInfoWithTripleRefCount: AccountInfoWithTripleRefCount;
|
AccountInfoWithTripleRefCount: AccountInfoWithTripleRefCount;
|
||||||
AccountKey20Junction: AccountKey20Junction;
|
|
||||||
AccountStatus: AccountStatus;
|
AccountStatus: AccountStatus;
|
||||||
AccountValidity: AccountValidity;
|
AccountValidity: AccountValidity;
|
||||||
AccountVote: AccountVote;
|
AccountVote: AccountVote;
|
||||||
@@ -105,6 +102,8 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
AssetDetails: AssetDetails;
|
AssetDetails: AssetDetails;
|
||||||
AssetId: AssetId;
|
AssetId: AssetId;
|
||||||
AssetInstance: AssetInstance;
|
AssetInstance: AssetInstance;
|
||||||
|
AssetInstanceV0: AssetInstanceV0;
|
||||||
|
AssetInstanceV1: AssetInstanceV1;
|
||||||
AssetMetadata: AssetMetadata;
|
AssetMetadata: AssetMetadata;
|
||||||
AssetOptions: AssetOptions;
|
AssetOptions: AssetOptions;
|
||||||
AssignmentId: AssignmentId;
|
AssignmentId: AssignmentId;
|
||||||
@@ -158,9 +157,6 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
BlockWeights: BlockWeights;
|
BlockWeights: BlockWeights;
|
||||||
BodyId: BodyId;
|
BodyId: BodyId;
|
||||||
BodyPart: BodyPart;
|
BodyPart: BodyPart;
|
||||||
BodyPartAtLeastProportion: BodyPartAtLeastProportion;
|
|
||||||
BodyPartFraction: BodyPartFraction;
|
|
||||||
BodyPartMoreThanProportion: BodyPartMoreThanProportion;
|
|
||||||
bool: bool;
|
bool: bool;
|
||||||
Bool: Bool;
|
Bool: Bool;
|
||||||
Bounty: Bounty;
|
Bounty: Bounty;
|
||||||
@@ -405,6 +401,7 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
FunctionMetadataV9: FunctionMetadataV9;
|
FunctionMetadataV9: FunctionMetadataV9;
|
||||||
FundIndex: FundIndex;
|
FundIndex: FundIndex;
|
||||||
FundInfo: FundInfo;
|
FundInfo: FundInfo;
|
||||||
|
Fungibility: Fungibility;
|
||||||
Gas: Gas;
|
Gas: Gas;
|
||||||
GiltBid: GiltBid;
|
GiltBid: GiltBid;
|
||||||
GlobalValidationData: GlobalValidationData;
|
GlobalValidationData: GlobalValidationData;
|
||||||
@@ -550,10 +547,10 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
MortalEra: MortalEra;
|
MortalEra: MortalEra;
|
||||||
MultiAddress: MultiAddress;
|
MultiAddress: MultiAddress;
|
||||||
MultiAsset: MultiAsset;
|
MultiAsset: MultiAsset;
|
||||||
MultiAssetAbstractFungible: MultiAssetAbstractFungible;
|
MultiAssetFilter: MultiAssetFilter;
|
||||||
MultiAssetAbstractNonFungible: MultiAssetAbstractNonFungible;
|
MultiAssets: MultiAssets;
|
||||||
MultiAssetConcreteFungible: MultiAssetConcreteFungible;
|
MultiAssetV0: MultiAssetV0;
|
||||||
MultiAssetConcreteNonFungible: MultiAssetConcreteNonFungible;
|
MultiAssetV1: MultiAssetV1;
|
||||||
MultiDisputeStatementSet: MultiDisputeStatementSet;
|
MultiDisputeStatementSet: MultiDisputeStatementSet;
|
||||||
MultiLocation: MultiLocation;
|
MultiLocation: MultiLocation;
|
||||||
Multiplier: Multiplier;
|
Multiplier: Multiplier;
|
||||||
@@ -656,7 +653,6 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
PhantomData: PhantomData;
|
PhantomData: PhantomData;
|
||||||
Phase: Phase;
|
Phase: Phase;
|
||||||
PhragmenScore: PhragmenScore;
|
PhragmenScore: PhragmenScore;
|
||||||
PluralityJunction: PluralityJunction;
|
|
||||||
Points: Points;
|
Points: Points;
|
||||||
PortableRegistry: PortableRegistry;
|
PortableRegistry: PortableRegistry;
|
||||||
PortableType: PortableType;
|
PortableType: PortableType;
|
||||||
@@ -971,36 +967,22 @@ declare module '@polkadot/types/types/registry' {
|
|||||||
WeightMultiplier: WeightMultiplier;
|
WeightMultiplier: WeightMultiplier;
|
||||||
WeightPerClass: WeightPerClass;
|
WeightPerClass: WeightPerClass;
|
||||||
WeightToFeeCoefficient: WeightToFeeCoefficient;
|
WeightToFeeCoefficient: WeightToFeeCoefficient;
|
||||||
|
WildFungibility: WildFungibility;
|
||||||
|
WildMultiAsset: WildMultiAsset;
|
||||||
WinnersData: WinnersData;
|
WinnersData: WinnersData;
|
||||||
WinnersDataTuple: WinnersDataTuple;
|
WinnersDataTuple: WinnersDataTuple;
|
||||||
WinningData: WinningData;
|
WinningData: WinningData;
|
||||||
WinningDataEntry: WinningDataEntry;
|
WinningDataEntry: WinningDataEntry;
|
||||||
WithdrawReasons: WithdrawReasons;
|
WithdrawReasons: WithdrawReasons;
|
||||||
Xcm: Xcm;
|
Xcm: Xcm;
|
||||||
XcmAssetEffects: XcmAssetEffects;
|
XcmAssetId: XcmAssetId;
|
||||||
XcmError: XcmError;
|
XcmError: XcmError;
|
||||||
XcmHrmpChannelAccepted: XcmHrmpChannelAccepted;
|
|
||||||
XcmHrmpChannelClosing: XcmHrmpChannelClosing;
|
|
||||||
XcmHrmpNewChannelOpenRequest: XcmHrmpNewChannelOpenRequest;
|
|
||||||
XcmOrder: XcmOrder;
|
XcmOrder: XcmOrder;
|
||||||
XcmOrderBuyExecution: XcmOrderBuyExecution;
|
XcmOrderV0: XcmOrderV0;
|
||||||
XcmOrderDepositAsset: XcmOrderDepositAsset;
|
XcmOrderV1: XcmOrderV1;
|
||||||
XcmOrderDepositReserveAsset: XcmOrderDepositReserveAsset;
|
|
||||||
XcmOrderExchangeAsset: XcmOrderExchangeAsset;
|
|
||||||
XcmOrderInitiateReserveWithdraw: XcmOrderInitiateReserveWithdraw;
|
|
||||||
XcmOrderInitiateTeleport: XcmOrderInitiateTeleport;
|
|
||||||
XcmOrderQueryHolding: XcmOrderQueryHolding;
|
|
||||||
XcmOrigin: XcmOrigin;
|
XcmOrigin: XcmOrigin;
|
||||||
XcmOriginKind: XcmOriginKind;
|
XcmOriginKind: XcmOriginKind;
|
||||||
XcmpMessageFormat: XcmpMessageFormat;
|
XcmpMessageFormat: XcmpMessageFormat;
|
||||||
XcmQueryResponse: XcmQueryResponse;
|
|
||||||
XcmRelayedFrom: XcmRelayedFrom;
|
|
||||||
XcmReserveAssetDeposit: XcmReserveAssetDeposit;
|
|
||||||
XcmResponse: XcmResponse;
|
XcmResponse: XcmResponse;
|
||||||
XcmTeleportAsset: XcmTeleportAsset;
|
|
||||||
XcmTransact: XcmTransact;
|
|
||||||
XcmTransferAsset: XcmTransferAsset;
|
|
||||||
XcmTransferReserveAsset: XcmTransferReserveAsset;
|
|
||||||
XcmWithdrawAsset: XcmWithdrawAsset;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,21 +7,6 @@
|
|||||||
import type { Definitions } from '../../types';
|
import type { Definitions } from '../../types';
|
||||||
|
|
||||||
const xcm = {
|
const xcm = {
|
||||||
XcmAssetEffects: {
|
|
||||||
assets: 'Vec<MultiAsset>',
|
|
||||||
effects: 'Vec<XcmOrder>'
|
|
||||||
},
|
|
||||||
XcmWithdrawAsset: 'XcmAssetEffects',
|
|
||||||
XcmReserveAssetDeposit: 'XcmAssetEffects',
|
|
||||||
XcmTeleportAsset: 'XcmAssetEffects',
|
|
||||||
XcmQueryResponse: { queryId: 'Compact<u64>', response: 'XcmResponse' },
|
|
||||||
XcmTransferAsset: { assets: 'Vec<MultiAsset>', dest: 'MultiLocation' },
|
|
||||||
XcmTransferReserveAsset: { assets: 'Vec<MultiAsset>', dest: 'MultiLocation', effects: 'Vec<XcmOrder>' },
|
|
||||||
XcmTransact: { originType: 'XcmOriginKind', requireWeightAtMost: 'u64', call: 'DoubleEncodedCall' },
|
|
||||||
XcmHrmpNewChannelOpenRequest: { sender: 'Compact<u32>', maxMessageSize: 'Compact<u32>', maxCapacity: 'Compact<u32>' },
|
|
||||||
XcmHrmpChannelAccepted: { recipient: 'Compact<u32>' },
|
|
||||||
XcmHrmpChannelClosing: { initiator: 'Compact<u32>', sender: 'Compact<u32>', recipient: 'Compact<u32>' },
|
|
||||||
XcmRelayedFrom: { who: 'MultiLocation', message: 'Xcm' },
|
|
||||||
XcmOrigin: {
|
XcmOrigin: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Xcm: 'MultiLocation'
|
Xcm: 'MultiLocation'
|
||||||
@@ -29,17 +14,53 @@ const xcm = {
|
|||||||
},
|
},
|
||||||
Xcm: {
|
Xcm: {
|
||||||
_enum: {
|
_enum: {
|
||||||
WithdrawAsset: 'XcmWithdrawAsset',
|
WithdrawAsset: {
|
||||||
ReserveAssetDeposit: 'XcmReserveAssetDeposit',
|
assets: 'MultiAssets',
|
||||||
TeleportAsset: 'XcmTeleportAsset',
|
effects: 'Vec<XcmOrderV0>'
|
||||||
QueryResponse: 'XcmQueryResponse',
|
},
|
||||||
TransferAsset: 'XcmTransferAsset',
|
ReserveAssetDeposit: {
|
||||||
TransferReserveAsset: 'XcmTransferReserveAsset',
|
assets: 'MultiAssets',
|
||||||
Transact: 'XcmTransact',
|
effects: 'Vec<XcmOrderV0>'
|
||||||
HrmpNewChannelOpenRequest: 'XcmHrmpNewChannelOpenRequest',
|
},
|
||||||
HrmpChannelAccepted: 'XcmHrmpChannelAccepted',
|
ReceiveTeleportedAsset: {
|
||||||
HrmpChannelClosing: 'XcmHrmpChannelClosing',
|
assets: 'MultiAssets',
|
||||||
RelayedFrom: 'XcmRelayedFrom'
|
effects: 'Vec<XcmOrderV0>'
|
||||||
|
},
|
||||||
|
QueryResponse: {
|
||||||
|
queryId: 'Compact<u64>',
|
||||||
|
response: 'XcmResponse'
|
||||||
|
},
|
||||||
|
TransferAsset: {
|
||||||
|
assets: 'MultiAssets',
|
||||||
|
dest: 'MultiLocation'
|
||||||
|
},
|
||||||
|
TransferReserveAsset: {
|
||||||
|
assets: 'MultiAssets',
|
||||||
|
dest: 'MultiLocation',
|
||||||
|
effects: 'Vec<XcmOrderV0>'
|
||||||
|
},
|
||||||
|
Transact: {
|
||||||
|
originType: 'XcmOriginKind',
|
||||||
|
requireWeightAtMost: 'u64',
|
||||||
|
call: 'DoubleEncodedCall'
|
||||||
|
},
|
||||||
|
HrmpNewChannelOpenRequest: {
|
||||||
|
sender: 'Compact<u32>',
|
||||||
|
maxMessageSize: 'Compact<u32>',
|
||||||
|
maxCapacity: 'Compact<u32>'
|
||||||
|
},
|
||||||
|
HrmpChannelAccepted: {
|
||||||
|
recipient: 'Compact<u32>'
|
||||||
|
},
|
||||||
|
HrmpChannelClosing: {
|
||||||
|
initiator: 'Compact<u32>',
|
||||||
|
sender: 'Compact<u32>',
|
||||||
|
recipient: 'Compact<u32>'
|
||||||
|
},
|
||||||
|
RelayedFrom: {
|
||||||
|
who: 'MultiLocation',
|
||||||
|
message: 'Xcm'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
XcmpMessageFormat: {
|
XcmpMessageFormat: {
|
||||||
@@ -53,51 +74,146 @@ const xcm = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const xmcOrder = {
|
const xmcOrder = {
|
||||||
XcmOrderDepositAsset: { assets: 'Vec<MultiAsset>', dest: 'MultiLocation' },
|
XcmOrder: 'XcmOrderV1',
|
||||||
XcmOrderDepositReserveAsset: { assets: 'Vec<MultiAsset>', dest: 'MultiLocation', effects: 'Vec<XcmOrder>' },
|
XcmOrderV0: {
|
||||||
XcmOrderExchangeAsset: { give: 'Vec<MultiAsset>', receive: 'Vec<MultiAsset>' },
|
|
||||||
XcmOrderInitiateReserveWithdraw: { assets: 'Vec<MultiAsset>', reserve: 'MultiLocation', effects: 'Vec<XcmOrder>' },
|
|
||||||
XcmOrderInitiateTeleport: { assets: 'Vec<MultiAsset>', dest: 'MultiLocation', effects: 'Vec<XcmOrder>' },
|
|
||||||
XcmOrderQueryHolding: { queryId: 'Compact<u64>', dest: 'MultiLocation', assets: 'Vec<MultiAsset>' },
|
|
||||||
XcmOrderBuyExecution: { fees: 'MultiAsset', weight: 'u64', debt: 'u64', haltOnError: 'bool', xcm: 'Vec<Xcm>' },
|
|
||||||
XcmOrder: {
|
|
||||||
_enum: {
|
_enum: {
|
||||||
Null: 'Null',
|
Null: 'Null',
|
||||||
DepositAsset: 'XcmOrderDepositAsset',
|
DepositAsset: {
|
||||||
DepositReserveAsset: 'XcmOrderDepositReserveAsset',
|
assets: 'Vec<MultiAsset>',
|
||||||
ExchangeAsset: 'XcmOrderExchangeAsset',
|
dest: 'MultiLocation'
|
||||||
InitiateReserveWithdraw: 'XcmOrderInitiateReserveWithdraw',
|
},
|
||||||
InitiateTeleport: 'XcmOrderInitiateTeleport',
|
DepositReserveAsset: {
|
||||||
QueryHolding: 'XcmOrderQueryHolding',
|
assets: 'Vec<MultiAsset>',
|
||||||
BuyExecution: 'XcmOrderBuyExecution'
|
dest: 'MultiLocation',
|
||||||
|
effects: 'Vec<XcmOrderV0>'
|
||||||
|
},
|
||||||
|
ExchangeAsset: {
|
||||||
|
give: 'Vec<MultiAsset>',
|
||||||
|
receive: 'Vec<MultiAsset>'
|
||||||
|
},
|
||||||
|
InitiateReserveWithdraw: {
|
||||||
|
assets: 'Vec<MultiAsset>',
|
||||||
|
reserve: 'MultiLocation',
|
||||||
|
effects: 'Vec<XcmOrderV0>'
|
||||||
|
},
|
||||||
|
InitiateTeleport: {
|
||||||
|
assets: 'Vec<MultiAsset>',
|
||||||
|
dest: 'MultiLocation',
|
||||||
|
effects: 'Vec<XcmOrderV0>'
|
||||||
|
},
|
||||||
|
QueryHolding: {
|
||||||
|
queryId: 'Compact<u64>',
|
||||||
|
dest: 'MultiLocation',
|
||||||
|
assets: 'Vec<MultiAsset>'
|
||||||
|
},
|
||||||
|
BuyExecution: {
|
||||||
|
fees: 'MultiAsset',
|
||||||
|
weight: 'u64',
|
||||||
|
debt: 'u64',
|
||||||
|
haltOnError: 'bool',
|
||||||
|
xcm: 'Vec<Xcm>'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
XcmOrderV1: {
|
||||||
|
_enum: {
|
||||||
|
Noop: 'Null',
|
||||||
|
DepositAsset: {
|
||||||
|
assets: 'MultiAssetFilter',
|
||||||
|
maxAssets: 'u32',
|
||||||
|
beneficiary: 'MultiLocation'
|
||||||
|
},
|
||||||
|
DepositReserveAsset: {
|
||||||
|
assets: 'MultiAssetFilter',
|
||||||
|
maxAssets: 'u32',
|
||||||
|
dest: 'MultiLocation',
|
||||||
|
effects: 'Vec<XcmOrderV1>'
|
||||||
|
},
|
||||||
|
ExchangeAsset: {
|
||||||
|
give: 'MultiAssetFilter',
|
||||||
|
receive: 'MultiAssets'
|
||||||
|
},
|
||||||
|
InitiateReserveWithdraw: {
|
||||||
|
assets: 'MultiAssetFilter',
|
||||||
|
reserve: 'MultiLocation',
|
||||||
|
effects: 'Vec<XcmOrderV1>'
|
||||||
|
},
|
||||||
|
InitiateTeleport: {
|
||||||
|
assets: 'MultiAssetFilter',
|
||||||
|
dest: 'MultiLocation',
|
||||||
|
effects: 'Vec<XcmOrderV1>'
|
||||||
|
},
|
||||||
|
QueryHolding: {
|
||||||
|
queryId: 'Compact<u64>',
|
||||||
|
dest: 'MultiLocation',
|
||||||
|
assets: 'MultiAssetFilter'
|
||||||
|
},
|
||||||
|
BuyExecution: {
|
||||||
|
fees: 'MultiAsset',
|
||||||
|
weight: 'u64',
|
||||||
|
debt: 'u64',
|
||||||
|
haltOnError: 'bool',
|
||||||
|
orders: 'Vec<XcmOrderV1>',
|
||||||
|
instructions: 'Vec<Xcm>'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const multiAsset = {
|
const multiAsset = {
|
||||||
|
XcmAssetId: {
|
||||||
|
_enum: {
|
||||||
|
Concrete: 'MultiLocation',
|
||||||
|
Abstract: 'Bytes'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
AssetInstance: 'AssetInstanceV1',
|
||||||
|
AssetInstanceV0: {
|
||||||
|
_enum: {
|
||||||
|
Undefined: 'Null',
|
||||||
|
Index8: 'u8',
|
||||||
|
Index16: 'Compact<u16>',
|
||||||
|
Index32: 'Compact<u32>',
|
||||||
|
Index64: 'Compact<u64>',
|
||||||
|
Index128: 'Compact<u128>',
|
||||||
|
Array4: '[u8; 4]',
|
||||||
|
Array8: '[u8; 8]',
|
||||||
|
Array16: '[u8; 16]',
|
||||||
|
Array32: '[u8; 32]',
|
||||||
|
Blob: 'Vec<u8>'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
AssetInstanceV1: {
|
||||||
|
_enum: {
|
||||||
|
Undefined: 'Null',
|
||||||
|
Index: 'Compact<u128>',
|
||||||
|
Array4: '[u8; 4]',
|
||||||
|
Array8: '[u8; 8]',
|
||||||
|
Array16: '[u8; 16]',
|
||||||
|
Array32: '[u8; 32]',
|
||||||
|
Blob: 'Bytes'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
Fungibility: {
|
||||||
|
_enum: {
|
||||||
|
Fungible: 'u128',
|
||||||
|
NonFungible: 'AssetInstance'
|
||||||
|
}
|
||||||
|
},
|
||||||
InboundStatus: {
|
InboundStatus: {
|
||||||
_enum: ['Ok', 'Suspended']
|
_enum: ['Ok', 'Suspended']
|
||||||
},
|
},
|
||||||
OutboundStatus: {
|
OutboundStatus: {
|
||||||
_enum: ['Ok', 'Suspended']
|
_enum: ['Ok', 'Suspended']
|
||||||
},
|
},
|
||||||
MultiAssetAbstractFungible: {
|
MultiAssetFilter: {
|
||||||
id: 'Vec<u8>',
|
_enum: {
|
||||||
instance: 'Compact<u128>'
|
Definite: 'MultiAssets',
|
||||||
|
Wild: 'WildMultiAsset'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
MultiAssetAbstractNonFungible: {
|
MultiAsset: 'MultiAssetV1',
|
||||||
class: 'Vec<u8>',
|
MultiAssetV0: {
|
||||||
instance: 'AssetInstance'
|
|
||||||
},
|
|
||||||
MultiAssetConcreteFungible: {
|
|
||||||
id: 'MultiLocation',
|
|
||||||
amount: 'Compact<u128>'
|
|
||||||
},
|
|
||||||
MultiAssetConcreteNonFungible: {
|
|
||||||
class: 'MultiLocation',
|
|
||||||
instance: 'AssetInstance'
|
|
||||||
},
|
|
||||||
MultiAsset: {
|
|
||||||
_enum: {
|
_enum: {
|
||||||
None: 'Null',
|
None: 'Null',
|
||||||
All: 'Null',
|
All: 'Null',
|
||||||
@@ -107,16 +223,45 @@ const multiAsset = {
|
|||||||
AllAbstractNonFungible: 'Vec<u8>',
|
AllAbstractNonFungible: 'Vec<u8>',
|
||||||
AllConcreteFungible: 'MultiLocation',
|
AllConcreteFungible: 'MultiLocation',
|
||||||
AllConcreteNonFungible: 'MultiLocation',
|
AllConcreteNonFungible: 'MultiLocation',
|
||||||
AbstractFungible: 'MultiAssetAbstractFungible',
|
AbstractFungible: {
|
||||||
AbstractNonFungible: 'MultiAssetAbstractNonFungible',
|
id: 'Vec<u8>',
|
||||||
ConcreteFungible: 'MultiAssetConcreteFungible',
|
instance: 'Compact<u128>'
|
||||||
ConcreteNonFungible: 'MultiAssetConcreteNonFungible'
|
},
|
||||||
|
AbstractNonFungible: {
|
||||||
|
class: 'Vec<u8>',
|
||||||
|
instance: 'AssetInstance'
|
||||||
|
},
|
||||||
|
ConcreteFungible: {
|
||||||
|
id: 'MultiLocation',
|
||||||
|
amount: 'Compact<u128>'
|
||||||
|
},
|
||||||
|
ConcreteNonFungible: {
|
||||||
|
class: 'MultiLocation',
|
||||||
|
instance: 'AssetInstance'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
MultiAssetV1: {
|
||||||
|
id: 'XcmAssetId',
|
||||||
|
fungibility: 'Fungibility'
|
||||||
|
},
|
||||||
|
MultiAssets: 'Vec<MultiAsset>',
|
||||||
VersionedMultiAsset: {
|
VersionedMultiAsset: {
|
||||||
_enum: {
|
_enum: {
|
||||||
V0: 'MultiAsset'
|
V0: 'MultiAsset'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
WildFungibility: {
|
||||||
|
_enum: ['Fungible', 'NonFungible']
|
||||||
|
},
|
||||||
|
WildMultiAsset: {
|
||||||
|
_enum: {
|
||||||
|
All: 'Null',
|
||||||
|
AllOf: {
|
||||||
|
id: 'XcmAssetId',
|
||||||
|
fungibility: 'WildFungibility'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -136,42 +281,44 @@ const junction = {
|
|||||||
_enum: {
|
_enum: {
|
||||||
Voice: 'Null',
|
Voice: 'Null',
|
||||||
Members: 'Compact<u32>',
|
Members: 'Compact<u32>',
|
||||||
Fraction: 'BodyPartFraction',
|
Fraction: {
|
||||||
AtLeastProportion: 'BodyPartAtLeastProportion',
|
nom: 'Compact<u32>',
|
||||||
MoreThanProportion: 'BodyPartMoreThanProportion'
|
denom: 'Compact<u32>'
|
||||||
|
},
|
||||||
|
AtLeastProportion: {
|
||||||
|
nom: 'Compact<u32>',
|
||||||
|
denom: 'Compact<u32>'
|
||||||
|
},
|
||||||
|
MoreThanProportion: {
|
||||||
|
nom: 'Compact<u32>',
|
||||||
|
denom: 'Compact<u32>'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
BodyPartFraction: { nom: 'Compact<u32>', denom: 'Compact<u32>' },
|
|
||||||
BodyPartAtLeastProportion: { nom: 'Compact<u32>', denom: 'Compact<u32>' },
|
|
||||||
BodyPartMoreThanProportion: { nom: 'Compact<u32>', denom: 'Compact<u32>' },
|
|
||||||
AccountId32Junction: {
|
|
||||||
network: 'NetworkId',
|
|
||||||
id: 'AccountId'
|
|
||||||
},
|
|
||||||
AccountIndex64Junction: {
|
|
||||||
network: 'NetworkId',
|
|
||||||
index: 'Compact<u64>'
|
|
||||||
},
|
|
||||||
AccountKey20Junction: {
|
|
||||||
network: 'NetworkId',
|
|
||||||
key: '[u8; 20]'
|
|
||||||
},
|
|
||||||
PluralityJunction: {
|
|
||||||
id: 'BodyId',
|
|
||||||
part: 'BodyPart'
|
|
||||||
},
|
|
||||||
Junction: {
|
Junction: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Parent: 'Null',
|
Parent: 'Null',
|
||||||
Parachain: 'Compact<u32>',
|
Parachain: 'Compact<u32>',
|
||||||
AccountId32: 'AccountId32Junction',
|
AccountId32: {
|
||||||
AccountIndex64: 'AccountIndex64Junction',
|
network: 'NetworkId',
|
||||||
AccountKey20: 'AccountKey20Junction',
|
id: 'AccountId'
|
||||||
|
},
|
||||||
|
AccountIndex64: {
|
||||||
|
network: 'NetworkId',
|
||||||
|
index: 'Compact<u64>'
|
||||||
|
},
|
||||||
|
AccountKey20: {
|
||||||
|
network: 'NetworkId',
|
||||||
|
key: '[u8; 20]'
|
||||||
|
},
|
||||||
PalletInstance: 'u8',
|
PalletInstance: 'u8',
|
||||||
GeneralIndex: 'Compact<u128>',
|
GeneralIndex: 'Compact<u128>',
|
||||||
GeneralKey: 'Vec<u8>',
|
GeneralKey: 'Vec<u8>',
|
||||||
OnlyChild: 'Null',
|
OnlyChild: 'Null',
|
||||||
Plurality: 'PluralityJunction'
|
Plurality: {
|
||||||
|
id: 'BodyId',
|
||||||
|
part: 'BodyPart'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
NetworkId: {
|
NetworkId: {
|
||||||
@@ -232,7 +379,7 @@ export default {
|
|||||||
},
|
},
|
||||||
MultiLocation: {
|
MultiLocation: {
|
||||||
_enum: {
|
_enum: {
|
||||||
Null: 'Null',
|
Here: 'Null',
|
||||||
X1: 'Junction',
|
X1: 'Junction',
|
||||||
X2: '(Junction, Junction)',
|
X2: '(Junction, Junction)',
|
||||||
X3: '(Junction, Junction, Junction)',
|
X3: '(Junction, Junction, Junction)',
|
||||||
@@ -261,21 +408,6 @@ export default {
|
|||||||
_enum: {
|
_enum: {
|
||||||
V0: 'MultiLocation'
|
V0: 'MultiLocation'
|
||||||
}
|
}
|
||||||
},
|
|
||||||
AssetInstance: {
|
|
||||||
_enum: {
|
|
||||||
Undefined: 'Null',
|
|
||||||
Index8: 'u8',
|
|
||||||
Index16: 'Compact<u16>',
|
|
||||||
Index32: 'Compact<u32>',
|
|
||||||
Index64: 'Compact<u64>',
|
|
||||||
Index128: 'Compact<u128>',
|
|
||||||
Array4: '[u8; 4]',
|
|
||||||
Array8: '[u8; 8]',
|
|
||||||
Array16: '[u8; 16]',
|
|
||||||
Array32: '[u8; 32]',
|
|
||||||
Blob: 'Vec<u8>'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} as Definitions;
|
} as Definitions;
|
||||||
|
|||||||
@@ -5,26 +5,11 @@ import type { Bytes, Compact, Enum, Struct, U8aFixed, Vec, bool, u128, u16, u32,
|
|||||||
import type { ITuple } from '@polkadot/types/types';
|
import type { ITuple } from '@polkadot/types/types';
|
||||||
import type { AccountId, Weight } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId, Weight } from '@polkadot/types/interfaces/runtime';
|
||||||
|
|
||||||
/** @name AccountId32Junction */
|
|
||||||
export interface AccountId32Junction extends Struct {
|
|
||||||
readonly network: NetworkId;
|
|
||||||
readonly id: AccountId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name AccountIndex64Junction */
|
|
||||||
export interface AccountIndex64Junction extends Struct {
|
|
||||||
readonly network: NetworkId;
|
|
||||||
readonly index: Compact<u64>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name AccountKey20Junction */
|
|
||||||
export interface AccountKey20Junction extends Struct {
|
|
||||||
readonly network: NetworkId;
|
|
||||||
readonly key: U8aFixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name AssetInstance */
|
/** @name AssetInstance */
|
||||||
export interface AssetInstance extends Enum {
|
export interface AssetInstance extends AssetInstanceV1 {}
|
||||||
|
|
||||||
|
/** @name AssetInstanceV0 */
|
||||||
|
export interface AssetInstanceV0 extends Enum {
|
||||||
readonly isUndefined: boolean;
|
readonly isUndefined: boolean;
|
||||||
readonly isIndex8: boolean;
|
readonly isIndex8: boolean;
|
||||||
readonly asIndex8: u8;
|
readonly asIndex8: u8;
|
||||||
@@ -48,6 +33,23 @@ export interface AssetInstance extends Enum {
|
|||||||
readonly asBlob: Bytes;
|
readonly asBlob: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name AssetInstanceV1 */
|
||||||
|
export interface AssetInstanceV1 extends Enum {
|
||||||
|
readonly isUndefined: boolean;
|
||||||
|
readonly isIndex: boolean;
|
||||||
|
readonly asIndex: Compact<u128>;
|
||||||
|
readonly isArray4: boolean;
|
||||||
|
readonly asArray4: U8aFixed;
|
||||||
|
readonly isArray8: boolean;
|
||||||
|
readonly asArray8: U8aFixed;
|
||||||
|
readonly isArray16: boolean;
|
||||||
|
readonly asArray16: U8aFixed;
|
||||||
|
readonly isArray32: boolean;
|
||||||
|
readonly asArray32: U8aFixed;
|
||||||
|
readonly isBlob: boolean;
|
||||||
|
readonly asBlob: Bytes;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name BodyId */
|
/** @name BodyId */
|
||||||
export interface BodyId extends Enum {
|
export interface BodyId extends Enum {
|
||||||
readonly isUnit: boolean;
|
readonly isUnit: boolean;
|
||||||
@@ -67,29 +69,20 @@ export interface BodyPart extends Enum {
|
|||||||
readonly isMembers: boolean;
|
readonly isMembers: boolean;
|
||||||
readonly asMembers: Compact<u32>;
|
readonly asMembers: Compact<u32>;
|
||||||
readonly isFraction: boolean;
|
readonly isFraction: boolean;
|
||||||
readonly asFraction: BodyPartFraction;
|
readonly asFraction: {
|
||||||
|
readonly nom: Compact<u32>;
|
||||||
|
readonly denom: Compact<u32>;
|
||||||
|
} & Struct;
|
||||||
readonly isAtLeastProportion: boolean;
|
readonly isAtLeastProportion: boolean;
|
||||||
readonly asAtLeastProportion: BodyPartAtLeastProportion;
|
readonly asAtLeastProportion: {
|
||||||
|
readonly nom: Compact<u32>;
|
||||||
|
readonly denom: Compact<u32>;
|
||||||
|
} & Struct;
|
||||||
readonly isMoreThanProportion: boolean;
|
readonly isMoreThanProportion: boolean;
|
||||||
readonly asMoreThanProportion: BodyPartMoreThanProportion;
|
readonly asMoreThanProportion: {
|
||||||
}
|
readonly nom: Compact<u32>;
|
||||||
|
readonly denom: Compact<u32>;
|
||||||
/** @name BodyPartAtLeastProportion */
|
} & Struct;
|
||||||
export interface BodyPartAtLeastProportion extends Struct {
|
|
||||||
readonly nom: Compact<u32>;
|
|
||||||
readonly denom: Compact<u32>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name BodyPartFraction */
|
|
||||||
export interface BodyPartFraction extends Struct {
|
|
||||||
readonly nom: Compact<u32>;
|
|
||||||
readonly denom: Compact<u32>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name BodyPartMoreThanProportion */
|
|
||||||
export interface BodyPartMoreThanProportion extends Struct {
|
|
||||||
readonly nom: Compact<u32>;
|
|
||||||
readonly denom: Compact<u32>;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name DoubleEncodedCall */
|
/** @name DoubleEncodedCall */
|
||||||
@@ -97,6 +90,14 @@ export interface DoubleEncodedCall extends Struct {
|
|||||||
readonly encoded: Bytes;
|
readonly encoded: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name Fungibility */
|
||||||
|
export interface Fungibility extends Enum {
|
||||||
|
readonly isFungible: boolean;
|
||||||
|
readonly asFungible: u128;
|
||||||
|
readonly isNonFungible: boolean;
|
||||||
|
readonly asNonFungible: AssetInstance;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name InboundStatus */
|
/** @name InboundStatus */
|
||||||
export interface InboundStatus extends Enum {
|
export interface InboundStatus extends Enum {
|
||||||
readonly isOk: boolean;
|
readonly isOk: boolean;
|
||||||
@@ -109,11 +110,20 @@ export interface Junction extends Enum {
|
|||||||
readonly isParachain: boolean;
|
readonly isParachain: boolean;
|
||||||
readonly asParachain: Compact<u32>;
|
readonly asParachain: Compact<u32>;
|
||||||
readonly isAccountId32: boolean;
|
readonly isAccountId32: boolean;
|
||||||
readonly asAccountId32: AccountId32Junction;
|
readonly asAccountId32: {
|
||||||
|
readonly network: NetworkId;
|
||||||
|
readonly id: AccountId;
|
||||||
|
} & Struct;
|
||||||
readonly isAccountIndex64: boolean;
|
readonly isAccountIndex64: boolean;
|
||||||
readonly asAccountIndex64: AccountIndex64Junction;
|
readonly asAccountIndex64: {
|
||||||
|
readonly network: NetworkId;
|
||||||
|
readonly index: Compact<u64>;
|
||||||
|
} & Struct;
|
||||||
readonly isAccountKey20: boolean;
|
readonly isAccountKey20: boolean;
|
||||||
readonly asAccountKey20: AccountKey20Junction;
|
readonly asAccountKey20: {
|
||||||
|
readonly network: NetworkId;
|
||||||
|
readonly key: U8aFixed;
|
||||||
|
} & Struct;
|
||||||
readonly isPalletInstance: boolean;
|
readonly isPalletInstance: boolean;
|
||||||
readonly asPalletInstance: u8;
|
readonly asPalletInstance: u8;
|
||||||
readonly isGeneralIndex: boolean;
|
readonly isGeneralIndex: boolean;
|
||||||
@@ -122,11 +132,28 @@ export interface Junction extends Enum {
|
|||||||
readonly asGeneralKey: Bytes;
|
readonly asGeneralKey: Bytes;
|
||||||
readonly isOnlyChild: boolean;
|
readonly isOnlyChild: boolean;
|
||||||
readonly isPlurality: boolean;
|
readonly isPlurality: boolean;
|
||||||
readonly asPlurality: PluralityJunction;
|
readonly asPlurality: {
|
||||||
|
readonly id: BodyId;
|
||||||
|
readonly part: BodyPart;
|
||||||
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name MultiAsset */
|
/** @name MultiAsset */
|
||||||
export interface MultiAsset extends Enum {
|
export interface MultiAsset extends MultiAssetV1 {}
|
||||||
|
|
||||||
|
/** @name MultiAssetFilter */
|
||||||
|
export interface MultiAssetFilter extends Enum {
|
||||||
|
readonly isDefinite: boolean;
|
||||||
|
readonly asDefinite: MultiAssets;
|
||||||
|
readonly isWild: boolean;
|
||||||
|
readonly asWild: WildMultiAsset;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name MultiAssets */
|
||||||
|
export interface MultiAssets extends Vec<MultiAsset> {}
|
||||||
|
|
||||||
|
/** @name MultiAssetV0 */
|
||||||
|
export interface MultiAssetV0 extends Enum {
|
||||||
readonly isNone: boolean;
|
readonly isNone: boolean;
|
||||||
readonly isAll: boolean;
|
readonly isAll: boolean;
|
||||||
readonly isAllFungible: boolean;
|
readonly isAllFungible: boolean;
|
||||||
@@ -140,42 +167,36 @@ export interface MultiAsset extends Enum {
|
|||||||
readonly isAllConcreteNonFungible: boolean;
|
readonly isAllConcreteNonFungible: boolean;
|
||||||
readonly asAllConcreteNonFungible: MultiLocation;
|
readonly asAllConcreteNonFungible: MultiLocation;
|
||||||
readonly isAbstractFungible: boolean;
|
readonly isAbstractFungible: boolean;
|
||||||
readonly asAbstractFungible: MultiAssetAbstractFungible;
|
readonly asAbstractFungible: {
|
||||||
|
readonly id: Bytes;
|
||||||
|
readonly instance: Compact<u128>;
|
||||||
|
} & Struct;
|
||||||
readonly isAbstractNonFungible: boolean;
|
readonly isAbstractNonFungible: boolean;
|
||||||
readonly asAbstractNonFungible: MultiAssetAbstractNonFungible;
|
readonly asAbstractNonFungible: {
|
||||||
|
readonly class: Bytes;
|
||||||
|
readonly instance: AssetInstance;
|
||||||
|
} & Struct;
|
||||||
readonly isConcreteFungible: boolean;
|
readonly isConcreteFungible: boolean;
|
||||||
readonly asConcreteFungible: MultiAssetConcreteFungible;
|
readonly asConcreteFungible: {
|
||||||
|
readonly id: MultiLocation;
|
||||||
|
readonly amount: Compact<u128>;
|
||||||
|
} & Struct;
|
||||||
readonly isConcreteNonFungible: boolean;
|
readonly isConcreteNonFungible: boolean;
|
||||||
readonly asConcreteNonFungible: MultiAssetConcreteNonFungible;
|
readonly asConcreteNonFungible: {
|
||||||
|
readonly class: MultiLocation;
|
||||||
|
readonly instance: AssetInstance;
|
||||||
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name MultiAssetAbstractFungible */
|
/** @name MultiAssetV1 */
|
||||||
export interface MultiAssetAbstractFungible extends Struct {
|
export interface MultiAssetV1 extends Struct {
|
||||||
readonly id: Bytes;
|
readonly id: XcmAssetId;
|
||||||
readonly instance: Compact<u128>;
|
readonly fungibility: Fungibility;
|
||||||
}
|
|
||||||
|
|
||||||
/** @name MultiAssetAbstractNonFungible */
|
|
||||||
export interface MultiAssetAbstractNonFungible extends Struct {
|
|
||||||
readonly class: Bytes;
|
|
||||||
readonly instance: AssetInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name MultiAssetConcreteFungible */
|
|
||||||
export interface MultiAssetConcreteFungible extends Struct {
|
|
||||||
readonly id: MultiLocation;
|
|
||||||
readonly amount: Compact<u128>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name MultiAssetConcreteNonFungible */
|
|
||||||
export interface MultiAssetConcreteNonFungible extends Struct {
|
|
||||||
readonly class: MultiLocation;
|
|
||||||
readonly instance: AssetInstance;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name MultiLocation */
|
/** @name MultiLocation */
|
||||||
export interface MultiLocation extends Enum {
|
export interface MultiLocation extends Enum {
|
||||||
readonly isNull: boolean;
|
readonly isHere: boolean;
|
||||||
readonly isX1: boolean;
|
readonly isX1: boolean;
|
||||||
readonly asX1: Junction;
|
readonly asX1: Junction;
|
||||||
readonly isX2: boolean;
|
readonly isX2: boolean;
|
||||||
@@ -219,12 +240,6 @@ export interface Outcome extends Enum {
|
|||||||
readonly asError: XcmError;
|
readonly asError: XcmError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PluralityJunction */
|
|
||||||
export interface PluralityJunction extends Struct {
|
|
||||||
readonly id: BodyId;
|
|
||||||
readonly part: BodyPart;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name QueueConfigData */
|
/** @name QueueConfigData */
|
||||||
export interface QueueConfigData extends Struct {
|
export interface QueueConfigData extends Struct {
|
||||||
readonly suspendThreshold: u32;
|
readonly suspendThreshold: u32;
|
||||||
@@ -252,36 +267,90 @@ export interface VersionedXcm extends Enum {
|
|||||||
readonly asV0: Xcm;
|
readonly asV0: Xcm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @name WildFungibility */
|
||||||
|
export interface WildFungibility extends Enum {
|
||||||
|
readonly isFungible: boolean;
|
||||||
|
readonly isNonFungible: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @name WildMultiAsset */
|
||||||
|
export interface WildMultiAsset extends Enum {
|
||||||
|
readonly isAll: boolean;
|
||||||
|
readonly isAllOf: boolean;
|
||||||
|
readonly asAllOf: {
|
||||||
|
readonly id: XcmAssetId;
|
||||||
|
readonly fungibility: WildFungibility;
|
||||||
|
} & Struct;
|
||||||
|
}
|
||||||
|
|
||||||
/** @name Xcm */
|
/** @name Xcm */
|
||||||
export interface Xcm extends Enum {
|
export interface Xcm extends Enum {
|
||||||
readonly isWithdrawAsset: boolean;
|
readonly isWithdrawAsset: boolean;
|
||||||
readonly asWithdrawAsset: XcmWithdrawAsset;
|
readonly asWithdrawAsset: {
|
||||||
|
readonly assets: MultiAssets;
|
||||||
|
readonly effects: Vec<XcmOrderV0>;
|
||||||
|
} & Struct;
|
||||||
readonly isReserveAssetDeposit: boolean;
|
readonly isReserveAssetDeposit: boolean;
|
||||||
readonly asReserveAssetDeposit: XcmReserveAssetDeposit;
|
readonly asReserveAssetDeposit: {
|
||||||
readonly isTeleportAsset: boolean;
|
readonly assets: MultiAssets;
|
||||||
readonly asTeleportAsset: XcmTeleportAsset;
|
readonly effects: Vec<XcmOrderV0>;
|
||||||
|
} & Struct;
|
||||||
|
readonly isReceiveTeleportedAsset: boolean;
|
||||||
|
readonly asReceiveTeleportedAsset: {
|
||||||
|
readonly assets: MultiAssets;
|
||||||
|
readonly effects: Vec<XcmOrderV0>;
|
||||||
|
} & Struct;
|
||||||
readonly isQueryResponse: boolean;
|
readonly isQueryResponse: boolean;
|
||||||
readonly asQueryResponse: XcmQueryResponse;
|
readonly asQueryResponse: {
|
||||||
|
readonly queryId: Compact<u64>;
|
||||||
|
readonly response: XcmResponse;
|
||||||
|
} & Struct;
|
||||||
readonly isTransferAsset: boolean;
|
readonly isTransferAsset: boolean;
|
||||||
readonly asTransferAsset: XcmTransferAsset;
|
readonly asTransferAsset: {
|
||||||
|
readonly assets: MultiAssets;
|
||||||
|
readonly dest: MultiLocation;
|
||||||
|
} & Struct;
|
||||||
readonly isTransferReserveAsset: boolean;
|
readonly isTransferReserveAsset: boolean;
|
||||||
readonly asTransferReserveAsset: XcmTransferReserveAsset;
|
readonly asTransferReserveAsset: {
|
||||||
|
readonly assets: MultiAssets;
|
||||||
|
readonly dest: MultiLocation;
|
||||||
|
readonly effects: Vec<XcmOrderV0>;
|
||||||
|
} & Struct;
|
||||||
readonly isTransact: boolean;
|
readonly isTransact: boolean;
|
||||||
readonly asTransact: XcmTransact;
|
readonly asTransact: {
|
||||||
|
readonly originType: XcmOriginKind;
|
||||||
|
readonly requireWeightAtMost: u64;
|
||||||
|
readonly call: DoubleEncodedCall;
|
||||||
|
} & Struct;
|
||||||
readonly isHrmpNewChannelOpenRequest: boolean;
|
readonly isHrmpNewChannelOpenRequest: boolean;
|
||||||
readonly asHrmpNewChannelOpenRequest: XcmHrmpNewChannelOpenRequest;
|
readonly asHrmpNewChannelOpenRequest: {
|
||||||
|
readonly sender: Compact<u32>;
|
||||||
|
readonly maxMessageSize: Compact<u32>;
|
||||||
|
readonly maxCapacity: Compact<u32>;
|
||||||
|
} & Struct;
|
||||||
readonly isHrmpChannelAccepted: boolean;
|
readonly isHrmpChannelAccepted: boolean;
|
||||||
readonly asHrmpChannelAccepted: XcmHrmpChannelAccepted;
|
readonly asHrmpChannelAccepted: {
|
||||||
|
readonly recipient: Compact<u32>;
|
||||||
|
} & Struct;
|
||||||
readonly isHrmpChannelClosing: boolean;
|
readonly isHrmpChannelClosing: boolean;
|
||||||
readonly asHrmpChannelClosing: XcmHrmpChannelClosing;
|
readonly asHrmpChannelClosing: {
|
||||||
|
readonly initiator: Compact<u32>;
|
||||||
|
readonly sender: Compact<u32>;
|
||||||
|
readonly recipient: Compact<u32>;
|
||||||
|
} & Struct;
|
||||||
readonly isRelayedFrom: boolean;
|
readonly isRelayedFrom: boolean;
|
||||||
readonly asRelayedFrom: XcmRelayedFrom;
|
readonly asRelayedFrom: {
|
||||||
|
readonly who: MultiLocation;
|
||||||
|
readonly message: Xcm;
|
||||||
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmAssetEffects */
|
/** @name XcmAssetId */
|
||||||
export interface XcmAssetEffects extends Struct {
|
export interface XcmAssetId extends Enum {
|
||||||
readonly assets: Vec<MultiAsset>;
|
readonly isConcrete: boolean;
|
||||||
readonly effects: Vec<XcmOrder>;
|
readonly asConcrete: MultiLocation;
|
||||||
|
readonly isAbstract: boolean;
|
||||||
|
readonly asAbstract: Bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmError */
|
/** @name XcmError */
|
||||||
@@ -316,91 +385,104 @@ export interface XcmError extends Enum {
|
|||||||
readonly isTooExpensive: boolean;
|
readonly isTooExpensive: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmHrmpChannelAccepted */
|
|
||||||
export interface XcmHrmpChannelAccepted extends Struct {
|
|
||||||
readonly recipient: Compact<u32>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name XcmHrmpChannelClosing */
|
|
||||||
export interface XcmHrmpChannelClosing extends Struct {
|
|
||||||
readonly initiator: Compact<u32>;
|
|
||||||
readonly sender: Compact<u32>;
|
|
||||||
readonly recipient: Compact<u32>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name XcmHrmpNewChannelOpenRequest */
|
|
||||||
export interface XcmHrmpNewChannelOpenRequest extends Struct {
|
|
||||||
readonly sender: Compact<u32>;
|
|
||||||
readonly maxMessageSize: Compact<u32>;
|
|
||||||
readonly maxCapacity: Compact<u32>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name XcmOrder */
|
/** @name XcmOrder */
|
||||||
export interface XcmOrder extends Enum {
|
export interface XcmOrder extends XcmOrderV1 {}
|
||||||
|
|
||||||
|
/** @name XcmOrderV0 */
|
||||||
|
export interface XcmOrderV0 extends Enum {
|
||||||
readonly isNull: boolean;
|
readonly isNull: boolean;
|
||||||
readonly isDepositAsset: boolean;
|
readonly isDepositAsset: boolean;
|
||||||
readonly asDepositAsset: XcmOrderDepositAsset;
|
readonly asDepositAsset: {
|
||||||
|
readonly assets: Vec<MultiAsset>;
|
||||||
|
readonly dest: MultiLocation;
|
||||||
|
} & Struct;
|
||||||
readonly isDepositReserveAsset: boolean;
|
readonly isDepositReserveAsset: boolean;
|
||||||
readonly asDepositReserveAsset: XcmOrderDepositReserveAsset;
|
readonly asDepositReserveAsset: {
|
||||||
|
readonly assets: Vec<MultiAsset>;
|
||||||
|
readonly dest: MultiLocation;
|
||||||
|
readonly effects: Vec<XcmOrderV0>;
|
||||||
|
} & Struct;
|
||||||
readonly isExchangeAsset: boolean;
|
readonly isExchangeAsset: boolean;
|
||||||
readonly asExchangeAsset: XcmOrderExchangeAsset;
|
readonly asExchangeAsset: {
|
||||||
|
readonly give: Vec<MultiAsset>;
|
||||||
|
readonly receive: Vec<MultiAsset>;
|
||||||
|
} & Struct;
|
||||||
readonly isInitiateReserveWithdraw: boolean;
|
readonly isInitiateReserveWithdraw: boolean;
|
||||||
readonly asInitiateReserveWithdraw: XcmOrderInitiateReserveWithdraw;
|
readonly asInitiateReserveWithdraw: {
|
||||||
|
readonly assets: Vec<MultiAsset>;
|
||||||
|
readonly reserve: MultiLocation;
|
||||||
|
readonly effects: Vec<XcmOrderV0>;
|
||||||
|
} & Struct;
|
||||||
readonly isInitiateTeleport: boolean;
|
readonly isInitiateTeleport: boolean;
|
||||||
readonly asInitiateTeleport: XcmOrderInitiateTeleport;
|
readonly asInitiateTeleport: {
|
||||||
|
readonly assets: Vec<MultiAsset>;
|
||||||
|
readonly dest: MultiLocation;
|
||||||
|
readonly effects: Vec<XcmOrderV0>;
|
||||||
|
} & Struct;
|
||||||
readonly isQueryHolding: boolean;
|
readonly isQueryHolding: boolean;
|
||||||
readonly asQueryHolding: XcmOrderQueryHolding;
|
readonly asQueryHolding: {
|
||||||
|
readonly queryId: Compact<u64>;
|
||||||
|
readonly dest: MultiLocation;
|
||||||
|
readonly assets: Vec<MultiAsset>;
|
||||||
|
} & Struct;
|
||||||
readonly isBuyExecution: boolean;
|
readonly isBuyExecution: boolean;
|
||||||
readonly asBuyExecution: XcmOrderBuyExecution;
|
readonly asBuyExecution: {
|
||||||
|
readonly fees: MultiAsset;
|
||||||
|
readonly weight: u64;
|
||||||
|
readonly debt: u64;
|
||||||
|
readonly haltOnError: bool;
|
||||||
|
readonly xcm: Vec<Xcm>;
|
||||||
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmOrderBuyExecution */
|
/** @name XcmOrderV1 */
|
||||||
export interface XcmOrderBuyExecution extends Struct {
|
export interface XcmOrderV1 extends Enum {
|
||||||
readonly fees: MultiAsset;
|
readonly isNoop: boolean;
|
||||||
readonly weight: u64;
|
readonly isDepositAsset: boolean;
|
||||||
readonly debt: u64;
|
readonly asDepositAsset: {
|
||||||
readonly haltOnError: bool;
|
readonly assets: MultiAssetFilter;
|
||||||
readonly xcm: Vec<Xcm>;
|
readonly maxAssets: u32;
|
||||||
}
|
readonly beneficiary: MultiLocation;
|
||||||
|
} & Struct;
|
||||||
/** @name XcmOrderDepositAsset */
|
readonly isDepositReserveAsset: boolean;
|
||||||
export interface XcmOrderDepositAsset extends Struct {
|
readonly asDepositReserveAsset: {
|
||||||
readonly assets: Vec<MultiAsset>;
|
readonly assets: MultiAssetFilter;
|
||||||
readonly dest: MultiLocation;
|
readonly maxAssets: u32;
|
||||||
}
|
readonly dest: MultiLocation;
|
||||||
|
readonly effects: Vec<XcmOrderV1>;
|
||||||
/** @name XcmOrderDepositReserveAsset */
|
} & Struct;
|
||||||
export interface XcmOrderDepositReserveAsset extends Struct {
|
readonly isExchangeAsset: boolean;
|
||||||
readonly assets: Vec<MultiAsset>;
|
readonly asExchangeAsset: {
|
||||||
readonly dest: MultiLocation;
|
readonly give: MultiAssetFilter;
|
||||||
readonly effects: Vec<XcmOrder>;
|
readonly receive: MultiAssets;
|
||||||
}
|
} & Struct;
|
||||||
|
readonly isInitiateReserveWithdraw: boolean;
|
||||||
/** @name XcmOrderExchangeAsset */
|
readonly asInitiateReserveWithdraw: {
|
||||||
export interface XcmOrderExchangeAsset extends Struct {
|
readonly assets: MultiAssetFilter;
|
||||||
readonly give: Vec<MultiAsset>;
|
readonly reserve: MultiLocation;
|
||||||
readonly receive: Vec<MultiAsset>;
|
readonly effects: Vec<XcmOrderV1>;
|
||||||
}
|
} & Struct;
|
||||||
|
readonly isInitiateTeleport: boolean;
|
||||||
/** @name XcmOrderInitiateReserveWithdraw */
|
readonly asInitiateTeleport: {
|
||||||
export interface XcmOrderInitiateReserveWithdraw extends Struct {
|
readonly assets: MultiAssetFilter;
|
||||||
readonly assets: Vec<MultiAsset>;
|
readonly dest: MultiLocation;
|
||||||
readonly reserve: MultiLocation;
|
readonly effects: Vec<XcmOrderV1>;
|
||||||
readonly effects: Vec<XcmOrder>;
|
} & Struct;
|
||||||
}
|
readonly isQueryHolding: boolean;
|
||||||
|
readonly asQueryHolding: {
|
||||||
/** @name XcmOrderInitiateTeleport */
|
readonly queryId: Compact<u64>;
|
||||||
export interface XcmOrderInitiateTeleport extends Struct {
|
readonly dest: MultiLocation;
|
||||||
readonly assets: Vec<MultiAsset>;
|
readonly assets: MultiAssetFilter;
|
||||||
readonly dest: MultiLocation;
|
} & Struct;
|
||||||
readonly effects: Vec<XcmOrder>;
|
readonly isBuyExecution: boolean;
|
||||||
}
|
readonly asBuyExecution: {
|
||||||
|
readonly fees: MultiAsset;
|
||||||
/** @name XcmOrderQueryHolding */
|
readonly weight: u64;
|
||||||
export interface XcmOrderQueryHolding extends Struct {
|
readonly debt: u64;
|
||||||
readonly queryId: Compact<u64>;
|
readonly haltOnError: bool;
|
||||||
readonly dest: MultiLocation;
|
readonly orders: Vec<XcmOrderV1>;
|
||||||
readonly assets: Vec<MultiAsset>;
|
readonly instructions: Vec<Xcm>;
|
||||||
|
} & Struct;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmOrigin */
|
/** @name XcmOrigin */
|
||||||
@@ -424,51 +506,10 @@ export interface XcmpMessageFormat extends Enum {
|
|||||||
readonly isSignals: boolean;
|
readonly isSignals: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmQueryResponse */
|
|
||||||
export interface XcmQueryResponse extends Struct {
|
|
||||||
readonly queryId: Compact<u64>;
|
|
||||||
readonly response: XcmResponse;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name XcmRelayedFrom */
|
|
||||||
export interface XcmRelayedFrom extends Struct {
|
|
||||||
readonly who: MultiLocation;
|
|
||||||
readonly message: Xcm;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name XcmReserveAssetDeposit */
|
|
||||||
export interface XcmReserveAssetDeposit extends XcmAssetEffects {}
|
|
||||||
|
|
||||||
/** @name XcmResponse */
|
/** @name XcmResponse */
|
||||||
export interface XcmResponse extends Enum {
|
export interface XcmResponse extends Enum {
|
||||||
readonly isAssets: boolean;
|
readonly isAssets: boolean;
|
||||||
readonly asAssets: Vec<MultiAsset>;
|
readonly asAssets: Vec<MultiAsset>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name XcmTeleportAsset */
|
|
||||||
export interface XcmTeleportAsset extends XcmAssetEffects {}
|
|
||||||
|
|
||||||
/** @name XcmTransact */
|
|
||||||
export interface XcmTransact extends Struct {
|
|
||||||
readonly originType: XcmOriginKind;
|
|
||||||
readonly requireWeightAtMost: u64;
|
|
||||||
readonly call: DoubleEncodedCall;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name XcmTransferAsset */
|
|
||||||
export interface XcmTransferAsset extends Struct {
|
|
||||||
readonly assets: Vec<MultiAsset>;
|
|
||||||
readonly dest: MultiLocation;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name XcmTransferReserveAsset */
|
|
||||||
export interface XcmTransferReserveAsset extends Struct {
|
|
||||||
readonly assets: Vec<MultiAsset>;
|
|
||||||
readonly dest: MultiLocation;
|
|
||||||
readonly effects: Vec<XcmOrder>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @name XcmWithdrawAsset */
|
|
||||||
export interface XcmWithdrawAsset extends XcmAssetEffects {}
|
|
||||||
|
|
||||||
export type PHANTOM_XCM = 'xcm';
|
export type PHANTOM_XCM = 'xcm';
|
||||||
|
|||||||
@@ -108,21 +108,21 @@ function extendPrefixedMap (registry: Registry, itemFn: CreateItemFn, storageFn:
|
|||||||
(
|
(
|
||||||
(args.length === 0) ||
|
(args.length === 0) ||
|
||||||
(type.isDoubleMap && args.length === 1) ||
|
(type.isDoubleMap && args.length === 1) ||
|
||||||
(type.isNMap && args.length === (type.asNMap.hashers.length - 1))
|
(type.isNMap && args.length < (type.asNMap.hashers.length))
|
||||||
),
|
),
|
||||||
() => `Iteration ${stringCamelCase(section || 'unknown')}.${stringCamelCase(method || 'unknown')} needs arguments to be one less than the full arguments, found [${args.join(', ')}]`
|
() => `Iteration ${stringCamelCase(section || 'unknown')}.${stringCamelCase(method || 'unknown')} needs arguments to be at least one less than the full arguments, found [${args.join(', ')}]`
|
||||||
);
|
);
|
||||||
|
|
||||||
if (args.length) {
|
if (args.length) {
|
||||||
if (type.isDoubleMap) {
|
if (type.isDoubleMap) {
|
||||||
return new Raw(registry, createKeyRaw(registry, itemFn, [type.asDoubleMap.key1], [type.asDoubleMap.hasher], args as Arg[]));
|
return new Raw(registry, createKeyRaw(registry, itemFn, [type.asDoubleMap.key1], [type.asDoubleMap.hasher], args as Arg[]));
|
||||||
} else if (type.isNMap) {
|
} else if (type.isNMap) {
|
||||||
const keys = [...type.asNMap.keyVec];
|
let keys = [...type.asNMap.keyVec];
|
||||||
const hashers = [...type.asNMap.hashers];
|
let hashers = [...type.asNMap.hashers];
|
||||||
|
|
||||||
// remove the last entry
|
// pick the first n entries where n = args.length which is already verified above to be less that the full arguments.
|
||||||
keys.pop();
|
keys = keys.slice(0, args.length);
|
||||||
hashers.pop();
|
hashers = hashers.slice(0, args.length);
|
||||||
|
|
||||||
return new Raw(registry, createKeyRaw(registry, itemFn, keys, hashers, args as Arg[]));
|
return new Raw(registry, createKeyRaw(registry, itemFn, keys, hashers, args as Arg[]));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Auto-generated by @polkadot/dev, do not edit
|
// Auto-generated by @polkadot/dev, do not edit
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types', version: '5.5.2' };
|
export const packageInfo = { name: '@polkadot/types', version: '5.6.1' };
|
||||||
|
|||||||
@@ -1867,40 +1867,40 @@ __metadata:
|
|||||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/runtime": ^7.15.3
|
"@babel/runtime": ^7.15.3
|
||||||
"@polkadot/api": 5.5.2
|
"@polkadot/api": 5.6.1
|
||||||
"@polkadot/types": 5.5.2
|
"@polkadot/types": 5.6.1
|
||||||
"@polkadot/util": ^7.2.1
|
"@polkadot/util": ^7.2.1
|
||||||
rxjs: ^7.3.0
|
rxjs: ^7.3.0
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/api-derive@5.5.2, @polkadot/api-derive@workspace:packages/api-derive":
|
"@polkadot/api-derive@5.6.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:
|
||||||
"@babel/runtime": ^7.15.3
|
"@babel/runtime": ^7.15.3
|
||||||
"@polkadot/api": 5.5.2
|
"@polkadot/api": 5.6.1
|
||||||
"@polkadot/keyring": ^7.2.1
|
"@polkadot/keyring": ^7.2.1
|
||||||
"@polkadot/rpc-core": 5.5.2
|
"@polkadot/rpc-core": 5.6.1
|
||||||
"@polkadot/rpc-provider": 5.5.2
|
"@polkadot/rpc-provider": 5.6.1
|
||||||
"@polkadot/types": 5.5.2
|
"@polkadot/types": 5.6.1
|
||||||
"@polkadot/util": ^7.2.1
|
"@polkadot/util": ^7.2.1
|
||||||
"@polkadot/util-crypto": ^7.2.1
|
"@polkadot/util-crypto": ^7.2.1
|
||||||
rxjs: ^7.3.0
|
rxjs: ^7.3.0
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/api@5.5.2, @polkadot/api@workspace:packages/api":
|
"@polkadot/api@5.6.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:
|
||||||
"@babel/runtime": ^7.15.3
|
"@babel/runtime": ^7.15.3
|
||||||
"@polkadot/api-derive": 5.5.2
|
"@polkadot/api-derive": 5.6.1
|
||||||
"@polkadot/keyring": ^7.2.1
|
"@polkadot/keyring": ^7.2.1
|
||||||
"@polkadot/rpc-core": 5.5.2
|
"@polkadot/rpc-core": 5.6.1
|
||||||
"@polkadot/rpc-provider": 5.5.2
|
"@polkadot/rpc-provider": 5.6.1
|
||||||
"@polkadot/types": 5.5.2
|
"@polkadot/types": 5.6.1
|
||||||
"@polkadot/types-known": 5.5.2
|
"@polkadot/types-known": 5.6.1
|
||||||
"@polkadot/util": ^7.2.1
|
"@polkadot/util": ^7.2.1
|
||||||
"@polkadot/util-crypto": ^7.2.1
|
"@polkadot/util-crypto": ^7.2.1
|
||||||
eventemitter3: ^4.0.7
|
eventemitter3: ^4.0.7
|
||||||
@@ -2025,26 +2025,26 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/rpc-core@5.5.2, @polkadot/rpc-core@workspace:packages/rpc-core":
|
"@polkadot/rpc-core@5.6.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:
|
||||||
"@babel/runtime": ^7.15.3
|
"@babel/runtime": ^7.15.3
|
||||||
"@polkadot/keyring": ^7.2.1
|
"@polkadot/keyring": ^7.2.1
|
||||||
"@polkadot/rpc-provider": 5.5.2
|
"@polkadot/rpc-provider": 5.6.1
|
||||||
"@polkadot/types": 5.5.2
|
"@polkadot/types": 5.6.1
|
||||||
"@polkadot/util": ^7.2.1
|
"@polkadot/util": ^7.2.1
|
||||||
rxjs: ^7.3.0
|
rxjs: ^7.3.0
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/rpc-provider@5.5.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
"@polkadot/rpc-provider@5.6.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:
|
||||||
"@babel/runtime": ^7.15.3
|
"@babel/runtime": ^7.15.3
|
||||||
"@polkadot/keyring": ^7.2.1
|
"@polkadot/keyring": ^7.2.1
|
||||||
"@polkadot/types": 5.5.2
|
"@polkadot/types": 5.6.1
|
||||||
"@polkadot/util": ^7.2.1
|
"@polkadot/util": ^7.2.1
|
||||||
"@polkadot/util-crypto": ^7.2.1
|
"@polkadot/util-crypto": ^7.2.1
|
||||||
"@polkadot/x-fetch": ^7.2.1
|
"@polkadot/x-fetch": ^7.2.1
|
||||||
@@ -2072,10 +2072,10 @@ __metadata:
|
|||||||
"@babel/core": ^7.15.0
|
"@babel/core": ^7.15.0
|
||||||
"@babel/register": ^7.15.3
|
"@babel/register": ^7.15.3
|
||||||
"@babel/runtime": ^7.15.3
|
"@babel/runtime": ^7.15.3
|
||||||
"@polkadot/api": 5.5.2
|
"@polkadot/api": 5.6.1
|
||||||
"@polkadot/rpc-provider": 5.5.2
|
"@polkadot/rpc-provider": 5.6.1
|
||||||
"@polkadot/types": 5.5.2
|
"@polkadot/types": 5.6.1
|
||||||
"@polkadot/types-support": 5.5.2
|
"@polkadot/types-support": 5.6.1
|
||||||
"@polkadot/util": ^7.2.1
|
"@polkadot/util": ^7.2.1
|
||||||
"@types/websocket": ^1.0.4
|
"@types/websocket": ^1.0.4
|
||||||
"@types/yargs": ^17.0.2
|
"@types/yargs": ^17.0.2
|
||||||
@@ -2091,18 +2091,18 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-known@5.5.2, @polkadot/types-known@workspace:packages/types-known":
|
"@polkadot/types-known@5.6.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:
|
||||||
"@babel/runtime": ^7.15.3
|
"@babel/runtime": ^7.15.3
|
||||||
"@polkadot/networks": ^7.2.1
|
"@polkadot/networks": ^7.2.1
|
||||||
"@polkadot/types": 5.5.2
|
"@polkadot/types": 5.6.1
|
||||||
"@polkadot/util": ^7.2.1
|
"@polkadot/util": ^7.2.1
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-support@5.5.2, @polkadot/types-support@workspace:packages/types-support":
|
"@polkadot/types-support@5.6.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:
|
||||||
@@ -2111,13 +2111,13 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types@5.5.2, @polkadot/types@workspace:packages/types":
|
"@polkadot/types@5.6.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:
|
||||||
"@babel/runtime": ^7.15.3
|
"@babel/runtime": ^7.15.3
|
||||||
"@polkadot/keyring": ^7.2.1
|
"@polkadot/keyring": ^7.2.1
|
||||||
"@polkadot/types-support": 5.5.2
|
"@polkadot/types-support": 5.6.1
|
||||||
"@polkadot/util": ^7.2.1
|
"@polkadot/util": ^7.2.1
|
||||||
"@polkadot/util-crypto": ^7.2.1
|
"@polkadot/util-crypto": ^7.2.1
|
||||||
"@types/bn.js": ^4.11.6
|
"@types/bn.js": ^4.11.6
|
||||||
|
|||||||
Reference in New Issue
Block a user