Bump metadata (#3012)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { Vec, u16, u32, u64 } from '@polkadot/types';
|
||||
import type { Vec, u16, u32, u64, u8 } from '@polkadot/types';
|
||||
import type { Codec } from '@polkadot/types/types';
|
||||
import type { Balance, BalanceOf, BlockNumber, LockIdentifier, ModuleId, Moment, Perbill, Percent, Permill, RuntimeDbWeight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
||||
@@ -354,6 +354,14 @@ declare module '@polkadot/api/types/consts' {
|
||||
* The weight of runtime database operations the runtime can invoke.
|
||||
**/
|
||||
dbWeight: RuntimeDbWeight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The designated SS85 prefix of this chain.
|
||||
*
|
||||
* This replaces the "ss58Format" property declared in the chain spec. Reason is
|
||||
* that the runtime should know about the prefix in order to make use of it as
|
||||
* an identifier of the chain.
|
||||
**/
|
||||
ss58Prefix: u8 & AugmentedConst<ApiType>;
|
||||
};
|
||||
timestamp: {
|
||||
[key: string]: Codec;
|
||||
|
||||
@@ -187,6 +187,14 @@ declare module '@polkadot/api/types/errors' {
|
||||
* Input passed to a contract API function failed to decode as expected type.
|
||||
**/
|
||||
DecodingFailed: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The topics passed to `seal_deposit_events` contains at least one duplicate.
|
||||
**/
|
||||
DuplicateTopics: AugmentedError<ApiType>;
|
||||
/**
|
||||
* `seal_input` was called twice from the same contract execution context.
|
||||
**/
|
||||
InputAlreadyRead: AugmentedError<ApiType>;
|
||||
/**
|
||||
* An origin TrieId written in the current block.
|
||||
**/
|
||||
@@ -238,12 +246,20 @@ declare module '@polkadot/api/types/errors' {
|
||||
* The output buffer supplied to a contract API call was too small.
|
||||
**/
|
||||
OutputBufferTooSmall: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The subject passed to `seal_random` exceeds the limit.
|
||||
**/
|
||||
RandomSubjectTooLong: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The action performed is not allowed while the contract performing it is already
|
||||
* on the call stack. Those actions are contract self destruction and restoration
|
||||
* of a tombstone.
|
||||
**/
|
||||
ReentranceDenied: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
||||
**/
|
||||
TooManyTopics: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Performing the requested transfer failed for a reason originating in the
|
||||
* chosen currency implementation of the runtime. Most probably the balance is
|
||||
@@ -693,6 +709,10 @@ declare module '@polkadot/api/types/errors' {
|
||||
* Call may not be made by proxy because it may escalate its privileges.
|
||||
**/
|
||||
NoPermission: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Cannot add self as proxy.
|
||||
**/
|
||||
NoSelfProxy: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Proxy registration not found.
|
||||
**/
|
||||
|
||||
@@ -776,6 +776,10 @@ declare module '@polkadot/api/types/events' {
|
||||
* A tip suggestion has been retracted. \[tip_hash\]
|
||||
**/
|
||||
TipRetracted: AugmentedEvent<ApiType, [Hash]>;
|
||||
/**
|
||||
* A tip suggestion has been slashed. \[tip_hash, finder, deposit\]
|
||||
**/
|
||||
TipSlashed: AugmentedEvent<ApiType, [Hash, AccountId, Balance]>;
|
||||
};
|
||||
treasury: {
|
||||
[key: string]: AugmentedEvent<ApiType>;
|
||||
|
||||
@@ -643,8 +643,8 @@ declare module '@polkadot/api/types/storage' {
|
||||
/**
|
||||
* The active era information, it holds index and start.
|
||||
*
|
||||
* The active era is the era currently rewarded.
|
||||
* Validator set of this era must be equal to `SessionInterface::validators`.
|
||||
* The active era is the era being currently rewarded. Validator set of this era must be
|
||||
* equal to [`SessionInterface::validators`].
|
||||
**/
|
||||
activeEra: AugmentedQuery<ApiType, () => Observable<Option<ActiveEraInfo>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
@@ -709,6 +709,9 @@ declare module '@polkadot/api/types/storage' {
|
||||
erasStakersClipped: AugmentedQueryDoubleMap<ApiType, (key1: EraIndex | AnyNumber | Uint8Array, key2: AccountId | string | Uint8Array) => Observable<Exposure>, [EraIndex, AccountId]> & QueryableStorageEntry<ApiType, [EraIndex, AccountId]>;
|
||||
/**
|
||||
* The session index at which the era start for the last `HISTORY_DEPTH` eras.
|
||||
*
|
||||
* Note: This tracks the starting session (i.e. session index when era start being active)
|
||||
* for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`.
|
||||
**/
|
||||
erasStartSessionIndex: AugmentedQuery<ApiType, (arg: EraIndex | AnyNumber | Uint8Array) => Observable<Option<SessionIndex>>, [EraIndex]> & QueryableStorageEntry<ApiType, [EraIndex]>;
|
||||
/**
|
||||
@@ -897,10 +900,6 @@ declare module '@polkadot/api/types/storage' {
|
||||
* Extrinsics data for the current block (maps an extrinsic's index to its data).
|
||||
**/
|
||||
extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
* Extrinsics root of the current block, also part of the block header.
|
||||
**/
|
||||
extrinsicsRoot: AugmentedQuery<ApiType, () => Observable<Hash>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.
|
||||
**/
|
||||
|
||||
@@ -3456,6 +3456,21 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* # </weight>
|
||||
**/
|
||||
retractTip: AugmentedSubmittable<(hash: Hash | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Hash]>;
|
||||
/**
|
||||
* Remove and slash an already-open tip.
|
||||
*
|
||||
* May only be called from `T::RejectOrigin`.
|
||||
*
|
||||
* As a result, the finder is slashed and the deposits are lost.
|
||||
*
|
||||
* Emits `TipSlashed` if successful.
|
||||
*
|
||||
* # <weight>
|
||||
* `T` is charged as upper bound given by `ContainsLengthBound`.
|
||||
* The actual cost depends on the implementation of `T::Tippers`.
|
||||
* # </weight>
|
||||
**/
|
||||
slashTip: AugmentedSubmittable<(hash: Hash | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Hash]>;
|
||||
/**
|
||||
* Declare a tip value for an already-open tip.
|
||||
*
|
||||
|
||||
@@ -111,17 +111,6 @@
|
||||
" Hash of the previous block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ExtrinsicsRoot",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Hash"
|
||||
},
|
||||
"fallback": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"documentation": [
|
||||
" Extrinsics root of the current block, also part of the block header."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Digest",
|
||||
"modifier": "Default",
|
||||
@@ -477,6 +466,18 @@
|
||||
"documentation": [
|
||||
" The weight configuration (limits & base values) for each class of extrinsics and block."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "SS58Prefix",
|
||||
"type": "u8",
|
||||
"value": "0x2a",
|
||||
"documentation": [
|
||||
" The designated SS85 prefix of this chain.",
|
||||
"",
|
||||
" This replaces the \"ss58Format\" property declared in the chain spec. Reason is",
|
||||
" that the runtime should know about the prefix in order to make use of it as",
|
||||
" an identifier of the chain."
|
||||
]
|
||||
}
|
||||
],
|
||||
"errors": [
|
||||
@@ -1831,8 +1832,8 @@
|
||||
"documentation": [
|
||||
" The active era information, it holds index and start.",
|
||||
"",
|
||||
" The active era is the era currently rewarded.",
|
||||
" Validator set of this era must be equal to `SessionInterface::validators`."
|
||||
" The active era is the era being currently rewarded. Validator set of this era must be",
|
||||
" equal to [`SessionInterface::validators`]."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1848,7 +1849,10 @@
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"documentation": [
|
||||
" The session index at which the era start for the last `HISTORY_DEPTH` eras."
|
||||
" The session index at which the era start for the last `HISTORY_DEPTH` eras.",
|
||||
"",
|
||||
" Note: This tracks the starting session (i.e. session index when era start being active)",
|
||||
" for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -7277,6 +7281,30 @@
|
||||
" on the call stack. Those actions are contract self destruction and restoration",
|
||||
" of a tombstone."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "InputAlreadyRead",
|
||||
"documentation": [
|
||||
" `seal_input` was called twice from the same contract execution context."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "RandomSubjectTooLong",
|
||||
"documentation": [
|
||||
" The subject passed to `seal_random` exceeds the limit."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TooManyTopics",
|
||||
"documentation": [
|
||||
" The amount of topics passed to `seal_deposit_events` exceeds the limit."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DuplicateTopics",
|
||||
"documentation": [
|
||||
" The topics passed to `seal_deposit_events` contains at least one duplicate."
|
||||
]
|
||||
}
|
||||
],
|
||||
"index": 17
|
||||
@@ -10973,6 +11001,12 @@
|
||||
"documentation": [
|
||||
" Announcement, if made at all, was made too recently."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "NoSelfProxy",
|
||||
"documentation": [
|
||||
" Cannot add self as proxy."
|
||||
]
|
||||
}
|
||||
],
|
||||
"index": 29
|
||||
@@ -12070,6 +12104,29 @@
|
||||
" - DbWrites: `Reasons`, `Tips`, `Tippers`, `tip finder`",
|
||||
" # </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "slash_tip",
|
||||
"args": [
|
||||
{
|
||||
"name": "hash",
|
||||
"type": "Hash"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
" Remove and slash an already-open tip.",
|
||||
"",
|
||||
" May only be called from `T::RejectOrigin`.",
|
||||
"",
|
||||
" As a result, the finder is slashed and the deposits are lost.",
|
||||
"",
|
||||
" Emits `TipSlashed` if successful.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" `T` is charged as upper bound given by `ContainsLengthBound`.",
|
||||
" The actual cost depends on the implementation of `T::Tippers`.",
|
||||
" # </weight>"
|
||||
]
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
@@ -12110,6 +12167,17 @@
|
||||
"documentation": [
|
||||
" A tip suggestion has been retracted. \\[tip_hash\\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TipSlashed",
|
||||
"args": [
|
||||
"Hash",
|
||||
"AccountId",
|
||||
"Balance"
|
||||
],
|
||||
"documentation": [
|
||||
" A tip suggestion has been slashed. \\[tip_hash, finder, deposit\\]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user