@dedot/chaintypes 0.150.0 → 0.152.0
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/aleph/index.d.ts +32 -1
- package/astar/index.d.ts +32 -1
- package/astar/json-rpc.d.ts +0 -1
- package/basilisk/index.d.ts +30 -1
- package/hydration/index.d.ts +38 -1
- package/kusama/consts.d.ts +41 -2
- package/kusama/errors.d.ts +38 -0
- package/kusama/events.d.ts +132 -0
- package/kusama/index.d.ts +35 -2
- package/kusama/json-rpc.d.ts +0 -1
- package/kusama/query.d.ts +35 -0
- package/kusama/tx.d.ts +209 -15
- package/kusama/types.d.ts +465 -98
- package/kusama/view-functions.d.ts +80 -1
- package/kusama-asset-hub/consts.d.ts +48 -2
- package/kusama-asset-hub/errors.d.ts +52 -23
- package/kusama-asset-hub/events.d.ts +212 -36
- package/kusama-asset-hub/index.d.ts +35 -2
- package/kusama-asset-hub/json-rpc.d.ts +0 -1
- package/kusama-asset-hub/query.d.ts +79 -26
- package/kusama-asset-hub/runtime.d.ts +180 -13
- package/kusama-asset-hub/tx.d.ts +347 -143
- package/kusama-asset-hub/types.d.ts +1613 -1188
- package/kusama-asset-hub/view-functions.d.ts +34 -1
- package/kusama-people/consts.d.ts +21 -0
- package/kusama-people/errors.d.ts +8 -0
- package/kusama-people/events.d.ts +22 -0
- package/kusama-people/index.d.ts +35 -2
- package/kusama-people/json-rpc.d.ts +0 -1
- package/kusama-people/query.d.ts +25 -2
- package/kusama-people/runtime.d.ts +121 -0
- package/kusama-people/tx.d.ts +24 -12
- package/kusama-people/types.d.ts +1072 -954
- package/kusama-people/view-functions.d.ts +34 -1
- package/moonbeam/index.d.ts +38 -1
- package/moonbeam/json-rpc.d.ts +0 -1
- package/package.json +3 -3
- package/paseo/index.d.ts +36 -1
- package/paseo/json-rpc.d.ts +0 -1
- package/paseo-asset-hub/index.d.ts +34 -1
- package/paseo-asset-hub/json-rpc.d.ts +0 -1
- package/paseo-hydration/index.d.ts +38 -1
- package/paseo-people/index.d.ts +34 -1
- package/paseo-people/json-rpc.d.ts +0 -1
- package/polkadot/index.d.ts +36 -1
- package/polkadot/json-rpc.d.ts +0 -1
- package/polkadot-asset-hub/index.d.ts +34 -1
- package/polkadot-asset-hub/json-rpc.d.ts +0 -1
- package/polkadot-people/index.d.ts +34 -1
- package/polkadot-people/json-rpc.d.ts +0 -1
- package/substrate/index.d.ts +36 -1
- package/vara/index.d.ts +36 -1
- package/westend/index.d.ts +38 -1
- package/westend/json-rpc.d.ts +0 -1
- package/westend-asset-hub/index.d.ts +37 -1
- package/westend-asset-hub/json-rpc.d.ts +0 -1
- package/westend-people/index.d.ts +33 -1
- package/westend-people/json-rpc.d.ts +0 -1
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainViewFunctions, GenericViewFunction, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { PeopleKusamaRuntimeRuntimeCallLike, PeopleKusamaRuntimeProxyType } from './types.js';
|
|
4
5
|
|
|
5
|
-
export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainViewFunctions<Rv> {
|
|
6
|
+
export interface ChainViewFunctions<Rv extends RpcVersion> extends GenericChainViewFunctions<Rv> {
|
|
7
|
+
/**
|
|
8
|
+
* Pallet `Proxy`'s view functions
|
|
9
|
+
**/
|
|
10
|
+
proxy: {
|
|
11
|
+
/**
|
|
12
|
+
* Check if a `RuntimeCall` is allowed for a given `ProxyType`.
|
|
13
|
+
*
|
|
14
|
+
* @param {PeopleKusamaRuntimeRuntimeCallLike} call
|
|
15
|
+
* @param {PeopleKusamaRuntimeProxyType} proxyType
|
|
16
|
+
**/
|
|
17
|
+
checkPermissions: GenericViewFunction<
|
|
18
|
+
Rv,
|
|
19
|
+
(call: PeopleKusamaRuntimeRuntimeCallLike, proxyType: PeopleKusamaRuntimeProxyType) => Promise<boolean>
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Check if one `ProxyType` is a subset of another `ProxyType`.
|
|
24
|
+
*
|
|
25
|
+
* @param {PeopleKusamaRuntimeProxyType} toCheck
|
|
26
|
+
* @param {PeopleKusamaRuntimeProxyType} against
|
|
27
|
+
**/
|
|
28
|
+
isSuperset: GenericViewFunction<
|
|
29
|
+
Rv,
|
|
30
|
+
(toCheck: PeopleKusamaRuntimeProxyType, against: PeopleKusamaRuntimeProxyType) => Promise<boolean>
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Generic pallet view function
|
|
35
|
+
**/
|
|
36
|
+
[name: string]: GenericViewFunction<Rv>;
|
|
37
|
+
};
|
|
38
|
+
}
|
package/moonbeam/index.d.ts
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { AccountId20 } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
MoonbeamRuntimeRuntimeCall,
|
|
7
|
+
AccountEthereumSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
16
|
+
MoonbeamRuntimeBridgeRejectObsoleteHeadersAndMessages,
|
|
17
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
18
|
+
CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim,
|
|
19
|
+
} from './types.js';
|
|
4
20
|
import { ChainConsts } from './consts.js';
|
|
5
21
|
import { ChainStorage } from './query.js';
|
|
6
22
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +28,25 @@ import { ChainTx } from './tx.js';
|
|
|
12
28
|
|
|
13
29
|
export * from './types.js';
|
|
14
30
|
|
|
31
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
32
|
+
Address: AccountId20;
|
|
33
|
+
Signature: AccountEthereumSignature;
|
|
34
|
+
RuntimeCall: MoonbeamRuntimeRuntimeCall;
|
|
35
|
+
Extra: [
|
|
36
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
37
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
38
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
39
|
+
FrameSystemExtensionsCheckGenesis,
|
|
40
|
+
FrameSystemExtensionsCheckMortality,
|
|
41
|
+
FrameSystemExtensionsCheckNonce,
|
|
42
|
+
FrameSystemExtensionsCheckWeight,
|
|
43
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
44
|
+
MoonbeamRuntimeBridgeRejectObsoleteHeadersAndMessages,
|
|
45
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
46
|
+
CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim,
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
|
|
15
50
|
export interface VersionedMoonbeamApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
51
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
52
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +56,8 @@ export interface VersionedMoonbeamApi<Rv extends RpcVersion> extends GenericSubs
|
|
|
21
56
|
call: RuntimeApis<Rv>;
|
|
22
57
|
view: ChainViewFunctions<Rv>;
|
|
23
58
|
tx: ChainTx<Rv>;
|
|
59
|
+
|
|
60
|
+
types: ChainKnownTypes;
|
|
24
61
|
}
|
|
25
62
|
|
|
26
63
|
/**
|
package/moonbeam/json-rpc.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
11
11
|
| 'archive_unstable_genesisHash'
|
|
12
12
|
| 'archive_unstable_hashByHeight'
|
|
13
13
|
| 'archive_unstable_header'
|
|
14
|
-
| 'archive_unstable_stopStorage'
|
|
15
14
|
| 'archive_unstable_storage'
|
|
16
15
|
| 'archive_unstable_storageDiff'
|
|
17
16
|
| 'archive_unstable_storageDiff_stopStorageDiff'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.152.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"copy": "cp -R ./src/* ./dist && rm ./dist/index.ts"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"dedot": ">=0.
|
|
21
|
+
"dedot": ">=0.16.0"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|
|
24
24
|
"access": "public",
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "8a9a759c5b2483f89124500aa9202ba905d8bc07",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/paseo/index.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { MultiAddress } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
PaseoRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
16
|
+
PolkadotRuntimeCommonClaimsPrevalidateAttests,
|
|
17
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
18
|
+
} from './types.js';
|
|
4
19
|
import { ChainConsts } from './consts.js';
|
|
5
20
|
import { ChainStorage } from './query.js';
|
|
6
21
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +27,24 @@ import { ChainTx } from './tx.js';
|
|
|
12
27
|
|
|
13
28
|
export * from './types.js';
|
|
14
29
|
|
|
30
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
31
|
+
Address: MultiAddress;
|
|
32
|
+
Signature: SpRuntimeMultiSignature;
|
|
33
|
+
RuntimeCall: PaseoRuntimeRuntimeCall;
|
|
34
|
+
Extra: [
|
|
35
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
36
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
37
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
38
|
+
FrameSystemExtensionsCheckGenesis,
|
|
39
|
+
FrameSystemExtensionsCheckMortality,
|
|
40
|
+
FrameSystemExtensionsCheckNonce,
|
|
41
|
+
FrameSystemExtensionsCheckWeight,
|
|
42
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
43
|
+
PolkadotRuntimeCommonClaimsPrevalidateAttests,
|
|
44
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
|
|
15
48
|
export interface VersionedPaseoApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
49
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
50
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +54,8 @@ export interface VersionedPaseoApi<Rv extends RpcVersion> extends GenericSubstra
|
|
|
21
54
|
call: RuntimeApis<Rv>;
|
|
22
55
|
view: ChainViewFunctions<Rv>;
|
|
23
56
|
tx: ChainTx<Rv>;
|
|
57
|
+
|
|
58
|
+
types: ChainKnownTypes;
|
|
24
59
|
}
|
|
25
60
|
|
|
26
61
|
/**
|
package/paseo/json-rpc.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
11
11
|
| 'archive_v1_genesisHash'
|
|
12
12
|
| 'archive_v1_hashByHeight'
|
|
13
13
|
| 'archive_v1_header'
|
|
14
|
-
| 'archive_v1_stopStorage'
|
|
15
14
|
| 'archive_v1_storage'
|
|
16
15
|
| 'archive_v1_storageDiff'
|
|
17
16
|
| 'archive_v1_storageDiff_stopStorageDiff'
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { MultiAddress } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
AssetHubPaseoRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
16
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
17
|
+
} from './types.js';
|
|
4
18
|
import { ChainConsts } from './consts.js';
|
|
5
19
|
import { ChainStorage } from './query.js';
|
|
6
20
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +26,23 @@ import { ChainTx } from './tx.js';
|
|
|
12
26
|
|
|
13
27
|
export * from './types.js';
|
|
14
28
|
|
|
29
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
30
|
+
Address: MultiAddress;
|
|
31
|
+
Signature: SpRuntimeMultiSignature;
|
|
32
|
+
RuntimeCall: AssetHubPaseoRuntimeRuntimeCall;
|
|
33
|
+
Extra: [
|
|
34
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
35
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
36
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
37
|
+
FrameSystemExtensionsCheckGenesis,
|
|
38
|
+
FrameSystemExtensionsCheckMortality,
|
|
39
|
+
FrameSystemExtensionsCheckNonce,
|
|
40
|
+
FrameSystemExtensionsCheckWeight,
|
|
41
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
42
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
43
|
+
];
|
|
44
|
+
}
|
|
45
|
+
|
|
15
46
|
export interface VersionedPaseoAssetHubApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
47
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
48
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +52,8 @@ export interface VersionedPaseoAssetHubApi<Rv extends RpcVersion> extends Generi
|
|
|
21
52
|
call: RuntimeApis<Rv>;
|
|
22
53
|
view: ChainViewFunctions<Rv>;
|
|
23
54
|
tx: ChainTx<Rv>;
|
|
55
|
+
|
|
56
|
+
types: ChainKnownTypes;
|
|
24
57
|
}
|
|
25
58
|
|
|
26
59
|
/**
|
|
@@ -11,7 +11,6 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
11
11
|
| 'archive_v1_genesisHash'
|
|
12
12
|
| 'archive_v1_hashByHeight'
|
|
13
13
|
| 'archive_v1_header'
|
|
14
|
-
| 'archive_v1_stopStorage'
|
|
15
14
|
| 'archive_v1_storage'
|
|
16
15
|
| 'archive_v1_storageDiff'
|
|
17
16
|
| 'archive_v1_storageDiff_stopStorageDiff'
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { AccountId32 } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
HydradxRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
16
|
+
PalletClaimsValidateClaim,
|
|
17
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
18
|
+
CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim,
|
|
19
|
+
} from './types.js';
|
|
4
20
|
import { ChainConsts } from './consts.js';
|
|
5
21
|
import { ChainStorage } from './query.js';
|
|
6
22
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +28,25 @@ import { ChainTx } from './tx.js';
|
|
|
12
28
|
|
|
13
29
|
export * from './types.js';
|
|
14
30
|
|
|
31
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
32
|
+
Address: AccountId32;
|
|
33
|
+
Signature: SpRuntimeMultiSignature;
|
|
34
|
+
RuntimeCall: HydradxRuntimeRuntimeCall;
|
|
35
|
+
Extra: [
|
|
36
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
37
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
38
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
39
|
+
FrameSystemExtensionsCheckGenesis,
|
|
40
|
+
FrameSystemExtensionsCheckMortality,
|
|
41
|
+
FrameSystemExtensionsCheckNonce,
|
|
42
|
+
FrameSystemExtensionsCheckWeight,
|
|
43
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
44
|
+
PalletClaimsValidateClaim,
|
|
45
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
46
|
+
CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim,
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
|
|
15
50
|
export interface VersionedPaseoHydrationApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
51
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
52
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +56,8 @@ export interface VersionedPaseoHydrationApi<Rv extends RpcVersion> extends Gener
|
|
|
21
56
|
call: RuntimeApis<Rv>;
|
|
22
57
|
view: ChainViewFunctions<Rv>;
|
|
23
58
|
tx: ChainTx<Rv>;
|
|
59
|
+
|
|
60
|
+
types: ChainKnownTypes;
|
|
24
61
|
}
|
|
25
62
|
|
|
26
63
|
/**
|
package/paseo-people/index.d.ts
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { MultiAddress } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
PeoplePaseoRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
16
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
17
|
+
} from './types.js';
|
|
4
18
|
import { ChainConsts } from './consts.js';
|
|
5
19
|
import { ChainStorage } from './query.js';
|
|
6
20
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +26,23 @@ import { ChainTx } from './tx.js';
|
|
|
12
26
|
|
|
13
27
|
export * from './types.js';
|
|
14
28
|
|
|
29
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
30
|
+
Address: MultiAddress;
|
|
31
|
+
Signature: SpRuntimeMultiSignature;
|
|
32
|
+
RuntimeCall: PeoplePaseoRuntimeRuntimeCall;
|
|
33
|
+
Extra: [
|
|
34
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
35
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
36
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
37
|
+
FrameSystemExtensionsCheckGenesis,
|
|
38
|
+
FrameSystemExtensionsCheckMortality,
|
|
39
|
+
FrameSystemExtensionsCheckNonce,
|
|
40
|
+
FrameSystemExtensionsCheckWeight,
|
|
41
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
42
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
43
|
+
];
|
|
44
|
+
}
|
|
45
|
+
|
|
15
46
|
export interface VersionedPaseoPeopleApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
47
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
48
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +52,8 @@ export interface VersionedPaseoPeopleApi<Rv extends RpcVersion> extends GenericS
|
|
|
21
52
|
call: RuntimeApis<Rv>;
|
|
22
53
|
view: ChainViewFunctions<Rv>;
|
|
23
54
|
tx: ChainTx<Rv>;
|
|
55
|
+
|
|
56
|
+
types: ChainKnownTypes;
|
|
24
57
|
}
|
|
25
58
|
|
|
26
59
|
/**
|
|
@@ -11,7 +11,6 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
11
11
|
| 'archive_v1_genesisHash'
|
|
12
12
|
| 'archive_v1_hashByHeight'
|
|
13
13
|
| 'archive_v1_header'
|
|
14
|
-
| 'archive_v1_stopStorage'
|
|
15
14
|
| 'archive_v1_storage'
|
|
16
15
|
| 'archive_v1_storageDiff'
|
|
17
16
|
| 'archive_v1_storageDiff_stopStorageDiff'
|
package/polkadot/index.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { MultiAddress } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
PolkadotRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
16
|
+
PolkadotRuntimeCommonClaimsPrevalidateAttests,
|
|
17
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
18
|
+
} from './types.js';
|
|
4
19
|
import { ChainConsts } from './consts.js';
|
|
5
20
|
import { ChainStorage } from './query.js';
|
|
6
21
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +27,24 @@ import { ChainTx } from './tx.js';
|
|
|
12
27
|
|
|
13
28
|
export * from './types.js';
|
|
14
29
|
|
|
30
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
31
|
+
Address: MultiAddress;
|
|
32
|
+
Signature: SpRuntimeMultiSignature;
|
|
33
|
+
RuntimeCall: PolkadotRuntimeRuntimeCall;
|
|
34
|
+
Extra: [
|
|
35
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
36
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
37
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
38
|
+
FrameSystemExtensionsCheckGenesis,
|
|
39
|
+
FrameSystemExtensionsCheckMortality,
|
|
40
|
+
FrameSystemExtensionsCheckNonce,
|
|
41
|
+
FrameSystemExtensionsCheckWeight,
|
|
42
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
43
|
+
PolkadotRuntimeCommonClaimsPrevalidateAttests,
|
|
44
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
|
|
15
48
|
export interface VersionedPolkadotApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
49
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
50
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +54,8 @@ export interface VersionedPolkadotApi<Rv extends RpcVersion> extends GenericSubs
|
|
|
21
54
|
call: RuntimeApis<Rv>;
|
|
22
55
|
view: ChainViewFunctions<Rv>;
|
|
23
56
|
tx: ChainTx<Rv>;
|
|
57
|
+
|
|
58
|
+
types: ChainKnownTypes;
|
|
24
59
|
}
|
|
25
60
|
|
|
26
61
|
/**
|
package/polkadot/json-rpc.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
11
11
|
| 'archive_v1_genesisHash'
|
|
12
12
|
| 'archive_v1_hashByHeight'
|
|
13
13
|
| 'archive_v1_header'
|
|
14
|
-
| 'archive_v1_stopStorage'
|
|
15
14
|
| 'archive_v1_storage'
|
|
16
15
|
| 'archive_v1_storageDiff'
|
|
17
16
|
| 'archive_v1_storageDiff_stopStorageDiff'
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { MultiAddress } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
AssetHubPolkadotRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
16
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
17
|
+
} from './types.js';
|
|
4
18
|
import { ChainConsts } from './consts.js';
|
|
5
19
|
import { ChainStorage } from './query.js';
|
|
6
20
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +26,23 @@ import { ChainTx } from './tx.js';
|
|
|
12
26
|
|
|
13
27
|
export * from './types.js';
|
|
14
28
|
|
|
29
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
30
|
+
Address: MultiAddress;
|
|
31
|
+
Signature: SpRuntimeMultiSignature;
|
|
32
|
+
RuntimeCall: AssetHubPolkadotRuntimeRuntimeCall;
|
|
33
|
+
Extra: [
|
|
34
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
35
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
36
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
37
|
+
FrameSystemExtensionsCheckGenesis,
|
|
38
|
+
FrameSystemExtensionsCheckMortality,
|
|
39
|
+
FrameSystemExtensionsCheckNonce,
|
|
40
|
+
FrameSystemExtensionsCheckWeight,
|
|
41
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
42
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
43
|
+
];
|
|
44
|
+
}
|
|
45
|
+
|
|
15
46
|
export interface VersionedPolkadotAssetHubApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
47
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
48
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +52,8 @@ export interface VersionedPolkadotAssetHubApi<Rv extends RpcVersion> extends Gen
|
|
|
21
52
|
call: RuntimeApis<Rv>;
|
|
22
53
|
view: ChainViewFunctions<Rv>;
|
|
23
54
|
tx: ChainTx<Rv>;
|
|
55
|
+
|
|
56
|
+
types: ChainKnownTypes;
|
|
24
57
|
}
|
|
25
58
|
|
|
26
59
|
/**
|
|
@@ -11,7 +11,6 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
11
11
|
| 'archive_v1_genesisHash'
|
|
12
12
|
| 'archive_v1_hashByHeight'
|
|
13
13
|
| 'archive_v1_header'
|
|
14
|
-
| 'archive_v1_stopStorage'
|
|
15
14
|
| 'archive_v1_storage'
|
|
16
15
|
| 'archive_v1_storageDiff'
|
|
17
16
|
| 'archive_v1_storageDiff_stopStorageDiff'
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { MultiAddress } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
PeoplePolkadotRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
16
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
17
|
+
} from './types.js';
|
|
4
18
|
import { ChainConsts } from './consts.js';
|
|
5
19
|
import { ChainStorage } from './query.js';
|
|
6
20
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +26,23 @@ import { ChainTx } from './tx.js';
|
|
|
12
26
|
|
|
13
27
|
export * from './types.js';
|
|
14
28
|
|
|
29
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
30
|
+
Address: MultiAddress;
|
|
31
|
+
Signature: SpRuntimeMultiSignature;
|
|
32
|
+
RuntimeCall: PeoplePolkadotRuntimeRuntimeCall;
|
|
33
|
+
Extra: [
|
|
34
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
35
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
36
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
37
|
+
FrameSystemExtensionsCheckGenesis,
|
|
38
|
+
FrameSystemExtensionsCheckMortality,
|
|
39
|
+
FrameSystemExtensionsCheckNonce,
|
|
40
|
+
FrameSystemExtensionsCheckWeight,
|
|
41
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
42
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
43
|
+
];
|
|
44
|
+
}
|
|
45
|
+
|
|
15
46
|
export interface VersionedPolkadotPeopleApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
47
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
48
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +52,8 @@ export interface VersionedPolkadotPeopleApi<Rv extends RpcVersion> extends Gener
|
|
|
21
52
|
call: RuntimeApis<Rv>;
|
|
22
53
|
view: ChainViewFunctions<Rv>;
|
|
23
54
|
tx: ChainTx<Rv>;
|
|
55
|
+
|
|
56
|
+
types: ChainKnownTypes;
|
|
24
57
|
}
|
|
25
58
|
|
|
26
59
|
/**
|
|
@@ -11,7 +11,6 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
11
11
|
| 'archive_v1_genesisHash'
|
|
12
12
|
| 'archive_v1_hashByHeight'
|
|
13
13
|
| 'archive_v1_header'
|
|
14
|
-
| 'archive_v1_stopStorage'
|
|
15
14
|
| 'archive_v1_storage'
|
|
16
15
|
| 'archive_v1_storageDiff'
|
|
17
16
|
| 'archive_v1_storageDiff_stopStorageDiff'
|
package/substrate/index.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
3
|
+
import type { GenericSubstrateApi, GenericChainKnownTypes, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { MultiAddress } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
KitchensinkRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
16
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
17
|
+
FrameSystemExtensionsWeightReclaim,
|
|
18
|
+
} from './types.js';
|
|
4
19
|
import { ChainConsts } from './consts.js';
|
|
5
20
|
import { ChainStorage } from './query.js';
|
|
6
21
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +27,24 @@ import { ChainTx } from './tx.js';
|
|
|
12
27
|
|
|
13
28
|
export * from './types.js';
|
|
14
29
|
|
|
30
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
31
|
+
Address: MultiAddress;
|
|
32
|
+
Signature: SpRuntimeMultiSignature;
|
|
33
|
+
RuntimeCall: KitchensinkRuntimeRuntimeCall;
|
|
34
|
+
Extra: [
|
|
35
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
36
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
37
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
38
|
+
FrameSystemExtensionsCheckGenesis,
|
|
39
|
+
FrameSystemExtensionsCheckMortality,
|
|
40
|
+
FrameSystemExtensionsCheckNonce,
|
|
41
|
+
FrameSystemExtensionsCheckWeight,
|
|
42
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
43
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
44
|
+
FrameSystemExtensionsWeightReclaim,
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
|
|
15
48
|
export interface VersionedSubstrateApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
49
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
50
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +54,8 @@ export interface VersionedSubstrateApi<Rv extends RpcVersion> extends GenericSub
|
|
|
21
54
|
call: RuntimeApis<Rv>;
|
|
22
55
|
view: ChainViewFunctions<Rv>;
|
|
23
56
|
tx: ChainTx<Rv>;
|
|
57
|
+
|
|
58
|
+
types: ChainKnownTypes;
|
|
24
59
|
}
|
|
25
60
|
|
|
26
61
|
/**
|