@dedot/chaintypes 0.211.0 → 0.213.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/consts.d.ts +83 -0
- package/hydration/errors.d.ts +183 -17
- package/hydration/events.d.ts +172 -1
- package/hydration/index.d.ts +1 -1
- package/hydration/query.d.ts +100 -0
- package/hydration/runtime.d.ts +18 -0
- package/hydration/tx.d.ts +418 -41
- package/hydration/types.d.ts +621 -70
- package/package.json +2 -2
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +10 -0
- package/paseo/tx.d.ts +10 -10
- package/paseo/types.d.ts +9237 -9233
- package/paseo-asset-hub/consts.d.ts +61 -1
- package/paseo-asset-hub/errors.d.ts +61 -1
- package/paseo-asset-hub/events.d.ts +10 -0
- package/paseo-asset-hub/index.d.ts +3 -1
- package/paseo-asset-hub/query.d.ts +77 -0
- package/paseo-asset-hub/runtime.d.ts +68 -1
- package/paseo-asset-hub/tx.d.ts +126 -47
- package/paseo-asset-hub/types.d.ts +14174 -13760
- package/paseo-people/index.d.ts +1 -1
- package/paseo-people/query.d.ts +10 -0
- package/paseo-people/types.d.ts +4131 -4127
package/hydration/types.d.ts
CHANGED
|
@@ -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 }
|
|
@@ -1292,6 +1294,8 @@ export type HydradxRuntimeRuntimeCall =
|
|
|
1292
1294
|
| { pallet: 'Referrals'; palletCall: PalletReferralsCall }
|
|
1293
1295
|
| { pallet: 'Liquidation'; palletCall: PalletLiquidationCall }
|
|
1294
1296
|
| { pallet: 'Hsm'; palletCall: PalletHsmCall }
|
|
1297
|
+
| { pallet: 'Signet'; palletCall: PalletSignetCall }
|
|
1298
|
+
| { pallet: 'EthDispenser'; palletCall: PalletDispenserCall }
|
|
1295
1299
|
| { pallet: 'Tokens'; palletCall: OrmlTokensModuleCall }
|
|
1296
1300
|
| { pallet: 'Currencies'; palletCall: PalletCurrenciesModuleCall }
|
|
1297
1301
|
| { pallet: 'Vesting'; palletCall: OrmlVestingModuleCall }
|
|
@@ -1358,6 +1362,8 @@ export type HydradxRuntimeRuntimeCallLike =
|
|
|
1358
1362
|
| { pallet: 'Referrals'; palletCall: PalletReferralsCallLike }
|
|
1359
1363
|
| { pallet: 'Liquidation'; palletCall: PalletLiquidationCallLike }
|
|
1360
1364
|
| { pallet: 'Hsm'; palletCall: PalletHsmCallLike }
|
|
1365
|
+
| { pallet: 'Signet'; palletCall: PalletSignetCallLike }
|
|
1366
|
+
| { pallet: 'EthDispenser'; palletCall: PalletDispenserCallLike }
|
|
1361
1367
|
| { pallet: 'Tokens'; palletCall: OrmlTokensModuleCallLike }
|
|
1362
1368
|
| { pallet: 'Currencies'; palletCall: PalletCurrenciesModuleCallLike }
|
|
1363
1369
|
| { pallet: 'Vesting'; palletCall: OrmlVestingModuleCallLike }
|
|
@@ -6462,6 +6468,29 @@ export type PalletOmnipoolCall =
|
|
|
6462
6468
|
*
|
|
6463
6469
|
**/
|
|
6464
6470
|
| { name: 'RemoveLiquidityWithLimit'; params: { positionId: bigint; amount: bigint; minLimit: bigint } }
|
|
6471
|
+
/**
|
|
6472
|
+
* Remove all liquidity from position
|
|
6473
|
+
*
|
|
6474
|
+
* Limit protection is applied.
|
|
6475
|
+
*
|
|
6476
|
+
* `remove_all_liquidity` removes all shares amount from given PositionId (NFT instance).
|
|
6477
|
+
*
|
|
6478
|
+
* Asset's tradable state must contain REMOVE_LIQUIDITY flag, otherwise `NotAllowed` error is returned.
|
|
6479
|
+
*
|
|
6480
|
+
* if all shares from given position are removed, position is destroyed and NFT is burned.
|
|
6481
|
+
*
|
|
6482
|
+
* Remove all liquidity fails if price difference between spot price and oracle price is higher than allowed by `PriceBarrier`.
|
|
6483
|
+
*
|
|
6484
|
+
* Dynamic withdrawal fee is applied if withdrawal is not safe. It is calculated using spot price and external price oracle.
|
|
6485
|
+
* Withdrawal is considered safe when trading is disabled.
|
|
6486
|
+
*
|
|
6487
|
+
* Parameters:
|
|
6488
|
+
* - `position_id`: The identifier of position which liquidity is entirely removed from.
|
|
6489
|
+
*
|
|
6490
|
+
* Emits `LiquidityRemoved` event when successful.
|
|
6491
|
+
*
|
|
6492
|
+
**/
|
|
6493
|
+
| { name: 'RemoveAllLiquidity'; params: { positionId: bigint; minLimit: bigint } }
|
|
6465
6494
|
/**
|
|
6466
6495
|
* Sacrifice LP position in favor of pool.
|
|
6467
6496
|
*
|
|
@@ -6697,6 +6726,29 @@ export type PalletOmnipoolCallLike =
|
|
|
6697
6726
|
*
|
|
6698
6727
|
**/
|
|
6699
6728
|
| { name: 'RemoveLiquidityWithLimit'; params: { positionId: bigint; amount: bigint; minLimit: bigint } }
|
|
6729
|
+
/**
|
|
6730
|
+
* Remove all liquidity from position
|
|
6731
|
+
*
|
|
6732
|
+
* Limit protection is applied.
|
|
6733
|
+
*
|
|
6734
|
+
* `remove_all_liquidity` removes all shares amount from given PositionId (NFT instance).
|
|
6735
|
+
*
|
|
6736
|
+
* Asset's tradable state must contain REMOVE_LIQUIDITY flag, otherwise `NotAllowed` error is returned.
|
|
6737
|
+
*
|
|
6738
|
+
* if all shares from given position are removed, position is destroyed and NFT is burned.
|
|
6739
|
+
*
|
|
6740
|
+
* Remove all liquidity fails if price difference between spot price and oracle price is higher than allowed by `PriceBarrier`.
|
|
6741
|
+
*
|
|
6742
|
+
* Dynamic withdrawal fee is applied if withdrawal is not safe. It is calculated using spot price and external price oracle.
|
|
6743
|
+
* Withdrawal is considered safe when trading is disabled.
|
|
6744
|
+
*
|
|
6745
|
+
* Parameters:
|
|
6746
|
+
* - `position_id`: The identifier of position which liquidity is entirely removed from.
|
|
6747
|
+
*
|
|
6748
|
+
* Emits `LiquidityRemoved` event when successful.
|
|
6749
|
+
*
|
|
6750
|
+
**/
|
|
6751
|
+
| { name: 'RemoveAllLiquidity'; params: { positionId: bigint; minLimit: bigint } }
|
|
6700
6752
|
/**
|
|
6701
6753
|
* Sacrifice LP position in favor of pool.
|
|
6702
6754
|
*
|
|
@@ -8426,29 +8478,6 @@ export type PalletStableswapCall =
|
|
|
8426
8478
|
name: 'UpdateAmplification';
|
|
8427
8479
|
params: { poolId: number; finalAmplification: number; startBlock: number; endBlock: number };
|
|
8428
8480
|
}
|
|
8429
|
-
/**
|
|
8430
|
-
* Add liquidity to selected pool.
|
|
8431
|
-
*
|
|
8432
|
-
* Use `add_assets_liquidity` instead.
|
|
8433
|
-
* This extrinsics will be removed in the future.
|
|
8434
|
-
*
|
|
8435
|
-
* First call of `add_liquidity` must provide "initial liquidity" of all assets.
|
|
8436
|
-
*
|
|
8437
|
-
* If there is liquidity already in the pool, LP can provide liquidity of any number of pool assets.
|
|
8438
|
-
*
|
|
8439
|
-
* LP must have sufficient amount of each asset.
|
|
8440
|
-
*
|
|
8441
|
-
* Origin is given corresponding amount of shares.
|
|
8442
|
-
*
|
|
8443
|
-
* Parameters:
|
|
8444
|
-
* - `origin`: liquidity provider
|
|
8445
|
-
* - `pool_id`: Pool Id
|
|
8446
|
-
* - `assets`: asset id and liquidity amount provided
|
|
8447
|
-
*
|
|
8448
|
-
* Emits `LiquidityAdded` event when successful.
|
|
8449
|
-
* Emits `pallet_broadcast::Swapped` event when successful.
|
|
8450
|
-
**/
|
|
8451
|
-
| { name: 'AddLiquidity'; params: { poolId: number; assets: Array<HydradxTraitsStableswapAssetAmount> } }
|
|
8452
8481
|
/**
|
|
8453
8482
|
* Add liquidity to selected pool given exact amount of shares to receive.
|
|
8454
8483
|
*
|
|
@@ -8751,29 +8780,6 @@ export type PalletStableswapCallLike =
|
|
|
8751
8780
|
name: 'UpdateAmplification';
|
|
8752
8781
|
params: { poolId: number; finalAmplification: number; startBlock: number; endBlock: number };
|
|
8753
8782
|
}
|
|
8754
|
-
/**
|
|
8755
|
-
* Add liquidity to selected pool.
|
|
8756
|
-
*
|
|
8757
|
-
* Use `add_assets_liquidity` instead.
|
|
8758
|
-
* This extrinsics will be removed in the future.
|
|
8759
|
-
*
|
|
8760
|
-
* First call of `add_liquidity` must provide "initial liquidity" of all assets.
|
|
8761
|
-
*
|
|
8762
|
-
* If there is liquidity already in the pool, LP can provide liquidity of any number of pool assets.
|
|
8763
|
-
*
|
|
8764
|
-
* LP must have sufficient amount of each asset.
|
|
8765
|
-
*
|
|
8766
|
-
* Origin is given corresponding amount of shares.
|
|
8767
|
-
*
|
|
8768
|
-
* Parameters:
|
|
8769
|
-
* - `origin`: liquidity provider
|
|
8770
|
-
* - `pool_id`: Pool Id
|
|
8771
|
-
* - `assets`: asset id and liquidity amount provided
|
|
8772
|
-
*
|
|
8773
|
-
* Emits `LiquidityAdded` event when successful.
|
|
8774
|
-
* Emits `pallet_broadcast::Swapped` event when successful.
|
|
8775
|
-
**/
|
|
8776
|
-
| { name: 'AddLiquidity'; params: { poolId: number; assets: Array<HydradxTraitsStableswapAssetAmount> } }
|
|
8777
8783
|
/**
|
|
8778
8784
|
* Add liquidity to selected pool given exact amount of shares to receive.
|
|
8779
8785
|
*
|
|
@@ -10229,6 +10235,250 @@ export type PalletHsmCallLike =
|
|
|
10229
10235
|
|
|
10230
10236
|
export type PalletHsmArbitrage = { type: 'HollarOut'; value: bigint } | { type: 'HollarIn'; value: bigint };
|
|
10231
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: 'SignBidirectional';
|
|
10266
|
+
params: {
|
|
10267
|
+
serializedTransaction: Bytes;
|
|
10268
|
+
caip2Id: Bytes;
|
|
10269
|
+
keyVersion: number;
|
|
10270
|
+
path: Bytes;
|
|
10271
|
+
algo: Bytes;
|
|
10272
|
+
dest: Bytes;
|
|
10273
|
+
params: Bytes;
|
|
10274
|
+
outputDeserializationSchema: Bytes;
|
|
10275
|
+
respondSerializationSchema: Bytes;
|
|
10276
|
+
};
|
|
10277
|
+
}
|
|
10278
|
+
/**
|
|
10279
|
+
* Respond to signature requests (batch support)
|
|
10280
|
+
**/
|
|
10281
|
+
| { name: 'Respond'; params: { requestIds: Array<FixedBytes<32>>; signatures: Array<PalletSignetSignature> } }
|
|
10282
|
+
/**
|
|
10283
|
+
* Report signature generation errors (batch support)
|
|
10284
|
+
**/
|
|
10285
|
+
| { name: 'RespondError'; params: { errors: Array<PalletSignetErrorResponse> } }
|
|
10286
|
+
/**
|
|
10287
|
+
* Provide a read response with signature
|
|
10288
|
+
**/
|
|
10289
|
+
| {
|
|
10290
|
+
name: 'RespondBidirectional';
|
|
10291
|
+
params: { requestId: FixedBytes<32>; serializedOutput: Bytes; signature: PalletSignetSignature };
|
|
10292
|
+
};
|
|
10293
|
+
|
|
10294
|
+
export type PalletSignetCallLike =
|
|
10295
|
+
/**
|
|
10296
|
+
* Initialize the pallet with admin, deposit, and chain ID
|
|
10297
|
+
**/
|
|
10298
|
+
| { name: 'Initialize'; params: { admin: AccountId32Like; signatureDeposit: bigint; chainId: BytesLike } }
|
|
10299
|
+
/**
|
|
10300
|
+
* Update the signature deposit amount (admin only)
|
|
10301
|
+
**/
|
|
10302
|
+
| { name: 'UpdateDeposit'; params: { newDeposit: bigint } }
|
|
10303
|
+
/**
|
|
10304
|
+
* Withdraw funds from the pallet account (admin only)
|
|
10305
|
+
**/
|
|
10306
|
+
| { name: 'WithdrawFunds'; params: { recipient: AccountId32Like; amount: bigint } }
|
|
10307
|
+
/**
|
|
10308
|
+
* Request a signature for a payload
|
|
10309
|
+
**/
|
|
10310
|
+
| {
|
|
10311
|
+
name: 'Sign';
|
|
10312
|
+
params: {
|
|
10313
|
+
payload: FixedBytes<32>;
|
|
10314
|
+
keyVersion: number;
|
|
10315
|
+
path: BytesLike;
|
|
10316
|
+
algo: BytesLike;
|
|
10317
|
+
dest: BytesLike;
|
|
10318
|
+
params: BytesLike;
|
|
10319
|
+
};
|
|
10320
|
+
}
|
|
10321
|
+
/**
|
|
10322
|
+
* Request a signature for a serialized transaction
|
|
10323
|
+
**/
|
|
10324
|
+
| {
|
|
10325
|
+
name: 'SignBidirectional';
|
|
10326
|
+
params: {
|
|
10327
|
+
serializedTransaction: BytesLike;
|
|
10328
|
+
caip2Id: BytesLike;
|
|
10329
|
+
keyVersion: number;
|
|
10330
|
+
path: BytesLike;
|
|
10331
|
+
algo: BytesLike;
|
|
10332
|
+
dest: BytesLike;
|
|
10333
|
+
params: BytesLike;
|
|
10334
|
+
outputDeserializationSchema: BytesLike;
|
|
10335
|
+
respondSerializationSchema: BytesLike;
|
|
10336
|
+
};
|
|
10337
|
+
}
|
|
10338
|
+
/**
|
|
10339
|
+
* Respond to signature requests (batch support)
|
|
10340
|
+
**/
|
|
10341
|
+
| { name: 'Respond'; params: { requestIds: Array<FixedBytes<32>>; signatures: Array<PalletSignetSignature> } }
|
|
10342
|
+
/**
|
|
10343
|
+
* Report signature generation errors (batch support)
|
|
10344
|
+
**/
|
|
10345
|
+
| { name: 'RespondError'; params: { errors: Array<PalletSignetErrorResponse> } }
|
|
10346
|
+
/**
|
|
10347
|
+
* Provide a read response with signature
|
|
10348
|
+
**/
|
|
10349
|
+
| {
|
|
10350
|
+
name: 'RespondBidirectional';
|
|
10351
|
+
params: { requestId: FixedBytes<32>; serializedOutput: BytesLike; signature: PalletSignetSignature };
|
|
10352
|
+
};
|
|
10353
|
+
|
|
10354
|
+
export type PalletSignetSignature = { bigR: PalletSignetAffinePoint; s: FixedBytes<32>; recoveryId: number };
|
|
10355
|
+
|
|
10356
|
+
export type PalletSignetAffinePoint = { x: FixedBytes<32>; y: FixedBytes<32> };
|
|
10357
|
+
|
|
10358
|
+
export type PalletSignetErrorResponse = { requestId: FixedBytes<32>; errorMessage: Bytes };
|
|
10359
|
+
|
|
10360
|
+
/**
|
|
10361
|
+
* Dispatchable functions.
|
|
10362
|
+
**/
|
|
10363
|
+
export type PalletDispenserCall =
|
|
10364
|
+
/**
|
|
10365
|
+
* Request ETH from the external faucet for a given EVM address.
|
|
10366
|
+
*
|
|
10367
|
+
* This call:
|
|
10368
|
+
* - Verifies amount bounds and EVM transaction parameters.
|
|
10369
|
+
* - Checks the tracked faucet ETH balance against `MinFaucetEthThreshold`.
|
|
10370
|
+
* - Charges the configured fee in `FeeAsset`.
|
|
10371
|
+
* - Transfers the requested faucet asset from the user to `FeeDestination`.
|
|
10372
|
+
* - Builds an EVM transaction calling `IGasFaucet::fund`.
|
|
10373
|
+
* - Submits a signing request to SigNet via `pallet_signet::sign_bidirectional`.
|
|
10374
|
+
*
|
|
10375
|
+
* The `request_id` must match the ID derived internally from the inputs,
|
|
10376
|
+
* otherwise the call will fail with `InvalidRequestId`.
|
|
10377
|
+
* Parameters:
|
|
10378
|
+
* - `to`: Target EVM address to receive ETH.
|
|
10379
|
+
* - `amount`: Amount of ETH (in wei) to request.
|
|
10380
|
+
* - `request_id`: Client-supplied request ID; must match derived ID.
|
|
10381
|
+
* - `tx`: Parameters for the EVM transaction submitted to the faucet.
|
|
10382
|
+
**/
|
|
10383
|
+
| {
|
|
10384
|
+
name: 'RequestFund';
|
|
10385
|
+
params: {
|
|
10386
|
+
to: FixedBytes<20>;
|
|
10387
|
+
amount: bigint;
|
|
10388
|
+
requestId: FixedBytes<32>;
|
|
10389
|
+
tx: PalletDispenserEvmTransactionParams;
|
|
10390
|
+
};
|
|
10391
|
+
}
|
|
10392
|
+
/**
|
|
10393
|
+
* Pause the dispenser so that no new funding requests can be made.
|
|
10394
|
+
*
|
|
10395
|
+
* Parameters:
|
|
10396
|
+
* - `origin`: Must satisfy `UpdateOrigin`.
|
|
10397
|
+
**/
|
|
10398
|
+
| { name: 'Pause' }
|
|
10399
|
+
/**
|
|
10400
|
+
* Unpause the dispenser so that funding requests are allowed again.
|
|
10401
|
+
*
|
|
10402
|
+
* Parameters:
|
|
10403
|
+
* - `origin`: Must satisfy `UpdateOrigin`
|
|
10404
|
+
**/
|
|
10405
|
+
| { name: 'Unpause' }
|
|
10406
|
+
/**
|
|
10407
|
+
* Increase the tracked faucet ETH balance (in wei).
|
|
10408
|
+
*
|
|
10409
|
+
* This is an accounting helper used to keep `FaucetBalanceWei`
|
|
10410
|
+
* roughly in sync with the real faucet balance on the EVM chain.
|
|
10411
|
+
*
|
|
10412
|
+
* Parameters:
|
|
10413
|
+
* - `origin`: Must satisfy `UpdateOrigin`.
|
|
10414
|
+
* - `balance_wei`: Amount (in wei) to add to the currently stored balance.
|
|
10415
|
+
**/
|
|
10416
|
+
| { name: 'SetFaucetBalance'; params: { balanceWei: bigint } };
|
|
10417
|
+
|
|
10418
|
+
export type PalletDispenserCallLike =
|
|
10419
|
+
/**
|
|
10420
|
+
* Request ETH from the external faucet for a given EVM address.
|
|
10421
|
+
*
|
|
10422
|
+
* This call:
|
|
10423
|
+
* - Verifies amount bounds and EVM transaction parameters.
|
|
10424
|
+
* - Checks the tracked faucet ETH balance against `MinFaucetEthThreshold`.
|
|
10425
|
+
* - Charges the configured fee in `FeeAsset`.
|
|
10426
|
+
* - Transfers the requested faucet asset from the user to `FeeDestination`.
|
|
10427
|
+
* - Builds an EVM transaction calling `IGasFaucet::fund`.
|
|
10428
|
+
* - Submits a signing request to SigNet via `pallet_signet::sign_bidirectional`.
|
|
10429
|
+
*
|
|
10430
|
+
* The `request_id` must match the ID derived internally from the inputs,
|
|
10431
|
+
* otherwise the call will fail with `InvalidRequestId`.
|
|
10432
|
+
* Parameters:
|
|
10433
|
+
* - `to`: Target EVM address to receive ETH.
|
|
10434
|
+
* - `amount`: Amount of ETH (in wei) to request.
|
|
10435
|
+
* - `request_id`: Client-supplied request ID; must match derived ID.
|
|
10436
|
+
* - `tx`: Parameters for the EVM transaction submitted to the faucet.
|
|
10437
|
+
**/
|
|
10438
|
+
| {
|
|
10439
|
+
name: 'RequestFund';
|
|
10440
|
+
params: {
|
|
10441
|
+
to: FixedBytes<20>;
|
|
10442
|
+
amount: bigint;
|
|
10443
|
+
requestId: FixedBytes<32>;
|
|
10444
|
+
tx: PalletDispenserEvmTransactionParams;
|
|
10445
|
+
};
|
|
10446
|
+
}
|
|
10447
|
+
/**
|
|
10448
|
+
* Pause the dispenser so that no new funding requests can be made.
|
|
10449
|
+
*
|
|
10450
|
+
* Parameters:
|
|
10451
|
+
* - `origin`: Must satisfy `UpdateOrigin`.
|
|
10452
|
+
**/
|
|
10453
|
+
| { name: 'Pause' }
|
|
10454
|
+
/**
|
|
10455
|
+
* Unpause the dispenser so that funding requests are allowed again.
|
|
10456
|
+
*
|
|
10457
|
+
* Parameters:
|
|
10458
|
+
* - `origin`: Must satisfy `UpdateOrigin`
|
|
10459
|
+
**/
|
|
10460
|
+
| { name: 'Unpause' }
|
|
10461
|
+
/**
|
|
10462
|
+
* Increase the tracked faucet ETH balance (in wei).
|
|
10463
|
+
*
|
|
10464
|
+
* This is an accounting helper used to keep `FaucetBalanceWei`
|
|
10465
|
+
* roughly in sync with the real faucet balance on the EVM chain.
|
|
10466
|
+
*
|
|
10467
|
+
* Parameters:
|
|
10468
|
+
* - `origin`: Must satisfy `UpdateOrigin`.
|
|
10469
|
+
* - `balance_wei`: Amount (in wei) to add to the currently stored balance.
|
|
10470
|
+
**/
|
|
10471
|
+
| { name: 'SetFaucetBalance'; params: { balanceWei: bigint } };
|
|
10472
|
+
|
|
10473
|
+
export type PalletDispenserEvmTransactionParams = {
|
|
10474
|
+
value: bigint;
|
|
10475
|
+
gasLimit: bigint;
|
|
10476
|
+
maxFeePerGas: bigint;
|
|
10477
|
+
maxPriorityFeePerGas: bigint;
|
|
10478
|
+
nonce: bigint;
|
|
10479
|
+
chainId: bigint;
|
|
10480
|
+
};
|
|
10481
|
+
|
|
10232
10482
|
/**
|
|
10233
10483
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
10234
10484
|
**/
|
|
@@ -10654,6 +10904,7 @@ export type PalletEvmAccountsCall =
|
|
|
10654
10904
|
* to the origin address.
|
|
10655
10905
|
*
|
|
10656
10906
|
* Binding an address is not necessary for interacting with the EVM.
|
|
10907
|
+
* Increases `sufficients` for the account.
|
|
10657
10908
|
*
|
|
10658
10909
|
* Parameters:
|
|
10659
10910
|
* - `origin`: Substrate account binding an address
|
|
@@ -10712,7 +10963,21 @@ export type PalletEvmAccountsCall =
|
|
|
10712
10963
|
*
|
|
10713
10964
|
* Emits `ContractDisapproved` event when successful.
|
|
10714
10965
|
**/
|
|
10715
|
-
| { name: 'DisapproveContract'; params: { address: H160 } }
|
|
10966
|
+
| { name: 'DisapproveContract'; params: { address: H160 } }
|
|
10967
|
+
/**
|
|
10968
|
+
* Proves ownership of an account and binds it to the EVM address.
|
|
10969
|
+
* This is useful for accounts that want to submit some substrate transaction, but only
|
|
10970
|
+
* received some ERC20 balance and `System` pallet doesn't register them as a substrate account.
|
|
10971
|
+
*
|
|
10972
|
+
* Parameters:
|
|
10973
|
+
* - `origin`: Unsigned origin.
|
|
10974
|
+
* - `account`: Account proving ownership of the address.
|
|
10975
|
+
* - `asset_id`: Asset ID to be set as fee currency for the account.
|
|
10976
|
+
* - `signature`: Signed message by the account that proves ownership of the account.
|
|
10977
|
+
*
|
|
10978
|
+
* Emits `AccountClaimed` event when successful.
|
|
10979
|
+
**/
|
|
10980
|
+
| { name: 'ClaimAccount'; params: { account: AccountId32; assetId: number; signature: SpRuntimeMultiSignature } };
|
|
10716
10981
|
|
|
10717
10982
|
export type PalletEvmAccountsCallLike =
|
|
10718
10983
|
/**
|
|
@@ -10722,6 +10987,7 @@ export type PalletEvmAccountsCallLike =
|
|
|
10722
10987
|
* to the origin address.
|
|
10723
10988
|
*
|
|
10724
10989
|
* Binding an address is not necessary for interacting with the EVM.
|
|
10990
|
+
* Increases `sufficients` for the account.
|
|
10725
10991
|
*
|
|
10726
10992
|
* Parameters:
|
|
10727
10993
|
* - `origin`: Substrate account binding an address
|
|
@@ -10780,7 +11046,21 @@ export type PalletEvmAccountsCallLike =
|
|
|
10780
11046
|
*
|
|
10781
11047
|
* Emits `ContractDisapproved` event when successful.
|
|
10782
11048
|
**/
|
|
10783
|
-
| { name: 'DisapproveContract'; params: { address: H160 } }
|
|
11049
|
+
| { name: 'DisapproveContract'; params: { address: H160 } }
|
|
11050
|
+
/**
|
|
11051
|
+
* Proves ownership of an account and binds it to the EVM address.
|
|
11052
|
+
* This is useful for accounts that want to submit some substrate transaction, but only
|
|
11053
|
+
* received some ERC20 balance and `System` pallet doesn't register them as a substrate account.
|
|
11054
|
+
*
|
|
11055
|
+
* Parameters:
|
|
11056
|
+
* - `origin`: Unsigned origin.
|
|
11057
|
+
* - `account`: Account proving ownership of the address.
|
|
11058
|
+
* - `asset_id`: Asset ID to be set as fee currency for the account.
|
|
11059
|
+
* - `signature`: Signed message by the account that proves ownership of the account.
|
|
11060
|
+
*
|
|
11061
|
+
* Emits `AccountClaimed` event when successful.
|
|
11062
|
+
**/
|
|
11063
|
+
| { name: 'ClaimAccount'; params: { account: AccountId32Like; assetId: number; signature: SpRuntimeMultiSignature } };
|
|
10784
11064
|
|
|
10785
11065
|
/**
|
|
10786
11066
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -14707,6 +14987,7 @@ export type NonZeroU16 = number;
|
|
|
14707
14987
|
|
|
14708
14988
|
export type PalletStableswapPoolPegInfo = {
|
|
14709
14989
|
source: Array<PalletStableswapPegSource>;
|
|
14990
|
+
updatedAt: number;
|
|
14710
14991
|
maxPegUpdate: Perbill;
|
|
14711
14992
|
current: Array<[bigint, bigint]>;
|
|
14712
14993
|
};
|
|
@@ -14921,10 +15202,7 @@ export type PalletLiquidationEvent =
|
|
|
14921
15202
|
/**
|
|
14922
15203
|
* Money market position has been liquidated
|
|
14923
15204
|
**/
|
|
14924
|
-
{
|
|
14925
|
-
name: 'Liquidated';
|
|
14926
|
-
data: { user: H160; collateralAsset: number; debtAsset: number; debtToCover: bigint; profit: bigint };
|
|
14927
|
-
};
|
|
15205
|
+
{ name: 'Liquidated'; data: { user: H160; collateralAsset: number; debtAsset: number; profit: bigint } };
|
|
14928
15206
|
|
|
14929
15207
|
/**
|
|
14930
15208
|
* The `Event` enum of this pallet
|
|
@@ -14997,6 +15275,142 @@ export type PalletHsmEvent =
|
|
|
14997
15275
|
**/
|
|
14998
15276
|
| { name: 'FlashMinterSet'; data: { flashMinter: H160 } };
|
|
14999
15277
|
|
|
15278
|
+
/**
|
|
15279
|
+
* The `Event` enum of this pallet
|
|
15280
|
+
**/
|
|
15281
|
+
export type PalletSignetEvent =
|
|
15282
|
+
/**
|
|
15283
|
+
* Pallet has been initialized with an admin
|
|
15284
|
+
**/
|
|
15285
|
+
| { name: 'Initialized'; data: { admin: AccountId32; signatureDeposit: bigint; chainId: Bytes } }
|
|
15286
|
+
/**
|
|
15287
|
+
* Signature deposit amount has been updated
|
|
15288
|
+
**/
|
|
15289
|
+
| { name: 'DepositUpdated'; data: { oldDeposit: bigint; newDeposit: bigint } }
|
|
15290
|
+
/**
|
|
15291
|
+
* Funds have been withdrawn from the pallet
|
|
15292
|
+
**/
|
|
15293
|
+
| { name: 'FundsWithdrawn'; data: { amount: bigint; recipient: AccountId32 } }
|
|
15294
|
+
/**
|
|
15295
|
+
* A signature has been requested
|
|
15296
|
+
**/
|
|
15297
|
+
| {
|
|
15298
|
+
name: 'SignatureRequested';
|
|
15299
|
+
data: {
|
|
15300
|
+
sender: AccountId32;
|
|
15301
|
+
payload: FixedBytes<32>;
|
|
15302
|
+
keyVersion: number;
|
|
15303
|
+
deposit: bigint;
|
|
15304
|
+
chainId: Bytes;
|
|
15305
|
+
path: Bytes;
|
|
15306
|
+
algo: Bytes;
|
|
15307
|
+
dest: Bytes;
|
|
15308
|
+
params: Bytes;
|
|
15309
|
+
};
|
|
15310
|
+
}
|
|
15311
|
+
/**
|
|
15312
|
+
* Sign bidirectional request event
|
|
15313
|
+
**/
|
|
15314
|
+
| {
|
|
15315
|
+
name: 'SignBidirectionalRequested';
|
|
15316
|
+
data: {
|
|
15317
|
+
sender: AccountId32;
|
|
15318
|
+
serializedTransaction: Bytes;
|
|
15319
|
+
caip2Id: Bytes;
|
|
15320
|
+
keyVersion: number;
|
|
15321
|
+
deposit: bigint;
|
|
15322
|
+
path: Bytes;
|
|
15323
|
+
algo: Bytes;
|
|
15324
|
+
dest: Bytes;
|
|
15325
|
+
params: Bytes;
|
|
15326
|
+
outputDeserializationSchema: Bytes;
|
|
15327
|
+
respondSerializationSchema: Bytes;
|
|
15328
|
+
};
|
|
15329
|
+
}
|
|
15330
|
+
/**
|
|
15331
|
+
* Signature response event
|
|
15332
|
+
**/
|
|
15333
|
+
| {
|
|
15334
|
+
name: 'SignatureResponded';
|
|
15335
|
+
data: { requestId: FixedBytes<32>; responder: AccountId32; signature: PalletSignetSignature };
|
|
15336
|
+
}
|
|
15337
|
+
/**
|
|
15338
|
+
* Signature error event
|
|
15339
|
+
**/
|
|
15340
|
+
| { name: 'SignatureError'; data: { requestId: FixedBytes<32>; responder: AccountId32; error: Bytes } }
|
|
15341
|
+
/**
|
|
15342
|
+
* Respond bidirectional event
|
|
15343
|
+
**/
|
|
15344
|
+
| {
|
|
15345
|
+
name: 'RespondBidirectionalEvent';
|
|
15346
|
+
data: {
|
|
15347
|
+
requestId: FixedBytes<32>;
|
|
15348
|
+
responder: AccountId32;
|
|
15349
|
+
serializedOutput: Bytes;
|
|
15350
|
+
signature: PalletSignetSignature;
|
|
15351
|
+
};
|
|
15352
|
+
};
|
|
15353
|
+
|
|
15354
|
+
/**
|
|
15355
|
+
* Pallet events.
|
|
15356
|
+
**/
|
|
15357
|
+
export type PalletDispenserEvent =
|
|
15358
|
+
/**
|
|
15359
|
+
* Dispenser has been paused. No new requests will be accepted.
|
|
15360
|
+
**/
|
|
15361
|
+
| { name: 'Paused' }
|
|
15362
|
+
/**
|
|
15363
|
+
* Dispenser has been unpaused. New requests are allowed again.
|
|
15364
|
+
**/
|
|
15365
|
+
| { name: 'Unpaused' }
|
|
15366
|
+
/**
|
|
15367
|
+
* A funding request has been submitted to SigNet.
|
|
15368
|
+
*
|
|
15369
|
+
* Note: This indicates the request was formed and submitted, not that
|
|
15370
|
+
* the EVM transaction has been included on the target chain.
|
|
15371
|
+
**/
|
|
15372
|
+
| {
|
|
15373
|
+
name: 'FundRequested';
|
|
15374
|
+
data: {
|
|
15375
|
+
/**
|
|
15376
|
+
* Unique request ID derived from request parameters.
|
|
15377
|
+
**/
|
|
15378
|
+
requestId: FixedBytes<32>;
|
|
15379
|
+
|
|
15380
|
+
/**
|
|
15381
|
+
* Account that initiated the request.
|
|
15382
|
+
**/
|
|
15383
|
+
requester: AccountId32;
|
|
15384
|
+
|
|
15385
|
+
/**
|
|
15386
|
+
* Target EVM address to receive ETH.
|
|
15387
|
+
**/
|
|
15388
|
+
to: FixedBytes<20>;
|
|
15389
|
+
|
|
15390
|
+
/**
|
|
15391
|
+
* Requested amount of ETH (in wei).
|
|
15392
|
+
**/
|
|
15393
|
+
amount: bigint;
|
|
15394
|
+
};
|
|
15395
|
+
}
|
|
15396
|
+
/**
|
|
15397
|
+
* Tracked faucet ETH balance has been updated.
|
|
15398
|
+
**/
|
|
15399
|
+
| {
|
|
15400
|
+
name: 'FaucetBalanceUpdated';
|
|
15401
|
+
data: {
|
|
15402
|
+
/**
|
|
15403
|
+
* Previous tracked balance (in wei).
|
|
15404
|
+
**/
|
|
15405
|
+
oldBalanceWei: bigint;
|
|
15406
|
+
|
|
15407
|
+
/**
|
|
15408
|
+
* New tracked balance (in wei).
|
|
15409
|
+
**/
|
|
15410
|
+
newBalanceWei: bigint;
|
|
15411
|
+
};
|
|
15412
|
+
};
|
|
15413
|
+
|
|
15000
15414
|
/**
|
|
15001
15415
|
* The `Event` enum of this pallet
|
|
15002
15416
|
**/
|
|
@@ -15214,7 +15628,11 @@ export type PalletEvmAccountsEvent =
|
|
|
15214
15628
|
/**
|
|
15215
15629
|
* Contract was disapproved.
|
|
15216
15630
|
**/
|
|
15217
|
-
| { name: 'ContractDisapproved'; data: { address: H160 } }
|
|
15631
|
+
| { name: 'ContractDisapproved'; data: { address: H160 } }
|
|
15632
|
+
/**
|
|
15633
|
+
* Account was claimed.
|
|
15634
|
+
**/
|
|
15635
|
+
| { name: 'AccountClaimed'; data: { account: AccountId32; assetId: number } };
|
|
15218
15636
|
|
|
15219
15637
|
/**
|
|
15220
15638
|
* The `Event` enum of this pallet
|
|
@@ -16525,7 +16943,11 @@ export type PalletTransactionMultiPaymentError =
|
|
|
16525
16943
|
/**
|
|
16526
16944
|
* EVM permit call failed.
|
|
16527
16945
|
**/
|
|
16528
|
-
| 'EvmPermitRunnerError'
|
|
16946
|
+
| 'EvmPermitRunnerError'
|
|
16947
|
+
/**
|
|
16948
|
+
* EVM permit must not affect account nonce.
|
|
16949
|
+
**/
|
|
16950
|
+
| 'EvmPermitNonceInvariantViolated';
|
|
16529
16951
|
|
|
16530
16952
|
export type PalletTreasuryProposal = { proposer: AccountId32; value: bigint; beneficiary: AccountId32; bond: bigint };
|
|
16531
16953
|
|
|
@@ -17408,7 +17830,35 @@ export type PalletDispatcherError =
|
|
|
17408
17830
|
/**
|
|
17409
17831
|
* The provided call is not an EVM call. This extrinsic only accepts `pallet_evm::Call::call`.
|
|
17410
17832
|
**/
|
|
17411
|
-
| 'NotEvmCall'
|
|
17833
|
+
| 'NotEvmCall'
|
|
17834
|
+
/**
|
|
17835
|
+
* The EVM call ran out of gas.
|
|
17836
|
+
**/
|
|
17837
|
+
| 'EvmOutOfGas'
|
|
17838
|
+
/**
|
|
17839
|
+
* The EVM call resulted in an arithmetic overflow or underflow.
|
|
17840
|
+
**/
|
|
17841
|
+
| 'EvmArithmeticOverflowOrUnderflow'
|
|
17842
|
+
/**
|
|
17843
|
+
* Aave - supply cap has been exceeded.
|
|
17844
|
+
**/
|
|
17845
|
+
| 'AaveSupplyCapExceeded'
|
|
17846
|
+
/**
|
|
17847
|
+
* Aave - borrow cap has been exceeded.
|
|
17848
|
+
**/
|
|
17849
|
+
| 'AaveBorrowCapExceeded'
|
|
17850
|
+
/**
|
|
17851
|
+
* Aave - health factor is not below the threshold.
|
|
17852
|
+
**/
|
|
17853
|
+
| 'AaveHealthFactorNotBelowThreshold'
|
|
17854
|
+
/**
|
|
17855
|
+
* Aave - health factor is lesser than the liquidation threshold
|
|
17856
|
+
**/
|
|
17857
|
+
| 'AaveHealthFactorLowerThanLiquidationThreshold'
|
|
17858
|
+
/**
|
|
17859
|
+
* Aave - there is not enough collateral to cover a new borrow
|
|
17860
|
+
**/
|
|
17861
|
+
| 'CollateralCannotCoverNewBorrow';
|
|
17412
17862
|
|
|
17413
17863
|
export type PalletAssetRegistryAssetDetails = {
|
|
17414
17864
|
name?: Bytes | undefined;
|
|
@@ -18194,6 +18644,7 @@ export type PalletStableswapPoolSnapshot = {
|
|
|
18194
18644
|
reserves: Array<HydraDxMathStableswapTypesAssetReserve>;
|
|
18195
18645
|
amplification: bigint;
|
|
18196
18646
|
fee: Permill;
|
|
18647
|
+
blockFee: Permill;
|
|
18197
18648
|
pegs: Array<[bigint, bigint]>;
|
|
18198
18649
|
shareIssuance: bigint;
|
|
18199
18650
|
};
|
|
@@ -18500,16 +18951,6 @@ export type PalletXykError =
|
|
|
18500
18951
|
* Liquidity is zero.
|
|
18501
18952
|
**/
|
|
18502
18953
|
| 'ZeroLiquidity'
|
|
18503
|
-
/**
|
|
18504
|
-
* It is not allowed to create a pool with zero initial price.
|
|
18505
|
-
* Not used, kept for backward compatibility
|
|
18506
|
-
**/
|
|
18507
|
-
| 'ZeroInitialPrice'
|
|
18508
|
-
/**
|
|
18509
|
-
* Overflow
|
|
18510
|
-
* Not used, kept for backward compatibility
|
|
18511
|
-
**/
|
|
18512
|
-
| 'CreatePoolAssetAmountInvalid'
|
|
18513
18954
|
/**
|
|
18514
18955
|
* Overflow
|
|
18515
18956
|
**/
|
|
@@ -18566,10 +19007,6 @@ export type PalletXykError =
|
|
|
18566
19007
|
* Overflow
|
|
18567
19008
|
**/
|
|
18568
19009
|
| 'FeeAmountInvalid'
|
|
18569
|
-
/**
|
|
18570
|
-
* Overflow
|
|
18571
|
-
**/
|
|
18572
|
-
| 'CannotApplyDiscount'
|
|
18573
19010
|
/**
|
|
18574
19011
|
* Max fraction of pool to buy in single transaction has been exceeded.
|
|
18575
19012
|
**/
|
|
@@ -18815,6 +19252,106 @@ export type PalletHsmError =
|
|
|
18815
19252
|
**/
|
|
18816
19253
|
| 'InvalidArbitrageData';
|
|
18817
19254
|
|
|
19255
|
+
/**
|
|
19256
|
+
* The `Error` enum of this pallet.
|
|
19257
|
+
**/
|
|
19258
|
+
export type PalletSignetError =
|
|
19259
|
+
/**
|
|
19260
|
+
* The pallet has already been initialized
|
|
19261
|
+
**/
|
|
19262
|
+
| 'AlreadyInitialized'
|
|
19263
|
+
/**
|
|
19264
|
+
* The pallet has not been initialized yet
|
|
19265
|
+
**/
|
|
19266
|
+
| 'NotInitialized'
|
|
19267
|
+
/**
|
|
19268
|
+
* Unauthorized - caller is not admin
|
|
19269
|
+
**/
|
|
19270
|
+
| 'Unauthorized'
|
|
19271
|
+
/**
|
|
19272
|
+
* Insufficient funds for withdrawal
|
|
19273
|
+
**/
|
|
19274
|
+
| 'InsufficientFunds'
|
|
19275
|
+
/**
|
|
19276
|
+
* Invalid transaction data (empty)
|
|
19277
|
+
**/
|
|
19278
|
+
| 'InvalidTransaction'
|
|
19279
|
+
/**
|
|
19280
|
+
* Arrays must have the same length
|
|
19281
|
+
**/
|
|
19282
|
+
| 'InvalidInputLength'
|
|
19283
|
+
/**
|
|
19284
|
+
* The chain ID is too long
|
|
19285
|
+
**/
|
|
19286
|
+
| 'ChainIdTooLong'
|
|
19287
|
+
/**
|
|
19288
|
+
* Transaction data exceeds maximum allowed length
|
|
19289
|
+
**/
|
|
19290
|
+
| 'DataTooLong'
|
|
19291
|
+
/**
|
|
19292
|
+
* Invalid address format - must be exactly 20 bytes
|
|
19293
|
+
**/
|
|
19294
|
+
| 'InvalidAddress'
|
|
19295
|
+
/**
|
|
19296
|
+
* Priority fee cannot exceed max fee per gas (EIP-1559 requirement)
|
|
19297
|
+
**/
|
|
19298
|
+
| 'InvalidGasPrice'
|
|
19299
|
+
/**
|
|
19300
|
+
* Signature Deposit cannot exceed MaxSignatureDeposit
|
|
19301
|
+
**/
|
|
19302
|
+
| 'MaxDepositExceeded';
|
|
19303
|
+
|
|
19304
|
+
export type PalletDispenserDispenserConfigData = { paused: boolean };
|
|
19305
|
+
|
|
19306
|
+
/**
|
|
19307
|
+
* Pallet errors.
|
|
19308
|
+
**/
|
|
19309
|
+
export type PalletDispenserError =
|
|
19310
|
+
/**
|
|
19311
|
+
* Request ID has already been used.
|
|
19312
|
+
**/
|
|
19313
|
+
| 'DuplicateRequest'
|
|
19314
|
+
/**
|
|
19315
|
+
* Failed to (de)serialize data.
|
|
19316
|
+
**/
|
|
19317
|
+
| 'Serialization'
|
|
19318
|
+
/**
|
|
19319
|
+
* Output data did not match the expected format.
|
|
19320
|
+
**/
|
|
19321
|
+
| 'InvalidOutput'
|
|
19322
|
+
/**
|
|
19323
|
+
* Request ID does not match the derived ID for the provided data.
|
|
19324
|
+
**/
|
|
19325
|
+
| 'InvalidRequestId'
|
|
19326
|
+
/**
|
|
19327
|
+
* Pallet is paused and cannot process this call.
|
|
19328
|
+
**/
|
|
19329
|
+
| 'Paused'
|
|
19330
|
+
/**
|
|
19331
|
+
* Requested amount is below the configured minimum.
|
|
19332
|
+
**/
|
|
19333
|
+
| 'AmountTooSmall'
|
|
19334
|
+
/**
|
|
19335
|
+
* Requested amount exceeds the configured maximum.
|
|
19336
|
+
**/
|
|
19337
|
+
| 'AmountTooLarge'
|
|
19338
|
+
/**
|
|
19339
|
+
* EVM address parameter is invalid (e.g., zero address).
|
|
19340
|
+
**/
|
|
19341
|
+
| 'InvalidAddress'
|
|
19342
|
+
/**
|
|
19343
|
+
* Faucet balance would fall below the configured threshold after this request.
|
|
19344
|
+
**/
|
|
19345
|
+
| 'FaucetBalanceBelowThreshold'
|
|
19346
|
+
/**
|
|
19347
|
+
* Caller does not have enough balance of the fee asset.
|
|
19348
|
+
**/
|
|
19349
|
+
| 'NotEnoughFeeFunds'
|
|
19350
|
+
/**
|
|
19351
|
+
* Caller does not have enough balance of the faucet asset.
|
|
19352
|
+
**/
|
|
19353
|
+
| 'NotEnoughFaucetFunds';
|
|
19354
|
+
|
|
18818
19355
|
export type OrmlTokensBalanceLock = { id: FixedBytes<8>; amount: bigint };
|
|
18819
19356
|
|
|
18820
19357
|
export type OrmlTokensAccountData = { free: bigint; reserved: bigint; frozen: bigint };
|
|
@@ -19046,7 +19583,19 @@ export type PalletEvmAccountsError =
|
|
|
19046
19583
|
/**
|
|
19047
19584
|
* Address not whitelisted
|
|
19048
19585
|
**/
|
|
19049
|
-
| 'AddressNotWhitelisted'
|
|
19586
|
+
| 'AddressNotWhitelisted'
|
|
19587
|
+
/**
|
|
19588
|
+
* Provided signature is invalid
|
|
19589
|
+
**/
|
|
19590
|
+
| 'InvalidSignature'
|
|
19591
|
+
/**
|
|
19592
|
+
* Account already exists in the system pallet
|
|
19593
|
+
**/
|
|
19594
|
+
| 'AccountAlreadyExists'
|
|
19595
|
+
/**
|
|
19596
|
+
* Insufficient asset balance of the claimed asset
|
|
19597
|
+
**/
|
|
19598
|
+
| 'InsufficientAssetBalance';
|
|
19050
19599
|
|
|
19051
19600
|
/**
|
|
19052
19601
|
* The `Error` enum of this pallet.
|
|
@@ -20164,6 +20713,8 @@ export type HydradxRuntimeRuntimeError =
|
|
|
20164
20713
|
| { pallet: 'Referrals'; palletError: PalletReferralsError }
|
|
20165
20714
|
| { pallet: 'Liquidation'; palletError: PalletLiquidationError }
|
|
20166
20715
|
| { pallet: 'Hsm'; palletError: PalletHsmError }
|
|
20716
|
+
| { pallet: 'Signet'; palletError: PalletSignetError }
|
|
20717
|
+
| { pallet: 'EthDispenser'; palletError: PalletDispenserError }
|
|
20167
20718
|
| { pallet: 'Tokens'; palletError: OrmlTokensModuleError }
|
|
20168
20719
|
| { pallet: 'Currencies'; palletError: PalletCurrenciesModuleError }
|
|
20169
20720
|
| { pallet: 'Vesting'; palletError: OrmlVestingModuleError }
|