@dedot/chaintypes 0.200.0 → 0.202.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/hydration/errors.d.ts +19 -0
- package/hydration/index.d.ts +1 -1
- package/hydration/types.d.ts +14 -0
- package/package.json +2 -2
- package/paseo-hydration/consts.d.ts +83 -11
- package/paseo-hydration/errors.d.ts +202 -28
- package/paseo-hydration/events.d.ts +173 -27
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/query.d.ts +91 -0
- package/paseo-hydration/tx.d.ts +384 -68
- package/paseo-hydration/types.d.ts +596 -64
- package/westend-asset-hub/consts.d.ts +0 -15
- package/westend-asset-hub/errors.d.ts +30 -41
- package/westend-asset-hub/events.d.ts +35 -37
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +41 -55
- package/westend-asset-hub/runtime.d.ts +28 -10
- package/westend-asset-hub/tx.d.ts +147 -117
- package/westend-asset-hub/types.d.ts +178 -227
- package/westend-asset-hub/view-functions.d.ts +120 -1
package/hydration/errors.d.ts
CHANGED
|
@@ -3928,6 +3928,25 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3928
3928
|
**/
|
|
3929
3929
|
[error: string]: GenericPalletError;
|
|
3930
3930
|
};
|
|
3931
|
+
/**
|
|
3932
|
+
* Pallet `IsmpParachain`'s errors
|
|
3933
|
+
**/
|
|
3934
|
+
ismpParachain: {
|
|
3935
|
+
/**
|
|
3936
|
+
* Only Parachain Consensus updates should be passed in the inherents.
|
|
3937
|
+
**/
|
|
3938
|
+
InvalidConsensusStateId: GenericPalletError;
|
|
3939
|
+
|
|
3940
|
+
/**
|
|
3941
|
+
* ValidationData must be updated only once in a block.
|
|
3942
|
+
**/
|
|
3943
|
+
ConsensusAlreadyUpdated: GenericPalletError;
|
|
3944
|
+
|
|
3945
|
+
/**
|
|
3946
|
+
* Generic pallet error
|
|
3947
|
+
**/
|
|
3948
|
+
[error: string]: GenericPalletError;
|
|
3949
|
+
};
|
|
3931
3950
|
/**
|
|
3932
3951
|
* Pallet `Hyperbridge`'s errors
|
|
3933
3952
|
**/
|
package/hydration/index.d.ts
CHANGED
package/hydration/types.d.ts
CHANGED
|
@@ -19846,6 +19846,19 @@ export type PalletIsmpError =
|
|
|
19846
19846
|
**/
|
|
19847
19847
|
| 'ChallengePeriodUpdateFailed';
|
|
19848
19848
|
|
|
19849
|
+
/**
|
|
19850
|
+
* The `Error` enum of this pallet.
|
|
19851
|
+
**/
|
|
19852
|
+
export type IsmpParachainError =
|
|
19853
|
+
/**
|
|
19854
|
+
* Only Parachain Consensus updates should be passed in the inherents.
|
|
19855
|
+
**/
|
|
19856
|
+
| 'InvalidConsensusStateId'
|
|
19857
|
+
/**
|
|
19858
|
+
* ValidationData must be updated only once in a block.
|
|
19859
|
+
**/
|
|
19860
|
+
| 'ConsensusAlreadyUpdated';
|
|
19861
|
+
|
|
19849
19862
|
/**
|
|
19850
19863
|
* The `Error` enum of this pallet.
|
|
19851
19864
|
**/
|
|
@@ -20172,6 +20185,7 @@ export type HydradxRuntimeRuntimeError =
|
|
|
20172
20185
|
| { pallet: 'CollatorSelection'; palletError: PalletCollatorSelectionError }
|
|
20173
20186
|
| { pallet: 'Session'; palletError: PalletSessionError }
|
|
20174
20187
|
| { pallet: 'Ismp'; palletError: PalletIsmpError }
|
|
20188
|
+
| { pallet: 'IsmpParachain'; palletError: IsmpParachainError }
|
|
20175
20189
|
| { pallet: 'Hyperbridge'; palletError: PalletHyperbridgeError }
|
|
20176
20190
|
| { pallet: 'TokenGateway'; palletError: PalletTokenGatewayError }
|
|
20177
20191
|
| { pallet: 'EmaOracle'; palletError: PalletEmaOracleError }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.202.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "8b8e85ea9f42d27dc007a7617cc4e9adc46ffda8",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
|
@@ -1246,6 +1246,89 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1246
1246
|
**/
|
|
1247
1247
|
[name: string]: any;
|
|
1248
1248
|
};
|
|
1249
|
+
/**
|
|
1250
|
+
* Pallet `Signet`'s constants
|
|
1251
|
+
**/
|
|
1252
|
+
signet: {
|
|
1253
|
+
/**
|
|
1254
|
+
* The pallet's unique ID for deriving its account
|
|
1255
|
+
**/
|
|
1256
|
+
palletId: FrameSupportPalletId;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Maximum length for chain ID
|
|
1260
|
+
**/
|
|
1261
|
+
maxChainIdLength: number;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Maximum length of transaction data
|
|
1265
|
+
**/
|
|
1266
|
+
maxDataLength: number;
|
|
1267
|
+
maxSignatureDeposit: bigint;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Generic pallet constant
|
|
1271
|
+
**/
|
|
1272
|
+
[name: string]: any;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* Pallet `EthDispenser`'s constants
|
|
1276
|
+
**/
|
|
1277
|
+
ethDispenser: {
|
|
1278
|
+
/**
|
|
1279
|
+
* Minimum amount of faucet asset that can be requested in a single call.
|
|
1280
|
+
**/
|
|
1281
|
+
minimumRequestAmount: bigint;
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* Maximum amount of faucet asset that can be requested in a single call.
|
|
1285
|
+
**/
|
|
1286
|
+
maxDispenseAmount: bigint;
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Flat fee charged in `FeeAsset` for each faucet request.
|
|
1290
|
+
**/
|
|
1291
|
+
dispenserFee: bigint;
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* Asset ID used to charge the faucet request fee.
|
|
1295
|
+
* (HDX - 0)
|
|
1296
|
+
**/
|
|
1297
|
+
feeAsset: number;
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* Asset ID deducted to receive faucet on the destination chain.
|
|
1301
|
+
* (WETH - 20)
|
|
1302
|
+
**/
|
|
1303
|
+
faucetAsset: number;
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Account that receives the collected dispenser fees and faucet asset.
|
|
1307
|
+
**/
|
|
1308
|
+
feeDestination: AccountId32;
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* EVM address of the external gas faucet contract.
|
|
1312
|
+
**/
|
|
1313
|
+
faucetAddress: FixedBytes<20>;
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Pallet ID used to derive the pallet's sovereign account.
|
|
1317
|
+
**/
|
|
1318
|
+
palletId: FrameSupportPalletId;
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* Minimum remaining ETH (in wei) that must be available in the faucet
|
|
1322
|
+
* after servicing a request. Requests are rejected if this threshold
|
|
1323
|
+
* would be breached.
|
|
1324
|
+
**/
|
|
1325
|
+
minFaucetEthThreshold: bigint;
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Generic pallet constant
|
|
1329
|
+
**/
|
|
1330
|
+
[name: string]: any;
|
|
1331
|
+
};
|
|
1249
1332
|
/**
|
|
1250
1333
|
* Pallet `Tokens`'s constants
|
|
1251
1334
|
**/
|
|
@@ -1772,17 +1855,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1772
1855
|
**/
|
|
1773
1856
|
[name: string]: any;
|
|
1774
1857
|
};
|
|
1775
|
-
/**
|
|
1776
|
-
* Pallet `IsmpOracle`'s constants
|
|
1777
|
-
**/
|
|
1778
|
-
ismpOracle: {
|
|
1779
|
-
requestsTimeout: bigint;
|
|
1780
|
-
|
|
1781
|
-
/**
|
|
1782
|
-
* Generic pallet constant
|
|
1783
|
-
**/
|
|
1784
|
-
[name: string]: any;
|
|
1785
|
-
};
|
|
1786
1858
|
/**
|
|
1787
1859
|
* Pallet `EmaOracle`'s constants
|
|
1788
1860
|
**/
|
|
@@ -194,6 +194,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
194
194
|
**/
|
|
195
195
|
EvmPermitRunnerError: GenericPalletError;
|
|
196
196
|
|
|
197
|
+
/**
|
|
198
|
+
* EVM permit must not affect account nonce.
|
|
199
|
+
**/
|
|
200
|
+
EvmPermitNonceInvariantViolated: GenericPalletError;
|
|
201
|
+
|
|
197
202
|
/**
|
|
198
203
|
* Generic pallet error
|
|
199
204
|
**/
|
|
@@ -1130,6 +1135,41 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1130
1135
|
**/
|
|
1131
1136
|
NotEvmCall: GenericPalletError;
|
|
1132
1137
|
|
|
1138
|
+
/**
|
|
1139
|
+
* The EVM call ran out of gas.
|
|
1140
|
+
**/
|
|
1141
|
+
EvmOutOfGas: GenericPalletError;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* The EVM call resulted in an arithmetic overflow or underflow.
|
|
1145
|
+
**/
|
|
1146
|
+
EvmArithmeticOverflowOrUnderflow: GenericPalletError;
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* Aave - supply cap has been exceeded.
|
|
1150
|
+
**/
|
|
1151
|
+
AaveSupplyCapExceeded: GenericPalletError;
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Aave - borrow cap has been exceeded.
|
|
1155
|
+
**/
|
|
1156
|
+
AaveBorrowCapExceeded: GenericPalletError;
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Aave - health factor is not below the threshold.
|
|
1160
|
+
**/
|
|
1161
|
+
AaveHealthFactorNotBelowThreshold: GenericPalletError;
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Aave - health factor is lesser than the liquidation threshold
|
|
1165
|
+
**/
|
|
1166
|
+
AaveHealthFactorLowerThanLiquidationThreshold: GenericPalletError;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Aave - there is not enough collateral to cover a new borrow
|
|
1170
|
+
**/
|
|
1171
|
+
CollateralCannotCoverNewBorrow: GenericPalletError;
|
|
1172
|
+
|
|
1133
1173
|
/**
|
|
1134
1174
|
* Generic pallet error
|
|
1135
1175
|
**/
|
|
@@ -2325,18 +2365,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2325
2365
|
**/
|
|
2326
2366
|
ZeroLiquidity: GenericPalletError;
|
|
2327
2367
|
|
|
2328
|
-
/**
|
|
2329
|
-
* It is not allowed to create a pool with zero initial price.
|
|
2330
|
-
* Not used, kept for backward compatibility
|
|
2331
|
-
**/
|
|
2332
|
-
ZeroInitialPrice: GenericPalletError;
|
|
2333
|
-
|
|
2334
|
-
/**
|
|
2335
|
-
* Overflow
|
|
2336
|
-
* Not used, kept for backward compatibility
|
|
2337
|
-
**/
|
|
2338
|
-
CreatePoolAssetAmountInvalid: GenericPalletError;
|
|
2339
|
-
|
|
2340
2368
|
/**
|
|
2341
2369
|
* Overflow
|
|
2342
2370
|
**/
|
|
@@ -2407,11 +2435,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2407
2435
|
**/
|
|
2408
2436
|
FeeAmountInvalid: GenericPalletError;
|
|
2409
2437
|
|
|
2410
|
-
/**
|
|
2411
|
-
* Overflow
|
|
2412
|
-
**/
|
|
2413
|
-
CannotApplyDiscount: GenericPalletError;
|
|
2414
|
-
|
|
2415
2438
|
/**
|
|
2416
2439
|
* Max fraction of pool to buy in single transaction has been exceeded.
|
|
2417
2440
|
**/
|
|
@@ -2710,6 +2733,134 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2710
2733
|
**/
|
|
2711
2734
|
[error: string]: GenericPalletError;
|
|
2712
2735
|
};
|
|
2736
|
+
/**
|
|
2737
|
+
* Pallet `Signet`'s errors
|
|
2738
|
+
**/
|
|
2739
|
+
signet: {
|
|
2740
|
+
/**
|
|
2741
|
+
* The pallet has already been initialized
|
|
2742
|
+
**/
|
|
2743
|
+
AlreadyInitialized: GenericPalletError;
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* The pallet has not been initialized yet
|
|
2747
|
+
**/
|
|
2748
|
+
NotInitialized: GenericPalletError;
|
|
2749
|
+
|
|
2750
|
+
/**
|
|
2751
|
+
* Unauthorized - caller is not admin
|
|
2752
|
+
**/
|
|
2753
|
+
Unauthorized: GenericPalletError;
|
|
2754
|
+
|
|
2755
|
+
/**
|
|
2756
|
+
* Insufficient funds for withdrawal
|
|
2757
|
+
**/
|
|
2758
|
+
InsufficientFunds: GenericPalletError;
|
|
2759
|
+
|
|
2760
|
+
/**
|
|
2761
|
+
* Invalid transaction data (empty)
|
|
2762
|
+
**/
|
|
2763
|
+
InvalidTransaction: GenericPalletError;
|
|
2764
|
+
|
|
2765
|
+
/**
|
|
2766
|
+
* Arrays must have the same length
|
|
2767
|
+
**/
|
|
2768
|
+
InvalidInputLength: GenericPalletError;
|
|
2769
|
+
|
|
2770
|
+
/**
|
|
2771
|
+
* The chain ID is too long
|
|
2772
|
+
**/
|
|
2773
|
+
ChainIdTooLong: GenericPalletError;
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* Transaction data exceeds maximum allowed length
|
|
2777
|
+
**/
|
|
2778
|
+
DataTooLong: GenericPalletError;
|
|
2779
|
+
|
|
2780
|
+
/**
|
|
2781
|
+
* Invalid address format - must be exactly 20 bytes
|
|
2782
|
+
**/
|
|
2783
|
+
InvalidAddress: GenericPalletError;
|
|
2784
|
+
|
|
2785
|
+
/**
|
|
2786
|
+
* Priority fee cannot exceed max fee per gas (EIP-1559 requirement)
|
|
2787
|
+
**/
|
|
2788
|
+
InvalidGasPrice: GenericPalletError;
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* Signature Deposit cannot exceed MaxSignatureDeposit
|
|
2792
|
+
**/
|
|
2793
|
+
MaxDepositExceeded: GenericPalletError;
|
|
2794
|
+
|
|
2795
|
+
/**
|
|
2796
|
+
* Generic pallet error
|
|
2797
|
+
**/
|
|
2798
|
+
[error: string]: GenericPalletError;
|
|
2799
|
+
};
|
|
2800
|
+
/**
|
|
2801
|
+
* Pallet `EthDispenser`'s errors
|
|
2802
|
+
**/
|
|
2803
|
+
ethDispenser: {
|
|
2804
|
+
/**
|
|
2805
|
+
* Request ID has already been used.
|
|
2806
|
+
**/
|
|
2807
|
+
DuplicateRequest: GenericPalletError;
|
|
2808
|
+
|
|
2809
|
+
/**
|
|
2810
|
+
* Failed to (de)serialize data.
|
|
2811
|
+
**/
|
|
2812
|
+
Serialization: GenericPalletError;
|
|
2813
|
+
|
|
2814
|
+
/**
|
|
2815
|
+
* Output data did not match the expected format.
|
|
2816
|
+
**/
|
|
2817
|
+
InvalidOutput: GenericPalletError;
|
|
2818
|
+
|
|
2819
|
+
/**
|
|
2820
|
+
* Request ID does not match the derived ID for the provided data.
|
|
2821
|
+
**/
|
|
2822
|
+
InvalidRequestId: GenericPalletError;
|
|
2823
|
+
|
|
2824
|
+
/**
|
|
2825
|
+
* Pallet is paused and cannot process this call.
|
|
2826
|
+
**/
|
|
2827
|
+
Paused: GenericPalletError;
|
|
2828
|
+
|
|
2829
|
+
/**
|
|
2830
|
+
* Requested amount is below the configured minimum.
|
|
2831
|
+
**/
|
|
2832
|
+
AmountTooSmall: GenericPalletError;
|
|
2833
|
+
|
|
2834
|
+
/**
|
|
2835
|
+
* Requested amount exceeds the configured maximum.
|
|
2836
|
+
**/
|
|
2837
|
+
AmountTooLarge: GenericPalletError;
|
|
2838
|
+
|
|
2839
|
+
/**
|
|
2840
|
+
* EVM address parameter is invalid (e.g., zero address).
|
|
2841
|
+
**/
|
|
2842
|
+
InvalidAddress: GenericPalletError;
|
|
2843
|
+
|
|
2844
|
+
/**
|
|
2845
|
+
* Faucet balance would fall below the configured threshold after this request.
|
|
2846
|
+
**/
|
|
2847
|
+
FaucetBalanceBelowThreshold: GenericPalletError;
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* Caller does not have enough balance of the fee asset.
|
|
2851
|
+
**/
|
|
2852
|
+
NotEnoughFeeFunds: GenericPalletError;
|
|
2853
|
+
|
|
2854
|
+
/**
|
|
2855
|
+
* Caller does not have enough balance of the faucet asset.
|
|
2856
|
+
**/
|
|
2857
|
+
NotEnoughFaucetFunds: GenericPalletError;
|
|
2858
|
+
|
|
2859
|
+
/**
|
|
2860
|
+
* Generic pallet error
|
|
2861
|
+
**/
|
|
2862
|
+
[error: string]: GenericPalletError;
|
|
2863
|
+
};
|
|
2713
2864
|
/**
|
|
2714
2865
|
* Pallet `Tokens`'s errors
|
|
2715
2866
|
**/
|
|
@@ -2940,6 +3091,21 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2940
3091
|
**/
|
|
2941
3092
|
AddressNotWhitelisted: GenericPalletError;
|
|
2942
3093
|
|
|
3094
|
+
/**
|
|
3095
|
+
* Provided signature is invalid
|
|
3096
|
+
**/
|
|
3097
|
+
InvalidSignature: GenericPalletError;
|
|
3098
|
+
|
|
3099
|
+
/**
|
|
3100
|
+
* Account already exists in the system pallet
|
|
3101
|
+
**/
|
|
3102
|
+
AccountAlreadyExists: GenericPalletError;
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* Insufficient asset balance of the claimed asset
|
|
3106
|
+
**/
|
|
3107
|
+
InsufficientAssetBalance: GenericPalletError;
|
|
3108
|
+
|
|
2943
3109
|
/**
|
|
2944
3110
|
* Generic pallet error
|
|
2945
3111
|
**/
|
|
@@ -3928,6 +4094,25 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3928
4094
|
**/
|
|
3929
4095
|
[error: string]: GenericPalletError;
|
|
3930
4096
|
};
|
|
4097
|
+
/**
|
|
4098
|
+
* Pallet `IsmpParachain`'s errors
|
|
4099
|
+
**/
|
|
4100
|
+
ismpParachain: {
|
|
4101
|
+
/**
|
|
4102
|
+
* Only Parachain Consensus updates should be passed in the inherents.
|
|
4103
|
+
**/
|
|
4104
|
+
InvalidConsensusStateId: GenericPalletError;
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* ValidationData must be updated only once in a block.
|
|
4108
|
+
**/
|
|
4109
|
+
ConsensusAlreadyUpdated: GenericPalletError;
|
|
4110
|
+
|
|
4111
|
+
/**
|
|
4112
|
+
* Generic pallet error
|
|
4113
|
+
**/
|
|
4114
|
+
[error: string]: GenericPalletError;
|
|
4115
|
+
};
|
|
3931
4116
|
/**
|
|
3932
4117
|
* Pallet `Hyperbridge`'s errors
|
|
3933
4118
|
**/
|
|
@@ -3991,17 +4176,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3991
4176
|
**/
|
|
3992
4177
|
[error: string]: GenericPalletError;
|
|
3993
4178
|
};
|
|
3994
|
-
/**
|
|
3995
|
-
* Pallet `IsmpOracle`'s errors
|
|
3996
|
-
**/
|
|
3997
|
-
ismpOracle: {
|
|
3998
|
-
GetRequestFailed: GenericPalletError;
|
|
3999
|
-
|
|
4000
|
-
/**
|
|
4001
|
-
* Generic pallet error
|
|
4002
|
-
**/
|
|
4003
|
-
[error: string]: GenericPalletError;
|
|
4004
|
-
};
|
|
4005
4179
|
/**
|
|
4006
4180
|
* Pallet `EmaOracle`'s errors
|
|
4007
4181
|
**/
|
|
@@ -14,7 +14,6 @@ import type {
|
|
|
14
14
|
Perquintill,
|
|
15
15
|
Perbill,
|
|
16
16
|
H160,
|
|
17
|
-
U256,
|
|
18
17
|
} from 'dedot/codecs';
|
|
19
18
|
import type {
|
|
20
19
|
FrameSupportTokensMiscBalanceStatus,
|
|
@@ -45,6 +44,7 @@ import type {
|
|
|
45
44
|
PalletReferralsAssetAmount,
|
|
46
45
|
PalletReferralsLevel,
|
|
47
46
|
PalletReferralsFeeDistribution,
|
|
47
|
+
PalletSignetSignature,
|
|
48
48
|
OrmlVestingVestingSchedule,
|
|
49
49
|
EthereumLog,
|
|
50
50
|
EvmCoreErrorExitReason,
|
|
@@ -70,7 +70,6 @@ import type {
|
|
|
70
70
|
IsmpEventsTimeoutHandled,
|
|
71
71
|
IsmpParachainParachainData,
|
|
72
72
|
PalletHyperbridgeVersionedHostParams,
|
|
73
|
-
IsmpRouterStorageValue,
|
|
74
73
|
PalletBroadcastFiller,
|
|
75
74
|
PalletBroadcastTradeOperation,
|
|
76
75
|
PalletBroadcastAsset,
|
|
@@ -2725,6 +2724,173 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2725
2724
|
**/
|
|
2726
2725
|
[prop: string]: GenericPalletEvent;
|
|
2727
2726
|
};
|
|
2727
|
+
/**
|
|
2728
|
+
* Pallet `Signet`'s events
|
|
2729
|
+
**/
|
|
2730
|
+
signet: {
|
|
2731
|
+
/**
|
|
2732
|
+
* Pallet has been initialized with an admin
|
|
2733
|
+
**/
|
|
2734
|
+
Initialized: GenericPalletEvent<
|
|
2735
|
+
'Signet',
|
|
2736
|
+
'Initialized',
|
|
2737
|
+
{ admin: AccountId32; signatureDeposit: bigint; chainId: Bytes }
|
|
2738
|
+
>;
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* Signature deposit amount has been updated
|
|
2742
|
+
**/
|
|
2743
|
+
DepositUpdated: GenericPalletEvent<'Signet', 'DepositUpdated', { oldDeposit: bigint; newDeposit: bigint }>;
|
|
2744
|
+
|
|
2745
|
+
/**
|
|
2746
|
+
* Funds have been withdrawn from the pallet
|
|
2747
|
+
**/
|
|
2748
|
+
FundsWithdrawn: GenericPalletEvent<'Signet', 'FundsWithdrawn', { amount: bigint; recipient: AccountId32 }>;
|
|
2749
|
+
|
|
2750
|
+
/**
|
|
2751
|
+
* A signature has been requested
|
|
2752
|
+
**/
|
|
2753
|
+
SignatureRequested: GenericPalletEvent<
|
|
2754
|
+
'Signet',
|
|
2755
|
+
'SignatureRequested',
|
|
2756
|
+
{
|
|
2757
|
+
sender: AccountId32;
|
|
2758
|
+
payload: FixedBytes<32>;
|
|
2759
|
+
keyVersion: number;
|
|
2760
|
+
deposit: bigint;
|
|
2761
|
+
chainId: Bytes;
|
|
2762
|
+
path: Bytes;
|
|
2763
|
+
algo: Bytes;
|
|
2764
|
+
dest: Bytes;
|
|
2765
|
+
params: Bytes;
|
|
2766
|
+
}
|
|
2767
|
+
>;
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* Sign-respond request event
|
|
2771
|
+
**/
|
|
2772
|
+
SignRespondRequested: GenericPalletEvent<
|
|
2773
|
+
'Signet',
|
|
2774
|
+
'SignRespondRequested',
|
|
2775
|
+
{
|
|
2776
|
+
sender: AccountId32;
|
|
2777
|
+
transactionData: Bytes;
|
|
2778
|
+
slip44ChainId: number;
|
|
2779
|
+
keyVersion: number;
|
|
2780
|
+
deposit: bigint;
|
|
2781
|
+
path: Bytes;
|
|
2782
|
+
algo: Bytes;
|
|
2783
|
+
dest: Bytes;
|
|
2784
|
+
params: Bytes;
|
|
2785
|
+
explorerDeserializationFormat: number;
|
|
2786
|
+
explorerDeserializationSchema: Bytes;
|
|
2787
|
+
callbackSerializationFormat: number;
|
|
2788
|
+
callbackSerializationSchema: Bytes;
|
|
2789
|
+
}
|
|
2790
|
+
>;
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* Signature response event
|
|
2794
|
+
**/
|
|
2795
|
+
SignatureResponded: GenericPalletEvent<
|
|
2796
|
+
'Signet',
|
|
2797
|
+
'SignatureResponded',
|
|
2798
|
+
{ requestId: FixedBytes<32>; responder: AccountId32; signature: PalletSignetSignature }
|
|
2799
|
+
>;
|
|
2800
|
+
|
|
2801
|
+
/**
|
|
2802
|
+
* Signature error event
|
|
2803
|
+
**/
|
|
2804
|
+
SignatureError: GenericPalletEvent<
|
|
2805
|
+
'Signet',
|
|
2806
|
+
'SignatureError',
|
|
2807
|
+
{ requestId: FixedBytes<32>; responder: AccountId32; error: Bytes }
|
|
2808
|
+
>;
|
|
2809
|
+
|
|
2810
|
+
/**
|
|
2811
|
+
* Read response event
|
|
2812
|
+
**/
|
|
2813
|
+
ReadResponded: GenericPalletEvent<
|
|
2814
|
+
'Signet',
|
|
2815
|
+
'ReadResponded',
|
|
2816
|
+
{ requestId: FixedBytes<32>; responder: AccountId32; serializedOutput: Bytes; signature: PalletSignetSignature }
|
|
2817
|
+
>;
|
|
2818
|
+
|
|
2819
|
+
/**
|
|
2820
|
+
* Generic pallet event
|
|
2821
|
+
**/
|
|
2822
|
+
[prop: string]: GenericPalletEvent;
|
|
2823
|
+
};
|
|
2824
|
+
/**
|
|
2825
|
+
* Pallet `EthDispenser`'s events
|
|
2826
|
+
**/
|
|
2827
|
+
ethDispenser: {
|
|
2828
|
+
/**
|
|
2829
|
+
* Dispenser has been paused. No new requests will be accepted.
|
|
2830
|
+
**/
|
|
2831
|
+
Paused: GenericPalletEvent<'EthDispenser', 'Paused', null>;
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* Dispenser has been unpaused. New requests are allowed again.
|
|
2835
|
+
**/
|
|
2836
|
+
Unpaused: GenericPalletEvent<'EthDispenser', 'Unpaused', null>;
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* A funding request has been submitted to SigNet.
|
|
2840
|
+
*
|
|
2841
|
+
* Note: This indicates the request was formed and submitted, not that
|
|
2842
|
+
* the EVM transaction has been included on the target chain.
|
|
2843
|
+
**/
|
|
2844
|
+
FundRequested: GenericPalletEvent<
|
|
2845
|
+
'EthDispenser',
|
|
2846
|
+
'FundRequested',
|
|
2847
|
+
{
|
|
2848
|
+
/**
|
|
2849
|
+
* Unique request ID derived from request parameters.
|
|
2850
|
+
**/
|
|
2851
|
+
requestId: FixedBytes<32>;
|
|
2852
|
+
|
|
2853
|
+
/**
|
|
2854
|
+
* Account that initiated the request.
|
|
2855
|
+
**/
|
|
2856
|
+
requester: AccountId32;
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* Target EVM address to receive ETH.
|
|
2860
|
+
**/
|
|
2861
|
+
to: FixedBytes<20>;
|
|
2862
|
+
|
|
2863
|
+
/**
|
|
2864
|
+
* Requested amount of ETH (in wei).
|
|
2865
|
+
**/
|
|
2866
|
+
amount: bigint;
|
|
2867
|
+
}
|
|
2868
|
+
>;
|
|
2869
|
+
|
|
2870
|
+
/**
|
|
2871
|
+
* Tracked faucet ETH balance has been updated.
|
|
2872
|
+
**/
|
|
2873
|
+
FaucetBalanceUpdated: GenericPalletEvent<
|
|
2874
|
+
'EthDispenser',
|
|
2875
|
+
'FaucetBalanceUpdated',
|
|
2876
|
+
{
|
|
2877
|
+
/**
|
|
2878
|
+
* Previous tracked balance (in wei).
|
|
2879
|
+
**/
|
|
2880
|
+
oldBalanceWei: bigint;
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
* New tracked balance (in wei).
|
|
2884
|
+
**/
|
|
2885
|
+
newBalanceWei: bigint;
|
|
2886
|
+
}
|
|
2887
|
+
>;
|
|
2888
|
+
|
|
2889
|
+
/**
|
|
2890
|
+
* Generic pallet event
|
|
2891
|
+
**/
|
|
2892
|
+
[prop: string]: GenericPalletEvent;
|
|
2893
|
+
};
|
|
2728
2894
|
/**
|
|
2729
2895
|
* Pallet `Tokens`'s events
|
|
2730
2896
|
**/
|
|
@@ -2989,6 +3155,11 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
2989
3155
|
**/
|
|
2990
3156
|
ContractDisapproved: GenericPalletEvent<'EVMAccounts', 'ContractDisapproved', { address: H160 }>;
|
|
2991
3157
|
|
|
3158
|
+
/**
|
|
3159
|
+
* Account was claimed.
|
|
3160
|
+
**/
|
|
3161
|
+
AccountClaimed: GenericPalletEvent<'EVMAccounts', 'AccountClaimed', { account: AccountId32; assetId: number }>;
|
|
3162
|
+
|
|
2992
3163
|
/**
|
|
2993
3164
|
* Generic pallet event
|
|
2994
3165
|
**/
|
|
@@ -4397,31 +4568,6 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
4397
4568
|
**/
|
|
4398
4569
|
[prop: string]: GenericPalletEvent;
|
|
4399
4570
|
};
|
|
4400
|
-
/**
|
|
4401
|
-
* Pallet `IsmpOracle`'s events
|
|
4402
|
-
**/
|
|
4403
|
-
ismpOracle: {
|
|
4404
|
-
GetRequestSent: GenericPalletEvent<'IsmpOracle', 'GetRequestSent', { commitment: H256 }>;
|
|
4405
|
-
PostRequestSent: GenericPalletEvent<'IsmpOracle', 'PostRequestSent', { commitment: H256 }>;
|
|
4406
|
-
GetRequestResponded: GenericPalletEvent<
|
|
4407
|
-
'IsmpOracle',
|
|
4408
|
-
'GetRequestResponded',
|
|
4409
|
-
{ commitment: H256; storageValues: Array<IsmpRouterStorageValue> }
|
|
4410
|
-
>;
|
|
4411
|
-
WstEthPriceReceived: GenericPalletEvent<
|
|
4412
|
-
'IsmpOracle',
|
|
4413
|
-
'WstEthPriceReceived',
|
|
4414
|
-
{ commitment: H256; ethPerWsteth: U256 }
|
|
4415
|
-
>;
|
|
4416
|
-
PostRequestResponded: GenericPalletEvent<'IsmpOracle', 'PostRequestResponded', { commitment: H256 }>;
|
|
4417
|
-
GetRequestTimedOut: GenericPalletEvent<'IsmpOracle', 'GetRequestTimedOut', { commitment: H256 }>;
|
|
4418
|
-
PostResponseTimedOut: GenericPalletEvent<'IsmpOracle', 'PostResponseTimedOut', { commitment: H256 }>;
|
|
4419
|
-
|
|
4420
|
-
/**
|
|
4421
|
-
* Generic pallet event
|
|
4422
|
-
**/
|
|
4423
|
-
[prop: string]: GenericPalletEvent;
|
|
4424
|
-
};
|
|
4425
4571
|
/**
|
|
4426
4572
|
* Pallet `EmaOracle`'s events
|
|
4427
4573
|
**/
|