@galacticcouncil/xc-cfg 0.8.0 → 0.10.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/build/index.cjs +1 -1
- package/build/index.mjs +1 -1
- package/build/types/assets.d.ts +0 -16
- package/build/types/chains/polkadot/index.d.ts +2 -7
- package/build/types/chains/polkadot/polkadot.d.ts +0 -1
- package/build/types/configs/polkadot/assethub/index.d.ts +1 -1
- package/build/types/configs/polkadot/hydration/templates.d.ts +2 -4
- package/build/types/resolvers/index.d.ts +0 -1
- package/package.json +1 -1
- package/build/types/chains/polkadot/acala.d.ts +0 -2
- package/build/types/chains/polkadot/centrifuge.d.ts +0 -2
- package/build/types/chains/polkadot/darwinia.d.ts +0 -2
- package/build/types/chains/polkadot/kilt.d.ts +0 -2
- package/build/types/chains/polkadot/zeitgeist.d.ts +0 -2
- package/build/types/configs/polkadot/centrifuge.d.ts +0 -2
- package/build/types/configs/polkadot/darwinia.d.ts +0 -2
- package/build/types/configs/polkadot/kilt.d.ts +0 -2
- package/build/types/configs/polkadot/zeitgeist.d.ts +0 -2
- package/build/types/resolvers/acala.d.ts +0 -6
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
import { AnyChain } from '@galacticcouncil/xc-core';
|
|
2
|
-
import { acala } from './acala';
|
|
3
2
|
import { ajuna } from './ajuna';
|
|
4
3
|
import { assetHub, assetHubCex } from './assethub';
|
|
5
4
|
import { astar } from './astar';
|
|
6
5
|
import { bifrost } from './bifrost';
|
|
7
|
-
import { centrifuge } from './centrifuge';
|
|
8
6
|
import { crust } from './crust';
|
|
9
|
-
import { darwinia } from './darwinia';
|
|
10
7
|
import { hydration } from './hydration';
|
|
11
8
|
import { interlay } from './interlay';
|
|
12
|
-
import { kilt_chain } from './kilt';
|
|
13
9
|
import { laos_chain } from './laos';
|
|
14
10
|
import { moonbeam } from './moonbeam';
|
|
15
11
|
import { mythos } from './mythos';
|
|
16
12
|
import { neuroweb } from './neuroweb';
|
|
17
13
|
import { pendulum } from './pendulum';
|
|
18
|
-
import { polkadot
|
|
14
|
+
import { polkadot } from './polkadot';
|
|
19
15
|
import { unique } from './unique';
|
|
20
|
-
import { zeitgeist } from './zeitgeist';
|
|
21
16
|
import { energywebx } from './energywebx';
|
|
22
17
|
export declare const polkadotChains: AnyChain[];
|
|
23
|
-
export {
|
|
18
|
+
export { ajuna, assetHub, assetHubCex, astar, bifrost, crust, hydration, laos_chain, neuroweb, interlay, moonbeam, mythos, pendulum, polkadot, unique, energywebx, };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { AnyChain, Asset, AssetRoute,
|
|
1
|
+
import { AnyChain, Asset, AssetRoute, Parachain } from '@galacticcouncil/xc-core';
|
|
2
2
|
import { XcmTransferType } from '../../../builders';
|
|
3
3
|
export declare const MRL_EXECUTION_FEE = 0.9;
|
|
4
4
|
export declare const MRL_XCM_FEE = 1;
|
|
5
5
|
export declare const GLMR_MIN_DEST_FEE = 1;
|
|
6
|
-
export declare const CEX_EXECUTION_FEE = 0.03;
|
|
7
6
|
export declare function toTransferTemplate(asset: Asset, destination: AnyChain, reserve?: Parachain): AssetRoute;
|
|
7
|
+
export declare function toHubTemplate(asset: Asset, hub: Parachain): AssetRoute;
|
|
8
8
|
export declare function toHubExtTemplate(asset: Asset): AssetRoute;
|
|
9
|
-
export declare function toHubWithCexFwdTemplate(asset: Asset, hubFee: number, hubTransfer: ExtrinsicConfigBuilder): AssetRoute;
|
|
10
9
|
export declare function toParaErc20Template(asset: Asset, destination: Parachain, transferType?: XcmTransferType): AssetRoute;
|
|
11
10
|
export declare function toMoonbeamErc20Template(asset: Asset): AssetRoute;
|
|
12
|
-
export declare function toZeitgeistErc20Template(asset: Asset): AssetRoute;
|
|
13
11
|
export declare function viaWormholeBridgeTemplate(assetIn: Asset, assetOut: Asset, to: AnyChain): AssetRoute;
|
|
14
12
|
export declare function viaWormholeRelayerTemplate(assetIn: Asset, assetOut: Asset, to: AnyChain): AssetRoute;
|
|
15
13
|
export declare function viaSnowbridgeTemplate(assetIn: Asset, assetOut: Asset, to: AnyChain): AssetRoute;
|
package/package.json
CHANGED