@dedot/chaintypes 0.0.1-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +3 -0
- package/aleph/consts.d.ts +533 -0
- package/aleph/consts.js +2 -0
- package/aleph/errors.d.ts +822 -0
- package/aleph/errors.js +2 -0
- package/aleph/events.d.ts +997 -0
- package/aleph/events.js +2 -0
- package/aleph/index.d.ts +19 -0
- package/aleph/index.js +3 -0
- package/aleph/query.d.ts +1271 -0
- package/aleph/query.js +2 -0
- package/aleph/rpc.d.ts +575 -0
- package/aleph/rpc.js +2 -0
- package/aleph/runtime.d.ts +410 -0
- package/aleph/runtime.js +2 -0
- package/aleph/tx.d.ts +2206 -0
- package/aleph/tx.js +2 -0
- package/aleph/types.d.ts +5560 -0
- package/aleph/types.js +2 -0
- package/astar/consts.d.ts +679 -0
- package/astar/consts.js +2 -0
- package/astar/errors.d.ts +1317 -0
- package/astar/errors.js +2 -0
- package/astar/events.d.ts +1707 -0
- package/astar/events.js +2 -0
- package/astar/index.d.ts +19 -0
- package/astar/index.js +3 -0
- package/astar/query.d.ts +1474 -0
- package/astar/query.js +2 -0
- package/astar/rpc.d.ts +775 -0
- package/astar/rpc.js +2 -0
- package/astar/runtime.d.ts +262 -0
- package/astar/runtime.js +2 -0
- package/astar/tx.d.ts +4810 -0
- package/astar/tx.js +2 -0
- package/astar/types.d.ts +12338 -0
- package/astar/types.js +2 -0
- package/cjs/aleph/consts.js +3 -0
- package/cjs/aleph/errors.js +3 -0
- package/cjs/aleph/events.js +3 -0
- package/cjs/aleph/index.js +19 -0
- package/cjs/aleph/query.js +3 -0
- package/cjs/aleph/rpc.js +3 -0
- package/cjs/aleph/runtime.js +3 -0
- package/cjs/aleph/tx.js +3 -0
- package/cjs/aleph/types.js +3 -0
- package/cjs/astar/consts.js +3 -0
- package/cjs/astar/errors.js +3 -0
- package/cjs/astar/events.js +3 -0
- package/cjs/astar/index.js +19 -0
- package/cjs/astar/query.js +3 -0
- package/cjs/astar/rpc.js +3 -0
- package/cjs/astar/runtime.js +3 -0
- package/cjs/astar/tx.js +3 -0
- package/cjs/astar/types.js +3 -0
- package/cjs/index.js +2 -0
- package/cjs/kusama/consts.js +3 -0
- package/cjs/kusama/errors.js +3 -0
- package/cjs/kusama/events.js +3 -0
- package/cjs/kusama/index.js +19 -0
- package/cjs/kusama/query.js +3 -0
- package/cjs/kusama/rpc.js +3 -0
- package/cjs/kusama/runtime.js +3 -0
- package/cjs/kusama/tx.js +3 -0
- package/cjs/kusama/types.js +3 -0
- package/cjs/kusamaAssetHub/consts.js +3 -0
- package/cjs/kusamaAssetHub/errors.js +3 -0
- package/cjs/kusamaAssetHub/events.js +3 -0
- package/cjs/kusamaAssetHub/index.js +19 -0
- package/cjs/kusamaAssetHub/query.js +3 -0
- package/cjs/kusamaAssetHub/rpc.js +3 -0
- package/cjs/kusamaAssetHub/runtime.js +3 -0
- package/cjs/kusamaAssetHub/tx.js +3 -0
- package/cjs/kusamaAssetHub/types.js +3 -0
- package/cjs/moonbeam/consts.js +3 -0
- package/cjs/moonbeam/errors.js +3 -0
- package/cjs/moonbeam/events.js +3 -0
- package/cjs/moonbeam/index.js +19 -0
- package/cjs/moonbeam/query.js +3 -0
- package/cjs/moonbeam/rpc.js +3 -0
- package/cjs/moonbeam/runtime.js +3 -0
- package/cjs/moonbeam/tx.js +3 -0
- package/cjs/moonbeam/types.js +3 -0
- package/cjs/package.json +1 -0
- package/cjs/packageInfo.js +5 -0
- package/cjs/polkadot/consts.js +3 -0
- package/cjs/polkadot/errors.js +3 -0
- package/cjs/polkadot/events.js +3 -0
- package/cjs/polkadot/index.js +19 -0
- package/cjs/polkadot/query.js +3 -0
- package/cjs/polkadot/rpc.js +3 -0
- package/cjs/polkadot/runtime.js +3 -0
- package/cjs/polkadot/tx.js +3 -0
- package/cjs/polkadot/types.js +3 -0
- package/cjs/polkadotAssetHub/consts.js +3 -0
- package/cjs/polkadotAssetHub/errors.js +3 -0
- package/cjs/polkadotAssetHub/events.js +3 -0
- package/cjs/polkadotAssetHub/index.js +19 -0
- package/cjs/polkadotAssetHub/query.js +3 -0
- package/cjs/polkadotAssetHub/rpc.js +3 -0
- package/cjs/polkadotAssetHub/runtime.js +3 -0
- package/cjs/polkadotAssetHub/tx.js +3 -0
- package/cjs/polkadotAssetHub/types.js +3 -0
- package/cjs/rococoAssetHub/consts.js +3 -0
- package/cjs/rococoAssetHub/errors.js +3 -0
- package/cjs/rococoAssetHub/events.js +3 -0
- package/cjs/rococoAssetHub/index.js +19 -0
- package/cjs/rococoAssetHub/query.js +3 -0
- package/cjs/rococoAssetHub/rpc.js +3 -0
- package/cjs/rococoAssetHub/runtime.js +3 -0
- package/cjs/rococoAssetHub/tx.js +3 -0
- package/cjs/rococoAssetHub/types.js +3 -0
- package/cjs/substrate/consts.js +3 -0
- package/cjs/substrate/errors.js +3 -0
- package/cjs/substrate/events.js +3 -0
- package/cjs/substrate/index.js +19 -0
- package/cjs/substrate/query.js +3 -0
- package/cjs/substrate/rpc.js +3 -0
- package/cjs/substrate/runtime.js +3 -0
- package/cjs/substrate/tx.js +3 -0
- package/cjs/substrate/types.js +3 -0
- package/cjs/westendAssetHub/consts.js +3 -0
- package/cjs/westendAssetHub/errors.js +3 -0
- package/cjs/westendAssetHub/events.js +3 -0
- package/cjs/westendAssetHub/index.js +19 -0
- package/cjs/westendAssetHub/query.js +3 -0
- package/cjs/westendAssetHub/rpc.js +3 -0
- package/cjs/westendAssetHub/runtime.js +3 -0
- package/cjs/westendAssetHub/tx.js +3 -0
- package/cjs/westendAssetHub/types.js +3 -0
- package/index.d.ts +5 -0
- package/index.js +1 -0
- package/kusama/consts.d.ts +1427 -0
- package/kusama/consts.js +2 -0
- package/kusama/errors.d.ts +2494 -0
- package/kusama/errors.js +2 -0
- package/kusama/events.d.ts +2960 -0
- package/kusama/events.js +2 -0
- package/kusama/index.d.ts +19 -0
- package/kusama/index.js +3 -0
- package/kusama/query.d.ts +3251 -0
- package/kusama/query.js +2 -0
- package/kusama/rpc.d.ts +726 -0
- package/kusama/rpc.js +2 -0
- package/kusama/runtime.d.ts +844 -0
- package/kusama/runtime.js +2 -0
- package/kusama/tx.d.ts +6014 -0
- package/kusama/tx.js +2 -0
- package/kusama/types.d.ts +15903 -0
- package/kusama/types.js +2 -0
- package/kusamaAssetHub/consts.d.ts +632 -0
- package/kusamaAssetHub/consts.js +2 -0
- package/kusamaAssetHub/errors.d.ts +1164 -0
- package/kusamaAssetHub/errors.js +2 -0
- package/kusamaAssetHub/events.d.ts +2162 -0
- package/kusamaAssetHub/events.js +2 -0
- package/kusamaAssetHub/index.d.ts +19 -0
- package/kusamaAssetHub/index.js +3 -0
- package/kusamaAssetHub/query.d.ts +1301 -0
- package/kusamaAssetHub/query.js +2 -0
- package/kusamaAssetHub/rpc.d.ts +590 -0
- package/kusamaAssetHub/rpc.js +2 -0
- package/kusamaAssetHub/runtime.d.ts +402 -0
- package/kusamaAssetHub/runtime.js +2 -0
- package/kusamaAssetHub/tx.d.ts +4217 -0
- package/kusamaAssetHub/tx.js +2 -0
- package/kusamaAssetHub/types.d.ts +10418 -0
- package/kusamaAssetHub/types.js +2 -0
- package/moonbeam/consts.d.ts +961 -0
- package/moonbeam/consts.js +2 -0
- package/moonbeam/errors.d.ts +1797 -0
- package/moonbeam/errors.js +2 -0
- package/moonbeam/events.d.ts +2840 -0
- package/moonbeam/events.js +2 -0
- package/moonbeam/index.d.ts +19 -0
- package/moonbeam/index.js +3 -0
- package/moonbeam/query.d.ts +2027 -0
- package/moonbeam/query.js +2 -0
- package/moonbeam/rpc.d.ts +809 -0
- package/moonbeam/rpc.js +2 -0
- package/moonbeam/runtime.d.ts +506 -0
- package/moonbeam/runtime.js +2 -0
- package/moonbeam/tx.d.ts +5205 -0
- package/moonbeam/tx.js +2 -0
- package/moonbeam/types.d.ts +12349 -0
- package/moonbeam/types.js +2 -0
- package/package.json +33 -0
- package/packageInfo.d.ts +4 -0
- package/packageInfo.js +3 -0
- package/polkadot/consts.d.ts +1160 -0
- package/polkadot/consts.js +2 -0
- package/polkadot/errors.d.ts +2020 -0
- package/polkadot/errors.js +2 -0
- package/polkadot/events.d.ts +2235 -0
- package/polkadot/events.js +2 -0
- package/polkadot/index.d.ts +19 -0
- package/polkadot/index.js +3 -0
- package/polkadot/query.d.ts +2811 -0
- package/polkadot/query.js +2 -0
- package/polkadot/rpc.d.ts +726 -0
- package/polkadot/rpc.js +2 -0
- package/polkadot/runtime.d.ts +844 -0
- package/polkadot/runtime.js +2 -0
- package/polkadot/tx.d.ts +5009 -0
- package/polkadot/tx.js +2 -0
- package/polkadot/types.d.ts +13729 -0
- package/polkadot/types.js +2 -0
- package/polkadotAssetHub/consts.d.ts +524 -0
- package/polkadotAssetHub/consts.js +2 -0
- package/polkadotAssetHub/errors.d.ts +925 -0
- package/polkadotAssetHub/errors.js +2 -0
- package/polkadotAssetHub/events.d.ts +1787 -0
- package/polkadotAssetHub/events.js +2 -0
- package/polkadotAssetHub/index.d.ts +19 -0
- package/polkadotAssetHub/index.js +3 -0
- package/polkadotAssetHub/query.d.ts +1222 -0
- package/polkadotAssetHub/query.js +2 -0
- package/polkadotAssetHub/rpc.d.ts +590 -0
- package/polkadotAssetHub/rpc.js +2 -0
- package/polkadotAssetHub/runtime.d.ts +359 -0
- package/polkadotAssetHub/runtime.js +2 -0
- package/polkadotAssetHub/tx.d.ts +3492 -0
- package/polkadotAssetHub/tx.js +2 -0
- package/polkadotAssetHub/types.d.ts +9164 -0
- package/polkadotAssetHub/types.js +2 -0
- package/rococoAssetHub/consts.d.ts +658 -0
- package/rococoAssetHub/consts.js +2 -0
- package/rococoAssetHub/errors.d.ts +1231 -0
- package/rococoAssetHub/errors.js +2 -0
- package/rococoAssetHub/events.d.ts +2172 -0
- package/rococoAssetHub/events.js +2 -0
- package/rococoAssetHub/index.d.ts +19 -0
- package/rococoAssetHub/index.js +3 -0
- package/rococoAssetHub/query.d.ts +1269 -0
- package/rococoAssetHub/query.js +2 -0
- package/rococoAssetHub/rpc.d.ts +590 -0
- package/rococoAssetHub/rpc.js +2 -0
- package/rococoAssetHub/runtime.d.ts +428 -0
- package/rococoAssetHub/runtime.js +2 -0
- package/rococoAssetHub/tx.d.ts +4307 -0
- package/rococoAssetHub/tx.js +2 -0
- package/rococoAssetHub/types.d.ts +11066 -0
- package/rococoAssetHub/types.js +2 -0
- package/substrate/consts.d.ts +1971 -0
- package/substrate/consts.js +2 -0
- package/substrate/errors.d.ts +3337 -0
- package/substrate/errors.js +2 -0
- package/substrate/events.d.ts +4777 -0
- package/substrate/events.js +2 -0
- package/substrate/index.d.ts +19 -0
- package/substrate/index.js +3 -0
- package/substrate/query.d.ts +3350 -0
- package/substrate/query.js +2 -0
- package/substrate/rpc.d.ts +718 -0
- package/substrate/rpc.js +2 -0
- package/substrate/runtime.d.ts +708 -0
- package/substrate/runtime.js +2 -0
- package/substrate/tx.d.ts +8800 -0
- package/substrate/tx.js +2 -0
- package/substrate/types.d.ts +20332 -0
- package/substrate/types.js +2 -0
- package/westendAssetHub/consts.d.ts +658 -0
- package/westendAssetHub/consts.js +2 -0
- package/westendAssetHub/errors.d.ts +1231 -0
- package/westendAssetHub/errors.js +2 -0
- package/westendAssetHub/events.d.ts +2172 -0
- package/westendAssetHub/events.js +2 -0
- package/westendAssetHub/index.d.ts +19 -0
- package/westendAssetHub/index.js +3 -0
- package/westendAssetHub/query.d.ts +1269 -0
- package/westendAssetHub/query.js +2 -0
- package/westendAssetHub/rpc.d.ts +590 -0
- package/westendAssetHub/rpc.js +2 -0
- package/westendAssetHub/runtime.d.ts +456 -0
- package/westendAssetHub/runtime.js +2 -0
- package/westendAssetHub/tx.d.ts +4307 -0
- package/westendAssetHub/tx.js +2 -0
- package/westendAssetHub/types.d.ts +11062 -0
- package/westendAssetHub/types.js +2 -0
|
@@ -0,0 +1,844 @@
|
|
|
1
|
+
import type { GenericRuntimeApis, GenericRuntimeApiMethod } from '@dedot/types';
|
|
2
|
+
import type { RuntimeVersion, Header, DispatchError, Result, UncheckedExtrinsicLike, UncheckedExtrinsic, AccountId32Like, H256, Bytes, BytesLike } from '@dedot/codecs';
|
|
3
|
+
import type { SpRuntimeBlock, SpCoreOpaqueMetadata, SpRuntimeTransactionValidityTransactionValidityError, SpInherentsInherentData, SpInherentsCheckInherentsResult, SpRuntimeTransactionValidityValidTransaction, SpRuntimeTransactionValidityTransactionSource, PolkadotPrimitivesV6ValidatorAppPublic, PolkadotPrimitivesV6ValidatorIndex, PolkadotPrimitivesV6GroupRotationInfo, PolkadotPrimitivesV6CoreState, PolkadotPrimitivesV6PersistedValidationData, PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV6OccupiedCoreAssumption, PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotPrimitivesV6CandidateCommitments, PolkadotParachainPrimitivesPrimitivesValidationCode, PolkadotPrimitivesV6CommittedCandidateReceipt, PolkadotPrimitivesV6CandidateEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV6ScrapedOnChainVotes, PolkadotPrimitivesV6SessionInfo, PolkadotPrimitivesV6PvfCheckStatement, PolkadotPrimitivesV6ValidatorAppSignature, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV6DisputeState, PolkadotPrimitivesV6ExecutorParams, PolkadotPrimitivesV6SlashingPendingSlashes, PolkadotPrimitivesV6SlashingOpaqueKeyOwnershipProof, PolkadotPrimitivesV6SlashingDisputeProof, PolkadotPrimitivesV6AsyncBackingBackingState, PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, SpConsensusBeefyValidatorSet, SpConsensusBeefyEquivocationProof, SpConsensusBeefyOpaqueKeyOwnershipProof, SpConsensusBeefyEcdsaCryptoPublic, SpMmrPrimitivesError, SpMmrPrimitivesEncodableOpaqueLeaf, SpMmrPrimitivesProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusGrandpaOpaqueKeyOwnershipProof, SpConsensusBabeBabeConfiguration, SpConsensusSlotsSlot, SpConsensusBabeEpoch, SpConsensusBabeOpaqueKeyOwnershipProof, SpConsensusBabeAppPublic, SpConsensusSlotsEquivocationProof, SpAuthorityDiscoveryAppPublic, SpCoreCryptoKeyTypeId, PalletTransactionPaymentRuntimeDispatchInfo, PalletTransactionPaymentFeeDetails, SpWeightsWeightV2Weight, PolkadotRuntimeRuntimeCallLike } from './types';
|
|
4
|
+
export interface RuntimeApis extends GenericRuntimeApis {
|
|
5
|
+
/**
|
|
6
|
+
* @runtimeapi: Core - 0xdf6acb689907609b
|
|
7
|
+
**/
|
|
8
|
+
core: {
|
|
9
|
+
/**
|
|
10
|
+
* Returns the version of the runtime.
|
|
11
|
+
*
|
|
12
|
+
* @callname: Core_version
|
|
13
|
+
**/
|
|
14
|
+
version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
|
|
15
|
+
/**
|
|
16
|
+
* Execute the given block.
|
|
17
|
+
*
|
|
18
|
+
* @callname: Core_execute_block
|
|
19
|
+
* @param {SpRuntimeBlock} block
|
|
20
|
+
**/
|
|
21
|
+
executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
|
|
22
|
+
/**
|
|
23
|
+
* Initialize a block with the given header.
|
|
24
|
+
*
|
|
25
|
+
* @callname: Core_initialize_block
|
|
26
|
+
* @param {Header} header
|
|
27
|
+
**/
|
|
28
|
+
initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
|
|
29
|
+
/**
|
|
30
|
+
* Generic runtime api call
|
|
31
|
+
**/
|
|
32
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @runtimeapi: Metadata - 0x37e397fc7c91f5e4
|
|
36
|
+
**/
|
|
37
|
+
metadata: {
|
|
38
|
+
/**
|
|
39
|
+
* Returns the metadata of a runtime.
|
|
40
|
+
*
|
|
41
|
+
* @callname: Metadata_metadata
|
|
42
|
+
**/
|
|
43
|
+
metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the metadata at a given version.
|
|
46
|
+
*
|
|
47
|
+
* If the given `version` isn't supported, this will return `None`.
|
|
48
|
+
* Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
|
49
|
+
*
|
|
50
|
+
* @callname: Metadata_metadata_at_version
|
|
51
|
+
* @param {number} version
|
|
52
|
+
**/
|
|
53
|
+
metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns the supported metadata versions.
|
|
56
|
+
*
|
|
57
|
+
* This can be used to call `metadata_at_version`.
|
|
58
|
+
*
|
|
59
|
+
* @callname: Metadata_metadata_versions
|
|
60
|
+
**/
|
|
61
|
+
metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
|
|
62
|
+
/**
|
|
63
|
+
* Generic runtime api call
|
|
64
|
+
**/
|
|
65
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
|
|
69
|
+
**/
|
|
70
|
+
blockBuilder: {
|
|
71
|
+
/**
|
|
72
|
+
* Apply the given extrinsic.
|
|
73
|
+
*
|
|
74
|
+
* Returns an inclusion outcome which specifies if this extrinsic is included in
|
|
75
|
+
* this block or not.
|
|
76
|
+
*
|
|
77
|
+
* @callname: BlockBuilder_apply_extrinsic
|
|
78
|
+
* @param {UncheckedExtrinsicLike} extrinsic
|
|
79
|
+
**/
|
|
80
|
+
applyExtrinsic: GenericRuntimeApiMethod<(extrinsic: UncheckedExtrinsicLike) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>>;
|
|
81
|
+
/**
|
|
82
|
+
* Finish the current block.
|
|
83
|
+
*
|
|
84
|
+
* @callname: BlockBuilder_finalize_block
|
|
85
|
+
**/
|
|
86
|
+
finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
|
|
87
|
+
/**
|
|
88
|
+
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
|
89
|
+
*
|
|
90
|
+
* @callname: BlockBuilder_inherent_extrinsics
|
|
91
|
+
* @param {SpInherentsInherentData} inherent
|
|
92
|
+
**/
|
|
93
|
+
inherentExtrinsics: GenericRuntimeApiMethod<(inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>>;
|
|
94
|
+
/**
|
|
95
|
+
* Check that the inherents are valid. The inherent data will vary from chain to chain.
|
|
96
|
+
*
|
|
97
|
+
* @callname: BlockBuilder_check_inherents
|
|
98
|
+
* @param {SpRuntimeBlock} block
|
|
99
|
+
* @param {SpInherentsInherentData} data
|
|
100
|
+
**/
|
|
101
|
+
checkInherents: GenericRuntimeApiMethod<(block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>>;
|
|
102
|
+
/**
|
|
103
|
+
* Generic runtime api call
|
|
104
|
+
**/
|
|
105
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* @runtimeapi: NominationPoolsApi - 0x17a6bc0d0062aeb3
|
|
109
|
+
**/
|
|
110
|
+
nominationPoolsApi: {
|
|
111
|
+
/**
|
|
112
|
+
* Returns the pending rewards for the member that the AccountId was given for.
|
|
113
|
+
*
|
|
114
|
+
* @callname: NominationPoolsApi_pending_rewards
|
|
115
|
+
* @param {AccountId32Like} who
|
|
116
|
+
**/
|
|
117
|
+
pendingRewards: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
|
|
118
|
+
/**
|
|
119
|
+
* Returns the equivalent balance of `points` for a given pool.
|
|
120
|
+
*
|
|
121
|
+
* @callname: NominationPoolsApi_points_to_balance
|
|
122
|
+
* @param {number} pool_id
|
|
123
|
+
* @param {bigint} points
|
|
124
|
+
**/
|
|
125
|
+
pointsToBalance: GenericRuntimeApiMethod<(poolId: number, points: bigint) => Promise<bigint>>;
|
|
126
|
+
/**
|
|
127
|
+
* Returns the equivalent points of `new_funds` for a given pool.
|
|
128
|
+
*
|
|
129
|
+
* @callname: NominationPoolsApi_balance_to_points
|
|
130
|
+
* @param {number} pool_id
|
|
131
|
+
* @param {bigint} new_funds
|
|
132
|
+
**/
|
|
133
|
+
balanceToPoints: GenericRuntimeApiMethod<(poolId: number, newFunds: bigint) => Promise<bigint>>;
|
|
134
|
+
/**
|
|
135
|
+
* Generic runtime api call
|
|
136
|
+
**/
|
|
137
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* @runtimeapi: StakingApi - 0x18ef58a3b67ba770
|
|
141
|
+
**/
|
|
142
|
+
stakingApi: {
|
|
143
|
+
/**
|
|
144
|
+
* Returns the nominations quota for a nominator with a given balance.
|
|
145
|
+
*
|
|
146
|
+
* @callname: StakingApi_nominations_quota
|
|
147
|
+
* @param {bigint} balance
|
|
148
|
+
**/
|
|
149
|
+
nominationsQuota: GenericRuntimeApiMethod<(balance: bigint) => Promise<number>>;
|
|
150
|
+
/**
|
|
151
|
+
* Generic runtime api call
|
|
152
|
+
**/
|
|
153
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
|
|
157
|
+
**/
|
|
158
|
+
taggedTransactionQueue: {
|
|
159
|
+
/**
|
|
160
|
+
* Validate the transaction.
|
|
161
|
+
*
|
|
162
|
+
* This method is invoked by the transaction pool to learn details about given transaction.
|
|
163
|
+
* The implementation should make sure to verify the correctness of the transaction
|
|
164
|
+
* against current state. The given `block_hash` corresponds to the hash of the block
|
|
165
|
+
* that is used as current state.
|
|
166
|
+
*
|
|
167
|
+
* Note that this call may be performed by the pool multiple times and transactions
|
|
168
|
+
* might be verified in any possible order.
|
|
169
|
+
*
|
|
170
|
+
* @callname: TaggedTransactionQueue_validate_transaction
|
|
171
|
+
* @param {SpRuntimeTransactionValidityTransactionSource} source
|
|
172
|
+
* @param {UncheckedExtrinsicLike} tx
|
|
173
|
+
* @param {H256} block_hash
|
|
174
|
+
**/
|
|
175
|
+
validateTransaction: GenericRuntimeApiMethod<(source: SpRuntimeTransactionValidityTransactionSource, tx: UncheckedExtrinsicLike, blockHash: H256) => Promise<Result<SpRuntimeTransactionValidityValidTransaction, SpRuntimeTransactionValidityTransactionValidityError>>>;
|
|
176
|
+
/**
|
|
177
|
+
* Generic runtime api call
|
|
178
|
+
**/
|
|
179
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
|
|
183
|
+
**/
|
|
184
|
+
offchainWorkerApi: {
|
|
185
|
+
/**
|
|
186
|
+
* Starts the off-chain task for given block header.
|
|
187
|
+
*
|
|
188
|
+
* @callname: OffchainWorkerApi_offchain_worker
|
|
189
|
+
* @param {Header} header
|
|
190
|
+
**/
|
|
191
|
+
offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
|
|
192
|
+
/**
|
|
193
|
+
* Generic runtime api call
|
|
194
|
+
**/
|
|
195
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* @runtimeapi: ParachainHost - 0xaf2c0297a23e6d3d
|
|
199
|
+
**/
|
|
200
|
+
parachainHost: {
|
|
201
|
+
/**
|
|
202
|
+
* Get the current validators.
|
|
203
|
+
*
|
|
204
|
+
* @callname: ParachainHost_validators
|
|
205
|
+
**/
|
|
206
|
+
validators: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV6ValidatorAppPublic>>>;
|
|
207
|
+
/**
|
|
208
|
+
* Returns the validator groups and rotation info localized based on the hypothetical child
|
|
209
|
+
* of a block whose state this is invoked on. Note that `now` in the `GroupRotationInfo`
|
|
210
|
+
* should be the successor of the number of the block.
|
|
211
|
+
*
|
|
212
|
+
* @callname: ParachainHost_validator_groups
|
|
213
|
+
**/
|
|
214
|
+
validatorGroups: GenericRuntimeApiMethod<() => Promise<[Array<Array<PolkadotPrimitivesV6ValidatorIndex>>, PolkadotPrimitivesV6GroupRotationInfo]>>;
|
|
215
|
+
/**
|
|
216
|
+
* Yields information on all availability cores as relevant to the child block.
|
|
217
|
+
* Cores are either free or occupied. Free cores can have paras assigned to them.
|
|
218
|
+
*
|
|
219
|
+
* @callname: ParachainHost_availability_cores
|
|
220
|
+
**/
|
|
221
|
+
availabilityCores: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV6CoreState>>>;
|
|
222
|
+
/**
|
|
223
|
+
* Yields the persisted validation data for the given `ParaId` along with an assumption that
|
|
224
|
+
* should be used if the para currently occupies a core.
|
|
225
|
+
*
|
|
226
|
+
* Returns `None` if either the para is not registered or the assumption is `Freed`
|
|
227
|
+
* and the para already occupies a core.
|
|
228
|
+
*
|
|
229
|
+
* @callname: ParachainHost_persisted_validation_data
|
|
230
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
231
|
+
* @param {PolkadotPrimitivesV6OccupiedCoreAssumption} assumption
|
|
232
|
+
**/
|
|
233
|
+
persistedValidationData: GenericRuntimeApiMethod<(paraId: PolkadotParachainPrimitivesPrimitivesId, assumption: PolkadotPrimitivesV6OccupiedCoreAssumption) => Promise<PolkadotPrimitivesV6PersistedValidationData | undefined>>;
|
|
234
|
+
/**
|
|
235
|
+
* Returns the persisted validation data for the given `ParaId` along with the corresponding
|
|
236
|
+
* validation code hash. Instead of accepting assumption about the para, matches the validation
|
|
237
|
+
* data hash against an expected one and yields `None` if they're not equal.
|
|
238
|
+
*
|
|
239
|
+
* @callname: ParachainHost_assumed_validation_data
|
|
240
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
241
|
+
* @param {H256} expected_persisted_validation_data_hash
|
|
242
|
+
**/
|
|
243
|
+
assumedValidationData: GenericRuntimeApiMethod<(paraId: PolkadotParachainPrimitivesPrimitivesId, expectedPersistedValidationDataHash: H256) => Promise<[PolkadotPrimitivesV6PersistedValidationData, PolkadotParachainPrimitivesPrimitivesValidationCodeHash] | undefined>>;
|
|
244
|
+
/**
|
|
245
|
+
* Checks if the given validation outputs pass the acceptance criteria.
|
|
246
|
+
*
|
|
247
|
+
* @callname: ParachainHost_check_validation_outputs
|
|
248
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
249
|
+
* @param {PolkadotPrimitivesV6CandidateCommitments} outputs
|
|
250
|
+
**/
|
|
251
|
+
checkValidationOutputs: GenericRuntimeApiMethod<(paraId: PolkadotParachainPrimitivesPrimitivesId, outputs: PolkadotPrimitivesV6CandidateCommitments) => Promise<boolean>>;
|
|
252
|
+
/**
|
|
253
|
+
* Returns the session index expected at a child of the block.
|
|
254
|
+
*
|
|
255
|
+
* This can be used to instantiate a `SigningContext`.
|
|
256
|
+
*
|
|
257
|
+
* @callname: ParachainHost_session_index_for_child
|
|
258
|
+
**/
|
|
259
|
+
sessionIndexForChild: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
260
|
+
/**
|
|
261
|
+
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
|
262
|
+
*
|
|
263
|
+
* Returns `None` if either the para is not registered or the assumption is `Freed`
|
|
264
|
+
* and the para already occupies a core.
|
|
265
|
+
*
|
|
266
|
+
* @callname: ParachainHost_validation_code
|
|
267
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
268
|
+
* @param {PolkadotPrimitivesV6OccupiedCoreAssumption} assumption
|
|
269
|
+
**/
|
|
270
|
+
validationCode: GenericRuntimeApiMethod<(paraId: PolkadotParachainPrimitivesPrimitivesId, assumption: PolkadotPrimitivesV6OccupiedCoreAssumption) => Promise<PolkadotParachainPrimitivesPrimitivesValidationCode | undefined>>;
|
|
271
|
+
/**
|
|
272
|
+
* Get the receipt of a candidate pending availability. This returns `Some` for any paras
|
|
273
|
+
* assigned to occupied cores in `availability_cores` and `None` otherwise.
|
|
274
|
+
*
|
|
275
|
+
* @callname: ParachainHost_candidate_pending_availability
|
|
276
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
277
|
+
**/
|
|
278
|
+
candidatePendingAvailability: GenericRuntimeApiMethod<(paraId: PolkadotParachainPrimitivesPrimitivesId) => Promise<PolkadotPrimitivesV6CommittedCandidateReceipt | undefined>>;
|
|
279
|
+
/**
|
|
280
|
+
* Get a vector of events concerning candidates that occurred within a block.
|
|
281
|
+
*
|
|
282
|
+
* @callname: ParachainHost_candidate_events
|
|
283
|
+
**/
|
|
284
|
+
candidateEvents: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV6CandidateEvent>>>;
|
|
285
|
+
/**
|
|
286
|
+
* Get all the pending inbound messages in the downward message queue for a para.
|
|
287
|
+
*
|
|
288
|
+
* @callname: ParachainHost_dmq_contents
|
|
289
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} recipient
|
|
290
|
+
**/
|
|
291
|
+
dmqContents: GenericRuntimeApiMethod<(recipient: PolkadotParachainPrimitivesPrimitivesId) => Promise<Array<PolkadotCorePrimitivesInboundDownwardMessage>>>;
|
|
292
|
+
/**
|
|
293
|
+
* Get the contents of all channels addressed to the given recipient. Channels that have no
|
|
294
|
+
* messages in them are also included.
|
|
295
|
+
*
|
|
296
|
+
* @callname: ParachainHost_inbound_hrmp_channels_contents
|
|
297
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} recipient
|
|
298
|
+
**/
|
|
299
|
+
inboundHrmpChannelsContents: GenericRuntimeApiMethod<(recipient: PolkadotParachainPrimitivesPrimitivesId) => Promise<Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>>>;
|
|
300
|
+
/**
|
|
301
|
+
* Get the validation code from its hash.
|
|
302
|
+
*
|
|
303
|
+
* @callname: ParachainHost_validation_code_by_hash
|
|
304
|
+
* @param {PolkadotParachainPrimitivesPrimitivesValidationCodeHash} hash
|
|
305
|
+
**/
|
|
306
|
+
validationCodeByHash: GenericRuntimeApiMethod<(hash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash) => Promise<PolkadotParachainPrimitivesPrimitivesValidationCode | undefined>>;
|
|
307
|
+
/**
|
|
308
|
+
* Scrape dispute relevant from on-chain, backing votes and resolved disputes.
|
|
309
|
+
*
|
|
310
|
+
* @callname: ParachainHost_on_chain_votes
|
|
311
|
+
**/
|
|
312
|
+
onChainVotes: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV6ScrapedOnChainVotes | undefined>>;
|
|
313
|
+
/**
|
|
314
|
+
* Get the session info for the given session, if stored.
|
|
315
|
+
*
|
|
316
|
+
* NOTE: This function is only available since parachain host version 2.
|
|
317
|
+
*
|
|
318
|
+
* @callname: ParachainHost_session_info
|
|
319
|
+
* @param {number} index
|
|
320
|
+
**/
|
|
321
|
+
sessionInfo: GenericRuntimeApiMethod<(index: number) => Promise<PolkadotPrimitivesV6SessionInfo | undefined>>;
|
|
322
|
+
/**
|
|
323
|
+
* Submits a PVF pre-checking statement into the transaction pool.
|
|
324
|
+
*
|
|
325
|
+
* NOTE: This function is only available since parachain host version 2.
|
|
326
|
+
*
|
|
327
|
+
* @callname: ParachainHost_submit_pvf_check_statement
|
|
328
|
+
* @param {PolkadotPrimitivesV6PvfCheckStatement} stmt
|
|
329
|
+
* @param {PolkadotPrimitivesV6ValidatorAppSignature} signature
|
|
330
|
+
**/
|
|
331
|
+
submitPvfCheckStatement: GenericRuntimeApiMethod<(stmt: PolkadotPrimitivesV6PvfCheckStatement, signature: PolkadotPrimitivesV6ValidatorAppSignature) => Promise<[]>>;
|
|
332
|
+
/**
|
|
333
|
+
* Returns code hashes of PVFs that require pre-checking by validators in the active set.
|
|
334
|
+
*
|
|
335
|
+
* NOTE: This function is only available since parachain host version 2.
|
|
336
|
+
*
|
|
337
|
+
* @callname: ParachainHost_pvfs_require_precheck
|
|
338
|
+
**/
|
|
339
|
+
pvfsRequirePrecheck: GenericRuntimeApiMethod<() => Promise<Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>>>;
|
|
340
|
+
/**
|
|
341
|
+
* Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
|
342
|
+
*
|
|
343
|
+
* NOTE: This function is only available since parachain host version 2.
|
|
344
|
+
*
|
|
345
|
+
* @callname: ParachainHost_validation_code_hash
|
|
346
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
347
|
+
* @param {PolkadotPrimitivesV6OccupiedCoreAssumption} assumption
|
|
348
|
+
**/
|
|
349
|
+
validationCodeHash: GenericRuntimeApiMethod<(paraId: PolkadotParachainPrimitivesPrimitivesId, assumption: PolkadotPrimitivesV6OccupiedCoreAssumption) => Promise<PolkadotParachainPrimitivesPrimitivesValidationCodeHash | undefined>>;
|
|
350
|
+
/**
|
|
351
|
+
* Returns all onchain disputes.
|
|
352
|
+
*
|
|
353
|
+
* @callname: ParachainHost_disputes
|
|
354
|
+
**/
|
|
355
|
+
disputes: GenericRuntimeApiMethod<() => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV6DisputeState]>>>;
|
|
356
|
+
/**
|
|
357
|
+
* Returns execution parameters for the session.
|
|
358
|
+
*
|
|
359
|
+
* @callname: ParachainHost_session_executor_params
|
|
360
|
+
* @param {number} session_index
|
|
361
|
+
**/
|
|
362
|
+
sessionExecutorParams: GenericRuntimeApiMethod<(sessionIndex: number) => Promise<PolkadotPrimitivesV6ExecutorParams | undefined>>;
|
|
363
|
+
/**
|
|
364
|
+
* Returns a list of validators that lost a past session dispute and need to be slashed.
|
|
365
|
+
* NOTE: This function is only available since parachain host version 5.
|
|
366
|
+
*
|
|
367
|
+
* @callname: ParachainHost_unapplied_slashes
|
|
368
|
+
**/
|
|
369
|
+
unappliedSlashes: GenericRuntimeApiMethod<() => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV6SlashingPendingSlashes]>>>;
|
|
370
|
+
/**
|
|
371
|
+
* Returns a merkle proof of a validator session key.
|
|
372
|
+
* NOTE: This function is only available since parachain host version 5.
|
|
373
|
+
*
|
|
374
|
+
* @callname: ParachainHost_key_ownership_proof
|
|
375
|
+
* @param {PolkadotPrimitivesV6ValidatorAppPublic} validator_id
|
|
376
|
+
**/
|
|
377
|
+
keyOwnershipProof: GenericRuntimeApiMethod<(validatorId: PolkadotPrimitivesV6ValidatorAppPublic) => Promise<PolkadotPrimitivesV6SlashingOpaqueKeyOwnershipProof | undefined>>;
|
|
378
|
+
/**
|
|
379
|
+
* Submit an unsigned extrinsic to slash validators who lost a dispute about
|
|
380
|
+
* a candidate of a past session.
|
|
381
|
+
* NOTE: This function is only available since parachain host version 5.
|
|
382
|
+
*
|
|
383
|
+
* @callname: ParachainHost_submit_report_dispute_lost
|
|
384
|
+
* @param {PolkadotPrimitivesV6SlashingDisputeProof} dispute_proof
|
|
385
|
+
* @param {PolkadotPrimitivesV6SlashingOpaqueKeyOwnershipProof} key_ownership_proof
|
|
386
|
+
**/
|
|
387
|
+
submitReportDisputeLost: GenericRuntimeApiMethod<(disputeProof: PolkadotPrimitivesV6SlashingDisputeProof, keyOwnershipProof: PolkadotPrimitivesV6SlashingOpaqueKeyOwnershipProof) => Promise<[] | undefined>>;
|
|
388
|
+
/**
|
|
389
|
+
* Get the minimum number of backing votes for a parachain candidate.
|
|
390
|
+
* This is a staging method! Do not use on production runtimes!
|
|
391
|
+
*
|
|
392
|
+
* @callname: ParachainHost_minimum_backing_votes
|
|
393
|
+
**/
|
|
394
|
+
minimumBackingVotes: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
395
|
+
/**
|
|
396
|
+
* Returns the state of parachain backing for a given para.
|
|
397
|
+
*
|
|
398
|
+
* @callname: ParachainHost_para_backing_state
|
|
399
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} _
|
|
400
|
+
**/
|
|
401
|
+
paraBackingState: GenericRuntimeApiMethod<(undefined: PolkadotParachainPrimitivesPrimitivesId) => Promise<PolkadotPrimitivesV6AsyncBackingBackingState | undefined>>;
|
|
402
|
+
/**
|
|
403
|
+
* Returns candidate's acceptance limitations for asynchronous backing for a relay parent.
|
|
404
|
+
*
|
|
405
|
+
* @callname: ParachainHost_async_backing_params
|
|
406
|
+
**/
|
|
407
|
+
asyncBackingParams: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV6AsyncBackingAsyncBackingParams>>;
|
|
408
|
+
/**
|
|
409
|
+
* Returns a list of all disabled validators at the given block.
|
|
410
|
+
*
|
|
411
|
+
* @callname: ParachainHost_disabled_validators
|
|
412
|
+
**/
|
|
413
|
+
disabledValidators: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV6ValidatorIndex>>>;
|
|
414
|
+
/**
|
|
415
|
+
* Generic runtime api call
|
|
416
|
+
**/
|
|
417
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* @runtimeapi: BeefyApi - 0x49eaaf1b548a0cb0
|
|
421
|
+
**/
|
|
422
|
+
beefyApi: {
|
|
423
|
+
/**
|
|
424
|
+
* Return the block number where BEEFY consensus is enabled/started
|
|
425
|
+
*
|
|
426
|
+
* @callname: BeefyApi_beefy_genesis
|
|
427
|
+
**/
|
|
428
|
+
beefyGenesis: GenericRuntimeApiMethod<() => Promise<number | undefined>>;
|
|
429
|
+
/**
|
|
430
|
+
* Return the current active BEEFY validator set
|
|
431
|
+
*
|
|
432
|
+
* @callname: BeefyApi_validator_set
|
|
433
|
+
**/
|
|
434
|
+
validatorSet: GenericRuntimeApiMethod<() => Promise<SpConsensusBeefyValidatorSet | undefined>>;
|
|
435
|
+
/**
|
|
436
|
+
* Submits an unsigned extrinsic to report an equivocation. The caller
|
|
437
|
+
* must provide the equivocation proof and a key ownership proof
|
|
438
|
+
* (should be obtained using `generate_key_ownership_proof`). The
|
|
439
|
+
* extrinsic will be unsigned and should only be accepted for local
|
|
440
|
+
* authorship (not to be broadcast to the network). This method returns
|
|
441
|
+
* `None` when creation of the extrinsic fails, e.g. if equivocation
|
|
442
|
+
* reporting is disabled for the given runtime (i.e. this method is
|
|
443
|
+
* hardcoded to return `None`). Only useful in an offchain context.
|
|
444
|
+
*
|
|
445
|
+
* @callname: BeefyApi_submit_report_equivocation_unsigned_extrinsic
|
|
446
|
+
* @param {SpConsensusBeefyEquivocationProof} equivocation_proof
|
|
447
|
+
* @param {SpConsensusBeefyOpaqueKeyOwnershipProof} key_owner_proof
|
|
448
|
+
**/
|
|
449
|
+
submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<(equivocationProof: SpConsensusBeefyEquivocationProof, keyOwnerProof: SpConsensusBeefyOpaqueKeyOwnershipProof) => Promise<[] | undefined>>;
|
|
450
|
+
/**
|
|
451
|
+
* Generates a proof of key ownership for the given authority in the
|
|
452
|
+
* given set. An example usage of this module is coupled with the
|
|
453
|
+
* session historical module to prove that a given authority key is
|
|
454
|
+
* tied to a given staking identity during a specific session. Proofs
|
|
455
|
+
* of key ownership are necessary for submitting equivocation reports.
|
|
456
|
+
* NOTE: even though the API takes a `set_id` as parameter the current
|
|
457
|
+
* implementations ignores this parameter and instead relies on this
|
|
458
|
+
* method being called at the correct block height, i.e. any point at
|
|
459
|
+
* which the given set id is live on-chain. Future implementations will
|
|
460
|
+
* instead use indexed data through an offchain worker, not requiring
|
|
461
|
+
* older states to be available.
|
|
462
|
+
*
|
|
463
|
+
* @callname: BeefyApi_generate_key_ownership_proof
|
|
464
|
+
* @param {bigint} set_id
|
|
465
|
+
* @param {SpConsensusBeefyEcdsaCryptoPublic} authority_id
|
|
466
|
+
**/
|
|
467
|
+
generateKeyOwnershipProof: GenericRuntimeApiMethod<(setId: bigint, authorityId: SpConsensusBeefyEcdsaCryptoPublic) => Promise<SpConsensusBeefyOpaqueKeyOwnershipProof | undefined>>;
|
|
468
|
+
/**
|
|
469
|
+
* Generic runtime api call
|
|
470
|
+
**/
|
|
471
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* @runtimeapi: MmrApi - 0x91d5df18b0d2cf58
|
|
475
|
+
**/
|
|
476
|
+
mmrApi: {
|
|
477
|
+
/**
|
|
478
|
+
* Return the on-chain MMR root hash.
|
|
479
|
+
*
|
|
480
|
+
* @callname: MmrApi_mmr_root
|
|
481
|
+
**/
|
|
482
|
+
mmrRoot: GenericRuntimeApiMethod<() => Promise<Result<H256, SpMmrPrimitivesError>>>;
|
|
483
|
+
/**
|
|
484
|
+
* Return the number of MMR blocks in the chain.
|
|
485
|
+
*
|
|
486
|
+
* @callname: MmrApi_mmr_leaf_count
|
|
487
|
+
**/
|
|
488
|
+
mmrLeafCount: GenericRuntimeApiMethod<() => Promise<Result<bigint, SpMmrPrimitivesError>>>;
|
|
489
|
+
/**
|
|
490
|
+
* Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,
|
|
491
|
+
* use historical MMR state at given block height `n`. Else, use current MMR state.
|
|
492
|
+
*
|
|
493
|
+
* @callname: MmrApi_generate_proof
|
|
494
|
+
* @param {Array<number>} block_numbers
|
|
495
|
+
* @param {number | undefined} best_known_block_number
|
|
496
|
+
**/
|
|
497
|
+
generateProof: GenericRuntimeApiMethod<(blockNumbers: Array<number>, bestKnownBlockNumber?: number | undefined) => Promise<Result<[Array<SpMmrPrimitivesEncodableOpaqueLeaf>, SpMmrPrimitivesProof], SpMmrPrimitivesError>>>;
|
|
498
|
+
/**
|
|
499
|
+
* Verify MMR proof against on-chain MMR for a batch of leaves.
|
|
500
|
+
*
|
|
501
|
+
* Note this function will use on-chain MMR root hash and check if the proof matches the hash.
|
|
502
|
+
* Note, the leaves should be sorted such that corresponding leaves and leaf indices have the
|
|
503
|
+
* same position in both the `leaves` vector and the `leaf_indices` vector contained in the [Proof]
|
|
504
|
+
*
|
|
505
|
+
* @callname: MmrApi_verify_proof
|
|
506
|
+
* @param {Array<SpMmrPrimitivesEncodableOpaqueLeaf>} leaves
|
|
507
|
+
* @param {SpMmrPrimitivesProof} proof
|
|
508
|
+
**/
|
|
509
|
+
verifyProof: GenericRuntimeApiMethod<(leaves: Array<SpMmrPrimitivesEncodableOpaqueLeaf>, proof: SpMmrPrimitivesProof) => Promise<Result<[], SpMmrPrimitivesError>>>;
|
|
510
|
+
/**
|
|
511
|
+
* Verify MMR proof against given root hash for a batch of leaves.
|
|
512
|
+
*
|
|
513
|
+
* Note this function does not require any on-chain storage - the
|
|
514
|
+
* proof is verified against given MMR root hash.
|
|
515
|
+
*
|
|
516
|
+
* Note, the leaves should be sorted such that corresponding leaves and leaf indices have the
|
|
517
|
+
* same position in both the `leaves` vector and the `leaf_indices` vector contained in the [Proof]
|
|
518
|
+
*
|
|
519
|
+
* @callname: MmrApi_verify_proof_stateless
|
|
520
|
+
* @param {H256} root
|
|
521
|
+
* @param {Array<SpMmrPrimitivesEncodableOpaqueLeaf>} leaves
|
|
522
|
+
* @param {SpMmrPrimitivesProof} proof
|
|
523
|
+
**/
|
|
524
|
+
verifyProofStateless: GenericRuntimeApiMethod<(root: H256, leaves: Array<SpMmrPrimitivesEncodableOpaqueLeaf>, proof: SpMmrPrimitivesProof) => Promise<Result<[], SpMmrPrimitivesError>>>;
|
|
525
|
+
/**
|
|
526
|
+
* Generic runtime api call
|
|
527
|
+
**/
|
|
528
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* @runtimeapi: BeefyMmrApi - 0x2a5e924655399e60
|
|
532
|
+
**/
|
|
533
|
+
beefyMmrApi: {
|
|
534
|
+
/**
|
|
535
|
+
* Return the currently active BEEFY authority set proof.
|
|
536
|
+
*
|
|
537
|
+
* @callname: BeefyMmrApi_authority_set_proof
|
|
538
|
+
**/
|
|
539
|
+
authoritySetProof: GenericRuntimeApiMethod<() => Promise<SpConsensusBeefyMmrBeefyAuthoritySet>>;
|
|
540
|
+
/**
|
|
541
|
+
* Return the next/queued BEEFY authority set proof.
|
|
542
|
+
*
|
|
543
|
+
* @callname: BeefyMmrApi_next_authority_set_proof
|
|
544
|
+
**/
|
|
545
|
+
nextAuthoritySetProof: GenericRuntimeApiMethod<() => Promise<SpConsensusBeefyMmrBeefyAuthoritySet>>;
|
|
546
|
+
/**
|
|
547
|
+
* Generic runtime api call
|
|
548
|
+
**/
|
|
549
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* @runtimeapi: GrandpaApi - 0xed99c5acb25eedf5
|
|
553
|
+
**/
|
|
554
|
+
grandpaApi: {
|
|
555
|
+
/**
|
|
556
|
+
* Get the current GRANDPA authorities and weights. This should not change except
|
|
557
|
+
* for when changes are scheduled and the corresponding delay has passed.
|
|
558
|
+
*
|
|
559
|
+
* When called at block B, it will return the set of authorities that should be
|
|
560
|
+
* used to finalize descendants of this block (B+1, B+2, ...). The block B itself
|
|
561
|
+
* is finalized by the authorities from block B-1.
|
|
562
|
+
*
|
|
563
|
+
* @callname: GrandpaApi_grandpa_authorities
|
|
564
|
+
**/
|
|
565
|
+
grandpaAuthorities: GenericRuntimeApiMethod<() => Promise<Array<[SpConsensusGrandpaAppPublic, bigint]>>>;
|
|
566
|
+
/**
|
|
567
|
+
* Submits an unsigned extrinsic to report an equivocation. The caller
|
|
568
|
+
* must provide the equivocation proof and a key ownership proof
|
|
569
|
+
* (should be obtained using `generate_key_ownership_proof`). The
|
|
570
|
+
* extrinsic will be unsigned and should only be accepted for local
|
|
571
|
+
* authorship (not to be broadcast to the network). This method returns
|
|
572
|
+
* `None` when creation of the extrinsic fails, e.g. if equivocation
|
|
573
|
+
* reporting is disabled for the given runtime (i.e. this method is
|
|
574
|
+
* hardcoded to return `None`). Only useful in an offchain context.
|
|
575
|
+
*
|
|
576
|
+
* @callname: GrandpaApi_submit_report_equivocation_unsigned_extrinsic
|
|
577
|
+
* @param {SpConsensusGrandpaEquivocationProof} equivocation_proof
|
|
578
|
+
* @param {SpConsensusGrandpaOpaqueKeyOwnershipProof} key_owner_proof
|
|
579
|
+
**/
|
|
580
|
+
submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<(equivocationProof: SpConsensusGrandpaEquivocationProof, keyOwnerProof: SpConsensusGrandpaOpaqueKeyOwnershipProof) => Promise<[] | undefined>>;
|
|
581
|
+
/**
|
|
582
|
+
* Generates a proof of key ownership for the given authority in the
|
|
583
|
+
* given set. An example usage of this module is coupled with the
|
|
584
|
+
* session historical module to prove that a given authority key is
|
|
585
|
+
* tied to a given staking identity during a specific session. Proofs
|
|
586
|
+
* of key ownership are necessary for submitting equivocation reports.
|
|
587
|
+
* NOTE: even though the API takes a `set_id` as parameter the current
|
|
588
|
+
* implementations ignore this parameter and instead rely on this
|
|
589
|
+
* method being called at the correct block height, i.e. any point at
|
|
590
|
+
* which the given set id is live on-chain. Future implementations will
|
|
591
|
+
* instead use indexed data through an offchain worker, not requiring
|
|
592
|
+
* older states to be available.
|
|
593
|
+
*
|
|
594
|
+
* @callname: GrandpaApi_generate_key_ownership_proof
|
|
595
|
+
* @param {bigint} set_id
|
|
596
|
+
* @param {SpConsensusGrandpaAppPublic} authority_id
|
|
597
|
+
**/
|
|
598
|
+
generateKeyOwnershipProof: GenericRuntimeApiMethod<(setId: bigint, authorityId: SpConsensusGrandpaAppPublic) => Promise<SpConsensusGrandpaOpaqueKeyOwnershipProof | undefined>>;
|
|
599
|
+
/**
|
|
600
|
+
* Get current GRANDPA authority set id.
|
|
601
|
+
*
|
|
602
|
+
* @callname: GrandpaApi_current_set_id
|
|
603
|
+
**/
|
|
604
|
+
currentSetId: GenericRuntimeApiMethod<() => Promise<bigint>>;
|
|
605
|
+
/**
|
|
606
|
+
* Generic runtime api call
|
|
607
|
+
**/
|
|
608
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
609
|
+
};
|
|
610
|
+
/**
|
|
611
|
+
* @runtimeapi: BabeApi - 0xcbca25e39f142387
|
|
612
|
+
**/
|
|
613
|
+
babeApi: {
|
|
614
|
+
/**
|
|
615
|
+
* Return the configuration for BABE.
|
|
616
|
+
*
|
|
617
|
+
* @callname: BabeApi_configuration
|
|
618
|
+
**/
|
|
619
|
+
configuration: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeBabeConfiguration>>;
|
|
620
|
+
/**
|
|
621
|
+
* Returns the slot that started the current epoch.
|
|
622
|
+
*
|
|
623
|
+
* @callname: BabeApi_current_epoch_start
|
|
624
|
+
**/
|
|
625
|
+
currentEpochStart: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlot>>;
|
|
626
|
+
/**
|
|
627
|
+
* Returns information regarding the current epoch.
|
|
628
|
+
*
|
|
629
|
+
* @callname: BabeApi_current_epoch
|
|
630
|
+
**/
|
|
631
|
+
currentEpoch: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeEpoch>>;
|
|
632
|
+
/**
|
|
633
|
+
* Returns information regarding the next epoch (which was already
|
|
634
|
+
* previously announced).
|
|
635
|
+
*
|
|
636
|
+
* @callname: BabeApi_next_epoch
|
|
637
|
+
**/
|
|
638
|
+
nextEpoch: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeEpoch>>;
|
|
639
|
+
/**
|
|
640
|
+
* Generates a proof of key ownership for the given authority in the
|
|
641
|
+
* current epoch. An example usage of this module is coupled with the
|
|
642
|
+
* session historical module to prove that a given authority key is
|
|
643
|
+
* tied to a given staking identity during a specific session. Proofs
|
|
644
|
+
* of key ownership are necessary for submitting equivocation reports.
|
|
645
|
+
* NOTE: even though the API takes a `slot` as parameter the current
|
|
646
|
+
* implementations ignores this parameter and instead relies on this
|
|
647
|
+
* method being called at the correct block height, i.e. any point at
|
|
648
|
+
* which the epoch for the given slot is live on-chain. Future
|
|
649
|
+
* implementations will instead use indexed data through an offchain
|
|
650
|
+
* worker, not requiring older states to be available.
|
|
651
|
+
*
|
|
652
|
+
* @callname: BabeApi_generate_key_ownership_proof
|
|
653
|
+
* @param {SpConsensusSlotsSlot} slot
|
|
654
|
+
* @param {SpConsensusBabeAppPublic} authority_id
|
|
655
|
+
**/
|
|
656
|
+
generateKeyOwnershipProof: GenericRuntimeApiMethod<(slot: SpConsensusSlotsSlot, authorityId: SpConsensusBabeAppPublic) => Promise<SpConsensusBabeOpaqueKeyOwnershipProof | undefined>>;
|
|
657
|
+
/**
|
|
658
|
+
* Submits an unsigned extrinsic to report an equivocation. The caller
|
|
659
|
+
* must provide the equivocation proof and a key ownership proof
|
|
660
|
+
* (should be obtained using `generate_key_ownership_proof`). The
|
|
661
|
+
* extrinsic will be unsigned and should only be accepted for local
|
|
662
|
+
* authorship (not to be broadcast to the network). This method returns
|
|
663
|
+
* `None` when creation of the extrinsic fails, e.g. if equivocation
|
|
664
|
+
* reporting is disabled for the given runtime (i.e. this method is
|
|
665
|
+
* hardcoded to return `None`). Only useful in an offchain context.
|
|
666
|
+
*
|
|
667
|
+
* @callname: BabeApi_submit_report_equivocation_unsigned_extrinsic
|
|
668
|
+
* @param {SpConsensusSlotsEquivocationProof} equivocation_proof
|
|
669
|
+
* @param {SpConsensusBabeOpaqueKeyOwnershipProof} key_owner_proof
|
|
670
|
+
**/
|
|
671
|
+
submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<(equivocationProof: SpConsensusSlotsEquivocationProof, keyOwnerProof: SpConsensusBabeOpaqueKeyOwnershipProof) => Promise<[] | undefined>>;
|
|
672
|
+
/**
|
|
673
|
+
* Generic runtime api call
|
|
674
|
+
**/
|
|
675
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* @runtimeapi: AuthorityDiscoveryApi - 0x687ad44ad37f03c2
|
|
679
|
+
**/
|
|
680
|
+
authorityDiscoveryApi: {
|
|
681
|
+
/**
|
|
682
|
+
* Retrieve authority identifiers of the current and next authority set.
|
|
683
|
+
*
|
|
684
|
+
* @callname: AuthorityDiscoveryApi_authorities
|
|
685
|
+
**/
|
|
686
|
+
authorities: GenericRuntimeApiMethod<() => Promise<Array<SpAuthorityDiscoveryAppPublic>>>;
|
|
687
|
+
/**
|
|
688
|
+
* Generic runtime api call
|
|
689
|
+
**/
|
|
690
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
691
|
+
};
|
|
692
|
+
/**
|
|
693
|
+
* @runtimeapi: SessionKeys - 0xab3c0572291feb8b
|
|
694
|
+
**/
|
|
695
|
+
sessionKeys: {
|
|
696
|
+
/**
|
|
697
|
+
* Generate a set of session keys with optionally using the given seed.
|
|
698
|
+
* The keys should be stored within the keystore exposed via runtime
|
|
699
|
+
* externalities.
|
|
700
|
+
*
|
|
701
|
+
* The seed needs to be a valid `utf8` string.
|
|
702
|
+
*
|
|
703
|
+
* Returns the concatenated SCALE encoded public keys.
|
|
704
|
+
*
|
|
705
|
+
* @callname: SessionKeys_generate_session_keys
|
|
706
|
+
* @param {BytesLike | undefined} seed
|
|
707
|
+
**/
|
|
708
|
+
generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
|
|
709
|
+
/**
|
|
710
|
+
* Decode the given public session keys.
|
|
711
|
+
*
|
|
712
|
+
* Returns the list of public raw public keys + key type.
|
|
713
|
+
*
|
|
714
|
+
* @callname: SessionKeys_decode_session_keys
|
|
715
|
+
* @param {BytesLike} encoded
|
|
716
|
+
**/
|
|
717
|
+
decodeSessionKeys: GenericRuntimeApiMethod<(encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>>;
|
|
718
|
+
/**
|
|
719
|
+
* Generic runtime api call
|
|
720
|
+
**/
|
|
721
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
|
|
725
|
+
**/
|
|
726
|
+
accountNonceApi: {
|
|
727
|
+
/**
|
|
728
|
+
* Get current account nonce of given `AccountId`.
|
|
729
|
+
*
|
|
730
|
+
* @callname: AccountNonceApi_account_nonce
|
|
731
|
+
* @param {AccountId32Like} account
|
|
732
|
+
**/
|
|
733
|
+
accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
|
|
734
|
+
/**
|
|
735
|
+
* Generic runtime api call
|
|
736
|
+
**/
|
|
737
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
738
|
+
};
|
|
739
|
+
/**
|
|
740
|
+
* @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
|
|
741
|
+
**/
|
|
742
|
+
transactionPaymentApi: {
|
|
743
|
+
/**
|
|
744
|
+
*
|
|
745
|
+
* @callname: TransactionPaymentApi_query_info
|
|
746
|
+
* @param {UncheckedExtrinsicLike} uxt
|
|
747
|
+
* @param {number} len
|
|
748
|
+
**/
|
|
749
|
+
queryInfo: GenericRuntimeApiMethod<(uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>>;
|
|
750
|
+
/**
|
|
751
|
+
*
|
|
752
|
+
* @callname: TransactionPaymentApi_query_fee_details
|
|
753
|
+
* @param {UncheckedExtrinsicLike} uxt
|
|
754
|
+
* @param {number} len
|
|
755
|
+
**/
|
|
756
|
+
queryFeeDetails: GenericRuntimeApiMethod<(uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>>;
|
|
757
|
+
/**
|
|
758
|
+
*
|
|
759
|
+
* @callname: TransactionPaymentApi_query_weight_to_fee
|
|
760
|
+
* @param {SpWeightsWeightV2Weight} weight
|
|
761
|
+
**/
|
|
762
|
+
queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @callname: TransactionPaymentApi_query_length_to_fee
|
|
766
|
+
* @param {number} length
|
|
767
|
+
**/
|
|
768
|
+
queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
|
|
769
|
+
/**
|
|
770
|
+
* Generic runtime api call
|
|
771
|
+
**/
|
|
772
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
|
|
776
|
+
**/
|
|
777
|
+
transactionPaymentCallApi: {
|
|
778
|
+
/**
|
|
779
|
+
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
|
780
|
+
*
|
|
781
|
+
* @callname: TransactionPaymentCallApi_query_call_info
|
|
782
|
+
* @param {PolkadotRuntimeRuntimeCallLike} call
|
|
783
|
+
* @param {number} len
|
|
784
|
+
**/
|
|
785
|
+
queryCallInfo: GenericRuntimeApiMethod<(call: PolkadotRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>>;
|
|
786
|
+
/**
|
|
787
|
+
* Query fee details of a given encoded `Call`.
|
|
788
|
+
*
|
|
789
|
+
* @callname: TransactionPaymentCallApi_query_call_fee_details
|
|
790
|
+
* @param {PolkadotRuntimeRuntimeCallLike} call
|
|
791
|
+
* @param {number} len
|
|
792
|
+
**/
|
|
793
|
+
queryCallFeeDetails: GenericRuntimeApiMethod<(call: PolkadotRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>>;
|
|
794
|
+
/**
|
|
795
|
+
* Query the output of the current `WeightToFee` given some input.
|
|
796
|
+
*
|
|
797
|
+
* @callname: TransactionPaymentCallApi_query_weight_to_fee
|
|
798
|
+
* @param {SpWeightsWeightV2Weight} weight
|
|
799
|
+
**/
|
|
800
|
+
queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
|
|
801
|
+
/**
|
|
802
|
+
* Query the output of the current `LengthToFee` given some input.
|
|
803
|
+
*
|
|
804
|
+
* @callname: TransactionPaymentCallApi_query_length_to_fee
|
|
805
|
+
* @param {number} length
|
|
806
|
+
**/
|
|
807
|
+
queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
|
|
808
|
+
/**
|
|
809
|
+
* Generic runtime api call
|
|
810
|
+
**/
|
|
811
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
812
|
+
};
|
|
813
|
+
/**
|
|
814
|
+
* @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
|
|
815
|
+
**/
|
|
816
|
+
genesisBuilder: {
|
|
817
|
+
/**
|
|
818
|
+
* Creates the default `GenesisConfig` and returns it as a JSON blob.
|
|
819
|
+
*
|
|
820
|
+
* This function instantiates the default `GenesisConfig` struct for the runtime and serializes it into a JSON
|
|
821
|
+
* blob. It returns a `Vec<u8>` containing the JSON representation of the default `GenesisConfig`.
|
|
822
|
+
*
|
|
823
|
+
* @callname: GenesisBuilder_create_default_config
|
|
824
|
+
**/
|
|
825
|
+
createDefaultConfig: GenericRuntimeApiMethod<() => Promise<Bytes>>;
|
|
826
|
+
/**
|
|
827
|
+
* Build `GenesisConfig` from a JSON blob not using any defaults and store it in the storage.
|
|
828
|
+
*
|
|
829
|
+
* This function deserializes the full `GenesisConfig` from the given JSON blob and puts it into the storage.
|
|
830
|
+
* If the provided JSON blob is incorrect or incomplete or the deserialization fails, an error is returned.
|
|
831
|
+
* It is recommended to log any errors encountered during the process.
|
|
832
|
+
*
|
|
833
|
+
* Please note that provided json blob must contain all `GenesisConfig` fields, no defaults will be used.
|
|
834
|
+
*
|
|
835
|
+
* @callname: GenesisBuilder_build_config
|
|
836
|
+
* @param {BytesLike} json
|
|
837
|
+
**/
|
|
838
|
+
buildConfig: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
|
|
839
|
+
/**
|
|
840
|
+
* Generic runtime api call
|
|
841
|
+
**/
|
|
842
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
843
|
+
};
|
|
844
|
+
}
|