Pheasant Network
HomeProductLinks
  • 🪺Welcome
  • − Bridge −
    • 🌉Protocol
      • Network Participants
      • L2 > L1 and L2 > L2
      • L1 > L2
      • CCTP
      • Fees
    • 🧑‍💻Contracts
      • Overview
      • Technical Details
      • Audit
    • 🌐Network Code and Address
  • − Swap −
    • 🔄Protocol
      • Architecture
      • Fees
    • 🧑‍💻Contracts
  • 🌐Supported Networks
  • − Ecosystem −
    • 🐦Pheasant Points
      • Pheasant Points Terms of Use
      • Snapshot History
    • ❓FAQ
    • 📗Release Notes
    • ⏫Development Status
    • 🙌Supported by
    • 🎨Brand Assets
    • 💚Collaboration Requests
    • 🔗Links
Powered by GitBook
On this page
  1. − Swap −
  2. Protocol

Architecture

PreviousProtocolNextFees

Last updated 2 months ago

Pheasant Swap's architecture consists of four main components.

  • DApp: A DApp with cross-chain swap functionality. It uses PheasantSDK to quote a swap request, which is then submitted to the PheasantNetworkSwap contract for execution.

  • DEX Protocol: DEX protocols integrated with Pheasant Network. These protocols receive swap requests from the PheasantNetworkSwap contract, execute the transactions, and return the results to the DApp.

  • PheasantNetworkSwap Contract: A smart contract that facilitates swap execution by directing requests to the appropriate DEX protocols.

  • Relayer: An actor that tracks swap statuses from initiation to completion. If the swap succeeds, the relayer withdraws the applicable fee; if it fails, the relayer refunds the relayer fee to the user.

🔄