Skip to content

Leverme/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

description
First crypto spot leverage trading protocol on monad

πŸ‘Ύ Welcome

Leverme Protocol πŸš€

Leverme is a decentralized leverage trading and liquidity pool protocol built on Monad.

It enables users to amplify their trading positions through borrowing and efficiently manage collateral assets via an integrated liquidity pool system.

The project supports Mon, USDT, and USDC, and is tightly integrated with Uniswap V2 Contract for seamless token swaps.


Features ✨

  • Leverage Trading
    Use collateral to open leveraged positions, amplifying your trading opportunities by borrowing funds.
  • Liquidity Pools
    Deposit assets to receive LP tokens, participate in liquidity provision, and manage your assets easily.
  • Uniswap V2/v3 Like Contract Integration
    Directly interact with the Uniswap V2 Router for efficient token swaps and trading operations.
  • Flexible Borrowing & Repayment
    Borrow without extensive collateral requirements, and enjoy flexible partial repayments with a built-in fee mechanism.
  • Secure Smart Contracts
    Built using OpenZeppelin’s secure modules (e.g., Ownable), ensuring robust security for all transactions.

Smart Contract Overview πŸ”

LeverageTrading Contract

  • Functionality:
    • Open Position: Use ETH, USDT, or USDC as collateral to borrow funds and buy target tokens via Uniswap.
    • Close Position: Sell tokens, calculate fees, repay borrowed funds, and return the remaining assets to the user.
    • Event Logging: Track position openings and closures on-chain for transparency and auditability.
  • Key Logic:
    • Integrates borrowing functions from the Vault contract.
    • Supports multiple token swap paths to adapt to various market conditions.
    • Implements leverage checks and liquidation criteria to manage risk.

Vault Contract

  • Functionality:
    • Deposit: Support for depositing ETH, USDT, and USDC in exchange for LP tokens.
    • Withdraw: Redeem LP tokens to withdraw the underlying assets.
    • Borrow: Lend assets to whitelisted users without collateral.
    • Repay: Flexible partial repayments with a fee structure to maintain pool stability.
  • Key Logic:
    • Utilizes an LP token mechanism to incentivize liquidity provision.
    • Enforces whitelist access for borrowing to enhance system security.
    • Automatically collects fees to support the sustainability of the protocol.

How to Interact πŸš€

  • Visit Our App
  • Use Web3.js or Ethers.js to interact with the contracts.
  • Utilize the Uniswap V2 interface for token swapping functionalities.
  • Monitor contract events to track trading positions and liquidity pool activities.

Contact πŸ“¬

For any inquiries or partnership opportunities, please reach out at: Telegram


Happy Trading! πŸš€πŸ’°
&#xNAN;The Leverme Team

About

Gitbook Docs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •