UNPKG

@sky-mavis/katana-swap

Version:
11 lines 617 B
import { ChainId } from '@sky-mavis/katana-core'; import { BigNumber } from 'ethers'; /** * An asynchronous function which will get the block timestamp and combine it with user settings for a deadline. * Should be used for any submitted transactions, as it uses an on-chain timestamp instead of a client timestamp. * @param userDeadline The user setting's deadline in seconds * @returns A promise that resolves to a BigNumber representing the deadline */ declare const getDeadline: (userDeadline: number, chainId: ChainId) => Promise<BigNumber>; export { getDeadline }; //# sourceMappingURL=get-deadline.d.ts.map