Skip to content
GNAR
ROUTER: PREVIEW
SECSecurity

Nothing claimed that does not exist.

Status

Router contract
IN BUILD
Deployed + verified
PENDING
Audit
Unaudited until stated otherwise on this page.
Contract address
None yet. Any address claiming to be GNAR is not ours.

Scope

Single-file router contract, no proxy, no upgrade path.

Holds nothing between transactions. Any balance left in the contract is a bug.

External dependencies the contract will call:

  • Uniswap v3 pools
  • QuoterV2 (off-chain quoting only)
  • USDG
  • WETH

Planned invariants

These are the properties the fork tests will assert. They are planned, not proven, until the test section below shows results.

  1. 01Router token balances are zero at the end of every transaction.
  2. 02Amount out to the trader is never below the trader's stated minimum.
  3. 03The backrun executes in the same transaction as the swap or the whole transaction reverts.
  4. 04Captured profit is split exactly by the constants in config/protocol.ts.
  5. 05No swap fee is charged on the trader's input.

Split constants: 50 / 40 / 10 · swap fee 0 bps

Owner powers

Planned. The table is the whole list; anything not on it the owner cannot do.

PowerPlannedBound
Pause new swapsYESCannot touch funds; cannot block withdrawals because the router holds none.
Update fee-split recipientsYESPercentages are immutable; only recipient addresses can change.
Upgrade contractNONo proxy. A new version is a new address.
Move user fundsNONo custody at any point.
Add or remove poolsNOPools are discovered by factory logs and code hash, not a list.

Test results

NO RESULTS PUBLISHED YET

Fork tests run against Robinhood Chain state. When a suite is published its commit, pass and fail counts and a link appear here, read from config, not typed into copy.

How to report

Open a private security advisory on the public repository once it is published, or DM the X account listed in the footer.

Disclosure window: 90 days, or sooner once a fix is deployed.

Contact: x.com/gnar_dev