Skip to content

Commit

Permalink
Merge branch 'feature/newdex' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho3einWave committed Dec 28, 2024
2 parents 15b5959 + 82f4db1 commit bd67208
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/types/router.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type Dex = 'stonfi' | 'dedust';
export type Dex = 'stonfi' | 'dedust' | 'tonco';

export interface BestRoute {
selected_pool: SelectedPool;
Expand All @@ -8,13 +8,19 @@ export interface BestRoute {
export interface SelectedPool {
router_address: string;
dex: string;
dex_details: DexDetails;
reserve0: string;
reserve1: string;
token0_address: string;
token1_address: string;
fee: number;
}

export interface DexDetails {
name: string;
icon_url: string;
}

export interface PoolData {
router_address: string;
pay: string;
Expand Down

0 comments on commit bd67208

Please sign in to comment.