@galacticcouncil/xc-cfg 1.5.1 → 1.5.2-pr338-ae2369b

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.
@@ -1,7 +1,5 @@
1
- export type SnowbridgeFast = boolean;
2
1
  export declare const SNOWBRIDGE_BASE_DISPATCH_GAS = 80000n;
3
2
  export declare const SNOWBRIDGE_BASE_VERIFICATION_GAS = 120000n;
4
3
  export declare const SNOWBRIDGE_TOKEN_DELIVERY_GAS = 100000n;
5
- export declare const SNOWBRIDGE_SUBMIT_GAS = 1000000n;
6
- export declare const SNOWBRIDGE_FIAT_SHAMIR_GAS = 2000000n;
4
+ export declare const SNOWBRIDGE_SUBMIT_GAS = 2000000n;
7
5
  export declare const ASSETHUB_ETHER_ED = 15000000000000n;
@@ -1,2 +1 @@
1
1
  export * from './constants';
2
- export * from './volumeFee';
@@ -1,5 +1,4 @@
1
1
  import { FeeAmountConfigBuilder, Parachain } from '@galacticcouncil/xc-core';
2
- import { SnowbridgeFast } from '../bridges/snowbridge';
3
2
  declare function TokenRelayer(): {
4
3
  calculateRelayerFee: () => FeeAmountConfigBuilder;
5
4
  };
@@ -9,12 +8,9 @@ declare function Wormhole(): {
9
8
  type SendFeeOpts = {
10
9
  hub: Parachain;
11
10
  };
12
- type OutboundFeeOpts = SendFeeOpts & {
13
- fast?: SnowbridgeFast;
14
- };
15
11
  declare function Snowbridge(): {
16
12
  calculateInboundFee: (opts: SendFeeOpts) => FeeAmountConfigBuilder;
17
- calculateOutboundFee: (opts: OutboundFeeOpts) => FeeAmountConfigBuilder;
13
+ calculateOutboundFee: (opts: SendFeeOpts) => FeeAmountConfigBuilder;
18
14
  calculateInboundFeeV1: (opts: SendFeeOpts) => FeeAmountConfigBuilder;
19
15
  calculateOutboundFeeV1: (opts: SendFeeOpts) => FeeAmountConfigBuilder;
20
16
  };
@@ -1,2 +1 @@
1
1
  export declare function padFeeByPercentage(fee: bigint, padPercent: bigint): bigint;
2
- export declare function scaledPadPercentage(staticPadPercent: bigint, tip: bigint, rawCost: bigint): bigint;
@@ -11,7 +11,5 @@ export declare function toHubExtTemplate(asset: Asset): AssetRoute;
11
11
  export declare function toParaErc20Template(asset: Asset, destination: Parachain, transferType?: XcmTransferType): AssetRoute;
12
12
  export declare function toMoonbeamErc20Template(asset: Asset): AssetRoute;
13
13
  export declare function viaWormholeBridgeTemplate(assetIn: Asset, assetOut: Asset, to: AnyChain): AssetRoute;
14
- export declare function viaSnowbridgeTemplate(assetIn: Asset, assetOut: Asset, to: AnyChain, opts?: {
15
- fast?: boolean;
16
- }): AssetRoute;
14
+ export declare function viaSnowbridgeTemplate(assetIn: Asset, assetOut: Asset, to: AnyChain): AssetRoute;
17
15
  export declare function viaSnowbridgeV1Template(assetIn: Asset, assetOut: Asset, to: AnyChain): AssetRoute;