@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
package/vara/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
|
+
VaraRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
PalletGearStakingRewardsExtensionStakingBlackList,
|
|
9
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
10
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
11
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
12
|
+
FrameSystemExtensionsCheckGenesis,
|
|
13
|
+
FrameSystemExtensionsCheckMortality,
|
|
14
|
+
VaraRuntimeCustomCheckNonce,
|
|
15
|
+
FrameSystemExtensionsCheckWeight,
|
|
16
|
+
PalletGearPaymentCustomChargeTransactionPayment,
|
|
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: VaraRuntimeRuntimeCall;
|
|
34
|
+
Extra: [
|
|
35
|
+
PalletGearStakingRewardsExtensionStakingBlackList,
|
|
36
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
37
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
38
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
39
|
+
FrameSystemExtensionsCheckGenesis,
|
|
40
|
+
FrameSystemExtensionsCheckMortality,
|
|
41
|
+
VaraRuntimeCustomCheckNonce,
|
|
42
|
+
FrameSystemExtensionsCheckWeight,
|
|
43
|
+
PalletGearPaymentCustomChargeTransactionPayment,
|
|
44
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
45
|
+
];
|
|
46
|
+
}
|
|
47
|
+
|
|
15
48
|
export interface VersionedVaraApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
49
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
50
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +54,8 @@ export interface VersionedVaraApi<Rv extends RpcVersion> extends GenericSubstrat
|
|
|
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/westend/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 { MultiAddress } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
WestendRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsAuthorizeCall,
|
|
9
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
10
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
11
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
12
|
+
FrameSystemExtensionsCheckGenesis,
|
|
13
|
+
FrameSystemExtensionsCheckMortality,
|
|
14
|
+
FrameSystemExtensionsCheckNonce,
|
|
15
|
+
FrameSystemExtensionsCheckWeight,
|
|
16
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
17
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
18
|
+
FrameSystemExtensionsWeightReclaim,
|
|
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: MultiAddress;
|
|
33
|
+
Signature: SpRuntimeMultiSignature;
|
|
34
|
+
RuntimeCall: WestendRuntimeRuntimeCall;
|
|
35
|
+
Extra: [
|
|
36
|
+
FrameSystemExtensionsAuthorizeCall,
|
|
37
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
38
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
39
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
40
|
+
FrameSystemExtensionsCheckGenesis,
|
|
41
|
+
FrameSystemExtensionsCheckMortality,
|
|
42
|
+
FrameSystemExtensionsCheckNonce,
|
|
43
|
+
FrameSystemExtensionsCheckWeight,
|
|
44
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
45
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
46
|
+
FrameSystemExtensionsWeightReclaim,
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
|
|
15
50
|
export interface VersionedWestendApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
51
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
52
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +56,8 @@ export interface VersionedWestendApi<Rv extends RpcVersion> extends GenericSubst
|
|
|
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/westend/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,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
|
+
AssetHubWestendRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsAuthorizeCall,
|
|
9
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
10
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
11
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
12
|
+
FrameSystemExtensionsCheckGenesis,
|
|
13
|
+
FrameSystemExtensionsCheckMortality,
|
|
14
|
+
FrameSystemExtensionsCheckNonce,
|
|
15
|
+
FrameSystemExtensionsCheckWeight,
|
|
16
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
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,25 @@ 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: AssetHubWestendRuntimeRuntimeCall;
|
|
34
|
+
Extra: [
|
|
35
|
+
FrameSystemExtensionsAuthorizeCall,
|
|
36
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
37
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
38
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
39
|
+
FrameSystemExtensionsCheckGenesis,
|
|
40
|
+
FrameSystemExtensionsCheckMortality,
|
|
41
|
+
FrameSystemExtensionsCheckNonce,
|
|
42
|
+
FrameSystemExtensionsCheckWeight,
|
|
43
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
44
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
45
|
+
[],
|
|
46
|
+
];
|
|
47
|
+
}
|
|
48
|
+
|
|
15
49
|
export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
50
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
51
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +55,8 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
|
|
|
21
55
|
call: RuntimeApis<Rv>;
|
|
22
56
|
view: ChainViewFunctions<Rv>;
|
|
23
57
|
tx: ChainTx<Rv>;
|
|
58
|
+
|
|
59
|
+
types: ChainKnownTypes;
|
|
24
60
|
}
|
|
25
61
|
|
|
26
62
|
/**
|
|
@@ -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,19 @@
|
|
|
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
|
+
PeopleWestendRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
9
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
10
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
11
|
+
FrameSystemExtensionsCheckGenesis,
|
|
12
|
+
FrameSystemExtensionsCheckMortality,
|
|
13
|
+
FrameSystemExtensionsCheckNonce,
|
|
14
|
+
FrameSystemExtensionsCheckWeight,
|
|
15
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
16
|
+
} from './types.js';
|
|
4
17
|
import { ChainConsts } from './consts.js';
|
|
5
18
|
import { ChainStorage } from './query.js';
|
|
6
19
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +25,23 @@ import { ChainTx } from './tx.js';
|
|
|
12
25
|
|
|
13
26
|
export * from './types.js';
|
|
14
27
|
|
|
28
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
29
|
+
Address: MultiAddress;
|
|
30
|
+
Signature: SpRuntimeMultiSignature;
|
|
31
|
+
RuntimeCall: PeopleWestendRuntimeRuntimeCall;
|
|
32
|
+
Extra: [
|
|
33
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
34
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
35
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
36
|
+
FrameSystemExtensionsCheckGenesis,
|
|
37
|
+
FrameSystemExtensionsCheckMortality,
|
|
38
|
+
FrameSystemExtensionsCheckNonce,
|
|
39
|
+
FrameSystemExtensionsCheckWeight,
|
|
40
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
41
|
+
[],
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
|
|
15
45
|
export interface VersionedWestendPeopleApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
46
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
47
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +51,8 @@ export interface VersionedWestendPeopleApi<Rv extends RpcVersion> extends Generi
|
|
|
21
51
|
call: RuntimeApis<Rv>;
|
|
22
52
|
view: ChainViewFunctions<Rv>;
|
|
23
53
|
tx: ChainTx<Rv>;
|
|
54
|
+
|
|
55
|
+
types: ChainKnownTypes;
|
|
24
56
|
}
|
|
25
57
|
|
|
26
58
|
/**
|
|
@@ -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'
|