We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15b5959 + 82f4db1 commit bd67208Copy full SHA for bd67208
src/types/router.ts
@@ -1,4 +1,4 @@
1
-export type Dex = 'stonfi' | 'dedust';
+export type Dex = 'stonfi' | 'dedust' | 'tonco';
2
3
export interface BestRoute {
4
selected_pool: SelectedPool;
@@ -8,13 +8,19 @@ export interface BestRoute {
8
export interface SelectedPool {
9
router_address: string;
10
dex: string;
11
+ dex_details: DexDetails;
12
reserve0: string;
13
reserve1: string;
14
token0_address: string;
15
token1_address: string;
16
fee: number;
17
}
18
19
+export interface DexDetails {
20
+ name: string;
21
+ icon_url: string;
22
+}
23
+
24
export interface PoolData {
25
26
pay: string;
0 commit comments