Skip to content

v2.11.0#1593

Merged
StefChatz merged 142 commits intomainfrom
develop
Jul 31, 2025
Merged

v2.11.0#1593
StefChatz merged 142 commits intomainfrom
develop

Conversation

@linkielink
Copy link
Member

Swapping

  • Duality swapper contract compatibility was added to resolve routes through the Neutron DEX
  • Skip Router was added to be able to resolve swap routes through Duality and Astroport

Vaults

  • The Vaults Preview images got fixed
  • The Intro Copy of the Vaults Section got rewritten

Borrow

  • Users are now able to repay borrowed assets with any asset in their Credit Account

Perps

  • Enhanced Parent and Child Orders were introduced to support TP and SL orders being attached to a perp's position

HLS

  • The Closing Modal got a rework to not change in dimensions on route updates

Common

  • v2.3.0 Contract Support has been introduced

StefChatz and others added 30 commits April 25, 2025 19:34
…oduce keeper fee hook to avoid code duploicarion
…ate conditional triggers in order submission both for marketand limit orders
… enhance order management with child order handling
…mponents; improve max value calculations for USD and asset amounts
…triggers button; add isUSD prop to SwapForm component
…ext for amount type selection in PerpsModule
…ount handling in NumberInput and usePerpsCallbacks
…remove warning for existing orders in conditional modal
Patricie29 and others added 20 commits July 21, 2025 14:43
- Introduced `buildParentChildMapping` and `getPositionSLTPIndicators` utility functions to streamline the management of stop loss and take profit indicators.
- Updated `Size` component to accept a `type` prop for better value scaling based on order type.
- Refactored `Status` component to utilize the new SL/TP indicators logic.
- Adjusted `usePerpsBalancesColumns` to integrate the new mapping and indicators.
- Modified `PerpsModule` to conditionally render `KeeperFee` based on SL/TP triggers.
- Updated broadcast slice to correctly shift price values based on asset decimals.
- Enhanced type definitions for better clarity and maintainability.
…alances tables

- Modified the `Size` component in `useAccountPerpsColumns` and `usePerpsBalancesColumns` to accept a `type` prop for improved value representation based on order type.
- Removed unused `usePerpsLimitOrderRows` import in `usePerpsBalancesColumns` for cleaner code.
- Updated limit price calculations for stop loss and take profit to account for PRICE_ORACLE_DECIMALS.
- Removed redundant onClose() call from the handleDone function for cleaner execution flow.
refactor: adjust limit price calculations in PerpsSlTpModal
@vercel
Copy link

vercel bot commented Jul 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
mars-v2-frontend ✅ Ready (Inspect) Visit Preview Jul 29, 2025 7:42am

@StefChatz StefChatz merged commit a09ce28 into main Jul 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants