@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.
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacticcouncil/xc-cfg",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "Cross-chain hydradx & basilisk dapp configuration",
5
5
  "author": "GalacticCouncil",
6
6
  "repository": {