Cropfield Open app

Docs

How Cropfield works

What the vault does, the rules it follows and what can go wrong, on one page. The contracts have the final word: where a number lives on chain, this page reads it from there.

How it works

Cropfield is a vault on Elysium, Kinetiq's Hyperliquid L2. You deposit USDC and receive cfUSDC, a share of everything the vault holds.

For each stock it trades, the vault buys the tokenized stock (an xStock) on Elysium and shorts the same stock's HIP-3 perpetual on HyperCore, in equal dollar amounts. When the stock moves, one leg gains what the other loses, so the vault's value barely follows the price.

What is left is funding. Perp longs and shorts pay each other every hour to keep the perp's price near the stock's. When funding is positive, which it usually is on these markets, longs pay shorts, and the vault is the short.

Income
Funding paid to the short leg.
Costs
Spot swaps on Elysium, perp trading fees on HyperCore, and the small gap between the xStock price and the perp price.
Fees
No management or performance fee. Withdrawing before settlement costs a fixed fee (the guardian can set it up to 2%), which stays in the vault for the holders who remain; the team takes none of it. Withdrawing at settlement is free. Trading costs are paid by the vault and show up in the price per share; gas for your own transactions is yours.

The backtest runs these rules on real HIP-3 funding history. See the backtest.

Deposits and withdrawals

Requests queue and settle together once per epoch, at one price per share for everyone in that epoch. Epochs are a minimum interval apart or longer.

  1. Queue a deposit. Your USDC moves into the vault and waits there as USDC. Until the epoch settles you can cancel any part of it, and the USDC comes back in the same transaction, even while the vault is paused.
  2. Settlement. The keeper settles the epoch. The vault values everything it holds, sets the price per share, turns each queued deposit into cfUSDC and each queued withdrawal into USDC at that price. The deposit cap is applied here: if the queue is larger than the room left under the cap, every queued deposit is filled in the same proportion and the rest is set aside as USDC for you.
  3. Claim. After settlement you claim from the app: your cfUSDC, plus any USDC the cap did not take, in one transaction. Claims work while the vault is paused.

To withdraw, request it with your cfUSDC. The shares move into the vault, the request settles at the next epoch, and then you claim USDC. A withdrawal request cannot be cancelled, and new requests (deposits and withdrawals) stop while the vault is paused.

To leave sooner, withdraw now instead. The vault burns your cfUSDC and pays USDC in the same transaction, at the lower of the last settled and the live price per share, minus a fixed fee that stays in the vault for the other holders. Each epoch, instant withdrawals may pay out at most a fixed share of the vault's value at the last settlement. That limit resets at every settlement, but the cash behind it does not refill by itself: it is whatever USDC sits idle after the cash the queued withdrawals may need at the next settlement, so the app shows what can be paid right now.

Instant withdrawals stop while the vault is paused, whenever a keeper report is older than the staleness limit (which includes nights and weekends when the keeper does not post), when the hedge has drifted, when the live price per share is more than the settlement bound under the settled one, and when there is no cash for them. The app also refuses to build one when the live price is more than 1% under the settled price, reads a fresh quote right before you sign, and accepts at most 0.1% less than that quote. The queue is always the other way out, and the last shares in the vault leave through it.

Value per share = (idle USDC + margin on its way to HyperCore + xStocks at the price source + the HyperCore margin account's equity) ÷ cfUSDC supply.

Strategy rules

The keeper decides which stocks to hold once a week. The decision is one function, and the backtest calls the same one, so the backtest measures the rules the keeper runs. Every decision is published in the keeper journal with the numbers behind it.

Signal
Mean hourly funding over the trailing 14 days, as a yearly rate.
Enter
Trailing funding at least 15% a year, with at most 35% of those hours negative.
Exit
Trailing funding below 5% a year. A held stock only has to stay above the exit line, so one that hovers near the entry line is not traded back and forth.
Slots
Up to 5 stocks in equal slots. When more stocks qualify than there are free slots, the highest trailing funding wins. Unused slots stay in USDC.
Hedge
Equal dollar amounts on both legs. Perp margin is the position size divided by 3.
Weekends
No new entries from Friday 20:00 to Sunday 23:59 UTC, while US markets are closed and funding on these perps drops.
Size
One slot is at most 1% of the perp's 24-hour volume and 2% of its open interest.
Universe
A stock qualifies only if it has both an xStock and a HIP-3 perp. The list is fixed by that structure, never by which names did best in the backtest.

Vault limits

The contract refuses to settle or trade outside these limits. The guardian can change them, so the values here are read from the vault when the page loads.

Deposit cap
A fixed amount in total, applied when an epoch settles: a queue larger than the room left is filled in the same proportion for everyone and the rest comes back as USDC with the claim. No role can set the cap above 50,000 USDC, a limit fixed in the contract.
Price per share
Moves at most a fixed bound per settlement when the keeper settles. The guardian can settle a verified move of up to 10%; only the admin can go further.
Cadence
At least a minimum interval between settlements, and never less than one day, so the price limit is a rate per interval and cannot be stacked.
Fresh data
Price and hedge reports older than a fixed age block settlement.
Hedge balance
Each stock's spot and short must be within a fixed share of each other, or settlement is refused.
Slippage
Keeper trades fill at most a fixed share away from the price source.
Spending
Keeper trades spend only idle USDC, never queued deposits, USDC set aside for settled withdrawals or for refunds, or what is left of the instant limit.
Trade losses
Realized losses on the keeper's spot trades, measured against the price source, are capped at a fixed share of the vault's value per epoch. Past that, trades revert until the next settlement. Sales while the strategy is locked do not count, so the vault can always unwind.
Instant withdrawals
At most a fixed share of the vault's value at the last settlement per epoch, paid at no more than the live or the last settled price per share, minus a fixed fee kept by the vault. The guardian can raise the fee to at most 2% and the share to at most 25%.
Price posts
Each price the keeper posts may move at most 10% from the current anchor and from the one before it, and the anchor moves once per hour. The guardian can set this bound between 1% and 20% per window. Inside it, a wrong report still moves the price per share; the trade loss cap and the settlement bound limit what that can cost.

Launch and the go/no-go gate

Spot costs on Elysium can only be measured once xStocks trade there, so the vault opens with the strategy locked. Until the admin enables it, the contract refuses to buy spot, send margin to HyperCore or grow a short, and no epoch settles.

  1. Deposits open. USDC waits in the vault and can be cancelled at any time.
  2. Go/no-go gate. Live spot cost at most 0.5% per side for a $15,000 trade on three or more stocks, and a working path for margin to reach HyperCore.
  3. Strategy live. Positions change at the weekly decision.

If the gate fails, the vault pauses and every deposit can be cancelled in full. After launch the guardian can lock the strategy again at any time. Selling spot and covering shorts are never locked, so the vault can always unwind.

Today the keeper reports stock prices and the margin account's value to the vault. After Elysium's HyperCore upgrade the vault is meant to read both on chain instead, and the keeper's reports are retired.

Risks

Read these before you deposit. Any of them can cost you some or all of your deposit.

Audit pending
The contracts have been through three internal reviews (static analysis, invariant tests and a manual review of what each key can do) and an outside-model review. No security firm has audited them yet, so bugs may remain. Until one has, total deposits are capped at a fixed amount set in the contract, applied when an epoch settles: a queue above the room under the cap is filled in part and the rest comes back as USDC with the claim. No role can raise the cap above 50,000 USDC.
The keeper reports prices and trades the funds
A keeper key reports stock prices and the state of the HyperCore margin account to the vault, and it trades the vault's funds: it buys and sells xStocks, opens and closes the shorts, and settles epochs. The contract caps realized trade losses at a fixed share of the vault's value per epoch (sales while the strategy is locked do not count), and settlement refuses a price per share that moved more than the settlement bound. A keeper that misreports prices within the oracle's bound of 10% per hour can still cost holders part of the spot leg. After Elysium's HyperCore upgrade, on-chain reads are meant to replace the reports. Until then you can check them against HyperCore on the app's Positions tab.
A person holds the HyperCore account key
The shorts and their margin sit in a HyperCore account, and a person holds that account's key. Whoever holds it can trade the account or withdraw its margin. This stays a trust until a contract can own the account.
The admin is a single key
The admin is one key, not a multisig, and there is no timelock. It can replace every contract the vault uses for prices, trading and margin, list and delist assets, set how many perp units hedge one token, name the HyperCore account the public check reads, and give itself any other role. Holding the guardian role as well, it can force any price and settle an epoch at any price-per-share move. Whoever holds this key can take over the vault.
The guardian can change limits and settle moves
The guardian can pause new requests, lock the strategy and change the limits, but only within hard ranges fixed in the contract: a deposit cap of at most 50,000 USDC, a price-per-share bound of at most 5%, slippage of at most 3%, an instant fee of at most 2% and an instant cap of at most 25%, a trade loss budget of at most 5% per epoch, and epochs of at least one day. It can set the oracle's price bound between 1% and 20% per window, force a price up to 50% from the current one, and settle a price-per-share move of up to 10% that the keeper's bound refuses, but not while a price it forced is still fresh.
The short can be liquidated
If a stock jumps, the short loses margin. Moving USDC from Elysium to HyperCore is slow, so the keeper has to shrink the position rather than top it up, and a fast gap can still reach the liquidation price.
Funding can turn negative
When it does, the short pays instead of earning until the exit rule closes the position at the next weekly decision.
The legs can drift apart
The xStock and the perp track the same stock through different markets. Gaps between their prices, and hours when one of them is closed or halted, can cost money.
Third parties
xStocks are issued by a third party and depend on its backing. Each HIP-3 perp is run by its deployer, who sets its oracle and can halt it. USDC can lose its peg. Elysium and HyperCore can stop or change.
Slow exits
Withdrawals settle once per epoch, and an epoch lasts at least a minimum interval set in the contract (the contract never allows less than one day). A tripped limit holds settlement until it is resolved, requests stop while the vault is paused, and a withdrawal request cannot be cancelled.
Instant withdrawals
Leaving before settlement costs a fee, at most 2%, which stays in the vault for the holders who remain, not the team. It pays the lower of the last settled and the live price per share. The cap of a fixed share of the vault per epoch resets at every settlement, but the cash is not guaranteed, so the app shows what can be paid right now. Instant exits close whenever a keeper report is older than the staleness limit, which includes nights and weekends without posts, and whenever the live price per share is more than the settlement bound under the settled one. The app accepts at most 0.1% less than the quote it shows. The cash the queued withdrawals need is protected, so the queue always stays the other way out.
Costs can eat the yield
Every entry and exit pays venue fees and slippage on both legs, and the instant reserve sits in USDC the keeper cannot spend, so that share of the vault earns no carry. If spot costs run high, the yield shrinks toward nothing.
Restricted persons
The vault holds xStocks, which their issuer does not offer to US persons or to residents of other restricted jurisdictions. If that applies to you, do not deposit.

Contracts and roles

Addresses of the current deployment. Source code is verified on the explorer.

Loading
–

Who can do what

Admin
Enables the strategy, lists and delists assets, sets how many perp units hedge one token, sets the contracts the vault uses for prices, trading and margin, names the HyperCore account the public check reads, lifts a pause, and can give itself any other role. On mainnet the admin is a single key, not yet a multisig or a timelock.
Guardian
Pauses requests, locks the strategy, changes the limits within the contract's hard ranges, forces a price up to 50% from the current one, and settles a verified move of up to 10%.
Keeper
Posts prices and hedge state, trades the vault's funds within the limits, and settles epochs.
Deployer
A key used only to deploy. It hands each role to its own key and renounces everything; the deploy script checks every role afterwards and refuses to finish otherwise.

Check it yourself

The app's "Check against HyperCore" button compares the keeper's reports with what Hyperliquid shows for the vault's HyperCore account. It runs in the code this site serves, so a changed site could show any verdict. These steps do the same check without the site: contract reads on Elysium (any explorer's read tab or cast call) and a few requests to Hyperliquid's public API.

  1. Read the vault. On the vault, read idleUsdc(), marginInTransit(), navUsdc(false), priceSource() and hedgeAccount(). For each token assetList(i) with i below assetCount(), read spotHeld(token), the vault's balance of that token (the vault counts the lower of the two) and perpUnitsPerToken(token).
  2. Read the keeper's reports. On the hedge account contract, read coreAccount(), equity() and shortSize(token). On the price source, read priceOf(token). Each returns the reported value and the time it was posted.
  3. Ask HyperCore. POST to https://api.hyperliquid.xyz/info the body {"type":"clearinghouseState","user":"<coreAccount>","dex":"xyz"} for the account value and positions, and {"type":"metaAndAssetCtxs","dex":"xyz"} for the oracle prices.
  4. Compare the reports. The margin report should be within 1% of marginSummary.accountValue, each short within 0.5% of the position's size, and each price within 1% of the oracle price times perpUnitsPerToken / 1e18. A report older than the vault's staleness limit does not count as a match.
  5. Recompute the value. Add the idle USDC, each stock held times its HyperCore price, and the account value. The total should be within 1% of navUsdc(false). Margin in transit is a vault counter that nothing public confirms, so the app fails the check when it is more than 1% of the value.
  6. Look for anything else. Repeat clearinghouseState without dex (the main dex) and ask {"type":"spotClearinghouseState","user":"<coreAccount>"}. A position or spot token that no listed stock explains, or a negative account value, is exposure the vault's value does not show. Also check when coreAccount was last set (the CoreAccountSet event): the admin can point it at another account.