@galacticcouncil/xc-cfg 2.6.0 → 2.6.1-pr364-c761409

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/assets.d.ts CHANGED
@@ -16,6 +16,7 @@ export declare const eurc: Asset;
16
16
  export declare const eurc_wh: Asset;
17
17
  export declare const glmr: Asset;
18
18
  export declare const hdx: Asset;
19
+ export declare const hollar: Asset;
19
20
  export declare const ibtc: Asset;
20
21
  export declare const intr: Asset;
21
22
  export declare const jito_sol: Asset;
@@ -1,5 +1,6 @@
1
1
  import { AnyChain } from '@galacticcouncil/xc-core';
2
2
  import { base } from './base';
3
3
  import { ethereum } from './mainnet';
4
+ import { robinhood } from './robinhood';
4
5
  export declare const evmChains: AnyChain[];
5
- export { base, ethereum };
6
+ export { base, ethereum, robinhood };
@@ -0,0 +1,2 @@
1
+ import { EvmChain } from '@galacticcouncil/xc-core';
2
+ export declare const robinhood: EvmChain;
@@ -0,0 +1,2 @@
1
+ import { ChainRoutes } from '@galacticcouncil/xc-core';
2
+ export declare const robinhoodConfig: ChainRoutes;
@@ -0,0 +1,16 @@
1
+ import { Asset, AssetRoute } from '@galacticcouncil/xc-core';
2
+ export declare function toHydrationViaNttTemplate(assetIn: Asset, assetOut: Asset): AssetRoute;
3
+ /**
4
+ * Executor-delivered variant, offered alongside the self-redeem route above
5
+ * for the same pair - the sender pays for delivery instead of signing a
6
+ * redeem on the destination. Cost is native gas on the source chain.
7
+ */
8
+ export declare function toHydrationViaNttExecutorTemplate(assetIn: Asset, assetOut: Asset): AssetRoute;
9
+ /**
10
+ * Executor-delivered ntt out of a native gas source.
11
+ *
12
+ * The delivery price & executor cost come out of the very balance being
13
+ * bridged, so they are already folded into the source fee - declaring them
14
+ * as a destination fee too would charge the user twice.
15
+ */
16
+ export declare function toHydrationViaNttExecutorNativeTemplate(assetIn: Asset, assetOut: Asset): AssetRoute;