@dedot/chaintypes 0.40.0 → 0.41.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/package.json +2 -2
- package/paseo/json-rpc.d.ts +7 -0
- package/westend/consts.d.ts +42 -2
- package/westend/errors.d.ts +38 -28
- package/westend/events.d.ts +208 -42
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +92 -42
- package/westend/runtime.d.ts +64 -6
- package/westend/tx.d.ts +178 -52
- package/westend/types.d.ts +642 -333
- package/westend-asset-hub/errors.d.ts +0 -5
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/runtime.d.ts +4 -5
- package/westend-asset-hub/types.d.ts +1 -5
|
@@ -1776,11 +1776,6 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1776
1776
|
**/
|
|
1777
1777
|
BalanceConversionFailed: GenericPalletError<Rv>;
|
|
1778
1778
|
|
|
1779
|
-
/**
|
|
1780
|
-
* Failed to convert an EVM balance to a native balance.
|
|
1781
|
-
**/
|
|
1782
|
-
DecimalPrecisionLoss: GenericPalletError<Rv>;
|
|
1783
|
-
|
|
1784
1779
|
/**
|
|
1785
1780
|
* Immutable data can only be set during deploys and only be read during calls.
|
|
1786
1781
|
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
@@ -23,7 +23,7 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @name: WestendAssetHubApi
|
|
26
|
-
* @specVersion:
|
|
26
|
+
* @specVersion: 1017000
|
|
27
27
|
**/
|
|
28
28
|
export interface WestendAssetHubApi {
|
|
29
29
|
legacy: VersionedWestendAssetHubApi<RpcLegacy>;
|
|
@@ -13,7 +13,6 @@ import type {
|
|
|
13
13
|
BytesLike,
|
|
14
14
|
AccountId32Like,
|
|
15
15
|
AccountId32,
|
|
16
|
-
U256,
|
|
17
16
|
H160,
|
|
18
17
|
FixedBytes,
|
|
19
18
|
} from 'dedot/codecs';
|
|
@@ -877,12 +876,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
877
876
|
**/
|
|
878
877
|
reviveApi: {
|
|
879
878
|
/**
|
|
880
|
-
* Returns the free balance of the given `[H160]` address
|
|
879
|
+
* Returns the free balance of the given `[H160]` address.
|
|
881
880
|
*
|
|
882
881
|
* @callname: ReviveApi_balance
|
|
883
882
|
* @param {H160} address
|
|
884
883
|
**/
|
|
885
|
-
balance: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<
|
|
884
|
+
balance: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<bigint>>;
|
|
886
885
|
|
|
887
886
|
/**
|
|
888
887
|
* Returns the nonce of the given `[H160]` address.
|
|
@@ -952,7 +951,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
952
951
|
* @callname: ReviveApi_eth_transact
|
|
953
952
|
* @param {H160} origin
|
|
954
953
|
* @param {H160 | undefined} dest
|
|
955
|
-
* @param {
|
|
954
|
+
* @param {bigint} value
|
|
956
955
|
* @param {BytesLike} input
|
|
957
956
|
* @param {SpWeightsWeightV2Weight | undefined} gas_limit
|
|
958
957
|
* @param {bigint | undefined} storage_deposit_limit
|
|
@@ -962,7 +961,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
962
961
|
(
|
|
963
962
|
origin: H160,
|
|
964
963
|
dest: H160 | undefined,
|
|
965
|
-
value:
|
|
964
|
+
value: bigint,
|
|
966
965
|
input: BytesLike,
|
|
967
966
|
gasLimit?: SpWeightsWeightV2Weight | undefined,
|
|
968
967
|
storageDepositLimit?: bigint | undefined,
|
|
@@ -13176,10 +13176,6 @@ export type PalletReviveError =
|
|
|
13176
13176
|
* Failed to convert a U256 to a Balance.
|
|
13177
13177
|
**/
|
|
13178
13178
|
| 'BalanceConversionFailed'
|
|
13179
|
-
/**
|
|
13180
|
-
* Failed to convert an EVM balance to a native balance.
|
|
13181
|
-
**/
|
|
13182
|
-
| 'DecimalPrecisionLoss'
|
|
13183
13179
|
/**
|
|
13184
13180
|
* Immutable data can only be set during deploys and only be read during calls.
|
|
13185
13181
|
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
@@ -13397,7 +13393,7 @@ export type PalletRevivePrimitivesEthContractResult = {
|
|
|
13397
13393
|
fee: bigint;
|
|
13398
13394
|
gasRequired: SpWeightsWeightV2Weight;
|
|
13399
13395
|
storageDeposit: bigint;
|
|
13400
|
-
result: Result<
|
|
13396
|
+
result: Result<Bytes, DispatchError>;
|
|
13401
13397
|
};
|
|
13402
13398
|
|
|
13403
13399
|
export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; deposit: bigint };
|