evx-sdk
Version:
The Evx SDK is a developer toolkit designed to simplify interaction with the Evx decentralized liquidity protocol. It provides an abstraction layer over the smart contracts, allowing developers to easily build applications, integrate liquidity pools, fetc
10 lines (9 loc) • 370 B
TypeScript
import { ITokenPair } from '../interfaces/utils/ITokenPair';
/**
* @title Sort Tokens
* @notice Sorts token addresses in ascending order
* @dev Ensures consistent token ordering for contract interactions
* @param pair The token pair to sort
* @returns The sorted token pair with token0 < token1
*/
export declare function sortTokens(pair: ITokenPair): ITokenPair;