Skip to main content

submit_auto_execute_rfq_inner

Function submit_auto_execute_rfq_inner 

Source
pub async fn submit_auto_execute_rfq_inner(
    rfq_manager: &RfqManager,
    agent_auth: &dyn AgentAuthProvider,
    rfq_id_str: &str,
    legs: &[RfqLegRequest],
    wallet_address: WalletAddress,
    limit_price_str: &str,
    nonce: u64,
    signature: &str,
    chain_id: u64,
) -> Result<RfqRecord, String>
Expand description

Core RFQ auto-execute submission logic shared by the REST handler and the WebSocket handler. Similar to submit_rfq_inner but verifies the SubmitAutoExecuteRfq EIP-712 signature (which includes limitPrice) and passes the auto-accept limit through to the RFQ manager.