@@ -10,8 +10,9 @@ import type { Bytes, Null, Option, Result, Text, Vec, bool, u128, u32 } from '@p
1010import type { AnyNumber , IMethod , ITuple } from '@polkadot/types-codec/types' ;
1111import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics' ;
1212import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata' ;
13+ import type { ParaId } from '@polkadot/types/interfaces/parachains' ;
1314import type { AccountId32 , H256 , RuntimeCall , Slot , SlotDuration } from '@polkadot/types/interfaces/runtime' ;
14- import type { AssetHubPolkadotRuntimeOriginCaller , AssetsCommonRuntimeApiFungiblesAccessError , CumulusPrimitivesCoreCollationInfo , PalletTransactionPaymentFeeDetails , PalletTransactionPaymentRuntimeDispatchInfo , SpConsensusAuraEd25519AppEd25519Public , SpCoreCryptoKeyTypeId , SpInherentsCheckInherentsResult , SpInherentsInherentData , SpRuntimeBlock , SpRuntimeDispatchError , SpRuntimeExtrinsicInclusionMode , SpRuntimeHeader , SpRuntimeTransactionValidityTransactionSource , SpRuntimeTransactionValidityTransactionValidityError , SpRuntimeTransactionValidityValidTransaction , SpVersionRuntimeVersion , SpWeightsWeightV2Weight , StagingXcmV4Location , XcmRuntimeApisConversionsError , XcmRuntimeApisDryRunCallDryRunEffects , XcmRuntimeApisDryRunError , XcmRuntimeApisDryRunXcmDryRunEffects , XcmRuntimeApisFeesError , XcmVersionedAssetId , XcmVersionedAssets , XcmVersionedLocation , XcmVersionedXcm } from '@polkadot/types/lookup' ;
15+ import type { AssetHubPolkadotRuntimeOriginCaller , AssetsCommonRuntimeApiFungiblesAccessError , CumulusPrimitivesCoreCollationInfo , FrameSupportViewFunctionsViewFunctionDispatchError , FrameSupportViewFunctionsViewFunctionId , PalletTransactionPaymentFeeDetails , PalletTransactionPaymentRuntimeDispatchInfo , SpConsensusAuraEd25519AppEd25519Public , SpCoreCryptoKeyTypeId , SpInherentsCheckInherentsResult , SpInherentsInherentData , SpRuntimeBlock , SpRuntimeDispatchError , SpRuntimeExtrinsicInclusionMode , SpRuntimeHeader , SpRuntimeTransactionValidityTransactionSource , SpRuntimeTransactionValidityTransactionValidityError , SpRuntimeTransactionValidityValidTransaction , SpVersionRuntimeVersion , SpWeightsWeightV2Weight , StagingXcmV5Location , XcmRuntimeApisAuthorizedAliasesError , XcmRuntimeApisAuthorizedAliasesOriginAliaser , XcmRuntimeApisConversionsError , XcmRuntimeApisDryRunCallDryRunEffects , XcmRuntimeApisDryRunError , XcmRuntimeApisDryRunXcmDryRunEffects , XcmRuntimeApisFeesError , XcmRuntimeApisTrustedQueryError , XcmVersionedAsset , XcmVersionedAssetId , XcmVersionedAssets , XcmVersionedLocation , XcmVersionedXcm } from '@polkadot/types/lookup' ;
1516import type { IExtrinsic , Observable } from '@polkadot/types/types' ;
1617
1718export type __AugmentedCall < ApiType extends ApiTypes > = AugmentedCall < ApiType > ;
@@ -35,15 +36,15 @@ declare module '@polkadot/api-base/types/calls' {
3536 /**
3637 * Returns the size of the liquidity pool for the given asset pair.
3738 **/
38- getReserves : AugmentedCall < ApiType , ( asset1 : StagingXcmV4Location | { parents ?: any ; interior ?: any } | string | Uint8Array , asset2 : StagingXcmV4Location | { parents ?: any ; interior ?: any } | string | Uint8Array ) => Observable < Option < ITuple < [ u128 , u128 ] > > > > ;
39+ getReserves : AugmentedCall < ApiType , ( asset1 : StagingXcmV5Location | { parents ?: any ; interior ?: any } | string | Uint8Array , asset2 : StagingXcmV5Location | { parents ?: any ; interior ?: any } | string | Uint8Array ) => Observable < Option < ITuple < [ u128 , u128 ] > > > > ;
3940 /**
4041 * 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.)
4142 **/
42- quotePriceExactTokensForTokens : AugmentedCall < ApiType , ( asset1 : StagingXcmV4Location | { parents ?: any ; interior ?: any } | string | Uint8Array , asset2 : StagingXcmV4Location | { parents ?: any ; interior ?: any } | string | Uint8Array , amount : u128 | AnyNumber | Uint8Array , include_fee : bool | boolean | Uint8Array ) => Observable < Option < u128 > > > ;
43+ 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 > > > ;
4344 /**
4445 * 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.)
4546 **/
46- quotePriceTokensForExactTokens : AugmentedCall < ApiType , ( asset1 : StagingXcmV4Location | { parents ?: any ; interior ?: any } | string | Uint8Array , asset2 : StagingXcmV4Location | { parents ?: any ; interior ?: any } | string | Uint8Array , amount : u128 | AnyNumber | Uint8Array , include_fee : bool | boolean | Uint8Array ) => Observable < Option < u128 > > > ;
47+ 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 > > > ;
4748 /**
4849 * Generic call
4950 **/
@@ -75,6 +76,21 @@ declare module '@polkadot/api-base/types/calls' {
7576 **/
7677 [ key : string ] : DecoratedCallBase < ApiType > ;
7778 } ;
79+ /** 0x12c8e3d4d7e06de0/ */
80+ authorizedAliasersApi : {
81+ /**
82+ * Returns locations allowed to alias into and act as `target`.
83+ **/
84+ authorizedAliasers : AugmentedCall < ApiType , ( target : XcmVersionedLocation | { V3 : any } | { V4 : any } | { V5 : any } | string | Uint8Array ) => Observable < Result < Vec < XcmRuntimeApisAuthorizedAliasesOriginAliaser > , XcmRuntimeApisAuthorizedAliasesError > > > ;
85+ /**
86+ * Returns whether `origin` is allowed to alias into and act as `target`.
87+ **/
88+ 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 > > > ;
89+ /**
90+ * Generic call
91+ **/
92+ [ key : string ] : DecoratedCallBase < ApiType > ;
93+ } ;
7894 /** 0x40fe3ad401f8959a/ */
7995 blockBuilder : {
8096 /**
@@ -133,7 +149,7 @@ declare module '@polkadot/api-base/types/calls' {
133149 /**
134150 * Dry run call V2.
135151 **/
136- dryRunCall : AugmentedCall < ApiType , ( origin : AssetHubPolkadotRuntimeOriginCaller | { system : any } | { PolkadotXcm : any } | { CumulusXcm : any } | string | Uint8Array , call : RuntimeCall | IMethod | string | Uint8Array , result_xcms_version : u32 | AnyNumber | Uint8Array ) => Observable < Result < XcmRuntimeApisDryRunCallDryRunEffects , XcmRuntimeApisDryRunError > > > ;
152+ dryRunCall : AugmentedCall < ApiType , ( origin : AssetHubPolkadotRuntimeOriginCaller | { system : any } | { PolkadotXcm : any } | { CumulusXcm : any } | { Origins : any } | string | Uint8Array , call : RuntimeCall | IMethod | string | Uint8Array , result_xcms_version : u32 | AnyNumber | Uint8Array ) => Observable < Result < XcmRuntimeApisDryRunCallDryRunEffects , XcmRuntimeApisDryRunError > > > ;
137153 /**
138154 * Dry run XCM program
139155 **/
@@ -173,6 +189,17 @@ declare module '@polkadot/api-base/types/calls' {
173189 **/
174190 [ key : string ] : DecoratedCallBase < ApiType > ;
175191 } ;
192+ /** 0xa2ddb6a58477bf63/ */
193+ getParachainInfo : {
194+ /**
195+ * Retrieve the parachain id used for runtime.
196+ **/
197+ parachainId : AugmentedCall < ApiType , ( ) => Observable < ParaId > > ;
198+ /**
199+ * Generic call
200+ **/
201+ [ key : string ] : DecoratedCallBase < ApiType > ;
202+ } ;
176203 /** 0x9ffb505aa738d69c/ */
177204 locationToAccountApi : {
178205 /**
@@ -203,6 +230,53 @@ declare module '@polkadot/api-base/types/calls' {
203230 **/
204231 [ key : string ] : DecoratedCallBase < ApiType > ;
205232 } ;
233+ /** 0x17a6bc0d0062aeb3/ */
234+ nominationPoolsApi : {
235+ /**
236+ * Returns the equivalent points of `new_funds` for a given pool.
237+ **/
238+ balanceToPoints : AugmentedCall < ApiType , ( pool_id : u32 | AnyNumber | Uint8Array , new_funds : u128 | AnyNumber | Uint8Array ) => Observable < u128 > > ;
239+ /**
240+ * 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.
241+ **/
242+ memberNeedsDelegateMigration : AugmentedCall < ApiType , ( member : AccountId32 | string | Uint8Array ) => Observable < bool > > ;
243+ /**
244+ * Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
245+ **/
246+ memberPendingSlash : AugmentedCall < ApiType , ( member : AccountId32 | string | Uint8Array ) => Observable < u128 > > ;
247+ /**
248+ * Returns the total contribution of a pool member including any balance that is unbonding.
249+ **/
250+ memberTotalBalance : AugmentedCall < ApiType , ( who : AccountId32 | string | Uint8Array ) => Observable < u128 > > ;
251+ /**
252+ * Returns the pending rewards for the member that the AccountId was given for.
253+ **/
254+ pendingRewards : AugmentedCall < ApiType , ( who : AccountId32 | string | Uint8Array ) => Observable < u128 > > ;
255+ /**
256+ * Returns the equivalent balance of `points` for a given pool.
257+ **/
258+ pointsToBalance : AugmentedCall < ApiType , ( pool_id : u32 | AnyNumber | Uint8Array , points : u128 | AnyNumber | Uint8Array ) => Observable < u128 > > ;
259+ /**
260+ * Returns the bonded account and reward account associated with the pool_id.
261+ **/
262+ poolAccounts : AugmentedCall < ApiType , ( pool_id : u32 | AnyNumber | Uint8Array ) => Observable < ITuple < [ AccountId32 , AccountId32 ] > > > ;
263+ /**
264+ * Total balance contributed to the pool.
265+ **/
266+ poolBalance : AugmentedCall < ApiType , ( pool_id : u32 | AnyNumber | Uint8Array ) => Observable < u128 > > ;
267+ /**
268+ * 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.
269+ **/
270+ poolNeedsDelegateMigration : AugmentedCall < ApiType , ( pool_id : u32 | AnyNumber | Uint8Array ) => Observable < bool > > ;
271+ /**
272+ * Returns the pending slash for a given pool.
273+ **/
274+ poolPendingSlash : AugmentedCall < ApiType , ( pool_id : u32 | AnyNumber | Uint8Array ) => Observable < u128 > > ;
275+ /**
276+ * Generic call
277+ **/
278+ [ key : string ] : DecoratedCallBase < ApiType > ;
279+ } ;
206280 /** 0xf78b278be53f454c/ */
207281 offchainWorkerApi : {
208282 /**
@@ -214,6 +288,28 @@ declare module '@polkadot/api-base/types/calls' {
214288 **/
215289 [ key : string ] : DecoratedCallBase < ApiType > ;
216290 } ;
291+ /** 0x04e70521a0d3d2f8/ */
292+ relayParentOffsetApi : {
293+ /**
294+ * Fetch the slot offset that is expected from the relay chain.
295+ **/
296+ relayParentOffset : AugmentedCall < ApiType , ( ) => Observable < u32 > > ;
297+ /**
298+ * Generic call
299+ **/
300+ [ key : string ] : DecoratedCallBase < ApiType > ;
301+ } ;
302+ /** 0xccd9de6396c899ca/ */
303+ runtimeViewFunction : {
304+ /**
305+ * Execute a view function query.
306+ **/
307+ executeViewFunction : AugmentedCall < ApiType , ( query_id : FrameSupportViewFunctionsViewFunctionId | { prefix ?: any ; suffix ?: any } | string | Uint8Array , input : Bytes | string | Uint8Array ) => Observable < Result < Bytes , FrameSupportViewFunctionsViewFunctionDispatchError > > > ;
308+ /**
309+ * Generic call
310+ **/
311+ [ key : string ] : DecoratedCallBase < ApiType > ;
312+ } ;
217313 /** 0xab3c0572291feb8b/ */
218314 sessionKeys : {
219315 /**
@@ -229,6 +325,25 @@ declare module '@polkadot/api-base/types/calls' {
229325 **/
230326 [ key : string ] : DecoratedCallBase < ApiType > ;
231327 } ;
328+ /** 0x18ef58a3b67ba770/ */
329+ stakingApi : {
330+ /**
331+ * Returns the page count of exposures for a validator `account` in a given era.
332+ **/
333+ erasStakersPageCount : AugmentedCall < ApiType , ( era : u32 | AnyNumber | Uint8Array , account : AccountId32 | string | Uint8Array ) => Observable < u32 > > ;
334+ /**
335+ * Returns the nominations quota for a nominator with a given balance.
336+ **/
337+ nominationsQuota : AugmentedCall < ApiType , ( balance : u128 | AnyNumber | Uint8Array ) => Observable < u32 > > ;
338+ /**
339+ * Returns true if validator `account` has pages to be claimed for the given era.
340+ **/
341+ pendingRewards : AugmentedCall < ApiType , ( era : u32 | AnyNumber | Uint8Array , account : AccountId32 | string | Uint8Array ) => Observable < bool > > ;
342+ /**
343+ * Generic call
344+ **/
345+ [ key : string ] : DecoratedCallBase < ApiType > ;
346+ } ;
232347 /** 0xd2bc9897eed08f15/ */
233348 taggedTransactionQueue : {
234349 /**
@@ -286,6 +401,21 @@ declare module '@polkadot/api-base/types/calls' {
286401 **/
287402 [ key : string ] : DecoratedCallBase < ApiType > ;
288403 } ;
404+ /** 0x2609be83ac4468dc/ */
405+ trustedQueryApi : {
406+ /**
407+ * Returns if the location is a trusted reserve for the asset.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
408+ **/
409+ 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 > > > ;
410+ /**
411+ * Returns if the asset can be teleported to the location.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
412+ **/
413+ 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 > > > ;
414+ /**
415+ * Generic call
416+ **/
417+ [ key : string ] : DecoratedCallBase < ApiType > ;
418+ } ;
289419 /** 0x6ff52ee858e6c5bd/ */
290420 xcmPaymentApi : {
291421 /**
0 commit comments