Transparency

Hyperpetua swaps settle on a number you can verify yourself.

Settled on public data

Settlement is a deterministic sum over Hyperliquid's published funding (fundingHistory) — the same hourly series anyone can query. At maturity a keeper computes the cumulative realized funding over the term and submits it on-chain; the contract pays each side its net, bounded by the posted buffers. There is no proprietary oracle and no discretion.

Don't trust, verify

  • The settlement rate is public — recompute it yourself from fundingHistory.
  • Each settlement emits SwapSettled(id, cumRate, traderNet, traderPayout, vaultPnl, clamped) — the exact number the contract used. Recompute and check it against the event.
  • Trader funds are self-custodial and loss is bounded — see Security.

Testnet note: the current HyperEVM-testnet deployment is collateralized in mock USDC and settles on mainnet HYPE funding (api.hyperliquid.xyz), because testnet funding is near-zero and unrepresentative. So the playground quotes and settles on real funding — only the collateral is mock.