deBridge
  • Introduction
  • The deBridge Messaging Protocol
    • Protocol Overview
    • Fees and Supported Chains
    • 🟢Deployed Contracts
    • Development Guides
      • Building an EVM-based dApp
        • EVM smart contract interfaces
          • Interfaces
            • ICallProxy
            • IDeBridgeGate
            • IDeBridgeToken
            • IDeBridgeTokenDeployer
            • IOraclesManager
            • ISignatureVerifier
            • IWethGate
          • Libraries
            • Flags
          • Periphery
            • CallProxy
            • DeBridgeToken
            • DeBridgeTokenProxy
            • SimpleFeeProxy
          • Transfers
            • DeBridgeGate
            • DeBridgeTokenDeployer
            • OraclesManager
            • SignatureVerifier
            • WethGate
      • Sending cross-chain messages from Solana
        • On-Chain external call preparation for Solana
        • Off-chain external call preparation for Solana
      • Lifecycle of a cross-chain call
      • Gathering data for the claim
    • Development Tools
    • Security
    • Slashing and Delegated Staking
  • 🔁DLN: The deBridge Liquidity Network Protocol
    • Introduction
    • Protocol Overview
    • deBridge Hooks
    • Fees and Supported Chains
    • 🟢Deployed Contracts
    • Market and Limit Orders
    • Integration Guidelines
      • Interacting with the API
        • Authentication
        • Creating an Order
          • Quick Start
          • Reserve Assets
          • Bridging Reserve Assets
          • Bridging non-reserve assets
          • API Parameters
            • Estimation-Only
            • prependOperatingExpenses
          • API Response
            • JSON Example
          • Refreshing Estimates
          • Fees and operating expenses
          • Order Fulfillment
            • Detecting the Order
            • Fulfilling the Order
              • Pre-Fill-Swap
            • Claiming the Order
        • Tracking Order Status
          • Order States
        • Integrating deBridge hooks
          • Creating Hook data for Solana
        • Submitting an Order Creation Transaction
        • Cancelling the Order
        • Affiliate fees
      • deBridge Widget
      • Interacting with smart contracts
        • Placing orders
        • Filling orders
        • Withdrawing Affiliate Fees
    • Interacting with the deBridge App
      • Custom Linking
    • Protocol specs
      • Deterministic order ID
      • Hook data
        • Anatomy of a Hook for the EVM-based chains
        • Anatomy of a Hook for Solana
  • 💸dePort
    • Getting started
    • Transfers Flow
  • ⚡deBridge Points
    • Referrers Overview
    • Integrators Overview
  • 🌐deBridge IaaS
    • Getting started
  • 🌐Legal
    • SDK & API License Agreement
  • External Links
    • deBridge Use Cases
      • 💡Examples
    • Talks, Videos, and Articles
    • Website
    • Github
    • Twitter
    • Social channels
      • Discord
      • Facebook
      • LinkedIn
      • Medium
      • Telegram
      • YouTube
Powered by GitBook
On this page

Was this helpful?

  1. DLN: The deBridge Liquidity Network Protocol
  2. Integration Guidelines
  3. Interacting with the API
  4. Tracking Order Status

Order States

Order states explained. Order lifecycle state-machine diagram.

PreviousTracking Order StatusNextIntegrating deBridge hooks

Last updated 4 days ago

Was this helpful?

In the figure below, the order states are represented in a state-machine diagram, with the actions that trigger each state transition.

According to the DLN API, an order must be in one of these states:

Status
Description

Created

An order placed by a user on the DLN is pending fulfillment.

Fulfilled

The order on the destination chain has been completed by a solver. The full amount of the requested assets has been successfully transferred to the dstChainTokenOutRecipient

SentUnlock

ClaimedUnlock

OrderCancelled

The dstChainOrderAuthorityAddress has started the cancellation process on the destination chain.

SentOrderCancel

ClaimedOrderCancel

If an order is either in Fulfilled, SentUnlock, or ClaimedUnlock states, it can be displayed as fulfilled for the end-user.

After fulfilling the order, the solver initiates the unlock procedure on the destination chain. A cross-chain message is sent via to unlock the .

The unlock process is finalized, and the solver receives the . The affiliate fee is directed to the affiliateFeeRecipient on the source chain.

A cross-chain message is sent via from the destination to the source chain. It unlocks the on the source chain to be claimed by the srcAllowedCancelBeneficiary.

The source chain have been claimed by the srcAllowedCancelBeneficiary. The cancel procedure is finalized.

🔁
DMP
input assets locked on the source chain
input assets
DMP
input assets
input assets
Order states, state-machine diagram