mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-04-22 04:27:56 +00:00
Rebrand: polkadot → pezkuwi, substrate → bizinikiwi, kusama → dicle
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# @pezkuwi/api-augment
|
||||
|
||||
Generated augmentation.
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
||||
"description": "API generated augmentation",
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"homepage": "https://github.com/pezkuwichain/pezkuwi-api/tree/master/packages/api-augment#readme",
|
||||
"license": "Apache-2.0",
|
||||
"name": "@pezkuwi/api-augment",
|
||||
"repository": {
|
||||
"directory": "packages/api-augment",
|
||||
"type": "git",
|
||||
"url": "https://github.com/pezkuwichain/pezkuwi-api.git"
|
||||
},
|
||||
"sideEffects": [
|
||||
"./packageDetect.js",
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.5.6",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@pezkuwi/api-base": "16.5.4",
|
||||
"@pezkuwi/rpc-augment": "16.5.4",
|
||||
"@pezkuwi/types": "16.5.4",
|
||||
"@pezkuwi/types-augment": "16.5.4",
|
||||
"@pezkuwi/types-codec": "16.5.4",
|
||||
"@pezkuwi/util": "^14.0.1",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '../base.js';
|
||||
import './consts.js';
|
||||
import './errors.js';
|
||||
import './events.js';
|
||||
import './query.js';
|
||||
import './registry.js';
|
||||
import './runtime.js';
|
||||
import './tx.js';
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/types-augment/registry/assetHubDicle';
|
||||
@@ -0,0 +1,518 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
// import type lookup before we augment - in some environments
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@pezkuwi/api-base/types/calls';
|
||||
|
||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@pezkuwi/api-base/types';
|
||||
import type { Bytes, Null, Option, Result, Text, U256, U8aFixed, Vec, bool, u128, u32 } from '@pezkuwi/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
||||
import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||
import type { AccountId32, H160, H256, OriginCaller, RuntimeCall, Slot, SlotDuration } from '@pezkuwi/types/interfaces/runtime';
|
||||
import type { ParaId } from '@pezkuwi/types/interfaces/teyrchains';
|
||||
import type { AssetsCommonRuntimeApiFungiblesAccessError, PezcumulusPrimitivesCoreCollationInfo, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletReviveEvmApiDebugRpcTypesTracerType, PezpalletReviveEvmApiRpcTypesGenGenericTransaction, PezpalletRevivePrimitivesCode, PezpalletRevivePrimitivesCodeUploadReturnValue, PezpalletRevivePrimitivesContractAccessError, PezpalletRevivePrimitivesContractResultExecReturnValue, PezpalletRevivePrimitivesContractResultInstantiateReturnValue, PezpalletRevivePrimitivesEthTransactError, PezpalletRevivePrimitivesEthTransactInfo, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspConsensusAuraSr25519AppSr25519Public, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
||||
|
||||
declare module '@pezkuwi/api-base/types/calls' {
|
||||
interface AugmentedCalls<ApiType extends ApiTypes> {
|
||||
/** 0xbc9d89904f5b923f/ */
|
||||
accountNonceApi: {
|
||||
/**
|
||||
* Get current account nonce of given `AccountId`.
|
||||
**/
|
||||
accountNonce: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x8a8047a53a8277ec/ */
|
||||
assetConversionApi: {
|
||||
/**
|
||||
* Returns the size of the liquidity pool for the given asset pair.
|
||||
**/
|
||||
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_out_min` to control slippage.)
|
||||
**/
|
||||
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_in_max` to control slippage.)
|
||||
**/
|
||||
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xdd718d5cc53262d4/ */
|
||||
auraApi: {
|
||||
/**
|
||||
* Return the current set of authorities.
|
||||
**/
|
||||
authorities: AugmentedCall<ApiType, () => Observable<Vec<PezspConsensusAuraSr25519AppSr25519Public>>>;
|
||||
/**
|
||||
* Returns the slot duration for Aura.,, Currently, only the value provided by this type at genesis will be used.
|
||||
**/
|
||||
slotDuration: AugmentedCall<ApiType, () => Observable<SlotDuration>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd7bdd8a272ca0d65/ */
|
||||
auraUnincludedSegmentApi: {
|
||||
/**
|
||||
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given relay chain slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
|
||||
**/
|
||||
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x12c8e3d4d7e06de0/ */
|
||||
authorizedAliasersApi: {
|
||||
/**
|
||||
* Returns locations allowed to alias into and act as `target`.
|
||||
**/
|
||||
authorizedAliasers: AugmentedCall<ApiType, (target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>>;
|
||||
/**
|
||||
* Returns whether `origin` is allowed to alias into and act as `target`.
|
||||
**/
|
||||
isAuthorizedAlias: AugmentedCall<ApiType, (origin: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisAuthorizedAliasesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x40fe3ad401f8959a/ */
|
||||
blockBuilder: {
|
||||
/**
|
||||
* Apply the given extrinsic.,, Returns an inclusion outcome which specifies if this extrinsic is included in, this block or not.
|
||||
**/
|
||||
applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<Result<Result<Null, PezspRuntimeDispatchError>, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Check that the inherents are valid. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
checkInherents: AugmentedCall<ApiType, (block: PezspRuntimeBlock, data: PezspInherentsInherentData) => Observable<PezspInherentsCheckInherentsResult>>;
|
||||
/**
|
||||
* Finish the current block.
|
||||
**/
|
||||
finalizeBlock: AugmentedCall<ApiType, () => Observable<PezspRuntimeHeader>>;
|
||||
/**
|
||||
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
inherentExtrinsics: AugmentedCall<ApiType, (inherent: PezspInherentsInherentData) => Observable<Vec<Bytes>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xea93e3f16f3d6962/ */
|
||||
collectCollationInfo: {
|
||||
/**
|
||||
* Collect information about a collation.,, The given `header` is the header of the built block for that, we are collecting the collation info for.
|
||||
**/
|
||||
collectCollationInfo: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<PezcumulusPrimitivesCoreCollationInfo>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xdf6acb689907609b/ */
|
||||
core: {
|
||||
/**
|
||||
* Execute the given block.
|
||||
**/
|
||||
executeBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock) => Observable<Null>>;
|
||||
/**
|
||||
* Initialize a block with the given header and return the runtime executive mode.
|
||||
**/
|
||||
initializeBlock: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<PezspRuntimeExtrinsicInclusionMode>>;
|
||||
/**
|
||||
* Returns the version of the runtime.
|
||||
**/
|
||||
version: AugmentedCall<ApiType, () => Observable<PezspVersionRuntimeVersion>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x91b1c8b16328eb92/ */
|
||||
dryRunApi: {
|
||||
/**
|
||||
* Dry run call V2.
|
||||
**/
|
||||
dryRunCall: AugmentedCall<ApiType, (origin: OriginCaller | { System: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Dry run XCM program
|
||||
**/
|
||||
dryRunXcm: AugmentedCall<ApiType, (origin_location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, xcm: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xde92b8a0426b9bf6/ */
|
||||
fungiblesApi: {
|
||||
/**
|
||||
* Returns the list of all [`Asset`] that an `AccountId` has.
|
||||
**/
|
||||
queryAccountBalances: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array) => Observable<Result<XcmVersionedAssets, AssetsCommonRuntimeApiFungiblesAccessError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xfbc577b9d747efd6/ */
|
||||
genesisBuilder: {
|
||||
/**
|
||||
* Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full, `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the, provided JSON blob is incorrect or incomplete or the deserialization fails, an error, is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used.
|
||||
**/
|
||||
buildState: AugmentedCall<ApiType, (json: Bytes | string | Uint8Array) => Observable<Result<Null, Text>>>;
|
||||
/**
|
||||
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function should return JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec<u8>` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method.
|
||||
**/
|
||||
getPreset: AugmentedCall<ApiType, (id: Option<Text> | null | Uint8Array | Text | string) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.,, The presets from the list can be queried with [`GenesisBuilder::get_preset`] method. If, no named presets are provided by the runtime the list is empty.
|
||||
**/
|
||||
presetNames: AugmentedCall<ApiType, () => Observable<Vec<Text>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xa2ddb6a58477bf63/ */
|
||||
getParachainInfo: {
|
||||
/**
|
||||
* Retrieve the parachain id used for runtime.
|
||||
**/
|
||||
parachainId: AugmentedCall<ApiType, () => Observable<ParaId>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x9ffb505aa738d69c/ */
|
||||
locationToAccountApi: {
|
||||
/**
|
||||
* Converts `Location` to `AccountId`.
|
||||
**/
|
||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37e397fc7c91f5e4/ */
|
||||
metadata: {
|
||||
/**
|
||||
* Returns the metadata of a runtime.
|
||||
**/
|
||||
metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
|
||||
/**
|
||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||
**/
|
||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
||||
/**
|
||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||
**/
|
||||
metadataVersions: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x17a6bc0d0062aeb3/ */
|
||||
nominationPoolsApi: {
|
||||
/**
|
||||
* Returns the equivalent points of `new_funds` for a given pool.
|
||||
**/
|
||||
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the total contribution of a pool member including any balance that is unbonding.
|
||||
**/
|
||||
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the pending rewards for the member that the AccountId was given for.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the equivalent balance of `points` for a given pool.
|
||||
**/
|
||||
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the bonded account and reward account associated with the pool_id.
|
||||
**/
|
||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
||||
/**
|
||||
* Total balance contributed to the pool.
|
||||
**/
|
||||
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
||||
**/
|
||||
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool.
|
||||
**/
|
||||
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf78b278be53f454c/ */
|
||||
offchainWorkerApi: {
|
||||
/**
|
||||
* Starts the off-chain task for given block header.
|
||||
**/
|
||||
offchainWorker: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<Null>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x04e70521a0d3d2f8/ */
|
||||
relayParentOffsetApi: {
|
||||
/**
|
||||
* Fetch the slot offset that is expected from the relay chain.
|
||||
**/
|
||||
relayParentOffset: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x8c403e5c4a9fd442/ */
|
||||
reviveApi: {
|
||||
/**
|
||||
* Get the H160 address associated to this account id
|
||||
**/
|
||||
address: AugmentedCall<ApiType, (account_id: AccountId32 | string | Uint8Array) => Observable<H160>>;
|
||||
/**
|
||||
* Returns the free balance of the given `[H160]` address, using EVM decimals.
|
||||
**/
|
||||
balance: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<U256>>;
|
||||
/**
|
||||
* The address of the validator that produced the current block.
|
||||
**/
|
||||
blockAuthor: AugmentedCall<ApiType, () => Observable<Option<H160>>>;
|
||||
/**
|
||||
* Returns the block gas limit.
|
||||
**/
|
||||
blockGasLimit: AugmentedCall<ApiType, () => Observable<U256>>;
|
||||
/**
|
||||
* Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`].
|
||||
**/
|
||||
call: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, dest: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<PezspWeightsWeightV2Weight> | null | Uint8Array | PezspWeightsWeightV2Weight, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<PezpalletRevivePrimitivesContractResultExecReturnValue>>;
|
||||
/**
|
||||
* The code at the specified address taking pre-compiles into account.
|
||||
**/
|
||||
code: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<Bytes>>;
|
||||
/**
|
||||
* Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`]
|
||||
**/
|
||||
ethTransact: AugmentedCall<ApiType, (tx: PezpalletReviveEvmApiRpcTypesGenGenericTransaction) => Observable<Result<PezpalletRevivePrimitivesEthTransactInfo, PezpalletRevivePrimitivesEthTransactError>>>;
|
||||
/**
|
||||
* Returns the gas price.
|
||||
**/
|
||||
gasPrice: AugmentedCall<ApiType, () => Observable<U256>>;
|
||||
/**
|
||||
* Query a given storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
|
||||
**/
|
||||
getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>, PezpalletRevivePrimitivesContractAccessError>>>;
|
||||
/**
|
||||
* Query a given variable-sized storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
|
||||
**/
|
||||
getStorageVarKey: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Result<Option<Bytes>, PezpalletRevivePrimitivesContractAccessError>>>;
|
||||
/**
|
||||
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
|
||||
**/
|
||||
instantiate: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<PezspWeightsWeightV2Weight> | null | Uint8Array | PezspWeightsWeightV2Weight, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: PezpalletRevivePrimitivesCode, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => Observable<PezpalletRevivePrimitivesContractResultInstantiateReturnValue>>;
|
||||
/**
|
||||
* Returns the nonce of the given `[H160]` address.
|
||||
**/
|
||||
nonce: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* The address used to call the runtime's pallets dispatchables
|
||||
**/
|
||||
runtimePalletsAddress: AugmentedCall<ApiType, () => Observable<H160>>;
|
||||
/**
|
||||
* Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage.
|
||||
**/
|
||||
traceBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Vec<ITuple<[u32, PezpalletReviveEvmApiDebugRpcTypesTrace]>>>>;
|
||||
/**
|
||||
* Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
|
||||
**/
|
||||
traceCall: AugmentedCall<ApiType, (tx: PezpalletReviveEvmApiRpcTypesGenGenericTransaction, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Result<PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletRevivePrimitivesEthTransactError>>>;
|
||||
/**
|
||||
* Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage.
|
||||
**/
|
||||
traceTx: AugmentedCall<ApiType, (block: PezspRuntimeBlock, tx_index: u32 | AnyNumber | Uint8Array, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Option<PezpalletReviveEvmApiDebugRpcTypesTrace>>>;
|
||||
/**
|
||||
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
|
||||
**/
|
||||
uploadCode: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, code: Bytes | string | Uint8Array, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber) => Observable<Result<PezpalletRevivePrimitivesCodeUploadReturnValue, PezspRuntimeDispatchError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xccd9de6396c899ca/ */
|
||||
runtimeViewFunction: {
|
||||
/**
|
||||
* Execute a view function query.
|
||||
**/
|
||||
executeViewFunction: AugmentedCall<ApiType, (query_id: PezframeSupportViewFunctionsViewFunctionId, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, PezframeSupportViewFunctionsViewFunctionDispatchError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xab3c0572291feb8b/ */
|
||||
sessionKeys: {
|
||||
/**
|
||||
* Decode the given public session keys.,, Returns the list of public raw public keys + key type.
|
||||
**/
|
||||
decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, PezspCoreCryptoKeyTypeId]>>>>>;
|
||||
/**
|
||||
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
|
||||
**/
|
||||
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x18ef58a3b67ba770/ */
|
||||
stakingApi: {
|
||||
/**
|
||||
* Returns the page count of exposures for a validator `account` in a given era.
|
||||
**/
|
||||
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns the nominations quota for a nominator with a given balance.
|
||||
**/
|
||||
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns true if validator `account` has pages to be claimed for the given era.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd2bc9897eed08f15/ */
|
||||
taggedTransactionQueue: {
|
||||
/**
|
||||
* Validate the transaction.,, This method is invoked by the transaction pool to learn details about given transaction., The implementation should make sure to verify the correctness of the transaction, against current state. The given `block_hash` corresponds to the hash of the block, that is used as current state.,, Note that this call may be performed by the pool multiple times and transactions, might be verified in any possible order.
|
||||
**/
|
||||
validateTransaction: AugmentedCall<ApiType, (source: PezspRuntimeTransactionValidityTransactionSource, tx: Extrinsic | IExtrinsic | string | Uint8Array, block_hash: H256 | string | Uint8Array) => Observable<Result<PezspRuntimeTransactionValidityValidTransaction, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37c8bb1350a9a2a8/ */
|
||||
transactionPaymentApi: {
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf3ff14d5ab527059/ */
|
||||
transactionPaymentCallApi: {
|
||||
/**
|
||||
* Query fee details of a given encoded `Call`.
|
||||
**/
|
||||
queryCallFeeDetails: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
||||
**/
|
||||
queryCallInfo: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
* Query the output of the current `LengthToFee` given some input.
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Query the output of the current `WeightToFee` given some input.
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x2609be83ac4468dc/ */
|
||||
trustedQueryApi: {
|
||||
/**
|
||||
* Returns if the location is a trusted reserve for the asset.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
||||
**/
|
||||
isTrustedReserve: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
||||
/**
|
||||
* Returns if the asset can be teleported to the location.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
||||
**/
|
||||
isTrustedTeleporter: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x6ff52ee858e6c5bd/ */
|
||||
xcmPaymentApi: {
|
||||
/**
|
||||
* Returns a list of acceptable payment assets.,, # Arguments,, * `xcm_version`: Version.
|
||||
**/
|
||||
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
|
||||
**/
|
||||
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
|
||||
**/
|
||||
queryWeightToAssetFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight, asset: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<u128, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Returns a weight needed to execute a XCM.,, # Arguments,, * `message`: `VersionedXcm`.
|
||||
**/
|
||||
queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<PezspWeightsWeightV2Weight, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
} // AugmentedCalls
|
||||
} // declare module
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '../base.js';
|
||||
import './consts.js';
|
||||
import './errors.js';
|
||||
import './events.js';
|
||||
import './query.js';
|
||||
import './registry.js';
|
||||
import './runtime.js';
|
||||
import './tx.js';
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/types-augment/registry/assetHubPezkuwi';
|
||||
@@ -0,0 +1,443 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
// import type lookup before we augment - in some environments
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@pezkuwi/api-base/types/calls';
|
||||
|
||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@pezkuwi/api-base/types';
|
||||
import type { Bytes, Null, Option, Result, Text, Vec, bool, u128, u32 } from '@pezkuwi/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
||||
import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||
import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@pezkuwi/types/interfaces/runtime';
|
||||
import type { ParaId } from '@pezkuwi/types/interfaces/teyrchains';
|
||||
import type { AssetHubPezkuwiRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, PezcumulusPrimitivesCoreCollationInfo, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspConsensusAuraEd25519AppEd25519Public, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
||||
|
||||
declare module '@pezkuwi/api-base/types/calls' {
|
||||
interface AugmentedCalls<ApiType extends ApiTypes> {
|
||||
/** 0xbc9d89904f5b923f/ */
|
||||
accountNonceApi: {
|
||||
/**
|
||||
* Get current account nonce of given `AccountId`.
|
||||
**/
|
||||
accountNonce: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x8a8047a53a8277ec/ */
|
||||
assetConversionApi: {
|
||||
/**
|
||||
* Returns the size of the liquidity pool for the given asset pair.
|
||||
**/
|
||||
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_out_min` to control slippage.)
|
||||
**/
|
||||
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_in_max` to control slippage.)
|
||||
**/
|
||||
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, asset2: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xdd718d5cc53262d4/ */
|
||||
auraApi: {
|
||||
/**
|
||||
* Return the current set of authorities.
|
||||
**/
|
||||
authorities: AugmentedCall<ApiType, () => Observable<Vec<PezspConsensusAuraEd25519AppEd25519Public>>>;
|
||||
/**
|
||||
* Returns the slot duration for Aura.,, Currently, only the value provided by this type at genesis will be used.
|
||||
**/
|
||||
slotDuration: AugmentedCall<ApiType, () => Observable<SlotDuration>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd7bdd8a272ca0d65/ */
|
||||
auraUnincludedSegmentApi: {
|
||||
/**
|
||||
* Whether it is legal to extend the chain, assuming the given block is the most, recently included one as-of the relay parent that will be built against, and, the given relay chain slot.,, This should be consistent with the logic the runtime uses when validating blocks to, avoid issues.,, When the unincluded segment is empty, i.e. `included_hash == at`, where at is the block, whose state we are querying against, this must always return `true` as long as the slot, is more recent than the included block itself.
|
||||
**/
|
||||
canBuildUpon: AugmentedCall<ApiType, (included_hash: H256 | string | Uint8Array, slot: Slot | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x12c8e3d4d7e06de0/ */
|
||||
authorizedAliasersApi: {
|
||||
/**
|
||||
* Returns locations allowed to alias into and act as `target`.
|
||||
**/
|
||||
authorizedAliasers: AugmentedCall<ApiType, (target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>>;
|
||||
/**
|
||||
* Returns whether `origin` is allowed to alias into and act as `target`.
|
||||
**/
|
||||
isAuthorizedAlias: AugmentedCall<ApiType, (origin: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, target: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisAuthorizedAliasesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x40fe3ad401f8959a/ */
|
||||
blockBuilder: {
|
||||
/**
|
||||
* Apply the given extrinsic.,, Returns an inclusion outcome which specifies if this extrinsic is included in, this block or not.
|
||||
**/
|
||||
applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<Result<Result<Null, PezspRuntimeDispatchError>, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Check that the inherents are valid. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
checkInherents: AugmentedCall<ApiType, (block: PezspRuntimeBlock, data: PezspInherentsInherentData) => Observable<PezspInherentsCheckInherentsResult>>;
|
||||
/**
|
||||
* Finish the current block.
|
||||
**/
|
||||
finalizeBlock: AugmentedCall<ApiType, () => Observable<PezspRuntimeHeader>>;
|
||||
/**
|
||||
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
inherentExtrinsics: AugmentedCall<ApiType, (inherent: PezspInherentsInherentData) => Observable<Vec<Bytes>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xea93e3f16f3d6962/ */
|
||||
collectCollationInfo: {
|
||||
/**
|
||||
* Collect information about a collation.,, The given `header` is the header of the built block for that, we are collecting the collation info for.
|
||||
**/
|
||||
collectCollationInfo: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<PezcumulusPrimitivesCoreCollationInfo>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xdf6acb689907609b/ */
|
||||
core: {
|
||||
/**
|
||||
* Execute the given block.
|
||||
**/
|
||||
executeBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock) => Observable<Null>>;
|
||||
/**
|
||||
* Initialize a block with the given header and return the runtime executive mode.
|
||||
**/
|
||||
initializeBlock: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<PezspRuntimeExtrinsicInclusionMode>>;
|
||||
/**
|
||||
* Returns the version of the runtime.
|
||||
**/
|
||||
version: AugmentedCall<ApiType, () => Observable<PezspVersionRuntimeVersion>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x91b1c8b16328eb92/ */
|
||||
dryRunApi: {
|
||||
/**
|
||||
* Dry run call V2.
|
||||
**/
|
||||
dryRunCall: AugmentedCall<ApiType, (origin: AssetHubPezkuwiRuntimeOriginCaller, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Dry run XCM program
|
||||
**/
|
||||
dryRunXcm: AugmentedCall<ApiType, (origin_location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, xcm: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xde92b8a0426b9bf6/ */
|
||||
fungiblesApi: {
|
||||
/**
|
||||
* Returns the list of all [`Asset`] that an `AccountId` has.
|
||||
**/
|
||||
queryAccountBalances: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array) => Observable<Result<XcmVersionedAssets, AssetsCommonRuntimeApiFungiblesAccessError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xfbc577b9d747efd6/ */
|
||||
genesisBuilder: {
|
||||
/**
|
||||
* Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full, `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the, provided JSON blob is incorrect or incomplete or the deserialization fails, an error, is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used.
|
||||
**/
|
||||
buildState: AugmentedCall<ApiType, (json: Bytes | string | Uint8Array) => Observable<Result<Null, Text>>>;
|
||||
/**
|
||||
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function should return JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec<u8>` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method.
|
||||
**/
|
||||
getPreset: AugmentedCall<ApiType, (id: Option<Text> | null | Uint8Array | Text | string) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.,, The presets from the list can be queried with [`GenesisBuilder::get_preset`] method. If, no named presets are provided by the runtime the list is empty.
|
||||
**/
|
||||
presetNames: AugmentedCall<ApiType, () => Observable<Vec<Text>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xa2ddb6a58477bf63/ */
|
||||
getParachainInfo: {
|
||||
/**
|
||||
* Retrieve the parachain id used for runtime.
|
||||
**/
|
||||
parachainId: AugmentedCall<ApiType, () => Observable<ParaId>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x9ffb505aa738d69c/ */
|
||||
locationToAccountApi: {
|
||||
/**
|
||||
* Converts `Location` to `AccountId`.
|
||||
**/
|
||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37e397fc7c91f5e4/ */
|
||||
metadata: {
|
||||
/**
|
||||
* Returns the metadata of a runtime.
|
||||
**/
|
||||
metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
|
||||
/**
|
||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||
**/
|
||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
||||
/**
|
||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||
**/
|
||||
metadataVersions: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x17a6bc0d0062aeb3/ */
|
||||
nominationPoolsApi: {
|
||||
/**
|
||||
* Returns the equivalent points of `new_funds` for a given pool.
|
||||
**/
|
||||
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the total contribution of a pool member including any balance that is unbonding.
|
||||
**/
|
||||
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the pending rewards for the member that the AccountId was given for.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the equivalent balance of `points` for a given pool.
|
||||
**/
|
||||
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the bonded account and reward account associated with the pool_id.
|
||||
**/
|
||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
||||
/**
|
||||
* Total balance contributed to the pool.
|
||||
**/
|
||||
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
||||
**/
|
||||
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool.
|
||||
**/
|
||||
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf78b278be53f454c/ */
|
||||
offchainWorkerApi: {
|
||||
/**
|
||||
* Starts the off-chain task for given block header.
|
||||
**/
|
||||
offchainWorker: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<Null>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x04e70521a0d3d2f8/ */
|
||||
relayParentOffsetApi: {
|
||||
/**
|
||||
* Fetch the slot offset that is expected from the relay chain.
|
||||
**/
|
||||
relayParentOffset: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xccd9de6396c899ca/ */
|
||||
runtimeViewFunction: {
|
||||
/**
|
||||
* Execute a view function query.
|
||||
**/
|
||||
executeViewFunction: AugmentedCall<ApiType, (query_id: PezframeSupportViewFunctionsViewFunctionId, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, PezframeSupportViewFunctionsViewFunctionDispatchError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xab3c0572291feb8b/ */
|
||||
sessionKeys: {
|
||||
/**
|
||||
* Decode the given public session keys.,, Returns the list of public raw public keys + key type.
|
||||
**/
|
||||
decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, PezspCoreCryptoKeyTypeId]>>>>>;
|
||||
/**
|
||||
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
|
||||
**/
|
||||
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x18ef58a3b67ba770/ */
|
||||
stakingApi: {
|
||||
/**
|
||||
* Returns the page count of exposures for a validator `account` in a given era.
|
||||
**/
|
||||
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns the nominations quota for a nominator with a given balance.
|
||||
**/
|
||||
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns true if validator `account` has pages to be claimed for the given era.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd2bc9897eed08f15/ */
|
||||
taggedTransactionQueue: {
|
||||
/**
|
||||
* Validate the transaction.,, This method is invoked by the transaction pool to learn details about given transaction., The implementation should make sure to verify the correctness of the transaction, against current state. The given `block_hash` corresponds to the hash of the block, that is used as current state.,, Note that this call may be performed by the pool multiple times and transactions, might be verified in any possible order.
|
||||
**/
|
||||
validateTransaction: AugmentedCall<ApiType, (source: PezspRuntimeTransactionValidityTransactionSource, tx: Extrinsic | IExtrinsic | string | Uint8Array, block_hash: H256 | string | Uint8Array) => Observable<Result<PezspRuntimeTransactionValidityValidTransaction, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37c8bb1350a9a2a8/ */
|
||||
transactionPaymentApi: {
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf3ff14d5ab527059/ */
|
||||
transactionPaymentCallApi: {
|
||||
/**
|
||||
* Query fee details of a given encoded `Call`.
|
||||
**/
|
||||
queryCallFeeDetails: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
||||
**/
|
||||
queryCallInfo: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
* Query the output of the current `LengthToFee` given some input.
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Query the output of the current `WeightToFee` given some input.
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x2609be83ac4468dc/ */
|
||||
trustedQueryApi: {
|
||||
/**
|
||||
* Returns if the location is a trusted reserve for the asset.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
||||
**/
|
||||
isTrustedReserve: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
||||
/**
|
||||
* Returns if the asset can be teleported to the location.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
||||
**/
|
||||
isTrustedTeleporter: AugmentedCall<ApiType, (asset: XcmVersionedAsset | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x6ff52ee858e6c5bd/ */
|
||||
xcmPaymentApi: {
|
||||
/**
|
||||
* Returns a list of acceptable payment assets.,, # Arguments,, * `xcm_version`: Version.
|
||||
**/
|
||||
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
|
||||
**/
|
||||
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
|
||||
**/
|
||||
queryWeightToAssetFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight, asset: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<u128, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Returns a weight needed to execute a XCM.,, # Arguments,, * `message`: `VersionedXcm`.
|
||||
**/
|
||||
queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<PezspWeightsWeightV2Weight, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
} // AugmentedCalls
|
||||
} // declare module
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// for the API, we decorate not only the endpoints, but all types
|
||||
import '@pezkuwi/rpc-augment';
|
||||
import '@pezkuwi/types-augment';
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '../base.js';
|
||||
import './consts.js';
|
||||
import './errors.js';
|
||||
import './events.js';
|
||||
import './query.js';
|
||||
import './registry.js';
|
||||
import './runtime.js';
|
||||
import './tx.js';
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/types-augment/registry/bizinikiwi';
|
||||
@@ -0,0 +1,593 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
// import type lookup before we augment - in some environments
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@pezkuwi/api-base/types/calls';
|
||||
|
||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@pezkuwi/api-base/types';
|
||||
import type { Bytes, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u32, u64 } from '@pezkuwi/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
||||
import type { OpaqueKeyOwnershipProof } from '@pezkuwi/types/interfaces/babe';
|
||||
import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||
import type { AccountId32, H160, H256, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
||||
import type { PezframeSupportTokensFungibleUnionOfNativeOrWithId, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezframeSystemEventRecord, PezpalletContractsPrimitivesCode, PezpalletContractsPrimitivesCodeUploadReturnValue, PezpalletContractsPrimitivesContractAccessError, PezpalletContractsPrimitivesContractResult, PezpalletContractsPrimitivesExecReturnValue, PezpalletContractsPrimitivesStorageDeposit, PezpalletContractsWasmDeterminism, PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletReviveEvmApiDebugRpcTypesTracerType, PezpalletReviveEvmApiRpcTypesGenGenericTransaction, PezpalletRevivePrimitivesCode, PezpalletRevivePrimitivesCodeUploadReturnValue, PezpalletRevivePrimitivesContractAccessError, PezpalletRevivePrimitivesContractResultExecReturnValue, PezpalletRevivePrimitivesContractResultInstantiateReturnValue, PezpalletRevivePrimitivesEthTransactError, PezpalletRevivePrimitivesEthTransactInfo, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMixnetMixnode, PezspMixnetMixnodesErr, PezspMixnetSessionStatus, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspStatementStoreRuntimeApiInvalidStatement, PezspStatementStoreRuntimeApiStatementSource, PezspStatementStoreRuntimeApiValidStatement, PezspStatementStoreStatement, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight } from '@pezkuwi/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
||||
|
||||
declare module '@pezkuwi/api-base/types/calls' {
|
||||
interface AugmentedCalls<ApiType extends ApiTypes> {
|
||||
/** 0xbc9d89904f5b923f/ */
|
||||
accountNonceApi: {
|
||||
/**
|
||||
* Get current account nonce of given `AccountId`.
|
||||
**/
|
||||
accountNonce: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x8a8047a53a8277ec/ */
|
||||
assetConversionApi: {
|
||||
/**
|
||||
* Returns the size of the liquidity pool for the given asset pair.
|
||||
**/
|
||||
getReserves: AugmentedCall<ApiType, (asset1: PezframeSupportTokensFungibleUnionOfNativeOrWithId, asset2: PezframeSupportTokensFungibleUnionOfNativeOrWithId) => Observable<Option<ITuple<[u128, u128]>>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_out_min` to control slippage.)
|
||||
**/
|
||||
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: PezframeSupportTokensFungibleUnionOfNativeOrWithId, asset2: PezframeSupportTokensFungibleUnionOfNativeOrWithId, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_in_max` to control slippage.)
|
||||
**/
|
||||
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: PezframeSupportTokensFungibleUnionOfNativeOrWithId, asset2: PezframeSupportTokensFungibleUnionOfNativeOrWithId, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x65f855d6e093c2f1/ */
|
||||
assetRewards: {
|
||||
/**
|
||||
* Get the cost of creating a pool.,, This is especially useful when the cost is dynamic.
|
||||
**/
|
||||
poolCreationCost: AugmentedCall<ApiType, () => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x8453b50b22293977/ */
|
||||
assetsApi: {
|
||||
/**
|
||||
* Returns the list of `AssetId`s and corresponding balance that an `AccountId` has.
|
||||
**/
|
||||
accountBalances: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u128]>>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x687ad44ad37f03c2/ */
|
||||
authorityDiscoveryApi: {
|
||||
/**
|
||||
* Retrieve authority identifiers of the current and next authority set.
|
||||
**/
|
||||
authorities: AugmentedCall<ApiType, () => Observable<Vec<PezspAuthorityDiscoveryAppPublic>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xcbca25e39f142387/ */
|
||||
babeApi: {
|
||||
/**
|
||||
* Return the configuration for BABE.
|
||||
**/
|
||||
configuration: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeBabeConfiguration>>;
|
||||
/**
|
||||
* Returns information regarding the current epoch.
|
||||
**/
|
||||
currentEpoch: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeEpoch>>;
|
||||
/**
|
||||
* Returns the slot that started the current epoch.
|
||||
**/
|
||||
currentEpochStart: AugmentedCall<ApiType, () => Observable<Slot>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, current epoch. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `slot` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the epoch for the given slot is live on-chain. Future, implementations will instead use indexed data through an offchain, worker, not requiring older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (slot: Slot | AnyNumber | Uint8Array, authority_id: PezspConsensusBabeAppPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Returns information regarding the next epoch (which was already, previously announced).
|
||||
**/
|
||||
nextEpoch: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeEpoch>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusSlotsEquivocationProof, key_owner_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x49eaaf1b548a0cb0/ */
|
||||
beefyApi: {
|
||||
/**
|
||||
* Return the block number where BEEFY consensus is enabled/started
|
||||
**/
|
||||
beefyGenesis: AugmentedCall<ApiType, () => Observable<Option<u32>>>;
|
||||
/**
|
||||
* Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`.
|
||||
**/
|
||||
generateAncestryProof: AugmentedCall<ApiType, (prev_block_number: u32 | AnyNumber | Uint8Array, best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: PezspConsensusBeefyEcdsaCryptoPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a double voting equivocation. The caller, must provide the double voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyDoubleVotingProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a fork voting equivocation. The caller, must provide the fork voting proof (the ancestry proof should be obtained using, `generate_ancestry_proof`) and a key ownership proof (should be obtained using, `generate_key_ownership_proof`). The extrinsic will be unsigned and should only, be accepted for local authorship (not to be broadcast to the network). This method, returns `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportForkVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyForkVotingProofOpaqueValue, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a future block voting equivocation. The caller, must provide the future block voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`)., The extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportFutureBlockVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyFutureBlockVotingProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Return the current active BEEFY validator set
|
||||
**/
|
||||
validatorSet: AugmentedCall<ApiType, () => Observable<Option<PezspConsensusBeefyValidatorSet>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x40fe3ad401f8959a/ */
|
||||
blockBuilder: {
|
||||
/**
|
||||
* Apply the given extrinsic.,, Returns an inclusion outcome which specifies if this extrinsic is included in, this block or not.
|
||||
**/
|
||||
applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<Result<Result<Null, PezspRuntimeDispatchError>, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Check that the inherents are valid. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
checkInherents: AugmentedCall<ApiType, (block: PezspRuntimeBlock, data: PezspInherentsInherentData) => Observable<PezspInherentsCheckInherentsResult>>;
|
||||
/**
|
||||
* Finish the current block.
|
||||
**/
|
||||
finalizeBlock: AugmentedCall<ApiType, () => Observable<PezspRuntimeHeader>>;
|
||||
/**
|
||||
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
inherentExtrinsics: AugmentedCall<ApiType, (inherent: PezspInherentsInherentData) => Observable<Vec<Bytes>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x68b66ba122c93fa7/ */
|
||||
contractsApi: {
|
||||
/**
|
||||
* Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`].
|
||||
**/
|
||||
call: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, dest: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<PezspWeightsWeightV2Weight> | null | Uint8Array | PezspWeightsWeightV2Weight, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<{
|
||||
readonly gasConsumed: PezspWeightsWeightV2Weight;
|
||||
readonly gasRequired: PezspWeightsWeightV2Weight;
|
||||
readonly storageDeposit: PezpalletContractsPrimitivesStorageDeposit;
|
||||
readonly debugMessage: Bytes;
|
||||
readonly result: Result<PezpalletContractsPrimitivesExecReturnValue, PezspRuntimeDispatchError>;
|
||||
readonly events: Option<Vec<PezframeSystemEventRecord>>;
|
||||
} & Struct>>;
|
||||
/**
|
||||
* Query a given storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
|
||||
**/
|
||||
getStorage: AugmentedCall<ApiType, (address: AccountId32 | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Result<Option<Bytes>, PezpalletContractsPrimitivesContractAccessError>>>;
|
||||
/**
|
||||
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
|
||||
**/
|
||||
instantiate: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<PezspWeightsWeightV2Weight> | null | Uint8Array | PezspWeightsWeightV2Weight, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: PezpalletContractsPrimitivesCode, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => Observable<PezpalletContractsPrimitivesContractResult>>;
|
||||
/**
|
||||
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
|
||||
**/
|
||||
uploadCode: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, code: Bytes | string | Uint8Array, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, determinism: PezpalletContractsWasmDeterminism) => Observable<Result<PezpalletContractsPrimitivesCodeUploadReturnValue, PezspRuntimeDispatchError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xdf6acb689907609b/ */
|
||||
core: {
|
||||
/**
|
||||
* Execute the given block.
|
||||
**/
|
||||
executeBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock) => Observable<Null>>;
|
||||
/**
|
||||
* Initialize a block with the given header and return the runtime executive mode.
|
||||
**/
|
||||
initializeBlock: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<PezspRuntimeExtrinsicInclusionMode>>;
|
||||
/**
|
||||
* Returns the version of the runtime.
|
||||
**/
|
||||
version: AugmentedCall<ApiType, () => Observable<PezspVersionRuntimeVersion>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xfbc577b9d747efd6/ */
|
||||
genesisBuilder: {
|
||||
/**
|
||||
* Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full, `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the, provided JSON blob is incorrect or incomplete or the deserialization fails, an error, is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used.
|
||||
**/
|
||||
buildState: AugmentedCall<ApiType, (json: Bytes | string | Uint8Array) => Observable<Result<Null, Text>>>;
|
||||
/**
|
||||
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function should return JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec<u8>` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method.
|
||||
**/
|
||||
getPreset: AugmentedCall<ApiType, (id: Option<Text> | null | Uint8Array | Text | string) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.,, The presets from the list can be queried with [`GenesisBuilder::get_preset`] method. If, no named presets are provided by the runtime the list is empty.
|
||||
**/
|
||||
presetNames: AugmentedCall<ApiType, () => Observable<Vec<Text>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xed99c5acb25eedf5/ */
|
||||
grandpaApi: {
|
||||
/**
|
||||
* Get current GRANDPA authority set id.
|
||||
**/
|
||||
currentSetId: AugmentedCall<ApiType, () => Observable<u64>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignore this parameter and instead rely on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: PezspConsensusGrandpaAppPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Get the current GRANDPA authorities and weights. This should not change except, for when changes are scheduled and the corresponding delay has passed.,, When called at block B, it will return the set of authorities that should be, used to finalize descendants of this block (B+1, B+2, ...). The block B itself, is finalized by the authorities from block B-1.
|
||||
**/
|
||||
grandpaAuthorities: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[PezspConsensusGrandpaAppPublic, u64]>>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusGrandpaEquivocationProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37e397fc7c91f5e4/ */
|
||||
metadata: {
|
||||
/**
|
||||
* Returns the metadata of a runtime.
|
||||
**/
|
||||
metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
|
||||
/**
|
||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||
**/
|
||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
||||
/**
|
||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||
**/
|
||||
metadataVersions: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x6fd7c327202e4a8d/ */
|
||||
mixnetApi: {
|
||||
/**
|
||||
* Get the mixnode set for the current session.
|
||||
**/
|
||||
currentMixnodes: AugmentedCall<ApiType, () => Observable<Result<Vec<PezspMixnetMixnode>, PezspMixnetMixnodesErr>>>;
|
||||
/**
|
||||
* Try to register a mixnode for the next session.,, If a registration extrinsic is submitted, `true` is returned. The caller should avoid, calling `maybe_register` again for a few blocks, to give the submitted extrinsic a, chance to get included.,, With the above exception, `maybe_register` is designed to be called every block. Most, of the time it will not do anything, for example:,, - If it is not an appropriate time to submit a registration extrinsic., - If the local node has already registered a mixnode for the next session., - If the local node is not permitted to register a mixnode for the next session.,, `session_index` should match `session_status().current_index`; if it does not, `false`, is returned immediately.
|
||||
**/
|
||||
maybeRegister: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array, mixnode: PezspMixnetMixnode) => Observable<bool>>;
|
||||
/**
|
||||
* Get the mixnode set for the previous session.
|
||||
**/
|
||||
prevMixnodes: AugmentedCall<ApiType, () => Observable<Result<Vec<PezspMixnetMixnode>, PezspMixnetMixnodesErr>>>;
|
||||
/**
|
||||
* Get the index and phase of the current session.
|
||||
**/
|
||||
sessionStatus: AugmentedCall<ApiType, () => Observable<PezspMixnetSessionStatus>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x91d5df18b0d2cf58/ */
|
||||
mmrApi: {
|
||||
/**
|
||||
* Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,, use historical MMR state at given block height `n`. Else, use current MMR state.
|
||||
**/
|
||||
generateProof: AugmentedCall<ApiType, (block_numbers: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Result<ITuple<[Vec<Bytes>, PezspMmrPrimitivesLeafProof]>, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Return the number of MMR blocks in the chain.
|
||||
**/
|
||||
mmrLeafCount: AugmentedCall<ApiType, () => Observable<Result<u64, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Return the on-chain MMR root hash.
|
||||
**/
|
||||
mmrRoot: AugmentedCall<ApiType, () => Observable<Result<H256, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Verify MMR proof against on-chain MMR for a batch of leaves.,, Note this function will use on-chain MMR root hash and check if the proof matches the hash., Note, the leaves should be sorted such that corresponding leaves and leaf indices have the, same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]
|
||||
**/
|
||||
verifyProof: AugmentedCall<ApiType, (leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof: PezspMmrPrimitivesLeafProof) => Observable<Result<Null, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Verify MMR proof against given root hash for a batch of leaves.,, Note this function does not require any on-chain storage - the, proof is verified against given MMR root hash.,, Note, the leaves should be sorted such that corresponding leaves and leaf indices have the, same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]
|
||||
**/
|
||||
verifyProofStateless: AugmentedCall<ApiType, (root: H256 | string | Uint8Array, leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof: PezspMmrPrimitivesLeafProof) => Observable<Result<Null, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x899a250cbe84f250/ */
|
||||
nftsApi: {
|
||||
/**
|
||||
*
|
||||
**/
|
||||
attribute: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
collectionAttribute: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
collectionOwner: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
customAttribute: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array, collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
owner: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
systemAttribute: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array, item: Option<u32> | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x17a6bc0d0062aeb3/ */
|
||||
nominationPoolsApi: {
|
||||
/**
|
||||
* Returns the equivalent points of `new_funds` for a given pool.
|
||||
**/
|
||||
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the total contribution of a pool member including any balance that is unbonding.
|
||||
**/
|
||||
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the pending rewards for the member that the AccountId was given for.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the equivalent balance of `points` for a given pool.
|
||||
**/
|
||||
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the bonded account and reward account associated with the pool_id.
|
||||
**/
|
||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
||||
/**
|
||||
* Total balance contributed to the pool.
|
||||
**/
|
||||
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
||||
**/
|
||||
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool.
|
||||
**/
|
||||
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf78b278be53f454c/ */
|
||||
offchainWorkerApi: {
|
||||
/**
|
||||
* Starts the off-chain task for given block header.
|
||||
**/
|
||||
offchainWorker: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<Null>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x8c403e5c4a9fd442/ */
|
||||
reviveApi: {
|
||||
/**
|
||||
* Returns the free balance of the given `[H160]` address, using EVM decimals.
|
||||
**/
|
||||
balance: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<U256>>;
|
||||
/**
|
||||
* Returns the block gas limit.
|
||||
**/
|
||||
blockGasLimit: AugmentedCall<ApiType, () => Observable<U256>>;
|
||||
/**
|
||||
* Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`].
|
||||
**/
|
||||
call: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, dest: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<PezspWeightsWeightV2Weight> | null | Uint8Array | PezspWeightsWeightV2Weight, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<PezpalletRevivePrimitivesContractResultExecReturnValue>>;
|
||||
/**
|
||||
* Perform an Ethereum call.,, See [`crate::Pallet::bare_eth_transact`]
|
||||
**/
|
||||
ethTransact: AugmentedCall<ApiType, (tx: PezpalletReviveEvmApiRpcTypesGenGenericTransaction) => Observable<Result<PezpalletRevivePrimitivesEthTransactInfo, PezpalletRevivePrimitivesEthTransactError>>>;
|
||||
/**
|
||||
* Returns the gas price.
|
||||
**/
|
||||
gasPrice: AugmentedCall<ApiType, () => Observable<U256>>;
|
||||
/**
|
||||
* Query a given storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
|
||||
**/
|
||||
getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>, PezpalletRevivePrimitivesContractAccessError>>>;
|
||||
/**
|
||||
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
|
||||
**/
|
||||
instantiate: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<PezspWeightsWeightV2Weight> | null | Uint8Array | PezspWeightsWeightV2Weight, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: PezpalletRevivePrimitivesCode, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => Observable<PezpalletRevivePrimitivesContractResultInstantiateReturnValue>>;
|
||||
/**
|
||||
* Returns the nonce of the given `[H160]` address.
|
||||
**/
|
||||
nonce: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage.
|
||||
**/
|
||||
traceBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Vec<ITuple<[u32, PezpalletReviveEvmApiDebugRpcTypesTrace]>>>>;
|
||||
/**
|
||||
* Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
|
||||
**/
|
||||
traceCall: AugmentedCall<ApiType, (tx: PezpalletReviveEvmApiRpcTypesGenGenericTransaction, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Result<PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletRevivePrimitivesEthTransactError>>>;
|
||||
/**
|
||||
* Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage.
|
||||
**/
|
||||
traceTx: AugmentedCall<ApiType, (block: PezspRuntimeBlock, tx_index: u32 | AnyNumber | Uint8Array, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Option<PezpalletReviveEvmApiDebugRpcTypesTrace>>>;
|
||||
/**
|
||||
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
|
||||
**/
|
||||
uploadCode: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, code: Bytes | string | Uint8Array, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber) => Observable<Result<PezpalletRevivePrimitivesCodeUploadReturnValue, PezspRuntimeDispatchError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xccd9de6396c899ca/ */
|
||||
runtimeViewFunction: {
|
||||
/**
|
||||
* Execute a view function query.
|
||||
**/
|
||||
executeViewFunction: AugmentedCall<ApiType, (query_id: PezframeSupportViewFunctionsViewFunctionId, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, PezframeSupportViewFunctionsViewFunctionDispatchError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xab3c0572291feb8b/ */
|
||||
sessionKeys: {
|
||||
/**
|
||||
* Decode the given public session keys.,, Returns the list of public raw public keys + key type.
|
||||
**/
|
||||
decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, PezspCoreCryptoKeyTypeId]>>>>>;
|
||||
/**
|
||||
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
|
||||
**/
|
||||
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x18ef58a3b67ba770/ */
|
||||
stakingApi: {
|
||||
/**
|
||||
* Returns the page count of exposures for a validator `account` in a given era.
|
||||
**/
|
||||
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns the nominations quota for a nominator with a given balance.
|
||||
**/
|
||||
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns true if validator `account` has pages to be claimed for the given era.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd2bc9897eed08f15/ */
|
||||
taggedTransactionQueue: {
|
||||
/**
|
||||
* Validate the transaction.,, This method is invoked by the transaction pool to learn details about given transaction., The implementation should make sure to verify the correctness of the transaction, against current state. The given `block_hash` corresponds to the hash of the block, that is used as current state.,, Note that this call may be performed by the pool multiple times and transactions, might be verified in any possible order.
|
||||
**/
|
||||
validateTransaction: AugmentedCall<ApiType, (source: PezspRuntimeTransactionValidityTransactionSource, tx: Extrinsic | IExtrinsic | string | Uint8Array, block_hash: H256 | string | Uint8Array) => Observable<Result<PezspRuntimeTransactionValidityValidTransaction, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37c8bb1350a9a2a8/ */
|
||||
transactionPaymentApi: {
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf3ff14d5ab527059/ */
|
||||
transactionPaymentCallApi: {
|
||||
/**
|
||||
* Query fee details of a given encoded `Call`.
|
||||
**/
|
||||
queryCallFeeDetails: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
||||
**/
|
||||
queryCallInfo: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
* Query the output of the current `LengthToFee` given some input.
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Query the output of the current `WeightToFee` given some input.
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xbe9fb0c91a8046cf/ */
|
||||
validateStatement: {
|
||||
/**
|
||||
* Validate the statement.
|
||||
**/
|
||||
validateStatement: AugmentedCall<ApiType, (source: PezspStatementStoreRuntimeApiStatementSource, statement: PezspStatementStoreStatement) => Observable<Result<PezspStatementStoreRuntimeApiValidStatement, PezspStatementStoreRuntimeApiInvalidStatement>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
} // AugmentedCalls
|
||||
} // declare module
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import './bizinikiwi/index.js';
|
||||
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
File diff suppressed because it is too large
Load Diff
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
@@ -0,0 +1,610 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
// import type lookup before we augment - in some environments
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@pezkuwi/api-base/types/calls';
|
||||
|
||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@pezkuwi/api-base/types';
|
||||
import type { BTreeMap, BitVec, Bytes, Null, Option, Result, Text, Vec, bool, u128, u32, u64 } from '@pezkuwi/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
||||
import type { OpaqueKeyOwnershipProof } from '@pezkuwi/types/interfaces/babe';
|
||||
import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||
import type { AccountId32, H256, OriginCaller, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
||||
import type { ParaId, ValidationCodeHash } from '@pezkuwi/types/interfaces/teyrchains';
|
||||
import type { PezkuwiCorePrimitivesInboundDownwardMessage, PezkuwiCorePrimitivesInboundHrmpMessage, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8CandidateCommitments, PezkuwiPrimitivesV8DisputeState, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8GroupRotationInfo, PezkuwiPrimitivesV8OccupiedCoreAssumption, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SessionInfo, PezkuwiPrimitivesV8SlashingDisputeProof, PezkuwiPrimitivesV8SlashingPendingSlashes, PezkuwiPrimitivesV8ValidatorAppPublic, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingAsyncBackingBackingState, PezkuwiPrimitivesVstagingAsyncBackingConstraints, PezkuwiPrimitivesVstagingCandidateEvent, PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2, PezkuwiPrimitivesVstagingCoreState, PezkuwiPrimitivesVstagingScrapedOnChainVotes, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyMmrBeefyAuthoritySet, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, RelayCommonApisInflationInfo, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
||||
|
||||
declare module '@pezkuwi/api-base/types/calls' {
|
||||
interface AugmentedCalls<ApiType extends ApiTypes> {
|
||||
/** 0xbc9d89904f5b923f/ */
|
||||
accountNonceApi: {
|
||||
/**
|
||||
* Get current account nonce of given `AccountId`.
|
||||
**/
|
||||
accountNonce: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x687ad44ad37f03c2/ */
|
||||
authorityDiscoveryApi: {
|
||||
/**
|
||||
* Retrieve authority identifiers of the current and next authority set.
|
||||
**/
|
||||
authorities: AugmentedCall<ApiType, () => Observable<Vec<PezspAuthorityDiscoveryAppPublic>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xcbca25e39f142387/ */
|
||||
babeApi: {
|
||||
/**
|
||||
* Return the configuration for BABE.
|
||||
**/
|
||||
configuration: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeBabeConfiguration>>;
|
||||
/**
|
||||
* Returns information regarding the current epoch.
|
||||
**/
|
||||
currentEpoch: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeEpoch>>;
|
||||
/**
|
||||
* Returns the slot that started the current epoch.
|
||||
**/
|
||||
currentEpochStart: AugmentedCall<ApiType, () => Observable<Slot>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, current epoch. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `slot` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the epoch for the given slot is live on-chain. Future, implementations will instead use indexed data through an offchain, worker, not requiring older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (slot: Slot | AnyNumber | Uint8Array, authority_id: PezspConsensusBabeAppPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Returns information regarding the next epoch (which was already, previously announced).
|
||||
**/
|
||||
nextEpoch: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeEpoch>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusSlotsEquivocationProof, key_owner_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x49eaaf1b548a0cb0/ */
|
||||
beefyApi: {
|
||||
/**
|
||||
* Return the block number where BEEFY consensus is enabled/started
|
||||
**/
|
||||
beefyGenesis: AugmentedCall<ApiType, () => Observable<Option<u32>>>;
|
||||
/**
|
||||
* Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`.
|
||||
**/
|
||||
generateAncestryProof: AugmentedCall<ApiType, (prev_block_number: u32 | AnyNumber | Uint8Array, best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: PezspConsensusBeefyEcdsaCryptoPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a double voting equivocation. The caller, must provide the double voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyDoubleVotingProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a fork voting equivocation. The caller, must provide the fork voting proof (the ancestry proof should be obtained using, `generate_ancestry_proof`) and a key ownership proof (should be obtained using, `generate_key_ownership_proof`). The extrinsic will be unsigned and should only, be accepted for local authorship (not to be broadcast to the network). This method, returns `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportForkVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyForkVotingProofOpaqueValue, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a future block voting equivocation. The caller, must provide the future block voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`)., The extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportFutureBlockVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyFutureBlockVotingProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Return the current active BEEFY validator set
|
||||
**/
|
||||
validatorSet: AugmentedCall<ApiType, () => Observable<Option<PezspConsensusBeefyValidatorSet>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x2a5e924655399e60/ */
|
||||
beefyMmrApi: {
|
||||
/**
|
||||
* Return the currently active BEEFY authority set proof.
|
||||
**/
|
||||
authoritySetProof: AugmentedCall<ApiType, () => Observable<PezspConsensusBeefyMmrBeefyAuthoritySet>>;
|
||||
/**
|
||||
* Return the next/queued BEEFY authority set proof.
|
||||
**/
|
||||
nextAuthoritySetProof: AugmentedCall<ApiType, () => Observable<PezspConsensusBeefyMmrBeefyAuthoritySet>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x40fe3ad401f8959a/ */
|
||||
blockBuilder: {
|
||||
/**
|
||||
* Apply the given extrinsic.,, Returns an inclusion outcome which specifies if this extrinsic is included in, this block or not.
|
||||
**/
|
||||
applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<Result<Result<Null, PezspRuntimeDispatchError>, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Check that the inherents are valid. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
checkInherents: AugmentedCall<ApiType, (block: PezspRuntimeBlock, data: PezspInherentsInherentData) => Observable<PezspInherentsCheckInherentsResult>>;
|
||||
/**
|
||||
* Finish the current block.
|
||||
**/
|
||||
finalizeBlock: AugmentedCall<ApiType, () => Observable<PezspRuntimeHeader>>;
|
||||
/**
|
||||
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
inherentExtrinsics: AugmentedCall<ApiType, (inherent: PezspInherentsInherentData) => Observable<Vec<Bytes>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xdf6acb689907609b/ */
|
||||
core: {
|
||||
/**
|
||||
* Execute the given block.
|
||||
**/
|
||||
executeBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock) => Observable<Null>>;
|
||||
/**
|
||||
* Initialize a block with the given header and return the runtime executive mode.
|
||||
**/
|
||||
initializeBlock: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<PezspRuntimeExtrinsicInclusionMode>>;
|
||||
/**
|
||||
* Returns the version of the runtime.
|
||||
**/
|
||||
version: AugmentedCall<ApiType, () => Observable<PezspVersionRuntimeVersion>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x91b1c8b16328eb92/ */
|
||||
dryRunApi: {
|
||||
/**
|
||||
* Dry run call V2.
|
||||
**/
|
||||
dryRunCall: AugmentedCall<ApiType, (origin: OriginCaller | { System: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Dry run XCM program
|
||||
**/
|
||||
dryRunXcm: AugmentedCall<ApiType, (origin_location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, xcm: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xfbc577b9d747efd6/ */
|
||||
genesisBuilder: {
|
||||
/**
|
||||
* Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full, `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the, provided JSON blob is incorrect or incomplete or the deserialization fails, an error, is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used.
|
||||
**/
|
||||
buildState: AugmentedCall<ApiType, (json: Bytes | string | Uint8Array) => Observable<Result<Null, Text>>>;
|
||||
/**
|
||||
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function should return JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec<u8>` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method.
|
||||
**/
|
||||
getPreset: AugmentedCall<ApiType, (id: Option<Text> | null | Uint8Array | Text | string) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.,, The presets from the list can be queried with [`GenesisBuilder::get_preset`] method. If, no named presets are provided by the runtime the list is empty.
|
||||
**/
|
||||
presetNames: AugmentedCall<ApiType, () => Observable<Vec<Text>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xed99c5acb25eedf5/ */
|
||||
grandpaApi: {
|
||||
/**
|
||||
* Get current GRANDPA authority set id.
|
||||
**/
|
||||
currentSetId: AugmentedCall<ApiType, () => Observable<u64>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignore this parameter and instead rely on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: PezspConsensusGrandpaAppPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Get the current GRANDPA authorities and weights. This should not change except, for when changes are scheduled and the corresponding delay has passed.,, When called at block B, it will return the set of authorities that should be, used to finalize descendants of this block (B+1, B+2, ...). The block B itself, is finalized by the authorities from block B-1.
|
||||
**/
|
||||
grandpaAuthorities: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[PezspConsensusGrandpaAppPublic, u64]>>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusGrandpaEquivocationProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xc51ff1fa3f5d0cca/ */
|
||||
inflation: {
|
||||
/**
|
||||
* Return the current estimates of the inflation amount.,, This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly, recommended over trying to read-storage, or re-create the onchain logic.
|
||||
**/
|
||||
experimentalInflationPredictionInfo: AugmentedCall<ApiType, () => Observable<RelayCommonApisInflationInfo>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x9ffb505aa738d69c/ */
|
||||
locationToAccountApi: {
|
||||
/**
|
||||
* Converts `Location` to `AccountId`.
|
||||
**/
|
||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37e397fc7c91f5e4/ */
|
||||
metadata: {
|
||||
/**
|
||||
* Returns the metadata of a runtime.
|
||||
**/
|
||||
metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
|
||||
/**
|
||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||
**/
|
||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
||||
/**
|
||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||
**/
|
||||
metadataVersions: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x91d5df18b0d2cf58/ */
|
||||
mmrApi: {
|
||||
/**
|
||||
* Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,, use historical MMR state at given block height `n`. Else, use current MMR state.
|
||||
**/
|
||||
generateProof: AugmentedCall<ApiType, (block_numbers: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Result<ITuple<[Vec<Bytes>, PezspMmrPrimitivesLeafProof]>, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Return the number of MMR blocks in the chain.
|
||||
**/
|
||||
mmrLeafCount: AugmentedCall<ApiType, () => Observable<Result<u64, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Return the on-chain MMR root hash.
|
||||
**/
|
||||
mmrRoot: AugmentedCall<ApiType, () => Observable<Result<H256, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Verify MMR proof against on-chain MMR for a batch of leaves.,, Note this function will use on-chain MMR root hash and check if the proof matches the hash., Note, the leaves should be sorted such that corresponding leaves and leaf indices have the, same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]
|
||||
**/
|
||||
verifyProof: AugmentedCall<ApiType, (leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof: PezspMmrPrimitivesLeafProof) => Observable<Result<Null, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Verify MMR proof against given root hash for a batch of leaves.,, Note this function does not require any on-chain storage - the, proof is verified against given MMR root hash.,, Note, the leaves should be sorted such that corresponding leaves and leaf indices have the, same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]
|
||||
**/
|
||||
verifyProofStateless: AugmentedCall<ApiType, (root: H256 | string | Uint8Array, leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof: PezspMmrPrimitivesLeafProof) => Observable<Result<Null, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x17a6bc0d0062aeb3/ */
|
||||
nominationPoolsApi: {
|
||||
/**
|
||||
* Returns the equivalent points of `new_funds` for a given pool.
|
||||
**/
|
||||
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the total contribution of a pool member including any balance that is unbonding.
|
||||
**/
|
||||
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the pending rewards for the member that the AccountId was given for.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the equivalent balance of `points` for a given pool.
|
||||
**/
|
||||
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the bonded account and reward account associated with the pool_id.
|
||||
**/
|
||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
||||
/**
|
||||
* Total balance contributed to the pool.
|
||||
**/
|
||||
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
||||
**/
|
||||
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool.
|
||||
**/
|
||||
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf78b278be53f454c/ */
|
||||
offchainWorkerApi: {
|
||||
/**
|
||||
* Starts the off-chain task for given block header.
|
||||
**/
|
||||
offchainWorker: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<Null>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xaf2c0297a23e6d3d/ */
|
||||
parachainHost: {
|
||||
/**
|
||||
* Approval voting configuration parameters
|
||||
**/
|
||||
approvalVotingParams: AugmentedCall<ApiType, () => Observable<PezkuwiPrimitivesV8ApprovalVotingParams>>;
|
||||
/**
|
||||
* Returns the persisted validation data for the given `ParaId` along with the corresponding, validation code hash. Instead of accepting assumption about the para, matches the validation, data hash against an expected one and yields `None` if they're not equal.
|
||||
**/
|
||||
assumedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, expected_persisted_validation_data_hash: H256 | string | Uint8Array) => Observable<Option<ITuple<[PezkuwiPrimitivesV8PersistedValidationData, H256]>>>>;
|
||||
/**
|
||||
* Returns candidate's acceptance limitations for asynchronous backing for a relay parent.
|
||||
**/
|
||||
asyncBackingParams: AugmentedCall<ApiType, () => Observable<PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams>>;
|
||||
/**
|
||||
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
||||
**/
|
||||
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PezkuwiPrimitivesVstagingCoreState>>>;
|
||||
/**
|
||||
* Returns the constraints on the actions that can be taken by a new parachain, block.
|
||||
**/
|
||||
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesVstagingAsyncBackingConstraints>>>;
|
||||
/**
|
||||
* Get a vector of events concerning candidates that occurred within a block.
|
||||
**/
|
||||
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PezkuwiPrimitivesVstagingCandidateEvent>>>;
|
||||
/**
|
||||
* Get the receipt of a candidate pending availability. This returns `Some` for any paras, assigned to occupied cores in `availability_cores` and `None` otherwise.
|
||||
**/
|
||||
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2>>>;
|
||||
/**
|
||||
* Elastic scaling support
|
||||
**/
|
||||
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2>>>;
|
||||
/**
|
||||
* Checks if the given validation outputs pass the acceptance criteria.
|
||||
**/
|
||||
checkValidationOutputs: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, outputs: PezkuwiPrimitivesV8CandidateCommitments) => Observable<bool>>;
|
||||
/**
|
||||
* Claim queue
|
||||
**/
|
||||
claimQueue: AugmentedCall<ApiType, () => Observable<BTreeMap<u32, Vec<u32>>>>;
|
||||
/**
|
||||
* Returns a list of all disabled validators at the given block.
|
||||
**/
|
||||
disabledValidators: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
|
||||
/**
|
||||
* Returns all onchain disputes.
|
||||
**/
|
||||
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PezkuwiPrimitivesV8DisputeState]>>>>;
|
||||
/**
|
||||
* Get all the pending inbound messages in the downward message queue for a para.
|
||||
**/
|
||||
dmqContents: AugmentedCall<ApiType, (recipient: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PezkuwiCorePrimitivesInboundDownwardMessage>>>;
|
||||
/**
|
||||
* Get the contents of all channels addressed to the given recipient. Channels that have no, messages in them are also included.
|
||||
**/
|
||||
inboundHrmpChannelsContents: AugmentedCall<ApiType, (recipient: ParaId | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, Vec<PezkuwiCorePrimitivesInboundHrmpMessage>>>>;
|
||||
/**
|
||||
* Returns a merkle proof of a validator session key., NOTE: This function is only available since parachain host version 5.
|
||||
**/
|
||||
keyOwnershipProof: AugmentedCall<ApiType, (validator_id: PezkuwiPrimitivesV8ValidatorAppPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Get the minimum number of backing votes for a parachain candidate., This is a staging method! Do not use on production runtimes!
|
||||
**/
|
||||
minimumBackingVotes: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Get node features., This is a staging method! Do not use on production runtimes!
|
||||
**/
|
||||
nodeFeatures: AugmentedCall<ApiType, () => Observable<BitVec>>;
|
||||
/**
|
||||
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
|
||||
**/
|
||||
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PezkuwiPrimitivesVstagingScrapedOnChainVotes>>>;
|
||||
/**
|
||||
* Returns the state of parachain backing for a given para.
|
||||
**/
|
||||
paraBackingState: AugmentedCall<ApiType, (__runtime_api_generated_name_0__: ParaId | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesVstagingAsyncBackingBackingState>>>;
|
||||
/**
|
||||
* Yields the persisted validation data for the given `ParaId` along with an assumption that, should be used if the para currently occupies a core.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
|
||||
**/
|
||||
persistedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PezkuwiPrimitivesV8OccupiedCoreAssumption) => Observable<Option<PezkuwiPrimitivesV8PersistedValidationData>>>;
|
||||
/**
|
||||
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
|
||||
/**
|
||||
* Retrieve the scheduling lookahead
|
||||
**/
|
||||
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Returns execution parameters for the session.
|
||||
**/
|
||||
sessionExecutorParams: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesV8ExecutorParams>>>;
|
||||
/**
|
||||
* Returns the session index expected at a child of the block.,, This can be used to instantiate a `SigningContext`.
|
||||
**/
|
||||
sessionIndexForChild: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Get the session info for the given session, if stored.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
sessionInfo: AugmentedCall<ApiType, (index: u32 | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesV8SessionInfo>>>;
|
||||
/**
|
||||
* Submits a PVF pre-checking statement into the transaction pool.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PezkuwiPrimitivesV8PvfCheckStatement, signature: PezkuwiPrimitivesV8ValidatorAppSignature) => Observable<Null>>;
|
||||
/**
|
||||
* Submit an unsigned extrinsic to slash validators who lost a dispute about, a candidate of a past session., NOTE: This function is only available since parachain host version 5.
|
||||
**/
|
||||
submitReportDisputeLost: AugmentedCall<ApiType, (dispute_proof: PezkuwiPrimitivesV8SlashingDisputeProof, key_ownership_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Returns a list of validators that lost a past session dispute and need to be slashed., NOTE: This function is only available since parachain host version 5.
|
||||
**/
|
||||
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PezkuwiPrimitivesV8SlashingPendingSlashes]>>>>;
|
||||
/**
|
||||
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
|
||||
**/
|
||||
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PezkuwiPrimitivesV8OccupiedCoreAssumption) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Retrieve the maximum uncompressed code size.
|
||||
**/
|
||||
validationCodeBombLimit: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Get the validation code from its hash.
|
||||
**/
|
||||
validationCodeByHash: AugmentedCall<ApiType, (hash: ValidationCodeHash | string | Uint8Array) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
validationCodeHash: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PezkuwiPrimitivesV8OccupiedCoreAssumption) => Observable<Option<H256>>>;
|
||||
/**
|
||||
* Returns the validator groups and rotation info localized based on the hypothetical child, of a block whose state this is invoked on. Note that `now` in the `GroupRotationInfo`, should be the successor of the number of the block.
|
||||
**/
|
||||
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<u32>>, PezkuwiPrimitivesV8GroupRotationInfo]>>>;
|
||||
/**
|
||||
* Get the current validators.
|
||||
**/
|
||||
validators: AugmentedCall<ApiType, () => Observable<Vec<PezkuwiPrimitivesV8ValidatorAppPublic>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xab3c0572291feb8b/ */
|
||||
sessionKeys: {
|
||||
/**
|
||||
* Decode the given public session keys.,, Returns the list of public raw public keys + key type.
|
||||
**/
|
||||
decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, PezspCoreCryptoKeyTypeId]>>>>>;
|
||||
/**
|
||||
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
|
||||
**/
|
||||
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x18ef58a3b67ba770/ */
|
||||
stakingApi: {
|
||||
/**
|
||||
* Returns the page count of exposures for a validator `account` in a given era.
|
||||
**/
|
||||
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns the nominations quota for a nominator with a given balance.
|
||||
**/
|
||||
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns true if validator `account` has pages to be claimed for the given era.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd2bc9897eed08f15/ */
|
||||
taggedTransactionQueue: {
|
||||
/**
|
||||
* Validate the transaction.,, This method is invoked by the transaction pool to learn details about given transaction., The implementation should make sure to verify the correctness of the transaction, against current state. The given `block_hash` corresponds to the hash of the block, that is used as current state.,, Note that this call may be performed by the pool multiple times and transactions, might be verified in any possible order.
|
||||
**/
|
||||
validateTransaction: AugmentedCall<ApiType, (source: PezspRuntimeTransactionValidityTransactionSource, tx: Extrinsic | IExtrinsic | string | Uint8Array, block_hash: H256 | string | Uint8Array) => Observable<Result<PezspRuntimeTransactionValidityValidTransaction, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37c8bb1350a9a2a8/ */
|
||||
transactionPaymentApi: {
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf3ff14d5ab527059/ */
|
||||
transactionPaymentCallApi: {
|
||||
/**
|
||||
* Query fee details of a given encoded `Call`.
|
||||
**/
|
||||
queryCallFeeDetails: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
||||
**/
|
||||
queryCallInfo: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
* Query the output of the current `LengthToFee` given some input.
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Query the output of the current `WeightToFee` given some input.
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x6ff52ee858e6c5bd/ */
|
||||
xcmPaymentApi: {
|
||||
/**
|
||||
* Returns a list of acceptable payment assets.,, # Arguments,, * `xcm_version`: Version.
|
||||
**/
|
||||
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
|
||||
**/
|
||||
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
|
||||
**/
|
||||
queryWeightToAssetFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight, asset: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<u128, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Returns a weight needed to execute a XCM.,, # Arguments,, * `message`: `VersionedXcm`.
|
||||
**/
|
||||
queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<PezspWeightsWeightV2Weight, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
} // AugmentedCalls
|
||||
} // declare module
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import './packageDetect.js';
|
||||
|
||||
export * from './bundle.js';
|
||||
@@ -0,0 +1,4 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export * from './index.js';
|
||||
@@ -0,0 +1,14 @@
|
||||
// Copyright 2017-2026 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
// (packageInfo imports will be kept as-is, user-editable)
|
||||
|
||||
import { packageInfo as baseInfo } from '@pezkuwi/api-base/packageInfo';
|
||||
import { packageInfo as typesInfo } from '@pezkuwi/types/packageInfo';
|
||||
import { packageInfo as codecInfo } from '@pezkuwi/types-codec/packageInfo';
|
||||
import { detectPackage } from '@pezkuwi/util';
|
||||
|
||||
import { packageInfo } from './packageInfo.js';
|
||||
|
||||
detectPackage(packageInfo, null, [baseInfo, codecInfo, typesInfo]);
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2026 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@pezkuwi/api-augment', path: 'auto', type: 'auto', version: '16.5.4' };
|
||||
@@ -0,0 +1,949 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
// import type lookup before we augment - in some environments
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@pezkuwi/api-base/types/consts';
|
||||
|
||||
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
||||
import type { AccountId32, Perbill, Permill } from '@pezkuwi/types/interfaces/runtime';
|
||||
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions } from '@pezkuwi/types/lookup';
|
||||
|
||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||
|
||||
declare module '@pezkuwi/api-base/types/consts' {
|
||||
interface AugmentedConsts<ApiType extends ApiTypes> {
|
||||
auctions: {
|
||||
/**
|
||||
* The number of blocks over which an auction may be retroactively ended.
|
||||
**/
|
||||
endingPeriod: u32 & AugmentedConst<ApiType>;
|
||||
leasePeriodsPerSlot: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The length of each sample to take during the ending period.
|
||||
*
|
||||
* `EndingPeriod` / `SampleLength` = Total # of Samples
|
||||
**/
|
||||
sampleLength: u32 & AugmentedConst<ApiType>;
|
||||
slotRangeCount: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
babe: {
|
||||
/**
|
||||
* The amount of time, in slots, that each epoch should last.
|
||||
* NOTE: Currently it is not possible to change the epoch duration after
|
||||
* the chain has started. Attempting to do so will brick block production.
|
||||
**/
|
||||
epochDuration: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The expected average block time at which BABE should be creating
|
||||
* blocks. Since BABE is probabilistic it is not trivial to figure out
|
||||
* what the expected average block time should be based on the slot
|
||||
* duration and the security parameter `c` (where `1 - c` represents
|
||||
* the probability of a slot being empty).
|
||||
**/
|
||||
expectedBlockTime: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Max number of authorities allowed
|
||||
**/
|
||||
maxAuthorities: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of nominators for each validator.
|
||||
**/
|
||||
maxNominators: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
balances: {
|
||||
/**
|
||||
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
|
||||
*
|
||||
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
|
||||
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
|
||||
* In case you have multiple sources of provider references, you may also get unexpected
|
||||
* behaviour if you set this to zero.
|
||||
*
|
||||
* Bottom line: Do yourself a favour and make it at least one!
|
||||
**/
|
||||
existentialDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of individual freeze locks that can exist on an account at any time.
|
||||
**/
|
||||
maxFreezes: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of locks that should exist on an account.
|
||||
* Not strictly enforced, but used for weight estimation.
|
||||
*
|
||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
maxLocks: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of named reserves that can exist on an account.
|
||||
*
|
||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||
**/
|
||||
maxReserves: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
beefy: {
|
||||
/**
|
||||
* The maximum number of authorities that can be added.
|
||||
**/
|
||||
maxAuthorities: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of nominators for each validator.
|
||||
**/
|
||||
maxNominators: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of entries to keep in the set id to session index mapping.
|
||||
*
|
||||
* Since the `SetIdSession` map is only used for validating equivocations this
|
||||
* value should relate to the bonding duration of whatever staking system is
|
||||
* being used (if any). If equivocation handling is not enabled then this value
|
||||
* can be zero.
|
||||
**/
|
||||
maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
bounties: {
|
||||
/**
|
||||
* The amount held on deposit for placing a bounty proposal.
|
||||
**/
|
||||
bountyDepositBase: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The delay period for which a bounty beneficiary need to wait before claim the payout.
|
||||
**/
|
||||
bountyDepositPayoutDelay: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The time limit for a curator to act before a bounty expires.
|
||||
*
|
||||
* The period that starts when a curator is approved, during which they must execute or
|
||||
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
||||
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
||||
* removing the need for `extend_bounty_expiry`.
|
||||
**/
|
||||
bountyUpdatePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum value for a bounty.
|
||||
**/
|
||||
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum amount of funds that should be placed in a deposit for making a proposal.
|
||||
**/
|
||||
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Minimum amount of funds that should be placed in a deposit for making a proposal.
|
||||
**/
|
||||
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The curator deposit is calculated as a percentage of the curator fee.
|
||||
*
|
||||
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
||||
* `CuratorDepositMin`.
|
||||
**/
|
||||
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount held on deposit per byte within the tip report reason or bounty description.
|
||||
**/
|
||||
dataDepositPerByte: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum acceptable reason length.
|
||||
*
|
||||
* Benchmarks depend on this value, be sure to update weights file when changing this value
|
||||
**/
|
||||
maximumReasonLength: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
childBounties: {
|
||||
/**
|
||||
* Minimum value for a child-bounty.
|
||||
**/
|
||||
childBountyValueMinimum: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of child bounties that can be added to a parent bounty.
|
||||
**/
|
||||
maxActiveChildBountyCount: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
claims: {
|
||||
prefix: Bytes & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
convictionVoting: {
|
||||
/**
|
||||
* The maximum number of concurrent votes an account may have.
|
||||
*
|
||||
* Also used to compute weight, an overly large value can lead to extrinsics with large
|
||||
* weight estimation: see `delegate` for instance.
|
||||
**/
|
||||
maxVotes: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum period of vote locking.
|
||||
*
|
||||
* It should be no shorter than enactment period to ensure that in the case of an approval,
|
||||
* those successful voters are locked into the consequences that their votes entail.
|
||||
**/
|
||||
voteLockingPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
coretime: {
|
||||
/**
|
||||
* The ParaId of the coretime chain.
|
||||
**/
|
||||
brokerId: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The coretime chain pot location.
|
||||
**/
|
||||
brokerPotLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
crowdloan: {
|
||||
/**
|
||||
* The minimum amount that may be contributed into a crowdloan. Should almost certainly be
|
||||
* at least `ExistentialDeposit`.
|
||||
**/
|
||||
minContribution: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* `PalletId` for the crowdloan pallet. An appropriate value could be
|
||||
* `PalletId(*b"py/cfund")`
|
||||
**/
|
||||
palletId: PezframeSupportPezpalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Max number of storage keys to remove per extrinsic call.
|
||||
**/
|
||||
removeKeysLimit: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
delegatedStaking: {
|
||||
/**
|
||||
* Injected identifier for the pallet.
|
||||
**/
|
||||
palletId: PezframeSupportPezpalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
||||
**/
|
||||
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
electionProviderMultiPhase: {
|
||||
/**
|
||||
* The minimum amount of improvement to the solution score that defines a solution as
|
||||
* "better" in the Signed phase.
|
||||
**/
|
||||
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of voters that can support a winner in an election solution.
|
||||
*
|
||||
* This is needed to ensure election computation is bounded.
|
||||
**/
|
||||
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of winners that an election supports.
|
||||
*
|
||||
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
|
||||
**/
|
||||
maxWinners: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxLength: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxVotesPerVoter: u32 & AugmentedConst<ApiType>;
|
||||
minerMaxWeight: PezspWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
minerMaxWinners: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The priority of the unsigned transaction submitted in the unsigned-phase
|
||||
**/
|
||||
minerTxPriority: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The repeat threshold of the offchain worker.
|
||||
*
|
||||
* For example, if it is 5, that means that at least 5 blocks will elapse between attempts
|
||||
* to submit the worker's solution.
|
||||
**/
|
||||
offchainRepeat: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Per-byte deposit for a signed solution.
|
||||
**/
|
||||
signedDepositByte: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Per-weight deposit for a signed solution.
|
||||
**/
|
||||
signedDepositWeight: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum amount of unchecked solutions to refund the call fee for.
|
||||
**/
|
||||
signedMaxRefunds: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of signed submissions that can be queued.
|
||||
*
|
||||
* It is best to avoid adjusting this during an election, as it impacts downstream data
|
||||
* structures. In particular, `SignedSubmissionIndices<T>` is bounded on this value. If you
|
||||
* update this value during an election, you _must_ ensure that
|
||||
* `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise,
|
||||
* attempts to submit new solutions may cause a runtime panic.
|
||||
**/
|
||||
signedMaxSubmissions: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum weight of a signed solution.
|
||||
*
|
||||
* If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of
|
||||
* this pallet), then [`MinerConfig::solution_weight`] is used to compare against
|
||||
* this value.
|
||||
**/
|
||||
signedMaxWeight: PezspWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Base reward for a signed solution
|
||||
**/
|
||||
signedRewardBase: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
fastUnstake: {
|
||||
/**
|
||||
* Deposit to take for unstaking, to make sure we're able to slash the it in order to cover
|
||||
* the costs of resources on unsuccessful unstake.
|
||||
**/
|
||||
deposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
grandpa: {
|
||||
/**
|
||||
* Max Authorities in use
|
||||
**/
|
||||
maxAuthorities: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of nominators for each validator.
|
||||
**/
|
||||
maxNominators: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of entries to keep in the set id to session index mapping.
|
||||
*
|
||||
* Since the `SetIdSession` map is only used for validating equivocations this
|
||||
* value should relate to the bonding duration of whatever staking system is
|
||||
* being used (if any). If equivocation handling is not enabled then this value
|
||||
* can be zero.
|
||||
**/
|
||||
maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
indices: {
|
||||
/**
|
||||
* The deposit needed for reserving an index.
|
||||
**/
|
||||
deposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
messageQueue: {
|
||||
/**
|
||||
* The size of the page; this implies the maximum message size which can be sent.
|
||||
*
|
||||
* A good value depends on the expected message sizes, their weights, the weight that is
|
||||
* available for processing them and the maximal needed message size. The maximal message
|
||||
* size is slightly lower than this as defined by [`MaxMessageLenOf`].
|
||||
**/
|
||||
heapSize: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum amount of weight (if any) to be used from remaining weight `on_idle` which
|
||||
* should be provided to the message queue for servicing enqueued items `on_idle`.
|
||||
* Useful for parachains to process messages at the same block they are received.
|
||||
*
|
||||
* If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`.
|
||||
**/
|
||||
idleMaxServiceWeight: Option<PezspWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of stale pages (i.e. of overweight messages) allowed before culling
|
||||
* can happen. Once there are more stale pages than this, then historical pages may be
|
||||
* dropped, even if they contain unprocessed overweight messages.
|
||||
**/
|
||||
maxStale: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount of weight (if any) which should be provided to the message queue for
|
||||
* servicing enqueued items `on_initialize`.
|
||||
*
|
||||
* This may be legitimately `None` in the case that you will call
|
||||
* `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have
|
||||
* it run in `on_idle`.
|
||||
**/
|
||||
serviceWeight: Option<PezspWeightsWeightV2Weight> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
multisig: {
|
||||
/**
|
||||
* The base amount of currency needed to reserve for creating a multisig execution or to
|
||||
* store a dispatch call for later.
|
||||
*
|
||||
* This is held for an additional storage item whose value size is
|
||||
* `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
|
||||
* `32 + sizeof(AccountId)` bytes.
|
||||
**/
|
||||
depositBase: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount of currency needed per unit threshold when creating a multisig execution.
|
||||
*
|
||||
* This is held for adding 32 bytes more into a pre-existing storage value.
|
||||
**/
|
||||
depositFactor: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum amount of signatories allowed in the multisig.
|
||||
**/
|
||||
maxSignatories: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[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 maximum number of simultaneous unbonding chunks that can exist per member.
|
||||
**/
|
||||
maxUnbonding: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The nomination pool's pallet id.
|
||||
**/
|
||||
palletId: PezframeSupportPezpalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
onDemand: {
|
||||
/**
|
||||
* The maximum number of blocks some historical revenue
|
||||
* information stored for.
|
||||
**/
|
||||
maxHistoricalRevenue: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Identifier for the internal revenue balance.
|
||||
**/
|
||||
palletId: PezframeSupportPezpalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The default value for the spot traffic multiplier.
|
||||
**/
|
||||
trafficDefaultValue: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
paras: {
|
||||
unsignedPriority: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
proxy: {
|
||||
/**
|
||||
* The base amount of currency needed to reserve for creating an announcement.
|
||||
*
|
||||
* This is held when a new storage item holding a `Balance` is created (typically 16
|
||||
* bytes).
|
||||
**/
|
||||
announcementDepositBase: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount of currency needed per announcement made.
|
||||
*
|
||||
* This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
|
||||
* into a pre-existing storage value.
|
||||
**/
|
||||
announcementDepositFactor: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum amount of time-delayed announcements that are allowed to be pending.
|
||||
**/
|
||||
maxPending: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum amount of proxies allowed for a single account.
|
||||
**/
|
||||
maxProxies: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The base amount of currency needed to reserve for creating a proxy.
|
||||
*
|
||||
* This is held for an additional storage item whose value size is
|
||||
* `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
|
||||
**/
|
||||
proxyDepositBase: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The amount of currency needed per proxy added.
|
||||
*
|
||||
* This is held for adding 32 bytes plus an instance of `ProxyType` more into a
|
||||
* pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
|
||||
* into account `32 + proxy_type.encode().len()` bytes of data.
|
||||
**/
|
||||
proxyDepositFactor: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
referenda: {
|
||||
/**
|
||||
* Quantization level for the referendum wakeup scheduler. A higher number will result in
|
||||
* fewer storage reads/writes needed for smaller voters, but also result in delays to the
|
||||
* automatic referendum status changes. Explicit servicing instructions are unaffected.
|
||||
**/
|
||||
alarmInterval: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum size of the referendum queue for a single track.
|
||||
**/
|
||||
maxQueued: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum amount to be used as a deposit for a public referendum proposal.
|
||||
**/
|
||||
submissionDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* A list of tracks.
|
||||
*
|
||||
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
||||
**/
|
||||
tracks: Vec<ITuple<[u16, PezpalletReferendaTrackDetails]>> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks after submission that a referendum must begin being decided by.
|
||||
* Once this passes, then anyone may cancel the referendum.
|
||||
**/
|
||||
undecidingTimeout: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
registrar: {
|
||||
/**
|
||||
* The deposit to be paid per byte stored on chain.
|
||||
**/
|
||||
dataDepositPerByte: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The deposit to be paid to run a on-demand parachain.
|
||||
* This should include the cost for storing the genesis head and validation code.
|
||||
**/
|
||||
paraDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
scheduler: {
|
||||
/**
|
||||
* The maximum weight that may be scheduled per block for any dispatchables.
|
||||
**/
|
||||
maximumWeight: PezspWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of scheduled calls in the queue for a single block.
|
||||
*
|
||||
* NOTE:
|
||||
* + Dependent pallets' benchmarks might require a higher limit for the setting. Set a
|
||||
* higher limit under `runtime-benchmarks` feature.
|
||||
**/
|
||||
maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
session: {
|
||||
/**
|
||||
* The amount to be held when setting keys.
|
||||
**/
|
||||
keyDeposit: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
slots: {
|
||||
/**
|
||||
* The number of blocks to offset each lease period by.
|
||||
**/
|
||||
leaseOffset: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The number of blocks over which a single period lasts.
|
||||
**/
|
||||
leasePeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
staking: {
|
||||
/**
|
||||
* Number of eras that staked funds must remain bonded for.
|
||||
**/
|
||||
bondingDuration: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of eras to keep in history.
|
||||
*
|
||||
* Following information is kept for eras in `[current_era -
|
||||
* HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
|
||||
* `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
|
||||
* `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`,
|
||||
* `ErasStakersOverview`.
|
||||
*
|
||||
* Must be more than the number of eras delayed by session.
|
||||
* I.e. active era must always be in history. I.e. `active_era >
|
||||
* current_era - history_depth` must be guaranteed.
|
||||
*
|
||||
* If migrating an existing pallet from storage value to config value,
|
||||
* this should be set to same value or greater as in storage.
|
||||
*
|
||||
* Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
|
||||
* item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than
|
||||
* the existing value can lead to inconsistencies in the
|
||||
* `StakingLedger` and will need to be handled properly in a migration.
|
||||
* The test `reducing_history_depth_abrupt` shows this effect.
|
||||
**/
|
||||
historyDepth: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum size of each `T::ExposurePage`.
|
||||
*
|
||||
* An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
|
||||
* nominators.
|
||||
*
|
||||
* For older non-paged exposure, a reward payout was restricted to the top
|
||||
* `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
|
||||
* nominator payout.
|
||||
*
|
||||
* Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce
|
||||
* without handling it in a migration.
|
||||
**/
|
||||
maxExposurePageSize: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
||||
* have. Effectively determines how many unique eras a staker may be
|
||||
* unbonding in.
|
||||
*
|
||||
* Note: `MaxUnlockingChunks` is used as the upper bound for the
|
||||
* `BoundedVec` item `StakingLedger.unlocking`. Setting this value
|
||||
* lower than the existing value can lead to inconsistencies in the
|
||||
* `StakingLedger` and will need to be handled properly in a runtime
|
||||
* migration. The test `reducing_max_unlocking_chunks_abrupt` shows
|
||||
* this effect.
|
||||
**/
|
||||
maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The absolute maximum of winner validators this pallet should return.
|
||||
**/
|
||||
maxValidatorSet: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of sessions per era.
|
||||
**/
|
||||
sessionsPerEra: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Number of eras that slashes are deferred by, after computation.
|
||||
*
|
||||
* This should be less than the bonding duration. Set to 0 if slashes
|
||||
* should be applied immediately, without opportunity for intervention.
|
||||
**/
|
||||
slashDeferDuration: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
stateTrieMigration: {
|
||||
/**
|
||||
* Maximal number of bytes that a key can have.
|
||||
*
|
||||
* FRAME itself does not limit the key length.
|
||||
* The concrete value must therefore depend on your storage usage.
|
||||
* A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
|
||||
* keys which are then hashed and concatenated, resulting in arbitrarily long keys.
|
||||
*
|
||||
* Use the *state migration RPC* to retrieve the length of the longest key in your
|
||||
* storage: <https://github.com/paritytech/substrate/issues/11642>
|
||||
*
|
||||
* The migration will halt with a `Halted` event if this value is too small.
|
||||
* Since there is no real penalty from over-estimating, it is advised to use a large
|
||||
* value. The default is 512 byte.
|
||||
*
|
||||
* Some key lengths for reference:
|
||||
* - [`frame_support::storage::StorageValue`]: 32 byte
|
||||
* - [`frame_support::storage::StorageMap`]: 64 byte
|
||||
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
|
||||
*
|
||||
* For more info see
|
||||
* <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
|
||||
**/
|
||||
maxKeyLen: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
system: {
|
||||
/**
|
||||
* Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
||||
**/
|
||||
blockHashCount: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum length of a block (in bytes).
|
||||
**/
|
||||
blockLength: PezframeSystemLimitsBlockLength & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Block & extrinsics weights: base values and limits.
|
||||
**/
|
||||
blockWeights: PezframeSystemLimitsBlockWeights & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The weight of runtime database operations the runtime can invoke.
|
||||
**/
|
||||
dbWeight: PezspWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The designated SS58 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: u16 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Get the chain's in-code version.
|
||||
**/
|
||||
version: PezspVersionRuntimeVersion & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
timestamp: {
|
||||
/**
|
||||
* The minimum period between blocks.
|
||||
*
|
||||
* Be aware that this is different to the *expected* period that the block production
|
||||
* apparatus provides. Your chosen consensus system will generally work with this to
|
||||
* determine a sensible block time. For example, in the Aura pallet it will be double this
|
||||
* period on default settings.
|
||||
**/
|
||||
minimumPeriod: u64 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
transactionPayment: {
|
||||
/**
|
||||
* A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
||||
* `priority`
|
||||
*
|
||||
* This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
|
||||
* added to a tip component in regular `priority` calculations.
|
||||
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
||||
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
||||
*
|
||||
* ```rust,ignore
|
||||
* // For `Normal`
|
||||
* let priority = priority_calc(tip);
|
||||
*
|
||||
* // For `Operational`
|
||||
* let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
|
||||
* let priority = priority_calc(tip + virtual_tip);
|
||||
* ```
|
||||
*
|
||||
* Note that since we use `final_fee` the multiplier applies also to the regular `tip`
|
||||
* sent with the transaction. So, not only does the transaction get a priority bump based
|
||||
* on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
|
||||
* transactions.
|
||||
**/
|
||||
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
treasury: {
|
||||
/**
|
||||
* Percentage of spare funds (if any) that are burnt per spend period.
|
||||
**/
|
||||
burn: Permill & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
||||
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
||||
*
|
||||
* The maximum number of approvals that can wait in the spending queue.
|
||||
*
|
||||
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
||||
**/
|
||||
maxApprovals: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The treasury's pallet id, used for deriving its sovereign account ID.
|
||||
**/
|
||||
palletId: PezframeSupportPezpalletId & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The period during which an approved treasury spend has to be claimed.
|
||||
**/
|
||||
payoutPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Gets this pallet's derived pot account.
|
||||
**/
|
||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Period between successive spends.
|
||||
**/
|
||||
spendPeriod: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
utility: {
|
||||
/**
|
||||
* The limit on the number of batched calls.
|
||||
**/
|
||||
batchedCallsLimit: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
vesting: {
|
||||
maxVestingSchedules: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum amount transferred to call `vested_transfer`.
|
||||
**/
|
||||
minVestedTransfer: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
voterList: {
|
||||
/**
|
||||
* The list of thresholds separating the various bags.
|
||||
*
|
||||
* Ids are separated into unsorted bags according to their score. This specifies the
|
||||
* thresholds separating the bags. An id's bag is the largest bag for which the id's score
|
||||
* is less than or equal to its upper threshold.
|
||||
*
|
||||
* When ids are iterated, higher bags are iterated completely before lower bags. This means
|
||||
* that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower
|
||||
* score, but peer ids within a particular bag are sorted in insertion order.
|
||||
*
|
||||
* # Expressing the constant
|
||||
*
|
||||
* This constant must be sorted in strictly increasing order. Duplicate items are not
|
||||
* permitted.
|
||||
*
|
||||
* There is an implied upper limit of `Score::MAX`; that value does not need to be
|
||||
* specified within the bag. For any two threshold lists, if one ends with
|
||||
* `Score::MAX`, the other one does not, and they are otherwise equal, the two
|
||||
* lists will behave identically.
|
||||
*
|
||||
* # Calculation
|
||||
*
|
||||
* It is recommended to generate the set of thresholds in a geometric series, such that
|
||||
* there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *
|
||||
* constant_ratio).max(threshold[k] + 1)` for all `k`.
|
||||
*
|
||||
* The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.
|
||||
*
|
||||
* # Examples
|
||||
*
|
||||
* - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and
|
||||
* iteration is strictly in insertion order.
|
||||
* - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to
|
||||
* the procedure given above, then the constant ratio is equal to 2.
|
||||
* - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to
|
||||
* the procedure given above, then the constant ratio is approximately equal to 1.248.
|
||||
* - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall
|
||||
* into bag 0, an id with score 2 will fall into bag 1, etc.
|
||||
*
|
||||
* # Migration
|
||||
*
|
||||
* In the event that this list ever changes, a copy of the old bags list must be retained.
|
||||
* With that `List::migrate` can be called, which will perform the appropriate migration.
|
||||
**/
|
||||
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
|
||||
*
|
||||
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
|
||||
* the feature.
|
||||
**/
|
||||
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
xcmPallet: {
|
||||
/**
|
||||
* The latest supported version that we advertise. Generally just set it to
|
||||
* `pallet_xcm::CurrentXcmVersion`.
|
||||
**/
|
||||
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of local XCM locks that a single account may have.
|
||||
**/
|
||||
maxLockers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum number of consumers a single remote lock may have.
|
||||
**/
|
||||
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* This chain's Universal Location.
|
||||
**/
|
||||
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
[key: string]: Codec;
|
||||
};
|
||||
} // AugmentedConsts
|
||||
} // declare module
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '../base.js';
|
||||
import './consts.js';
|
||||
import './errors.js';
|
||||
import './events.js';
|
||||
import './query.js';
|
||||
import './registry.js';
|
||||
import './runtime.js';
|
||||
import './tx.js';
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
// Copyright 2017-2025 @pezkuwi/api-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/types-augment/registry/bizinikiwi';
|
||||
import '@pezkuwi/types-augment/registry/pezkuwi';
|
||||
@@ -0,0 +1,621 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
// import type lookup before we augment - in some environments
|
||||
// this is required to allow for ambient/previous definitions
|
||||
import '@pezkuwi/api-base/types/calls';
|
||||
|
||||
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@pezkuwi/api-base/types';
|
||||
import type { BTreeMap, BitVec, Bytes, Null, Option, Result, Text, Vec, bool, u128, u32, u64 } from '@pezkuwi/types-codec';
|
||||
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
||||
import type { OpaqueKeyOwnershipProof } from '@pezkuwi/types/interfaces/babe';
|
||||
import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||
import type { AccountId32, H256, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
||||
import type { ParaId, ValidationCodeHash } from '@pezkuwi/types/interfaces/teyrchains';
|
||||
import type { PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezkuwiCorePrimitivesInboundDownwardMessage, PezkuwiCorePrimitivesInboundHrmpMessage, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8CandidateCommitments, PezkuwiPrimitivesV8DisputeState, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8GroupRotationInfo, PezkuwiPrimitivesV8OccupiedCoreAssumption, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SessionInfo, PezkuwiPrimitivesV8SlashingDisputeProof, PezkuwiPrimitivesV8SlashingPendingSlashes, PezkuwiPrimitivesV8ValidatorAppPublic, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingAsyncBackingBackingState, PezkuwiPrimitivesVstagingAsyncBackingConstraints, PezkuwiPrimitivesVstagingCandidateEvent, PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2, PezkuwiPrimitivesVstagingCoreState, PezkuwiPrimitivesVstagingScrapedOnChainVotes, PezkuwiRuntimeOriginCaller, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyMmrBeefyAuthoritySet, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, RelayCommonApisInflationInfo, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||
|
||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
||||
|
||||
declare module '@pezkuwi/api-base/types/calls' {
|
||||
interface AugmentedCalls<ApiType extends ApiTypes> {
|
||||
/** 0xbc9d89904f5b923f/ */
|
||||
accountNonceApi: {
|
||||
/**
|
||||
* Get current account nonce of given `AccountId`.
|
||||
**/
|
||||
accountNonce: AugmentedCall<ApiType, (account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x687ad44ad37f03c2/ */
|
||||
authorityDiscoveryApi: {
|
||||
/**
|
||||
* Retrieve authority identifiers of the current and next authority set.
|
||||
**/
|
||||
authorities: AugmentedCall<ApiType, () => Observable<Vec<PezspAuthorityDiscoveryAppPublic>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xcbca25e39f142387/ */
|
||||
babeApi: {
|
||||
/**
|
||||
* Return the configuration for BABE.
|
||||
**/
|
||||
configuration: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeBabeConfiguration>>;
|
||||
/**
|
||||
* Returns information regarding the current epoch.
|
||||
**/
|
||||
currentEpoch: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeEpoch>>;
|
||||
/**
|
||||
* Returns the slot that started the current epoch.
|
||||
**/
|
||||
currentEpochStart: AugmentedCall<ApiType, () => Observable<Slot>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, current epoch. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `slot` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the epoch for the given slot is live on-chain. Future, implementations will instead use indexed data through an offchain, worker, not requiring older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (slot: Slot | AnyNumber | Uint8Array, authority_id: PezspConsensusBabeAppPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Returns information regarding the next epoch (which was already, previously announced).
|
||||
**/
|
||||
nextEpoch: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeEpoch>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusSlotsEquivocationProof, key_owner_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x49eaaf1b548a0cb0/ */
|
||||
beefyApi: {
|
||||
/**
|
||||
* Return the block number where BEEFY consensus is enabled/started
|
||||
**/
|
||||
beefyGenesis: AugmentedCall<ApiType, () => Observable<Option<u32>>>;
|
||||
/**
|
||||
* Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`.
|
||||
**/
|
||||
generateAncestryProof: AugmentedCall<ApiType, (prev_block_number: u32 | AnyNumber | Uint8Array, best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: PezspConsensusBeefyEcdsaCryptoPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a double voting equivocation. The caller, must provide the double voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyDoubleVotingProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a fork voting equivocation. The caller, must provide the fork voting proof (the ancestry proof should be obtained using, `generate_ancestry_proof`) and a key ownership proof (should be obtained using, `generate_key_ownership_proof`). The extrinsic will be unsigned and should only, be accepted for local authorship (not to be broadcast to the network). This method, returns `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportForkVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyForkVotingProofOpaqueValue, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report a future block voting equivocation. The caller, must provide the future block voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`)., The extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportFutureBlockVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyFutureBlockVotingProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Return the current active BEEFY validator set
|
||||
**/
|
||||
validatorSet: AugmentedCall<ApiType, () => Observable<Option<PezspConsensusBeefyValidatorSet>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x2a5e924655399e60/ */
|
||||
beefyMmrApi: {
|
||||
/**
|
||||
* Return the currently active BEEFY authority set proof.
|
||||
**/
|
||||
authoritySetProof: AugmentedCall<ApiType, () => Observable<PezspConsensusBeefyMmrBeefyAuthoritySet>>;
|
||||
/**
|
||||
* Return the next/queued BEEFY authority set proof.
|
||||
**/
|
||||
nextAuthoritySetProof: AugmentedCall<ApiType, () => Observable<PezspConsensusBeefyMmrBeefyAuthoritySet>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x40fe3ad401f8959a/ */
|
||||
blockBuilder: {
|
||||
/**
|
||||
* Apply the given extrinsic.,, Returns an inclusion outcome which specifies if this extrinsic is included in, this block or not.
|
||||
**/
|
||||
applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<Result<Result<Null, PezspRuntimeDispatchError>, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Check that the inherents are valid. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
checkInherents: AugmentedCall<ApiType, (block: PezspRuntimeBlock, data: PezspInherentsInherentData) => Observable<PezspInherentsCheckInherentsResult>>;
|
||||
/**
|
||||
* Finish the current block.
|
||||
**/
|
||||
finalizeBlock: AugmentedCall<ApiType, () => Observable<PezspRuntimeHeader>>;
|
||||
/**
|
||||
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
||||
**/
|
||||
inherentExtrinsics: AugmentedCall<ApiType, (inherent: PezspInherentsInherentData) => Observable<Vec<Bytes>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xdf6acb689907609b/ */
|
||||
core: {
|
||||
/**
|
||||
* Execute the given block.
|
||||
**/
|
||||
executeBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock) => Observable<Null>>;
|
||||
/**
|
||||
* Initialize a block with the given header and return the runtime executive mode.
|
||||
**/
|
||||
initializeBlock: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<PezspRuntimeExtrinsicInclusionMode>>;
|
||||
/**
|
||||
* Returns the version of the runtime.
|
||||
**/
|
||||
version: AugmentedCall<ApiType, () => Observable<PezspVersionRuntimeVersion>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x91b1c8b16328eb92/ */
|
||||
dryRunApi: {
|
||||
/**
|
||||
* Dry run call V2.
|
||||
**/
|
||||
dryRunCall: AugmentedCall<ApiType, (origin: PezkuwiRuntimeOriginCaller, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Dry run XCM program
|
||||
**/
|
||||
dryRunXcm: AugmentedCall<ApiType, (origin_location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, xcm: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xfbc577b9d747efd6/ */
|
||||
genesisBuilder: {
|
||||
/**
|
||||
* Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full, `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the, provided JSON blob is incorrect or incomplete or the deserialization fails, an error, is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used.
|
||||
**/
|
||||
buildState: AugmentedCall<ApiType, (json: Bytes | string | Uint8Array) => Observable<Result<Null, Text>>>;
|
||||
/**
|
||||
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function should return JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec<u8>` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method.
|
||||
**/
|
||||
getPreset: AugmentedCall<ApiType, (id: Option<Text> | null | Uint8Array | Text | string) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.,, The presets from the list can be queried with [`GenesisBuilder::get_preset`] method. If, no named presets are provided by the runtime the list is empty.
|
||||
**/
|
||||
presetNames: AugmentedCall<ApiType, () => Observable<Vec<Text>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xed99c5acb25eedf5/ */
|
||||
grandpaApi: {
|
||||
/**
|
||||
* Get current GRANDPA authority set id.
|
||||
**/
|
||||
currentSetId: AugmentedCall<ApiType, () => Observable<u64>>;
|
||||
/**
|
||||
* Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignore this parameter and instead rely on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available.
|
||||
**/
|
||||
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: PezspConsensusGrandpaAppPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Get the current GRANDPA authorities and weights. This should not change except, for when changes are scheduled and the corresponding delay has passed.,, When called at block B, it will return the set of authorities that should be, used to finalize descendants of this block (B+1, B+2, ...). The block B itself, is finalized by the authorities from block B-1.
|
||||
**/
|
||||
grandpaAuthorities: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[PezspConsensusGrandpaAppPublic, u64]>>>>;
|
||||
/**
|
||||
* Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context.
|
||||
**/
|
||||
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusGrandpaEquivocationProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xc51ff1fa3f5d0cca/ */
|
||||
inflation: {
|
||||
/**
|
||||
* Return the current estimates of the inflation amount.,, This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly, recommended over trying to read-storage, or re-create the onchain logic.
|
||||
**/
|
||||
experimentalInflationPredictionInfo: AugmentedCall<ApiType, () => Observable<RelayCommonApisInflationInfo>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x9ffb505aa738d69c/ */
|
||||
locationToAccountApi: {
|
||||
/**
|
||||
* Converts `Location` to `AccountId`.
|
||||
**/
|
||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37e397fc7c91f5e4/ */
|
||||
metadata: {
|
||||
/**
|
||||
* Returns the metadata of a runtime.
|
||||
**/
|
||||
metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
|
||||
/**
|
||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||
**/
|
||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
||||
/**
|
||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||
**/
|
||||
metadataVersions: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x91d5df18b0d2cf58/ */
|
||||
mmrApi: {
|
||||
/**
|
||||
* Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,, use historical MMR state at given block height `n`. Else, use current MMR state.
|
||||
**/
|
||||
generateProof: AugmentedCall<ApiType, (block_numbers: Vec<u32> | (u32 | AnyNumber | Uint8Array)[], best_known_block_number: Option<u32> | null | Uint8Array | u32 | AnyNumber) => Observable<Result<ITuple<[Vec<Bytes>, PezspMmrPrimitivesLeafProof]>, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Return the number of MMR blocks in the chain.
|
||||
**/
|
||||
mmrLeafCount: AugmentedCall<ApiType, () => Observable<Result<u64, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Return the on-chain MMR root hash.
|
||||
**/
|
||||
mmrRoot: AugmentedCall<ApiType, () => Observable<Result<H256, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Verify MMR proof against on-chain MMR for a batch of leaves.,, Note this function will use on-chain MMR root hash and check if the proof matches the hash., Note, the leaves should be sorted such that corresponding leaves and leaf indices have the, same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]
|
||||
**/
|
||||
verifyProof: AugmentedCall<ApiType, (leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof: PezspMmrPrimitivesLeafProof) => Observable<Result<Null, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Verify MMR proof against given root hash for a batch of leaves.,, Note this function does not require any on-chain storage - the, proof is verified against given MMR root hash.,, Note, the leaves should be sorted such that corresponding leaves and leaf indices have the, same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof]
|
||||
**/
|
||||
verifyProofStateless: AugmentedCall<ApiType, (root: H256 | string | Uint8Array, leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof: PezspMmrPrimitivesLeafProof) => Observable<Result<Null, PezspMmrPrimitivesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x17a6bc0d0062aeb3/ */
|
||||
nominationPoolsApi: {
|
||||
/**
|
||||
* Returns the equivalent points of `new_funds` for a given pool.
|
||||
**/
|
||||
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
|
||||
**/
|
||||
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
||||
**/
|
||||
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the total contribution of a pool member including any balance that is unbonding.
|
||||
**/
|
||||
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the pending rewards for the member that the AccountId was given for.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the equivalent balance of `points` for a given pool.
|
||||
**/
|
||||
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns the bonded account and reward account associated with the pool_id.
|
||||
**/
|
||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
||||
/**
|
||||
* Total balance contributed to the pool.
|
||||
**/
|
||||
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
||||
**/
|
||||
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Returns the pending slash for a given pool.
|
||||
**/
|
||||
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf78b278be53f454c/ */
|
||||
offchainWorkerApi: {
|
||||
/**
|
||||
* Starts the off-chain task for given block header.
|
||||
**/
|
||||
offchainWorker: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<Null>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xaf2c0297a23e6d3d/ */
|
||||
parachainHost: {
|
||||
/**
|
||||
* Approval voting configuration parameters
|
||||
**/
|
||||
approvalVotingParams: AugmentedCall<ApiType, () => Observable<PezkuwiPrimitivesV8ApprovalVotingParams>>;
|
||||
/**
|
||||
* Returns the persisted validation data for the given `ParaId` along with the corresponding, validation code hash. Instead of accepting assumption about the para, matches the validation, data hash against an expected one and yields `None` if they're not equal.
|
||||
**/
|
||||
assumedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, expected_persisted_validation_data_hash: H256 | string | Uint8Array) => Observable<Option<ITuple<[PezkuwiPrimitivesV8PersistedValidationData, H256]>>>>;
|
||||
/**
|
||||
* Returns candidate's acceptance limitations for asynchronous backing for a relay parent.
|
||||
**/
|
||||
asyncBackingParams: AugmentedCall<ApiType, () => Observable<PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams>>;
|
||||
/**
|
||||
* Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them.
|
||||
**/
|
||||
availabilityCores: AugmentedCall<ApiType, () => Observable<Vec<PezkuwiPrimitivesVstagingCoreState>>>;
|
||||
/**
|
||||
* Returns the constraints on the actions that can be taken by a new parachain, block.
|
||||
**/
|
||||
backingConstraints: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesVstagingAsyncBackingConstraints>>>;
|
||||
/**
|
||||
* Get a vector of events concerning candidates that occurred within a block.
|
||||
**/
|
||||
candidateEvents: AugmentedCall<ApiType, () => Observable<Vec<PezkuwiPrimitivesVstagingCandidateEvent>>>;
|
||||
/**
|
||||
* Get the receipt of a candidate pending availability. This returns `Some` for any paras, assigned to occupied cores in `availability_cores` and `None` otherwise.
|
||||
**/
|
||||
candidatePendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2>>>;
|
||||
/**
|
||||
* Elastic scaling support
|
||||
**/
|
||||
candidatesPendingAvailability: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2>>>;
|
||||
/**
|
||||
* Checks if the given validation outputs pass the acceptance criteria.
|
||||
**/
|
||||
checkValidationOutputs: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, outputs: PezkuwiPrimitivesV8CandidateCommitments) => Observable<bool>>;
|
||||
/**
|
||||
* Claim queue
|
||||
**/
|
||||
claimQueue: AugmentedCall<ApiType, () => Observable<BTreeMap<u32, Vec<u32>>>>;
|
||||
/**
|
||||
* Returns a list of all disabled validators at the given block.
|
||||
**/
|
||||
disabledValidators: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
|
||||
/**
|
||||
* Returns all onchain disputes.
|
||||
**/
|
||||
disputes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PezkuwiPrimitivesV8DisputeState]>>>>;
|
||||
/**
|
||||
* Get all the pending inbound messages in the downward message queue for a para.
|
||||
**/
|
||||
dmqContents: AugmentedCall<ApiType, (recipient: ParaId | AnyNumber | Uint8Array) => Observable<Vec<PezkuwiCorePrimitivesInboundDownwardMessage>>>;
|
||||
/**
|
||||
* Get the contents of all channels addressed to the given recipient. Channels that have no, messages in them are also included.
|
||||
**/
|
||||
inboundHrmpChannelsContents: AugmentedCall<ApiType, (recipient: ParaId | AnyNumber | Uint8Array) => Observable<BTreeMap<u32, Vec<PezkuwiCorePrimitivesInboundHrmpMessage>>>>;
|
||||
/**
|
||||
* Returns a merkle proof of a validator session key., NOTE: This function is only available since parachain host version 5.
|
||||
**/
|
||||
keyOwnershipProof: AugmentedCall<ApiType, (validator_id: PezkuwiPrimitivesV8ValidatorAppPublic) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Get the minimum number of backing votes for a parachain candidate., This is a staging method! Do not use on production runtimes!
|
||||
**/
|
||||
minimumBackingVotes: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Get node features., This is a staging method! Do not use on production runtimes!
|
||||
**/
|
||||
nodeFeatures: AugmentedCall<ApiType, () => Observable<BitVec>>;
|
||||
/**
|
||||
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
|
||||
**/
|
||||
onChainVotes: AugmentedCall<ApiType, () => Observable<Option<PezkuwiPrimitivesVstagingScrapedOnChainVotes>>>;
|
||||
/**
|
||||
* Returns the state of parachain backing for a given para.
|
||||
**/
|
||||
paraBackingState: AugmentedCall<ApiType, (__runtime_api_generated_name_0__: ParaId | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesVstagingAsyncBackingBackingState>>>;
|
||||
/**
|
||||
* Yields the persisted validation data for the given `ParaId` along with an assumption that, should be used if the para currently occupies a core.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
|
||||
**/
|
||||
persistedValidationData: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PezkuwiPrimitivesV8OccupiedCoreAssumption) => Observable<Option<PezkuwiPrimitivesV8PersistedValidationData>>>;
|
||||
/**
|
||||
* Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
pvfsRequirePrecheck: AugmentedCall<ApiType, () => Observable<Vec<H256>>>;
|
||||
/**
|
||||
* Retrieve the scheduling lookahead
|
||||
**/
|
||||
schedulingLookahead: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Returns execution parameters for the session.
|
||||
**/
|
||||
sessionExecutorParams: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesV8ExecutorParams>>>;
|
||||
/**
|
||||
* Returns the session index expected at a child of the block.,, This can be used to instantiate a `SigningContext`.
|
||||
**/
|
||||
sessionIndexForChild: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Get the session info for the given session, if stored.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
sessionInfo: AugmentedCall<ApiType, (index: u32 | AnyNumber | Uint8Array) => Observable<Option<PezkuwiPrimitivesV8SessionInfo>>>;
|
||||
/**
|
||||
* Submits a PVF pre-checking statement into the transaction pool.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
submitPvfCheckStatement: AugmentedCall<ApiType, (stmt: PezkuwiPrimitivesV8PvfCheckStatement, signature: PezkuwiPrimitivesV8ValidatorAppSignature) => Observable<Null>>;
|
||||
/**
|
||||
* Submit an unsigned extrinsic to slash validators who lost a dispute about, a candidate of a past session., NOTE: This function is only available since parachain host version 5.
|
||||
**/
|
||||
submitReportDisputeLost: AugmentedCall<ApiType, (dispute_proof: PezkuwiPrimitivesV8SlashingDisputeProof, key_ownership_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
||||
/**
|
||||
* Returns a list of validators that lost a past session dispute and need to be slashed., NOTE: This function is only available since parachain host version 5.
|
||||
**/
|
||||
unappliedSlashes: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[u32, H256, PezkuwiPrimitivesV8SlashingPendingSlashes]>>>>;
|
||||
/**
|
||||
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core.
|
||||
**/
|
||||
validationCode: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PezkuwiPrimitivesV8OccupiedCoreAssumption) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Retrieve the maximum uncompressed code size.
|
||||
**/
|
||||
validationCodeBombLimit: AugmentedCall<ApiType, () => Observable<u32>>;
|
||||
/**
|
||||
* Get the validation code from its hash.
|
||||
**/
|
||||
validationCodeByHash: AugmentedCall<ApiType, (hash: ValidationCodeHash | string | Uint8Array) => Observable<Option<Bytes>>>;
|
||||
/**
|
||||
* Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.,, NOTE: This function is only available since parachain host version 2.
|
||||
**/
|
||||
validationCodeHash: AugmentedCall<ApiType, (para_id: ParaId | AnyNumber | Uint8Array, assumption: PezkuwiPrimitivesV8OccupiedCoreAssumption) => Observable<Option<H256>>>;
|
||||
/**
|
||||
* Returns the validator groups and rotation info localized based on the hypothetical child, of a block whose state this is invoked on. Note that `now` in the `GroupRotationInfo`, should be the successor of the number of the block.
|
||||
**/
|
||||
validatorGroups: AugmentedCall<ApiType, () => Observable<ITuple<[Vec<Vec<u32>>, PezkuwiPrimitivesV8GroupRotationInfo]>>>;
|
||||
/**
|
||||
* Get the current validators.
|
||||
**/
|
||||
validators: AugmentedCall<ApiType, () => Observable<Vec<PezkuwiPrimitivesV8ValidatorAppPublic>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xccd9de6396c899ca/ */
|
||||
runtimeViewFunction: {
|
||||
/**
|
||||
* Execute a view function query.
|
||||
**/
|
||||
executeViewFunction: AugmentedCall<ApiType, (query_id: PezframeSupportViewFunctionsViewFunctionId, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, PezframeSupportViewFunctionsViewFunctionDispatchError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xab3c0572291feb8b/ */
|
||||
sessionKeys: {
|
||||
/**
|
||||
* Decode the given public session keys.,, Returns the list of public raw public keys + key type.
|
||||
**/
|
||||
decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, PezspCoreCryptoKeyTypeId]>>>>>;
|
||||
/**
|
||||
* Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
|
||||
**/
|
||||
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x18ef58a3b67ba770/ */
|
||||
stakingApi: {
|
||||
/**
|
||||
* Returns the page count of exposures for a validator `account` in a given era.
|
||||
**/
|
||||
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns the nominations quota for a nominator with a given balance.
|
||||
**/
|
||||
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
|
||||
/**
|
||||
* Returns true if validator `account` has pages to be claimed for the given era.
|
||||
**/
|
||||
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xd2bc9897eed08f15/ */
|
||||
taggedTransactionQueue: {
|
||||
/**
|
||||
* Validate the transaction.,, This method is invoked by the transaction pool to learn details about given transaction., The implementation should make sure to verify the correctness of the transaction, against current state. The given `block_hash` corresponds to the hash of the block, that is used as current state.,, Note that this call may be performed by the pool multiple times and transactions, might be verified in any possible order.
|
||||
**/
|
||||
validateTransaction: AugmentedCall<ApiType, (source: PezspRuntimeTransactionValidityTransactionSource, tx: Extrinsic | IExtrinsic | string | Uint8Array, block_hash: H256 | string | Uint8Array) => Observable<Result<PezspRuntimeTransactionValidityValidTransaction, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x37c8bb1350a9a2a8/ */
|
||||
transactionPaymentApi: {
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
*
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0xf3ff14d5ab527059/ */
|
||||
transactionPaymentCallApi: {
|
||||
/**
|
||||
* Query fee details of a given encoded `Call`.
|
||||
**/
|
||||
queryCallFeeDetails: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
||||
/**
|
||||
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
||||
**/
|
||||
queryCallInfo: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
||||
/**
|
||||
* Query the output of the current `LengthToFee` given some input.
|
||||
**/
|
||||
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
||||
/**
|
||||
* Query the output of the current `WeightToFee` given some input.
|
||||
**/
|
||||
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
/** 0x6ff52ee858e6c5bd/ */
|
||||
xcmPaymentApi: {
|
||||
/**
|
||||
* Returns a list of acceptable payment assets.,, # Arguments,, * `xcm_version`: Version.
|
||||
**/
|
||||
queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
|
||||
**/
|
||||
queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.
|
||||
**/
|
||||
queryWeightToAssetFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight, asset: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<u128, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Returns a weight needed to execute a XCM.,, # Arguments,, * `message`: `VersionedXcm`.
|
||||
**/
|
||||
queryXcmWeight: AugmentedCall<ApiType, (message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<PezspWeightsWeightV2Weight, XcmRuntimeApisFeesError>>>;
|
||||
/**
|
||||
* Generic call
|
||||
**/
|
||||
[key: string]: DecoratedCallBase<ApiType>;
|
||||
};
|
||||
} // AugmentedCalls
|
||||
} // declare module
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": [
|
||||
"**/base.ts",
|
||||
"**/assetHubZagros/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"**/assetHubZagros/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../api-base/tsconfig.build.json" },
|
||||
{ "path": "../rpc-augment/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
{ "path": "../types-codec/tsconfig.build.json" },
|
||||
{ "path": "../types-augment/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": [
|
||||
"**/base.ts",
|
||||
"**/assetHubZagros/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"**/assetHubZagros/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../api-base/tsconfig.build.json" },
|
||||
{ "path": "../rpc-augment/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
{ "path": "../types-codec/tsconfig.build.json" },
|
||||
{ "path": "../types-augment/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts",
|
||||
"**/mod.ts",
|
||||
"**/assetHubZagros/*.ts",
|
||||
"**/assetHubPezkuwi/*.ts",
|
||||
"**/assetHubDicle/*.ts",
|
||||
"**/zagros/*.ts",
|
||||
"**/pezkuwi/*.ts",
|
||||
"**/dicle/*.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../api-base/tsconfig.build.json" },
|
||||
{ "path": "../rpc-augment/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
{ "path": "../types-codec/tsconfig.build.json" },
|
||||
{ "path": "../types-augment/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": [
|
||||
"**/base.ts",
|
||||
"**/pezkuwi/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"**/pezkuwi/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../api-base/tsconfig.build.json" },
|
||||
{ "path": "../rpc-augment/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
{ "path": "../types-codec/tsconfig.build.json" },
|
||||
{ "path": "../types-augment/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": [
|
||||
"**/base.ts",
|
||||
"**/zagros/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"**/zagros/*.spec.ts"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../api-base/tsconfig.build.json" },
|
||||
{ "path": "../rpc-augment/tsconfig.build.json" },
|
||||
{ "path": "../types/tsconfig.build.json" },
|
||||
{ "path": "../types-codec/tsconfig.build.json" },
|
||||
{ "path": "../types-augment/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user