@dedot/chaintypes 0.201.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.
@@ -92,6 +92,8 @@ export type HydradxRuntimeRuntimeEvent =
92
92
  | { pallet: 'Referrals'; palletEvent: PalletReferralsEvent }
93
93
  | { pallet: 'Liquidation'; palletEvent: PalletLiquidationEvent }
94
94
  | { pallet: 'Hsm'; palletEvent: PalletHsmEvent }
95
+ | { pallet: 'Signet'; palletEvent: PalletSignetEvent }
96
+ | { pallet: 'EthDispenser'; palletEvent: PalletDispenserEvent }
95
97
  | { pallet: 'Tokens'; palletEvent: OrmlTokensModuleEvent }
96
98
  | { pallet: 'Currencies'; palletEvent: PalletCurrenciesModuleEvent }
97
99
  | { pallet: 'Vesting'; palletEvent: OrmlVestingModuleEvent }
@@ -117,7 +119,6 @@ export type HydradxRuntimeRuntimeEvent =
117
119
  | { pallet: 'IsmpParachain'; palletEvent: IsmpParachainEvent }
118
120
  | { pallet: 'Hyperbridge'; palletEvent: PalletHyperbridgeEvent }
119
121
  | { pallet: 'TokenGateway'; palletEvent: PalletTokenGatewayEvent }
120
- | { pallet: 'IsmpOracle'; palletEvent: PalletIsmpOracleTestEvent }
121
122
  | { pallet: 'EmaOracle'; palletEvent: PalletEmaOracleEvent }
122
123
  | { pallet: 'Broadcast'; palletEvent: PalletBroadcastEvent };
123
124
 
@@ -1293,6 +1294,8 @@ export type HydradxRuntimeRuntimeCall =
1293
1294
  | { pallet: 'Referrals'; palletCall: PalletReferralsCall }
1294
1295
  | { pallet: 'Liquidation'; palletCall: PalletLiquidationCall }
1295
1296
  | { pallet: 'Hsm'; palletCall: PalletHsmCall }
1297
+ | { pallet: 'Signet'; palletCall: PalletSignetCall }
1298
+ | { pallet: 'EthDispenser'; palletCall: PalletDispenserCall }
1296
1299
  | { pallet: 'Tokens'; palletCall: OrmlTokensModuleCall }
1297
1300
  | { pallet: 'Currencies'; palletCall: PalletCurrenciesModuleCall }
1298
1301
  | { pallet: 'Vesting'; palletCall: OrmlVestingModuleCall }
@@ -1316,7 +1319,6 @@ export type HydradxRuntimeRuntimeCall =
1316
1319
  | { pallet: 'Ismp'; palletCall: PalletIsmpCall }
1317
1320
  | { pallet: 'IsmpParachain'; palletCall: IsmpParachainCall }
1318
1321
  | { pallet: 'TokenGateway'; palletCall: PalletTokenGatewayCall }
1319
- | { pallet: 'IsmpOracle'; palletCall: PalletIsmpOracleTestCall }
1320
1322
  | { pallet: 'EmaOracle'; palletCall: PalletEmaOracleCall }
1321
1323
  | { pallet: 'Broadcast'; palletCall: PalletBroadcastCall };
1322
1324
 
@@ -1360,6 +1362,8 @@ export type HydradxRuntimeRuntimeCallLike =
1360
1362
  | { pallet: 'Referrals'; palletCall: PalletReferralsCallLike }
1361
1363
  | { pallet: 'Liquidation'; palletCall: PalletLiquidationCallLike }
1362
1364
  | { pallet: 'Hsm'; palletCall: PalletHsmCallLike }
1365
+ | { pallet: 'Signet'; palletCall: PalletSignetCallLike }
1366
+ | { pallet: 'EthDispenser'; palletCall: PalletDispenserCallLike }
1363
1367
  | { pallet: 'Tokens'; palletCall: OrmlTokensModuleCallLike }
1364
1368
  | { pallet: 'Currencies'; palletCall: PalletCurrenciesModuleCallLike }
1365
1369
  | { pallet: 'Vesting'; palletCall: OrmlVestingModuleCallLike }
@@ -1383,7 +1387,6 @@ export type HydradxRuntimeRuntimeCallLike =
1383
1387
  | { pallet: 'Ismp'; palletCall: PalletIsmpCallLike }
1384
1388
  | { pallet: 'IsmpParachain'; palletCall: IsmpParachainCallLike }
1385
1389
  | { pallet: 'TokenGateway'; palletCall: PalletTokenGatewayCallLike }
1386
- | { pallet: 'IsmpOracle'; palletCall: PalletIsmpOracleTestCallLike }
1387
1390
  | { pallet: 'EmaOracle'; palletCall: PalletEmaOracleCallLike }
1388
1391
  | { pallet: 'Broadcast'; palletCall: PalletBroadcastCallLike };
1389
1392
 
@@ -10232,6 +10235,256 @@ export type PalletHsmCallLike =
10232
10235
 
10233
10236
  export type PalletHsmArbitrage = { type: 'HollarOut'; value: bigint } | { type: 'HollarIn'; value: bigint };
10234
10237
 
10238
+ /**
10239
+ * Contains a variant per dispatchable extrinsic that this pallet has.
10240
+ **/
10241
+ export type PalletSignetCall =
10242
+ /**
10243
+ * Initialize the pallet with admin, deposit, and chain ID
10244
+ **/
10245
+ | { name: 'Initialize'; params: { admin: AccountId32; signatureDeposit: bigint; chainId: Bytes } }
10246
+ /**
10247
+ * Update the signature deposit amount (admin only)
10248
+ **/
10249
+ | { name: 'UpdateDeposit'; params: { newDeposit: bigint } }
10250
+ /**
10251
+ * Withdraw funds from the pallet account (admin only)
10252
+ **/
10253
+ | { name: 'WithdrawFunds'; params: { recipient: AccountId32; amount: bigint } }
10254
+ /**
10255
+ * Request a signature for a payload
10256
+ **/
10257
+ | {
10258
+ name: 'Sign';
10259
+ params: { payload: FixedBytes<32>; keyVersion: number; path: Bytes; algo: Bytes; dest: Bytes; params: Bytes };
10260
+ }
10261
+ /**
10262
+ * Request a signature for a serialized transaction
10263
+ **/
10264
+ | {
10265
+ name: 'SignRespond';
10266
+ params: {
10267
+ serializedTransaction: Bytes;
10268
+ slip44ChainId: number;
10269
+ keyVersion: number;
10270
+ path: Bytes;
10271
+ algo: Bytes;
10272
+ dest: Bytes;
10273
+ params: Bytes;
10274
+ explorerDeserializationFormat: PalletSignetSerializationFormat;
10275
+ explorerDeserializationSchema: Bytes;
10276
+ callbackSerializationFormat: PalletSignetSerializationFormat;
10277
+ callbackSerializationSchema: Bytes;
10278
+ };
10279
+ }
10280
+ /**
10281
+ * Respond to signature requests (batch support)
10282
+ **/
10283
+ | { name: 'Respond'; params: { requestIds: Array<FixedBytes<32>>; signatures: Array<PalletSignetSignature> } }
10284
+ /**
10285
+ * Report signature generation errors (batch support)
10286
+ **/
10287
+ | { name: 'RespondError'; params: { errors: Array<PalletSignetErrorResponse> } }
10288
+ /**
10289
+ * Provide a read response with signature
10290
+ **/
10291
+ | {
10292
+ name: 'ReadRespond';
10293
+ params: { requestId: FixedBytes<32>; serializedOutput: Bytes; signature: PalletSignetSignature };
10294
+ };
10295
+
10296
+ export type PalletSignetCallLike =
10297
+ /**
10298
+ * Initialize the pallet with admin, deposit, and chain ID
10299
+ **/
10300
+ | { name: 'Initialize'; params: { admin: AccountId32Like; signatureDeposit: bigint; chainId: BytesLike } }
10301
+ /**
10302
+ * Update the signature deposit amount (admin only)
10303
+ **/
10304
+ | { name: 'UpdateDeposit'; params: { newDeposit: bigint } }
10305
+ /**
10306
+ * Withdraw funds from the pallet account (admin only)
10307
+ **/
10308
+ | { name: 'WithdrawFunds'; params: { recipient: AccountId32Like; amount: bigint } }
10309
+ /**
10310
+ * Request a signature for a payload
10311
+ **/
10312
+ | {
10313
+ name: 'Sign';
10314
+ params: {
10315
+ payload: FixedBytes<32>;
10316
+ keyVersion: number;
10317
+ path: BytesLike;
10318
+ algo: BytesLike;
10319
+ dest: BytesLike;
10320
+ params: BytesLike;
10321
+ };
10322
+ }
10323
+ /**
10324
+ * Request a signature for a serialized transaction
10325
+ **/
10326
+ | {
10327
+ name: 'SignRespond';
10328
+ params: {
10329
+ serializedTransaction: BytesLike;
10330
+ slip44ChainId: number;
10331
+ keyVersion: number;
10332
+ path: BytesLike;
10333
+ algo: BytesLike;
10334
+ dest: BytesLike;
10335
+ params: BytesLike;
10336
+ explorerDeserializationFormat: PalletSignetSerializationFormat;
10337
+ explorerDeserializationSchema: BytesLike;
10338
+ callbackSerializationFormat: PalletSignetSerializationFormat;
10339
+ callbackSerializationSchema: BytesLike;
10340
+ };
10341
+ }
10342
+ /**
10343
+ * Respond to signature requests (batch support)
10344
+ **/
10345
+ | { name: 'Respond'; params: { requestIds: Array<FixedBytes<32>>; signatures: Array<PalletSignetSignature> } }
10346
+ /**
10347
+ * Report signature generation errors (batch support)
10348
+ **/
10349
+ | { name: 'RespondError'; params: { errors: Array<PalletSignetErrorResponse> } }
10350
+ /**
10351
+ * Provide a read response with signature
10352
+ **/
10353
+ | {
10354
+ name: 'ReadRespond';
10355
+ params: { requestId: FixedBytes<32>; serializedOutput: BytesLike; signature: PalletSignetSignature };
10356
+ };
10357
+
10358
+ export type PalletSignetSerializationFormat = 'Borsh' | 'AbiJson';
10359
+
10360
+ export type PalletSignetSignature = { bigR: PalletSignetAffinePoint; s: FixedBytes<32>; recoveryId: number };
10361
+
10362
+ export type PalletSignetAffinePoint = { x: FixedBytes<32>; y: FixedBytes<32> };
10363
+
10364
+ export type PalletSignetErrorResponse = { requestId: FixedBytes<32>; errorMessage: Bytes };
10365
+
10366
+ /**
10367
+ * Dispatchable functions.
10368
+ **/
10369
+ export type PalletDispenserCall =
10370
+ /**
10371
+ * Request ETH from the external faucet for a given EVM address.
10372
+ *
10373
+ * This call:
10374
+ * - Verifies amount bounds and EVM transaction parameters.
10375
+ * - Checks the tracked faucet ETH balance against `MinFaucetEthThreshold`.
10376
+ * - Charges the configured fee in `FeeAsset`.
10377
+ * - Transfers the requested faucet asset from the user to `FeeDestination`.
10378
+ * - Builds an EVM transaction calling `IGasFaucet::fund`.
10379
+ * - Submits a signing request to SigNet via `pallet_signet::sign_respond`.
10380
+ *
10381
+ * The `request_id` must match the ID derived internally from the inputs,
10382
+ * otherwise the call will fail with `InvalidRequestId`.
10383
+ * Parameters:
10384
+ * - `to`: Target EVM address to receive ETH.
10385
+ * - `amount`: Amount of ETH (in wei) to request.
10386
+ * - `request_id`: Client-supplied request ID; must match derived ID.
10387
+ * - `tx`: Parameters for the EVM transaction submitted to the faucet.
10388
+ **/
10389
+ | {
10390
+ name: 'RequestFund';
10391
+ params: {
10392
+ to: FixedBytes<20>;
10393
+ amount: bigint;
10394
+ requestId: FixedBytes<32>;
10395
+ tx: PalletDispenserEvmTransactionParams;
10396
+ };
10397
+ }
10398
+ /**
10399
+ * Pause the dispenser so that no new funding requests can be made.
10400
+ *
10401
+ * Parameters:
10402
+ * - `origin`: Must satisfy `UpdateOrigin`.
10403
+ **/
10404
+ | { name: 'Pause' }
10405
+ /**
10406
+ * Unpause the dispenser so that funding requests are allowed again.
10407
+ *
10408
+ * Parameters:
10409
+ * - `origin`: Must satisfy `UpdateOrigin`
10410
+ **/
10411
+ | { name: 'Unpause' }
10412
+ /**
10413
+ * Increase the tracked faucet ETH balance (in wei).
10414
+ *
10415
+ * This is an accounting helper used to keep `FaucetBalanceWei`
10416
+ * roughly in sync with the real faucet balance on the EVM chain.
10417
+ *
10418
+ * Parameters:
10419
+ * - `origin`: Must satisfy `UpdateOrigin`.
10420
+ * - `balance_wei`: Amount (in wei) to add to the currently stored balance.
10421
+ **/
10422
+ | { name: 'SetFaucetBalance'; params: { balanceWei: bigint } };
10423
+
10424
+ export type PalletDispenserCallLike =
10425
+ /**
10426
+ * Request ETH from the external faucet for a given EVM address.
10427
+ *
10428
+ * This call:
10429
+ * - Verifies amount bounds and EVM transaction parameters.
10430
+ * - Checks the tracked faucet ETH balance against `MinFaucetEthThreshold`.
10431
+ * - Charges the configured fee in `FeeAsset`.
10432
+ * - Transfers the requested faucet asset from the user to `FeeDestination`.
10433
+ * - Builds an EVM transaction calling `IGasFaucet::fund`.
10434
+ * - Submits a signing request to SigNet via `pallet_signet::sign_respond`.
10435
+ *
10436
+ * The `request_id` must match the ID derived internally from the inputs,
10437
+ * otherwise the call will fail with `InvalidRequestId`.
10438
+ * Parameters:
10439
+ * - `to`: Target EVM address to receive ETH.
10440
+ * - `amount`: Amount of ETH (in wei) to request.
10441
+ * - `request_id`: Client-supplied request ID; must match derived ID.
10442
+ * - `tx`: Parameters for the EVM transaction submitted to the faucet.
10443
+ **/
10444
+ | {
10445
+ name: 'RequestFund';
10446
+ params: {
10447
+ to: FixedBytes<20>;
10448
+ amount: bigint;
10449
+ requestId: FixedBytes<32>;
10450
+ tx: PalletDispenserEvmTransactionParams;
10451
+ };
10452
+ }
10453
+ /**
10454
+ * Pause the dispenser so that no new funding requests can be made.
10455
+ *
10456
+ * Parameters:
10457
+ * - `origin`: Must satisfy `UpdateOrigin`.
10458
+ **/
10459
+ | { name: 'Pause' }
10460
+ /**
10461
+ * Unpause the dispenser so that funding requests are allowed again.
10462
+ *
10463
+ * Parameters:
10464
+ * - `origin`: Must satisfy `UpdateOrigin`
10465
+ **/
10466
+ | { name: 'Unpause' }
10467
+ /**
10468
+ * Increase the tracked faucet ETH balance (in wei).
10469
+ *
10470
+ * This is an accounting helper used to keep `FaucetBalanceWei`
10471
+ * roughly in sync with the real faucet balance on the EVM chain.
10472
+ *
10473
+ * Parameters:
10474
+ * - `origin`: Must satisfy `UpdateOrigin`.
10475
+ * - `balance_wei`: Amount (in wei) to add to the currently stored balance.
10476
+ **/
10477
+ | { name: 'SetFaucetBalance'; params: { balanceWei: bigint } };
10478
+
10479
+ export type PalletDispenserEvmTransactionParams = {
10480
+ value: bigint;
10481
+ gasLimit: bigint;
10482
+ maxFeePerGas: bigint;
10483
+ maxPriorityFeePerGas: bigint;
10484
+ nonce: bigint;
10485
+ chainId: bigint;
10486
+ };
10487
+
10235
10488
  /**
10236
10489
  * Contains a variant per dispatchable extrinsic that this pallet has.
10237
10490
  **/
@@ -10657,6 +10910,7 @@ export type PalletEvmAccountsCall =
10657
10910
  * to the origin address.
10658
10911
  *
10659
10912
  * Binding an address is not necessary for interacting with the EVM.
10913
+ * Increases `sufficients` for the account.
10660
10914
  *
10661
10915
  * Parameters:
10662
10916
  * - `origin`: Substrate account binding an address
@@ -10715,7 +10969,21 @@ export type PalletEvmAccountsCall =
10715
10969
  *
10716
10970
  * Emits `ContractDisapproved` event when successful.
10717
10971
  **/
10718
- | { name: 'DisapproveContract'; params: { address: H160 } };
10972
+ | { name: 'DisapproveContract'; params: { address: H160 } }
10973
+ /**
10974
+ * Proves ownership of an account and binds it to the EVM address.
10975
+ * This is useful for accounts that want to submit some substrate transaction, but only
10976
+ * received some ERC20 balance and `System` pallet doesn't register them as a substrate account.
10977
+ *
10978
+ * Parameters:
10979
+ * - `origin`: Unsigned origin.
10980
+ * - `account`: Account proving ownership of the address.
10981
+ * - `asset_id`: Asset ID to be set as fee currency for the account.
10982
+ * - `signature`: Signed message by the account that proves ownership of the account.
10983
+ *
10984
+ * Emits `AccountClaimed` event when successful.
10985
+ **/
10986
+ | { name: 'ClaimAccount'; params: { account: AccountId32; assetId: number; signature: SpRuntimeMultiSignature } };
10719
10987
 
10720
10988
  export type PalletEvmAccountsCallLike =
10721
10989
  /**
@@ -10725,6 +10993,7 @@ export type PalletEvmAccountsCallLike =
10725
10993
  * to the origin address.
10726
10994
  *
10727
10995
  * Binding an address is not necessary for interacting with the EVM.
10996
+ * Increases `sufficients` for the account.
10728
10997
  *
10729
10998
  * Parameters:
10730
10999
  * - `origin`: Substrate account binding an address
@@ -10783,7 +11052,21 @@ export type PalletEvmAccountsCallLike =
10783
11052
  *
10784
11053
  * Emits `ContractDisapproved` event when successful.
10785
11054
  **/
10786
- | { name: 'DisapproveContract'; params: { address: H160 } };
11055
+ | { name: 'DisapproveContract'; params: { address: H160 } }
11056
+ /**
11057
+ * Proves ownership of an account and binds it to the EVM address.
11058
+ * This is useful for accounts that want to submit some substrate transaction, but only
11059
+ * received some ERC20 balance and `System` pallet doesn't register them as a substrate account.
11060
+ *
11061
+ * Parameters:
11062
+ * - `origin`: Unsigned origin.
11063
+ * - `account`: Account proving ownership of the address.
11064
+ * - `asset_id`: Asset ID to be set as fee currency for the account.
11065
+ * - `signature`: Signed message by the account that proves ownership of the account.
11066
+ *
11067
+ * Emits `AccountClaimed` event when successful.
11068
+ **/
11069
+ | { name: 'ClaimAccount'; params: { account: AccountId32Like; assetId: number; signature: SpRuntimeMultiSignature } };
10787
11070
 
10788
11071
  /**
10789
11072
  * Contains a variant per dispatchable extrinsic that this pallet has.
@@ -14038,21 +14321,6 @@ export type TokenGatewayPrimitivesGatewayAssetUpdate = {
14038
14321
 
14039
14322
  export type PalletTokenGatewayPrecisionUpdate = { assetId: number; precisions: Array<[IsmpHostStateMachine, number]> };
14040
14323
 
14041
- /**
14042
- * Contains a variant per dispatchable extrinsic that this pallet has.
14043
- **/
14044
- export type PalletIsmpOracleTestCall =
14045
- | { name: 'RequestGet'; params: { params: PalletIsmpOracleTestGetParams } }
14046
- | { name: 'RequestPost'; params: { params: PalletIsmpOracleTestPostParams } };
14047
-
14048
- export type PalletIsmpOracleTestCallLike =
14049
- | { name: 'RequestGet'; params: { params: PalletIsmpOracleTestGetParams } }
14050
- | { name: 'RequestPost'; params: { params: PalletIsmpOracleTestPostParams } };
14051
-
14052
- export type PalletIsmpOracleTestGetParams = { dest: IsmpHostStateMachine; height: bigint };
14053
-
14054
- export type PalletIsmpOracleTestPostParams = { dest: IsmpHostStateMachine; to: Bytes; body: Bytes };
14055
-
14056
14324
  /**
14057
14325
  * Contains a variant per dispatchable extrinsic that this pallet has.
14058
14326
  **/
@@ -14062,10 +14330,6 @@ export type PalletEmaOracleCall =
14062
14330
  | {
14063
14331
  name: 'UpdateBifrostOracle';
14064
14332
  params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
14065
- }
14066
- | {
14067
- name: 'UpdateIsmpOracle';
14068
- params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
14069
14333
  };
14070
14334
 
14071
14335
  export type PalletEmaOracleCallLike =
@@ -14074,10 +14338,6 @@ export type PalletEmaOracleCallLike =
14074
14338
  | {
14075
14339
  name: 'UpdateBifrostOracle';
14076
14340
  params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
14077
- }
14078
- | {
14079
- name: 'UpdateIsmpOracle';
14080
- params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
14081
14341
  };
14082
14342
 
14083
14343
  /**
@@ -14733,6 +14993,7 @@ export type NonZeroU16 = number;
14733
14993
 
14734
14994
  export type PalletStableswapPoolPegInfo = {
14735
14995
  source: Array<PalletStableswapPegSource>;
14996
+ updatedAt: number;
14736
14997
  maxPegUpdate: Perbill;
14737
14998
  current: Array<[bigint, bigint]>;
14738
14999
  };
@@ -15020,6 +15281,144 @@ export type PalletHsmEvent =
15020
15281
  **/
15021
15282
  | { name: 'FlashMinterSet'; data: { flashMinter: H160 } };
15022
15283
 
15284
+ /**
15285
+ * The `Event` enum of this pallet
15286
+ **/
15287
+ export type PalletSignetEvent =
15288
+ /**
15289
+ * Pallet has been initialized with an admin
15290
+ **/
15291
+ | { name: 'Initialized'; data: { admin: AccountId32; signatureDeposit: bigint; chainId: Bytes } }
15292
+ /**
15293
+ * Signature deposit amount has been updated
15294
+ **/
15295
+ | { name: 'DepositUpdated'; data: { oldDeposit: bigint; newDeposit: bigint } }
15296
+ /**
15297
+ * Funds have been withdrawn from the pallet
15298
+ **/
15299
+ | { name: 'FundsWithdrawn'; data: { amount: bigint; recipient: AccountId32 } }
15300
+ /**
15301
+ * A signature has been requested
15302
+ **/
15303
+ | {
15304
+ name: 'SignatureRequested';
15305
+ data: {
15306
+ sender: AccountId32;
15307
+ payload: FixedBytes<32>;
15308
+ keyVersion: number;
15309
+ deposit: bigint;
15310
+ chainId: Bytes;
15311
+ path: Bytes;
15312
+ algo: Bytes;
15313
+ dest: Bytes;
15314
+ params: Bytes;
15315
+ };
15316
+ }
15317
+ /**
15318
+ * Sign-respond request event
15319
+ **/
15320
+ | {
15321
+ name: 'SignRespondRequested';
15322
+ data: {
15323
+ sender: AccountId32;
15324
+ transactionData: Bytes;
15325
+ slip44ChainId: number;
15326
+ keyVersion: number;
15327
+ deposit: bigint;
15328
+ path: Bytes;
15329
+ algo: Bytes;
15330
+ dest: Bytes;
15331
+ params: Bytes;
15332
+ explorerDeserializationFormat: number;
15333
+ explorerDeserializationSchema: Bytes;
15334
+ callbackSerializationFormat: number;
15335
+ callbackSerializationSchema: Bytes;
15336
+ };
15337
+ }
15338
+ /**
15339
+ * Signature response event
15340
+ **/
15341
+ | {
15342
+ name: 'SignatureResponded';
15343
+ data: { requestId: FixedBytes<32>; responder: AccountId32; signature: PalletSignetSignature };
15344
+ }
15345
+ /**
15346
+ * Signature error event
15347
+ **/
15348
+ | { name: 'SignatureError'; data: { requestId: FixedBytes<32>; responder: AccountId32; error: Bytes } }
15349
+ /**
15350
+ * Read response event
15351
+ **/
15352
+ | {
15353
+ name: 'ReadResponded';
15354
+ data: {
15355
+ requestId: FixedBytes<32>;
15356
+ responder: AccountId32;
15357
+ serializedOutput: Bytes;
15358
+ signature: PalletSignetSignature;
15359
+ };
15360
+ };
15361
+
15362
+ /**
15363
+ * Pallet events.
15364
+ **/
15365
+ export type PalletDispenserEvent =
15366
+ /**
15367
+ * Dispenser has been paused. No new requests will be accepted.
15368
+ **/
15369
+ | { name: 'Paused' }
15370
+ /**
15371
+ * Dispenser has been unpaused. New requests are allowed again.
15372
+ **/
15373
+ | { name: 'Unpaused' }
15374
+ /**
15375
+ * A funding request has been submitted to SigNet.
15376
+ *
15377
+ * Note: This indicates the request was formed and submitted, not that
15378
+ * the EVM transaction has been included on the target chain.
15379
+ **/
15380
+ | {
15381
+ name: 'FundRequested';
15382
+ data: {
15383
+ /**
15384
+ * Unique request ID derived from request parameters.
15385
+ **/
15386
+ requestId: FixedBytes<32>;
15387
+
15388
+ /**
15389
+ * Account that initiated the request.
15390
+ **/
15391
+ requester: AccountId32;
15392
+
15393
+ /**
15394
+ * Target EVM address to receive ETH.
15395
+ **/
15396
+ to: FixedBytes<20>;
15397
+
15398
+ /**
15399
+ * Requested amount of ETH (in wei).
15400
+ **/
15401
+ amount: bigint;
15402
+ };
15403
+ }
15404
+ /**
15405
+ * Tracked faucet ETH balance has been updated.
15406
+ **/
15407
+ | {
15408
+ name: 'FaucetBalanceUpdated';
15409
+ data: {
15410
+ /**
15411
+ * Previous tracked balance (in wei).
15412
+ **/
15413
+ oldBalanceWei: bigint;
15414
+
15415
+ /**
15416
+ * New tracked balance (in wei).
15417
+ **/
15418
+ newBalanceWei: bigint;
15419
+ };
15420
+ };
15421
+
15023
15422
  /**
15024
15423
  * The `Event` enum of this pallet
15025
15424
  **/
@@ -15237,7 +15636,11 @@ export type PalletEvmAccountsEvent =
15237
15636
  /**
15238
15637
  * Contract was disapproved.
15239
15638
  **/
15240
- | { name: 'ContractDisapproved'; data: { address: H160 } };
15639
+ | { name: 'ContractDisapproved'; data: { address: H160 } }
15640
+ /**
15641
+ * Account was claimed.
15642
+ **/
15643
+ | { name: 'AccountClaimed'; data: { account: AccountId32; assetId: number } };
15241
15644
 
15242
15645
  /**
15243
15646
  * The `Event` enum of this pallet
@@ -16284,18 +16687,6 @@ export type PalletTokenGatewayEvent =
16284
16687
  };
16285
16688
  };
16286
16689
 
16287
- /**
16288
- * The `Event` enum of this pallet
16289
- **/
16290
- export type PalletIsmpOracleTestEvent =
16291
- | { name: 'GetRequestSent'; data: { commitment: H256 } }
16292
- | { name: 'PostRequestSent'; data: { commitment: H256 } }
16293
- | { name: 'GetRequestResponded'; data: { commitment: H256; storageValues: Array<IsmpRouterStorageValue> } }
16294
- | { name: 'WstEthPriceReceived'; data: { commitment: H256; ethPerWsteth: U256 } }
16295
- | { name: 'PostRequestResponded'; data: { commitment: H256 } }
16296
- | { name: 'GetRequestTimedOut'; data: { commitment: H256 } }
16297
- | { name: 'PostResponseTimedOut'; data: { commitment: H256 } };
16298
-
16299
16690
  /**
16300
16691
  * The `Event` enum of this pallet
16301
16692
  **/
@@ -16560,7 +16951,11 @@ export type PalletTransactionMultiPaymentError =
16560
16951
  /**
16561
16952
  * EVM permit call failed.
16562
16953
  **/
16563
- | 'EvmPermitRunnerError';
16954
+ | 'EvmPermitRunnerError'
16955
+ /**
16956
+ * EVM permit must not affect account nonce.
16957
+ **/
16958
+ | 'EvmPermitNonceInvariantViolated';
16564
16959
 
16565
16960
  export type PalletTreasuryProposal = { proposer: AccountId32; value: bigint; beneficiary: AccountId32; bond: bigint };
16566
16961
 
@@ -17443,7 +17838,35 @@ export type PalletDispatcherError =
17443
17838
  /**
17444
17839
  * The provided call is not an EVM call. This extrinsic only accepts `pallet_evm::Call::call`.
17445
17840
  **/
17446
- | 'NotEvmCall';
17841
+ | 'NotEvmCall'
17842
+ /**
17843
+ * The EVM call ran out of gas.
17844
+ **/
17845
+ | 'EvmOutOfGas'
17846
+ /**
17847
+ * The EVM call resulted in an arithmetic overflow or underflow.
17848
+ **/
17849
+ | 'EvmArithmeticOverflowOrUnderflow'
17850
+ /**
17851
+ * Aave - supply cap has been exceeded.
17852
+ **/
17853
+ | 'AaveSupplyCapExceeded'
17854
+ /**
17855
+ * Aave - borrow cap has been exceeded.
17856
+ **/
17857
+ | 'AaveBorrowCapExceeded'
17858
+ /**
17859
+ * Aave - health factor is not below the threshold.
17860
+ **/
17861
+ | 'AaveHealthFactorNotBelowThreshold'
17862
+ /**
17863
+ * Aave - health factor is lesser than the liquidation threshold
17864
+ **/
17865
+ | 'AaveHealthFactorLowerThanLiquidationThreshold'
17866
+ /**
17867
+ * Aave - there is not enough collateral to cover a new borrow
17868
+ **/
17869
+ | 'CollateralCannotCoverNewBorrow';
17447
17870
 
17448
17871
  export type PalletAssetRegistryAssetDetails = {
17449
17872
  name?: Bytes | undefined;
@@ -18229,6 +18652,7 @@ export type PalletStableswapPoolSnapshot = {
18229
18652
  reserves: Array<HydraDxMathStableswapTypesAssetReserve>;
18230
18653
  amplification: bigint;
18231
18654
  fee: Permill;
18655
+ blockFee: Permill;
18232
18656
  pegs: Array<[bigint, bigint]>;
18233
18657
  shareIssuance: bigint;
18234
18658
  };
@@ -18535,16 +18959,6 @@ export type PalletXykError =
18535
18959
  * Liquidity is zero.
18536
18960
  **/
18537
18961
  | 'ZeroLiquidity'
18538
- /**
18539
- * It is not allowed to create a pool with zero initial price.
18540
- * Not used, kept for backward compatibility
18541
- **/
18542
- | 'ZeroInitialPrice'
18543
- /**
18544
- * Overflow
18545
- * Not used, kept for backward compatibility
18546
- **/
18547
- | 'CreatePoolAssetAmountInvalid'
18548
18962
  /**
18549
18963
  * Overflow
18550
18964
  **/
@@ -18601,10 +19015,6 @@ export type PalletXykError =
18601
19015
  * Overflow
18602
19016
  **/
18603
19017
  | 'FeeAmountInvalid'
18604
- /**
18605
- * Overflow
18606
- **/
18607
- | 'CannotApplyDiscount'
18608
19018
  /**
18609
19019
  * Max fraction of pool to buy in single transaction has been exceeded.
18610
19020
  **/
@@ -18850,6 +19260,106 @@ export type PalletHsmError =
18850
19260
  **/
18851
19261
  | 'InvalidArbitrageData';
18852
19262
 
19263
+ /**
19264
+ * The `Error` enum of this pallet.
19265
+ **/
19266
+ export type PalletSignetError =
19267
+ /**
19268
+ * The pallet has already been initialized
19269
+ **/
19270
+ | 'AlreadyInitialized'
19271
+ /**
19272
+ * The pallet has not been initialized yet
19273
+ **/
19274
+ | 'NotInitialized'
19275
+ /**
19276
+ * Unauthorized - caller is not admin
19277
+ **/
19278
+ | 'Unauthorized'
19279
+ /**
19280
+ * Insufficient funds for withdrawal
19281
+ **/
19282
+ | 'InsufficientFunds'
19283
+ /**
19284
+ * Invalid transaction data (empty)
19285
+ **/
19286
+ | 'InvalidTransaction'
19287
+ /**
19288
+ * Arrays must have the same length
19289
+ **/
19290
+ | 'InvalidInputLength'
19291
+ /**
19292
+ * The chain ID is too long
19293
+ **/
19294
+ | 'ChainIdTooLong'
19295
+ /**
19296
+ * Transaction data exceeds maximum allowed length
19297
+ **/
19298
+ | 'DataTooLong'
19299
+ /**
19300
+ * Invalid address format - must be exactly 20 bytes
19301
+ **/
19302
+ | 'InvalidAddress'
19303
+ /**
19304
+ * Priority fee cannot exceed max fee per gas (EIP-1559 requirement)
19305
+ **/
19306
+ | 'InvalidGasPrice'
19307
+ /**
19308
+ * Signature Deposit cannot exceed MaxSignatureDeposit
19309
+ **/
19310
+ | 'MaxDepositExceeded';
19311
+
19312
+ export type PalletDispenserDispenserConfigData = { paused: boolean };
19313
+
19314
+ /**
19315
+ * Pallet errors.
19316
+ **/
19317
+ export type PalletDispenserError =
19318
+ /**
19319
+ * Request ID has already been used.
19320
+ **/
19321
+ | 'DuplicateRequest'
19322
+ /**
19323
+ * Failed to (de)serialize data.
19324
+ **/
19325
+ | 'Serialization'
19326
+ /**
19327
+ * Output data did not match the expected format.
19328
+ **/
19329
+ | 'InvalidOutput'
19330
+ /**
19331
+ * Request ID does not match the derived ID for the provided data.
19332
+ **/
19333
+ | 'InvalidRequestId'
19334
+ /**
19335
+ * Pallet is paused and cannot process this call.
19336
+ **/
19337
+ | 'Paused'
19338
+ /**
19339
+ * Requested amount is below the configured minimum.
19340
+ **/
19341
+ | 'AmountTooSmall'
19342
+ /**
19343
+ * Requested amount exceeds the configured maximum.
19344
+ **/
19345
+ | 'AmountTooLarge'
19346
+ /**
19347
+ * EVM address parameter is invalid (e.g., zero address).
19348
+ **/
19349
+ | 'InvalidAddress'
19350
+ /**
19351
+ * Faucet balance would fall below the configured threshold after this request.
19352
+ **/
19353
+ | 'FaucetBalanceBelowThreshold'
19354
+ /**
19355
+ * Caller does not have enough balance of the fee asset.
19356
+ **/
19357
+ | 'NotEnoughFeeFunds'
19358
+ /**
19359
+ * Caller does not have enough balance of the faucet asset.
19360
+ **/
19361
+ | 'NotEnoughFaucetFunds';
19362
+
18853
19363
  export type OrmlTokensBalanceLock = { id: FixedBytes<8>; amount: bigint };
18854
19364
 
18855
19365
  export type OrmlTokensAccountData = { free: bigint; reserved: bigint; frozen: bigint };
@@ -19081,7 +19591,19 @@ export type PalletEvmAccountsError =
19081
19591
  /**
19082
19592
  * Address not whitelisted
19083
19593
  **/
19084
- | 'AddressNotWhitelisted';
19594
+ | 'AddressNotWhitelisted'
19595
+ /**
19596
+ * Provided signature is invalid
19597
+ **/
19598
+ | 'InvalidSignature'
19599
+ /**
19600
+ * Account already exists in the system pallet
19601
+ **/
19602
+ | 'AccountAlreadyExists'
19603
+ /**
19604
+ * Insufficient asset balance of the claimed asset
19605
+ **/
19606
+ | 'InsufficientAssetBalance';
19085
19607
 
19086
19608
  /**
19087
19609
  * The `Error` enum of this pallet.
@@ -19881,6 +20403,19 @@ export type PalletIsmpError =
19881
20403
  **/
19882
20404
  | 'ChallengePeriodUpdateFailed';
19883
20405
 
20406
+ /**
20407
+ * The `Error` enum of this pallet.
20408
+ **/
20409
+ export type IsmpParachainError =
20410
+ /**
20411
+ * Only Parachain Consensus updates should be passed in the inherents.
20412
+ **/
20413
+ | 'InvalidConsensusStateId'
20414
+ /**
20415
+ * ValidationData must be updated only once in a block.
20416
+ **/
20417
+ | 'ConsensusAlreadyUpdated';
20418
+
19884
20419
  /**
19885
20420
  * The `Error` enum of this pallet.
19886
20421
  **/
@@ -19927,11 +20462,6 @@ export type PalletTokenGatewayError =
19927
20462
  **/
19928
20463
  | 'NotAssetOwner';
19929
20464
 
19930
- /**
19931
- * The `Error` enum of this pallet.
19932
- **/
19933
- export type PalletIsmpOracleTestError = 'GetRequestFailed';
19934
-
19935
20465
  export type PalletEmaOracleOracleEntry = {
19936
20466
  price: HydraDxMathRatio;
19937
20467
  volume: HydradxTraitsOracleVolume;
@@ -20191,6 +20721,8 @@ export type HydradxRuntimeRuntimeError =
20191
20721
  | { pallet: 'Referrals'; palletError: PalletReferralsError }
20192
20722
  | { pallet: 'Liquidation'; palletError: PalletLiquidationError }
20193
20723
  | { pallet: 'Hsm'; palletError: PalletHsmError }
20724
+ | { pallet: 'Signet'; palletError: PalletSignetError }
20725
+ | { pallet: 'EthDispenser'; palletError: PalletDispenserError }
20194
20726
  | { pallet: 'Tokens'; palletError: OrmlTokensModuleError }
20195
20727
  | { pallet: 'Currencies'; palletError: PalletCurrenciesModuleError }
20196
20728
  | { pallet: 'Vesting'; palletError: OrmlVestingModuleError }
@@ -20212,8 +20744,8 @@ export type HydradxRuntimeRuntimeError =
20212
20744
  | { pallet: 'CollatorSelection'; palletError: PalletCollatorSelectionError }
20213
20745
  | { pallet: 'Session'; palletError: PalletSessionError }
20214
20746
  | { pallet: 'Ismp'; palletError: PalletIsmpError }
20747
+ | { pallet: 'IsmpParachain'; palletError: IsmpParachainError }
20215
20748
  | { pallet: 'Hyperbridge'; palletError: PalletHyperbridgeError }
20216
20749
  | { pallet: 'TokenGateway'; palletError: PalletTokenGatewayError }
20217
- | { pallet: 'IsmpOracle'; palletError: PalletIsmpOracleTestError }
20218
20750
  | { pallet: 'EmaOracle'; palletError: PalletEmaOracleError }
20219
20751
  | { pallet: 'Broadcast'; palletError: PalletBroadcastError };