Skip to content

Commit bd67208

Browse files
committed
Merge branch 'feature/newdex' into develop
2 parents 15b5959 + 82f4db1 commit bd67208

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/types/router.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type Dex = 'stonfi' | 'dedust';
1+
export type Dex = 'stonfi' | 'dedust' | 'tonco';
22

33
export interface BestRoute {
44
selected_pool: SelectedPool;
@@ -8,13 +8,19 @@ export interface BestRoute {
88
export interface SelectedPool {
99
router_address: string;
1010
dex: string;
11+
dex_details: DexDetails;
1112
reserve0: string;
1213
reserve1: string;
1314
token0_address: string;
1415
token1_address: string;
1516
fee: number;
1617
}
1718

19+
export interface DexDetails {
20+
name: string;
21+
icon_url: string;
22+
}
23+
1824
export interface PoolData {
1925
router_address: string;
2026
pay: string;

0 commit comments

Comments
 (0)