Gameplay & Trading Mechanics
ROBINDUDES operates a high-fidelity virtual paper-trading simulation engine that executes against live financial market data. While capital is 100% simulated, the engine enforces institutional-grade margin rules, bid/ask spreads, and synthetic slippage to test authentic trader edge.
1. The Virtual Trading Simulation Engine
The Trading Simulation Engine runs server-side to ensure deterministic, cheat-proof order matching and mark-to-market portfolio accounting.
- Market Orders: Orders execute instantaneously at the latest published market price. Complex order books and resting limit orders are abstracted to focus on tactical timing and directional calls.
- Bid/Ask Spread Execution:
BUY / Longorders fill at the current Ask price.SELL / Shortorders fill at the current Bid price.
- Synthetic Slippage: Dynamic slippage is calculated based on order sizing relative to simulated market liquidity:
Tokens holding the Slippage Shield skill receive up to a 50% discount on simulated slippage penalties.ExecutionPrice = BasePrice * (1 ± (OrderSize / LiquidityConstant) * SlippageFactor) - Directional Flexibility: Players can take both Long (positive quantity) and Short (negative quantity) positions, allowing profit generation during both bull and bear market regimes.
2. Margin, Leverage & Liquidation Safeguards
Portfolio risk is governed by automated margin constraints calculated in real time:
| Parameter | Value | Behavior |
|---|---|---|
| Maximum Leverage | 3x | Maximum borrowing multiplier permitted per position. Enforced strictly at the engine level. |
| Initial Margin Requirement | 33.3% | Minimum collateral required to open a 3x leveraged position. |
| Maintenance Margin | 25.0% | Threshold for total portfolio equity relative to total position notional value. |
| Liquidation Action | Full Liquidation | If equity drops below 25% of maintenance margin, the worker engine forcefully closes all open positions at market bid/ask prices and locks the portfolio for the remainder of the epoch. |
3. The Virtual Ledger ("VUSD")
Trading capital is tracked on-chain by the VirtualLedger.sol smart contract:
- Non-ERC-20 Architecture: VUSD is purely an accounting record with 6 decimals. It has no
transfer,approve, ortotalSupplyfunctions. - No Financial Redemption: VUSD cannot be deposited, withdrawn, swapped, or redeemed for real USD, USDC, ETH, or any other asset.
- Token-Bound Accounting: Balances are mapped by
tokenIdrather than wallet address. If an NFT with the Capital Boost passive is traded, its enhanced capital allocation follows the NFT.
4. Anti-Manipulation Snapshot & Settlement Valuation
To prevent last-second sniping and oracle latency exploitation at epoch boundaries, ROBINDUDES uses a multi-sample valuation algorithm:
Rather than taking a single spot valuation at epochEndTime, the competition engine computes a time-weighted average of periodic portfolio snapshots captured during the final 30 minutes of the epoch:
FinalPortfolioValue = (Snapshot_t-15 + Snapshot_t-10 + Snapshot_t-5 + Snapshot_t0) / 4This eliminates malicious price spikes or artificial bid-ask distortions right before settlement.
Deterministic Tie-Breakers
In the event that two or more portfolios finish with the exact same final valuation:
- The tie is awarded to the NFT that reached that valuation first in the chronological snapshot log.
- This eliminates last-millisecond submission race conditions and rewards consistent performance throughout the week.
5. Tactical Action: "Second Wind" Tier Switching
NFTs that hold the admin-designated Second Wind skill gain a unique tactical capability in PrizePool.sol:
- Mid-Week Pivot: Once per week, an entrant can call
useSecondWind(weekId, tokenId, newTier)to switch their active registration to a different competition tier. - Non-Refundable Baseline: The initial stake paid into the previous tier remains in that tier's pool. If the new tier requires a higher stake, the difference is charged upon execution.
- Strategic Advantage: Allows players to observe tier bracket participation and pivot away from oversaturated or hyper-competitive brackets before the epoch locks.
6. Undersubscribed Bracket Cancellation & 100% Refunds
To preserve economic fairness and prevent single-player pot draining:
- Minimum 3 Entrants Rule: A tier bracket must have at least 3 distinct competing NFTs at epoch close.
- Automatic Cancellation: If a tier finishes with fewer than 3 entrants, the keeper executes
cancelUndersubscribedTier. No winners or platform fees are taken. - Pull-Refund Claims: Every entrant in the cancelled tier can call
PrizePool.claimRefund(weekId, tier)to withdraw 100% of their staked $DUDES tokens.