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
30 lines (29 loc) • 526 B
TypeScript
export interface Pool {
address: string;
fee: string;
token0: {
address: string;
};
token1: {
address: string;
};
}
export interface PathNode {
token: string;
pool?: string;
previous?: PathNode;
distance: number;
}
export interface TradingPath {
pools: string[];
tokens: string[];
hops: number;
}
export interface EncodedPath {
pathString: string;
pathBytes: string;
pools: string[];
tokens: string[];
fees: string[];
hops: number;
}