@pezkuwi/api-augment 16.5.5 → 16.5.6
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/assetHubDicle/consts.js +2 -0
- package/assetHubDicle/errors.js +2 -0
- package/assetHubDicle/events.js +2 -0
- package/assetHubDicle/query.js +2 -0
- package/assetHubDicle/registry.js +1 -0
- package/assetHubDicle/runtime.js +2 -0
- package/assetHubDicle/tx.js +2 -0
- package/assetHubPezkuwi/consts.js +2 -0
- package/assetHubPezkuwi/errors.js +2 -0
- package/assetHubPezkuwi/events.js +2 -0
- package/{src/assetHubKusama/index.ts → assetHubPezkuwi/index.js} +0 -3
- package/assetHubPezkuwi/query.js +2 -0
- package/assetHubPezkuwi/registry.js +1 -0
- package/assetHubPezkuwi/runtime.js +2 -0
- package/assetHubPezkuwi/tx.js +2 -0
- package/base.js +2 -0
- package/{build/substrate → bizinikiwi}/consts.d.ts +31 -31
- package/bizinikiwi/consts.js +2 -0
- package/{build/substrate → bizinikiwi}/errors.d.ts +2 -2
- package/bizinikiwi/errors.js +2 -0
- package/{build/substrate → bizinikiwi}/events.d.ts +236 -236
- package/bizinikiwi/events.js +2 -0
- package/{src/kusama/index.ts → bizinikiwi/index.d.ts} +0 -3
- package/{src/assetHubPolkadot/index.ts → bizinikiwi/index.js} +0 -3
- package/{build/substrate → bizinikiwi}/query.d.ts +194 -194
- package/bizinikiwi/query.js +2 -0
- package/bizinikiwi/registry.d.ts +1 -0
- package/bizinikiwi/registry.js +1 -0
- package/{build/substrate → bizinikiwi}/runtime.d.ts +64 -220
- package/bizinikiwi/runtime.js +2 -0
- package/{build/substrate → bizinikiwi}/tx.d.ts +160 -870
- package/bizinikiwi/tx.js +2 -0
- package/{build/bundle.d.ts → bundle.d.ts} +1 -1
- package/bundle.js +2 -0
- package/cjs/assetHubDicle/consts.js +4 -0
- package/cjs/assetHubDicle/errors.js +4 -0
- package/cjs/assetHubDicle/events.js +4 -0
- package/cjs/assetHubDicle/index.js +10 -0
- package/cjs/assetHubDicle/query.js +4 -0
- package/cjs/assetHubDicle/registry.js +3 -0
- package/cjs/assetHubDicle/runtime.js +4 -0
- package/cjs/assetHubDicle/tx.js +4 -0
- package/cjs/assetHubPezkuwi/consts.js +4 -0
- package/cjs/assetHubPezkuwi/errors.js +4 -0
- package/cjs/assetHubPezkuwi/events.js +4 -0
- package/cjs/assetHubPezkuwi/index.js +10 -0
- package/cjs/assetHubPezkuwi/query.js +4 -0
- package/cjs/assetHubPezkuwi/registry.js +3 -0
- package/cjs/assetHubPezkuwi/runtime.js +4 -0
- package/cjs/assetHubPezkuwi/tx.js +4 -0
- package/cjs/base.d.ts +2 -0
- package/cjs/base.js +4 -0
- package/cjs/bizinikiwi/consts.d.ts +1876 -0
- package/cjs/bizinikiwi/consts.js +4 -0
- package/cjs/bizinikiwi/errors.d.ts +3865 -0
- package/cjs/bizinikiwi/errors.js +4 -0
- package/cjs/bizinikiwi/events.d.ts +4702 -0
- package/cjs/bizinikiwi/events.js +4 -0
- package/cjs/bizinikiwi/index.d.ts +8 -0
- package/cjs/bizinikiwi/index.js +10 -0
- package/cjs/bizinikiwi/query.d.ts +2767 -0
- package/cjs/bizinikiwi/query.js +4 -0
- package/cjs/bizinikiwi/registry.d.ts +1 -0
- package/cjs/bizinikiwi/registry.js +3 -0
- package/cjs/bizinikiwi/runtime.d.ts +585 -0
- package/cjs/bizinikiwi/runtime.js +4 -0
- package/cjs/bizinikiwi/tx.d.ts +10159 -0
- package/cjs/bizinikiwi/tx.js +4 -0
- package/cjs/bundle.d.ts +2 -0
- package/cjs/bundle.js +6 -0
- package/cjs/dicle/consts.js +4 -0
- package/cjs/dicle/errors.js +4 -0
- package/cjs/dicle/events.js +4 -0
- package/cjs/dicle/query.js +4 -0
- package/cjs/dicle/runtime.js +4 -0
- package/cjs/dicle/tx.js +4 -0
- package/cjs/index.js +5 -0
- package/cjs/package.json +3 -0
- package/cjs/packageDetect.js +8 -0
- package/cjs/packageInfo.js +4 -0
- package/cjs/pezkuwi/consts.d.ts +941 -0
- package/cjs/pezkuwi/consts.js +4 -0
- package/cjs/pezkuwi/errors.d.ts +2148 -0
- package/cjs/pezkuwi/errors.js +4 -0
- package/cjs/pezkuwi/events.d.ts +2473 -0
- package/cjs/pezkuwi/events.js +4 -0
- package/cjs/pezkuwi/index.d.ts +8 -0
- package/cjs/pezkuwi/index.js +10 -0
- package/cjs/pezkuwi/query.d.ts +2400 -0
- package/cjs/pezkuwi/query.js +4 -0
- package/cjs/pezkuwi/registry.d.ts +2 -0
- package/cjs/pezkuwi/registry.js +4 -0
- package/cjs/pezkuwi/runtime.d.ts +655 -0
- package/cjs/pezkuwi/runtime.js +4 -0
- package/cjs/pezkuwi/tx.d.ts +4954 -0
- package/cjs/pezkuwi/tx.js +4 -0
- package/dicle/consts.js +2 -0
- package/dicle/errors.js +2 -0
- package/dicle/events.js +2 -0
- package/dicle/query.js +2 -0
- package/dicle/runtime.js +2 -0
- package/dicle/tx.js +2 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +437 -9
- package/packageDetect.d.ts +1 -0
- package/{src/packageDetect.ts → packageDetect.js} +0 -8
- package/packageInfo.d.ts +6 -0
- package/packageInfo.js +1 -0
- package/pezkuwi/consts.d.ts +941 -0
- package/pezkuwi/consts.js +2 -0
- package/pezkuwi/errors.d.ts +2148 -0
- package/pezkuwi/errors.js +2 -0
- package/pezkuwi/events.d.ts +2473 -0
- package/pezkuwi/events.js +2 -0
- package/pezkuwi/index.d.ts +8 -0
- package/pezkuwi/index.js +8 -0
- package/pezkuwi/query.d.ts +2400 -0
- package/pezkuwi/query.js +2 -0
- package/pezkuwi/registry.d.ts +2 -0
- package/pezkuwi/registry.js +2 -0
- package/pezkuwi/runtime.d.ts +655 -0
- package/pezkuwi/runtime.js +2 -0
- package/pezkuwi/tx.d.ts +4954 -0
- package/pezkuwi/tx.js +2 -0
- package/build/substrate/registry.d.ts +0 -1
- package/src/assetHubKusama/consts.ts +0 -1308
- package/src/assetHubKusama/errors.ts +0 -2779
- package/src/assetHubKusama/events.ts +0 -2296
- package/src/assetHubKusama/query.ts +0 -2193
- package/src/assetHubKusama/registry.ts +0 -4
- package/src/assetHubKusama/runtime.ts +0 -518
- package/src/assetHubKusama/tx.ts +0 -6890
- package/src/assetHubPolkadot/consts.ts +0 -1125
- package/src/assetHubPolkadot/errors.ts +0 -2360
- package/src/assetHubPolkadot/events.ts +0 -2129
- package/src/assetHubPolkadot/query.ts +0 -2002
- package/src/assetHubPolkadot/registry.ts +0 -4
- package/src/assetHubPolkadot/runtime.ts +0 -443
- package/src/assetHubPolkadot/tx.ts +0 -6242
- package/src/base.ts +0 -6
- package/src/bundle.ts +0 -6
- package/src/index.ts +0 -6
- package/src/kusama/consts.ts +0 -1035
- package/src/kusama/errors.ts +0 -2436
- package/src/kusama/events.ts +0 -1791
- package/src/kusama/query.ts +0 -2505
- package/src/kusama/registry.ts +0 -6
- package/src/kusama/runtime.ts +0 -610
- package/src/kusama/tx.ts +0 -4725
- package/src/mod.ts +0 -4
- package/src/packageInfo.ts +0 -6
- package/src/polkadot/consts.ts +0 -949
- package/src/polkadot/errors.ts +0 -2156
- package/src/polkadot/events.ts +0 -1600
- package/src/polkadot/index.ts +0 -11
- package/src/polkadot/query.ts +0 -2357
- package/src/polkadot/registry.ts +0 -5
- package/src/polkadot/runtime.ts +0 -621
- package/src/polkadot/tx.ts +0 -4240
- package/src/substrate/consts.ts +0 -1884
- package/src/substrate/errors.ts +0 -3873
- package/src/substrate/events.ts +0 -2889
- package/src/substrate/index.ts +0 -11
- package/src/substrate/query.ts +0 -2734
- package/src/substrate/registry.ts +0 -4
- package/src/substrate/runtime.ts +0 -593
- package/src/substrate/tx.ts +0 -8208
- package/tsconfig.assetHubKusama.json +0 -22
- package/tsconfig.assetHubPolkadot.json +0 -22
- package/tsconfig.build.json +0 -23
- package/tsconfig.build.tsbuildinfo +0 -1
- package/tsconfig.kusama.json +0 -22
- package/tsconfig.polkadot.json +0 -22
- /package/{build/substrate/index.d.ts → assetHubDicle/index.js} +0 -0
- /package/{build/base.d.ts → base.d.ts} +0 -0
- /package/{build → cjs}/index.d.ts +0 -0
- /package/{build → cjs}/packageDetect.d.ts +0 -0
- /package/{build → cjs}/packageInfo.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@pezkuwi/types-augment/registry/bizinikiwi';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@pezkuwi/types-augment/registry/bizinikiwi';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '@
|
|
1
|
+
import '@pezkuwi/api-base/types/calls';
|
|
2
2
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@pezkuwi/api-base/types';
|
|
3
3
|
import type { Bytes, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u32, u64 } from '@pezkuwi/types-codec';
|
|
4
4
|
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
|
@@ -6,11 +6,11 @@ import type { OpaqueKeyOwnershipProof } from '@pezkuwi/types/interfaces/babe';
|
|
|
6
6
|
import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
|
7
7
|
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
|
8
8
|
import type { AccountId32, H160, H256, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
|
9
|
-
import type {
|
|
9
|
+
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';
|
|
10
10
|
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
|
11
11
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
12
12
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
13
|
-
declare module '@
|
|
13
|
+
declare module '@pezkuwi/api-base/types/calls' {
|
|
14
14
|
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
15
15
|
/** 0xbc9d89904f5b923f/ */
|
|
16
16
|
accountNonceApi: {
|
|
@@ -28,39 +28,15 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
28
28
|
/**
|
|
29
29
|
* Returns the size of the liquidity pool for the given asset pair.
|
|
30
30
|
**/
|
|
31
|
-
getReserves: AugmentedCall<ApiType, (asset1:
|
|
32
|
-
Native: any;
|
|
33
|
-
} | {
|
|
34
|
-
WithId: any;
|
|
35
|
-
} | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
36
|
-
Native: any;
|
|
37
|
-
} | {
|
|
38
|
-
WithId: any;
|
|
39
|
-
} | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
|
|
31
|
+
getReserves: AugmentedCall<ApiType, (asset1: PezframeSupportTokensFungibleUnionOfNativeOrWithId, asset2: PezframeSupportTokensFungibleUnionOfNativeOrWithId) => Observable<Option<ITuple<[u128, u128]>>>>;
|
|
40
32
|
/**
|
|
41
33
|
* 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.)
|
|
42
34
|
**/
|
|
43
|
-
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1:
|
|
44
|
-
Native: any;
|
|
45
|
-
} | {
|
|
46
|
-
WithId: any;
|
|
47
|
-
} | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
48
|
-
Native: any;
|
|
49
|
-
} | {
|
|
50
|
-
WithId: any;
|
|
51
|
-
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
|
35
|
+
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: PezframeSupportTokensFungibleUnionOfNativeOrWithId, asset2: PezframeSupportTokensFungibleUnionOfNativeOrWithId, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
|
52
36
|
/**
|
|
53
37
|
* 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.)
|
|
54
38
|
**/
|
|
55
|
-
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1:
|
|
56
|
-
Native: any;
|
|
57
|
-
} | {
|
|
58
|
-
WithId: any;
|
|
59
|
-
} | string | Uint8Array, asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId | {
|
|
60
|
-
Native: any;
|
|
61
|
-
} | {
|
|
62
|
-
WithId: any;
|
|
63
|
-
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
|
39
|
+
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: PezframeSupportTokensFungibleUnionOfNativeOrWithId, asset2: PezframeSupportTokensFungibleUnionOfNativeOrWithId, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
|
64
40
|
/**
|
|
65
41
|
* Generic call
|
|
66
42
|
**/
|
|
@@ -93,7 +69,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
93
69
|
/**
|
|
94
70
|
* Retrieve authority identifiers of the current and next authority set.
|
|
95
71
|
**/
|
|
96
|
-
authorities: AugmentedCall<ApiType, () => Observable<Vec<
|
|
72
|
+
authorities: AugmentedCall<ApiType, () => Observable<Vec<PezspAuthorityDiscoveryAppPublic>>>;
|
|
97
73
|
/**
|
|
98
74
|
* Generic call
|
|
99
75
|
**/
|
|
@@ -104,11 +80,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
104
80
|
/**
|
|
105
81
|
* Return the configuration for BABE.
|
|
106
82
|
**/
|
|
107
|
-
configuration: AugmentedCall<ApiType, () => Observable<
|
|
83
|
+
configuration: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeBabeConfiguration>>;
|
|
108
84
|
/**
|
|
109
85
|
* Returns information regarding the current epoch.
|
|
110
86
|
**/
|
|
111
|
-
currentEpoch: AugmentedCall<ApiType, () => Observable<
|
|
87
|
+
currentEpoch: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeEpoch>>;
|
|
112
88
|
/**
|
|
113
89
|
* Returns the slot that started the current epoch.
|
|
114
90
|
**/
|
|
@@ -116,20 +92,15 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
116
92
|
/**
|
|
117
93
|
* 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.
|
|
118
94
|
**/
|
|
119
|
-
generateKeyOwnershipProof: AugmentedCall<ApiType, (slot: Slot | AnyNumber | Uint8Array, authority_id:
|
|
95
|
+
generateKeyOwnershipProof: AugmentedCall<ApiType, (slot: Slot | AnyNumber | Uint8Array, authority_id: PezspConsensusBabeAppPublic) => Observable<Option<Bytes>>>;
|
|
120
96
|
/**
|
|
121
97
|
* Returns information regarding the next epoch (which was already, previously announced).
|
|
122
98
|
**/
|
|
123
|
-
nextEpoch: AugmentedCall<ApiType, () => Observable<
|
|
99
|
+
nextEpoch: AugmentedCall<ApiType, () => Observable<PezspConsensusBabeEpoch>>;
|
|
124
100
|
/**
|
|
125
101
|
* 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.
|
|
126
102
|
**/
|
|
127
|
-
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof:
|
|
128
|
-
offender?: any;
|
|
129
|
-
slot?: any;
|
|
130
|
-
firstHeader?: any;
|
|
131
|
-
secondHeader?: any;
|
|
132
|
-
} | string | Uint8Array, key_owner_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
|
103
|
+
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusSlotsEquivocationProof, key_owner_proof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
|
133
104
|
/**
|
|
134
105
|
* Generic call
|
|
135
106
|
**/
|
|
@@ -148,32 +119,23 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
148
119
|
/**
|
|
149
120
|
* 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.
|
|
150
121
|
**/
|
|
151
|
-
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id:
|
|
122
|
+
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: PezspConsensusBeefyEcdsaCryptoPublic) => Observable<Option<Bytes>>>;
|
|
152
123
|
/**
|
|
153
124
|
* 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.
|
|
154
125
|
**/
|
|
155
|
-
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof:
|
|
156
|
-
first?: any;
|
|
157
|
-
second?: any;
|
|
158
|
-
} | string | Uint8Array, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
126
|
+
submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyDoubleVotingProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
159
127
|
/**
|
|
160
128
|
* 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.
|
|
161
129
|
**/
|
|
162
|
-
submitReportForkVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof:
|
|
163
|
-
vote?: any;
|
|
164
|
-
ancestryProof?: any;
|
|
165
|
-
header?: any;
|
|
166
|
-
} | string | Uint8Array, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
130
|
+
submitReportForkVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyForkVotingProofOpaqueValue, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
167
131
|
/**
|
|
168
132
|
* 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.
|
|
169
133
|
**/
|
|
170
|
-
submitReportFutureBlockVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof:
|
|
171
|
-
vote?: any;
|
|
172
|
-
} | string | Uint8Array, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
134
|
+
submitReportFutureBlockVotingUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusBeefyFutureBlockVotingProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
173
135
|
/**
|
|
174
136
|
* Return the current active BEEFY validator set
|
|
175
137
|
**/
|
|
176
|
-
validatorSet: AugmentedCall<ApiType, () => Observable<Option<
|
|
138
|
+
validatorSet: AugmentedCall<ApiType, () => Observable<Option<PezspConsensusBeefyValidatorSet>>>;
|
|
177
139
|
/**
|
|
178
140
|
* Generic call
|
|
179
141
|
**/
|
|
@@ -184,26 +146,19 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
184
146
|
/**
|
|
185
147
|
* Apply the given extrinsic.,, Returns an inclusion outcome which specifies if this extrinsic is included in, this block or not.
|
|
186
148
|
**/
|
|
187
|
-
applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<Result<Result<Null,
|
|
149
|
+
applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<Result<Result<Null, PezspRuntimeDispatchError>, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
|
188
150
|
/**
|
|
189
151
|
* Check that the inherents are valid. The inherent data will vary from chain to chain.
|
|
190
152
|
**/
|
|
191
|
-
checkInherents: AugmentedCall<ApiType, (block:
|
|
192
|
-
header?: any;
|
|
193
|
-
extrinsics?: any;
|
|
194
|
-
} | string | Uint8Array, data: SpInherentsInherentData | {
|
|
195
|
-
data?: any;
|
|
196
|
-
} | string | Uint8Array) => Observable<SpInherentsCheckInherentsResult>>;
|
|
153
|
+
checkInherents: AugmentedCall<ApiType, (block: PezspRuntimeBlock, data: PezspInherentsInherentData) => Observable<PezspInherentsCheckInherentsResult>>;
|
|
197
154
|
/**
|
|
198
155
|
* Finish the current block.
|
|
199
156
|
**/
|
|
200
|
-
finalizeBlock: AugmentedCall<ApiType, () => Observable<
|
|
157
|
+
finalizeBlock: AugmentedCall<ApiType, () => Observable<PezspRuntimeHeader>>;
|
|
201
158
|
/**
|
|
202
159
|
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
|
203
160
|
**/
|
|
204
|
-
inherentExtrinsics: AugmentedCall<ApiType, (inherent:
|
|
205
|
-
data?: any;
|
|
206
|
-
} | string | Uint8Array) => Observable<Vec<Bytes>>>;
|
|
161
|
+
inherentExtrinsics: AugmentedCall<ApiType, (inherent: PezspInherentsInherentData) => Observable<Vec<Bytes>>>;
|
|
207
162
|
/**
|
|
208
163
|
* Generic call
|
|
209
164
|
**/
|
|
@@ -214,36 +169,26 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
214
169
|
/**
|
|
215
170
|
* Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`].
|
|
216
171
|
**/
|
|
217
|
-
call: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, dest: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
readonly gasConsumed: SpWeightsWeightV2Weight;
|
|
222
|
-
readonly gasRequired: SpWeightsWeightV2Weight;
|
|
223
|
-
readonly storageDeposit: PalletContractsPrimitivesStorageDeposit;
|
|
172
|
+
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<{
|
|
173
|
+
readonly gasConsumed: PezspWeightsWeightV2Weight;
|
|
174
|
+
readonly gasRequired: PezspWeightsWeightV2Weight;
|
|
175
|
+
readonly storageDeposit: PezpalletContractsPrimitivesStorageDeposit;
|
|
224
176
|
readonly debugMessage: Bytes;
|
|
225
|
-
readonly result: Result<
|
|
226
|
-
readonly events: Option<Vec<
|
|
177
|
+
readonly result: Result<PezpalletContractsPrimitivesExecReturnValue, PezspRuntimeDispatchError>;
|
|
178
|
+
readonly events: Option<Vec<PezframeSystemEventRecord>>;
|
|
227
179
|
} & Struct>>;
|
|
228
180
|
/**
|
|
229
181
|
* 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.
|
|
230
182
|
**/
|
|
231
|
-
getStorage: AugmentedCall<ApiType, (address: AccountId32 | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Result<Option<Bytes>,
|
|
183
|
+
getStorage: AugmentedCall<ApiType, (address: AccountId32 | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Result<Option<Bytes>, PezpalletContractsPrimitivesContractAccessError>>>;
|
|
232
184
|
/**
|
|
233
185
|
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
|
|
234
186
|
**/
|
|
235
|
-
instantiate: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<
|
|
236
|
-
refTime?: any;
|
|
237
|
-
proofSize?: any;
|
|
238
|
-
} | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: PalletContractsPrimitivesCode | {
|
|
239
|
-
Upload: any;
|
|
240
|
-
} | {
|
|
241
|
-
Existing: any;
|
|
242
|
-
} | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => Observable<PalletContractsPrimitivesContractResult>>;
|
|
187
|
+
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>>;
|
|
243
188
|
/**
|
|
244
189
|
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
|
|
245
190
|
**/
|
|
246
|
-
uploadCode: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, code: Bytes | string | Uint8Array, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, determinism:
|
|
191
|
+
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>>>;
|
|
247
192
|
/**
|
|
248
193
|
* Generic call
|
|
249
194
|
**/
|
|
@@ -254,24 +199,15 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
254
199
|
/**
|
|
255
200
|
* Execute the given block.
|
|
256
201
|
**/
|
|
257
|
-
executeBlock: AugmentedCall<ApiType, (block:
|
|
258
|
-
header?: any;
|
|
259
|
-
extrinsics?: any;
|
|
260
|
-
} | string | Uint8Array) => Observable<Null>>;
|
|
202
|
+
executeBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock) => Observable<Null>>;
|
|
261
203
|
/**
|
|
262
204
|
* Initialize a block with the given header and return the runtime executive mode.
|
|
263
205
|
**/
|
|
264
|
-
initializeBlock: AugmentedCall<ApiType, (header:
|
|
265
|
-
parentHash?: any;
|
|
266
|
-
number?: any;
|
|
267
|
-
stateRoot?: any;
|
|
268
|
-
extrinsicsRoot?: any;
|
|
269
|
-
digest?: any;
|
|
270
|
-
} | string | Uint8Array) => Observable<SpRuntimeExtrinsicInclusionMode>>;
|
|
206
|
+
initializeBlock: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<PezspRuntimeExtrinsicInclusionMode>>;
|
|
271
207
|
/**
|
|
272
208
|
* Returns the version of the runtime.
|
|
273
209
|
**/
|
|
274
|
-
version: AugmentedCall<ApiType, () => Observable<
|
|
210
|
+
version: AugmentedCall<ApiType, () => Observable<PezspVersionRuntimeVersion>>;
|
|
275
211
|
/**
|
|
276
212
|
* Generic call
|
|
277
213
|
**/
|
|
@@ -305,18 +241,15 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
305
241
|
/**
|
|
306
242
|
* 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.
|
|
307
243
|
**/
|
|
308
|
-
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id:
|
|
244
|
+
generateKeyOwnershipProof: AugmentedCall<ApiType, (set_id: u64 | AnyNumber | Uint8Array, authority_id: PezspConsensusGrandpaAppPublic) => Observable<Option<Bytes>>>;
|
|
309
245
|
/**
|
|
310
246
|
* 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.
|
|
311
247
|
**/
|
|
312
|
-
grandpaAuthorities: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[
|
|
248
|
+
grandpaAuthorities: AugmentedCall<ApiType, () => Observable<Vec<ITuple<[PezspConsensusGrandpaAppPublic, u64]>>>>;
|
|
313
249
|
/**
|
|
314
250
|
* 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.
|
|
315
251
|
**/
|
|
316
|
-
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof:
|
|
317
|
-
setId?: any;
|
|
318
|
-
equivocation?: any;
|
|
319
|
-
} | string | Uint8Array, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
252
|
+
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocation_proof: PezspConsensusGrandpaEquivocationProof, key_owner_proof: Bytes | string | Uint8Array) => Observable<Option<Null>>>;
|
|
320
253
|
/**
|
|
321
254
|
* Generic call
|
|
322
255
|
**/
|
|
@@ -346,23 +279,19 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
346
279
|
/**
|
|
347
280
|
* Get the mixnode set for the current session.
|
|
348
281
|
**/
|
|
349
|
-
currentMixnodes: AugmentedCall<ApiType, () => Observable<Result<Vec<
|
|
282
|
+
currentMixnodes: AugmentedCall<ApiType, () => Observable<Result<Vec<PezspMixnetMixnode>, PezspMixnetMixnodesErr>>>;
|
|
350
283
|
/**
|
|
351
284
|
* 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.
|
|
352
285
|
**/
|
|
353
|
-
maybeRegister: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array, mixnode:
|
|
354
|
-
kxPublic?: any;
|
|
355
|
-
peerId?: any;
|
|
356
|
-
externalAddresses?: any;
|
|
357
|
-
} | string | Uint8Array) => Observable<bool>>;
|
|
286
|
+
maybeRegister: AugmentedCall<ApiType, (session_index: u32 | AnyNumber | Uint8Array, mixnode: PezspMixnetMixnode) => Observable<bool>>;
|
|
358
287
|
/**
|
|
359
288
|
* Get the mixnode set for the previous session.
|
|
360
289
|
**/
|
|
361
|
-
prevMixnodes: AugmentedCall<ApiType, () => Observable<Result<Vec<
|
|
290
|
+
prevMixnodes: AugmentedCall<ApiType, () => Observable<Result<Vec<PezspMixnetMixnode>, PezspMixnetMixnodesErr>>>;
|
|
362
291
|
/**
|
|
363
292
|
* Get the index and phase of the current session.
|
|
364
293
|
**/
|
|
365
|
-
sessionStatus: AugmentedCall<ApiType, () => Observable<
|
|
294
|
+
sessionStatus: AugmentedCall<ApiType, () => Observable<PezspMixnetSessionStatus>>;
|
|
366
295
|
/**
|
|
367
296
|
* Generic call
|
|
368
297
|
**/
|
|
@@ -373,31 +302,23 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
373
302
|
/**
|
|
374
303
|
* 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.
|
|
375
304
|
**/
|
|
376
|
-
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>,
|
|
305
|
+
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>>>;
|
|
377
306
|
/**
|
|
378
307
|
* Return the number of MMR blocks in the chain.
|
|
379
308
|
**/
|
|
380
|
-
mmrLeafCount: AugmentedCall<ApiType, () => Observable<Result<u64,
|
|
309
|
+
mmrLeafCount: AugmentedCall<ApiType, () => Observable<Result<u64, PezspMmrPrimitivesError>>>;
|
|
381
310
|
/**
|
|
382
311
|
* Return the on-chain MMR root hash.
|
|
383
312
|
**/
|
|
384
|
-
mmrRoot: AugmentedCall<ApiType, () => Observable<Result<H256,
|
|
313
|
+
mmrRoot: AugmentedCall<ApiType, () => Observable<Result<H256, PezspMmrPrimitivesError>>>;
|
|
385
314
|
/**
|
|
386
315
|
* 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]
|
|
387
316
|
**/
|
|
388
|
-
verifyProof: AugmentedCall<ApiType, (leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof:
|
|
389
|
-
leafIndices?: any;
|
|
390
|
-
leafCount?: any;
|
|
391
|
-
items?: any;
|
|
392
|
-
} | string | Uint8Array) => Observable<Result<Null, SpMmrPrimitivesError>>>;
|
|
317
|
+
verifyProof: AugmentedCall<ApiType, (leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof: PezspMmrPrimitivesLeafProof) => Observable<Result<Null, PezspMmrPrimitivesError>>>;
|
|
393
318
|
/**
|
|
394
319
|
* 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]
|
|
395
320
|
**/
|
|
396
|
-
verifyProofStateless: AugmentedCall<ApiType, (root: H256 | string | Uint8Array, leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof:
|
|
397
|
-
leafIndices?: any;
|
|
398
|
-
leafCount?: any;
|
|
399
|
-
items?: any;
|
|
400
|
-
} | string | Uint8Array) => Observable<Result<Null, SpMmrPrimitivesError>>>;
|
|
321
|
+
verifyProofStateless: AugmentedCall<ApiType, (root: H256 | string | Uint8Array, leaves: Vec<Bytes> | (Bytes | string | Uint8Array)[], proof: PezspMmrPrimitivesLeafProof) => Observable<Result<Null, PezspMmrPrimitivesError>>>;
|
|
401
322
|
/**
|
|
402
323
|
* Generic call
|
|
403
324
|
**/
|
|
@@ -486,13 +407,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
486
407
|
/**
|
|
487
408
|
* Starts the off-chain task for given block header.
|
|
488
409
|
**/
|
|
489
|
-
offchainWorker: AugmentedCall<ApiType, (header:
|
|
490
|
-
parentHash?: any;
|
|
491
|
-
number?: any;
|
|
492
|
-
stateRoot?: any;
|
|
493
|
-
extrinsicsRoot?: any;
|
|
494
|
-
digest?: any;
|
|
495
|
-
} | string | Uint8Array) => Observable<Null>>;
|
|
410
|
+
offchainWorker: AugmentedCall<ApiType, (header: PezspRuntimeHeader) => Observable<Null>>;
|
|
496
411
|
/**
|
|
497
412
|
* Generic call
|
|
498
413
|
**/
|
|
@@ -511,30 +426,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
511
426
|
/**
|
|
512
427
|
* Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`].
|
|
513
428
|
**/
|
|
514
|
-
call: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, dest: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<
|
|
515
|
-
refTime?: any;
|
|
516
|
-
proofSize?: any;
|
|
517
|
-
} | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<PalletRevivePrimitivesContractResultExecReturnValue>>;
|
|
429
|
+
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>>;
|
|
518
430
|
/**
|
|
519
431
|
* Perform an Ethereum call.,, See [`crate::Pallet::bare_eth_transact`]
|
|
520
432
|
**/
|
|
521
|
-
ethTransact: AugmentedCall<ApiType, (tx:
|
|
522
|
-
accessList?: any;
|
|
523
|
-
blobVersionedHashes?: any;
|
|
524
|
-
blobs?: any;
|
|
525
|
-
chainId?: any;
|
|
526
|
-
from?: any;
|
|
527
|
-
gas?: any;
|
|
528
|
-
gasPrice?: any;
|
|
529
|
-
input?: any;
|
|
530
|
-
maxFeePerBlobGas?: any;
|
|
531
|
-
maxFeePerGas?: any;
|
|
532
|
-
maxPriorityFeePerGas?: any;
|
|
533
|
-
nonce?: any;
|
|
534
|
-
to?: any;
|
|
535
|
-
r_type?: any;
|
|
536
|
-
value?: any;
|
|
537
|
-
} | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
|
|
433
|
+
ethTransact: AugmentedCall<ApiType, (tx: PezpalletReviveEvmApiRpcTypesGenGenericTransaction) => Observable<Result<PezpalletRevivePrimitivesEthTransactInfo, PezpalletRevivePrimitivesEthTransactError>>>;
|
|
538
434
|
/**
|
|
539
435
|
* Returns the gas price.
|
|
540
436
|
**/
|
|
@@ -542,18 +438,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
542
438
|
/**
|
|
543
439
|
* 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.
|
|
544
440
|
**/
|
|
545
|
-
getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>,
|
|
441
|
+
getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>, PezpalletRevivePrimitivesContractAccessError>>>;
|
|
546
442
|
/**
|
|
547
443
|
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
|
|
548
444
|
**/
|
|
549
|
-
instantiate: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, gas_limit: Option<
|
|
550
|
-
refTime?: any;
|
|
551
|
-
proofSize?: any;
|
|
552
|
-
} | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, code: PalletRevivePrimitivesCode | {
|
|
553
|
-
Upload: any;
|
|
554
|
-
} | {
|
|
555
|
-
Existing: any;
|
|
556
|
-
} | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => Observable<PalletRevivePrimitivesContractResultInstantiateReturnValue>>;
|
|
445
|
+
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>>;
|
|
557
446
|
/**
|
|
558
447
|
* Returns the nonce of the given `[H160]` address.
|
|
559
448
|
**/
|
|
@@ -561,47 +450,19 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
561
450
|
/**
|
|
562
451
|
* 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.
|
|
563
452
|
**/
|
|
564
|
-
traceBlock: AugmentedCall<ApiType, (block:
|
|
565
|
-
header?: any;
|
|
566
|
-
extrinsics?: any;
|
|
567
|
-
} | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
|
|
568
|
-
CallTracer: any;
|
|
569
|
-
} | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
|
|
453
|
+
traceBlock: AugmentedCall<ApiType, (block: PezspRuntimeBlock, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Vec<ITuple<[u32, PezpalletReviveEvmApiDebugRpcTypesTrace]>>>>;
|
|
570
454
|
/**
|
|
571
455
|
* Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
|
|
572
456
|
**/
|
|
573
|
-
traceCall: AugmentedCall<ApiType, (tx:
|
|
574
|
-
accessList?: any;
|
|
575
|
-
blobVersionedHashes?: any;
|
|
576
|
-
blobs?: any;
|
|
577
|
-
chainId?: any;
|
|
578
|
-
from?: any;
|
|
579
|
-
gas?: any;
|
|
580
|
-
gasPrice?: any;
|
|
581
|
-
input?: any;
|
|
582
|
-
maxFeePerBlobGas?: any;
|
|
583
|
-
maxFeePerGas?: any;
|
|
584
|
-
maxPriorityFeePerGas?: any;
|
|
585
|
-
nonce?: any;
|
|
586
|
-
to?: any;
|
|
587
|
-
r_type?: any;
|
|
588
|
-
value?: any;
|
|
589
|
-
} | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
|
|
590
|
-
CallTracer: any;
|
|
591
|
-
} | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
|
|
457
|
+
traceCall: AugmentedCall<ApiType, (tx: PezpalletReviveEvmApiRpcTypesGenGenericTransaction, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Result<PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletRevivePrimitivesEthTransactError>>>;
|
|
592
458
|
/**
|
|
593
459
|
* 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.
|
|
594
460
|
**/
|
|
595
|
-
traceTx: AugmentedCall<ApiType, (block:
|
|
596
|
-
header?: any;
|
|
597
|
-
extrinsics?: any;
|
|
598
|
-
} | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
|
|
599
|
-
CallTracer: any;
|
|
600
|
-
} | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
|
|
461
|
+
traceTx: AugmentedCall<ApiType, (block: PezspRuntimeBlock, tx_index: u32 | AnyNumber | Uint8Array, config: PezpalletReviveEvmApiDebugRpcTypesTracerType) => Observable<Option<PezpalletReviveEvmApiDebugRpcTypesTrace>>>;
|
|
601
462
|
/**
|
|
602
463
|
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
|
|
603
464
|
**/
|
|
604
|
-
uploadCode: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, code: Bytes | string | Uint8Array, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber) => Observable<Result<
|
|
465
|
+
uploadCode: AugmentedCall<ApiType, (origin: AccountId32 | string | Uint8Array, code: Bytes | string | Uint8Array, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber) => Observable<Result<PezpalletRevivePrimitivesCodeUploadReturnValue, PezspRuntimeDispatchError>>>;
|
|
605
466
|
/**
|
|
606
467
|
* Generic call
|
|
607
468
|
**/
|
|
@@ -612,10 +473,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
612
473
|
/**
|
|
613
474
|
* Execute a view function query.
|
|
614
475
|
**/
|
|
615
|
-
executeViewFunction: AugmentedCall<ApiType, (query_id:
|
|
616
|
-
prefix?: any;
|
|
617
|
-
suffix?: any;
|
|
618
|
-
} | string | Uint8Array, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, FrameSupportViewFunctionsViewFunctionDispatchError>>>;
|
|
476
|
+
executeViewFunction: AugmentedCall<ApiType, (query_id: PezframeSupportViewFunctionsViewFunctionId, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, PezframeSupportViewFunctionsViewFunctionDispatchError>>>;
|
|
619
477
|
/**
|
|
620
478
|
* Generic call
|
|
621
479
|
**/
|
|
@@ -626,7 +484,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
626
484
|
/**
|
|
627
485
|
* Decode the given public session keys.,, Returns the list of public raw public keys + key type.
|
|
628
486
|
**/
|
|
629
|
-
decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes,
|
|
487
|
+
decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, PezspCoreCryptoKeyTypeId]>>>>>;
|
|
630
488
|
/**
|
|
631
489
|
* 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.
|
|
632
490
|
**/
|
|
@@ -660,7 +518,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
660
518
|
/**
|
|
661
519
|
* 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.
|
|
662
520
|
**/
|
|
663
|
-
validateTransaction: AugmentedCall<ApiType, (source:
|
|
521
|
+
validateTransaction: AugmentedCall<ApiType, (source: PezspRuntimeTransactionValidityTransactionSource, tx: Extrinsic | IExtrinsic | string | Uint8Array, block_hash: H256 | string | Uint8Array) => Observable<Result<PezspRuntimeTransactionValidityValidTransaction, PezspRuntimeTransactionValidityTransactionValidityError>>>;
|
|
664
522
|
/**
|
|
665
523
|
* Generic call
|
|
666
524
|
**/
|
|
@@ -671,11 +529,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
671
529
|
/**
|
|
672
530
|
*
|
|
673
531
|
**/
|
|
674
|
-
queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<
|
|
532
|
+
queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
|
675
533
|
/**
|
|
676
534
|
*
|
|
677
535
|
**/
|
|
678
|
-
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<
|
|
536
|
+
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
|
679
537
|
/**
|
|
680
538
|
*
|
|
681
539
|
**/
|
|
@@ -683,10 +541,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
683
541
|
/**
|
|
684
542
|
*
|
|
685
543
|
**/
|
|
686
|
-
queryWeightToFee: AugmentedCall<ApiType, (weight:
|
|
687
|
-
refTime?: any;
|
|
688
|
-
proofSize?: any;
|
|
689
|
-
} | string | Uint8Array) => Observable<u128>>;
|
|
544
|
+
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
|
690
545
|
/**
|
|
691
546
|
* Generic call
|
|
692
547
|
**/
|
|
@@ -697,11 +552,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
697
552
|
/**
|
|
698
553
|
* Query fee details of a given encoded `Call`.
|
|
699
554
|
**/
|
|
700
|
-
queryCallFeeDetails: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<
|
|
555
|
+
queryCallFeeDetails: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentFeeDetails>>;
|
|
701
556
|
/**
|
|
702
557
|
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
|
703
558
|
**/
|
|
704
|
-
queryCallInfo: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<
|
|
559
|
+
queryCallInfo: AugmentedCall<ApiType, (call: RuntimeCall | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<PezpalletTransactionPaymentRuntimeDispatchInfo>>;
|
|
705
560
|
/**
|
|
706
561
|
* Query the output of the current `LengthToFee` given some input.
|
|
707
562
|
**/
|
|
@@ -709,10 +564,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
709
564
|
/**
|
|
710
565
|
* Query the output of the current `WeightToFee` given some input.
|
|
711
566
|
**/
|
|
712
|
-
queryWeightToFee: AugmentedCall<ApiType, (weight:
|
|
713
|
-
refTime?: any;
|
|
714
|
-
proofSize?: any;
|
|
715
|
-
} | string | Uint8Array) => Observable<u128>>;
|
|
567
|
+
queryWeightToFee: AugmentedCall<ApiType, (weight: PezspWeightsWeightV2Weight) => Observable<u128>>;
|
|
716
568
|
/**
|
|
717
569
|
* Generic call
|
|
718
570
|
**/
|
|
@@ -723,15 +575,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
723
575
|
/**
|
|
724
576
|
* Validate the statement.
|
|
725
577
|
**/
|
|
726
|
-
validateStatement: AugmentedCall<ApiType, (source:
|
|
727
|
-
proof?: any;
|
|
728
|
-
decryptionKey?: any;
|
|
729
|
-
channel?: any;
|
|
730
|
-
priority?: any;
|
|
731
|
-
numTopics?: any;
|
|
732
|
-
topics?: any;
|
|
733
|
-
data?: any;
|
|
734
|
-
} | string | Uint8Array) => Observable<Result<SpStatementStoreRuntimeApiValidStatement, SpStatementStoreRuntimeApiInvalidStatement>>>;
|
|
578
|
+
validateStatement: AugmentedCall<ApiType, (source: PezspStatementStoreRuntimeApiStatementSource, statement: PezspStatementStoreStatement) => Observable<Result<PezspStatementStoreRuntimeApiValidStatement, PezspStatementStoreRuntimeApiInvalidStatement>>>;
|
|
735
579
|
/**
|
|
736
580
|
* Generic call
|
|
737
581
|
**/
|