OracleMart LogoOracleMart
Smart Contracts

Treasury

Fee collection and ORMT burn management

Treasury

Treasury is the financial hub of OracleMart. It manages the ORMT burn on market creation, collects and splits fees on resolution, and holds protocol reserves.

Overview

Treasury responsibilities:

  • Burn ORMT on market creation (anti‑spam, deflationary)
  • Collect and store fees from resolved markets
  • Distribute Admin / Creator / Protocol shares
  • Maintain financial metrics and safety controls

Burn Mechanism

Current: fixed 2000 ORMT per market (tax‑free).
Future: dynamic target (for example $100 worth) based on price feed with safety bounds.

Why burn?

  • Prevents spam and signals commitment
  • Reduces supply over time
  • Accrues value to holders

Fee Collection and Distribution

Fees are taken from the total pool at resolution and split automatically:

RecipientShare
Admin15% (configurable up to 25%)
Creator5%
Protocol5%
Winners75%

Collection steps:

  1. Market resolves
  2. Compute total fees (25% cap)
  3. Split and store in Treasury
  4. Winners share the remaining 75%

Key Functions

  • burnORMT(user, amount) — burns ORMT for creation
  • collectFees(marketId) — collects fees on resolve
  • distributeFees() — splits Admin/Creator/Protocol
  • withdrawFees() — admin distribution to wallets

Security and Operations

  • Multi‑sig controls and timelocks for changes
  • Reentrancy protection during transfers
  • Pause mechanism for emergencies
  • Metrics: daily revenue, burns, distributions

On-chain (Sepolia)

{
  address: "0x5BCa2465a870bb0E9eaEC70256D747a48aa388E5"
}