UNPKG

@sky-mavis/katana-swap

Version:
13 lines 543 B
import { FlatFeeOptions } from '@uniswap/universal-router-sdk'; import { FeeOptions } from '@uniswap/v3-sdk'; import { BigNumber } from 'ethers'; import { KatanaTrade } from '../types'; type UniversalRouterFeeField = { fee: FeeOptions; } | { flatFee: FlatFeeOptions; }; declare const getUniversalRouterFeeFields: (trade: KatanaTrade) => UniversalRouterFeeField | undefined; declare const calculateGasMargin: (value: BigNumber) => BigNumber; export { calculateGasMargin, getUniversalRouterFeeFields }; //# sourceMappingURL=swap.d.ts.map