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:
| Recipient | Share |
|---|---|
| Admin | 15% (configurable up to 25%) |
| Creator | 5% |
| Protocol | 5% |
| Winners | 75% |
Collection steps:
- Market resolves
- Compute total fees (25% cap)
- Split and store in Treasury
- Winners share the remaining 75%
Key Functions
burnORMT(user, amount)— burns ORMT for creationcollectFees(marketId)— collects fees on resolvedistributeFees()— splits Admin/Creator/ProtocolwithdrawFees()— 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"
}