@dedot/chaintypes 0.151.0 → 0.153.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/index.d.ts +34 -1
- package/kusama/json-rpc.d.ts +0 -1
- package/kusama-asset-hub/index.d.ts +34 -1
- package/kusama-asset-hub/json-rpc.d.ts +0 -1
- package/kusama-people/index.d.ts +34 -1
- package/kusama-people/json-rpc.d.ts +0 -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/events.d.ts +79 -5
- package/westend/index.d.ts +39 -2
- package/westend/json-rpc.d.ts +0 -1
- package/westend/types.d.ts +70 -23
- package/westend-asset-hub/consts.d.ts +14 -0
- package/westend-asset-hub/errors.d.ts +29 -9
- package/westend-asset-hub/events.d.ts +95 -12
- package/westend-asset-hub/index.d.ts +38 -2
- package/westend-asset-hub/json-rpc.d.ts +0 -1
- package/westend-asset-hub/query.d.ts +27 -4
- package/westend-asset-hub/runtime.d.ts +17 -0
- package/westend-asset-hub/tx.d.ts +110 -26
- package/westend-asset-hub/types.d.ts +281 -102
- package/westend-people/consts.d.ts +27 -0
- package/westend-people/errors.d.ts +26 -12
- package/westend-people/events.d.ts +181 -3
- package/westend-people/index.d.ts +36 -2
- package/westend-people/json-rpc.d.ts +0 -1
- package/westend-people/query.d.ts +40 -2
- package/westend-people/runtime.d.ts +131 -31
- package/westend-people/tx.d.ts +156 -12
- package/westend-people/types.d.ts +1153 -783
- package/westend-people/view-functions.d.ts +34 -1
package/aleph/index.d.ts
CHANGED
|
@@ -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
|
+
AlephRuntimeRuntimeCall,
|
|
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,22 @@ 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: AlephRuntimeRuntimeCall;
|
|
32
|
+
Extra: [
|
|
33
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
34
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
35
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
36
|
+
FrameSystemExtensionsCheckGenesis,
|
|
37
|
+
FrameSystemExtensionsCheckMortality,
|
|
38
|
+
FrameSystemExtensionsCheckNonce,
|
|
39
|
+
FrameSystemExtensionsCheckWeight,
|
|
40
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
41
|
+
];
|
|
42
|
+
}
|
|
43
|
+
|
|
15
44
|
export interface VersionedAlephApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
45
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
46
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +50,8 @@ export interface VersionedAlephApi<Rv extends RpcVersion> extends GenericSubstra
|
|
|
21
50
|
call: RuntimeApis<Rv>;
|
|
22
51
|
view: ChainViewFunctions<Rv>;
|
|
23
52
|
tx: ChainTx<Rv>;
|
|
53
|
+
|
|
54
|
+
types: ChainKnownTypes;
|
|
24
55
|
}
|
|
25
56
|
|
|
26
57
|
/**
|
package/astar/index.d.ts
CHANGED
|
@@ -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
|
+
AstarRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
9
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
10
|
+
FrameSystemExtensionsCheckGenesis,
|
|
11
|
+
FrameSystemExtensionsCheckMortality,
|
|
12
|
+
FrameSystemExtensionsCheckNonce,
|
|
13
|
+
FrameSystemExtensionsCheckWeight,
|
|
14
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
15
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
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,22 @@ 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: AstarRuntimeRuntimeCall;
|
|
32
|
+
Extra: [
|
|
33
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
34
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
35
|
+
FrameSystemExtensionsCheckGenesis,
|
|
36
|
+
FrameSystemExtensionsCheckMortality,
|
|
37
|
+
FrameSystemExtensionsCheckNonce,
|
|
38
|
+
FrameSystemExtensionsCheckWeight,
|
|
39
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
40
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
41
|
+
];
|
|
42
|
+
}
|
|
43
|
+
|
|
15
44
|
export interface VersionedAstarApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
45
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
46
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +50,8 @@ export interface VersionedAstarApi<Rv extends RpcVersion> extends GenericSubstra
|
|
|
21
50
|
call: RuntimeApis<Rv>;
|
|
22
51
|
view: ChainViewFunctions<Rv>;
|
|
23
52
|
tx: ChainTx<Rv>;
|
|
53
|
+
|
|
54
|
+
types: ChainKnownTypes;
|
|
24
55
|
}
|
|
25
56
|
|
|
26
57
|
/**
|
package/astar/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/basilisk/index.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
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
|
+
BasiliskRuntimeRuntimeCall,
|
|
7
|
+
SpRuntimeMultiSignature,
|
|
8
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
9
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
10
|
+
FrameSystemExtensionsCheckGenesis,
|
|
11
|
+
FrameSystemExtensionsCheckMortality,
|
|
12
|
+
FrameSystemExtensionsCheckNonce,
|
|
13
|
+
FrameSystemExtensionsCheckWeight,
|
|
14
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
15
|
+
} from './types.js';
|
|
4
16
|
import { ChainConsts } from './consts.js';
|
|
5
17
|
import { ChainStorage } from './query.js';
|
|
6
18
|
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
@@ -12,6 +24,21 @@ import { ChainTx } from './tx.js';
|
|
|
12
24
|
|
|
13
25
|
export * from './types.js';
|
|
14
26
|
|
|
27
|
+
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
28
|
+
Address: AccountId32;
|
|
29
|
+
Signature: SpRuntimeMultiSignature;
|
|
30
|
+
RuntimeCall: BasiliskRuntimeRuntimeCall;
|
|
31
|
+
Extra: [
|
|
32
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
33
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
34
|
+
FrameSystemExtensionsCheckGenesis,
|
|
35
|
+
FrameSystemExtensionsCheckMortality,
|
|
36
|
+
FrameSystemExtensionsCheckNonce,
|
|
37
|
+
FrameSystemExtensionsCheckWeight,
|
|
38
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
39
|
+
];
|
|
40
|
+
}
|
|
41
|
+
|
|
15
42
|
export interface VersionedBasiliskApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
43
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
44
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +48,8 @@ export interface VersionedBasiliskApi<Rv extends RpcVersion> extends GenericSubs
|
|
|
21
48
|
call: RuntimeApis<Rv>;
|
|
22
49
|
view: ChainViewFunctions<Rv>;
|
|
23
50
|
tx: ChainTx<Rv>;
|
|
51
|
+
|
|
52
|
+
types: ChainKnownTypes;
|
|
24
53
|
}
|
|
25
54
|
|
|
26
55
|
/**
|
package/hydration/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 { 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 VersionedHydrationApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
51
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
52
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +56,8 @@ export interface VersionedHydrationApi<Rv extends RpcVersion> extends GenericSub
|
|
|
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/kusama/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
|
+
StagingKusamaRuntimeRuntimeCall,
|
|
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: StagingKusamaRuntimeRuntimeCall;
|
|
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 VersionedKusamaApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
47
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
48
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +52,8 @@ export interface VersionedKusamaApi<Rv extends RpcVersion> extends GenericSubstr
|
|
|
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
|
/**
|
package/kusama/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
|
+
AssetHubKusamaRuntimeRuntimeCall,
|
|
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: AssetHubKusamaRuntimeRuntimeCall;
|
|
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 VersionedKusamaAssetHubApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
47
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
48
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +52,8 @@ export interface VersionedKusamaAssetHubApi<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/kusama-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
|
+
PeopleKusamaRuntimeRuntimeCall,
|
|
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: PeopleKusamaRuntimeRuntimeCall;
|
|
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 VersionedKusamaPeopleApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
16
47
|
rpc: ChainJsonRpcApis<Rv>;
|
|
17
48
|
consts: ChainConsts<Rv>;
|
|
@@ -21,6 +52,8 @@ export interface VersionedKusamaPeopleApi<Rv extends RpcVersion> extends Generic
|
|
|
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/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.153.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": "a5be2eed5e86289203ebf5fd9a23b97fcf1d0025",
|
|
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'
|