Skip to content

Commit be0aa1b

Browse files
committed
updates
1 parent 106fc21 commit be0aa1b

File tree

3 files changed

+8
-19
lines changed

3 files changed

+8
-19
lines changed

packages/sui-agent/src/@types/interface.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,6 @@ export const COIN_ADDRESSES = {
164164
WSB: '0x4db126eac4fa99207e98db61d968477021fdeae153de3b244bcfbdc468ef0722::wsb::WSB',
165165
} as const;
166166

167-
// Information about a liquidity pool
168-
export interface PoolInfo {
169-
id: string; // Unique identifier for the pool
170-
tokens: string[]; // Array of tokens in the pool
171-
reserves: bigint[]; // Array of token reserves in the pool
172-
fee: number; // Daily fees in USD
173-
tvl: number; // Total Value Locked in USD
174-
apr: number; // Annual Percentage Rate
175-
}
176-
177167
// Structure for token balance information
178168
export interface TokenBalance {
179169
token: string; // Token address or identifier
@@ -205,11 +195,3 @@ export const NETWORK_CONFIG: NetworkConfigs = {
205195
faucet: 'https://faucet.testnet.sui.io/gas',
206196
},
207197
};
208-
209-
interface Liquidation {
210-
user: string;
211-
liquidation_sender: string;
212-
[key: string]: unknown; // Uses unknown instead of any
213-
}
214-
215-
export type { Liquidation };

packages/sui-agent/src/protocols/navi/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NAVISDKClient } from 'navi-sdk';
22
import { handleError } from '../../utils';
33
import sentioApi from '../../config/sentio';
4-
import { Liquidation } from '../../@types/interface';
4+
import { Liquidation } from './types';
55
// Initialize NAVI SDK client
66
let naviClient: NAVISDKClient | null = null;
77

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
interface Liquidation {
2+
user: string;
3+
liquidation_sender: string;
4+
[key: string]: unknown;
5+
}
6+
7+
export type { Liquidation };

0 commit comments

Comments
 (0)