RFQ Settlement

Purpose

The RFQ (Request-for-Quote) module is the core transaction engine of Stove Protocol. It bridges off-chain order creation and on-chain settlement, ensuring gas efficiency and verifiable execution.

Architecture

  • Off-chain: Users (makers) create and sign EIP-712 orders — 0 gas cost.

  • On-chain: Licensed Takers submit filled orders for execution via fillOrder().

Key Features

  • Partial fills supported

  • Nonce-based replay protection

  • Batch settlement

  • Whitelisted Takers only

  • Deterministic fee logic

Order Schema

struct Order {
  address maker;
  address principal;
  bool isBuy;
  string ticker;
  uint16 exchange;
  address asset;
  uint256 price;
  uint256 quantity;
  uint256 incentive;
  uint256 deadline;
  uint256 nonce;
}

Settlement Logic

  • Buy Order: Mint new stock tokens → deliver to buyer.

  • Sell Order: Burn stock tokens → return stablecoin.

  • Fees: Zero protocol fees; network gas fees and brokerage costs may apply.

Last updated