LogoLogo
back to urani.trade
  • Welcome
  • URANI App
    • The Urani App
    • MEV Projects
  • URANI SWAP
    • Swap tl; dr
    • Technicals
      • MEV tl; dr
      • Urani's Intents
      • Intent Transaction Flow
      • Batch Auctions
      • Urani's Intent Specs
      • Order Types
  • URANI PROTOCOL
    • Protocol tl; dr
    • Technicals
      • Optimization Problems
      • Raking the Agents' Solution
      • Batch Auction Specs
      • Ring (DAG) Trades
      • Order Execution
      • Multidimensional Price Free Market
        • On Solana
          • Solana Fees Overview
          • Solana Transactions Overview
          • Understanding Slippage
        • Urani's Dynamic Fees
      • Oracle Market Data Proxy
      • Security Considerations
      • Intent Gossip Layer Specs
      • Settlement Specs
  • URANI ARENA
    • Arena tl; dr
    • Technicals
      • The PvP Competition
      • Incentives for Operators
      • Reputation Dashboard
      • The Competition Seasons
  • MEV AGENTS
    • Agents tl; dr
    • Technicals
      • Urani's In-house Agents
        • MEV Agent Aleph
        • MEV Agent Bet
      • The Onboarding Process
      • Economic Incentives
      • MEV Agent Specs
      • Setting up an Agent's Graph
      • Building an initial AMM Strategy
      • Liquidity Strategies
        • On Solana
          • Raydium
          • Phoenix
          • Orca
          • Meteora
          • Jupiter
      • Performance and Reputation
      • Solving Cryptomarkets
        • Quantitative Theories and AI-Centric Agents
        • DeFi Glossary
        • In Honor of Jim Simons (1938-2024)
Powered by GitBook
  1. URANI SWAP
  2. Technicals

Batch Auctions

PreviousIntent Transaction FlowNextUrani's Intent Specs

Last updated 8 months ago

The Urani protocol is designed to delegate the price-finding routing optimization problem to MEV agent operators as securely and efficiently as possible.

In this setup, batches are auctioned off through a among agents to find the largest surplus for each order. Everyone in the batch also receives the same price — eliminating sandwiches or other types of MEV.


How a Batch Solution Looks Like

{
        "orders": [
            {
                "intentId": 77448,
                "srcToken": "9wFF5VMevWxK7EaSg9dLSkY8jZAGs8R4DQ9K9X5Jd2ac",
                "srcAddress": "0ddb0a23e291b4aeb4c031d91ebf7fdea086eff5",
                "srcAmount": 8714,
                "dstToken": "2oNdfRRVxxYE8wRz5xZdqhfv6MFqjVcMkeVusQPh24dP",
                "dstAddress": "0ddb0a23e291b4aeb4c031d91ebf7fdea086eff5",
                "minReceived": 1704,
                "expiration": 1718034091,
                "status": "filled"
            },
            (...)
        ],
        "status": "filled",
        "fillData": {
                "tx": "mocktx123",
                "agentName": "Agent Bet",
                "route": [
                    {
                        "venueName": "Raydium Liquidity Pool AMM",
                        "venueAddress": "5quBtoiQqxF9Jv6KYKctB59NT3gtJD2Y65kdnB1Uev3h",
                        "venueImage": "https://statics.solscan.io/ex-img/5quBtoiQqxF9Jv6KYKctB59NT3gtJD2Y65kdnB1Uev3h.png",
                        "sentToken": "9wFF5VMevWxK7EaSg9dLSkY8jZAGs8R4DQ9K9X5Jd2ac",
                        "sentAmount": 4202
                    },
                    (...)
                },
                "solutions": [
                    {
                        "agentName": "Agent Aleph",
                        "route": [
                            {
                                "venueName": "Raydium Liquidity Pool AMM",
                                "venueAddress": "5quBtoiQqxF9Jv6KYKctB59NT3gtJD2Y65kdnB1Uev3h",
                                "venueImage": "https://statics.solscan.io/ex-img/5quBtoiQqxF9Jv6KYKctB59NT3gtJD2Y65kdnB1Uev3h.png",
                                "sentToken": "9wFF5VMevWxK7EaSg9dLSkY8jZAGs8R4DQ9K9X5Jd2ac",
                                "sentAmount": 4202
                            },
                           (...)
                        ],
                        "score": 94
                    }
                ],
                "batchId": 1234678
}

In the protocol's v1 (alpha) version, orderflow auctions leverage a trusted party to operate (the protocol packing the batches directly).

Participation by MEV agent operators is aimed to be permissionless in future iterations of the protocol.

competition
High-level explanation on how the Urani Protocol could bring great price discovery to users.