Orbs Network
  • Overview
    • What is Orbs?
    • Layer 3 Protocol
    • Running on EVM and TON
    • Enhanced Execution
    • L3 for Advanced Trading
    • Network Diagram
    • White Papers and Spec
  • Orbs Lambda
    • What is Orbs Lambda?
    • Network Diagram
    • Example Use Cases
    • Step by Step Overview
      • Development Requirements
      • Select Unique ID
      • Project Template
      • index.js Implementation
        • Execution Environment
        • Allowed Packages
        • Supported Networks
        • Execution Triggers
        • Sending Transactions
      • Testing Locally
      • Deploying to Production
      • Analyzing Execution
  • Orbs VM
    • What is Orbs VM?
    • Network Diagram
    • Example Use Cases
    • Step by Step Overview
      • Development Requirements
      • Select Unique ID
      • Docker Image Implementation
        • Execution Environment
        • Working Directory
        • Entry Point
        • Health Check
        • status.json
      • Testing Locally
      • Deploying to Production
      • Analyzing Execution
  • Powered by Orbs
    • Liquidity Hub
      • Integration Spec
    • Perpetual Hub
    • dTWAP Protocol
      • Integration Spec
      • Network Diagram
      • dTWAP Tutorial
      • FAQ
    • dLIMIT Protocol
      • Integration Spec
      • dLIMIT Tutorial
      • FAQ
  • Community Projects
    • Notification Protocol
      • Integrate a New Project
      • Network Diagram
    • TON Access
      • Network Diagram
    • TON Vote
Powered by GitBook
On this page
  • What is dLIMIT?
  • Intro to dLIMIT
  • Contract Architecture and Design
  1. Powered by Orbs

dLIMIT Protocol

PreviousFAQNextIntegration Spec

Last updated 4 months ago

What is dLIMIT?

Intro to dLIMIT

Most DeFi users are probably familiar with the regular DEX “swap” order, similar to a market order in CeFi.

A limit order, on the other hand, enables users to buy or sell tokens at a specified price or better. While the price is guaranteed, the order being executed is not - limit orders will be executed only if the price meets the order qualifications.

However, decentralized limit orders are not trivial to implement using smart contracts. Flawed implementation of limit orders in DeFi can hurt users by executing the order at a price much worse than they intended, or the order not being executed at all.

This is where Orbs L3 steps in - the Orbs dLIMIT for DEXs ensures that limit orders are executed at an optimal price and at fair fees, in a decentralized and reliable manner.

In addition, the Orbs team has designed a UI template that can be easily integrated and customized by any DEX, to create an intuitive, user-friendly, and informative way for users to set up limit orders trades.

Contract Architecture and Design

dLIMIT is based on the by Orbs and is in fact a specific instance of dTWAP-limit order, in which the total order size equals the individual trade size.

dTWAP is an , production-tested product that has been integrated into major DEXs such as Sushiswap, QuickSwap (the largest native DEX on Polygon) and SpookySwap (largest on Fantom), with millions of dollars in trading volume to date.

smart contract
dTWAP protocol
audited