Valantis Documentation
Valantis Website
  • Welcome to Valantis
  • Sovereign Pool
    • The Modules
      • Pool Manager
      • Liquidity Module
      • Swap Fee Module
      • Verifier Module
      • Oracle Module
      • Sovereign Vault
        • Rebase token support
      • Gauge
    • Interacting with Pools
      • Swap Parameters
      • Swap Steps
      • Multi Token Support
      • Deposit Liquidity
      • Withdraw Liquidity
      • Flash Loans
  • Hybrid Order Type (HOT)
    • Understanding HOT: A Graphical Overview
    • HOT API
      • HTTP request parameters
      • HTTP request response
      • Reasoning for Request structure
      • Solver Integration
      • Market Maker integration
    • HOT Smart Contracts
      • Interfaces
      • State variables and roles
      • AMM
      • HOT Swap
      • AMM Swap
      • Hybrid Order Type (HOT) struct parameters
      • Alternating Nonce Bitmap
      • Deposits
      • Withdrawals
      • Deployment Assumptions
    • Liquidity Manager Docs
      • Reference Oracle
      • Deposit
      • Withdraw
      • Signature
    • Swap
      • Swap Context
      • AMM Swap
      • HOT Swap
      • HOT Quote Parameters
        • Bitmap Nonce Instructions
    • Solver Docs
      • Solver Request
      • Simple HOT Swap Example
      • Partial Fill HOT Swap Example
    • Risks and Trust Assumptions
      • Roles
        • Sovereign Pool Manager
        • HOT Manager
        • HOT Signer
        • Liquidity Provider
      • Threats
        • Deposit Sandwich
        • Malicious Price Bound
        • Malicious Signer
        • Mispriced HOT Quote
  • Validly
    • Understanding Validly
    • Swap
    • Deposits and Withdrawals
    • Deployments
  • Stake Exchange (stHYPE AMM)
    • Swap
      • Instant Withdrawals (LST -> Native Token)
      • New Stake (Native Token -> LST)
    • LP Positions
      • LP Withdrawals Instant
      • LP Withdrawal Queued
    • Ratio Fee
    • Lending of Reserves
    • Smart contracts
      • STEXAMM.sol
      • StHYPEWithdrawalModule.sol
      • StexRatioSwapFeeModule.sol
      • DepositWrapper.sol
      • AaveLendingModule.sol
    • Risks and Trust Assumptions
    • Integration examples
  • Deploy and Build
  • Resources
    • Audits
    • Links
    • Get HYPE on HyperEVM
Powered by GitBook
On this page

Was this helpful?

  1. Validly

Understanding Validly

Validly's AMM can be configured to one of the following two options:

  • Stable AMM: Follows the design pioneered by Solidly, allowing users to trade any two pegged assets with very low price impact, such USDC and USDT or other stablecoins, liquid staking derivatives, etc.

  • Constant Product AMM: Same AMM design as UniswapV2 and its forks. It supports trading for any two assets.

By implementing the above as a Valantis Liquidity Module, we get the following advantages:

  • It becomes easy to customize Validly's implementation with novel modules, including price and volatility oracles, dynamic fees that protect LPs from quoting at stale prices, access-restricted Validly pools, novel tokenomics via a Gauge Module, etc, without any code changes on the existing Validly Liquidity Module. In contrast, existing implementations are monolithic and would have to re-build the liquidity pool smart contract from scratch.

  • Native support for rebase tokens, such as stETH and USDM, thanks to the Sovereign Pool's native support for these kinds of assets.

  • Having a familiar AMM design which can be implemented on Valantis in a few lines of code, serving as a simple to understand example for developers wanting to integrate with or build on Valantis' Core Protocol.

PreviousValidlyNextSwap

Last updated 6 months ago

Was this helpful?