File tree Expand file tree Collapse file tree 3 files changed +8
-19
lines changed
Expand file tree Collapse file tree 3 files changed +8
-19
lines changed Original file line number Diff line number Diff 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
178168export 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 } ;
Original file line number Diff line number Diff line change 11import { NAVISDKClient } from 'navi-sdk' ;
22import { handleError } from '../../utils' ;
33import sentioApi from '../../config/sentio' ;
4- import { Liquidation } from '../../@ types/interface ' ;
4+ import { Liquidation } from './ types' ;
55// Initialize NAVI SDK client
66let naviClient : NAVISDKClient | null = null ;
77
Original file line number Diff line number Diff line change 1+ interface Liquidation {
2+ user : string ;
3+ liquidation_sender : string ;
4+ [ key : string ] : unknown ;
5+ }
6+
7+ export type { Liquidation } ;
You can’t perform that action at this time.
0 commit comments