Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a3f938392 | ||
|
|
0ccf9ad96f | ||
|
|
a41d292fc1 | ||
|
|
aacebcabb5 | ||
|
|
17c6ef7527 | ||
|
|
b252f13210 | ||
|
|
64360b3598 | ||
|
|
0acb0ab226 | ||
|
|
d32e219d7e | ||
|
|
a1029dc0ba | ||
|
|
eef50a759d | ||
|
|
2bad0f4799 | ||
|
|
9756d33664 | ||
|
|
1ea50757c6 | ||
|
|
26e550fe6c |
@@ -1,5 +1,14 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 9.2.3 Aug 21, 2022
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Adjust `StakingLedger` with fallback for Kusama 1050 (2 different structures on-chain)
|
||||||
|
- Remove `TryRuntime` state call definitions (only off-chain usage)
|
||||||
|
- Update to latest Substrate, Polkadot & Kusama metadata
|
||||||
|
|
||||||
|
|
||||||
## 9.2.2 Aug 16, 2022
|
## 9.2.2 Aug 16, 2022
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
3192 Jaco 9.2.2 (#5166)
|
3199 Jaco 9.2.3 (#5177)
|
||||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||||
37 Keith Ingram Update contract types and rpc (#4541)
|
37 Keith Ingram Update contract types and rpc (#4541)
|
||||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
||||||
11 Ian He HttpProvider support clone() (#3949)
|
11 Ian He HttpProvider support clone() (#3949)
|
||||||
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
||||||
8 Nikos Kontakis Bump substrate connect to 0.7.10; Fixes #5120 (#5123)
|
9 Nikos Kontakis Bump substrate-connect to 0.7.11 (#5173)
|
||||||
5 Chevdor Fix metadata package link (#3458)
|
5 Chevdor Fix metadata package link (#3458)
|
||||||
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
||||||
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
||||||
|
|||||||
+4
-4
@@ -11,10 +11,10 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"versions": {
|
"versions": {
|
||||||
"git": "9.2.2",
|
"git": "9.2.3",
|
||||||
"npm": "9.2.2"
|
"npm": "9.2.3"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
"@babel/core": "^7.18.10",
|
"@babel/core": "^7.18.10",
|
||||||
"@babel/register": "^7.18.9",
|
"@babel/register": "^7.18.9",
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/dev": "^0.67.97",
|
"@polkadot/dev": "^0.67.113",
|
||||||
"@polkadot/typegen": "workspace:packages/typegen",
|
"@polkadot/typegen": "workspace:packages/typegen",
|
||||||
"@types/jest": "^28.1.7",
|
"@types/jest": "^28.1.7",
|
||||||
"copyfiles": "^2.4.1"
|
"copyfiles": "^2.4.1"
|
||||||
|
|||||||
@@ -20,18 +20,18 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/api-base": "9.2.2",
|
"@polkadot/api-base": "9.2.3",
|
||||||
"@polkadot/rpc-augment": "9.2.2",
|
"@polkadot/rpc-augment": "9.2.3",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-augment": "9.2.2",
|
"@polkadot/types-augment": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4"
|
"@polkadot/util": "^10.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types-support": "9.2.2"
|
"@polkadot/types-support": "9.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -506,6 +506,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
* Number of runners_up to keep.
|
* Number of runners_up to keep.
|
||||||
**/
|
**/
|
||||||
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
|
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* The maximum number of candidates in a phragmen election.
|
||||||
|
*
|
||||||
|
* Warning: The election happens onchain, and this value will determine
|
||||||
|
* the size of the election. When this limit is reached no more
|
||||||
|
* candidates are accepted in the election.
|
||||||
|
**/
|
||||||
|
maxCandidates: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* The maximum number of voters to allow in a phragmen election.
|
||||||
|
*
|
||||||
|
* Warning: This impacts the size of the election which is run onchain.
|
||||||
|
* When the limit is reached the new voters are ignored.
|
||||||
|
**/
|
||||||
|
maxVoters: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Identifier for the elections-phragmen pallet's lock
|
* Identifier for the elections-phragmen pallet's lock
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import '@polkadot/api-base/types/calls';
|
|||||||
|
|
||||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
||||||
import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
|
import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
|
||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
||||||
import type { ValidatorSet } from '@polkadot/types/interfaces/beefy';
|
import type { ValidatorSet } from '@polkadot/types/interfaces/beefy';
|
||||||
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
||||||
@@ -20,7 +20,7 @@ import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, Mmr
|
|||||||
import type { NpApiError } from '@polkadot/types/interfaces/nompools';
|
import type { NpApiError } from '@polkadot/types/interfaces/nompools';
|
||||||
import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
||||||
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
||||||
import type { AccountId, Balance, Block, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
||||||
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
||||||
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
||||||
@@ -349,5 +349,20 @@ declare module '@polkadot/api-base/types/calls' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: DecoratedCallBase<ApiType>;
|
[key: string]: DecoratedCallBase<ApiType>;
|
||||||
};
|
};
|
||||||
|
/** 0xf3ff14d5ab527059/1 */
|
||||||
|
transactionPaymentCallApi: {
|
||||||
|
/**
|
||||||
|
* The call fee details
|
||||||
|
**/
|
||||||
|
queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
|
||||||
|
/**
|
||||||
|
* The call info
|
||||||
|
**/
|
||||||
|
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
||||||
|
/**
|
||||||
|
* Generic call
|
||||||
|
**/
|
||||||
|
[key: string]: DecoratedCallBase<ApiType>;
|
||||||
|
};
|
||||||
} // AugmentedCalls
|
} // AugmentedCalls
|
||||||
} // declare module
|
} // declare module
|
||||||
|
|||||||
@@ -1083,7 +1083,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(R)` where R is the number of referendums the voter delegating to has
|
* Weight: `O(R)` where R is the number of referendums the voter delegating to has
|
||||||
* voted on. Weight is charged as if maximum votes.
|
* voted on. Weight is charged as if maximum votes.
|
||||||
**/
|
**/
|
||||||
delegate: AugmentedSubmittable<(to: AccountId32 | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PalletDemocracyConviction, u128]>;
|
delegate: AugmentedSubmittable<(to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletDemocracyConviction, u128]>;
|
||||||
/**
|
/**
|
||||||
* Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
|
* Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
|
||||||
* referendum.
|
* referendum.
|
||||||
@@ -1243,7 +1243,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
||||||
* Weight is calculated for the maximum number of vote.
|
* Weight is calculated for the maximum number of vote.
|
||||||
**/
|
**/
|
||||||
removeOtherVote: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a referendum.
|
* Remove a vote for a referendum.
|
||||||
*
|
*
|
||||||
@@ -1311,7 +1311,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(R)` with R number of vote of target.
|
* Weight: `O(R)` with R number of vote of target.
|
||||||
**/
|
**/
|
||||||
unlock: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
unlock: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Veto and blacklist the external proposal hash.
|
* Veto and blacklist the external proposal hash.
|
||||||
*
|
*
|
||||||
@@ -1586,7 +1586,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - One event.
|
* - One event.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
addRegistrar: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Add the given account to the sender's subs.
|
* Add the given account to the sender's subs.
|
||||||
*
|
*
|
||||||
@@ -1753,7 +1753,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
|
* - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, AccountId32]>;
|
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Set the fee required for a judgement to be requested from a registrar.
|
* Set the fee required for a judgement to be requested from a registrar.
|
||||||
*
|
*
|
||||||
@@ -1900,7 +1900,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Writes: Indices Accounts, System Account (original owner)
|
* - Writes: Indices Accounts, System Account (original owner)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
forceTransfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, bool]>;
|
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
|
||||||
/**
|
/**
|
||||||
* Free up an index owned by the sender.
|
* Free up an index owned by the sender.
|
||||||
*
|
*
|
||||||
@@ -1965,7 +1965,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Writes: Indices Accounts, System Account (recipient)
|
* - Writes: Indices Accounts, System Account (recipient)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
transfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
transfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2171,7 +2171,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
||||||
* needs at have at least `amount + existential_deposit` transferrable.
|
* needs at have at least `amount + existential_deposit` transferrable.
|
||||||
**/
|
**/
|
||||||
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: AccountId32 | string | Uint8Array, nominator: AccountId32 | string | Uint8Array, stateToggler: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, AccountId32, AccountId32, AccountId32]>;
|
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, stateToggler: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
||||||
* pools account and immediately increases the pools bond.
|
* pools account and immediately increases the pools bond.
|
||||||
@@ -2267,7 +2267,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* there are too many unlocking chunks, the result of this call will likely be the
|
* there are too many unlocking chunks, the result of this call will likely be the
|
||||||
* `NoMoreChunks` error from the staking system.
|
* `NoMoreChunks` error from the staking system.
|
||||||
**/
|
**/
|
||||||
unbond: AugmentedSubmittable<(memberAccount: AccountId32 | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Compact<u128>]>;
|
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Update the roles of the pool.
|
* Update the roles of the pool.
|
||||||
*
|
*
|
||||||
@@ -2299,7 +2299,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If the target is the depositor, the pool will be destroyed.
|
* If the target is the depositor, the pool will be destroyed.
|
||||||
**/
|
**/
|
||||||
withdrawUnbonded: AugmentedSubmittable<(memberAccount: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2550,7 +2550,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
addProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u32]>;
|
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Publish the hash of a proxy-call that will be made in the future.
|
* Publish the hash of a proxy-call that will be made in the future.
|
||||||
*
|
*
|
||||||
@@ -2574,7 +2574,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
announce: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
||||||
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
||||||
@@ -2623,7 +2623,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
killAnonymous: AugmentedSubmittable<(spawner: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
killAnonymous: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
* Dispatch the given `call` from an account that the sender is authorised for through
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -2641,7 +2641,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<KusamaRuntimeProxyType>, Call]>;
|
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
|
||||||
/**
|
/**
|
||||||
* Dispatch the given `call` from an account that the sender is authorized for through
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -2661,7 +2661,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32, Option<KusamaRuntimeProxyType>, Call]>;
|
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<KusamaRuntimeProxyType> | null | Uint8Array | KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KusamaRuntimeProxyType>, Call]>;
|
||||||
/**
|
/**
|
||||||
* Remove the given announcement of a delegate.
|
* Remove the given announcement of a delegate.
|
||||||
*
|
*
|
||||||
@@ -2680,7 +2680,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
rejectAnnouncement: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Remove a given announcement.
|
* Remove a given announcement.
|
||||||
*
|
*
|
||||||
@@ -2699,7 +2699,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
removeAnnouncement: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Unregister all proxy accounts for the sender.
|
* Unregister all proxy accounts for the sender.
|
||||||
*
|
*
|
||||||
@@ -2726,7 +2726,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
removeProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KusamaRuntimeProxyType, u32]>;
|
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KusamaRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | 'Society' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KusamaRuntimeProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2743,7 +2743,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `account`: The recovered account you want to make a call on-behalf-of.
|
* - `account`: The recovered account you want to make a call on-behalf-of.
|
||||||
* - `call`: The call you want to make with the recovered account.
|
* - `call`: The call you want to make with the recovered account.
|
||||||
**/
|
**/
|
||||||
asRecovered: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Call]>;
|
asRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
|
||||||
/**
|
/**
|
||||||
* Cancel the ability to use `as_recovered` for `account`.
|
* Cancel the ability to use `as_recovered` for `account`.
|
||||||
*
|
*
|
||||||
@@ -2753,7 +2753,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Parameters:
|
* Parameters:
|
||||||
* - `account`: The recovered account you are able to call on-behalf-of.
|
* - `account`: The recovered account you are able to call on-behalf-of.
|
||||||
**/
|
**/
|
||||||
cancelRecovered: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
cancelRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Allow a successful rescuer to claim their recovered account.
|
* Allow a successful rescuer to claim their recovered account.
|
||||||
*
|
*
|
||||||
@@ -2765,7 +2765,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `account`: The lost account that you want to claim has been successfully recovered by
|
* - `account`: The lost account that you want to claim has been successfully recovered by
|
||||||
* you.
|
* you.
|
||||||
**/
|
**/
|
||||||
claimRecovery: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
claimRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* As the controller of a recoverable account, close an active recovery
|
* As the controller of a recoverable account, close an active recovery
|
||||||
* process for your account.
|
* process for your account.
|
||||||
@@ -2779,7 +2779,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Parameters:
|
* Parameters:
|
||||||
* - `rescuer`: The account trying to rescue this recoverable account.
|
* - `rescuer`: The account trying to rescue this recoverable account.
|
||||||
**/
|
**/
|
||||||
closeRecovery: AugmentedSubmittable<(rescuer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Create a recovery configuration for your account. This makes your account recoverable.
|
* Create a recovery configuration for your account. This makes your account recoverable.
|
||||||
*
|
*
|
||||||
@@ -2812,7 +2812,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `account`: The lost account that you want to recover. This account needs to be
|
* - `account`: The lost account that you want to recover. This account needs to be
|
||||||
* recoverable (i.e. have a recovery configuration).
|
* recoverable (i.e. have a recovery configuration).
|
||||||
**/
|
**/
|
||||||
initiateRecovery: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
initiateRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
||||||
*
|
*
|
||||||
@@ -2837,7 +2837,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `lost`: The "lost account" to be recovered.
|
* - `lost`: The "lost account" to be recovered.
|
||||||
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
||||||
**/
|
**/
|
||||||
setRecovered: AugmentedSubmittable<(lost: AccountId32 | string | Uint8Array, rescuer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32]>;
|
setRecovered: AugmentedSubmittable<(lost: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Allow a "friend" of a recoverable account to vouch for an active recovery
|
* Allow a "friend" of a recoverable account to vouch for an active recovery
|
||||||
* process for that account.
|
* process for that account.
|
||||||
@@ -2852,7 +2852,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* 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.
|
||||||
**/
|
**/
|
||||||
vouchRecovery: AugmentedSubmittable<(lost: AccountId32 | string | Uint8Array, rescuer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32]>;
|
vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -3121,7 +3121,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(1)
|
* Total Complexity: O(1)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
found: AugmentedSubmittable<(founder: AccountId32 | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Bytes]>;
|
found: AugmentedSubmittable<(founder: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Allow suspended judgement origin to make judgement on a suspended candidate.
|
* Allow suspended judgement origin to make judgement on a suspended candidate.
|
||||||
*
|
*
|
||||||
@@ -3164,7 +3164,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(M + logM + B + X)
|
* Total Complexity: O(M + logM + B + X)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
judgeSuspendedCandidate: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, judgement: PalletSocietyJudgement | 'Rebid' | 'Reject' | 'Approve' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PalletSocietyJudgement]>;
|
judgeSuspendedCandidate: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletSocietyJudgement | 'Rebid' | 'Reject' | 'Approve' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletSocietyJudgement]>;
|
||||||
/**
|
/**
|
||||||
* Allow suspension judgement origin to make judgement on a suspended member.
|
* Allow suspension judgement origin to make judgement on a suspended member.
|
||||||
*
|
*
|
||||||
@@ -3195,7 +3195,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(M + logM + B)
|
* Total Complexity: O(M + logM + B)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
judgeSuspendedMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, bool]>;
|
judgeSuspendedMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
||||||
/**
|
/**
|
||||||
* Transfer the first matured payout for the sender and remove it from the records.
|
* Transfer the first matured payout for the sender and remove it from the records.
|
||||||
*
|
*
|
||||||
@@ -3364,7 +3364,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(M + B + C + logM + logB + X)
|
* Total Complexity: O(M + B + C + logM + logB + X)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
vouch: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128, u128]>;
|
vouch: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128, u128]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -4002,7 +4002,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::AddOrigin`.
|
* May only be called from `T::AddOrigin`.
|
||||||
**/
|
**/
|
||||||
addMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Swap out the sending member for some other key `new`.
|
* Swap out the sending member for some other key `new`.
|
||||||
*
|
*
|
||||||
@@ -4010,7 +4010,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Prime membership is passed from the origin account to `new`, if extant.
|
* Prime membership is passed from the origin account to `new`, if extant.
|
||||||
**/
|
**/
|
||||||
changeKey: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove the prime member if it exists.
|
* Remove the prime member if it exists.
|
||||||
*
|
*
|
||||||
@@ -4022,7 +4022,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::RemoveOrigin`.
|
* May only be called from `T::RemoveOrigin`.
|
||||||
**/
|
**/
|
||||||
removeMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Change the membership to a new set, disregarding the existing membership. Be nice and
|
* Change the membership to a new set, disregarding the existing membership. Be nice and
|
||||||
* pass `members` pre-sorted.
|
* pass `members` pre-sorted.
|
||||||
@@ -4035,7 +4035,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::PrimeOrigin`.
|
* May only be called from `T::PrimeOrigin`.
|
||||||
**/
|
**/
|
||||||
setPrime: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Swap out one member `remove` for another `add`.
|
* Swap out one member `remove` for another `add`.
|
||||||
*
|
*
|
||||||
@@ -4043,7 +4043,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Prime membership is *not* passed from `remove` to `add`, if extant.
|
* Prime membership is *not* passed from `remove` to `add`, if extant.
|
||||||
**/
|
**/
|
||||||
swapMember: AugmentedSubmittable<(remove: AccountId32 | string | Uint8Array, add: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32]>;
|
swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -4115,7 +4115,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - DbWrites: `Reasons`, `Tips`
|
* - DbWrites: `Reasons`, `Tips`
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, AccountId32]>;
|
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
||||||
*
|
*
|
||||||
@@ -4204,7 +4204,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - DbWrites: `Reasons`, `Tips`
|
* - DbWrites: `Reasons`, `Tips`
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: AccountId32 | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, AccountId32, Compact<u128>]>;
|
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -4510,7 +4510,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - both nodes are within the same bag,
|
* - both nodes are within the same bag,
|
||||||
* - and `origin` has a greater `Score` than `lighter`.
|
* - and `origin` has a greater `Score` than `lighter`.
|
||||||
**/
|
**/
|
||||||
putInFrontOf: AugmentedSubmittable<(lighter: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
||||||
* changed its score that it should properly fall into a different bag than its current
|
* changed its score that it should properly fall into a different bag than its current
|
||||||
@@ -4523,7 +4523,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If `dislocated` does not exists, it returns an error.
|
* If `dislocated` does not exists, it returns an error.
|
||||||
**/
|
**/
|
||||||
rebag: AugmentedSubmittable<(dislocated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -412,6 +412,31 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: Codec;
|
[key: string]: Codec;
|
||||||
};
|
};
|
||||||
|
nominationPools: {
|
||||||
|
/**
|
||||||
|
* The maximum pool points-to-balance ratio that an `open` pool can have.
|
||||||
|
*
|
||||||
|
* This is important in the event slashing takes place and the pool's points-to-balance
|
||||||
|
* ratio becomes disproportional.
|
||||||
|
*
|
||||||
|
* Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations
|
||||||
|
* are a function of number of points, and by setting this value to e.g. 10, you ensure
|
||||||
|
* that the total number of points in the system are at most 10 times the total_issuance of
|
||||||
|
* the chain, in the absolute worse case.
|
||||||
|
*
|
||||||
|
* For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.
|
||||||
|
* Such a scenario would also be the equivalent of the pool being 90% slashed.
|
||||||
|
**/
|
||||||
|
maxPointsToBalance: u8 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* The nomination pool's pallet id.
|
||||||
|
**/
|
||||||
|
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic const
|
||||||
|
**/
|
||||||
|
[key: string]: Codec;
|
||||||
|
};
|
||||||
paras: {
|
paras: {
|
||||||
unsignedPriority: u64 & AugmentedConst<ApiType>;
|
unsignedPriority: u64 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
@@ -432,6 +457,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
* Number of runners_up to keep.
|
* Number of runners_up to keep.
|
||||||
**/
|
**/
|
||||||
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
|
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* The maximum number of candidates in a phragmen election.
|
||||||
|
*
|
||||||
|
* Warning: The election happens onchain, and this value will determine
|
||||||
|
* the size of the election. When this limit is reached no more
|
||||||
|
* candidates are accepted in the election.
|
||||||
|
**/
|
||||||
|
maxCandidates: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* The maximum number of voters to allow in a phragmen election.
|
||||||
|
*
|
||||||
|
* Warning: This impacts the size of the election which is run onchain.
|
||||||
|
* When the limit is reached the new voters are ignored.
|
||||||
|
**/
|
||||||
|
maxVoters: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Identifier for the elections-phragmen pallet's lock
|
* Identifier for the elections-phragmen pallet's lock
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -860,6 +860,104 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: AugmentedError<ApiType>;
|
[key: string]: AugmentedError<ApiType>;
|
||||||
};
|
};
|
||||||
|
nominationPools: {
|
||||||
|
/**
|
||||||
|
* An account is already delegating in another pool. An account may only belong to one
|
||||||
|
* pool at a time.
|
||||||
|
**/
|
||||||
|
AccountBelongsToOtherPool: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The pools state cannot be changed.
|
||||||
|
**/
|
||||||
|
CanNotChangeState: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
||||||
|
**/
|
||||||
|
CannotWithdrawAny: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Some error occurred that should never happen. This should be reported to the
|
||||||
|
* maintainers.
|
||||||
|
**/
|
||||||
|
Defensive: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The caller does not have adequate permissions.
|
||||||
|
**/
|
||||||
|
DoesNotHavePermission: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
||||||
|
* anymore to, for example, collect rewards).
|
||||||
|
**/
|
||||||
|
FullyUnbonding: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Too many members in the pool or system.
|
||||||
|
**/
|
||||||
|
MaxPoolMembers: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The system is maxed out on pools.
|
||||||
|
**/
|
||||||
|
MaxPools: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The member cannot unbond further chunks due to reaching the limit.
|
||||||
|
**/
|
||||||
|
MaxUnbondingLimit: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Metadata exceeds [`Config::MaxMetadataLen`]
|
||||||
|
**/
|
||||||
|
MetadataExceedsMaxLen: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The amount does not meet the minimum bond to either join or create a pool.
|
||||||
|
*
|
||||||
|
* The depositor can never unbond to a value less than
|
||||||
|
* `Pallet::depositor_min_bond`. The caller does not have nominating
|
||||||
|
* permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
|
||||||
|
**/
|
||||||
|
MinimumBondNotMet: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
||||||
|
* other members to be permissionlessly unbonded.
|
||||||
|
**/
|
||||||
|
NotDestroying: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
||||||
|
**/
|
||||||
|
NotKickerOrDestroying: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The caller does not have nominating permissions for the pool.
|
||||||
|
**/
|
||||||
|
NotNominator: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The pool is not open to join
|
||||||
|
**/
|
||||||
|
NotOpen: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* The transaction could not be executed due to overflow risk for the pool.
|
||||||
|
**/
|
||||||
|
OverflowRisk: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Partial unbonding now allowed permissionlessly.
|
||||||
|
**/
|
||||||
|
PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* An account is not a member.
|
||||||
|
**/
|
||||||
|
PoolMemberNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A (bonded) pool id does not exist.
|
||||||
|
**/
|
||||||
|
PoolNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A reward pool does not exist. In all cases this is a system logic error.
|
||||||
|
**/
|
||||||
|
RewardPoolNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* A sub pool does not exist.
|
||||||
|
**/
|
||||||
|
SubPoolsNotFound: AugmentedError<ApiType>;
|
||||||
|
/**
|
||||||
|
* Generic error
|
||||||
|
**/
|
||||||
|
[key: string]: AugmentedError<ApiType>;
|
||||||
|
};
|
||||||
paraInclusion: {
|
paraInclusion: {
|
||||||
/**
|
/**
|
||||||
* Bitfield consists of zeros only.
|
* Bitfield consists of zeros only.
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32,
|
|||||||
import type { ITuple } from '@polkadot/types-codec/types';
|
import type { ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
import type { FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, PolkadotRuntimeProxyType, SpFinalityGrandpaAppPublic, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||||
|
|
||||||
@@ -519,6 +519,74 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: AugmentedEvent<ApiType>;
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
};
|
};
|
||||||
|
nominationPools: {
|
||||||
|
/**
|
||||||
|
* A member has became bonded in a pool.
|
||||||
|
**/
|
||||||
|
Bonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, bonded: u128, joined: bool], { member: AccountId32, poolId: u32, bonded: u128, joined: bool }>;
|
||||||
|
/**
|
||||||
|
* A pool has been created.
|
||||||
|
**/
|
||||||
|
Created: AugmentedEvent<ApiType, [depositor: AccountId32, poolId: u32], { depositor: AccountId32, poolId: u32 }>;
|
||||||
|
/**
|
||||||
|
* A pool has been destroyed.
|
||||||
|
**/
|
||||||
|
Destroyed: AugmentedEvent<ApiType, [poolId: u32], { poolId: u32 }>;
|
||||||
|
/**
|
||||||
|
* A member has been removed from a pool.
|
||||||
|
*
|
||||||
|
* The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked).
|
||||||
|
**/
|
||||||
|
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32], { poolId: u32, member: AccountId32 }>;
|
||||||
|
/**
|
||||||
|
* A payout has been made to a member.
|
||||||
|
**/
|
||||||
|
PaidOut: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, payout: u128], { member: AccountId32, poolId: u32, payout: u128 }>;
|
||||||
|
/**
|
||||||
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
||||||
|
**/
|
||||||
|
PoolSlashed: AugmentedEvent<ApiType, [poolId: u32, balance: u128], { poolId: u32, balance: u128 }>;
|
||||||
|
/**
|
||||||
|
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
||||||
|
* can never change.
|
||||||
|
**/
|
||||||
|
RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, stateToggler: Option<AccountId32>, nominator: Option<AccountId32>], { root: Option<AccountId32>, stateToggler: Option<AccountId32>, nominator: Option<AccountId32> }>;
|
||||||
|
/**
|
||||||
|
* The state of a pool has changed
|
||||||
|
**/
|
||||||
|
StateChanged: AugmentedEvent<ApiType, [poolId: u32, newState: PalletNominationPoolsPoolState], { poolId: u32, newState: PalletNominationPoolsPoolState }>;
|
||||||
|
/**
|
||||||
|
* A member has unbonded from their pool.
|
||||||
|
*
|
||||||
|
* - `balance` is the corresponding balance of the number of points that has been
|
||||||
|
* requested to be unbonded (the argument of the `unbond` transaction) from the bonded
|
||||||
|
* pool.
|
||||||
|
* - `points` is the number of points that are issued as a result of `balance` being
|
||||||
|
* dissolved into the corresponding unbonding pool.
|
||||||
|
* - `era` is the era in which the balance will be unbonded.
|
||||||
|
* In the absence of slashing, these values will match. In the presence of slashing, the
|
||||||
|
* number of points that are issued in the unbonding pool will be less than the amount
|
||||||
|
* requested to be unbonded.
|
||||||
|
**/
|
||||||
|
Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32], { member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32 }>;
|
||||||
|
/**
|
||||||
|
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
||||||
|
**/
|
||||||
|
UnbondingPoolSlashed: AugmentedEvent<ApiType, [poolId: u32, era: u32, balance: u128], { poolId: u32, era: u32, balance: u128 }>;
|
||||||
|
/**
|
||||||
|
* A member has withdrawn from their pool.
|
||||||
|
*
|
||||||
|
* The given number of `points` have been dissolved in return of `balance`.
|
||||||
|
*
|
||||||
|
* Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
|
||||||
|
* will be 1.
|
||||||
|
**/
|
||||||
|
Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], { member: AccountId32, poolId: u32, balance: u128, points: u128 }>;
|
||||||
|
/**
|
||||||
|
* Generic event
|
||||||
|
**/
|
||||||
|
[key: string]: AugmentedEvent<ApiType>;
|
||||||
|
};
|
||||||
offences: {
|
offences: {
|
||||||
/**
|
/**
|
||||||
* There is an offence reported of the given `kind` happened at the `session_index` and
|
* There is an offence reported of the given `kind` happened at the `session_index` and
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import type { BTreeMap, Bytes, Null, Option, U8aFixed, Vec, WrapperKeepOpaque, W
|
|||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerScheduledV3, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2AssignmentAppPublic, PolkadotPrimitivesV2CandidateCommitments, PolkadotPrimitivesV2CoreOccupied, PolkadotPrimitivesV2DisputeState, PolkadotPrimitivesV2ScrapedOnChainVotes, PolkadotPrimitivesV2SessionInfo, PolkadotPrimitivesV2UpgradeGoAhead, PolkadotPrimitivesV2UpgradeRestriction, PolkadotPrimitivesV2ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAvailabilityBitfieldRecord, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerCoreAssignment, PolkadotRuntimeParachainsSchedulerParathreadClaimQueue, PolkadotRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
||||||
import type { Observable } from '@polkadot/types/types';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
@@ -773,6 +773,98 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: QueryableStorageEntry<ApiType>;
|
[key: string]: QueryableStorageEntry<ApiType>;
|
||||||
};
|
};
|
||||||
|
nominationPools: {
|
||||||
|
/**
|
||||||
|
* Storage for bonded pools.
|
||||||
|
**/
|
||||||
|
bondedPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsBondedPoolInner>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
|
/**
|
||||||
|
* Counter for the related counted storage map
|
||||||
|
**/
|
||||||
|
counterForBondedPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Counter for the related counted storage map
|
||||||
|
**/
|
||||||
|
counterForMetadata: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Counter for the related counted storage map
|
||||||
|
**/
|
||||||
|
counterForPoolMembers: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Counter for the related counted storage map
|
||||||
|
**/
|
||||||
|
counterForReversePoolIdLookup: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Counter for the related counted storage map
|
||||||
|
**/
|
||||||
|
counterForRewardPools: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Counter for the related counted storage map
|
||||||
|
**/
|
||||||
|
counterForSubPoolsStorage: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Ever increasing number of all pools created so far.
|
||||||
|
**/
|
||||||
|
lastPoolId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Maximum number of members that can exist in the system. If `None`, then the count
|
||||||
|
* members are not bound on a system wide basis.
|
||||||
|
**/
|
||||||
|
maxPoolMembers: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Maximum number of members that may belong to pool. If `None`, then the count of
|
||||||
|
* members is not bound on a per pool basis.
|
||||||
|
**/
|
||||||
|
maxPoolMembersPerPool: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Maximum number of nomination pools that can exist. If `None`, then an unbounded number of
|
||||||
|
* pools can exist.
|
||||||
|
**/
|
||||||
|
maxPools: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Metadata for the pool.
|
||||||
|
**/
|
||||||
|
metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
|
/**
|
||||||
|
* Minimum bond required to create a pool.
|
||||||
|
*
|
||||||
|
* This is the amount that the depositor must put as their initial stake in the pool, as an
|
||||||
|
* indication of "skin in the game".
|
||||||
|
*
|
||||||
|
* This is the value that will always exist in the staking ledger of the pool bonded account
|
||||||
|
* while all other accounts leave.
|
||||||
|
**/
|
||||||
|
minCreateBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Minimum amount to bond to join a pool.
|
||||||
|
**/
|
||||||
|
minJoinBond: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
|
/**
|
||||||
|
* Active members.
|
||||||
|
**/
|
||||||
|
poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||||
|
/**
|
||||||
|
* A reverse lookup from the pool's account id to its id.
|
||||||
|
*
|
||||||
|
* This is only used for slashing. In all other instances, the pool id is used, and the
|
||||||
|
* accounts are deterministically derived from it.
|
||||||
|
**/
|
||||||
|
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||||
|
/**
|
||||||
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout
|
||||||
|
* is claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account.
|
||||||
|
**/
|
||||||
|
rewardPools: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsRewardPool>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
|
/**
|
||||||
|
* Groups of unbonding pools. Each group of unbonding pools belongs to a bonded pool,
|
||||||
|
* hence the name sub-pools. Keyed by the bonded pools account.
|
||||||
|
**/
|
||||||
|
subPoolsStorage: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNominationPoolsSubPools>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
|
/**
|
||||||
|
* Generic query
|
||||||
|
**/
|
||||||
|
[key: string]: QueryableStorageEntry<ApiType>;
|
||||||
|
};
|
||||||
offences: {
|
offences: {
|
||||||
/**
|
/**
|
||||||
* A vector of reports of the same kind that happened at the same time slot.
|
* A vector of reports of the same kind that happened at the same time slot.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import '@polkadot/api-base/types/calls';
|
|||||||
|
|
||||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
||||||
import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
|
import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
|
||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
||||||
import type { ValidatorSet } from '@polkadot/types/interfaces/beefy';
|
import type { ValidatorSet } from '@polkadot/types/interfaces/beefy';
|
||||||
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
||||||
@@ -19,7 +19,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|||||||
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
|
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
|
||||||
import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
||||||
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
||||||
import type { AccountId, Block, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
||||||
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
||||||
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
||||||
@@ -337,5 +337,20 @@ declare module '@polkadot/api-base/types/calls' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: DecoratedCallBase<ApiType>;
|
[key: string]: DecoratedCallBase<ApiType>;
|
||||||
};
|
};
|
||||||
|
/** 0xf3ff14d5ab527059/1 */
|
||||||
|
transactionPaymentCallApi: {
|
||||||
|
/**
|
||||||
|
* The call fee details
|
||||||
|
**/
|
||||||
|
queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
|
||||||
|
/**
|
||||||
|
* The call info
|
||||||
|
**/
|
||||||
|
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
||||||
|
/**
|
||||||
|
* Generic call
|
||||||
|
**/
|
||||||
|
[key: string]: DecoratedCallBase<ApiType>;
|
||||||
|
};
|
||||||
} // AugmentedCalls
|
} // AugmentedCalls
|
||||||
} // declare module
|
} // declare module
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u1
|
|||||||
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { FrameSupportScheduleMaybeHashed, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
import type { FrameSupportScheduleMaybeHashed, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletVestingVestingInfo, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2InherentData, PolkadotPrimitivesV2PvfCheckStatement, PolkadotPrimitivesV2ValidatorAppSignature, PolkadotRuntimeCommonClaimsEcdsaSignature, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeOriginCaller, PolkadotRuntimeProxyType, PolkadotRuntimeSessionKeys, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpRuntimeMultiSignature, SpRuntimeMultiSigner, SpSessionMembershipProof, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||||
@@ -1083,7 +1083,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(R)` where R is the number of referendums the voter delegating to has
|
* Weight: `O(R)` where R is the number of referendums the voter delegating to has
|
||||||
* voted on. Weight is charged as if maximum votes.
|
* voted on. Weight is charged as if maximum votes.
|
||||||
**/
|
**/
|
||||||
delegate: AugmentedSubmittable<(to: AccountId32 | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PalletDemocracyConviction, u128]>;
|
delegate: AugmentedSubmittable<(to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletDemocracyConviction, u128]>;
|
||||||
/**
|
/**
|
||||||
* Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
|
* Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
|
||||||
* referendum.
|
* referendum.
|
||||||
@@ -1243,7 +1243,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
||||||
* Weight is calculated for the maximum number of vote.
|
* Weight is calculated for the maximum number of vote.
|
||||||
**/
|
**/
|
||||||
removeOtherVote: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a referendum.
|
* Remove a vote for a referendum.
|
||||||
*
|
*
|
||||||
@@ -1311,7 +1311,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(R)` with R number of vote of target.
|
* Weight: `O(R)` with R number of vote of target.
|
||||||
**/
|
**/
|
||||||
unlock: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
unlock: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Veto and blacklist the external proposal hash.
|
* Veto and blacklist the external proposal hash.
|
||||||
*
|
*
|
||||||
@@ -1535,7 +1535,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - One event.
|
* - One event.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
addRegistrar: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Add the given account to the sender's subs.
|
* Add the given account to the sender's subs.
|
||||||
*
|
*
|
||||||
@@ -1702,7 +1702,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
|
* - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, AccountId32]>;
|
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Set the fee required for a judgement to be requested from a registrar.
|
* Set the fee required for a judgement to be requested from a registrar.
|
||||||
*
|
*
|
||||||
@@ -1849,7 +1849,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Writes: Indices Accounts, System Account (original owner)
|
* - Writes: Indices Accounts, System Account (original owner)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
forceTransfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, bool]>;
|
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
|
||||||
/**
|
/**
|
||||||
* Free up an index owned by the sender.
|
* Free up an index owned by the sender.
|
||||||
*
|
*
|
||||||
@@ -1914,7 +1914,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Writes: Indices Accounts, System Account (recipient)
|
* - Writes: Indices Accounts, System Account (recipient)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
transfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
transfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2072,6 +2072,188 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
**/
|
**/
|
||||||
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
};
|
};
|
||||||
|
nominationPools: {
|
||||||
|
/**
|
||||||
|
* Bond `extra` more funds from `origin` into the pool to which they already belong.
|
||||||
|
*
|
||||||
|
* Additional funds can come from either the free balance of the account, of from the
|
||||||
|
* accumulated rewards, see [`BondExtra`].
|
||||||
|
*
|
||||||
|
* Bonding extra funds implies an automatic payout of all pending rewards as well.
|
||||||
|
**/
|
||||||
|
bondExtra: AugmentedSubmittable<(extra: PalletNominationPoolsBondExtra | { FreeBalance: any } | { Rewards: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsBondExtra]>;
|
||||||
|
/**
|
||||||
|
* Chill on behalf of the pool.
|
||||||
|
*
|
||||||
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
||||||
|
* root role, same as [`Pallet::nominate`].
|
||||||
|
*
|
||||||
|
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
||||||
|
* account.
|
||||||
|
**/
|
||||||
|
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
|
/**
|
||||||
|
* A bonded member can use this to claim their payout based on the rewards that the pool
|
||||||
|
* has accumulated since their last claimed payout (OR since joining if this is there first
|
||||||
|
* time claiming rewards). The payout will be transferred to the member's account.
|
||||||
|
*
|
||||||
|
* The member will earn rewards pro rata based on the members stake vs the sum of the
|
||||||
|
* members in the pools stake. Rewards do not "expire".
|
||||||
|
**/
|
||||||
|
claimPayout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
||||||
|
/**
|
||||||
|
* Create a new delegation pool.
|
||||||
|
*
|
||||||
|
* # Arguments
|
||||||
|
*
|
||||||
|
* * `amount` - The amount of funds to delegate to the pool. This also acts of a sort of
|
||||||
|
* deposit since the pools creator cannot fully unbond funds until the pool is being
|
||||||
|
* destroyed.
|
||||||
|
* * `index` - A disambiguation index for creating the account. Likely only useful when
|
||||||
|
* creating multiple pools in the same extrinsic.
|
||||||
|
* * `root` - The account to set as [`PoolRoles::root`].
|
||||||
|
* * `nominator` - The account to set as the [`PoolRoles::nominator`].
|
||||||
|
* * `state_toggler` - The account to set as the [`PoolRoles::state_toggler`].
|
||||||
|
*
|
||||||
|
* # Note
|
||||||
|
*
|
||||||
|
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
||||||
|
* needs at have at least `amount + existential_deposit` transferrable.
|
||||||
|
**/
|
||||||
|
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, stateToggler: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
||||||
|
/**
|
||||||
|
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
||||||
|
* pools account and immediately increases the pools bond.
|
||||||
|
*
|
||||||
|
* # Note
|
||||||
|
*
|
||||||
|
* * An account can only be a member of a single pool.
|
||||||
|
* * An account cannot join the same pool multiple times.
|
||||||
|
* * This call will *not* dust the member account, so the member must have at least
|
||||||
|
* `existential deposit + amount` in their account.
|
||||||
|
* * Only a pool with [`PoolState::Open`] can be joined
|
||||||
|
**/
|
||||||
|
join: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
||||||
|
/**
|
||||||
|
* Nominate on behalf of the pool.
|
||||||
|
*
|
||||||
|
* The dispatch origin of this call must be signed by the pool nominator or the pool
|
||||||
|
* root role.
|
||||||
|
*
|
||||||
|
* This directly forward the call to the staking pallet, on behalf of the pool bonded
|
||||||
|
* account.
|
||||||
|
**/
|
||||||
|
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
||||||
|
/**
|
||||||
|
* Call `withdraw_unbonded` for the pools account. This call can be made by any account.
|
||||||
|
*
|
||||||
|
* This is useful if their are too many unlocking chunks to call `unbond`, and some
|
||||||
|
* can be cleared by withdrawing. In the case there are too many unlocking chunks, the user
|
||||||
|
* would probably see an error like `NoMoreChunks` emitted from the staking system when
|
||||||
|
* they attempt to unbond.
|
||||||
|
**/
|
||||||
|
poolWithdrawUnbonded: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
||||||
|
/**
|
||||||
|
* Update configurations for the nomination pools. The origin for this call must be
|
||||||
|
* Root.
|
||||||
|
*
|
||||||
|
* # Arguments
|
||||||
|
*
|
||||||
|
* * `min_join_bond` - Set [`MinJoinBond`].
|
||||||
|
* * `min_create_bond` - Set [`MinCreateBond`].
|
||||||
|
* * `max_pools` - Set [`MaxPools`].
|
||||||
|
* * `max_members` - Set [`MaxPoolMembers`].
|
||||||
|
* * `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].
|
||||||
|
**/
|
||||||
|
setConfigs: AugmentedSubmittable<(minJoinBond: PalletNominationPoolsConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, minCreateBond: PalletNominationPoolsConfigOpU128 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxPools: PalletNominationPoolsConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxMembers: PalletNominationPoolsConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, maxMembersPerPool: PalletNominationPoolsConfigOpU32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32]>;
|
||||||
|
/**
|
||||||
|
* Set a new metadata for the pool.
|
||||||
|
*
|
||||||
|
* The dispatch origin of this call must be signed by the state toggler, or the root role
|
||||||
|
* of the pool.
|
||||||
|
**/
|
||||||
|
setMetadata: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
||||||
|
/**
|
||||||
|
* Set a new state for the pool.
|
||||||
|
*
|
||||||
|
* If a pool is already in the `Destroying` state, then under no condition can its state
|
||||||
|
* change again.
|
||||||
|
*
|
||||||
|
* The dispatch origin of this call must be either:
|
||||||
|
*
|
||||||
|
* 1. signed by the state toggler, or the root role of the pool,
|
||||||
|
* 2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and
|
||||||
|
* then the state of the pool can be permissionlessly changed to `Destroying`.
|
||||||
|
**/
|
||||||
|
setState: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, state: PalletNominationPoolsPoolState | 'Open' | 'Blocked' | 'Destroying' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsPoolState]>;
|
||||||
|
/**
|
||||||
|
* Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It
|
||||||
|
* implicitly collects the rewards one last time, since not doing so would mean some
|
||||||
|
* rewards would be forfeited.
|
||||||
|
*
|
||||||
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
||||||
|
* account).
|
||||||
|
*
|
||||||
|
* # Conditions for a permissionless dispatch.
|
||||||
|
*
|
||||||
|
* * The pool is blocked and the caller is either the root or state-toggler. This is
|
||||||
|
* refereed to as a kick.
|
||||||
|
* * The pool is destroying and the member is not the depositor.
|
||||||
|
* * The pool is destroying, the member is the depositor and no other members are in the
|
||||||
|
* pool.
|
||||||
|
*
|
||||||
|
* ## Conditions for permissioned dispatch (i.e. the caller is also the
|
||||||
|
* `member_account`):
|
||||||
|
*
|
||||||
|
* * The caller is not the depositor.
|
||||||
|
* * The caller is the depositor, the pool is destroying and no other members are in the
|
||||||
|
* pool.
|
||||||
|
*
|
||||||
|
* # Note
|
||||||
|
*
|
||||||
|
* If there are too many unlocking chunks to unbond with the pool account,
|
||||||
|
* [`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks. If
|
||||||
|
* there are too many unlocking chunks, the result of this call will likely be the
|
||||||
|
* `NoMoreChunks` error from the staking system.
|
||||||
|
**/
|
||||||
|
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
||||||
|
/**
|
||||||
|
* Update the roles of the pool.
|
||||||
|
*
|
||||||
|
* The root is the only entity that can change any of the roles, including itself,
|
||||||
|
* excluding the depositor, who can never change.
|
||||||
|
*
|
||||||
|
* It emits an event, notifying UIs of the role change. This event is quite relevant to
|
||||||
|
* most pool members and they should be informed of changes to pool roles.
|
||||||
|
**/
|
||||||
|
updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PalletNominationPoolsConfigOpAccountId32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, newNominator: PalletNominationPoolsConfigOpAccountId32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array, newStateToggler: PalletNominationPoolsConfigOpAccountId32 | { Noop: any } | { Set: any } | { Remove: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpAccountId32]>;
|
||||||
|
/**
|
||||||
|
* Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
|
||||||
|
* error is returned.
|
||||||
|
*
|
||||||
|
* Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
|
||||||
|
* account).
|
||||||
|
*
|
||||||
|
* # Conditions for a permissionless dispatch
|
||||||
|
*
|
||||||
|
* * The pool is in destroy mode and the target is not the depositor.
|
||||||
|
* * The target is the depositor and they are the only member in the sub pools.
|
||||||
|
* * The pool is blocked and the caller is either the root or state-toggler.
|
||||||
|
*
|
||||||
|
* # Conditions for permissioned dispatch
|
||||||
|
*
|
||||||
|
* * The caller is the target and they are not the depositor.
|
||||||
|
*
|
||||||
|
* # Note
|
||||||
|
*
|
||||||
|
* If the target is the depositor, the pool will be destroyed.
|
||||||
|
**/
|
||||||
|
withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
|
/**
|
||||||
|
* Generic tx
|
||||||
|
**/
|
||||||
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||||
|
};
|
||||||
paraInclusion: {
|
paraInclusion: {
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
@@ -2317,7 +2499,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
addProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PolkadotRuntimeProxyType, u32]>;
|
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Publish the hash of a proxy-call that will be made in the future.
|
* Publish the hash of a proxy-call that will be made in the future.
|
||||||
*
|
*
|
||||||
@@ -2341,7 +2523,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
announce: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
||||||
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
||||||
@@ -2390,7 +2572,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
killAnonymous: AugmentedSubmittable<(spawner: AccountId32 | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PolkadotRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
killAnonymous: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
* Dispatch the given `call` from an account that the sender is authorised for through
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -2408,7 +2590,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<PolkadotRuntimeProxyType>, Call]>;
|
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
|
||||||
/**
|
/**
|
||||||
* Dispatch the given `call` from an account that the sender is authorized for through
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -2428,7 +2610,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32, Option<PolkadotRuntimeProxyType>, Call]>;
|
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<PolkadotRuntimeProxyType> | null | Uint8Array | PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PolkadotRuntimeProxyType>, Call]>;
|
||||||
/**
|
/**
|
||||||
* Remove the given announcement of a delegate.
|
* Remove the given announcement of a delegate.
|
||||||
*
|
*
|
||||||
@@ -2447,7 +2629,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
rejectAnnouncement: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Remove a given announcement.
|
* Remove a given announcement.
|
||||||
*
|
*
|
||||||
@@ -2466,7 +2648,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
removeAnnouncement: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Unregister all proxy accounts for the sender.
|
* Unregister all proxy accounts for the sender.
|
||||||
*
|
*
|
||||||
@@ -2493,7 +2675,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
removeProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PolkadotRuntimeProxyType, u32]>;
|
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PolkadotRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | 'IdentityJudgement' | 'CancelProxy' | 'Auction' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PolkadotRuntimeProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -3316,7 +3498,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::AddOrigin`.
|
* May only be called from `T::AddOrigin`.
|
||||||
**/
|
**/
|
||||||
addMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Swap out the sending member for some other key `new`.
|
* Swap out the sending member for some other key `new`.
|
||||||
*
|
*
|
||||||
@@ -3324,7 +3506,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Prime membership is passed from the origin account to `new`, if extant.
|
* Prime membership is passed from the origin account to `new`, if extant.
|
||||||
**/
|
**/
|
||||||
changeKey: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove the prime member if it exists.
|
* Remove the prime member if it exists.
|
||||||
*
|
*
|
||||||
@@ -3336,7 +3518,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::RemoveOrigin`.
|
* May only be called from `T::RemoveOrigin`.
|
||||||
**/
|
**/
|
||||||
removeMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Change the membership to a new set, disregarding the existing membership. Be nice and
|
* Change the membership to a new set, disregarding the existing membership. Be nice and
|
||||||
* pass `members` pre-sorted.
|
* pass `members` pre-sorted.
|
||||||
@@ -3349,7 +3531,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::PrimeOrigin`.
|
* May only be called from `T::PrimeOrigin`.
|
||||||
**/
|
**/
|
||||||
setPrime: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Swap out one member `remove` for another `add`.
|
* Swap out one member `remove` for another `add`.
|
||||||
*
|
*
|
||||||
@@ -3357,7 +3539,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Prime membership is *not* passed from `remove` to `add`, if extant.
|
* Prime membership is *not* passed from `remove` to `add`, if extant.
|
||||||
**/
|
**/
|
||||||
swapMember: AugmentedSubmittable<(remove: AccountId32 | string | Uint8Array, add: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32]>;
|
swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -3429,7 +3611,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - DbWrites: `Reasons`, `Tips`
|
* - DbWrites: `Reasons`, `Tips`
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, AccountId32]>;
|
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
||||||
*
|
*
|
||||||
@@ -3518,7 +3700,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - DbWrites: `Reasons`, `Tips`
|
* - DbWrites: `Reasons`, `Tips`
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: AccountId32 | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, AccountId32, Compact<u128>]>;
|
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -3824,7 +4006,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - both nodes are within the same bag,
|
* - both nodes are within the same bag,
|
||||||
* - and `origin` has a greater `Score` than `lighter`.
|
* - and `origin` has a greater `Score` than `lighter`.
|
||||||
**/
|
**/
|
||||||
putInFrontOf: AugmentedSubmittable<(lighter: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
||||||
* changed its score that it should properly fall into a different bag than its current
|
* changed its score that it should properly fall into a different bag than its current
|
||||||
@@ -3837,7 +4019,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If `dislocated` does not exists, it returns an error.
|
* If `dislocated` does not exists, it returns an error.
|
||||||
**/
|
**/
|
||||||
rebag: AugmentedSubmittable<(dislocated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -494,6 +494,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|||||||
* Number of runners_up to keep.
|
* Number of runners_up to keep.
|
||||||
**/
|
**/
|
||||||
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
|
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* The maximum number of candidates in a phragmen election.
|
||||||
|
*
|
||||||
|
* Warning: The election happens onchain, and this value will determine
|
||||||
|
* the size of the election. When this limit is reached no more
|
||||||
|
* candidates are accepted in the election.
|
||||||
|
**/
|
||||||
|
maxCandidates: u32 & AugmentedConst<ApiType>;
|
||||||
|
/**
|
||||||
|
* The maximum number of voters to allow in a phragmen election.
|
||||||
|
*
|
||||||
|
* Warning: This impacts the size of the election which is run onchain.
|
||||||
|
* When the limit is reached the new voters are ignored.
|
||||||
|
**/
|
||||||
|
maxVoters: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Identifier for the elections-phragmen pallet's lock
|
* Identifier for the elections-phragmen pallet's lock
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -2085,12 +2085,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|||||||
* The provided max supply is less to the amount of items a collection already has.
|
* The provided max supply is less to the amount of items a collection already has.
|
||||||
**/
|
**/
|
||||||
MaxSupplyTooSmall: AugmentedError<ApiType>;
|
MaxSupplyTooSmall: AugmentedError<ApiType>;
|
||||||
/**
|
|
||||||
* The `CollectionId` in `NextCollectionId` is not being used.
|
|
||||||
*
|
|
||||||
* This means that you can directly proceed to call `create`.
|
|
||||||
**/
|
|
||||||
NextIdNotUsed: AugmentedError<ApiType>;
|
|
||||||
/**
|
/**
|
||||||
* There is no delegate approved.
|
* There is no delegate approved.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -1504,10 +1504,6 @@ declare module '@polkadot/api-base/types/events' {
|
|||||||
* New metadata has been set for an item.
|
* New metadata has been set for an item.
|
||||||
**/
|
**/
|
||||||
MetadataSet: AugmentedEvent<ApiType, [collection: u32, item: u32, data: Bytes, isFrozen: bool], { collection: u32, item: u32, data: Bytes, isFrozen: bool }>;
|
MetadataSet: AugmentedEvent<ApiType, [collection: u32, item: u32, data: Bytes, isFrozen: bool], { collection: u32, item: u32, data: Bytes, isFrozen: bool }>;
|
||||||
/**
|
|
||||||
* Event gets emmited when the `NextCollectionId` gets incremented.
|
|
||||||
**/
|
|
||||||
NextCollectionIdIncremented: AugmentedEvent<ApiType, [nextId: u32], { nextId: u32 }>;
|
|
||||||
/**
|
/**
|
||||||
* The owner changed.
|
* The owner changed.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -1779,11 +1779,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|||||||
* Price of an asset instance.
|
* Price of an asset instance.
|
||||||
**/
|
**/
|
||||||
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
|
||||||
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
||||||
* This gets incremented by 1 whenever a new collection is created.
|
|
||||||
**/
|
|
||||||
nextCollectionId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
||||||
/**
|
/**
|
||||||
* The collection, if any, of which an account is willing to take ownership.
|
* The collection, if any, of which an account is willing to take ownership.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -737,7 +737,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - both nodes are within the same bag,
|
* - both nodes are within the same bag,
|
||||||
* - and `origin` has a greater `Score` than `lighter`.
|
* - and `origin` has a greater `Score` than `lighter`.
|
||||||
**/
|
**/
|
||||||
putInFrontOf: AugmentedSubmittable<(lighter: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
||||||
* changed its score that it should properly fall into a different bag than its current
|
* changed its score that it should properly fall into a different bag than its current
|
||||||
@@ -750,7 +750,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If `dislocated` does not exists, it returns an error.
|
* If `dislocated` does not exists, it returns an error.
|
||||||
**/
|
**/
|
||||||
rebag: AugmentedSubmittable<(dislocated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1267,7 +1267,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
||||||
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
||||||
**/
|
**/
|
||||||
delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: AccountId32 | string | Uint8Array, conviction: PalletConvictionVotingConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, AccountId32, PalletConvictionVotingConviction, u128]>;
|
delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PalletConvictionVotingConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress, PalletConvictionVotingConviction, u128]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a poll.
|
* Remove a vote for a poll.
|
||||||
*
|
*
|
||||||
@@ -1286,7 +1286,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
||||||
* Weight is calculated for the maximum number of vote.
|
* Weight is calculated for the maximum number of vote.
|
||||||
**/
|
**/
|
||||||
removeOtherVote: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16, u32]>;
|
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a poll.
|
* Remove a vote for a poll.
|
||||||
*
|
*
|
||||||
@@ -1347,7 +1347,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(R)` with R number of vote of target.
|
* Weight: `O(R)` with R number of vote of target.
|
||||||
**/
|
**/
|
||||||
unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, AccountId32]>;
|
unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
|
* Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
|
||||||
* otherwise it is a vote to keep the status quo.
|
* otherwise it is a vote to keep the status quo.
|
||||||
@@ -1599,7 +1599,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(R)` where R is the number of referendums the voter delegating to has
|
* Weight: `O(R)` where R is the number of referendums the voter delegating to has
|
||||||
* voted on. Weight is charged as if maximum votes.
|
* voted on. Weight is charged as if maximum votes.
|
||||||
**/
|
**/
|
||||||
delegate: AugmentedSubmittable<(to: AccountId32 | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PalletDemocracyConviction, u128]>;
|
delegate: AugmentedSubmittable<(to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletDemocracyConviction, u128]>;
|
||||||
/**
|
/**
|
||||||
* Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
|
* Schedule an emergency cancellation of a referendum. Cannot happen twice to the same
|
||||||
* referendum.
|
* referendum.
|
||||||
@@ -1759,7 +1759,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
* Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on.
|
||||||
* Weight is calculated for the maximum number of vote.
|
* Weight is calculated for the maximum number of vote.
|
||||||
**/
|
**/
|
||||||
removeOtherVote: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a referendum.
|
* Remove a vote for a referendum.
|
||||||
*
|
*
|
||||||
@@ -1827,7 +1827,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(R)` with R number of vote of target.
|
* Weight: `O(R)` with R number of vote of target.
|
||||||
**/
|
**/
|
||||||
unlock: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
unlock: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Veto and blacklist the external proposal hash.
|
* Veto and blacklist the external proposal hash.
|
||||||
*
|
*
|
||||||
@@ -2138,7 +2138,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - One event.
|
* - One event.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
addRegistrar: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Add the given account to the sender's subs.
|
* Add the given account to the sender's subs.
|
||||||
*
|
*
|
||||||
@@ -2305,7 +2305,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
|
* - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, AccountId32]>;
|
setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Set the fee required for a judgement to be requested from a registrar.
|
* Set the fee required for a judgement to be requested from a registrar.
|
||||||
*
|
*
|
||||||
@@ -2452,7 +2452,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Writes: Indices Accounts, System Account (original owner)
|
* - Writes: Indices Accounts, System Account (original owner)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
forceTransfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, bool]>;
|
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
|
||||||
/**
|
/**
|
||||||
* Free up an index owned by the sender.
|
* Free up an index owned by the sender.
|
||||||
*
|
*
|
||||||
@@ -2517,7 +2517,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - Writes: Indices Accounts, System Account (recipient)
|
* - Writes: Indices Accounts, System Account (recipient)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
transfer: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
transfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2760,7 +2760,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
||||||
* needs at have at least `amount + existential_deposit` transferrable.
|
* needs at have at least `amount + existential_deposit` transferrable.
|
||||||
**/
|
**/
|
||||||
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: AccountId32 | string | Uint8Array, nominator: AccountId32 | string | Uint8Array, stateToggler: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, AccountId32, AccountId32, AccountId32]>;
|
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, stateToggler: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
* Stake funds with a pool. The amount to bond is transferred from the member to the
|
||||||
* pools account and immediately increases the pools bond.
|
* pools account and immediately increases the pools bond.
|
||||||
@@ -2856,7 +2856,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* there are too many unlocking chunks, the result of this call will likely be the
|
* there are too many unlocking chunks, the result of this call will likely be the
|
||||||
* `NoMoreChunks` error from the staking system.
|
* `NoMoreChunks` error from the staking system.
|
||||||
**/
|
**/
|
||||||
unbond: AugmentedSubmittable<(memberAccount: AccountId32 | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Compact<u128>]>;
|
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Update the roles of the pool.
|
* Update the roles of the pool.
|
||||||
*
|
*
|
||||||
@@ -2888,7 +2888,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If the target is the depositor, the pool will be destroyed.
|
* If the target is the depositor, the pool will be destroyed.
|
||||||
**/
|
**/
|
||||||
withdrawUnbonded: AugmentedSubmittable<(memberAccount: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2940,7 +2940,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
addProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KitchensinkRuntimeProxyType, u32]>;
|
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Publish the hash of a proxy-call that will be made in the future.
|
* Publish the hash of a proxy-call that will be made in the future.
|
||||||
*
|
*
|
||||||
@@ -2964,7 +2964,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
announce: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
||||||
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
||||||
@@ -3013,7 +3013,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
killAnonymous: AugmentedSubmittable<(spawner: AccountId32 | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KitchensinkRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
killAnonymous: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
* Dispatch the given `call` from an account that the sender is authorised for through
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -3031,7 +3031,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<KitchensinkRuntimeProxyType>, Call]>;
|
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<KitchensinkRuntimeProxyType>, Call]>;
|
||||||
/**
|
/**
|
||||||
* Dispatch the given `call` from an account that the sender is authorized for through
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -3051,7 +3051,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32, Option<KitchensinkRuntimeProxyType>, Call]>;
|
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<KitchensinkRuntimeProxyType> | null | Uint8Array | KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<KitchensinkRuntimeProxyType>, Call]>;
|
||||||
/**
|
/**
|
||||||
* Remove the given announcement of a delegate.
|
* Remove the given announcement of a delegate.
|
||||||
*
|
*
|
||||||
@@ -3070,7 +3070,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
rejectAnnouncement: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Remove a given announcement.
|
* Remove a given announcement.
|
||||||
*
|
*
|
||||||
@@ -3089,7 +3089,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - P: the number of proxies the user has.
|
* - P: the number of proxies the user has.
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
removeAnnouncement: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, H256]>;
|
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Unregister all proxy accounts for the sender.
|
* Unregister all proxy accounts for the sender.
|
||||||
*
|
*
|
||||||
@@ -3116,7 +3116,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight is a function of the number of proxies the user has (P).
|
* Weight is a function of the number of proxies the user has (P).
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
removeProxy: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, KitchensinkRuntimeProxyType, u32]>;
|
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: KitchensinkRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, KitchensinkRuntimeProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -3132,7 +3132,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(1)`
|
* Weight: `O(1)`
|
||||||
**/
|
**/
|
||||||
addMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove votes from the given poll. It must have ended.
|
* Remove votes from the given poll. It must have ended.
|
||||||
*
|
*
|
||||||
@@ -3155,7 +3155,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(1)`, less if the member's index is highest in its rank.
|
* Weight: `O(1)`, less if the member's index is highest in its rank.
|
||||||
**/
|
**/
|
||||||
demoteMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
demoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Increment the rank of an existing member by one.
|
* Increment the rank of an existing member by one.
|
||||||
*
|
*
|
||||||
@@ -3164,7 +3164,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(1)`
|
* Weight: `O(1)`
|
||||||
**/
|
**/
|
||||||
promoteMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
promoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove the member entirely.
|
* Remove the member entirely.
|
||||||
*
|
*
|
||||||
@@ -3174,7 +3174,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(min_rank)`.
|
* Weight: `O(min_rank)`.
|
||||||
**/
|
**/
|
||||||
removeMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16]>;
|
removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16]>;
|
||||||
/**
|
/**
|
||||||
* Add an aye or nay vote for the sender to the given proposal.
|
* Add an aye or nay vote for the sender to the given proposal.
|
||||||
*
|
*
|
||||||
@@ -3281,7 +3281,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `account`: The recovered account you want to make a call on-behalf-of.
|
* - `account`: The recovered account you want to make a call on-behalf-of.
|
||||||
* - `call`: The call you want to make with the recovered account.
|
* - `call`: The call you want to make with the recovered account.
|
||||||
**/
|
**/
|
||||||
asRecovered: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Call]>;
|
asRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
|
||||||
/**
|
/**
|
||||||
* Cancel the ability to use `as_recovered` for `account`.
|
* Cancel the ability to use `as_recovered` for `account`.
|
||||||
*
|
*
|
||||||
@@ -3291,7 +3291,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Parameters:
|
* Parameters:
|
||||||
* - `account`: The recovered account you are able to call on-behalf-of.
|
* - `account`: The recovered account you are able to call on-behalf-of.
|
||||||
**/
|
**/
|
||||||
cancelRecovered: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
cancelRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Allow a successful rescuer to claim their recovered account.
|
* Allow a successful rescuer to claim their recovered account.
|
||||||
*
|
*
|
||||||
@@ -3303,7 +3303,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `account`: The lost account that you want to claim has been successfully recovered by
|
* - `account`: The lost account that you want to claim has been successfully recovered by
|
||||||
* you.
|
* you.
|
||||||
**/
|
**/
|
||||||
claimRecovery: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
claimRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* As the controller of a recoverable account, close an active recovery
|
* As the controller of a recoverable account, close an active recovery
|
||||||
* process for your account.
|
* process for your account.
|
||||||
@@ -3317,7 +3317,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Parameters:
|
* Parameters:
|
||||||
* - `rescuer`: The account trying to rescue this recoverable account.
|
* - `rescuer`: The account trying to rescue this recoverable account.
|
||||||
**/
|
**/
|
||||||
closeRecovery: AugmentedSubmittable<(rescuer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Create a recovery configuration for your account. This makes your account recoverable.
|
* Create a recovery configuration for your account. This makes your account recoverable.
|
||||||
*
|
*
|
||||||
@@ -3350,7 +3350,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `account`: The lost account that you want to recover. This account needs to be
|
* - `account`: The lost account that you want to recover. This account needs to be
|
||||||
* recoverable (i.e. have a recovery configuration).
|
* recoverable (i.e. have a recovery configuration).
|
||||||
**/
|
**/
|
||||||
initiateRecovery: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
initiateRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
||||||
*
|
*
|
||||||
@@ -3375,7 +3375,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - `lost`: The "lost account" to be recovered.
|
* - `lost`: The "lost account" to be recovered.
|
||||||
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
||||||
**/
|
**/
|
||||||
setRecovered: AugmentedSubmittable<(lost: AccountId32 | string | Uint8Array, rescuer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32]>;
|
setRecovered: AugmentedSubmittable<(lost: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Allow a "friend" of a recoverable account to vouch for an active recovery
|
* Allow a "friend" of a recoverable account to vouch for an active recovery
|
||||||
* process for that account.
|
* process for that account.
|
||||||
@@ -3390,7 +3390,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* 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.
|
||||||
**/
|
**/
|
||||||
vouchRecovery: AugmentedSubmittable<(lost: AccountId32 | string | Uint8Array, rescuer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32]>;
|
vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -3640,7 +3640,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(1)
|
* Total Complexity: O(1)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
found: AugmentedSubmittable<(founder: AccountId32 | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Bytes]>;
|
found: AugmentedSubmittable<(founder: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Allow suspended judgement origin to make judgement on a suspended candidate.
|
* Allow suspended judgement origin to make judgement on a suspended candidate.
|
||||||
*
|
*
|
||||||
@@ -3683,7 +3683,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(M + logM + B + X)
|
* Total Complexity: O(M + logM + B + X)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
judgeSuspendedCandidate: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, judgement: PalletSocietyJudgement | 'Rebid' | 'Reject' | 'Approve' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PalletSocietyJudgement]>;
|
judgeSuspendedCandidate: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletSocietyJudgement | 'Rebid' | 'Reject' | 'Approve' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletSocietyJudgement]>;
|
||||||
/**
|
/**
|
||||||
* Allow suspension judgement origin to make judgement on a suspended member.
|
* Allow suspension judgement origin to make judgement on a suspended member.
|
||||||
*
|
*
|
||||||
@@ -3714,7 +3714,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(M + logM + B)
|
* Total Complexity: O(M + logM + B)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
judgeSuspendedMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, bool]>;
|
judgeSuspendedMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
||||||
/**
|
/**
|
||||||
* Transfer the first matured payout for the sender and remove it from the records.
|
* Transfer the first matured payout for the sender and remove it from the records.
|
||||||
*
|
*
|
||||||
@@ -3883,7 +3883,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(M + B + C + logM + logB + X)
|
* Total Complexity: O(M + B + C + logM + logB + X)
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
vouch: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128, u128]>;
|
vouch: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128, u128]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -4648,7 +4648,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::AddOrigin`.
|
* May only be called from `T::AddOrigin`.
|
||||||
**/
|
**/
|
||||||
addMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Swap out the sending member for some other key `new`.
|
* Swap out the sending member for some other key `new`.
|
||||||
*
|
*
|
||||||
@@ -4656,7 +4656,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Prime membership is passed from the origin account to `new`, if extant.
|
* Prime membership is passed from the origin account to `new`, if extant.
|
||||||
**/
|
**/
|
||||||
changeKey: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove the prime member if it exists.
|
* Remove the prime member if it exists.
|
||||||
*
|
*
|
||||||
@@ -4668,7 +4668,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::RemoveOrigin`.
|
* May only be called from `T::RemoveOrigin`.
|
||||||
**/
|
**/
|
||||||
removeMember: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Change the membership to a new set, disregarding the existing membership. Be nice and
|
* Change the membership to a new set, disregarding the existing membership. Be nice and
|
||||||
* pass `members` pre-sorted.
|
* pass `members` pre-sorted.
|
||||||
@@ -4681,7 +4681,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May only be called from `T::PrimeOrigin`.
|
* May only be called from `T::PrimeOrigin`.
|
||||||
**/
|
**/
|
||||||
setPrime: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Swap out one member `remove` for another `add`.
|
* Swap out one member `remove` for another `add`.
|
||||||
*
|
*
|
||||||
@@ -4689,7 +4689,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Prime membership is *not* passed from `remove` to `add`, if extant.
|
* Prime membership is *not* passed from `remove` to `add`, if extant.
|
||||||
**/
|
**/
|
||||||
swapMember: AugmentedSubmittable<(remove: AccountId32 | string | Uint8Array, add: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32]>;
|
swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -4761,7 +4761,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - DbWrites: `Reasons`, `Tips`
|
* - DbWrites: `Reasons`, `Tips`
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, AccountId32]>;
|
reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
||||||
*
|
*
|
||||||
@@ -4850,7 +4850,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* - DbWrites: `Reasons`, `Tips`
|
* - DbWrites: `Reasons`, `Tips`
|
||||||
* # </weight>
|
* # </weight>
|
||||||
**/
|
**/
|
||||||
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: AccountId32 | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, AccountId32, Compact<u128>]>;
|
tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, tipValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, MultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -5084,6 +5084,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* `ItemDeposit` funds of sender are reserved.
|
* `ItemDeposit` funds of sender are reserved.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
|
* - `collection`: The identifier of the new collection. This must not be currently in use.
|
||||||
* - `admin`: The admin of this collection. The admin is the initial address of each
|
* - `admin`: The admin of this collection. The admin is the initial address of each
|
||||||
* member of the collection's admin team.
|
* member of the collection's admin team.
|
||||||
*
|
*
|
||||||
@@ -5091,7 +5092,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(1)`
|
* Weight: `O(1)`
|
||||||
**/
|
**/
|
||||||
create: AugmentedSubmittable<(admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
create: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Destroy a collection of fungible items.
|
* Destroy a collection of fungible items.
|
||||||
*
|
*
|
||||||
@@ -5119,6 +5120,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Unlike `create`, no funds are reserved.
|
* Unlike `create`, no funds are reserved.
|
||||||
*
|
*
|
||||||
|
* - `collection`: The identifier of the new item. This must not be currently in use.
|
||||||
* - `owner`: The owner of this collection of items. The owner has full superuser
|
* - `owner`: The owner of this collection of items. The owner has full superuser
|
||||||
* permissions
|
* permissions
|
||||||
* over this item, but may later change and configure the permissions using
|
* over this item, but may later change and configure the permissions using
|
||||||
@@ -5128,7 +5130,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(1)`
|
* Weight: `O(1)`
|
||||||
**/
|
**/
|
||||||
forceCreate: AugmentedSubmittable<(owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, freeHolding: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
forceCreate: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, freeHolding: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress, bool]>;
|
||||||
/**
|
/**
|
||||||
* Alter the attributes of a given item.
|
* Alter the attributes of a given item.
|
||||||
*
|
*
|
||||||
@@ -5379,20 +5381,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|||||||
* Weight: `O(1)`
|
* Weight: `O(1)`
|
||||||
**/
|
**/
|
||||||
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
transferOwnership: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, owner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
|
||||||
/**
|
|
||||||
* Increments the `CollectionId` stored in `NextCollectionId`.
|
|
||||||
*
|
|
||||||
* This is only callable when the next `CollectionId` is already being
|
|
||||||
* used for some other collection.
|
|
||||||
*
|
|
||||||
* The origin must be Signed and the sender must have sufficient funds
|
|
||||||
* free.
|
|
||||||
*
|
|
||||||
* Emits `NextCollectionIdIncremented` event when successful.
|
|
||||||
*
|
|
||||||
* Weight: `O(1)`
|
|
||||||
**/
|
|
||||||
tryIncrementId: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -20,13 +20,13 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/rpc-core": "9.2.2",
|
"@polkadot/rpc-core": "9.2.3",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"rxjs": "^7.5.6"
|
"rxjs": "^7.5.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,20 +20,20 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/api": "9.2.2",
|
"@polkadot/api": "9.2.3",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/types-create": "9.2.2",
|
"@polkadot/types-create": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"@polkadot/util-crypto": "^10.1.4",
|
"@polkadot/util-crypto": "^10.1.5",
|
||||||
"rxjs": "^7.5.6"
|
"rxjs": "^7.5.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "9.2.2",
|
"@polkadot/api-augment": "9.2.3",
|
||||||
"@polkadot/keyring": "^10.1.4"
|
"@polkadot/keyring": "^10.1.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,25 +20,25 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/api": "9.2.2",
|
"@polkadot/api": "9.2.3",
|
||||||
"@polkadot/api-augment": "9.2.2",
|
"@polkadot/api-augment": "9.2.3",
|
||||||
"@polkadot/api-base": "9.2.2",
|
"@polkadot/api-base": "9.2.3",
|
||||||
"@polkadot/rpc-core": "9.2.2",
|
"@polkadot/rpc-core": "9.2.3",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"@polkadot/util-crypto": "^10.1.4",
|
"@polkadot/util-crypto": "^10.1.5",
|
||||||
"rxjs": "^7.5.6"
|
"rxjs": "^7.5.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "9.2.2",
|
"@polkadot/api": "9.2.3",
|
||||||
"@polkadot/api-augment": "9.2.2",
|
"@polkadot/api-augment": "9.2.3",
|
||||||
"@polkadot/rpc-augment": "9.2.2",
|
"@polkadot/rpc-augment": "9.2.3",
|
||||||
"@polkadot/rpc-provider": "9.2.2",
|
"@polkadot/rpc-provider": "9.2.3",
|
||||||
"@polkadot/types-support": "9.2.2"
|
"@polkadot/types-support": "9.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
+17
-17
@@ -20,29 +20,29 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/api-augment": "9.2.2",
|
"@polkadot/api-augment": "9.2.3",
|
||||||
"@polkadot/api-base": "9.2.2",
|
"@polkadot/api-base": "9.2.3",
|
||||||
"@polkadot/api-derive": "9.2.2",
|
"@polkadot/api-derive": "9.2.3",
|
||||||
"@polkadot/keyring": "^10.1.4",
|
"@polkadot/keyring": "^10.1.5",
|
||||||
"@polkadot/rpc-augment": "9.2.2",
|
"@polkadot/rpc-augment": "9.2.3",
|
||||||
"@polkadot/rpc-core": "9.2.2",
|
"@polkadot/rpc-core": "9.2.3",
|
||||||
"@polkadot/rpc-provider": "9.2.2",
|
"@polkadot/rpc-provider": "9.2.3",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-augment": "9.2.2",
|
"@polkadot/types-augment": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/types-create": "9.2.2",
|
"@polkadot/types-create": "9.2.3",
|
||||||
"@polkadot/types-known": "9.2.2",
|
"@polkadot/types-known": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"@polkadot/util-crypto": "^10.1.4",
|
"@polkadot/util-crypto": "^10.1.5",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"rxjs": "^7.5.6"
|
"rxjs": "^7.5.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "9.2.2",
|
"@polkadot/api-augment": "9.2.3",
|
||||||
"@polkadot/types-support": "9.2.2"
|
"@polkadot/types-support": "9.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import { BehaviorSubject, combineLatest, from, map, of, switchMap, tap, toArray
|
|||||||
import { getAvailableDerives } from '@polkadot/api-derive';
|
import { getAvailableDerives } from '@polkadot/api-derive';
|
||||||
import { memo, RpcCore } from '@polkadot/rpc-core';
|
import { memo, RpcCore } from '@polkadot/rpc-core';
|
||||||
import { WsProvider } from '@polkadot/rpc-provider';
|
import { WsProvider } from '@polkadot/rpc-provider';
|
||||||
import { expandMetadata, Metadata, typeDefinitions, TypeRegistry } from '@polkadot/types';
|
import { expandMetadata, GenericExtrinsic, Metadata, typeDefinitions, TypeRegistry } from '@polkadot/types';
|
||||||
import { getSpecRuntime } from '@polkadot/types-known';
|
import { getSpecRuntime } from '@polkadot/types-known';
|
||||||
import { arrayChunk, arrayFlatten, assertReturn, BN, compactStripLength, lazyMethod, lazyMethods, logger, nextTick, objectSpread, stringCamelCase, stringUpperFirst, u8aConcatStrict, u8aToHex } from '@polkadot/util';
|
import { arrayChunk, arrayFlatten, assertReturn, BN, compactStripLength, lazyMethod, lazyMethods, logger, nextTick, objectSpread, stringCamelCase, stringUpperFirst, u8aConcatStrict, u8aToHex } from '@polkadot/util';
|
||||||
import { blake2AsHex } from '@polkadot/util-crypto';
|
import { blake2AsHex } from '@polkadot/util-crypto';
|
||||||
@@ -84,7 +84,7 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
|
|||||||
|
|
||||||
protected _extrinsics?: SubmittableExtrinsics<ApiType>;
|
protected _extrinsics?: SubmittableExtrinsics<ApiType>;
|
||||||
|
|
||||||
protected _extrinsicType = 4; // latest extrinsic version
|
protected _extrinsicType = GenericExtrinsic.LATEST_EXTRINSIC_VERSION;
|
||||||
|
|
||||||
protected _genesisHash?: Hash;
|
protected _genesisHash?: Hash;
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,13 +20,13 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/rpc-core": "9.2.2",
|
"@polkadot/rpc-core": "9.2.3",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4"
|
"@polkadot/util": "^10.1.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,18 +20,18 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/rpc-augment": "9.2.2",
|
"@polkadot/rpc-augment": "9.2.3",
|
||||||
"@polkadot/rpc-provider": "9.2.2",
|
"@polkadot/rpc-provider": "9.2.3",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"rxjs": "^7.5.6"
|
"rxjs": "^7.5.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^10.1.4",
|
"@polkadot/keyring": "^10.1.5",
|
||||||
"@polkadot/rpc-augment": "9.2.2"
|
"@polkadot/rpc-augment": "9.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ yarn add @polkadot/rpc-provider
|
|||||||
WebSocket Initialization -
|
WebSocket Initialization -
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
import { WsProvider } from '@polkadot/rpc-provider/ws';
|
import { WsProvider } from '@polkadot/rpc-provider';
|
||||||
|
|
||||||
// this is the actual default endpoint
|
// this is the actual default endpoint
|
||||||
const provider = new WsProvider('ws://127.0.0.1:9944');
|
const provider = new WsProvider('ws://127.0.0.1:9944');
|
||||||
@@ -44,19 +44,23 @@ console.log('latest block Hash', hash);
|
|||||||
|
|
||||||
Instantiating a Provider for the Polkadot Relay Chain:
|
Instantiating a Provider for the Polkadot Relay Chain:
|
||||||
```javascript
|
```javascript
|
||||||
import { ScProvider, WellKnownChain } from '@polkadot/rpc-provider/substrate-connect';
|
import { ScProvider } from '@polkadot/rpc-provider';
|
||||||
|
|
||||||
|
const provider = new ScProvider(ScProvider.WellKnownChain.polkadot);
|
||||||
|
|
||||||
const provider = new ScProvider(WellKnownChain.polkadot);
|
|
||||||
await provider.connect();
|
await provider.connect();
|
||||||
|
|
||||||
const version = await provider.send('chain_getBlockHash', []);
|
const version = await provider.send('chain_getBlockHash', []);
|
||||||
```
|
```
|
||||||
|
|
||||||
Instantiating a Provider for a Polkadot parachain:
|
Instantiating a Provider for a Polkadot parachain:
|
||||||
```javascript
|
```javascript
|
||||||
import { ScProvider, WellKnownChain } from '@polkadot/rpc-provider/substrate-connect';
|
import { ScProvider } from '@polkadot/rpc-provider';
|
||||||
|
|
||||||
const polkadotProvider = new ScProvider(WellKnownChain.polkadot);
|
const polkadotProvider = new ScProvider(ScProvider.WellKnownChain.polkadot);
|
||||||
const parachainProvider = new ScProvider(parachainSpec, polkadotProvider);
|
const parachainProvider = new ScProvider(parachainSpec, polkadotProvider);
|
||||||
|
|
||||||
await parachainProvider.connect();
|
await parachainProvider.connect();
|
||||||
|
|
||||||
const version = await parachainProvider.send('chain_getBlockHash', []);
|
const version = await parachainProvider.send('chain_getBlockHash', []);
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -20,19 +20,19 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/keyring": "^10.1.4",
|
"@polkadot/keyring": "^10.1.5",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-support": "9.2.2",
|
"@polkadot/types-support": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"@polkadot/util-crypto": "^10.1.4",
|
"@polkadot/util-crypto": "^10.1.5",
|
||||||
"@polkadot/x-fetch": "^10.1.4",
|
"@polkadot/x-fetch": "^10.1.5",
|
||||||
"@polkadot/x-global": "^10.1.4",
|
"@polkadot/x-global": "^10.1.5",
|
||||||
"@polkadot/x-ws": "^10.1.4",
|
"@polkadot/x-ws": "^10.1.5",
|
||||||
"@substrate/connect": "0.7.10",
|
"@substrate/connect": "0.7.11",
|
||||||
"eventemitter3": "^4.0.7",
|
"eventemitter3": "^4.0.7",
|
||||||
"mock-socket": "^9.1.5",
|
"mock-socket": "^9.1.5",
|
||||||
"nock": "^13.2.9"
|
"nock": "^13.2.9"
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
||||||
@@ -33,18 +33,18 @@
|
|||||||
"@babel/core": "^7.18.10",
|
"@babel/core": "^7.18.10",
|
||||||
"@babel/register": "^7.18.9",
|
"@babel/register": "^7.18.9",
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/api": "9.2.2",
|
"@polkadot/api": "9.2.3",
|
||||||
"@polkadot/api-augment": "9.2.2",
|
"@polkadot/api-augment": "9.2.3",
|
||||||
"@polkadot/rpc-augment": "9.2.2",
|
"@polkadot/rpc-augment": "9.2.3",
|
||||||
"@polkadot/rpc-provider": "9.2.2",
|
"@polkadot/rpc-provider": "9.2.3",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-augment": "9.2.2",
|
"@polkadot/types-augment": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/types-create": "9.2.2",
|
"@polkadot/types-create": "9.2.3",
|
||||||
"@polkadot/types-support": "9.2.2",
|
"@polkadot/types-support": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"@polkadot/util-crypto": "^10.1.4",
|
"@polkadot/util-crypto": "^10.1.5",
|
||||||
"@polkadot/x-ws": "^10.1.4",
|
"@polkadot/x-ws": "^10.1.5",
|
||||||
"handlebars": "^4.7.7",
|
"handlebars": "^4.7.7",
|
||||||
"websocket": "^1.0.34",
|
"websocket": "^1.0.34",
|
||||||
"yargs": "^17.5.1"
|
"yargs": "^17.5.1"
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,12 +20,12 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4"
|
"@polkadot/util": "^10.1.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1264,9 +1264,6 @@ export default {
|
|||||||
collection: 'u32',
|
collection: 'u32',
|
||||||
maxSupply: 'u32',
|
maxSupply: 'u32',
|
||||||
},
|
},
|
||||||
NextCollectionIdIncremented: {
|
|
||||||
nextId: 'u32',
|
|
||||||
},
|
|
||||||
ItemPriceSet: {
|
ItemPriceSet: {
|
||||||
collection: 'u32',
|
collection: 'u32',
|
||||||
item: 'u32',
|
item: 'u32',
|
||||||
@@ -1637,7 +1634,7 @@ export default {
|
|||||||
_enum: ['Open', 'Blocked', 'Destroying']
|
_enum: ['Open', 'Blocked', 'Destroying']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup129: pallet_ranked_collective::Tally<M>
|
* Lookup129: pallet_ranked_collective::Tally<T, I, M>
|
||||||
**/
|
**/
|
||||||
PalletRankedCollectiveTally: {
|
PalletRankedCollectiveTally: {
|
||||||
bareAyes: 'u32',
|
bareAyes: 'u32',
|
||||||
@@ -1924,7 +1921,7 @@ export default {
|
|||||||
_alias: {
|
_alias: {
|
||||||
new_: 'new',
|
new_: 'new',
|
||||||
},
|
},
|
||||||
new_: 'AccountId32',
|
new_: 'MultiAddress',
|
||||||
index: 'u32',
|
index: 'u32',
|
||||||
},
|
},
|
||||||
free: {
|
free: {
|
||||||
@@ -1934,7 +1931,7 @@ export default {
|
|||||||
_alias: {
|
_alias: {
|
||||||
new_: 'new',
|
new_: 'new',
|
||||||
},
|
},
|
||||||
new_: 'AccountId32',
|
new_: 'MultiAddress',
|
||||||
index: 'u32',
|
index: 'u32',
|
||||||
freeze: 'bool',
|
freeze: 'bool',
|
||||||
},
|
},
|
||||||
@@ -1944,7 +1941,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup172: pallet_balances::pallet::Call<T, I>
|
* Lookup174: pallet_balances::pallet::Call<T, I>
|
||||||
**/
|
**/
|
||||||
PalletBalancesCall: {
|
PalletBalancesCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -2267,7 +2264,7 @@ export default {
|
|||||||
which: 'u32',
|
which: 'u32',
|
||||||
},
|
},
|
||||||
delegate: {
|
delegate: {
|
||||||
to: 'AccountId32',
|
to: 'MultiAddress',
|
||||||
conviction: 'PalletDemocracyConviction',
|
conviction: 'PalletDemocracyConviction',
|
||||||
balance: 'u128',
|
balance: 'u128',
|
||||||
},
|
},
|
||||||
@@ -2290,13 +2287,13 @@ export default {
|
|||||||
proposalLenUpperBound: 'Compact<u32>',
|
proposalLenUpperBound: 'Compact<u32>',
|
||||||
},
|
},
|
||||||
unlock: {
|
unlock: {
|
||||||
target: 'AccountId32',
|
target: 'MultiAddress',
|
||||||
},
|
},
|
||||||
remove_vote: {
|
remove_vote: {
|
||||||
index: 'u32',
|
index: 'u32',
|
||||||
},
|
},
|
||||||
remove_other_vote: {
|
remove_other_vote: {
|
||||||
target: 'AccountId32',
|
target: 'MultiAddress',
|
||||||
index: 'u32',
|
index: 'u32',
|
||||||
},
|
},
|
||||||
enact_proposal: {
|
enact_proposal: {
|
||||||
@@ -2396,14 +2393,14 @@ export default {
|
|||||||
PalletMembershipCall: {
|
PalletMembershipCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
add_member: {
|
add_member: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
},
|
},
|
||||||
remove_member: {
|
remove_member: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
},
|
},
|
||||||
swap_member: {
|
swap_member: {
|
||||||
remove: 'AccountId32',
|
remove: 'MultiAddress',
|
||||||
add: 'AccountId32',
|
add: 'MultiAddress',
|
||||||
},
|
},
|
||||||
reset_members: {
|
reset_members: {
|
||||||
members: 'Vec<AccountId32>',
|
members: 'Vec<AccountId32>',
|
||||||
@@ -2412,10 +2409,10 @@ export default {
|
|||||||
_alias: {
|
_alias: {
|
||||||
new_: 'new',
|
new_: 'new',
|
||||||
},
|
},
|
||||||
new_: 'AccountId32',
|
new_: 'MultiAddress',
|
||||||
},
|
},
|
||||||
set_prime: {
|
set_prime: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
},
|
},
|
||||||
clear_prime: 'Null'
|
clear_prime: 'Null'
|
||||||
}
|
}
|
||||||
@@ -2626,7 +2623,7 @@ export default {
|
|||||||
PalletIdentityCall: {
|
PalletIdentityCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
add_registrar: {
|
add_registrar: {
|
||||||
account: 'AccountId32',
|
account: 'MultiAddress',
|
||||||
},
|
},
|
||||||
set_identity: {
|
set_identity: {
|
||||||
info: 'PalletIdentityIdentityInfo',
|
info: 'PalletIdentityIdentityInfo',
|
||||||
@@ -2651,7 +2648,7 @@ export default {
|
|||||||
new_: 'new',
|
new_: 'new',
|
||||||
},
|
},
|
||||||
index: 'Compact<u32>',
|
index: 'Compact<u32>',
|
||||||
new_: 'AccountId32',
|
new_: 'MultiAddress',
|
||||||
},
|
},
|
||||||
set_fields: {
|
set_fields: {
|
||||||
index: 'Compact<u32>',
|
index: 'Compact<u32>',
|
||||||
@@ -2739,7 +2736,7 @@ export default {
|
|||||||
pos: 'u32',
|
pos: 'u32',
|
||||||
},
|
},
|
||||||
vouch: {
|
vouch: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
value: 'u128',
|
value: 'u128',
|
||||||
tip: 'u128',
|
tip: 'u128',
|
||||||
},
|
},
|
||||||
@@ -2755,17 +2752,17 @@ export default {
|
|||||||
},
|
},
|
||||||
payout: 'Null',
|
payout: 'Null',
|
||||||
found: {
|
found: {
|
||||||
founder: 'AccountId32',
|
founder: 'MultiAddress',
|
||||||
maxMembers: 'u32',
|
maxMembers: 'u32',
|
||||||
rules: 'Bytes',
|
rules: 'Bytes',
|
||||||
},
|
},
|
||||||
unfound: 'Null',
|
unfound: 'Null',
|
||||||
judge_suspended_member: {
|
judge_suspended_member: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
forgive: 'bool',
|
forgive: 'bool',
|
||||||
},
|
},
|
||||||
judge_suspended_candidate: {
|
judge_suspended_candidate: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
judgement: 'PalletSocietyJudgement',
|
judgement: 'PalletSocietyJudgement',
|
||||||
},
|
},
|
||||||
set_max_members: {
|
set_max_members: {
|
||||||
@@ -2785,12 +2782,12 @@ export default {
|
|||||||
PalletRecoveryCall: {
|
PalletRecoveryCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
as_recovered: {
|
as_recovered: {
|
||||||
account: 'AccountId32',
|
account: 'MultiAddress',
|
||||||
call: 'Call',
|
call: 'Call',
|
||||||
},
|
},
|
||||||
set_recovered: {
|
set_recovered: {
|
||||||
lost: 'AccountId32',
|
lost: 'MultiAddress',
|
||||||
rescuer: 'AccountId32',
|
rescuer: 'MultiAddress',
|
||||||
},
|
},
|
||||||
create_recovery: {
|
create_recovery: {
|
||||||
friends: 'Vec<AccountId32>',
|
friends: 'Vec<AccountId32>',
|
||||||
@@ -2798,21 +2795,21 @@ export default {
|
|||||||
delayPeriod: 'u32',
|
delayPeriod: 'u32',
|
||||||
},
|
},
|
||||||
initiate_recovery: {
|
initiate_recovery: {
|
||||||
account: 'AccountId32',
|
account: 'MultiAddress',
|
||||||
},
|
},
|
||||||
vouch_recovery: {
|
vouch_recovery: {
|
||||||
lost: 'AccountId32',
|
lost: 'MultiAddress',
|
||||||
rescuer: 'AccountId32',
|
rescuer: 'MultiAddress',
|
||||||
},
|
},
|
||||||
claim_recovery: {
|
claim_recovery: {
|
||||||
account: 'AccountId32',
|
account: 'MultiAddress',
|
||||||
},
|
},
|
||||||
close_recovery: {
|
close_recovery: {
|
||||||
rescuer: 'AccountId32',
|
rescuer: 'MultiAddress',
|
||||||
},
|
},
|
||||||
remove_recovery: 'Null',
|
remove_recovery: 'Null',
|
||||||
cancel_recovered: {
|
cancel_recovered: {
|
||||||
account: 'AccountId32'
|
account: 'MultiAddress'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -2931,17 +2928,17 @@ export default {
|
|||||||
PalletProxyCall: {
|
PalletProxyCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
proxy: {
|
proxy: {
|
||||||
real: 'AccountId32',
|
real: 'MultiAddress',
|
||||||
forceProxyType: 'Option<KitchensinkRuntimeProxyType>',
|
forceProxyType: 'Option<KitchensinkRuntimeProxyType>',
|
||||||
call: 'Call',
|
call: 'Call',
|
||||||
},
|
},
|
||||||
add_proxy: {
|
add_proxy: {
|
||||||
delegate: 'AccountId32',
|
delegate: 'MultiAddress',
|
||||||
proxyType: 'KitchensinkRuntimeProxyType',
|
proxyType: 'KitchensinkRuntimeProxyType',
|
||||||
delay: 'u32',
|
delay: 'u32',
|
||||||
},
|
},
|
||||||
remove_proxy: {
|
remove_proxy: {
|
||||||
delegate: 'AccountId32',
|
delegate: 'MultiAddress',
|
||||||
proxyType: 'KitchensinkRuntimeProxyType',
|
proxyType: 'KitchensinkRuntimeProxyType',
|
||||||
delay: 'u32',
|
delay: 'u32',
|
||||||
},
|
},
|
||||||
@@ -2952,27 +2949,27 @@ export default {
|
|||||||
index: 'u16',
|
index: 'u16',
|
||||||
},
|
},
|
||||||
kill_anonymous: {
|
kill_anonymous: {
|
||||||
spawner: 'AccountId32',
|
spawner: 'MultiAddress',
|
||||||
proxyType: 'KitchensinkRuntimeProxyType',
|
proxyType: 'KitchensinkRuntimeProxyType',
|
||||||
index: 'u16',
|
index: 'u16',
|
||||||
height: 'Compact<u32>',
|
height: 'Compact<u32>',
|
||||||
extIndex: 'Compact<u32>',
|
extIndex: 'Compact<u32>',
|
||||||
},
|
},
|
||||||
announce: {
|
announce: {
|
||||||
real: 'AccountId32',
|
real: 'MultiAddress',
|
||||||
callHash: 'H256',
|
callHash: 'H256',
|
||||||
},
|
},
|
||||||
remove_announcement: {
|
remove_announcement: {
|
||||||
real: 'AccountId32',
|
real: 'MultiAddress',
|
||||||
callHash: 'H256',
|
callHash: 'H256',
|
||||||
},
|
},
|
||||||
reject_announcement: {
|
reject_announcement: {
|
||||||
delegate: 'AccountId32',
|
delegate: 'MultiAddress',
|
||||||
callHash: 'H256',
|
callHash: 'H256',
|
||||||
},
|
},
|
||||||
proxy_announced: {
|
proxy_announced: {
|
||||||
delegate: 'AccountId32',
|
delegate: 'MultiAddress',
|
||||||
real: 'AccountId32',
|
real: 'MultiAddress',
|
||||||
forceProxyType: 'Option<KitchensinkRuntimeProxyType>',
|
forceProxyType: 'Option<KitchensinkRuntimeProxyType>',
|
||||||
call: 'Call'
|
call: 'Call'
|
||||||
}
|
}
|
||||||
@@ -3056,7 +3053,7 @@ export default {
|
|||||||
_enum: {
|
_enum: {
|
||||||
report_awesome: {
|
report_awesome: {
|
||||||
reason: 'Bytes',
|
reason: 'Bytes',
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
},
|
},
|
||||||
retract_tip: {
|
retract_tip: {
|
||||||
_alias: {
|
_alias: {
|
||||||
@@ -3066,7 +3063,7 @@ export default {
|
|||||||
},
|
},
|
||||||
tip_new: {
|
tip_new: {
|
||||||
reason: 'Bytes',
|
reason: 'Bytes',
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
tipValue: 'Compact<u128>',
|
tipValue: 'Compact<u128>',
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
@@ -3273,13 +3270,14 @@ export default {
|
|||||||
PalletUniquesCall: {
|
PalletUniquesCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
create: {
|
create: {
|
||||||
|
collection: 'u32',
|
||||||
admin: 'MultiAddress',
|
admin: 'MultiAddress',
|
||||||
},
|
},
|
||||||
force_create: {
|
force_create: {
|
||||||
|
collection: 'u32',
|
||||||
owner: 'MultiAddress',
|
owner: 'MultiAddress',
|
||||||
freeHolding: 'bool',
|
freeHolding: 'bool',
|
||||||
},
|
},
|
||||||
try_increment_id: 'Null',
|
|
||||||
destroy: {
|
destroy: {
|
||||||
collection: 'u32',
|
collection: 'u32',
|
||||||
witness: 'PalletUniquesDestroyWitness',
|
witness: 'PalletUniquesDestroyWitness',
|
||||||
@@ -3433,10 +3431,10 @@ export default {
|
|||||||
PalletBagsListCall: {
|
PalletBagsListCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
rebag: {
|
rebag: {
|
||||||
dislocated: 'AccountId32',
|
dislocated: 'MultiAddress',
|
||||||
},
|
},
|
||||||
put_in_front_of: {
|
put_in_front_of: {
|
||||||
lighter: 'AccountId32'
|
lighter: 'MultiAddress'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3687,7 +3685,7 @@ export default {
|
|||||||
},
|
},
|
||||||
delegate: {
|
delegate: {
|
||||||
class: 'u16',
|
class: 'u16',
|
||||||
to: 'AccountId32',
|
to: 'MultiAddress',
|
||||||
conviction: 'PalletConvictionVotingConviction',
|
conviction: 'PalletConvictionVotingConviction',
|
||||||
balance: 'u128',
|
balance: 'u128',
|
||||||
},
|
},
|
||||||
@@ -3696,14 +3694,14 @@ export default {
|
|||||||
},
|
},
|
||||||
unlock: {
|
unlock: {
|
||||||
class: 'u16',
|
class: 'u16',
|
||||||
target: 'AccountId32',
|
target: 'MultiAddress',
|
||||||
},
|
},
|
||||||
remove_vote: {
|
remove_vote: {
|
||||||
class: 'Option<u16>',
|
class: 'Option<u16>',
|
||||||
index: 'u32',
|
index: 'u32',
|
||||||
},
|
},
|
||||||
remove_other_vote: {
|
remove_other_vote: {
|
||||||
target: 'AccountId32',
|
target: 'MultiAddress',
|
||||||
class: 'u16',
|
class: 'u16',
|
||||||
index: 'u32'
|
index: 'u32'
|
||||||
}
|
}
|
||||||
@@ -3821,7 +3819,7 @@ export default {
|
|||||||
},
|
},
|
||||||
claim_payout: 'Null',
|
claim_payout: 'Null',
|
||||||
unbond: {
|
unbond: {
|
||||||
memberAccount: 'AccountId32',
|
memberAccount: 'MultiAddress',
|
||||||
unbondingPoints: 'Compact<u128>',
|
unbondingPoints: 'Compact<u128>',
|
||||||
},
|
},
|
||||||
pool_withdraw_unbonded: {
|
pool_withdraw_unbonded: {
|
||||||
@@ -3829,14 +3827,14 @@ export default {
|
|||||||
numSlashingSpans: 'u32',
|
numSlashingSpans: 'u32',
|
||||||
},
|
},
|
||||||
withdraw_unbonded: {
|
withdraw_unbonded: {
|
||||||
memberAccount: 'AccountId32',
|
memberAccount: 'MultiAddress',
|
||||||
numSlashingSpans: 'u32',
|
numSlashingSpans: 'u32',
|
||||||
},
|
},
|
||||||
create: {
|
create: {
|
||||||
amount: 'Compact<u128>',
|
amount: 'Compact<u128>',
|
||||||
root: 'AccountId32',
|
root: 'MultiAddress',
|
||||||
nominator: 'AccountId32',
|
nominator: 'MultiAddress',
|
||||||
stateToggler: 'AccountId32',
|
stateToggler: 'MultiAddress',
|
||||||
},
|
},
|
||||||
nominate: {
|
nominate: {
|
||||||
poolId: 'u32',
|
poolId: 'u32',
|
||||||
@@ -3913,16 +3911,16 @@ export default {
|
|||||||
PalletRankedCollectiveCall: {
|
PalletRankedCollectiveCall: {
|
||||||
_enum: {
|
_enum: {
|
||||||
add_member: {
|
add_member: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
},
|
},
|
||||||
promote_member: {
|
promote_member: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
},
|
},
|
||||||
demote_member: {
|
demote_member: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
},
|
},
|
||||||
remove_member: {
|
remove_member: {
|
||||||
who: 'AccountId32',
|
who: 'MultiAddress',
|
||||||
minRank: 'u16',
|
minRank: 'u16',
|
||||||
},
|
},
|
||||||
vote: {
|
vote: {
|
||||||
@@ -4942,7 +4940,7 @@ export default {
|
|||||||
* Lookup592: pallet_uniques::pallet::Error<T, I>
|
* Lookup592: pallet_uniques::pallet::Error<T, I>
|
||||||
**/
|
**/
|
||||||
PalletUniquesError: {
|
PalletUniquesError: {
|
||||||
_enum: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'NextIdNotUsed', 'UnknownItem', 'NotForSale', 'BidTooLow']
|
_enum: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup594: pallet_transaction_storage::TransactionInfo
|
* Lookup594: pallet_transaction_storage::TransactionInfo
|
||||||
@@ -5229,7 +5227,7 @@ export default {
|
|||||||
_enum: ['NotEnoughSpaceInUnbondPool', 'PoolNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'BondedStashKilledPrematurely']
|
_enum: ['NotEnoughSpaceInUnbondPool', 'PoolNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'BondedStashKilledPrematurely']
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup655: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, primitive_types::H256, Balance, pallet_ranked_collective::Tally<M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
* Lookup655: pallet_referenda::types::ReferendumInfo<TrackId, kitchensink_runtime::OriginCaller, Moment, primitive_types::H256, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||||
**/
|
**/
|
||||||
PalletReferendaReferendumInfoRankedCollectiveTally: {
|
PalletReferendaReferendumInfoRankedCollectiveTally: {
|
||||||
_enum: {
|
_enum: {
|
||||||
@@ -5242,7 +5240,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Lookup656: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, primitive_types::H256, Balance, pallet_ranked_collective::Tally<M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
* Lookup656: pallet_referenda::types::ReferendumStatus<TrackId, kitchensink_runtime::OriginCaller, Moment, primitive_types::H256, Balance, pallet_ranked_collective::Tally<T, I, M>, sp_core::crypto::AccountId32, ScheduleAddress>
|
||||||
**/
|
**/
|
||||||
PalletReferendaReferendumStatusRankedCollectiveTally: {
|
PalletReferendaReferendumStatusRankedCollectiveTally: {
|
||||||
track: 'u16',
|
track: 'u16',
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1413,10 +1413,6 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly collection: u32;
|
readonly collection: u32;
|
||||||
readonly maxSupply: u32;
|
readonly maxSupply: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isNextCollectionIdIncremented: boolean;
|
|
||||||
readonly asNextCollectionIdIncremented: {
|
|
||||||
readonly nextId: u32;
|
|
||||||
} & Struct;
|
|
||||||
readonly isItemPriceSet: boolean;
|
readonly isItemPriceSet: boolean;
|
||||||
readonly asItemPriceSet: {
|
readonly asItemPriceSet: {
|
||||||
readonly collection: u32;
|
readonly collection: u32;
|
||||||
@@ -1437,7 +1433,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly seller: AccountId32;
|
readonly seller: AccountId32;
|
||||||
readonly buyer: AccountId32;
|
readonly buyer: AccountId32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'Created' | 'ForceCreated' | 'Destroyed' | 'Issued' | 'Transferred' | 'Burned' | 'Frozen' | 'Thawed' | 'CollectionFrozen' | 'CollectionThawed' | 'OwnerChanged' | 'TeamChanged' | 'ApprovedTransfer' | 'ApprovalCancelled' | 'ItemStatusChanged' | 'CollectionMetadataSet' | 'CollectionMetadataCleared' | 'MetadataSet' | 'MetadataCleared' | 'Redeposited' | 'AttributeSet' | 'AttributeCleared' | 'OwnershipAcceptanceChanged' | 'CollectionMaxSupplySet' | 'NextCollectionIdIncremented' | 'ItemPriceSet' | 'ItemPriceRemoved' | 'ItemBought';
|
readonly type: 'Created' | 'ForceCreated' | 'Destroyed' | 'Issued' | 'Transferred' | 'Burned' | 'Frozen' | 'Thawed' | 'CollectionFrozen' | 'CollectionThawed' | 'OwnerChanged' | 'TeamChanged' | 'ApprovedTransfer' | 'ApprovalCancelled' | 'ItemStatusChanged' | 'CollectionMetadataSet' | 'CollectionMetadataCleared' | 'MetadataSet' | 'MetadataCleared' | 'Redeposited' | 'AttributeSet' | 'AttributeCleared' | 'OwnershipAcceptanceChanged' | 'CollectionMaxSupplySet' | 'ItemPriceSet' | 'ItemPriceRemoved' | 'ItemBought';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionStorageEvent (101) */
|
/** @name PalletTransactionStorageEvent (101) */
|
||||||
@@ -2104,7 +2100,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isTransfer: boolean;
|
readonly isTransfer: boolean;
|
||||||
readonly asTransfer: {
|
readonly asTransfer: {
|
||||||
readonly new_: AccountId32;
|
readonly new_: MultiAddress;
|
||||||
readonly index: u32;
|
readonly index: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isFree: boolean;
|
readonly isFree: boolean;
|
||||||
@@ -2113,7 +2109,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isForceTransfer: boolean;
|
readonly isForceTransfer: boolean;
|
||||||
readonly asForceTransfer: {
|
readonly asForceTransfer: {
|
||||||
readonly new_: AccountId32;
|
readonly new_: MultiAddress;
|
||||||
readonly index: u32;
|
readonly index: u32;
|
||||||
readonly freeze: bool;
|
readonly freeze: bool;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
@@ -2124,7 +2120,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly type: 'Claim' | 'Transfer' | 'Free' | 'ForceTransfer' | 'Freeze';
|
readonly type: 'Claim' | 'Transfer' | 'Free' | 'ForceTransfer' | 'Freeze';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletBalancesCall (172) */
|
/** @name PalletBalancesCall (174) */
|
||||||
interface PalletBalancesCall extends Enum {
|
interface PalletBalancesCall extends Enum {
|
||||||
readonly isTransfer: boolean;
|
readonly isTransfer: boolean;
|
||||||
readonly asTransfer: {
|
readonly asTransfer: {
|
||||||
@@ -2465,7 +2461,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isDelegate: boolean;
|
readonly isDelegate: boolean;
|
||||||
readonly asDelegate: {
|
readonly asDelegate: {
|
||||||
readonly to: AccountId32;
|
readonly to: MultiAddress;
|
||||||
readonly conviction: PalletDemocracyConviction;
|
readonly conviction: PalletDemocracyConviction;
|
||||||
readonly balance: u128;
|
readonly balance: u128;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
@@ -2494,7 +2490,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isUnlock: boolean;
|
readonly isUnlock: boolean;
|
||||||
readonly asUnlock: {
|
readonly asUnlock: {
|
||||||
readonly target: AccountId32;
|
readonly target: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveVote: boolean;
|
readonly isRemoveVote: boolean;
|
||||||
readonly asRemoveVote: {
|
readonly asRemoveVote: {
|
||||||
@@ -2502,7 +2498,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveOtherVote: boolean;
|
readonly isRemoveOtherVote: boolean;
|
||||||
readonly asRemoveOtherVote: {
|
readonly asRemoveOtherVote: {
|
||||||
readonly target: AccountId32;
|
readonly target: MultiAddress;
|
||||||
readonly index: u32;
|
readonly index: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isEnactProposal: boolean;
|
readonly isEnactProposal: boolean;
|
||||||
@@ -2616,16 +2612,16 @@ declare module '@polkadot/types/lookup' {
|
|||||||
interface PalletMembershipCall extends Enum {
|
interface PalletMembershipCall extends Enum {
|
||||||
readonly isAddMember: boolean;
|
readonly isAddMember: boolean;
|
||||||
readonly asAddMember: {
|
readonly asAddMember: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveMember: boolean;
|
readonly isRemoveMember: boolean;
|
||||||
readonly asRemoveMember: {
|
readonly asRemoveMember: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isSwapMember: boolean;
|
readonly isSwapMember: boolean;
|
||||||
readonly asSwapMember: {
|
readonly asSwapMember: {
|
||||||
readonly remove: AccountId32;
|
readonly remove: MultiAddress;
|
||||||
readonly add: AccountId32;
|
readonly add: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isResetMembers: boolean;
|
readonly isResetMembers: boolean;
|
||||||
readonly asResetMembers: {
|
readonly asResetMembers: {
|
||||||
@@ -2633,11 +2629,11 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isChangeKey: boolean;
|
readonly isChangeKey: boolean;
|
||||||
readonly asChangeKey: {
|
readonly asChangeKey: {
|
||||||
readonly new_: AccountId32;
|
readonly new_: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isSetPrime: boolean;
|
readonly isSetPrime: boolean;
|
||||||
readonly asSetPrime: {
|
readonly asSetPrime: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isClearPrime: boolean;
|
readonly isClearPrime: boolean;
|
||||||
readonly type: 'AddMember' | 'RemoveMember' | 'SwapMember' | 'ResetMembers' | 'ChangeKey' | 'SetPrime' | 'ClearPrime';
|
readonly type: 'AddMember' | 'RemoveMember' | 'SwapMember' | 'ResetMembers' | 'ChangeKey' | 'SetPrime' | 'ClearPrime';
|
||||||
@@ -2842,7 +2838,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
interface PalletIdentityCall extends Enum {
|
interface PalletIdentityCall extends Enum {
|
||||||
readonly isAddRegistrar: boolean;
|
readonly isAddRegistrar: boolean;
|
||||||
readonly asAddRegistrar: {
|
readonly asAddRegistrar: {
|
||||||
readonly account: AccountId32;
|
readonly account: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isSetIdentity: boolean;
|
readonly isSetIdentity: boolean;
|
||||||
readonly asSetIdentity: {
|
readonly asSetIdentity: {
|
||||||
@@ -2870,7 +2866,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isSetAccountId: boolean;
|
readonly isSetAccountId: boolean;
|
||||||
readonly asSetAccountId: {
|
readonly asSetAccountId: {
|
||||||
readonly index: Compact<u32>;
|
readonly index: Compact<u32>;
|
||||||
readonly new_: AccountId32;
|
readonly new_: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isSetFields: boolean;
|
readonly isSetFields: boolean;
|
||||||
readonly asSetFields: {
|
readonly asSetFields: {
|
||||||
@@ -2968,7 +2964,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isVouch: boolean;
|
readonly isVouch: boolean;
|
||||||
readonly asVouch: {
|
readonly asVouch: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
readonly value: u128;
|
readonly value: u128;
|
||||||
readonly tip: u128;
|
readonly tip: u128;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
@@ -2988,19 +2984,19 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isPayout: boolean;
|
readonly isPayout: boolean;
|
||||||
readonly isFound: boolean;
|
readonly isFound: boolean;
|
||||||
readonly asFound: {
|
readonly asFound: {
|
||||||
readonly founder: AccountId32;
|
readonly founder: MultiAddress;
|
||||||
readonly maxMembers: u32;
|
readonly maxMembers: u32;
|
||||||
readonly rules: Bytes;
|
readonly rules: Bytes;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isUnfound: boolean;
|
readonly isUnfound: boolean;
|
||||||
readonly isJudgeSuspendedMember: boolean;
|
readonly isJudgeSuspendedMember: boolean;
|
||||||
readonly asJudgeSuspendedMember: {
|
readonly asJudgeSuspendedMember: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
readonly forgive: bool;
|
readonly forgive: bool;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isJudgeSuspendedCandidate: boolean;
|
readonly isJudgeSuspendedCandidate: boolean;
|
||||||
readonly asJudgeSuspendedCandidate: {
|
readonly asJudgeSuspendedCandidate: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
readonly judgement: PalletSocietyJudgement;
|
readonly judgement: PalletSocietyJudgement;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isSetMaxMembers: boolean;
|
readonly isSetMaxMembers: boolean;
|
||||||
@@ -3022,13 +3018,13 @@ declare module '@polkadot/types/lookup' {
|
|||||||
interface PalletRecoveryCall extends Enum {
|
interface PalletRecoveryCall extends Enum {
|
||||||
readonly isAsRecovered: boolean;
|
readonly isAsRecovered: boolean;
|
||||||
readonly asAsRecovered: {
|
readonly asAsRecovered: {
|
||||||
readonly account: AccountId32;
|
readonly account: MultiAddress;
|
||||||
readonly call: Call;
|
readonly call: Call;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isSetRecovered: boolean;
|
readonly isSetRecovered: boolean;
|
||||||
readonly asSetRecovered: {
|
readonly asSetRecovered: {
|
||||||
readonly lost: AccountId32;
|
readonly lost: MultiAddress;
|
||||||
readonly rescuer: AccountId32;
|
readonly rescuer: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isCreateRecovery: boolean;
|
readonly isCreateRecovery: boolean;
|
||||||
readonly asCreateRecovery: {
|
readonly asCreateRecovery: {
|
||||||
@@ -3038,25 +3034,25 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isInitiateRecovery: boolean;
|
readonly isInitiateRecovery: boolean;
|
||||||
readonly asInitiateRecovery: {
|
readonly asInitiateRecovery: {
|
||||||
readonly account: AccountId32;
|
readonly account: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isVouchRecovery: boolean;
|
readonly isVouchRecovery: boolean;
|
||||||
readonly asVouchRecovery: {
|
readonly asVouchRecovery: {
|
||||||
readonly lost: AccountId32;
|
readonly lost: MultiAddress;
|
||||||
readonly rescuer: AccountId32;
|
readonly rescuer: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isClaimRecovery: boolean;
|
readonly isClaimRecovery: boolean;
|
||||||
readonly asClaimRecovery: {
|
readonly asClaimRecovery: {
|
||||||
readonly account: AccountId32;
|
readonly account: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isCloseRecovery: boolean;
|
readonly isCloseRecovery: boolean;
|
||||||
readonly asCloseRecovery: {
|
readonly asCloseRecovery: {
|
||||||
readonly rescuer: AccountId32;
|
readonly rescuer: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveRecovery: boolean;
|
readonly isRemoveRecovery: boolean;
|
||||||
readonly isCancelRecovered: boolean;
|
readonly isCancelRecovered: boolean;
|
||||||
readonly asCancelRecovered: {
|
readonly asCancelRecovered: {
|
||||||
readonly account: AccountId32;
|
readonly account: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'AsRecovered' | 'SetRecovered' | 'CreateRecovery' | 'InitiateRecovery' | 'VouchRecovery' | 'ClaimRecovery' | 'CloseRecovery' | 'RemoveRecovery' | 'CancelRecovered';
|
readonly type: 'AsRecovered' | 'SetRecovered' | 'CreateRecovery' | 'InitiateRecovery' | 'VouchRecovery' | 'ClaimRecovery' | 'CloseRecovery' | 'RemoveRecovery' | 'CancelRecovered';
|
||||||
}
|
}
|
||||||
@@ -3172,19 +3168,19 @@ declare module '@polkadot/types/lookup' {
|
|||||||
interface PalletProxyCall extends Enum {
|
interface PalletProxyCall extends Enum {
|
||||||
readonly isProxy: boolean;
|
readonly isProxy: boolean;
|
||||||
readonly asProxy: {
|
readonly asProxy: {
|
||||||
readonly real: AccountId32;
|
readonly real: MultiAddress;
|
||||||
readonly forceProxyType: Option<KitchensinkRuntimeProxyType>;
|
readonly forceProxyType: Option<KitchensinkRuntimeProxyType>;
|
||||||
readonly call: Call;
|
readonly call: Call;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isAddProxy: boolean;
|
readonly isAddProxy: boolean;
|
||||||
readonly asAddProxy: {
|
readonly asAddProxy: {
|
||||||
readonly delegate: AccountId32;
|
readonly delegate: MultiAddress;
|
||||||
readonly proxyType: KitchensinkRuntimeProxyType;
|
readonly proxyType: KitchensinkRuntimeProxyType;
|
||||||
readonly delay: u32;
|
readonly delay: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveProxy: boolean;
|
readonly isRemoveProxy: boolean;
|
||||||
readonly asRemoveProxy: {
|
readonly asRemoveProxy: {
|
||||||
readonly delegate: AccountId32;
|
readonly delegate: MultiAddress;
|
||||||
readonly proxyType: KitchensinkRuntimeProxyType;
|
readonly proxyType: KitchensinkRuntimeProxyType;
|
||||||
readonly delay: u32;
|
readonly delay: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
@@ -3197,7 +3193,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isKillAnonymous: boolean;
|
readonly isKillAnonymous: boolean;
|
||||||
readonly asKillAnonymous: {
|
readonly asKillAnonymous: {
|
||||||
readonly spawner: AccountId32;
|
readonly spawner: MultiAddress;
|
||||||
readonly proxyType: KitchensinkRuntimeProxyType;
|
readonly proxyType: KitchensinkRuntimeProxyType;
|
||||||
readonly index: u16;
|
readonly index: u16;
|
||||||
readonly height: Compact<u32>;
|
readonly height: Compact<u32>;
|
||||||
@@ -3205,23 +3201,23 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isAnnounce: boolean;
|
readonly isAnnounce: boolean;
|
||||||
readonly asAnnounce: {
|
readonly asAnnounce: {
|
||||||
readonly real: AccountId32;
|
readonly real: MultiAddress;
|
||||||
readonly callHash: H256;
|
readonly callHash: H256;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveAnnouncement: boolean;
|
readonly isRemoveAnnouncement: boolean;
|
||||||
readonly asRemoveAnnouncement: {
|
readonly asRemoveAnnouncement: {
|
||||||
readonly real: AccountId32;
|
readonly real: MultiAddress;
|
||||||
readonly callHash: H256;
|
readonly callHash: H256;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRejectAnnouncement: boolean;
|
readonly isRejectAnnouncement: boolean;
|
||||||
readonly asRejectAnnouncement: {
|
readonly asRejectAnnouncement: {
|
||||||
readonly delegate: AccountId32;
|
readonly delegate: MultiAddress;
|
||||||
readonly callHash: H256;
|
readonly callHash: H256;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isProxyAnnounced: boolean;
|
readonly isProxyAnnounced: boolean;
|
||||||
readonly asProxyAnnounced: {
|
readonly asProxyAnnounced: {
|
||||||
readonly delegate: AccountId32;
|
readonly delegate: MultiAddress;
|
||||||
readonly real: AccountId32;
|
readonly real: MultiAddress;
|
||||||
readonly forceProxyType: Option<KitchensinkRuntimeProxyType>;
|
readonly forceProxyType: Option<KitchensinkRuntimeProxyType>;
|
||||||
readonly call: Call;
|
readonly call: Call;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
@@ -3313,7 +3309,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isReportAwesome: boolean;
|
readonly isReportAwesome: boolean;
|
||||||
readonly asReportAwesome: {
|
readonly asReportAwesome: {
|
||||||
readonly reason: Bytes;
|
readonly reason: Bytes;
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRetractTip: boolean;
|
readonly isRetractTip: boolean;
|
||||||
readonly asRetractTip: {
|
readonly asRetractTip: {
|
||||||
@@ -3322,7 +3318,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isTipNew: boolean;
|
readonly isTipNew: boolean;
|
||||||
readonly asTipNew: {
|
readonly asTipNew: {
|
||||||
readonly reason: Bytes;
|
readonly reason: Bytes;
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
readonly tipValue: Compact<u128>;
|
readonly tipValue: Compact<u128>;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isTip: boolean;
|
readonly isTip: boolean;
|
||||||
@@ -3547,14 +3543,15 @@ declare module '@polkadot/types/lookup' {
|
|||||||
interface PalletUniquesCall extends Enum {
|
interface PalletUniquesCall extends Enum {
|
||||||
readonly isCreate: boolean;
|
readonly isCreate: boolean;
|
||||||
readonly asCreate: {
|
readonly asCreate: {
|
||||||
|
readonly collection: u32;
|
||||||
readonly admin: MultiAddress;
|
readonly admin: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isForceCreate: boolean;
|
readonly isForceCreate: boolean;
|
||||||
readonly asForceCreate: {
|
readonly asForceCreate: {
|
||||||
|
readonly collection: u32;
|
||||||
readonly owner: MultiAddress;
|
readonly owner: MultiAddress;
|
||||||
readonly freeHolding: bool;
|
readonly freeHolding: bool;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isTryIncrementId: boolean;
|
|
||||||
readonly isDestroy: boolean;
|
readonly isDestroy: boolean;
|
||||||
readonly asDestroy: {
|
readonly asDestroy: {
|
||||||
readonly collection: u32;
|
readonly collection: u32;
|
||||||
@@ -3692,7 +3689,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly item: u32;
|
readonly item: u32;
|
||||||
readonly bidPrice: u128;
|
readonly bidPrice: u128;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'Create' | 'ForceCreate' | 'TryIncrementId' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'Redeposit' | 'Freeze' | 'Thaw' | 'FreezeCollection' | 'ThawCollection' | 'TransferOwnership' | 'SetTeam' | 'ApproveTransfer' | 'CancelApproval' | 'ForceItemStatus' | 'SetAttribute' | 'ClearAttribute' | 'SetMetadata' | 'ClearMetadata' | 'SetCollectionMetadata' | 'ClearCollectionMetadata' | 'SetAcceptOwnership' | 'SetCollectionMaxSupply' | 'SetPrice' | 'BuyItem';
|
readonly type: 'Create' | 'ForceCreate' | 'Destroy' | 'Mint' | 'Burn' | 'Transfer' | 'Redeposit' | 'Freeze' | 'Thaw' | 'FreezeCollection' | 'ThawCollection' | 'TransferOwnership' | 'SetTeam' | 'ApproveTransfer' | 'CancelApproval' | 'ForceItemStatus' | 'SetAttribute' | 'ClearAttribute' | 'SetMetadata' | 'ClearMetadata' | 'SetCollectionMetadata' | 'ClearCollectionMetadata' | 'SetAcceptOwnership' | 'SetCollectionMaxSupply' | 'SetPrice' | 'BuyItem';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletUniquesDestroyWitness (339) */
|
/** @name PalletUniquesDestroyWitness (339) */
|
||||||
@@ -3730,11 +3727,11 @@ declare module '@polkadot/types/lookup' {
|
|||||||
interface PalletBagsListCall extends Enum {
|
interface PalletBagsListCall extends Enum {
|
||||||
readonly isRebag: boolean;
|
readonly isRebag: boolean;
|
||||||
readonly asRebag: {
|
readonly asRebag: {
|
||||||
readonly dislocated: AccountId32;
|
readonly dislocated: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isPutInFrontOf: boolean;
|
readonly isPutInFrontOf: boolean;
|
||||||
readonly asPutInFrontOf: {
|
readonly asPutInFrontOf: {
|
||||||
readonly lighter: AccountId32;
|
readonly lighter: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly type: 'Rebag' | 'PutInFrontOf';
|
readonly type: 'Rebag' | 'PutInFrontOf';
|
||||||
}
|
}
|
||||||
@@ -3941,7 +3938,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isDelegate: boolean;
|
readonly isDelegate: boolean;
|
||||||
readonly asDelegate: {
|
readonly asDelegate: {
|
||||||
readonly class: u16;
|
readonly class: u16;
|
||||||
readonly to: AccountId32;
|
readonly to: MultiAddress;
|
||||||
readonly conviction: PalletConvictionVotingConviction;
|
readonly conviction: PalletConvictionVotingConviction;
|
||||||
readonly balance: u128;
|
readonly balance: u128;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
@@ -3952,7 +3949,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isUnlock: boolean;
|
readonly isUnlock: boolean;
|
||||||
readonly asUnlock: {
|
readonly asUnlock: {
|
||||||
readonly class: u16;
|
readonly class: u16;
|
||||||
readonly target: AccountId32;
|
readonly target: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveVote: boolean;
|
readonly isRemoveVote: boolean;
|
||||||
readonly asRemoveVote: {
|
readonly asRemoveVote: {
|
||||||
@@ -3961,7 +3958,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveOtherVote: boolean;
|
readonly isRemoveOtherVote: boolean;
|
||||||
readonly asRemoveOtherVote: {
|
readonly asRemoveOtherVote: {
|
||||||
readonly target: AccountId32;
|
readonly target: MultiAddress;
|
||||||
readonly class: u16;
|
readonly class: u16;
|
||||||
readonly index: u32;
|
readonly index: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
@@ -4099,7 +4096,7 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isClaimPayout: boolean;
|
readonly isClaimPayout: boolean;
|
||||||
readonly isUnbond: boolean;
|
readonly isUnbond: boolean;
|
||||||
readonly asUnbond: {
|
readonly asUnbond: {
|
||||||
readonly memberAccount: AccountId32;
|
readonly memberAccount: MultiAddress;
|
||||||
readonly unbondingPoints: Compact<u128>;
|
readonly unbondingPoints: Compact<u128>;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isPoolWithdrawUnbonded: boolean;
|
readonly isPoolWithdrawUnbonded: boolean;
|
||||||
@@ -4109,15 +4106,15 @@ declare module '@polkadot/types/lookup' {
|
|||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isWithdrawUnbonded: boolean;
|
readonly isWithdrawUnbonded: boolean;
|
||||||
readonly asWithdrawUnbonded: {
|
readonly asWithdrawUnbonded: {
|
||||||
readonly memberAccount: AccountId32;
|
readonly memberAccount: MultiAddress;
|
||||||
readonly numSlashingSpans: u32;
|
readonly numSlashingSpans: u32;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isCreate: boolean;
|
readonly isCreate: boolean;
|
||||||
readonly asCreate: {
|
readonly asCreate: {
|
||||||
readonly amount: Compact<u128>;
|
readonly amount: Compact<u128>;
|
||||||
readonly root: AccountId32;
|
readonly root: MultiAddress;
|
||||||
readonly nominator: AccountId32;
|
readonly nominator: MultiAddress;
|
||||||
readonly stateToggler: AccountId32;
|
readonly stateToggler: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isNominate: boolean;
|
readonly isNominate: boolean;
|
||||||
readonly asNominate: {
|
readonly asNominate: {
|
||||||
@@ -4195,19 +4192,19 @@ declare module '@polkadot/types/lookup' {
|
|||||||
interface PalletRankedCollectiveCall extends Enum {
|
interface PalletRankedCollectiveCall extends Enum {
|
||||||
readonly isAddMember: boolean;
|
readonly isAddMember: boolean;
|
||||||
readonly asAddMember: {
|
readonly asAddMember: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isPromoteMember: boolean;
|
readonly isPromoteMember: boolean;
|
||||||
readonly asPromoteMember: {
|
readonly asPromoteMember: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isDemoteMember: boolean;
|
readonly isDemoteMember: boolean;
|
||||||
readonly asDemoteMember: {
|
readonly asDemoteMember: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isRemoveMember: boolean;
|
readonly isRemoveMember: boolean;
|
||||||
readonly asRemoveMember: {
|
readonly asRemoveMember: {
|
||||||
readonly who: AccountId32;
|
readonly who: MultiAddress;
|
||||||
readonly minRank: u16;
|
readonly minRank: u16;
|
||||||
} & Struct;
|
} & Struct;
|
||||||
readonly isVote: boolean;
|
readonly isVote: boolean;
|
||||||
@@ -5468,11 +5465,10 @@ declare module '@polkadot/types/lookup' {
|
|||||||
readonly isMaxSupplyReached: boolean;
|
readonly isMaxSupplyReached: boolean;
|
||||||
readonly isMaxSupplyAlreadySet: boolean;
|
readonly isMaxSupplyAlreadySet: boolean;
|
||||||
readonly isMaxSupplyTooSmall: boolean;
|
readonly isMaxSupplyTooSmall: boolean;
|
||||||
readonly isNextIdNotUsed: boolean;
|
|
||||||
readonly isUnknownItem: boolean;
|
readonly isUnknownItem: boolean;
|
||||||
readonly isNotForSale: boolean;
|
readonly isNotForSale: boolean;
|
||||||
readonly isBidTooLow: boolean;
|
readonly isBidTooLow: boolean;
|
||||||
readonly type: 'NoPermission' | 'UnknownCollection' | 'AlreadyExists' | 'WrongOwner' | 'BadWitness' | 'InUse' | 'Frozen' | 'WrongDelegate' | 'NoDelegate' | 'Unapproved' | 'Unaccepted' | 'Locked' | 'MaxSupplyReached' | 'MaxSupplyAlreadySet' | 'MaxSupplyTooSmall' | 'NextIdNotUsed' | 'UnknownItem' | 'NotForSale' | 'BidTooLow';
|
readonly type: 'NoPermission' | 'UnknownCollection' | 'AlreadyExists' | 'WrongOwner' | 'BadWitness' | 'InUse' | 'Frozen' | 'WrongDelegate' | 'NoDelegate' | 'Unapproved' | 'Unaccepted' | 'Locked' | 'MaxSupplyReached' | 'MaxSupplyAlreadySet' | 'MaxSupplyTooSmall' | 'UnknownItem' | 'NotForSale' | 'BidTooLow';
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @name PalletTransactionStorageTransactionInfo (594) */
|
/** @name PalletTransactionStorageTransactionInfo (594) */
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,17 +20,17 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"@polkadot/x-bigint": "^10.1.4"
|
"@polkadot/x-bigint": "^10.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-augment": "9.2.2",
|
"@polkadot/types-augment": "9.2.3",
|
||||||
"@polkadot/types-support": "9.2.2",
|
"@polkadot/types-support": "9.2.3",
|
||||||
"@polkadot/util-crypto": "^10.1.4"
|
"@polkadot/util-crypto": "^10.1.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,14 +20,14 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4"
|
"@polkadot/util": "^10.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "9.2.2"
|
"@polkadot/types": "9.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,17 +20,17 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/networks": "^10.1.4",
|
"@polkadot/networks": "^10.1.5",
|
||||||
"@polkadot/types": "9.2.2",
|
"@polkadot/types": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/types-create": "9.2.2",
|
"@polkadot/types-create": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4"
|
"@polkadot/util": "^10.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "9.2.2"
|
"@polkadot/api": "9.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minmax: [1046, 1050],
|
minmax: [1046, 1049],
|
||||||
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
|
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
|
||||||
CompactAssignments: 'CompactAssignmentsTo257',
|
CompactAssignments: 'CompactAssignmentsTo257',
|
||||||
DispatchInfo: 'DispatchInfoTo244',
|
DispatchInfo: 'DispatchInfoTo244',
|
||||||
@@ -113,7 +113,7 @@ const versioned: OverrideVersionedType[] = [
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
minmax: [1051, 1054],
|
minmax: [1050, 1054],
|
||||||
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
|
types: objectSpread({}, sharedTypes, addrAccountIdTypes, {
|
||||||
CompactAssignments: 'CompactAssignmentsTo257',
|
CompactAssignments: 'CompactAssignmentsTo257',
|
||||||
DispatchInfo: 'DispatchInfoTo244',
|
DispatchInfo: 'DispatchInfoTo244',
|
||||||
|
|||||||
@@ -20,10 +20,10 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/util": "^10.1.4"
|
"@polkadot/util": "^10.1.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -268,7 +268,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Version",
|
"name": "Version",
|
||||||
"type": 174,
|
"type": 174,
|
||||||
"value": "0x186b7573616d61347061726974792d6b7573616d610200000036240000000000003cdf6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a80100000017a6bc0d0062aeb3010000000c00000000",
|
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000362400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a801000000f3ff14d5ab5270590100000017a6bc0d0062aeb3010000000c00000000",
|
||||||
"docs": [
|
"docs": [
|
||||||
" Get the chain's current version."
|
" Get the chain's current version."
|
||||||
]
|
]
|
||||||
@@ -643,7 +643,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
"type": 205
|
"type": 207
|
||||||
},
|
},
|
||||||
"index": 3
|
"index": 3
|
||||||
},
|
},
|
||||||
@@ -712,7 +712,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 206
|
"value": 208
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -730,7 +730,7 @@
|
|||||||
"Blake2_128Concat"
|
"Blake2_128Concat"
|
||||||
],
|
],
|
||||||
"key": 0,
|
"key": 0,
|
||||||
"value": 210
|
"value": 212
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
@@ -742,7 +742,7 @@
|
|||||||
"name": "StorageVersion",
|
"name": "StorageVersion",
|
||||||
"modifier": "Default",
|
"modifier": "Default",
|
||||||
"type": {
|
"type": {
|
||||||
"plain": 213
|
"plain": 215
|
||||||
},
|
},
|
||||||
"fallback": "0x00",
|
"fallback": "0x00",
|
||||||
"docs": [
|
"docs": [
|
||||||
@@ -754,7 +754,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 214
|
"type": 216
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 28
|
"type": 28
|
||||||
@@ -2663,6 +2663,29 @@
|
|||||||
" round will happen. If set to zero, no elections are ever triggered and the module will",
|
" round will happen. If set to zero, no elections are ever triggered and the module will",
|
||||||
" be in passive mode."
|
" be in passive mode."
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MaxCandidates",
|
||||||
|
"type": 4,
|
||||||
|
"value": "0xe8030000",
|
||||||
|
"docs": [
|
||||||
|
" The maximum number of candidates in a phragmen election.",
|
||||||
|
"",
|
||||||
|
" Warning: The election happens onchain, and this value will determine",
|
||||||
|
" the size of the election. When this limit is reached no more",
|
||||||
|
" candidates are accepted in the election."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MaxVoters",
|
||||||
|
"type": 4,
|
||||||
|
"value": "0x10270000",
|
||||||
|
"docs": [
|
||||||
|
" The maximum number of voters to allow in a phragmen election.",
|
||||||
|
"",
|
||||||
|
" Warning: This impacts the size of the election which is run onchain.",
|
||||||
|
" When the limit is reached the new voters are ignored."
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -839,7 +839,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"calls": {
|
"calls": {
|
||||||
"type": 172
|
"type": 174
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"type": 31
|
"type": 31
|
||||||
@@ -2709,6 +2709,29 @@
|
|||||||
" round will happen. If set to zero, no elections are ever triggered and the module will",
|
" round will happen. If set to zero, no elections are ever triggered and the module will",
|
||||||
" be in passive mode."
|
" be in passive mode."
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MaxCandidates",
|
||||||
|
"type": 4,
|
||||||
|
"value": "0xe8030000",
|
||||||
|
"docs": [
|
||||||
|
" The maximum number of candidates in a phragmen election.",
|
||||||
|
"",
|
||||||
|
" Warning: The election happens onchain, and this value will determine",
|
||||||
|
" the size of the election. When this limit is reached no more",
|
||||||
|
" candidates are accepted in the election."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MaxVoters",
|
||||||
|
"type": 4,
|
||||||
|
"value": "0x10270000",
|
||||||
|
"docs": [
|
||||||
|
" The maximum number of voters to allow in a phragmen election.",
|
||||||
|
"",
|
||||||
|
" Warning: This impacts the size of the election which is run onchain.",
|
||||||
|
" When the limit is reached the new voters are ignored."
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"errors": {
|
"errors": {
|
||||||
@@ -5365,18 +5388,6 @@
|
|||||||
"docs": [
|
"docs": [
|
||||||
" Keeps track of the number of items a collection might have."
|
" Keeps track of the number of items a collection might have."
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "NextCollectionId",
|
|
||||||
"modifier": "Default",
|
|
||||||
"type": {
|
|
||||||
"plain": 4
|
|
||||||
},
|
|
||||||
"fallback": "0x00000000",
|
|
||||||
"docs": [
|
|
||||||
" Stores the `CollectionId` that is going to be used for the next collection.",
|
|
||||||
" This gets incremented by 1 whenever a new collection is created."
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
@@ -20,20 +20,20 @@
|
|||||||
"./detectPackage.cjs"
|
"./detectPackage.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "9.2.2",
|
"version": "9.2.3",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
"@polkadot/keyring": "^10.1.4",
|
"@polkadot/keyring": "^10.1.5",
|
||||||
"@polkadot/types-augment": "9.2.2",
|
"@polkadot/types-augment": "9.2.3",
|
||||||
"@polkadot/types-codec": "9.2.2",
|
"@polkadot/types-codec": "9.2.3",
|
||||||
"@polkadot/types-create": "9.2.2",
|
"@polkadot/types-create": "9.2.3",
|
||||||
"@polkadot/util": "^10.1.4",
|
"@polkadot/util": "^10.1.5",
|
||||||
"@polkadot/util-crypto": "^10.1.4",
|
"@polkadot/util-crypto": "^10.1.5",
|
||||||
"rxjs": "^7.5.6"
|
"rxjs": "^7.5.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^10.1.4",
|
"@polkadot/keyring": "^10.1.5",
|
||||||
"@polkadot/types-support": "9.2.2"
|
"@polkadot/types-support": "9.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import type { ExtrinsicValueV4 } from './v4/Extrinsic';
|
|||||||
import { AbstractBase } from '@polkadot/types-codec';
|
import { AbstractBase } from '@polkadot/types-codec';
|
||||||
import { compactAddLength, compactFromU8a, compactToU8a, isHex, isU8a, objectProperty, objectSpread, u8aConcat, u8aToHex, u8aToU8a } from '@polkadot/util';
|
import { compactAddLength, compactFromU8a, compactToU8a, isHex, isU8a, objectProperty, objectSpread, u8aConcat, u8aToHex, u8aToU8a } from '@polkadot/util';
|
||||||
|
|
||||||
|
import { EXTRINSIC_VERSION as LATEST_EXTRINSIC_VERSION } from './v4/Extrinsic';
|
||||||
import { BIT_SIGNED, BIT_UNSIGNED, DEFAULT_VERSION, UNMASK_VERSION } from './constants';
|
import { BIT_SIGNED, BIT_UNSIGNED, DEFAULT_VERSION, UNMASK_VERSION } from './constants';
|
||||||
|
|
||||||
interface CreateOptions {
|
interface CreateOptions {
|
||||||
@@ -33,7 +34,7 @@ const VERSIONS = [
|
|||||||
'ExtrinsicV4'
|
'ExtrinsicV4'
|
||||||
];
|
];
|
||||||
|
|
||||||
export { EXTRINSIC_VERSION as LATEST_EXTRINSIC_VERSION } from './v4/Extrinsic';
|
export { LATEST_EXTRINSIC_VERSION };
|
||||||
|
|
||||||
/** @internal */
|
/** @internal */
|
||||||
function newFromValue (registry: Registry, value: any, version: number): ExtrinsicVx | ExtrinsicUnknown {
|
function newFromValue (registry: Registry, value: any, version: number): ExtrinsicVx | ExtrinsicUnknown {
|
||||||
@@ -235,6 +236,8 @@ abstract class ExtrinsicBase<A extends AnyTuple> extends AbstractBase<ExtrinsicV
|
|||||||
export class GenericExtrinsic<A extends AnyTuple = AnyTuple> extends ExtrinsicBase<A> implements IExtrinsic<A> {
|
export class GenericExtrinsic<A extends AnyTuple = AnyTuple> extends ExtrinsicBase<A> implements IExtrinsic<A> {
|
||||||
#hashCache?: CodecHash;
|
#hashCache?: CodecHash;
|
||||||
|
|
||||||
|
static LATEST_EXTRINSIC_VERSION = LATEST_EXTRINSIC_VERSION;
|
||||||
|
|
||||||
constructor (registry: Registry, value?: GenericExtrinsic | ExtrinsicValue | AnyU8a | Call, { version }: CreateOptions = {}) {
|
constructor (registry: Registry, value?: GenericExtrinsic | ExtrinsicValue | AnyU8a | Call, { version }: CreateOptions = {}) {
|
||||||
super(registry, decodeExtrinsic(registry, value, version));
|
super(registry, decodeExtrinsic(registry, value, version));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,27 +80,5 @@ export const runtime: DefinitionsCall = {
|
|||||||
}, CORE_V1_TO_V2, CORE_V1_TO_V4),
|
}, CORE_V1_TO_V2, CORE_V1_TO_V4),
|
||||||
version: 1
|
version: 1
|
||||||
}
|
}
|
||||||
],
|
|
||||||
TryRuntime: [
|
|
||||||
{
|
|
||||||
methods: {
|
|
||||||
execute_block_no_check: {
|
|
||||||
description: "Execute the given block, but don't check that its state root matches that of yours.",
|
|
||||||
params: [
|
|
||||||
{
|
|
||||||
name: 'block',
|
|
||||||
type: 'Block'
|
|
||||||
}
|
|
||||||
],
|
|
||||||
type: 'Weight'
|
|
||||||
},
|
|
||||||
on_runtime_upgrade: {
|
|
||||||
description: 'dry-run runtime upgrades, returning the total weight consumed.',
|
|
||||||
params: [],
|
|
||||||
type: '(Weight, Weight)'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
version: 1
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -256,6 +256,7 @@ export default {
|
|||||||
unlocking: 'Vec<UnlockChunk>'
|
unlocking: 'Vec<UnlockChunk>'
|
||||||
},
|
},
|
||||||
StakingLedgerTo240: {
|
StakingLedgerTo240: {
|
||||||
|
_fallback: 'StakingLedgerTo223',
|
||||||
stash: 'AccountId',
|
stash: 'AccountId',
|
||||||
total: 'Compact<Balance>',
|
total: 'Compact<Balance>',
|
||||||
active: 'Compact<Balance>',
|
active: 'Compact<Balance>',
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.2.2' };
|
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.2.3' };
|
||||||
|
|||||||
Reference in New Issue
Block a user