What may the bot doright now?
DRIFT's quant engine runs off-chain. Its risk gate lives in a public contract. This page shows the contract's state as read from BNB Chain by your browser. It never signs or sends a transaction.
This page reads the contract from your browser, and JavaScript is off, so no live state is shown. The verified receipts below are static evidence; the contract itself is public on BscScan ↗.
Reading the contract…
- Who changes the regime?
- Only the agent key, via setRegime, from the engine's macro classifier.
- What triggers a halt?
- A recorded decision with drawdown at or past the threshold. The contract flips it itself.
- 0x8b09ebB8…c42aa83D
- 0x2B07AfB5…C6714b81
- 20%
- …
What would MacroGuard decide if the bot reported this?
Pick a signal and the drawdown the bot would report. Your browser sends one eth_call of recordDecision to the live contract, as if from the agent address. It is a simulation: nothing is signed or written, no transaction is created and no gas is spent. The answer comes from the contract on BSC Testnet, not from this page.
- 01Deployconstructor(maxDrawdownBps = 2000)Neutral · not halted · 0 decisions#133,995,398 · 0x2d8cce…c044 ↗
- 03Safe decisionrecordDecision(BNB, Short, drawdown −1%)Decision #1 recorded · within the 20% limit#134,042,256 · 0x7a5185…4810 ↗
- 04Breach → haltrecordDecision(BNB, Short, drawdown −25%)Halted event · only Flat allowed#134,042,283 · 0x8e346d…62ef ↗
- 06Back to neutralsetRegime(Neutral)Long allowed again · 2 decisions on chain#134,042,328 · 0xa84665…486b ↗
Executed 2026-09-30 from the agent wallet. Static record of verified receipts — not a live feed. Plus one simulated call from a random address: reverted with NotAgent().
Each decision carries its drawdown. At or past 20%, the contract flips halted = true by itself. The runner records each decision here before it orders and acts on the answer; with no confirmed answer it takes no new risk (fail-closed).
- −1% recorded → inside the limit, kept running
- −25% recorded → contract halted itself
- The contract does not execute Bybit orders. Execution stays off-chain.
- The drawdown is reported by the agent, not measured by the contract.
- The agent can call resume() — a halt is a recorded pause, not a lock.
- No live bot tick or profit is claimed. Backtests are research only.