Skip to content
The strategy

Deploy your own smart vault

A leveraged lending loop on Berachain, hedged dollar-for-dollar by a Hyperliquid perp short, in a vault you own. Every number here is live.

Connecting…
Capacity

How much capital this strategy can absorb

Capacity is the minimum of five live bounds: Dolomite WBERA borrow, oriBGT supply cap, Kodiak exit liquidity, Hyperliquid hedge depth, and the carry break-even floor.

Strategy capacity
Deployed vs. the live ceiling
Partial · some defaults
Deployed
$0.00
Max · live model
$3.11M
0.00% used
Binding constraint · Dolomite · WBERA borrow availability
Why this number moves. Every $1 of TVL needs $1.50 of WBERA borrow on Dolomite. More WBERA supplied or less borrowed, the ceiling climbs. Refreshes every ~60s.
The mechanic

A carry trade with the price taken out

The trade in three steps.

every number read live from Berachain
modeled (rates fallback)
  1. 01
    Buy Berachain rewards

    Your USDC buys oriBGT, a Berachain token that earns yield on its own.

  2. 02
    Borrow to buy more

    The vault posts it as collateral on Dolomite, borrows BERA, and buys more oriBGT. Earnings rise ~2.5×.

  3. 03
    Net result

    Boosted rewards minus borrow cost minus fees = your annual return.

Live ratesfallback snapshot
Berachain reward rate
what oriBGT earns, unlevered
unavailable
Borrowing cost
the BERA borrow rate on Dolomite
unavailable
Earnings boost
leverage on the base reward
2.50×
Estimated annual return
levered rewards minus borrow cost, fees, hedge funding
47.6%

This is today's math. Rates float and your return floats with them: rewards down or borrow cost up, you earn less. Real earnings show on the dashboard once you deposit.

The build

One atomic transaction stacks the loop

Deposit, borrow, deposit again. Each ring compounds yield without moving the risk band. One dolomite.operate() call: every ring settles or none do.

The build: one atomic transaction.

3 rings · target HF 1.25× · liquidation line at 75% LTV
estimated · HF 1.25×
init
Collateral 1.000
LTV 0.0%
ring 1
Collateral 1.581 · Borrowed 0.581 · this step +0.581
LTV 36.8%
ring 2
Collateral 2.500 · Borrowed 1.500 · this step +0.919
LTV 60.0%
Collateral
2.500
× the USDC you deposited
Borrowed
1.500
× the USDC you deposited
HF at end of build
1.25
liquidation at HF=1.0 (LTV=75%) · target 1.25
3 rings, one dolomite.operate() call: each ring borrows WBERA, sells it to oriBGT on Kodiak, and posts it back as collateral. Solvency is checked once at the end, so there is no mid-state for a liquidator to race.
The hedge

A matched short cancels the price

A quarter of the deposit bridges to Hyperliquid and shorts the loop dollar-for-dollar. Yield is collateral APR minus borrow cost minus funding, not BERA going up.

The hedge cancels your BERA exposure.

long BERA on Dolomite, short BERA on Hyperliquid
3× HL · 25% margin
  1. 01
    Split your deposit

    75% opens the leveraged Berachain position. 25% becomes hedge margin on Hyperliquid.

  2. 02
    Open a matching BERA short

    That margin runs at 3×, opening a BERA short that matches your long leg dollar-for-dollar.

  3. 03
    Price moves cancel out

    When BERA moves, the two legs offset. Your equity tracks the carry, not the price.

Bera leg allocation75%
HL margin allocation25%
HL leverage
Net BERA exposure~0
Auto-rebalance band12–40% MR
Funding rate (30d mean)≈ -32% APR (fallback)

The hedge runs itself. Each watcher tick checks margin ratio: trims if thin, grows if fat. You sign twice, open and close. On withdraw, the bridge returns your margin to your Berachain wallet, no HyperEVM gas needed.

Loop reactions

It trims itself. It optimizes itself

Operators check the loop about every ten seconds. Risk up, trim down. Conditions improve, add a ring. No human in the path.

Berachain · Loop autopilot

Defend down. Lever up.

Two reactions, same atomic-operate shape, opposite directions.

Loading…
A.

Liquidation defense

auto-deleverage
Trigger
The oriBGT/WBERA peg slips, HF falls below 1.18×. The watcher fires next tick.
Action
One dolomite.operate() sells oriBGT, repays WBERA, lands HF at 1.25×. Solvency is checked once, at the end.
Sizing math
s_USD = (HF·d − LT·c) / (HF − LT)
exact closed-form solution · V2.24 atomic-sizing
Stress test
The position absorbs a 12.0% peg drop before the hard floor at HF=1.10× binds. The watcher starts trimming at 5.6%.
Operating limits
Polling10s tick · 60s same-direction cooldown
RoutingkX router · 6 retries · clean revert if no route
PricingDolomite m41 oracle · 5% spot-divergence floor
B.

Yield optimization

auto-lever-up
Trigger
HF drifts above 1.35×, the position is under-levered. The watcher rebuilds next tick.
Action
One dolomite.operate() borrows WBERA, sells to oriBGT, redeposits. HF lands at 1.25×. The deleverage path, mirrored.
Sizing math
s_USD = (LT·c − HF·d) / (HF − LT)
mirror solution · same closed-form, opposite sign
Cost of drift
Left alone, drift to 1.35× costs roughly 4.8% of annualized yield as leverage falls from 2.50× to 2.25×.
Operating limits
Polling10s tick · 60s same-direction cooldown
Sizingborrows to land HF at target · no overshoot
SolvencyDolomite end-of-operate check · no transient under-collateralization
Why one transaction matters. Dolomite checks solvency once, at the end of operate(). No other contract observes the mid-call state, so no liquidator can race the rebalance. Dolomite's own Looped-oriBGT product uses the same pattern. We wire PRIIME-signed envelopes into it.
Hedge reactions

The short resizes. The margin defends itself

The Hyperliquid leg has its own watchers: loop size and hedge margin. Same signing rules, opposite venue.

Hyperliquid · Hedge autopilot

The short resizes itself. The margin stays in band.

Three reactions: resize, top-up, trim.

Margin policy
Margin ratio bands
Defender
< 13%
Top-up
13–22%
Healthy
22–55%
Draw-down
>55%
A.

Short tracks the loop.

auto-resize
Trigger
The Berachain loop moves, the short stops matching dollar-for-dollar. The resize watcher fires next poll.
Action
One PRIIME-signed ModifyOrder lands on Hyperliquid. Notional moves to $loop ÷ 3 at order-book mid. Slippage gates reject the order if the book is too thin.
Sizing math
notional_HL = loop_USD × delta / 3
3× HL leverage keeps margin-on-margin lift exactly 33%
Why it matches
A 1% move in BERA produces equal and opposite PnL on the two legs. Yield carries through. Price drops out.
Operating limits
Cadence5 min poll · 60 s same-direction cooldown
Slippage30 bps order-book mid · reject if book < $200
PricingHL mark · IOC fills only · no resting orders
B.

Margin stays in band.

auto-margin
Trigger
Margin ratio drops below 13%, usually a BERA rally against the short. The controller tops up before the DEFENDER band binds.
Action
A PRIIME-signed BridgeAction ships USDC from Arbitrum via CCTP into HL perp margin. Round trip under 15 min. The controller treasury holds a 30-day buffer.
Sizing math
top_up = margin_target − margin_live
target = 30% MR · controller-treasury-paid
Above the band
MR holds above 55% for a sustained window: the controller withdraws the excess back to Arbitrum. No idle USDC sits on Hyperliquid.
Operating limits
Cadence5 min poll · 30 min cross-chain cooldown
BridgeCircle CCTP · 8–14 min · 0 fees
FloorMR < 10% triggers TRIM (close + redeploy)
Why on Hyperliquid. HL has the deepest BERA-perp book by an order of magnitude and funding that fits the carry. The hedge sits in a controller-multisig sub-account: Priime Loop can resize it, never withdraw it. Custody stays on chain.
The signature

Quorum signed. Same rules. No discretion

Operators run the same deterministic component and sign their answer. Only a quorum-signed action lands on your vault, and on-chain validators pin every payout to your wallet. One operator signs today; the quorum is built to widen.

Who decides, and who signs.

PRIIME in four lines · every reaction runs this cycle
quorum-signed
  1. 01Observe

    Every operator reads the same chain state at the same trigger block: nobody picks the input.

    Berachain RPC + Origami HTTP API · cron trigger every 10s · block-height pinned

  2. 02Reason

    Each operator runs the same content-addressed WASM: same code, same input, same output.

    module digest pinned in service.json + on-chain in the service manager

  3. 03Sign

    Each operator's signature binds the action to its trigger, target HF, deadline, and reason tag.

    ECDSA over secp256k1 (POA middleware) · independent key custody

  4. 04Act

    At quorum, one transaction dispatches the operate blob to your Dolomite sub-account, bounded by the calldata validator and the post-state HF floor.

    ecrecover at the SubmissionHandler · operate-calldata validator at the factory · reverts on any tampered field

No party can move your funds to themselves. Every action is deterministic, quorum-signed, and bounded by on-chain validators that pin payouts to your wallet. The chain has the last word.