@galacticcouncil/xc-cfg 2.8.0 → 2.8.1
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/build/clients/chain/hydration/client.d.ts +3 -1
- package/build/clients/ntt/NttEvmClient.d.ts +5 -1
- package/build/index.cjs +1 -1
- package/build/index.mjs +1 -1
- package/build/validations/chain/hydration.d.ts +15 -0
- package/build/validations/chain/hydration.spec.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,6 +6,21 @@ export declare class HydrationEdValidation extends TransferValidation {
|
|
|
6
6
|
export declare class HydrationDepositLimitValidation extends TransferValidation {
|
|
7
7
|
validate(ctx: TransferCtx): Promise<void>;
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Fee currency must cover the prepaid delivery fee.
|
|
11
|
+
*
|
|
12
|
+
* - Hydration's evm runner checks an `EVM.call` value against the fee
|
|
13
|
+
* currency, though the value is paid in weth
|
|
14
|
+
* - Short on it, the batch fails `EVM.BalanceLow` whatever weth it holds
|
|
15
|
+
* - Requires the dex price of the fee, plus the network fee, transfer amount
|
|
16
|
+
* and swap input when paid from the fee currency
|
|
17
|
+
* - Skips routes without a prepaid fee, a weth fee currency and fees the dex
|
|
18
|
+
* cannot price
|
|
19
|
+
*/
|
|
20
|
+
export declare class HydrationEvmValueValidation extends TransferValidation {
|
|
21
|
+
protected skipFor(ctx: TransferCtx): boolean;
|
|
22
|
+
validate(ctx: TransferCtx): Promise<void>;
|
|
23
|
+
}
|
|
9
24
|
export declare class HydrationWithdrawLimitValidation extends TransferValidation {
|
|
10
25
|
validate(ctx: TransferCtx): Promise<void>;
|
|
11
26
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|