Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions packages/perps-controller/src/constants/hyperLiquidConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -642,23 +642,6 @@ export const HIP3_MARGIN_CONFIG = {
RebalanceMinThreshold: 0.1,
} as const;

/**
* Configuration for USDH collateral handling on HIP-3 DEXs
* Per HyperLiquid docs: USDH DEXs pull collateral from spot balance automatically
*
* USDH is HyperLiquid's native stablecoin pegged 1:1 to USDC
*/
export const USDH_CONFIG = {
/** Token name for USDH collateral */
TokenName: 'USDH',

/**
* Maximum slippage for USDC→USDH spot swap in basis points
* USDH is pegged 1:1 to USDC so slippage should be minimal
* 10 bps (0.1%) provides small buffer for spread
*/
SwapSlippageBps: 10,
} as const;

// Progress bar constants
export const INITIAL_AMOUNT_UI_PROGRESS = 10;
Expand Down
1 change: 0 additions & 1 deletion packages/perps-controller/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ export {
TESTNET_HIP3_CONFIG,
MAINNET_HIP3_CONFIG,
HIP3_MARGIN_CONFIG,
USDH_CONFIG,
INITIAL_AMOUNT_UI_PROGRESS,
WITHDRAWAL_PROGRESS_STAGES,
PROGRESS_BAR_COMPLETION_DELAY_MS,
Expand Down
Loading
Loading