[{"href":"/","page":"Build on DegenHive","group":"Get started","section":"Build on DegenHive","text":"Developer docs for DegenHive. Forecast for vaults, run a vault on Hyperliquid, sell data feeds, integrate the Robinhood Chain stock pools, and read the API. DegenHive is infrastructure for running a fund on chain. A vault on Hyperliquid holds the money. AI forecasters send predictions, a combiner turns them into target weights, and the vault's engine trades them on HyperCore. Data providers sell the feeds the models use. Each day the vault settles, takes its fees above a high water mark, and pays everyone who helped. On Robinhood Chain, the same team runs Stock Token pools with a market maker "},{"href":"/#choose-your-path","page":"Build on DegenHive","group":"Get started","section":"Choose your path","text":"Forecast for a vault /forecasters Bond 100 USDC, set a hot key, send predictions each round and get paid for accuracy and originality. Run a vault /vaults/create Deploy a vault and its trading engine in one call, set your fees and risk limits, and trade HyperCore perps. Sell a data feed /data/publish a feed List a feed, charge a daily USDC fee or a royalty on a vault's profit, and gate your API with one view call. Integrate the Stock Token pools /pools/swapping Swap Stock Tokens against USDG on Robinhood Chain, or supply liquidity through a daily settled book. Read the data /api A public read "},{"href":"/#how-it-fits-together","page":"Build on DegenHive","group":"Get started","section":"How it fits together","text":"Every protocol dollar on Hyperliquid lands in one contract, the revenue router /revenue . It pays operations, sends a share to the Fangvestors NFT pot, and holds two reserves for the token launch: one for DGV buybacks and one for DGV lockers. Read How DegenHive works /how it works for the full loop."},{"href":"/#ways-to-integrate","page":"Build on DegenHive","group":"Get started","section":"Ways to integrate","text":"Method Effort Good for REST API /api and WebSocket /api/websocket Minutes Dashboards, bots that read state, research Vault deposits & shares /vaults/depositors with viem or cast An afternoon Deposits, redemptions, wrappers around vault shares Forecaster quickstart /forecasters An afternoon Bonds, hot keys, eligibility checks, payouts Create and run a vault /vaults/create A few days Deploying a vault and running a trading keeper Stock Token swaps /pools/swapping and liquidity books /pools/liquidity A few days Swaps, quotes, aggregators and LP products on Robinhood Chain"},{"href":"/#for-ai-agents","page":"Build on DegenHive","group":"Get started","section":"For AI agents","text":"These docs are written to be read by agents as well as people. /skill.md /skill.md : one file with the ground rules, networks and the right page for each task. /llms.txt /llms.txt : every page with a one line description. /llms full.txt /llms full.txt : every page in one file. Any page as Markdown: add .md to its URL, for example /forecasters.md /forecasters.md ."},{"href":"/#related","page":"Build on DegenHive","group":"Get started","section":"Related","text":"How DegenHive works /how it works The roles, the daily loop and where the money goes. Glossary /glossary Every term these docs use, in one or two sentences."},{"href":"/how-it-works","page":"How DegenHive works","group":"Get started","section":"How DegenHive works","text":"Open fund infrastructure on Hyperliquid. Vaults trade HyperCore, AI forecasters and data feeds are paid from profit, and stock pools run on Robinhood Chain. DegenHive is open fund infrastructure on Hyperliquid. Anyone can run a trading desk as an on chain vault, staff it with AI forecasters and paid data feeds, and take deposits under limits the contract enforces. Agents forecast, contracts trade, and the market keeps score. !IMPORTANT The contracts are not deployed yet and not externally audited. Addresses publish at launch on Networks & status /network ."},{"href":"/how-it-works#the-four-roles","page":"How DegenHive works","group":"Get started","section":"The four roles","text":"Four kinds of participant meet around each vault. None of them can move another's money. Role Brings Main calls Gets Depositor USDC HyperVault.requestDeposit , deposit , requestRedeem , redeem Vault shares that rise and fall with the strategy Vault manager A strategy, run from its own servers HyperVaultFactory.deployStrategyVault , HyperPerpEngine.stepMarket / stepMarketTarget A management fee and a share of new profit Forecaster A model and a USDC bond HyperCrowdPay.stakeBond , setAgentKey Daily USDC from the profit of the vaults it steers Data provider A live feed DataProviderRegistry.regist"},{"href":"/how-it-works#the-loop","page":"How DegenHive works","group":"Get started","section":"The loop","text":"1. Forecasters predict. A forecaster bonds at least 100 USDC in HyperCrowdPay from a cold wallet and can bind a hot agentKey . Forecasts go to an off chain intake service that opens with Season 0. Forecasts never go on chain. 2. Rounds are posted. The forecasts are blended off chain into one weighted median. The poster or, on a manager's own job, the manager or its scorer posts a round to HyperSignalBook : an opaque forecastsRoot plus sparse int16 target weights per market. A round expires after its TTL at most 7 days . 3. The engine trades. A keeper calls stepMarket assetId on the vault's eng"},{"href":"/how-it-works#where-protocol-revenue-goes","page":"How DegenHive works","group":"Get started","section":"Where protocol revenue goes","text":"Lane Share Before the token At token launch Operations 3,167 bps 31.67% Paid out Paid out Buyback reserve 3,167 bps 31.67% Held in the router Drips to the order book buyback over 90 days Locker reserve 3,166 bps 31.66% Held in the router Drips to DGV lockers over 30 days NFT 500 bps 5% Fangvestors pot, while it is live Fangvestors pot, while it is live Revenue comes from vault fees, creation fees, the data marketplace take and the stock pools. Slashed forecaster bonds go to the buyback reserve and do not count as revenue."},{"href":"/how-it-works#stock-pools-on-robinhood-chain","page":"How DegenHive works","group":"Get started","section":"Stock pools on Robinhood Chain","text":"The second product is a set of Stock Token pools on Robinhood Chain 4663 , quoted against USDG. Each stock has one Uniswap v4 pool run by MakerHook , a PropAMM that prices around a posted fair tick. It charges more to trades that push the price away from fair value and less to trades that bring it back. MakerPilot sets fees and layout inside a guard policy. Liquidity providers deposit into a BookVault , one per pool, which rolls daily and charges a performance fee only on gains over simply holding. HiveFund allocates protocol capital across the books. There is no bridge contract. Book fees go "},{"href":"/how-it-works#nfts","page":"How DegenHive works","group":"Get started","section":"NFTs","text":"Each chain has one collection of 5,100: Stingvestors on Robinhood Chain and Fangvestors on HyperEVM. A share of fees accrues to each NFT in a VestorPot . Stingvestors earn from BookVault fees in USDG and Fangvestors from the router's NFT lane in USDC. Burning an NFT pays out what it has accrued."},{"href":"/how-it-works#the-token-comes-later","page":"How DegenHive works","group":"Get started","section":"The token comes later","text":"DegenHive launches with no token. DGV launches later on Hyperliquid as a HIP 1 spot token with a linked ERC 20 on HyperEVM. Until then the buyback and locker reserves fill in USDC and nobody can withdraw them. At token launch the reserves start to drip, locks and emissions open, and forecaster bonds move to DGV over a 7 to 60 day window. DGV is not equity and never a share of a vault."},{"href":"/how-it-works#pick-your-role","page":"How DegenHive works","group":"Get started","section":"Pick your role","text":"Deposit into a vault /vaults/depositors Request a deposit, wait for the daily roll, and redeem in USDC. Run a vault /vaults Choose a tier, set your DNA and fees, and trade HyperCore through the engine. Forecast /forecasters Bond 100 USDC, bind an agent key, and earn daily from the vaults you steer. Sell data /data List a feed, gate access with verifyAccess , and earn fees and royalties."},{"href":"/network","page":"Networks & status","group":"Get started","section":"Networks & status","text":"The two chains DegenHive runs on, their settlement assets and system addresses, and the deployment status of the main contracts. DegenHive runs on two EVM chains. HyperEVM chain 999 hosts the vaults, forecasting, the data marketplace, the revenue router and, at token launch, DGV. Robinhood Chain chain 4663 hosts the PropAMM for Stock Tokens and the Stingvestors collection. !IMPORTANT Nothing on this page is deployed yet, and nothing is externally audited. Every address publishes here at launch."},{"href":"/network#chains","page":"Networks & status","group":"Get started","section":"Chains","text":"HyperEVM Robinhood Chain Chain id 999 testnet 998 4663 testnet 46630 Public RPC https://rpc.hyperliquid.xyz/evm https://rpc.mainnet.chain.robinhood.com Explorer Purrsec https://purrsec.com Robinscan https://robin.etherscan.io , Blockscout https://robinhoodchain.blockscout.com Gas token HYPE 18 decimals ETH 18 decimals Settlement asset USDC 6 decimals USDG 6 decimals What runs there Vaults and engines, forecasting, data marketplace, revenue router, Fangvestors, DGV at token launch MakerHook pools, MakerQuoter, BookVaults, HiveFund, MakerPilot, Stingvestors Robinhood Chain has no DGV, no bridge "},{"href":"/network#hypercore-system-addresses","page":"Networks & status","group":"Get started","section":"HyperCore system addresses","text":"Vault engines talk to HyperCore directly from HyperEVM. Writes go through CoreWriter; reads go through the L1Read precompiles, called by HyperL1ReadAdapter . A failed read returns zeros. Interface Address Used for CoreWriter 0x3333333333333333333333333333333333333333 Engine actions 1 limit order , 11 cancel by cloid , 13 sendAsset . The buyback Comb also uses 6 spotSend . USDC system address 0x2000000000000000000000000000000000000000 Destination when the engine sends USDC from HyperCore back to HyperEVM Spot balance 0x0000000000000000000000000000000000000801 Spot USDC held on HyperCore Withdra"},{"href":"/network#deployment-status","page":"Networks & status","group":"Get started","section":"Deployment status","text":""},{"href":"/network#hyperevm-999","page":"Networks & status","group":"Get started","section":"HyperEVM (999)","text":"Contract Role Status HyperVaultFactory Deploys HyperVault and HyperPerpEngine pairs Publishes at launch HyperVault + HyperPerpEngine ERC 7540 async USDC vault and HyperCore trading engine Deployed per vault by the factory HyperVaultFeeRouter Splits vault management and performance fees across protocol, data providers, forecasters and managers Publishes at launch HyperRevenueRouter Splits protocol revenue into ops, buyback reserve, locker reserve and Fangvestors pot Publishes at launch HyperSignalBook Forecast jobs, listed markets and posted rounds Publishes at launch HyperCrowdPay Forecaster U"},{"href":"/network#robinhood-chain-4663","page":"Networks & status","group":"Get started","section":"Robinhood Chain (4663)","text":"Contract Role Status MakerHook Uniswap v4 PropAMM hook for Stock Token/USDG pools Publishes at launch MakerQuoter Read only eth call swap quoter for MakerHook pools Publishes at launch MakerPilot On chain fee and layout engine for Stock Token pools Publishes at launch BookVault Daily settled LP book, one per Stock Token pool Publishes at launch HiveFund Protocol liquidity allocator across books Publishes at launch Stingvestors , VestorPot , VestorCurveMinter Robinhood Chain NFT collection upgraded in place , burn to claim USDG pot and curve sale Publishes at launch The contract source stays pr"},{"href":"/network#retired-dgv-on-robinhood-chain","page":"Networks & status","group":"Get started","section":"Retired DGV on Robinhood Chain","text":"This DGV contract on Robinhood Chain is retired. Do not buy it: It is not upgraded and does not move to HyperEVM. At token launch, holders at the snapshot block claim the same amount of new DGV 1:1 through DGVClaim on HyperEVM. Each wallet can take its DGV liquid or lock it in the same step. See DGV launch /token . !WARNING Any other address offered as \"DGV\" before the token launch is not DegenHive's. Check this page before you approve a token."},{"href":"/network#read-addresses-programmatically","page":"Networks & status","group":"Get started","section":"Read addresses programmatically","text":"Once contracts deploy, the API serves every address from its deployment manifest. Contracts not yet deployed return \"address\": null and \"deployed\": false . Omit chain to get both chains. Vaults, engines and books are created at runtime and are not in the manifest: list them with GET /v1/protocol/contracts?chain=hyperliquid&role=HyperVault ."},{"href":"/network#related","page":"Networks & status","group":"Get started","section":"Related","text":"How DegenHive works /how it works The four roles and the daily loop, end to end. REST API /api Every read route, its parameters and its responses. Vault risk rails /vaults/risk Loss stops, drawdown latches and withdrawal safeguards. Stock Token pools /pools PropAMM pricing, liquidity books and fee rules."},{"href":"/glossary","page":"Glossary","group":"Get started","section":"Glossary","text":"Plain definitions of the terms used across the DegenHive docs, each linked to the page that explains it. Short definitions of the terms these docs use. Each entry links to the page with the full mechanism."},{"href":"/glossary#a","page":"Glossary","group":"Get started","section":"A","text":"Accuracy The first part of a forecast's score: how much closer the forecast landed to the outcome than the market's own baseline, divided by a scale and clipped. See Scoring /forecasters/scoring . agentKey A hot key a forecaster binds to its bonded cold wallet with setAgentKey and acceptAgentKey in HyperCrowdPay . It is only an identity alias: it holds no bond, moves no funds and cannot redirect payouts. See Bonds & pay /forecasters/bonds and pay . Allocator A special depositor that places protocol capital. On a HyperVault the protocol allocator skips the minimum deposit, the caps and the mana"},{"href":"/glossary#b","page":"Glossary","group":"Get started","section":"B","text":"BookTerms The fee and roll settings shared across BookVault books: fees, slippage, settle delay, fee recipient, NFT pot and keeper. Caps are 300 bps management, 5,000 bps performance, 100 bps withdrawal and 2,000 bps to the NFT pot. See Provide liquidity /pools/liquidity . BookVault The liquidity book of one stock pool on Robinhood Chain. Deposits and withdrawals are in kind and settle at a daily roll. See Provide liquidity /pools/liquidity . Bond The USDC a forecaster stakes in HyperCrowdPay to take part, at least 100 USDC. It takes 14 days to unstake and stays slashable while it waits. At to"},{"href":"/glossary#c","page":"Glossary","group":"Get started","section":"C","text":"CoreWriter The HyperEVM system contract at 0x3333333333333333333333333333333333333333 that sends actions to HyperCore. Vault engines use it to place orders, cancel them and move USDC. See Trading engine /vaults/trading . CreationMode The HyperVaultConfig switch that decides who can create a vault: OFF the default, council only , WHITELISTED or PERMISSIONLESS . Flagship vaults are council only in every mode. See Create a vault /vaults/create ."},{"href":"/glossary#d","page":"Glossary","group":"Get started","section":"D","text":"Daily loss stop A DNA limit between 50 and 1,000 bps. Once a vault loses that much in a UTC day, market steps revert until the next UTC day and anyone may flatten. See Risk rails /vaults/risk . Data key An address a vault manager sets with setVaultDataKey . A data provider's gateway accepts it, the keeper or the manager as the vault's signer in verifyAccess . See Gate access to a feed /data/access . DGV The DegenHive token. It launches later on Hyperliquid as a HIP 1 spot token linked to an ERC 20 on HyperEVM. DGV is not equity and never a share of a vault. See DGV launch /token . DNA A vault'"},{"href":"/glossary#e","page":"Glossary","group":"Get started","section":"E","text":"Epoch A vault's batch of deposit and redemption requests for one UTC day. Requests made during the day settle at the next roll. See Deposits & withdrawals /vaults/depositors ."},{"href":"/glossary#f","page":"Glossary","group":"Get started","section":"F","text":"Fair tick The fair price of a stock pool, posted to MakerHook with updateFairTick . It stays fresh for at most an hour. Without a fresh tick the fair value shield and router discounts switch off. See PropAMM overview /pools . Fangvestors The NFT collection on HyperEVM, capped at 5,100. Each NFT accrues USDC from the revenue router's NFT lane and pays it out when burned. See Stingvestors & Fangvestors /nfts . Flagship A vault run by DegenHive and created by the council. The Flagship runs 1% a year and 25% of new profit, and its forecasts come from job 1. See Vaults overview /vaults . Flatten fl"},{"href":"/glossary#g","page":"Glossary","group":"Get started","section":"G","text":"Gain over holding How a BookVault measures performance: its value against simply holding the deposited stock and USDG. The performance fee applies only above that line. See Provide liquidity /pools/liquidity . Guardian A cancel only safety role. It can pause entry on Robinhood Chain, revoke pending changes and pause revenue lanes, but it can never move funds or weaken limits. See Risk rails /vaults/risk ."},{"href":"/glossary#h","page":"Glossary","group":"Get started","section":"H","text":"HiveFund The protocol allocator on Robinhood Chain. Once a day allocate spreads protocol USDG across the books by council target weights. See Provide liquidity /pools/liquidity . HIP 1 Hyperliquid's native spot token standard on HyperCore. DGV launches as a HIP 1 token with a linked ERC 20 on HyperEVM. See DGV launch /token . HWM high water mark A vault's highest share price after fees. The performance fee is charged only on gains above it, and it is never reset. See Fees & high water mark /vaults/fees ."},{"href":"/glossary#j","page":"Glossary","group":"Get started","section":"J","text":"Job Mode 1 / Mode 2 A forecasting task in HyperSignalBook tied to a vault, with its horizon, cadence and entry filter. Mode 1 jobs are verified: the council creates them and the protocol poster and scorer run them. Mode 2 jobs belong to a vault manager, who posts rounds and pays forecasters in USDC. See Jobs & rounds /forecasters/jobs and rounds ."},{"href":"/glossary#k","page":"Glossary","group":"Get started","section":"K","text":"Keeper An address that runs routine calls: rolling vaults, stepping markets, moving USDC between HyperEVM and HyperCore. Rolls open to anyone after a grace period, and many upkeep calls are permissionless. See Trading engine /vaults/trading ."},{"href":"/glossary#l","page":"Glossary","group":"Get started","section":"L","text":"L1Read The HyperEVM precompiles at 0x0801 to 0x0813 that read HyperCore state: balances, prices, margin and positions. Engines call them through HyperL1ReadAdapter . See Networks & status /network . Lock power The weight of a DGV lock: 25% plus 75% scaled by the weeks left out of 52. A permanent lock counts 100%; an expired lock counts nothing. Locks open at token launch. See DGV launch /token . Locker reserve The 3,166 bps 31.66% revenue lane held in HyperRevenueRouter until token launch. It then drips over 30 days to the locker pot, which pays DGV lockers in USDC. See Revenue router /revenue"},{"href":"/glossary#m","page":"Glossary","group":"Get started","section":"M","text":"MakerHook The Uniswap v4 hook behind every stock/USDG pool on Robinhood Chain. It holds all the liquidity, sets a dynamic fee on each swap and offers its own swap function. See PropAMM overview /pools . MakerPilot The on chain engine for the stock pools. Anyone can call step poolId to update fees and liquidity layout inside the guard policy. See PropAMM overview /pools . MMC meta model contribution The second part of a forecast's score: how much the forecast adds beyond the weighted median of all forecasts. It counts four times as much as accuracy, so copying the consensus scores zero. See Sco"},{"href":"/glossary#o","page":"Glossary","group":"Get started","section":"O","text":"OrderBookComb The automated buyback mechanism that starts at token launch. It spends the 90 day buyback reserve drip on the HyperCore DGV/USDC book and burns every DGV it buys. See DGV launch /token . Outbox Safe The council Safe on Robinhood Chain that receives stock pool fees. It bridges them to HyperEVM by hand and calls HyperRevenueRouter.notifyRevenue as an allowlisted revenue source. See Revenue router /revenue ."},{"href":"/glossary#p","page":"Glossary","group":"Get started","section":"P","text":"Poster The address that posts Mode 1 rounds to HyperSignalBook . Mode 2 rounds come from the vault manager or its scorer. See Jobs & rounds /forecasters/jobs and rounds . Probation The 25% of every forecaster payout that vests over 14 days. Slashes take unvested probation pay first, before the bond. See Bonds & pay /forecasters/bonds and pay . PropAMM A pool that sets its own quotes around a fair price instead of waiting passively. It charges more to trades that push the price away from fair value and less to trades that bring it back. See PropAMM overview /pools ."},{"href":"/glossary#r","page":"Glossary","group":"Get started","section":"R","text":"Revenue lanes The four ways HyperRevenueRouter splits each protocol dollar: operations 3,167 bps, buyback reserve 3,167 bps, locker reserve 3,166 bps and NFT 500 bps. See Revenue router /revenue . Roll The once a day settlement of a vault or book. It prices shares, takes fees and settles queued deposits and redemptions. The keeper or manager can roll a vault from 00:00 UTC and anyone from 02:00. See Deposits & withdrawals /vaults/depositors . Round One posting of a job's output: a forecastsRoot , sparse target weights per market, a horizon and a TTL of at most 7 days. Engines trade only on fre"},{"href":"/glossary#s","page":"Glossary","group":"Get started","section":"S","text":"Scorer The address that commits a job's daily payout chunks to HyperCrowdPay and distributes them after the challenge window. The protocol scorer runs Mode 1 jobs; a Mode 2 job may set its own. See Scoring /forecasters/scoring . Season 0 Everything before the token. There are no points or farming: depositors' and forecasters' on chain records count toward the DGV claim at token launch. See DGV launch /token . Slashing Taking part of a forecaster's probation pay or bond for spam or for manipulating scores. Routine slashes are capped at 5% of the bond a day and council slashes at 25%. Slashed US"},{"href":"/glossary#t","page":"Glossary","group":"Get started","section":"T","text":"Target weight A signed int16 position size in basis points of vault equity that a round sets for one market. Positive is long, negative is short, and it reads as zero once the round expires. See Jobs & rounds /forecasters/jobs and rounds . Tier A vault's type, fixed in its DNA: FLAGSHIP , INSTITUTIONAL or COMMUNITY ARENA . Each tier has hard ceilings on exposure and drawdown. See Vaults overview /vaults ."},{"href":"/glossary#v","page":"Glossary","group":"Get started","section":"V","text":"VestorPot The pot behind each NFT collection. Fees arrive by plain transfer, each NFT accrues an equal share, and burning the NFT pays its share out. See Stingvestors & Fangvestors /nfts ."},{"href":"/glossary#w","page":"Glossary","group":"Get started","section":"W","text":"Weighted median How a round blends forecasts into one answer. Each forecaster's weight is the square root of its bond times its track record, and no one carries more than 20% of a round. See Scoring /forecasters/scoring . Wind down The irreversible close of a vault with initiateWindDown . New deposits stop, pending deposits are refunded at the next roll and the engine can only reduce positions. See Risk rails /vaults/risk ."},{"href":"/glossary#related","page":"Glossary","group":"Get started","section":"Related","text":"How DegenHive works /how it works The four roles and the daily loop on one page. REST API /api Public read only endpoints for vaults, rounds, payouts and pools. Networks & status /network Chains, system addresses and deployment status."},{"href":"/forecasters","page":"Forecaster quickstart","group":"Forecasters","section":"Forecaster quickstart","text":"Bond 100 USDC on HyperEVM, bind a hot key to your cold wallet, check a job's entry rules, and follow your record and pay through the API. A forecaster is any address with a USDC bond in HyperCrowdPay . It predicts markets for a forecast job, the protocol scores every prediction off chain, and each UTC day the best and most original forecasters share that job's pot. There is no registration call: the bond is your identity, and a hot key signs on its behalf. Forecasts themselves never go on chain. Each round, the poster pins one opaque commitment forecastsRoot and the combined target weights in "},{"href":"/forecasters#get-usdc-and-hype-on-hyperevm","page":"Forecaster quickstart","group":"Forecasters","section":"Get USDC and HYPE on HyperEVM","text":"Bonds are USDC, which has 6 decimals: 100 USDC is 100000000 . Move USDC to HyperEVM from your HyperCore spot balance in the Hyperliquid app, or bridge it from another chain with Circle's CCTP. Gas on HyperEVM is paid in HYPE. Both wallets need a little: the hot key sends one transaction in step 3."},{"href":"/forecasters#stake-a-bond","page":"Forecaster quickstart","group":"Forecasters","section":"Stake a bond","text":"Approve HyperCrowdPay for the amount, then call stakeBond from the cold wallet. The global minimum is config .minBondUsdc , 100 USDC by default. A job can ask for more through its entry filter step 4 . A bond below the minimum is accepted but does not count. Your bond age starts when the active bond first reaches the global minimum event BondAgeSet , and some jobs require a minimum bond age. Bonding more later never resets it. Reverts with ZeroAmount for a zero amount, TransferFailed if the allowance or balance is short, and BondAssetClosed once bonds have moved to DGV at token launch see Bond"},{"href":"/forecasters#bind-a-hot-key","page":"Forecaster quickstart","group":"Forecasters","section":"Bind a hot key","text":"Your agent signs with a hot key. The cold wallet proposes it with setAgentKey , and the hot key confirms with acceptAgentKey . The key is an identity alias and nothing more: it cannot unstake, withdraw, or redirect pay. Payouts always go to the bond owner. setAgentKey reverts with InvalidPolicy if you pass your own address. acceptAgentKey reverts with Unauthorized if this owner did not propose the key, InvalidPolicy if the key holds any bond, and AgentKeyTaken existingOwner if another owner already uses it. To rotate, repeat both calls with a different key; the old one unbinds. To revoke, call"},{"href":"/forecasters#pick-a-job-and-check-eligibility","page":"Forecaster quickstart","group":"Forecasters","section":"Pick a job and check eligibility","text":"A job is a stream of rounds that one vault or the Flagship trades. Job 1 is the Flagship job. Each job has an entry filter: a higher minimum bond, a maximum recent slash rate, a minimum count of paid days, a minimum bond age, or a private whitelist. Read the filter, then ask isForecasterEligible with your hot key: it resolves the key to your cold wallet and checks every rule. failReason Meaning Fix 0 Eligible 1 Counted bond below max config .minBondUsdc, filter.minBondUsdc Stake more, or cancel an unstake 2 Recent slash rate above maxRecentSlashBps Wait: the rate decays with a 30 day time cons"},{"href":"/forecasters#send-forecasts","page":"Forecaster quickstart","group":"Forecasters","section":"Send forecasts","text":"!NOTE The forecast intake service opens with Season 0. Its endpoint, message format and the forecasting MCP publish then, on this page and in Agents, MCP & llms.txt /agents . What is fixed already: your hot key signs each submission, and the intake checks isForecasterEligible jobId, hotKey before it accepts one. Forecasts stay off chain. When a round closes, the poster aggregates the forecasts and calls postJobRound with the round's forecastsRoot and the combined target weights. You can watch rounds land on chain today, and build and backtest your model with Writing a model /forecasters/writin"},{"href":"/forecasters#watch-your-record-and-pay","page":"Forecaster quickstart","group":"Forecasters","section":"Watch your record and pay","text":"Scoring runs off chain in the protocol scorer. Pay lands on chain once a day per job: after the day ends, the scorer commits the day's payout lists, a challenge window passes, and distributeChunk pushes USDC to your cold wallet. 75% arrives at once and 25% vests over 14 days as probation. Scoring /forecasters/scoring and Bonds & pay /forecasters/bonds and pay cover the details. The read only REST API indexes all of it. No key is needed; the limit is 300 requests per 60 seconds per IP. Query by your cold wallet, since payouts name the bond owner. The API returns empty lists until the contracts "},{"href":"/forecasters#where-to-go-next","page":"Forecaster quickstart","group":"Forecasters","section":"Where to go next","text":"Jobs & rounds /forecasters/jobs and rounds How jobs are made, what a round carries, and how engines trade it. Scoring /forecasters/scoring Accuracy plus four times originality, the weighted median, and the 20% weight cap. Bonds & pay /forecasters/bonds and pay Daily pots, the challenge window, probation and unstaking. Writing a model /forecasters/writing a model Turn data into a sparse weight vector that scores well."},{"href":"/forecasters/jobs-and-rounds","page":"Jobs & rounds","group":"Forecasters","section":"Jobs & rounds","text":"How forecast jobs are created and gated, which markets they may trade, what a round carries on-chain, and how a vault's engine reads it. A forecast job is a stream of rounds that one vault trades. A round is an on chain attestation in HyperSignalBook : a sealed commitment to the round's forecasts forecastsRoot plus sparse target weights, in basis points, for the markets the job covers. Individual forecasts and forecaster identities never go on chain."},{"href":"/forecasters/jobs-and-rounds#two-kinds-of-job","page":"Jobs & rounds","group":"Forecasters","section":"Two kinds of job","text":"Verified job Mode 1 Manager job Mode 2 Created by The council The vault's live manager, or the council Rounds posted by The protocol poster or the council The manager, its custom scorer, or the council Scored and paid by The protocol scorer The manager or its custom scorer Pots USDC; DGV too at token launch USDC only Slashing Protocol scorer and council Manager can only propose; the protocol executes Paid days counted Yes paidDaysCount No Job 1 is the Flagship job. It exists from deployment, has no vault, and runs a 24 hour horizon on a 4 hour cadence. Every other job is bound to one vault. A "},{"href":"/forecasters/jobs-and-rounds#create-a-job","page":"Jobs & rounds","group":"Forecasters","section":"Create a job","text":"Parameter Rule vault Non zero; a factory vault or one the council allowed verified true only from the council; verified jobs ignore customScorer horizonSecs 1 hour to 7 days; fixed for the job's life cadenceSecs At most 7 days; fixed for the job's life specUri Non empty. The job's own description of what to predict and how it scores filter.maxRecentSlashBps At most 10,000 Job ids start at 2 and count up nextJobId returns the last one created . Reverts: ZeroAddress , Unauthorized caller is not the council or the vault's manager, or a non council caller sets verified , VaultNotAuthorized vault ,"},{"href":"/forecasters/jobs-and-rounds#markets","page":"Jobs & rounds","group":"Forecasters","section":"Markets","text":"The council lists the markets that rounds may target, up to 256. Each market has a sleeve 0 core perp, 1 HIP 3 perp on trade.xyz , a curated weight cap, its size decimals, and a pause flag. A round can only target listed, unpaused markets. Asset ids follow HyperCore: a core perp uses its index in the perp universe, and a HIP 3 perp uses 100000 + dex × 10000 + index ."},{"href":"/forecasters/jobs-and-rounds#what-a-round-carries","page":"Jobs & rounds","group":"Forecasters","section":"What a round carries","text":"Field Meaning Bound horizonSecs How far ahead this round predicts 1 hour to 7 days ttlSecs How long the targets stay fresh; expiresAt = postedAt + ttlSecs Above 0, at most 7 days regimeStormBps A market stress reading attached to the round At most 10,000 forecasterCount How many forecasts went into the round Attested, not checked forecastsRoot Commitment to every forecast in the round Non zero assetIds , targetWeightsBps Sparse target weights, signed, in bps of the vault Listed, unpaused, no duplicates, no zero weight Verified jobs are posted by the protocol poster or the council; manager jobs"},{"href":"/forecasters/jobs-and-rounds#how-engines-read-a-round","page":"Jobs & rounds","group":"Forecasters","section":"How engines read a round","text":"A vault's engine steps each market toward the latest round of its job, while that round is fresh: 1. Read jobLatestRound job . If block.timestamp expiresAt , the target is 0 and the engine steps the market to flat. 2. Otherwise read jobRoundTargetBps job, roundId, assetId . Markets the round omits have target 0. 3. Clamp the target to the vault tier's cap for that market; Flagship vaults also apply the market's maxWeightBps . jobTargetWeightOf jobId, assetId returns the same live answer in one call, as weightBps, regimeStormBps, fresh . Use it to see what a vault is trading toward. The engine "},{"href":"/forecasters/jobs-and-rounds#the-utc-grid","page":"Jobs & rounds","group":"Forecasters","section":"The UTC grid","text":"Pay runs on UTC days: HyperCrowdPay.today is block.timestamp / 86400 , and each job has one pot per day. The protocol poster runs verified jobs on a UTC grid: with cadence c , slot k opens at k × c seconds after the Unix epoch, so the Flagship's 4 hour cadence posts at 00:00, 04:00, 08:00 and so on, UTC. The grid is a poster convention. On chain, roundId is a per job counter, not the slot number. Use the decoder to find the current slot and its start time for a cadence, and to convert a percentage weight into bps. Forecasts for a slot must be in before it opens. A forecast posted publicly befo"},{"href":"/forecasters/jobs-and-rounds#related","page":"Jobs & rounds","group":"Forecasters","section":"Related","text":"Forecaster quickstart /forecasters Bond, bind a hot key and check eligibility. Scoring /forecasters/scoring How the round's forecasts are graded and combined. Bonds & pay /forecasters/bonds and pay How USDC bonds, daily pots and probation payouts work. Writing a model /forecasters/writing a model Produce sparse int16 weights for these rounds."},{"href":"/forecasters/scoring","page":"Scoring","group":"Forecasters","section":"Scoring","text":"How forecasts are graded on accuracy plus four times originality, combined into a weighted median, and turned into each day's pay. Scoring grades every forecast against what actually happened, once its horizon has passed. A forecast earns for beating the market's own baseline, and four times as much for adding something the consensus of all forecasts missed. This is the idea Numerai calls meta model contribution MMC . Scoring runs off chain, in the protocol scorer. Nothing about a single forecast or score is written to the chain. What lands on chain is the result: once a day per job, the score"},{"href":"/forecasters/scoring#definitions","page":"Scoring","group":"Forecasters","section":"Definitions","text":"Term Symbol Meaning Outcome y What happened over the round's horizon, for example the 4 hour return of a market Forecast f Your prediction of y for one market and horizon Baseline b The market's own estimate of y before the round Consensus m The weighted median of every forecast in the round: the meta model Scale s The 14 day baseline error for that market and horizon Accuracy A How much closer you were than the baseline, in units of s Contribution MMC C How much closer you were than the consensus, in units of s Round score clip A + 4 × clip C Record r Your track record, from 0 to 2, built fro"},{"href":"/forecasters/scoring#one-forecast-one-score","page":"Scoring","group":"Forecasters","section":"One forecast, one score","text":"Each term is clipped to the range −1 to 1, so one lucky outlier cannot dominate a record. Volatility and jump forecasts are scored on log errors. A worked example on a 4 hour return, with baseline b = 0% and scale s = 1.5% . The market moved y = +2.4% against a consensus of m = +0.8% : Your forecast clip A clip C Round score f = +2.1% beat the consensus +1.00 +0.87 +4.47 f = +0.8% copied the consensus +0.53 0.00 +0.53 f = −1.5% wrong contrarian −1.00 −1.00 −5.00 Copying the consensus earns no contribution, even when the consensus is right. Being different only pays when you are also closer to "},{"href":"/forecasters/scoring#the-consensus-a-weighted-median","page":"Scoring","group":"Forecasters","section":"The consensus: a weighted median","text":"Each round's forecasts are combined into one weighted median per market. That median is the meta model m for scoring, and the source of the target weights the poster pins on chain with postJobRound . A bigger bond helps only by its square root, so capital alone cannot buy the consensus. The record counts more: a record of 2 doubles the weight of the same bond, and a record near 0 leaves almost no weight, whatever the bond. Correlated wallets are clustered before the square root is taken, so splitting one bond across many addresses gains nothing. A model carries weight only after at least 20 sc"},{"href":"/forecasters/scoring#from-scores-to-pay","page":"Scoring","group":"Forecasters","section":"From scores to pay","text":"Each UTC day, a job's pot is split by the 7 day score and, more gently, the bond: A negative 7 day average earns nothing that day. It does not cost you anything either, unless the scorer finds spam or manipulation, which is slashing /forecasters/slashing . The scorer then builds the day's payout list, splits it into at most 200 chunks, and commits their hashes on chain."},{"href":"/forecasters/scoring#checking-a-round","page":"Scoring","group":"Forecasters","section":"Checking a round","text":"The poster's forecastsRoot is a commitment to every forecast in the round, pinned before the round's targets are traded. After a round ends, the protocol publishes the round ledger: each forecast and its score. Anyone can then check that the ledger matches the root and recompute the same weighted median. The ledger format and its hashing scheme publish with Season 0."},{"href":"/forecasters/scoring#edge-cases","page":"Scoring","group":"Forecasters","section":"Edge cases","text":"A forecast leaks before its round starts. Others can copy it, the consensus moves toward it, and your contribution shrinks. Discuss a round only after it starts. A round expires. Engines step to flat on an expired round; scoring is unaffected, since it grades forecasts, not trades. Your bond drops below a job's minimum. You stop being eligible for that job's rounds until it is back above. Unstaking amounts stop counting at once. You hold the same view as the consensus for a week. Your accuracy may be positive, but your contribution is near zero, and so is your share."},{"href":"/forecasters/scoring#related","page":"Scoring","group":"Forecasters","section":"Related","text":"Bonds & pay /forecasters/bonds and pay How committed chunks become USDC in your wallet. Slashing /forecasters/slashing What the scorer can take, and the daily caps. Writing a model /forecasters/writing a model Build forecasts that add to the consensus. Jobs & rounds /forecasters/jobs and rounds What a round carries and how engines trade it."},{"href":"/forecasters/bonds-and-pay","page":"Bonds & pay","group":"Forecasters","section":"Bonds & pay","text":"The USDC bond, unstaking, daily pots per job, how a day's pay is committed, challenged and distributed, and what changes at token launch. The bond is USDC you lock in HyperCrowdPay to forecast. It is your stake against spam and manipulation. Pay comes from one pot per job per UTC day, funded mostly by vault performance fees, and reaches your wallet after the day is scored, committed and challenged."},{"href":"/forecasters/bonds-and-pay#the-bond","page":"Bonds & pay","group":"Forecasters","section":"The bond","text":"Rule Value Asset USDC 6 decimals , until token launch Global minimum config .minBondUsdc , 100 USDC by default; the council can change it Job minimum max global, jobFilter jobId .minBondUsdc Bond age Starts when your active bond first reaches the global minimum; clears if it falls below Unstake wait 14 days UNSTAKE DELAY Stake with stakeBond amount from the cold wallet; see the quickstart /forecasters for code. Only the active amount counts toward eligibility and pay weight."},{"href":"/forecasters/bonds-and-pay#unstaking","page":"Bonds & pay","group":"Forecasters","section":"Unstaking","text":"requestUnstake moves the amount from active to unstaking. It stops counting at once and stays slashable until you withdraw. Each request sets readyAt = now + 14 days for the whole unstaking balance of that asset, so a second request restarts the wait for everything already unstaking. cancelUnstake moves an amount back to active. After readyAt , withdrawUnstaked sends the full unstaking balance to you. Reverts: InsufficientBond more than you have , UnstakeNotReady readyAt , ZeroAmount , and BondAssetClosed when cancelling a USDC unstake after bonds move to DGV."},{"href":"/forecasters/bonds-and-pay#pots","page":"Bonds & pay","group":"Forecasters","section":"Pots","text":"Each jobId, day has a pot, where day is the UTC day index block.timestamp / 86400 today . Read it with pot jobId, day . Vault fees. At each fee roll, HyperVaultFeeRouter sends the vault's forecast share of the net performance fee up to 5,000 bps, set in the vault's fee config to fundUsdc forecastJobId, today, amount . If that call fails, the router holds the amount for retryForecast jobId . Bounties. Anyone can add USDC to a job's pot with fundUsdc . The job must exist, the day must not be committed, and it can be at most 3 days old. Reverts: JobNotFound , ZeroAmount , DayTooOld , AlreadyCommi"},{"href":"/forecasters/bonds-and-pay#how-a-day-is-paid","page":"Bonds & pay","group":"Forecasters","section":"How a day is paid","text":"1. Commit. After day D ends, and within 3 days, the scorer calls commitDayChunks jobId, D, chunkHashes, totalUsdc, totalDgv, ledgerHash . Each of up to 200 chunk hashes is keccak256 abi.encode users, usdcAmts, dgvAmts, slashAmts . Whatever the totals leave in the pot rolls to today's pot. 2. Challenge. The day opens for payout at unlockAt , challengeSecs after the commit 1 day by default . Until the first chunk is distributed, the council can veto jobId, day, reasonHash ; after a veto only the protocol can commit that day again. 3. Distribute. After the window, the scorer calls distributeChunk"},{"href":"/forecasters/bonds-and-pay#the-payout-split","page":"Bonds & pay","group":"Forecasters","section":"The payout split","text":"Payouts go to the bond owner, never to the hot key. Unvested probation is the first thing a slash takes, which is why bad days cost earnings before they cost the bond. If a push to your wallet fails, the amount waits as claimable: call claimFallback asset, to to send it anywhere except zero or the contract."},{"href":"/forecasters/bonds-and-pay#constants","page":"Bonds & pay","group":"Forecasters","section":"Constants","text":"Name Default Bounds Set by Challenge window 1 day 1 hour to 2 days Council, setChallengeSecs Commit and funding lag MAX LAG DAYS 3 days Fixed Unpaid reclaim wait 7 days after unlockAt Fixed Chunks per day 200 Fixed Probation share 2,500 bps 25% At most 8,000 Council, setProbation Probation length 14 days 7 to 30 days Council, setProbation Unstake wait 14 days Fixed Minimum bond 100 USDC Above 0 Council, setMinBondUsdc Council setters on this contract take effect at once."},{"href":"/forecasters/bonds-and-pay#at-token-launch","page":"Bonds & pay","group":"Forecasters","section":"At token launch","text":"!IMPORTANT Everything in this section happens at token launch, not before. Until then bonds and pay are USDC only. DGV pots. DGVEmissions funds verified jobs in DGV with fundDgv jobId, day, amount ; each vault's emissions split between its depositors and its forecast job by that vault's policy. Manager jobs stay USDC only. DGV payouts use the same 75/25 probation split. DGV bonds. The council calls startDgvBonds window once, with a window of 7 to 60 days. From then stakeBond reverts with BondAssetClosed and bonds go in through stakeDgvBond amount . Sizing. The DGV requirement is max ceil requi"},{"href":"/forecasters/bonds-and-pay#related","page":"Bonds & pay","group":"Forecasters","section":"Related","text":"Slashing /forecasters/slashing The waterfall and the daily caps. Scoring /forecasters/scoring How the day's payout list is computed. Forecaster quickstart /forecasters Bond, bind a hot key and check eligibility. Token /token DGV and what changes at token launch."},{"href":"/forecasters/slashing","page":"Slashing","group":"Forecasters","section":"Slashing","text":"Who can slash a forecaster, the order in which a slash takes unvested pay and bond, the daily caps, and where slashed money goes. Slashing takes part of a forecaster's unvested pay, and then part of the bond, when the protocol scorer finds spam or manipulation. It is bounded per day, it always takes unvested pay first, and nobody profits from it: slashed USDC goes to the buyback reserve and slashed DGV is burned. Like scoring, the judgment is made off chain. The contract, HyperCrowdPay , enforces who may slash, in what order, and how much per day."},{"href":"/forecasters/slashing#three-ways-a-slash-happens","page":"Slashing","group":"Forecasters","section":"Three ways a slash happens","text":"Path Called by Jobs Moves funds Inline, in distributeChunk slashAmts Protocol scorer or council Verified jobs only Yes, routine proposeSlash Manager or custom scorer of a manager job; the protocol for verified jobs Any No executeSlash Protocol scorer routine or council routine or adversarial Any Yes"},{"href":"/forecasters/slashing#proposeslash","page":"Slashing","group":"Forecasters","section":"proposeSlash","text":"A manager job cannot slash on its own. Its manager files a proposal with the evidence hash; it stores {jobId, day, open} and emits SlashProposed . Reverts: InvalidPolicy empty lists, length mismatch, zero evidence , ZeroAddress , Unauthorized , JobInactive ."},{"href":"/forecasters/slashing#executeslash","page":"Slashing","group":"Forecasters","section":"executeSlash","text":"Only the protocol scorer or the council can execute, and only the council can set adversarial . With a proposal id, the proposal must be open ProposalNotOpen and day must match it InvalidPolicy ; the call closes it and emits SlashProposalResolved . The users and amounts are the executor's own, not the proposal's. To close a proposal without slashing, execute it with zero amounts. The council can also veto a whole day /forecasters/bonds and pay how a day is paid , inline slashes included, until its first chunk is distributed."},{"href":"/forecasters/slashing#the-waterfall","page":"Slashing","group":"Forecasters","section":"The waterfall","text":"Each slash is an amount in USD. It takes from these buckets in order, and stops when the amount or the day's cap is reached: 1. Your unvested USDC probation. 2. Your unvested DGV probation, valued at the DGV price at token launch . 3. Your DGV bond: active first, then unstaking at token launch . 4. Your USDC bond: active first, then unstaking. Probation held back by its cap does not spill into the bond, and any amount left over after the caps is dropped. Unstaking balances are fair game: requesting an unstake does not shield a bond for its 14 day wait."},{"href":"/forecasters/slashing#daily-caps","page":"Slashing","group":"Forecasters","section":"Daily caps","text":"Cap Limit Applies to Routine bond slash 500 bps 5% of your bond value per UTC day All routine slashes, across every job Adversarial bond slash 2,500 bps 25% of your bond value per UTC day Council adversarial slashes, a separate counter Scorer probation slash 2,500 bps 25% of your probation per asset per UTC day Protocol scorer, routine Council probation slash No cap Council Bond value is your active and unstaking USDC plus the value of any DGV bond. The caps count by the UTC day the slash executes. Routine slashes can never take more than 5% of the bond itself in one day, however many jobs rep"},{"href":"/forecasters/slashing#your-slash-rate","page":"Slashing","group":"Forecasters","section":"Your slash rate","text":"Every bond slash raises your recent slash rate by the share of the bond taken. The rate decays with a 30 day time constant, and jobs can refuse forecasters above a threshold with maxRecentSlashBps eligibility code 2 . If you raised your bond in the last 14 days, the rate is measured against the smaller pre raise bond, so topping up just before a slash does not dilute it. profile user .recentSlashBps returns the live decayed value."},{"href":"/forecasters/slashing#where-slashed-funds-go","page":"Slashing","group":"Forecasters","section":"Where slashed funds go","text":"flushSlashed runs after every slash and anyone can call it again. If the revenue router is unset or the call fails, the USDC waits in pendingSlashUsdc until a later flush. The buyback reserve is held until token launch; see Revenue /revenue ."},{"href":"/forecasters/slashing#how-to-avoid-it","page":"Slashing","group":"Forecasters","section":"How to avoid it","text":"Send one honest forecast per market per round. Slashing exists for spam and manipulation: junk values, duplicate submissions, many wallets feeding one view. Correlated wallets are also clustered before weighting, so splitting gains nothing. Guard the hot key. It cannot move funds, but forecasts it signs count as yours. If it leaks, call setAgentKey address 0 from the cold wallet at once. Keep a buffer above the job's minimum bond, so a small slash does not end your eligibility. Follow slashes on the API with GET /v1/forecasting/slashes?account=<address and GET /v1/forecasting/slash proposals?j"},{"href":"/forecasters/slashing#related","page":"Slashing","group":"Forecasters","section":"Related","text":"Bonds & pay /forecasters/bonds and pay Probation, unstaking and the daily payout cycle. Scoring /forecasters/scoring How forecasts are graded. Forecaster quickstart /forecasters Bond, bind a hot key and protect your wallet. Revenue router /revenue Where slashed USDC lands in the buyback reserve."},{"href":"/forecasters/writing-a-model","page":"Writing a model","group":"Forecasters","section":"Writing a model","text":"Practical advice for forecasting DegenHive rounds, from the target format and horizons to originality, overfitting and data, with a Python skeleton. A model turns data into one forecast per market for each round of a job. What a vault finally trades is a sparse vector of signed target weights, so this page has you produce exactly that: a map from HyperCore asset id to an int16 weight in basis points. !NOTE The forecast intake service opens with Season 0, and its submission format publishes then. A job's specUri says what it asks for; some jobs may ask for returns, volatility or crash risk rath"},{"href":"/forecasters/writing-a-model#what-a-round-asks-for","page":"Writing a model","group":"Forecasters","section":"What a round asks for","text":"Property What it means for your model Markets Only markets listed and unpaused in HyperSignalBook count. Read marketCount , marketIds i and markets assetId Asset ids Core perps use their index in the HyperCore perp universe; HIP 3 perps use 100000 + dex × 10000 + index Weights Signed bps of the vault: +500 is 5% long, 300 is 3% short. Leave a market out for 0 Caps Engines clamp each weight to the vault tier's cap; Flagship vaults also apply maxWeightBps . Weights past the cap buy nothing Horizon 1 hour to 7 days per job. The Flagship job predicts 24 hours ahead every 4 hours Freshness A round'"},{"href":"/forecasters/writing-a-model#be-different-and-right","page":"Writing a model","group":"Forecasters","section":"Be different, and right","text":"Scoring pays accuracy against the market's baseline, plus four times your contribution beyond the weighted median of all forecasts. Copying the consensus scores zero contribution even when the consensus is right. See Scoring /forecasters/scoring . Measure your overlap. Every posted round's combined weights are public: GET /v1/forecasting/jobs/{job id}/rounds returns asset ids and target weights bps . Correlate your history against them. A model that tracks the consensus closely has little to add. Use data other forecasters underuse. Price momentum on BTC and ETH is a crowded signal. Funding, o"},{"href":"/forecasters/writing-a-model#do-not-overfit","page":"Writing a model","group":"Forecasters","section":"Do not overfit","text":"A day has only a handful of rounds, and a model carries weight only after at least 20 scored rounds with a t statistic of at least 2. Noise looks like skill for a long time at this sample size. Validate walk forward, never on shuffled data. Leave a gap of at least one horizon between training and test windows, so overlapping returns do not leak. Prefer few parameters and signals with a reason to exist. Count every variant you tried; the best of fifty backtests is mostly luck. Score your backtest the way the protocol does: clip A + 4 × clip C against a baseline and a consensus proxy, not raw Pn"},{"href":"/forecasters/writing-a-model#data","page":"Writing a model","group":"Forecasters","section":"Data","text":"Public HyperCore data. The Hyperliquid info API https://api.hyperliquid.xyz/info serves the perp universe, candles, funding, open interest and order books with no key. The skeleton below uses it. The data marketplace. Providers list feeds in DataProviderRegistry ; browse them with GET /v1/data/providers . Feeds are sold to vaults on chain; ask a provider about access for your own research. See Data /data . Your own record. GET /v1/forecasting/forecasters/{account} and GET /v1/forecasting/payouts show how your past rounds paid."},{"href":"/forecasters/writing-a-model#a-python-skeleton","page":"Writing a model","group":"Forecasters","section":"A Python skeleton","text":"The script reads public HyperCore data, builds a simple risk scaled momentum and funding signal, and prints one round's sparse weight vector. Replace the signal with your model. Run it with python3 forecast.py . Before you rely on it, check that each coin is listed for your job, and backtest the same function over past rounds with the walk forward rules above."},{"href":"/forecasters/writing-a-model#related","page":"Writing a model","group":"Forecasters","section":"Related","text":"Jobs & rounds /forecasters/jobs and rounds Markets, horizons and how engines read a round. Scoring /forecasters/scoring The exact formula your backtest should use. Forecaster quickstart /forecasters Bond, bind a hot key and check eligibility. Data /data The feeds vaults buy, and how providers list them."},{"href":"/vaults","page":"Vaults overview","group":"Vault managers","section":"Vaults overview","text":"What a HyperVault and HyperPerpEngine pair is, the three vault tiers, who can create one, and the daily UTC epoch. A vault is a pair of contracts on HyperEVM chain 999 : a HyperVault that holds depositors' USDC and issues shares, and a HyperPerpEngine that trades the vault's HyperCore account. One factory call deploys both, and each pair is its own upgradeable proxy set. !IMPORTANT The vault contracts are not deployed yet and not externally audited. Addresses publish at launch on Network /network . Code on this page uses placeholders such as VAULT and ENGINE ."},{"href":"/vaults#how-a-vault-works","page":"Vaults overview","group":"Vault managers","section":"How a vault works","text":"The vault is an ERC 7540 asynchronous vault with an ERC 7575 share token 6 decimals, the vault address itself . Depositors queue USDC during a UTC day. Once per day, roll prices the shares, takes fees, mints queued deposits and pays queued redemptions. The depositor guide /vaults/depositors walks through each call. Capital moves in one direction at a time: 1. Settled USDC sits in the vault as idleUsdc . 2. The keeper or manager calls deployToEngine amount . The engine holds it on HyperEVM as evmIdleUsdc . 3. The engine bridges USDC to its own HyperCore account and trades perps through CoreWrit"},{"href":"/vaults#flagship-and-third-party-vaults","page":"Vaults overview","group":"Vault managers","section":"Flagship and third-party vaults","text":"Flagship Third party Who deploys Council only, in every creation mode Council, whitelisted creators or anyone, by CreationMode Creation fee None creationFeeUsdc 10 USDC by default Fee terms set by Council only Strategy manager or council Management fee 100% to the protocol Protocol take, rest to the manager Performance fee Royalties, forecasters, then the protocol Protocol take, royalties, forecasters, then the manager Drawdown latch Optional 0 turns it off Required, 200 bps up to the tier maximum The Flagship runs a 1% management fee and a 25% performance fee. Every vault chooses its own fees"},{"href":"/vaults#tiers","page":"Vaults overview","group":"Vault managers","section":"Tiers","text":"Every vault declares a VaultTier in its DNA. The tier sets the ceilings the DNA must fit under and scales how much of equity one asset may take. These are the defaults in HyperVaultConfig : VaultTier maxGrossBps maxNetExposureBps maxDailyLossBps maxDrawdownBps assetWeightMultiplierBps Per asset cap, market tier 1 / 2 / 3 FLAGSHIP 0 50,000 5x 5,000 0.5x 1,000 10% 5,000 50% , or 0 10,000 1x 25% / 10% / 3% INSTITUTIONAL 1 50,000 5x 5,000 0.5x 1,000 10% 2,500 25% 10,000 1x 25% / 10% / 3% COMMUNITY ARENA 2 50,000 5x 30,000 3x 1,000 10% 5,000 50% 40,000 4x 100% / 40% / 12% Global floors apply on top"},{"href":"/vaults#vault-dna","page":"Vaults overview","group":"Vault managers","section":"Vault DNA","text":"DNA is the vault's permanent risk identity. The factory validates it, copies it into the engine and no setter exists. Only an engine implementation upgrade 72 hour delay could change it. Execution knobs EngineRiskParams are separate and can change: tighten at once, loosen after 7 days. See Risk /vaults/risk ."},{"href":"/vaults#who-can-create-a-vault","page":"Vaults overview","group":"Vault managers","section":"Who can create a vault","text":"HyperVaultConfig.creationMode gates HyperVaultFactory.deployStrategyVault : CreationMode Who may deploy a third party vault OFF 0, default Nobody. Only the council, and only flagships. WHITELISTED 1 The council and addresses on creatorWhitelist PERMISSIONLESS 2 Any address Check before you build: canCreateVault creator, false returns the answer for your address. Flagships are council only in every mode."},{"href":"/vaults#public-and-private-vaults","page":"Vaults overview","group":"Vault managers","section":"Public and private vaults","text":"A vault is public unless it sets whitelistEnabled . On a private vault, only whitelisted addresses can request deposits, as owner and as controller. The compliance admin, the manager or the council maintains the list with setWhitelistedLp lp, allowed . With whitelistTransfers also on, shares can only move to whitelisted addresses. Redemptions are never whitelist gated, so a removed depositor can always leave. The factory whitelists the manager automatically, and the compliance admin defaults to the manager."},{"href":"/vaults#the-daily-epoch","page":"Vaults overview","group":"Vault managers","section":"The daily epoch","text":"The vault keeps one clock: the UTC day, block.timestamp / 86400 . Each day has one roll. Requests made before 00:00 UTC settle at the next roll. From 00:00 UTC, the keeper, manager or council may call roll . From 02:00 UTC, anyone may call it. If nobody rolls for several days, one roll covers them: the management fee accrues for every elapsed day. Shares minted at a roll earn from that roll on, even before the depositor claims them."},{"href":"/vaults#roles","page":"Vaults overview","group":"Vault managers","section":"Roles","text":"Role Set by Powers Council admin HyperVaultConfig two step admin Every setter; the only fee terms holder on flagships; clearDrawdownStop , setEmergencyFlatten Strategy manager Creator at deploy; council after Fee terms, keeper, cap, whitelist, wind down third party ; risk params; trading Keeper Manager or council, setKeeper Trading, bridging, deployToEngine , early roll window Compliance admin Manager or council Whitelist settings Protocol allocator Council A depositor with no minimum, no cap and no management fee Operator Each depositor, setOperator Requests and claims for that depositor"},{"href":"/vaults#related","page":"Vaults overview","group":"Vault managers","section":"Related","text":"Create a vault /vaults/create Deploy a vault and engine pair through the factory. Trading /vaults/trading How steps, bridging and CoreWriter orders work. Risk /vaults/risk Stops, latches, flatten paths and wind down. Deposits & withdrawals /vaults/depositors ERC 7540 requests, daily rolls and claims."},{"href":"/vaults/create","page":"Create a vault","group":"Vault managers","section":"Create a vault","text":"Deploy a HyperVault and HyperPerpEngine pair through HyperVaultFactory, then fund it, set a keeper and run the first roll. This guide deploys a third party vault on HyperEVM chain 999 with one call to HyperVaultFactory.deployStrategyVault , then takes it to its first trade. You need: a wallet that passes canCreateVault see step 1 , with HYPE for gas and at least 20 USDC on HyperEVM 10 USDC creation fee, 10 USDC first deposit ; a keeper address for your trading bot it can hold only gas ; viem 2.x or Foundry's cast . !IMPORTANT Nothing is deployed yet. FACTORY , CONFIG , USDC , VAULT and ENGINE "},{"href":"/vaults/create#check-that-you-can-create-a-vault","page":"Create a vault","group":"Vault managers","section":"Check that you can create a vault","text":"HyperVaultConfig.creationMode starts at OFF , where only the council deploys, and only flagships. In WHITELISTED mode your address must be on the council's creator whitelist. In PERMISSIONLESS mode anyone can deploy. Ask the config directly: If canCreateVault returns false, the deploy reverts with CreationNotAllowed creator, isFlagship ."},{"href":"/vaults/create#choose-the-dna","page":"Create a vault","group":"Vault managers","section":"Choose the DNA","text":"DNA is permanent. The factory checks it against the global bounds and your tier's TierBounds see the table on Vaults /vaults tiers , then copies it into the engine with no setter. Field Type Rule isFlagship bool false for every third party vault. Must equal vaultTier == FLAGSHIP . marketTier uint8 1 majors , 2 top 50 + HIP 3 or 3 long tail . You may trade every tier up to this one. maxGrossBps uint24 5,000–50,000 and at most the tier's maxGrossBps maxNetExposureBps uint16 At most maxGrossBps , the tier cap 5,000 or 30,000 and the global cap 30,000 maxDailyLossBps uint16 50–1,000, at most the t"},{"href":"/vaults/create#choose-fees-and-the-forecast-job","page":"Create a vault","group":"Vault managers","section":"Choose fees and the forecast job","text":"Field Type Rule mgmtFeeBps uint16 0–200 per year, on external shares perfFeeBps uint16 1,000–2,500, above the per share high water mark forecastShareBps uint16 0–5,000, share of the net performance fee paid to the job's forecasters forecastJobId uint64 Required when the share is above 0. Job 1 the flagship job or a job bound to this vault. managerFeeRecipient address Required. Receives your share of both fees. stepMarket trades the signal of forecastJobId , or job 1 when it is 0. A vault that pays a forecaster share usually follows that job's rounds. See Jobs and rounds /forecasters/jobs and r"},{"href":"/vaults/create#choose-the-starting-risk-params","page":"Create a vault","group":"Vault managers","section":"Choose the starting risk params","text":"EngineRiskParams are the engine's execution knobs. You can tighten them at once later and loosen them after 7 days. Field Type Default bound Meaning minMarginRatioBps uint16 1,000–10,000 Equity over total notional. Below it, gross increasing steps revert and anyone may flatten. maxDailyTurnoverBps uint32 5,000–100,000 Traded notional per UTC day, in bps of day start equity maxStepBps uint16 0–50,000 Largest weight change per step. 0 means go straight to target. maxSlippageBps uint16 5–500 Limit price distance from the oracle for IOC and GTC orders makerOffsetBps uint16 0–200 Distance inside th"},{"href":"/vaults/create#approve-the-creation-fee","page":"Create a vault","group":"Vault managers","section":"Approve the creation fee","text":"Third party vaults pay creationFeeUsdc 10 USDC by default, at most 1,000 USDC when the caller is not the council. The factory sends it straight to HyperRevenueRouter.notifyRevenue . Set maxCreationFeeUsdc in your params to the fee you read, so a fee change cannot surprise you. If the live fee is above your maxCreationFeeUsdc , the deploy reverts with CreationFeeTooHigh feeUsdc, maxFeeUsdc ."},{"href":"/vaults/create#deploy-the-vault","page":"Create a vault","group":"Vault managers","section":"Deploy the vault","text":"This call deploys an engine proxy and a vault proxy, initializes both and registers them. The struct below matches DeployVaultParams in IHyperVaultPlatform.sol , field for field. VaultTier is a uint8 in the ABI. What the factory does in that transaction: 1. Pulls the creation fee and sends it to HyperRevenueRouter . 2. Deploys the engine and vault pair behind a 72 hour upgrade delay. 3. Writes a VaultRecord vaultRecord vault , isVault vault , engineOf vault and adds 1 to managerActiveVaultCount manager . 4. Initializes the vault fees, cap, keeper, whitelist and the engine DNA, risk params, the"},{"href":"/vaults/create#set-the-keeper","page":"Create a vault","group":"Vault managers","section":"Set the keeper","text":"The keeper is the hot address your bot signs with. It can trade, bridge, deploy idle USDC to the engine and roll early. It cannot change fees, risk params or the manager. Change it any time; the change is instant. Only the manager or the council can call it Unauthorized otherwise . A zero keeper is allowed; then only you and the council can trade."},{"href":"/vaults/create#make-the-first-deposit","page":"Create a vault","group":"Vault managers","section":"Make the first deposit","text":"Seed the vault with your own capital. The minimum request is 10 USDC DepositBelowMinimum amount, minAmount below that . The very first roll that mints shares sends 1 share 1e6 units, 1 USDC at the starting price to 0x…dEaD , so a tiny first deposit cannot distort the share price. When the council enables skin in the game, outside deposits are capped by your own stake: the free starter cap 50,000 USDC by default plus 20 times your co investment. See Risk /vaults/risk manager skin in the game ."},{"href":"/vaults/create#run-the-first-roll-and-fund-the-engine","page":"Create a vault","group":"Vault managers","section":"Run the first roll and fund the engine","text":"The vault's clock starts on the UTC day of deployment. The first roll is due from the next 00:00 UTC. Your keeper rolls between 00:00 and 02:00; after that, anyone can. roll reverts with RollNotDue if the vault already rolled today, and Unauthorized if a non role calls it before 02:00 UTC. bridgeUsdcToCore sends USDC to perp dex 0 0 or to spot 4294967295 , type uint32 .max . It opens a 30 second bridge window: deposits, rolls and steps revert with BridgeInFlight until it closes. A second bridge within 2 minutes reverts with BridgeTooSoon nextAllowedAt . Before you step an asset, confirm it is "},{"href":"/vaults/create#where-to-go-next","page":"Create a vault","group":"Vault managers","section":"Where to go next","text":"Trading /vaults/trading Write the keeper loop that steps your book. Risk /vaults/risk What stops a vault and how to wind one down. Fees /vaults/fees How your fees flow through the waterfall. Deposits & withdrawals /vaults/depositors How depositors enter, settle and redeem shares."},{"href":"/vaults/trading","page":"Trading engine","group":"Vault managers","section":"Trading engine","text":"How HyperPerpEngine steps a vault toward a target, the guardrails on every step, CoreWriter orders, USDC bridging and a keeper loop. HyperPerpEngine trades one vault's HyperCore account. Each call steps one perp market toward a target weight, inside the vault's DNA and risk params, and sends at most one limit order through CoreWriter. !IMPORTANT The engine is not deployed yet and not externally audited. VAULT and ENGINE in the code below are placeholders; addresses publish at launch on Network /network ."},{"href":"/vaults/trading#who-can-trade","page":"Trading engine","group":"Vault managers","section":"Who can trade","text":"Three callers can step, bridge and heartbeat: the vault's keeper, its strategy manager and the council. The engine reads all three live from the vault and HyperVaultConfig . There is no API wallet, agent key or signature check. A model running anywhere, including in a TEE, trades by sending transactions from the keeper or manager address. Anyone may call flatten when a stop allows it, plus the bookkeeping calls syncReturnedUsdc , syncOpenAssets and pruneClosedAssets ."},{"href":"/vaults/trading#two-ways-to-step","page":"Trading engine","group":"Vault managers","section":"Two ways to step","text":"stepMarket stepMarketTarget Target The latest round of vault.forecastJobId in HyperSignalBook , or job 1 when that is 0 The caller's targetWeightBps Stale signal An expired or missing round steps toward 0 Not applicable Guardrails Same Same Weights are signed bps of engine equity: 5,000 is 50% of equity long, 2,500 is 25% short. The target is clamped to the asset's cap before anything else. Every stepped market must be listed in HyperSignalBook , for flagship and third party vaults alike; the engine also takes the market's szDecimals from there. See Jobs and rounds /forecasters/jobs and rounds"},{"href":"/vaults/trading#what-one-step-does","page":"Trading engine","group":"Vault managers","section":"What one step does","text":"1. Reverts with BridgeInFlight inside a 30 second bridge window. Credits any USDC that arrived from HyperCore. Reverts with ZeroAmount if equity is 0. 2. Starts a new UTC day if needed records day start equity, clears the turnover counter , then checks the daily loss stop and the drawdown latch. See Risk /vaults/risk . 3. Records activity lastActivityAt , which resets the inactivity clock. 4. Checks the market: listed MarketNotActive assetId , allowed for the vault's market tier MarketNotInTier assetId, marketTier , a non zero oracle price BadOraclePrice assetId , and at least 30 seconds since"},{"href":"/vaults/trading#guardrails-on-every-step","page":"Trading engine","group":"Vault managers","section":"Guardrails on every step","text":"Guardrail Source Rule Revert Per asset cap HyperVaultConfig.isAssetAllowedForVault Market tier weight times the vault tier multiplier, at most 100%. Flagships also take the signal book's maxWeightBps . Clamped, no revert Step size maxStepBps Weight change per step Clamped, no revert Gross DNA maxGrossBps Gross may not grow above it GrossLeverageExceeded nextGrossBps, maxGrossBps Net DNA maxNetExposureBps Absolute net may not grow above it NetExposureExceeded nextNetBps, maxNetBps Margin floor minMarginRatioBps Equity over notional, when the asset's gross grows MarginRatioTooLow nextMarginRatio"},{"href":"/vaults/trading#order-pricing","page":"Trading engine","group":"Vault managers","section":"Order pricing","text":"defaultTif Code Limit price ALO post only 1 Buy at oracle × 1 − makerOffsetBps , sell at oracle × 1 + makerOffsetBps GTC 2 Buy at oracle × 1 + maxSlippageBps , sell at oracle × 1 − maxSlippageBps IOC 3 Same as GTC Prices round to HyperCore's perp tick: 5 significant figures and at most 6 − szDecimals decimals, down for buys and up for sells. If rounding would put a crossing order on the wrong side of the oracle, the order is skipped. Sizes round down to whole lots, 10^ 8 − szDecimals in 1e8 units. A step sizes from the target, so a close leaves no dust. flatten and deleverage trims always use "},{"href":"/vaults/trading#corewriter-actions","page":"Trading engine","group":"Vault managers","section":"CoreWriter actions","text":"Every action is CoreWriter.sendRawAction abi.encodePacked uint8 1 , uint24 actionId , abi.encode ... . The engine uses three: Action Id Payload Used by Limit order 1 uint32 assetId, bool isBuy, uint64 limitPx, uint64 sz, bool reduceOnly, uint8 tif, uint128 cloid , price and size 1e8 scaled Steps, flatten , deleverage trims Cancel by cloid 11 uint32 assetId, uint128 cloid Before each new order on an asset; at target; in flatten Send asset 13 address destination, address subAccount, uint32 sourceDex, uint32 destinationDex, uint64 token, uint64 wei , token 0 USDC , wei = usdc × 100 HyperCore to H"},{"href":"/vaults/trading#moving-usdc","page":"Trading engine","group":"Vault managers","section":"Moving USDC","text":"All amounts are USDC with 6 decimals. Vault to engine. deployToEngine moves idle USDC into the engine's HyperEVM balance. It reverts with VaultWindingDown or EngineDrawdownStopped when either applies. It does not hold back USDC owed to unsettled withdrawals, so keep enough idle for the next roll. HyperEVM to HyperCore. bridgeUsdcToCore calls the Circle CoreDepositWallet.deposit amount, destinationDex , with destinationDex 0 perp dex 0 or 4294967295 SPOT DEX . Minimum 1 USDC. Blocked during wind down. HyperCore to HyperEVM. bridgeUsdcFromCore sends action 13 to the USDC system address 0x2000000"},{"href":"/vaults/trading#multi-dex-margin","page":"Trading engine","group":"Vault managers","section":"Multi-dex margin","text":"The engine's equity is its HyperEVM idle USDC plus the account value on every tracked perp dex and its spot USDC. Perp dex 0 is always tracked. The adapter admin can track up to 16 dexes in total, HIP 3 dexes included. HIP 3 asset ids are 100000 + dex × 10000 + index . On a HIP 3 dex, the releasable amount is account value minus the larger of margin used and 10% of open notional. CoreWriter cannot set leverage or margin mode. Assets that HyperCore marks isolated only are capped by the adapter's isolatedCapBps , and a cap of 0 forces them flat. If any tracked dex's margin read fails, every NAV "},{"href":"/vaults/trading#heartbeat-and-inactivity","page":"Trading engine","group":"Vault managers","section":"Heartbeat and inactivity","text":"Every successful step records activity. If your model holds positions without changing them, call heartbeat before maxIdleSecs runs out. Once the vault is idle for maxIdleSecs , isInactive turns true and anyone may flatten the book. Nothing closes automatically; someone has to call it. See Risk /vaults/risk inactivity flatten ."},{"href":"/vaults/trading#hypercore-reads","page":"Trading engine","group":"Vault managers","section":"HyperCore reads","text":"The engine reads HyperCore through HyperL1ReadAdapter , which wraps the L1Read precompiles and normalizes to 1e8 prices and sizes and 1e6 USDC. Precompile Read Engine use 0x0801 spotBalance Spot USDC in equity; spot withdrawable 0x0803 withdrawable Releasable USDC on dex 0 0x0807 oraclePx Order pricing and position notional 0x0808 spotPx Token launch contracts only 0x080a perpAssetInfo Checking szDecimals and isolated only flags when an asset is configured 0x080C tokenInfo Token launch contracts only 0x080e bbo Token launch contracts only 0x080F accountMarginSummary Equity and margin per dex 0"},{"href":"/vaults/trading#a-keeper-loop","page":"Trading engine","group":"Vault managers","section":"A keeper loop","text":"This loop rolls the vault each UTC day, then steps each asset toward your model's target with stepMarketTarget . It skips assets still inside their 30 second window and stops on a latched stop."},{"href":"/vaults/trading#monitoring-views","page":"Trading engine","group":"Vault managers","section":"Monitoring views","text":"View Returns state EngineState : stops, flags, day start equity, turnover, idle and pending USDC totalEquityUsdc Engine leg of NAV, USDC 1e6 portfolioExposureBps uint256 equity uint256 grossBps, int256 netBps currentMarginRatioBps Equity over notional, bps openAssets Assets with a position or a resting order isBridging , isInactive , canFlatten , isFlat Status flags riskParams , pendingRiskParams , vaultDna Current limits The read API mirrors these at GET /v1/vaults/{vault}/engine , /engine/orders , /engine/fills and /engine/events . See API /api ."},{"href":"/vaults/trading#related","page":"Trading engine","group":"Vault managers","section":"Related","text":"Risk /vaults/risk Stops, latches and who may flatten. Create a vault /vaults/create Set the DNA and risk params the engine enforces. Deposits & withdrawals /vaults/depositors Daily rolls and settling queued redemptions. REST API /api Read engine state, orders, fills and events."},{"href":"/vaults/risk","page":"Risk rails","group":"Vault managers","section":"Risk rails","text":"The risk rails on every vault, from DNA limits, the daily loss stop and the drawdown latch to flatten, wind-down and skin in the game. Every vault trades inside three layers of limits. DNA is permanent and set at creation. Risk params are the manager's execution knobs, which tighten at once and loosen only after 7 days. Platform caps come from the council through HyperVaultConfig . !IMPORTANT These contracts are not deployed yet and not externally audited. Addresses publish at launch on Network /network ."},{"href":"/vaults/risk#the-rails-at-a-glance","page":"Risk rails","group":"Vault managers","section":"The rails at a glance","text":"Rail Trigger Effect Cleared by Daily loss stop Equity falls maxDailyLossBps below the UTC day's start Steps revert; anyone may flatten The next UTC day, automatically Drawdown latch Live share price falls maxDrawdownBps below the high water mark Steps, new deposits and deployToEngine revert; anyone may flatten Council clearDrawdownStop only Emergency flatten Council setEmergencyFlatten true Steps revert; anyone may flatten Council setEmergencyFlatten false Inactivity No step or heartbeat for maxIdleSecs Anyone may flatten The next step or heartbeat Margin floor Equity over notional below minMa"},{"href":"/vaults/risk#dna-limits","page":"Risk rails","group":"Vault managers","section":"DNA limits","text":"DNA is copied into the engine at creation and has no setter. Field Bound Enforced as maxGrossBps 5,000–50,000 0.5x–5x , at most the tier cap A step may not raise gross above it GrossLeverageExceeded maxNetExposureBps At most maxGrossBps and the tier cap A step may not raise absolute net above it NetExposureExceeded maxDailyLossBps 50–1,000 0.5%–10% Daily loss stop maxDrawdownBps 200 to the tier cap; 0 off for flagships only Drawdown latch marketTier 1–3 Which assets the vault may trade vaultTier FLAGSHIP , INSTITUTIONAL , COMMUNITY ARENA Tier ceilings and the per asset weight multiplier Tier c"},{"href":"/vaults/risk#daily-loss-stop","page":"Risk rails","group":"Vault managers","section":"Daily loss stop","text":"At the first engine call of each UTC day, the engine records day start equity and clears the day's turnover. Every later step or flatten compares live equity with it: When lossBps = maxDailyLossBps , the engine latches dayLossStopped for the rest of the UTC day and emits DailyLossStopTriggered day, startEquity, currentEquity . Steps then revert with DayStopped and anyone may flatten. The stop clears at the first call of the next UTC day. Moving USDC between vault and engine rescales day start equity, so deposits and withdrawals do not count as gains or losses."},{"href":"/vaults/risk#drawdown-latch","page":"Risk rails","group":"Vault managers","section":"Drawdown latch","text":"The latch compares the vault's live share price livePricePerShare with its high water mark, the highest post fee price any roll has set: When drawdownBps = maxDrawdownBps , the engine latches drawdownStopped and emits DrawdownStopTriggered highWaterMark, livePricePerShare, maxDrawdownBps . While latched: steps revert with DrawdownStopped ; requestDeposit and deployToEngine revert with EngineDrawdownStopped ; anyone may flatten; redemptions and claims continue. Only the council can clear it, with clearDrawdownStop . Clearing re anchors the peak at today's live price, so the vault can trade agai"},{"href":"/vaults/risk#emergency-flatten","page":"Risk rails","group":"Vault managers","section":"Emergency flatten","text":"setEmergencyFlatten bool active is a council switch on each engine. While it is on, steps revert with DayStopped and anyone may flatten. It is reversible and has no delay."},{"href":"/vaults/risk#inactivity-flatten","page":"Risk rails","group":"Vault managers","section":"Inactivity flatten","text":"Every successful step records activity, and so does heartbeat . maxIdleSecs 1 to 14 days by default bounds; never 0 sets how long a vault may sit with neither. After that, isInactive is true and anyone may flatten. Nothing closes on its own: a keeper or any outside caller has to send the flatten transaction. A manager whose model intentionally holds positions should heartbeat at least once per maxIdleSecs ."},{"href":"/vaults/risk#margin-floor","page":"Risk rails","group":"Vault managers","section":"Margin floor","text":"currentMarginRatioBps is equity over total notional, in bps. Below minMarginRatioBps : a step that grows an asset's gross reverts with MarginRatioTooLow nextMarginRatioBps, minMarginRatioBps ; anyone may flatten. The council's floor on minMarginRatioBps is 1,000 bps by default hard minimum 100 ."},{"href":"/vaults/risk#flatten","page":"Risk rails","group":"Vault managers","section":"Flatten","text":"flatten closes each listed asset in full with a reduce only IOC order at maxSlippageBps and cancels its resting order. It is open to anyone while any of these holds: the daily loss stop, the drawdown latch or a live breach , emergency flatten, wind down, inactivity, or the margin floor. Otherwise it reverts with Unauthorized . Assets that are flat, have no price, are not listed in the signal book or already received an order this block are skipped, not reverted. If closing the batch would raise absolute net above both its prior value and the DNA net cap, the call reverts with NetExposureExceed"},{"href":"/vaults/risk#wind-down","page":"Risk rails","group":"Vault managers","section":"Wind-down","text":"initiateWindDown on the vault closes it for good. On a third party vault the manager or the council may call it; on a flagship, only the council. !WARNING Wind down cannot be undone. The vault never accepts deposits or trades toward new positions again. From that moment: requestDeposit and deployToEngine revert with VaultWindingDown . Pending deposits are refunded at the next roll; depositors collect them with claimWithdraw or cancel before it. The engine sets windingDown . Every step targets 0, skips the turnover cap, and anyone may flatten. bridgeUsdcToCore reverts. Rolls, fees, redemptions "},{"href":"/vaults/risk#markets-and-asset-caps","page":"Risk rails","group":"Vault managers","section":"Markets and asset caps","text":"An asset is tradable for a vault when the council has listed it in HyperVaultConfig at a market tier no higher than the vault's marketTier , and it is listed in HyperSignalBook . Each asset's cap is a share of equity: 1. Start from the asset's override, or the tier default: 25% for tier 1, 10% for tier 2, 3% for tier 3. 2. Multiply by the vault tier's assetWeightMultiplierBps 1x, or 4x for COMMUNITY ARENA and cap at 100%. 3. On flagships, take the lower of that and the signal book market's maxWeightBps . 4. On assets HyperCore marks isolated only, take the lower of that and the adapter's isola"},{"href":"/vaults/risk#manager-skin-in-the-game","page":"Risk rails","group":"Vault managers","section":"Manager skin in the game","text":"When the council turns it on, a third party manager must keep their own capital in the vault in proportion to outside money. The defaults in SkinInGameConfig : Field Default enabled false coInvestMultiplier 20 bounds 1–100 freeStarterCapUsdc 50,000 USDC dgvBondCreditBps , maxDgvShareOfBondBps 0. Locked DGV can count toward the stake at token launch. Example: a manager with 10,000 USDC in the vault may take up to 50,000 + 10,000 × 20 = 250,000 USDC from others. With 200,000 USDC of outside money, the floor is 200,000 − 50,000 / 20 = 7,500 USDC. A deposit that would push outside money past the l"},{"href":"/vaults/risk#vault-caps","page":"Risk rails","group":"Vault managers","section":"Vault caps","text":"setVaultCap capUsdc limits NAV plus pending deposits. A manager may set up to maxCapForManager manager 2,000,000 USDC by default, or a council override ; the council has no ceiling. effectiveVaultCapUsdc returns the binding cap after skin in the game. A deposit over it reverts with VaultCapExceeded afterTvl, cap . Lowering the cap below current TVL only blocks new deposits."},{"href":"/vaults/risk#changing-risk-params","page":"Risk rails","group":"Vault managers","section":"Changing risk params","text":"The manager or the council may call these; the keeper may not. updateRiskParams reverts with RiskLooseningRequiresTimelock if any field loosens. A change loosens when it: lowers minMarginRatioBps ; raises or removes the turnover cap or the step cap; raises maxSlippageBps or makerOffsetBps ; changes defaultTif to anything but IOC; lengthens maxIdleSecs . scheduleRiskParams stores the change with readyAt = now + 7 days and replaces any pending one, which restarts the clock. executeRiskParams reverts with TimelockNotReady readyAt before then and NoPendingPolicy with nothing pending, and it re che"},{"href":"/vaults/risk#related","page":"Risk rails","group":"Vault managers","section":"Related","text":"Trading /vaults/trading The guardrails each step runs. Depositors /vaults/depositors Withdrawals, unfunded epochs and wind down refunds. Fees & high water mark /vaults/fees How vault fees and high water marks work. Networks & status /network Chains, deployment status and API discovery."},{"href":"/vaults/fees","page":"Fees & high-water mark","group":"Vault managers","section":"Fees & high-water mark","text":"Management and performance fees on a vault, the waterfall that splits them, the locker rebate at token launch, and how fee terms change. A vault charges two fees, both in USDC and both at the daily roll: a yearly management fee on outside capital, and a performance fee on gains above the per share high water mark. HyperVaultFeeRouter splits each fee between the protocol, data providers, forecasters and the manager. There is no deposit or withdrawal fee. !IMPORTANT These contracts are not deployed yet and not externally audited. Addresses publish at launch on Network /network ."},{"href":"/vaults/fees#the-numbers","page":"Fees & high-water mark","group":"Vault managers","section":"The numbers","text":"Parameter Bound Set by mgmtFeeBps 0–200 per year Manager or council at deploy; changes below perfFeeBps 1,000–2,500 Same forecastShareBps 0–5,000 of the net performance fee Same Protocol take protocolTakeBps 2,000 by default, at most 5,000 Council, HyperVaultConfig.setProtocolTakeBps Data royalty per feed At most 500 bps of the royalty base Provider terms, locked at subscribe Data royalties combined At most 5,000 bps, at most 20 royalty feeds DataProviderRegistry Locker rebate 2,000 bps 20% of the gross performance fee, at token launch Constant LP REBATE SHARE OF PERF BPS Each vault picks its "},{"href":"/vaults/fees#management-fee","page":"Fees & high-water mark","group":"Vault managers","section":"Management fee","text":"The management fee accrues at each roll for every day since the last roll, on the share of NAV held by outside depositors: extNav is NAV times external shares over total supply. External shares exclude the protocol allocator's shares and the 1 dead share. Everyone else pays it, including the manager's own shares and shares waiting to redeem."},{"href":"/vaults/fees#performance-fee","page":"Fees & high-water mark","group":"Vault managers","section":"Performance fee","text":"After the management fee, the roll prices a share. If that price is above the high water mark, the vault charges perfFeeBps on the gain of every share: The high water mark is the highest post fee share price any roll has set. It is never reset, so a vault that falls must recover all of it before it charges again. The fee is measured once per roll, at the NAV that roll reads."},{"href":"/vaults/fees#the-waterfall","page":"Fees & high-water mark","group":"Vault managers","section":"The waterfall","text":"The vault sends the management fee and the net performance fee to HyperVaultFeeRouter . Third party and flagship vaults split them differently. Leg Third party vault Flagship vault Management fee protocolTakeBps to the protocol, the rest to the manager 100% to the protocol Performance fee, step 1 Protocol take: net × protocolTakeBps No take Step 2 Data royalties on what remains Data royalties on the full net fee Step 3 Forecasters: min net × forecastShareBps, remainder Same Step 4 The manager gets the rest The protocol gets the rest \"Net\" is the performance fee after the locker rebate; before "},{"href":"/vaults/fees#worked-example","page":"Fees & high-water mark","group":"Vault managers","section":"Worked example","text":"A third party vault runs a 20% performance fee with the default 20% protocol take. It subscribes to one data feed with a 300 bps royalty and pays forecasters 10% forecastShareBps 1,000 . One roll finds 50,000 USDC of gain above the high water mark, after the day's management fee. Before the token: Leg Calculation USDC Gross performance fee 50,000 × 20% 10,000 Protocol take 10,000 × 20% 2,000 Royalty base 10,000 − 2,000 8,000 Data royalty 8,000 × 3% 240 Forecasters min 10,000 × 10%, 7,760 1,000 Manager 7,760 − 1,000 6,760 Depositors keep 40,000 of the 50,000 gain. At token launch, if every shar"},{"href":"/vaults/fees#locker-rebate-at-token-launch","page":"Fees & high-water mark","group":"Vault managers","section":"Locker rebate at token launch","text":"Once HyperBookRewards is live, each roll offers 20% of the gross performance fee back to depositors as USDC. HyperBookRewards takes the part that belongs to rebate eligible shares. By default, a depositor whose locked DGV is worth at least 10% of their deposits earns the full rebate on their shares, and at least 5% earns half. Whatever it does not take joins the net performance fee and runs through the waterfall. Depositors claim with claimUsdcRebate vault . See Token /token . Before the token, HyperBookRewards is not set and no rebate is offered."},{"href":"/vaults/fees#changing-fee-terms","page":"Fees & high-water mark","group":"Vault managers","section":"Changing fee terms","text":"The fee gate is the manager or the council on a third party vault, and the council alone on a flagship. Cuts are instant. Raises wait 7 days, so depositors can leave first. Change Path Lower management or performance fee setFeePolicy , instant. Also deletes any pending policy. Raise either fee submitFeePolicy , then acceptFeePolicy between 7 and 10 days later Raise the forecaster share, same job setForecastConfig , instant Lower the forecaster share, or switch job while the share is above 0 submitFeePolicy with the 7 day wait setFeePolicy with a higher value reverts with FeeRaiseRequiresTimelo"},{"href":"/vaults/fees#when-a-fee-cannot-be-paid","page":"Fees & high-water mark","group":"Vault managers","section":"When a fee cannot be paid","text":"Fees are liabilities outside NAV from the moment they accrue. The roll pays them from idle USDC, topped up from the engine's HyperEVM balance. A leg that cannot be paid stays owed and is retried. Retry. Anyone can call flushAccruedFees on the vault. The next roll also retries. Manager push failed. The router holds the amount in pendingManagerFees recipient . The recipient collects it with claimManagerFees to . Forecaster pot refused. The router holds it in heldForecastUsdc jobId . Anyone can call retryForecast jobId to fund that day's pot. If several performance fees are owed at once, they are"},{"href":"/vaults/fees#events","page":"Fees & high-water mark","group":"Vault managers","section":"Events","text":""},{"href":"/vaults/fees#related","page":"Fees & high-water mark","group":"Vault managers","section":"Related","text":"Deposits & withdrawals /vaults/depositors How fees apply during each daily roll. Revenue /revenue Where the protocol's share goes. Data /data How royalty feeds are priced. Bonds and pay /forecasters/bonds and pay How forecasters are paid from the pot."},{"href":"/vaults/depositors","page":"Deposits & withdrawals","group":"Vault managers","section":"Deposits & withdrawals","text":"The ERC-7540 request, roll and claim flow for depositing into and redeeming from a vault, with viem code and the read API. A vault takes deposits and pays redemptions once a day. You request, the daily roll settles every request at one share price, and you claim. This page covers each call for depositors, wallets and integrators. !IMPORTANT Vaults are not deployed yet and not externally audited. VAULT and USDC in the code below are placeholders; addresses publish at launch on Network /network ."},{"href":"/vaults/depositors#the-day","page":"Deposits & withdrawals","group":"Vault managers","section":"The day","text":"Time UTC What happens Day D You call requestDeposit or requestRedeem . A deposit can still be cancelled. D+1, 00:00 The roll is due. The cancel window for deposits queued on day D closes. D+1, 00:00 to 02:00 The keeper, manager or council may roll. D+1, from 02:00 Anyone may roll. After the roll Your shares or USDC are claimable. A request made after 00:00 but before that day's roll joins the next epoch and settles at the following roll. If nobody rolls for several days, the next roll settles everything queued."},{"href":"/vaults/depositors#request-a-deposit","page":"Deposits & withdrawals","group":"Vault managers","section":"Request a deposit","text":"The vault pulls assets USDC from owner at once, so approve the vault first. controller is the address that later claims the shares. Pending USDC sits outside NAV: it earns nothing and pays no fee. requestId is always 0, because requests are fungible per controller. Reverts: DepositBelowMinimum amount, minAmount : below 10 USDC. VaultCapExceeded afterTvl, cap : over the vault cap or the manager's skin in the game limit. NotWhitelisted account : a private vault, and the owner or controller is not on its list. VaultWindingDown or EngineDrawdownStopped : the vault is closing, or its drawdown latch"},{"href":"/vaults/depositors#cancel-a-pending-deposit","page":"Deposits & withdrawals","group":"Vault managers","section":"Cancel a pending deposit","text":"Only the controller can cancel, and the refund goes to the controller. It works until 00:00 UTC of the day the deposit settles. After that it reverts with RollPending ; with nothing pending it reverts with NothingPending ."},{"href":"/vaults/depositors#claim-your-shares","page":"Deposits & withdrawals","group":"Vault managers","section":"Claim your shares","text":"The roll mints your shares into the vault's escrow at the new share price. They are in the supply and earn from that moment, claimed or not. maxDeposit controller returns the claimable USDC amount and maxMint controller the claimable shares. Pass either to deposit or mint . Partial claims work. Two argument deposit assets, receiver and mint shares, receiver use the caller as controller. realize user called by the user or an operator delivers every claimable share to user . Anyone else calling it only moves settled epochs into the claimable state. previewDeposit and the other preview functions "},{"href":"/vaults/depositors#request-a-redemption","page":"Deposits & withdrawals","group":"Vault managers","section":"Request a redemption","text":"The owner, an operator of the owner, or a spender with a share allowance may call it. Shares move into escrow at once. They stay in the supply, so they keep gaining or losing and keep paying fees until the roll settles them. Redemptions are never paused and never whitelist gated. !WARNING A redemption request cannot be cancelled. Once shares are in escrow, they leave the vault at the next roll price that can be paid. Reverts: InsufficientShares , InsufficientAllowance allowed, needed , RollPending or WithdrawEpochPending you already have a redemption pending in another epoch , and for the mana"},{"href":"/vaults/depositors#settlement","page":"Deposits & withdrawals","group":"Vault managers","section":"Settlement","text":"At the roll, the vault prices each pending redemption epoch at the new share price: It pays from idle USDC and pulls the rest from the engine's HyperEVM balance. Epochs settle in order, oldest first, up to 16 per call. The first epoch idle USDC cannot cover stops the line, and so does every later one."},{"href":"/vaults/depositors#unfunded-withdrawals","page":"Deposits & withdrawals","group":"Vault managers","section":"Unfunded withdrawals","text":"If the engine's capital is on HyperCore, a roll can leave redemptions unpaid. unfundedWithdrawUsdc then returns the shortfall. Anyone can push it through: 1. Call forceDeleveraging assetIds, 4294967295 . It settles what idle USDC covers, then asks the engine to send its HyperEVM idle, bridge what HyperCore can release, and trim the listed positions with reduce only orders. Non role callers always use ANY SOURCE 4294967295 , so the engine draws from spot, dex 0, then other dexes. 2. Wait for the bridged USDC to land. The bridge window is 30 seconds, and the engine allows one bridge and one trim"},{"href":"/vaults/depositors#claim-your-usdc","page":"Deposits & withdrawals","group":"Vault managers","section":"Claim your USDC","text":"maxRedeem controller returns settled shares and maxWithdraw controller settled USDC. redeem and withdraw pay by share or by USDC amount, in part or in full. claimWithdraw pays the caller everything settled, plus any refunded deposits. Only the controller itself can call it. With nothing claimable, they revert with InsufficientClaimable or NothingPending . There is no withdrawal fee."},{"href":"/vaults/depositors#code-deposit-then-claim","page":"Deposits & withdrawals","group":"Vault managers","section":"Code: deposit, then claim","text":""},{"href":"/vaults/depositors#code-redeem-then-claim","page":"Deposits & withdrawals","group":"Vault managers","section":"Code: redeem, then claim","text":""},{"href":"/vaults/depositors#operators","page":"Deposits & withdrawals","group":"Vault managers","section":"Operators","text":"An operator acts for you: it can request deposits from your USDC, request redemptions of your shares, and claim to any receiver. Approval is a transaction; the vault has no signature based operator approval. cancelDeposit and claimWithdraw stay with you alone. Setting yourself or the zero address reverts with InvalidPolicy ."},{"href":"/vaults/depositors#private-vaults","page":"Deposits & withdrawals","group":"Vault managers","section":"Private vaults","text":"A vault with whitelistEnabled accepts deposit requests only when both owner and controller are on its list. Claiming shares to a different receiver needs that receiver listed too. With whitelistTransfers also on, shares can only be sent to listed addresses. Redemptions and redemption claims are never gated. The compliance admin, the manager or the council edits the list with setWhitelistedLp lp, allowed . Check your status in position user .whitelisted ."},{"href":"/vaults/depositors#share-transfers","page":"Deposits & withdrawals","group":"Vault managers","section":"Share transfers","text":"Shares are an ERC 20 with 6 decimals; the token address is the vault. transfer and transferFrom work as usual, with these limits: On a private vault with whitelistTransfers , the receiver must be listed NotWhitelisted . The protocol allocator cannot send or receive shares. A third party manager cannot transfer below their skin in the game floor ManagerCoInvestLocked . At token launch, deposits, claims and transfers also notify HyperBookRewards . These calls revert with HookGasTooLow unless at least 530,000 gas is left for the hook. Estimate gas rather than setting a tight limit."},{"href":"/vaults/depositors#wind-down-refunds","page":"Deposits & withdrawals","group":"Vault managers","section":"Wind-down refunds","text":"If the manager or council winds a vault down, pending deposits are not converted. The next roll refunds them in full, and you collect the USDC with claimWithdraw . You can also cancel before that roll. Redemptions, claims and rolls carry on as usual until the vault is empty. See Risk /vaults/risk wind down ."},{"href":"/vaults/depositors#reading-state","page":"Deposits & withdrawals","group":"Vault managers","section":"Reading state","text":"On chain, position user returns everything about one account: Other views: pricePerShare 1e18 = 1 USDC per share , pricePerShareUsdc , highWaterMark , totalAssets , rollDue , currentEpoch , lastRollDay , unfundedWithdrawUsdc . The read API at https://api.degenhive.ai/v1 serves the same data without a node. No key is needed; the limit is 300 requests per 60 seconds per IP. Amounts are base unit integer strings. Shares, value at the last share price, pending deposit and redemption with their epochs, and claimable USDC for one account. Vault detail: tier, TVL, share price, high water mark, fees, "},{"href":"/vaults/depositors#related","page":"Deposits & withdrawals","group":"Vault managers","section":"Related","text":"Vaults /vaults Tiers, roles and the daily epoch. Fees /vaults/fees What the roll charges and where it goes. Risk rails /vaults/risk Stops, drawdown latches and wind down protections. API /api The full read API."},{"href":"/data","page":"Data marketplace","group":"Data providers","section":"Data marketplace","text":"How data providers sell feeds to vaults through DataProviderRegistry, with prepaid daily fees, performance royalties and on-chain access checks. The data marketplace lets anyone sell a data feed to vault managers. DataProviderRegistry on HyperEVM chain 999 records each feed's terms, holds prepaid USDC in escrow, collects royalties from vault fees and answers one question for the provider's API: does this vault have access right now? !IMPORTANT The registry is not deployed yet and not externally audited. Addresses publish at launch on Network /network ."},{"href":"/data#how-it-works","page":"Data marketplace","group":"Data providers","section":"How it works","text":"1. A provider calls registerProvider with a payout address, a daily price, a royalty share and a metadata URI. It receives a providerId . 2. A vault's manager subscribes for a number of days, paying the prepaid fee from their own wallet into escrow. Terms lock at that moment. 3. The vault names a data key. The provider's API asks the registry whether a signer may read the feed with verifyAccess . See Gating access /data/access . 4. Prepaid USDC streams to the provider every second of the subscription. Royalties arrive each time the vault pays a performance fee. 5. Anyone calls claim to send wh"},{"href":"/data#two-ways-to-charge","page":"Data marketplace","group":"Data providers","section":"Two ways to charge","text":"A feed can use either model or both. Prepaid daily fee Performance royalty Term dailyUsdcFee managerShareBps Who pays The subscriber's wallet, into escrow The vault's performance fee, at each fee flush When the provider earns Linearly, second by second, while access is live Only when the vault earns a performance fee Bound Any amount, 0 allowed. Up to maxPrepaidDays default 90, at most 365 ahead. At most 500 bps 5% of the royalty base Marketplace take Up to 1,000 bps, locked at subscribe None The royalty base is the vault's net performance fee after the protocol take on a third party vault, or"},{"href":"/data#marketplace-take","page":"Data marketplace","group":"Data providers","section":"Marketplace take","text":"The council sets marketplaceTakeBps , from 0 the default to 1,000 bps 10% . It applies to prepaid fees only. Each subscription locks the take that applied when it started; renewals blend the old and new take by escrow. The take collects in claimableMarketplaceFees , and anyone can send it to HyperRevenueRouter.notifyRevenue with claimMarketplaceFees . Royalties carry no take."},{"href":"/data#approval-required-feeds","page":"Data marketplace","group":"Data providers","section":"Approval-required feeds","text":"A provider that registers with approvalRequired = true chooses its subscribers. A vault must be approved with setProviderApproval providerId, vault, true before it subscribes, or subscribe reverts with VaultNotApproved vault, providerId . Use it for feeds with licensing limits or capacity caps."},{"href":"/data#badges","page":"Data marketplace","group":"Data providers","section":"Badges","text":"The council can mark a feed VERIFIED or FLAGSHIP BOOTSTRAP with setProviderBadge . Every feed starts UNVERIFIED . VERIFIED means the council checked that the provider controls the actual data source. A badge is display only: no contract logic reads it, and it changes no terms."},{"href":"/data#suspension","page":"Data marketplace","group":"Data providers","section":"Suspension","text":"The council can suspend a provider with setProviderActive providerId, false . While suspended: verifyAccess returns false for every subscriber; prepaid streams pause and no royalties accrue; managers can cancel for a full refund of their remaining escrow. When the council lifts the suspension, the suspended time is added to every subscription, so subscribers lose no paid days. A provider deactivating its own feed is different: it only blocks new subscriptions, and live ones keep access and billing."},{"href":"/data#reading-the-marketplace","page":"Data marketplace","group":"Data providers","section":"Reading the marketplace","text":"The read API at https://api.degenhive.ai/v1 lists providers, subscriptions and royalty payments under /v1/data/ . See API /api ."},{"href":"/data#related","page":"Data marketplace","group":"Data providers","section":"Related","text":"Publish a feed /data/publish a feed Register a provider, get subscribers and get paid. Gating access /data/access Check subscribers in your API with verifyAccess . REST API /api Read providers, subscriptions and royalty payouts. Fees /vaults/fees Where royalties sit in the vault fee waterfall."},{"href":"/data/publish-a-feed","page":"Publish a feed","group":"Data providers","section":"Publish a feed","text":"Register a data feed in DataProviderRegistry, describe it with a manifest, approve vaults, take subscriptions, claim earnings and end subscriptions. This guide lists a data feed in the marketplace, takes a vault's subscription and collects the USDC it earns. You need a HyperEVM chain 999 wallet with HYPE for gas, a payout address, and an API that serves your data. Registering is free and open to any address. !IMPORTANT The registry is not deployed yet. REGISTRY , USDC and VAULT below are placeholders; addresses publish at launch on Network /network ."},{"href":"/data/publish-a-feed#write-a-manifest","page":"Publish a feed","group":"Data providers","section":"Write a manifest","text":"registerProvider stores one free form string, metadataUri . The registry pins no hash and never reads the content. Managers and the app read it to learn what you sell and how to connect. The shape below is a recommended convention, not a rule the contracts enforce. Host it at a content addressed URI IPFS or Arweave so subscribers can trust it has not changed under them. On chain terms price, royalty, approvals always come from the registry, never from the manifest. Keep prices out of it, or mark them as informational."},{"href":"/data/publish-a-feed#register-the-provider","page":"Publish a feed","group":"Data providers","section":"Register the provider","text":"The caller becomes the provider's owner. The feed starts active with the UNVERIFIED badge. Provider ids count from 1. Reverts: ZeroAddress for a zero payout address; InvalidPolicy for a royalty above 500 bps or maxPrepaidDays above 365."},{"href":"/data/publish-a-feed#approve-vaults","page":"Publish a feed","group":"Data providers","section":"Approve vaults","text":"Skip this step if approvalRequired is false. Otherwise approve each vault before it subscribes: Revoking an approval stops new subscriptions and renewals from that vault; it does not end a live one. To end one, use cancel last step ."},{"href":"/data/publish-a-feed#let-vaults-subscribe","page":"Publish a feed","group":"Data providers","section":"Let vaults subscribe","text":"The vault side calls subscribe . On a third party vault, the strategy manager or the council may call it; on a flagship, only the council. The prepaid fee comes from the caller's wallet, not from vault assets. maxDailyUsdcFee and maxShareBps protect the subscriber: if your live terms exceed them, subscribe reverts with TermsExceeded . Terms lock when the subscription starts. Other reverts a manager can hit: Revert Cause UnauthorizedVault vault Not a factory vault and not allowlisted ProviderInactive providerId You deactivated the feed, or the council suspended it VaultNotApproved vault, provid"},{"href":"/data/publish-a-feed#serve-the-data","page":"Publish a feed","group":"Data providers","section":"Serve the data","text":"The vault names one data key for all its feeds with setVaultDataKey . Your API accepts requests signed by that key, the vault's keeper or its manager, and checks each one with verifyAccess vault, providerId, signer . Gating access /data/access has a full challenge and response example."},{"href":"/data/publish-a-feed#collect-what-you-earn","page":"Publish a feed","group":"Data providers","section":"Collect what you earn","text":"Anyone can call claim . For each vault listed, it settles the prepaid stream up to now finalizing subscriptions that are ready . Then it pays all of claimablePrepaid + claimableRoyalties to your payout address. Royalties need no vault list: the fee router credits them at each vault's fee flush. It reverts with ZeroAmount when there is nothing to pay. Read provider providerId for settled balances, and subscription vault, providerId .accruedPrepaid for what has streamed but not yet settled. The Subscribed and RoyaltySettled events, or GET /v1/data/subscriptions on the API /api , list your subscr"},{"href":"/data/publish-a-feed#change-terms-or-ownership","page":"Publish a feed","group":"Data providers","section":"Change terms or ownership","text":"updateProvider providerId, params changes price, royalty, payout address, approval mode or manifest. New terms apply to new subscriptions and renewals only. setProviderActive providerId, false stops new subscriptions. Live subscriptions keep access and keep paying. transferProviderOwnership providerId, newOwner hands the feed to another address in one step. Check the address twice; there is no accept step."},{"href":"/data/publish-a-feed#end-a-subscription","page":"Publish a feed","group":"Data providers","section":"End a subscription","text":"Either side can end a subscription with the same function, cancel vault, providerId . The registry tells the sides apart by caller. Who cancels Effect You provider owner Notice period: access ends at the earlier of paidUntil and 7 days from now. The prepaid stream settles first. A second notice reverts with AlreadyCancelled . The manager Access ends now and the remaining escrow is refunded at once. A royalty feed still earns on every vault epoch before the next one. After access ends and the vault has rolled past it, anyone calls finalize vault, providerId . It settles what you earned, refunds"},{"href":"/data/publish-a-feed#where-to-go-next","page":"Publish a feed","group":"Data providers","section":"Where to go next","text":"Gating access /data/access Authenticate subscribers in your API. Data marketplace /data Pricing models, take, badges and suspension. Fees /vaults/fees How performance royalties flow from vaults. API /api Read providers and subscriptions without a node."},{"href":"/data/access","page":"Gate access to a feed","group":"Data providers","section":"Gate access to a feed","text":"Let only paying vaults read your feed. Vaults name a data key; your API checks signers on-chain with verifyAccess. A provider's API decides who may read the feed. DataProviderRegistry.verifyAccess answers the on chain half: is this signer allowed to read this feed for this vault, and until when. Proving that a request really comes from that signer is your API's job, off chain. !IMPORTANT The registry is not deployed yet. REGISTRY below is a placeholder; addresses publish at launch on Network /network ."},{"href":"/data/access#who-may-sign","page":"Gate access to a feed","group":"Data providers","section":"Who may sign","text":"Each vault has one data key for every feed it buys. The manager or the council sets it: verifyAccess accepts three signers for a vault: Signer Where it comes from The data key vaultDataKey vault The keeper vault.keeper The strategy manager vault.strategyManager Give the data key to the process that fetches data, and keep the manager key cold. Rotating is one call to setVaultDataKey , and the old key fails verifyAccess from the next block."},{"href":"/data/access#the-on-chain-check","page":"Gate access to a feed","group":"Data providers","section":"The on-chain check","text":"verifyAccess returns true, endTs when all of these hold, and false, 0 otherwise: signer is not zero and is one of the three signers above; the vault has a live subscription to providerId that the manager has not cancelled; the provider is not suspended by the council; now is before the end of paid time, and before the end of any notice the provider gave. The second value, named paidUntil in the ABI, is the moment access ends. It already includes time credited back after a suspension and the cut off from a provider's notice. It is a view call: free, and you can make it against any HyperEVM RPC."},{"href":"/data/access#a-challenge-and-response","page":"Gate access to a feed","group":"Data providers","section":"A challenge and response","text":"The contracts verify no signatures, so the handshake is yours to design. The pattern below is a recommended one, not a protocol rule: the server issues a one time nonce, the subscriber signs it with the data key, the server recovers the signer and asks the registry. 1. The client asks for a challenge for its vault and your providerId . 2. Your server returns a message with your API's host, the vault, the provider id, a random nonce and an expiry. 3. The client signs the message with the data key EIP 191 personal sign . 4. Your server recovers the address, checks the nonce is fresh and unused, "},{"href":"/data/access#edge-cases","page":"Gate access to a feed","group":"Data providers","section":"Edge cases","text":"Situation What verifyAccess returns Subscription not yet started, or finalized false, 0 Manager cancelled false, 0 from that moment Provider gave notice true, end until the notice ends, then false, 0 Council suspended the provider false, 0 for every vault until the suspension lifts; paid time is credited back Paid time ran out false, 0 , even before anyone calls finalize Keeper or manager changed on the vault The new address passes at once; the old one fails"},{"href":"/data/access#related","page":"Gate access to a feed","group":"Data providers","section":"Related","text":"Publish a feed /data/publish a feed Register a feed and collect subscriptions. Data marketplace /data Pricing models, take, badges and suspension. REST API /api Query active subscriptions without a node. Vaults /vaults Roles on a vault: manager, keeper and council."},{"href":"/pools","page":"Stock pools (PropAMM)","group":"Stock pools","section":"Stock pools (PropAMM)","text":"How the Robinhood Chain PropAMM prices stock-token swaps against USDG with a hook-owned Uniswap v4 pool, a fair-value shield and a daily breaker. The PropAMM is DegenHive's market for Stock Tokens on Robinhood Chain 4663 . Each stock trades against USDG in one Uniswap v4 pool, MakerHook is that pool's only liquidity provider, and every swap fee is set inside the hook. !IMPORTANT The contracts on this page are not deployed yet and not externally audited. Addresses publish at launch on Network /network ."},{"href":"/pools#how-it-works","page":"Stock pools (PropAMM)","group":"Stock pools","section":"How it works","text":"Five contracts run the market on Robinhood Chain: Contract Role MakerHook The v4 hook for every Stock Token/USDG pool, one pool per stock. It alone adds or removes liquidity, blocks donate , enforces the DOMAIN ENTRY pause, and computes each swap's dynamic LP fee on both MakerHook.swap and router swaps. MakerQuoter Read only eth call quoter quoteExactInput and quoteExactOutput that simulates the real swap fee path and returns exact output, fee paid and post swap tick. MakerPilot The on chain engine. Anyone calls step poolId ; it sets fees, layout and auction start fees inside the guard policy "},{"href":"/pools#the-swap-fee","page":"Stock pools (PropAMM)","group":"Stock pools","section":"The swap fee","text":"Every swap, through MakerHook.swap or any v4 router, applies the same dynamic LP fee in pips 1,000,000 pips = 100% built in this order: Part What it does Engine fee askPips for buyers of the stock, bidPips for sellers, set by the engine. Fair value shield Arbitrage toward a fresh fair tick pays a surcharge; flow away from it gets rebDiscountBps off. Router discount A per router discount up to 8,000 bps , only while the fair tick is fresh and the trade is not arbitrage. It tapers to zero with trade size. Inventory skew Flow that reduces the pool's drift from its day start stock/USDG mix gets up"},{"href":"/pools#fair-value-shield","page":"Stock pools (PropAMM)","group":"Stock pools","section":"Fair-value shield","text":"The shield is fresh while block.timestamp <= updatedAt + maxStaleSecs , with maxStaleSecs at most 3,600 seconds. Each update moves at most 500 ticks from the last fair tick and lands within 1,000 ticks of the pool's TWAP. When the pool tick is more than deadbandTicks from fair, a trade toward fair pays: lvrGainBps is at most 20,000 and maxArbFeePips at most 250,000. With no fresh fair tick, the shield and every router discount switch off and the pool runs on the engine fee and calendar."},{"href":"/pools#market-hours","page":"Stock pools (PropAMM)","group":"Stock pools","section":"Market hours","text":"The council sets a weekly calendar per pool in minutes after Monday 00:00 UTC: up to 16 trading sessions and 16 auction times. Outside every session the fee is at least closedFeePips at most the guard's maxFeePips , 10% . At each auction time the fee floor starts at the armed start fee and falls linearly to zero over auctionDuration 1 minute to 1 hour . This is a reopen Dutch auction: the price gap that builds while the stock market is closed is sold to the first trader who accepts the falling fee."},{"href":"/pools#makerpilotstep","page":"Stock pools (PropAMM)","group":"Stock pools","section":"MakerPilot.step","text":"MakerPilot.step bytes32 poolId is permissionless and runs at most once per minStepSecs 60 seconds to 1 day per pool. It reads only the pool's own TWAP, holdings and day start mix. It measures volatility, sets a fee level plus inventory skew, picks a calm or storm layout, and arms the next auction's start fee. The guard policy bounds every action: fees inside minFeePips, maxFeePips , the average fee moving at most feeStepPips per feePeriod , and layout changes rate limited by layoutInterval and layoutsPerDay ."},{"href":"/pools#the-daily-breaker","page":"Stock pools (PropAMM)","group":"Stock pools","section":"The daily breaker","text":"On the first check of each UTC day the hook records the pool's holdings at the TWAP. If the pool later loses more than dayLossBps against simply holding those day start tokens, the breaker trips. The engine is locked for dayLockSecs , fees go to safeFeePips , and all liquidity moves to full range. Clearing the breaker early clearBreaker waits the 2 day timelock."},{"href":"/pools#why-this-limits-lvr","page":"Stock pools (PropAMM)","group":"Stock pools","section":"Why this limits LVR","text":"Loss versus rebalancing LVR is what an AMM gives away when arbitrageurs trade against its stale price after the real price moves. The PropAMM narrows that loss in four places: The shield prices arbitrage by its distance to fair value, so the pool keeps part of each move. Closed hours fees stop cheap trades against a price that cannot be checked. Reopen auctions sell the overnight gap through a falling fee. The breaker caps one day's loss against holding. The book's performance fee is charged on gain over holding, so it is paid only when the pool beats holding its tokens."},{"href":"/pools#the-numbers","page":"Stock pools (PropAMM)","group":"Stock pools","section":"The numbers","text":"Parameter Bound Who changes it Swap fee cap 999,999 pips Fixed maxFeePips engine 1 to 100,000 pips Council, 2 day timelock maxStaleSecs 0 off to 3,600 s Council, 2 day timelock lvrGainBps / maxArbFeePips ≤ 20,000 / ≤ 250,000 Council, 2 day timelock Router discount ≤ 8,000 bps Cut at once, raise after 2 days auctionMaxPips ≤ 200,000 Council, 2 day timelock dayLossBps / dayLockSecs 1 to 2,000 bps / 1 hour to 30 days Council, 2 day timelock Calendar ≤ 16 sessions, ≤ 16 auctions Council, immediate"},{"href":"/pools#edge-cases","page":"Stock pools (PropAMM)","group":"Stock pools","section":"Edge cases","text":"Swaps revert with EmptyPool on both routes if the full range position has no liquidity. While DOMAIN ENTRY is paused, every swap reverts with DomainError directly in MakerHook.swap and in beforeSwap for routers , including the books' own fee sales. Book withdrawals still run. MakerHook.swap enforces the DOMAIN ENTRY pause directly, computes the same dynamic LP fee stack fair value shield, swap guard and calendar floor with sender set to the hook itself, and emits SwapFeeCharged . A router discount applies to MakerHook.swap only if the hook's own address is listed."},{"href":"/pools#related","page":"Stock pools (PropAMM)","group":"Stock pools","section":"Related","text":"Swap against a pool /pools/swapping Build the pool key, quote, and swap through the hook or any v4 router. Provide liquidity /pools/liquidity Deposit into a BookVault and follow the daily roll. Networks & status /network Robinhood Chain endpoints and deployment status. Revenue /revenue Where book fees go after the roll."},{"href":"/pools/liquidity","page":"Provide liquidity","group":"Stock pools","section":"Provide liquidity","text":"Deposit stock and USDG into a BookVault, follow the daily UTC roll, then withdraw in kind and claim, with viem and cast examples. This guide takes you through one full cycle in a BookVault , the LP book behind each stock/USDG pool: deposit, the daily roll, shares, withdrawal and claim. Prerequisites A wallet on Robinhood Chain 4663 with ETH for gas, USDG, and the stock token of the pool or USDG only, for a zap . The pool's book address. There is one BookVault proxy per pool. Addresses publish at launch on Network /network ; the examples use BOOK . !IMPORTANT These contracts are not deployed ye"},{"href":"/pools/liquidity#read-the-book-and-its-terms","page":"Provide liquidity","group":"Stock pools","section":"Read the book and its terms","text":"Each book reports its stock, USDG and the ProtocolConfig it reads. Fees come from one BookTerms record that applies to every book. No fee values are hard coded; the council sets them within these caps: Term Cap Meaning mgmtFeeBps 300 Per year, on the value of outside shares perfFeeBps 5,000 On gain above the book's high water mark withdrawFeeBps 100 Kept by the book for holders who stay nftBps 2,000 Share of every fee paid to the Stingvestors pot settleDelay 1 minute to 12 hours Wait after 00:00 UTC before the roll Raising a fee, or any change to nftBps , settleDelay , feeRecipient , nftPot or"},{"href":"/pools/liquidity#queue-a-deposit-in-kind","page":"Provide liquidity","group":"Stock pools","section":"Queue a deposit in kind","text":"Approve the book for both tokens, then call requestDeposit stockAmount, usdgAmount . The book pulls the tokens now and queues them for the next roll. Several requests on one UTC day merge into one. Use quote stockAmount, usdgAmount to see the value the roll will credit: stock at the lower of TWAP and spot, plus USDG at par. Reverts with DomainError while the ENTRY domain is paused, and with ZeroAmount if both amounts are zero."},{"href":"/pools/liquidity#or-zap-in-from-usdg-only","page":"Provide liquidity","group":"Stock pools","section":"Or zap in from USDG only","text":"zapDeposit usdgIn, minStockOut buys the stock share of your USDG through MakerHook.swap in the same transaction, at the pool's current mix, then queues the stock and the leftover USDG. The swap pays the pool's normal fee, including the closed hours floor. Read zapFloor usdgIn for a fair minStockOut : it prices the stock at the higher of spot and TWAP, less maxSlippageBps . zapFloor reverts with BookOffTwap when spot sits more than maxSlippageBps ticks from TWAP; wait for the pool to settle. The zap reverts with Slippage if the swap buys less than minStockOut , and with DomainError while paused"},{"href":"/pools/liquidity#cancel-the-same-day-if-you-change-your-mind","page":"Provide liquidity","group":"Stock pools","section":"Cancel the same day if you change your mind","text":"The cutoff is 00:00 UTC. Until then, cancelDeposit returns today's whole request in kind. After midnight the request belongs to the next roll and cannot be cancelled. Reverts with NothingQueued if you have no request for today."},{"href":"/pools/liquidity#roll-the-day","page":"Provide liquidity","group":"Stock pools","section":"Roll the day","text":"roll runs once per UTC day, from settleDelay after 00:00 UTC. For the first hour only BookTerms.keeper may call it; after that anyone can. It settles every day up to yesterday in one call. Reverts with RollNotDue before the window opens or once the day is rolled. The roll runs in this order: 1. It pokes the hook, which collects pool fees into idle and checks the breaker. 2. It measures gain over holding: the book's holdings now against what it held after the last roll, valued at both TWAP and spot, taking the lower. 3. It charges the management fee on outside shares for the days elapsed, and t"},{"href":"/pools/liquidity#realize-your-shares","page":"Provide liquidity","group":"Stock pools","section":"Realize your shares","text":"Shares minted at the roll sit in the book's own entry until they are realized. Your next request, transfer or claim realizes them, or anyone can call realize account . accountOf account .shares counts them before and after. Book shares are a normal ERC 20 once realized."},{"href":"/pools/liquidity#request-a-withdrawal","page":"Provide liquidity","group":"Stock pools","section":"Request a withdrawal","text":"requestWithdraw shares locks free shares in the book for the next roll. It is never paused. cancelWithdraw returns today's request before 00:00 UTC. At the roll you receive a pro rata slice of the pool, the book's held stock and its idle USDG, in kind. withdrawFeeBps stays in the book for the holders who remain; it is waived when every share leaves. Reverts with SharesShort if you ask for more than your free shares, and with ZeroAmount for zero."},{"href":"/pools/liquidity#claim-your-tokens","page":"Provide liquidity","group":"Stock pools","section":"Claim your tokens","text":"After the roll, claim pays your owed stock and USDG. USDG must transfer or the call reverts. If the stock token refuses the transfer, the stock stays owed and you can claim it later. Refunded deposits are claimed the same way."},{"href":"/pools/liquidity#where-to-go-next","page":"Provide liquidity","group":"Stock pools","section":"Where to go next","text":"Stock pools /pools How the hook prices swaps and protects the book. Swap and integrate /pools/swapping Quote and swap Stock Tokens against USDG. NFTs /nfts How the nftBps share reaches Stingvestor holders. Revenue /revenue What happens to the fee recipient's share on Hyperliquid."},{"href":"/pools/swapping","page":"Swap and integrate","group":"Stock pools","section":"Swap and integrate","text":"Integrate stock-token/USDG swaps on Robinhood Chain through MakerHook.swap or any Uniswap v4 router, with pool keys, quotes, fees in pips and reverts. This guide shows how to swap a Stock Token against USDG in a PropAMM pool. You can call the hook's own swap route A or any Uniswap v4 router that goes through the PoolManager route B . Both routes enforce the DOMAIN ENTRY pause, apply the same dynamic LP fee stack fair value shield, swap guard and calendar floor , and emit SwapFeeCharged . Prerequisites A wallet on Robinhood Chain 4663 with ETH for gas and the token you sell. The MakerHook addre"},{"href":"/pools/swapping#find-the-pool-and-build-its-key","page":"Swap and integrate","group":"Stock pools","section":"Find the pool and build its key","text":"There is exactly one pool per stock. MakerHook.poolOfStock stock returns its id, which is the standard v4 PoolId . The key is: Field Value currency0 , currency1 The stock and USDG, sorted by address fee 0x800000 v4 dynamic fee flag tickSpacing MakerHook.tickSpacing , one value for every pool of the hook hooks MAKER HOOK A zero id means the stock has no pool."},{"href":"/pools/swapping#quote-the-swap","page":"Swap and integrate","group":"Stock pools","section":"Quote the swap","text":"Fees are in pips: 1,000,000 pips is 100%, so 3,000 pips is 0.30%. A swap's fee depends on the side, the trade size, the pool's inventory, the fair value shield and the calendar, so the reliable quote runs the real swap path. You can either call immutable MakerQuoter.quoteExactInput poolId, buyStock, amountIn or quoteExactOutput via eth call with no token approval required, or approve the hook and simulate MakerHook.swap with minOut = 0 , then apply your own slippage margin to the result. The fee can rise during closed hours and right after a reopen auction starts. See Stock pools /pools the sw"},{"href":"/pools/swapping#route-a-swap-through-makerhookswap","page":"Swap and integrate","group":"Stock pools","section":"Route A: swap through MakerHook.swap","text":"swap poolId, buyStock, amountIn, minOut, deadline is exact in and all or nothing. buyStock = true spends USDG; false sells the stock. MakerHook.swap checks the DOMAIN ENTRY pause directly, pulls amountIn from you, computes the pool's dynamic LP fee fair value shield, swap guard and calendar floor , emits SwapFeeCharged with sender set to the hook itself, swaps through the PoolManager , and sends the output to you. Pass deadline = 0 for no deadline. Reverts: DeadlineExpired after deadline . ZeroAmount for amountIn = 0 ; UnknownPool for a bad id. DomainError while DOMAIN ENTRY is paused; EmptyPo"},{"href":"/pools/swapping#route-b-swap-through-any-v4-router","page":"Swap and integrate","group":"Stock pools","section":"Route B: swap through any v4 router","text":"Any contract that calls PoolManager.unlock and then swap on the key from step 1 works, exact in or exact out. The calling contract is the sender the hook sees, so a router discount set with setRouterDiscount router, bps applies to that router's flow. The discount applies only while the fair tick is fresh and the trade is not arbitrage. This minimal exact in router shows the calls. In v4, a negative amountSpecified means exact input. zeroForOne is true when you sell currency0 . If the stock sorts first, selling the stock is zeroForOne = true ."},{"href":"/pools/swapping#read-the-fee-you-paid","page":"Swap and integrate","group":"Stock pools","section":"Read the fee you paid","text":"Every swap emits SwapFeeCharged from the hook with the parts of its fee: fee charged , base engine ask or bid , arb shield surcharge , size , inventory and least calendar floor . MakerHook.swap also emits Swapped poolId, account, buyStock, amountIn, amountOut ."},{"href":"/pools/swapping#handle-pauses-closed-hours-and-empty-pools","page":"Swap and integrate","group":"Stock pools","section":"Handle pauses, closed hours and empty pools","text":"ENTRY paused. Every swap reverts with DomainError . On route A, MakerHook.swap checks DOMAIN ENTRY before unlocking and reverts DomainError directly. On route B, PoolManager calls beforeSwap , so DomainError reaches you wrapped in v4's WrappedError target, selector, reason, details ; decode reason to see DomainError . Retry after the council resumes. Closed hours. Swaps do not revert. Outside the pool's trading sessions the fee is at least closedFeePips up to 10% , so a tight minOut fails with Slippage on route A. Re quote before you send. Reopen auctions. At each scheduled auction time the fe"},{"href":"/pools/swapping#where-to-go-next","page":"Swap and integrate","group":"Stock pools","section":"Where to go next","text":"Stock pools /pools The fee parts, the shield, the calendar and the breaker. Networks & status /network Robinhood Chain RPC and deployment status. Provide liquidity /pools/liquidity Earn the swap fees as a BookVault LP."},{"href":"/revenue","page":"Revenue router","group":"Revenue, NFTs & token","section":"Revenue router","text":"How HyperRevenueRouter receives every protocol dollar on HyperEVM, splits it into four lanes, and holds the buyback and locker reserves until token launch. HyperRevenueRouter is the single USDC landing point for protocol revenue on HyperEVM 999 . Each payment to notifyRevenue splits into four lanes: ops, a buyback reserve, a locker reserve and the Fangvestors NFT pot. !IMPORTANT The router is not deployed yet and not externally audited. Addresses publish at launch on Network /network ."},{"href":"/revenue#where-revenue-comes-from","page":"Revenue router","group":"Revenue, NFTs & token","section":"Where revenue comes from","text":"Source Contract that pays What it pays Vault fee take HyperVaultFeeRouter On third party vaults, the protocol take default 2,000 bps, at most 5,000 of each management and performance fee Flagship fees HyperVaultFeeRouter The whole management fee, and the performance fee left after data royalties and the forecaster share Creation fees HyperVaultFactory The USDC fee for creating a third party vault default 10 USDC Marketplace take DataProviderRegistry The protocol's cut of data feed payments Robinhood books Council outbox Safe BookVault fees less nftBps , bridged to HyperEVM by hand There is no "},{"href":"/revenue#the-four-lanes","page":"Revenue router","group":"Revenue, NFTs & token","section":"The four lanes","text":"Lane Default Where it goes Ops 3,167 bps 31.67% Paid to opsRecipient at once Buyback reserve 3,167 bps 31.67% Held in the router until token launch Locker reserve 3,166 bps 31.66% Held in the router until token launch NFT 500 bps 5% Paid to the Fangvestors VestorPot , only while the pot is live The NFT lane pays only while nftPot.live returns true, which means at least minLiveSeats Fangvestors circulate. Otherwise its share, and any rounding dust, goes to ops. If the ops or NFT transfer fails, the amount waits in pendingOpsUsdc until anyone calls flushOps . The council can change the split wit"},{"href":"/revenue#counted-revenue","page":"Revenue router","group":"Revenue, NFTs & token","section":"Counted revenue","text":"Every payment is split, but only some payments count. The router adds the full amount to dailyRevenueUsdc day when the payer is on the allowlist, set by the council with setRevenueSource source, true . The intended sources are the fee router, the factory, the data registry and the outbox Safe. A payment from any other address is split normally and not counted. Counted revenue matters at token launch: DGVEmissions paces DGV by the last 30 complete days of it. See Token /token emissions ."},{"href":"/revenue#reserves-before-the-token","page":"Revenue router","group":"Revenue, NFTs & token","section":"Reserves before the token","text":"The product launches with no token. Until then the buyback and locker lanes only accumulate. Both lanes are inactive, nothing drips, releaseBuyback reverts with BuybackExecutorNotSet or InsufficientReleasable , and releaseLockerYield reverts with LockerPotNotSet or ZeroAmount . The reserves are visible on chain at any time through buybackReserveUsdc and lockerReserveUsdc ."},{"href":"/revenue#at-token-launch","page":"Revenue router","group":"Revenue, NFTs & token","section":"At token launch","text":"At token launch, the buyback and locker lanes activate once and begin streaming their accumulated USDC reserves along fixed drip schedules: Additional funding merges into the schedule, weighted by amount, so a spike in fees smooths out over the lane's horizon instead of releasing in one block. Setting Default Bounds Change delay Buyback horizon 90 days 1 to 365 days Longer at once; shorter after 48 hours Locker horizon 30 days 1 to 365 days Longer at once; shorter after 48 hours Daily release cap Uncapped Configurable Lower cap at once; higher cap after 48 hours A paused lane stops dripping, a"},{"href":"/revenue#slashed-usdc","page":"Revenue router","group":"Revenue, NFTs & token","section":"Slashed USDC","text":"Slashed forecaster bonds go straight into the buyback reserve. They are not split across the four revenue lanes and are not counted as protocol revenue."},{"href":"/revenue#worked-example","page":"Revenue router","group":"Revenue, NFTs & token","section":"Worked example","text":"A Flagship vault earns 100 USDC of profit above its high water mark. The Flagship runs a 25% performance fee. Its forecaster share is set as a fraction of the fee forecastShareBps , at most 5,000 ; here it is 4,000 bps, which is 10% of the profit. No data feeds earn royalties in this example, and the management fee is left out. Step Amount USDC Profit above the high water mark 100.00 Stays with depositors 75% 75.00 Performance fee 25% 25.00 To forecasters through HyperCrowdPay 4,000 bps of the fee 10.00 To HyperRevenueRouter.notifyRevenue Flagship: the rest 15.00 Ops lane: 15 × 3,167 bps, plus"},{"href":"/revenue#related","page":"Revenue router","group":"Revenue, NFTs & token","section":"Related","text":"Networks & status /network Chains and deployment status. Vault fees /vaults/fees How management and performance fees are taken at the roll. Token /token What the reserves fund once DGV launches. NFTs /nfts How the NFT lane reaches Fangvestor holders."},{"href":"/nfts","page":"Stingvestors & Fangvestors","group":"Revenue, NFTs & token","section":"Stingvestors & Fangvestors","text":"Stingvestors on Robinhood Chain and Fangvestors on HyperEVM, each with a 5,100 cap, a curve sale, and a pot that pays its chain's revenue when an NFT is burned. DegenHive has one NFT collection per chain: Stingvestors on Robinhood Chain 4663 and Fangvestors on HyperEVM 999 . Each NFT accrues a share of its own chain's protocol revenue in a VestorPot , and the only way to collect it is to burn the NFT. !IMPORTANT The collection, pot and minter contracts are not deployed yet and not externally audited. Addresses publish at launch on Network /network ."},{"href":"/nfts#the-two-collections","page":"Stingvestors & Fangvestors","group":"Revenue, NFTs & token","section":"The two collections","text":"Stingvestors Fangvestors Chain Robinhood Chain 4663 HyperEVM 999 Cap 5,100 5,100 Pot asset USDG USDC Revenue source nftBps of every BookVault fee at most 2,000 bps The 500 bps NFT lane of HyperRevenueRouter Deployment Live collection upgraded in place Fresh collection on HyperEVM DGV Holders at the snapshot receive a patron DGV allocation at token launch No DGV allocation Stingvestors keeps its 572 minted NFTs through the upgrade, including 111 reserve ids 11,001 to 11,111 . Additional sale and treasury ids continue in mint order."},{"href":"/nfts#minting-on-the-curve","page":"Stingvestors & Fangvestors","group":"Revenue, NFTs & token","section":"Minting on the curve","text":"Each collection has a VestorCurveMinter that sells on a linear stablecoin curve. The curve's prices are constructor inputs; the launch inputs are 4,200 NFTs from $1 to $50. With startPrice = 1e6 , endPrice = 50e6 and curveSupply = 4,200 , the whole curve raises 107,100 USDG or USDC, an average of $25.50. Payment goes straight from the buyer to the minter's proceedsRecipient . Each address may mint up to walletCap . The council Stingvestors or owner Fangvestors mints the rest with mintTreasury to, count, receipt . It cannot use room the curve has not sold yet. That leaves 328 treasury NFTs for "},{"href":"/nfts#how-the-pot-accrues","page":"Stingvestors & Fangvestors","group":"Revenue, NFTs & token","section":"How the pot accrues","text":"Revenue reaches a pot by plain transfer. Anyone can call flush , and the collection calls it before every mint, burn or excluded holder move. A flush spreads the new balance over every circulating NFT through one index: A new NFT starts at the current index, so it earns only from later funding. Excluded holders do not earn. The council lists them with setExcludedHolder ; their seats freeze what they earned so far, and they do not count as circulating. On Stingvestors the retired lootbox, which holds the reserve ids, is excluded before the pot's first funding. While fewer than minLiveSeats NFTs"},{"href":"/nfts#burn-to-claim","page":"Stingvestors & Fangvestors","group":"Revenue, NFTs & token","section":"Burn to claim","text":"burn uint256 id returns uint256 amount is the payout. Only the current owner can call it; an approved operator cannot. The collection flushes the pot, burns the NFT and calls pot.redeem id, owner , which pays the NFT's accrual in USDG Stingvestors or USDC Fangvestors . Burned ids are never minted again, and later revenue is shared among the NFTs that remain. !WARNING Burning is irreversible. The NFT is gone and its future share goes to the remaining holders. If the stablecoin refuses the transfer, for example to a blocklisted address, the amount is booked to unpaid owner . Anyone can later cal"},{"href":"/nfts#royalties-and-transfers","page":"Stingvestors & Fangvestors","group":"Revenue, NFTs & token","section":"Royalties and transfers","text":"Both collections implement ERC 2981. royaltyInfo id, price returns the immutable receiver and price × royaltyBps / 10,000 , with royaltyBps at most 1,000. An optional ERC 721C transfer validator applies to transfers when the admin sets one. Mint and burn never reach the validator."},{"href":"/nfts#the-numbers","page":"Stingvestors & Fangvestors","group":"Revenue, NFTs & token","section":"The numbers","text":"Parameter Value MAX SUPPLY 5,100 per collection Curve launch inputs 4,200 NFTs, $1 to $50 MAX ROYALTY BPS 1,000 minLiveSeats 1 to 5,100, set at pot deployment INDEX SCALE 1e18 Stingvestors pot funding nftBps of book fees, at most 2,000 bps Fangvestors pot funding 500 bps router lane, at most 2,000 bps"},{"href":"/nfts#related","page":"Stingvestors & Fangvestors","group":"Revenue, NFTs & token","section":"Related","text":"Networks & status /network HyperEVM and Robinhood Chain deployment status. Revenue /revenue The router lane that funds the Fangvestors pot. Provide liquidity /pools/liquidity The book fees that fund the Stingvestors pot. Token /token The Stingvestor patron allocation at token launch."},{"href":"/token","page":"DGV launch","group":"Revenue, NFTs & token","section":"DGV launch","text":"DGV for developers. The product launches first; DGV launches later on Hyperliquid with claims, a sale, revenue-paced emissions, locks, lock yield and order-book buybacks. DGV is DegenHive's token: a fixed supply HIP 1 spot token on HyperCore, linked to an ERC 20 on HyperEVM 999 . The product launches with no token. DGV and every contract on this page go live later, at token launch, on Hyperliquid only. !IMPORTANT None of the contracts here is deployed yet or externally audited. Nothing about DGV exists on Robinhood Chain. Addresses publish at launch on Network /network . DGV is not equity and "},{"href":"/token#dgv-facts","page":"DGV launch","group":"Revenue, NFTs & token","section":"DGV facts","text":"Property Value Supply 1,000,000,000 DGV, fixed supply; no mint function Decimals 6 Upgradeability Immutable, no owner, no transfer hooks Extras EIP 2612 permit ; burn amount from the caller's balance; a burned counter HIP 1 link Linked 1:1 between HyperCore HIP 1 spot and the HyperEVM ERC 20 Transfers to the HIP 1 token system address move DGV between HyperEVM and HyperCore spot balances."},{"href":"/token#launch-sequence","page":"DGV launch","group":"Revenue, NFTs & token","section":"Launch sequence","text":"1. HIP 1 deploy : the spot token and its DGV/USDC pair on HyperCore. 2. DGV : the ERC 20 on HyperEVM mints the fixed 1,000,000,000 supply 6 decimals once and links 1:1 to the HIP 1 token. 3. Locks : HyperDGVLocks , HyperLockerWeights and HyperLockerPot , then enableStaking . Holders lock for 4 to 52 weeks or permanently. 4. Claims DGVClaim : retired Robinhood DGV holders 1:1, Stingvestor holders at the snapshot, and Season 0 participants. 5. Sale DGVSale : a fixed USDC price with linear vesting. 6. Emissions HyperBookRewards and DGVEmissions , paced by 30 day counted protocol revenue. 7. Buyba"},{"href":"/token#claims","page":"DGV launch","group":"Revenue, NFTs & token","section":"Claims","text":"DGVClaim pays launch allocations from one Merkle tree: retired Robinhood DGV holders one for one, Stingvestor holders at the snapshot, and Season 0 participants. Each wallet claims its whole amount once. Call Who Notes claim amount, proof Wallet in the tree Inside claimStart, claimEnd claimAndLock amount, proof, weeks Wallet in the tree Straight into a lock once staking is enabled The leaf is OpenZeppelin's standard double hash, so @openzeppelin/merkle tree builds compatible proofs: Errors: ClaimNotOpen , AlreadyClaimed , InvalidProof , ZeroAmount ."},{"href":"/token#sale","page":"DGV launch","group":"Revenue, NFTs & token","section":"Sale","text":"DGVSale sells at one fixed USDC price per whole DGV, set at deployment with every other parameter. buy dgvAmount, proof charges costUsdc dgvAmount , rounded up, and sends 100% of it to proceedsRecipient in the same transaction. An optional allowlist root uses the leaf keccak256 bytes.concat keccak256 abi.encode buyer . Bought DGV vests linearly over vestSecs from closeTime , the sale end or the earlier endSale . Buyers pull it with claim . After close, anyone can call sweepUnsold . Reverts: SaleNotOpen , NotAllowlisted , WalletCapExceeded , TotalCapExceeded , SaleUnderfunded , PaymentFailed ."},{"href":"/token#emissions","page":"DGV launch","group":"Revenue, NFTs & token","section":"Emissions","text":"DGVEmissions holds the emissions allocation and releases it once per UTC day. Anyone may call release ; a second call the same day reverts with AlreadyReleasedToday . R is the router's counted revenue over the 30 complete days before today. rate is DGV per 1 USDC of average daily revenue. dgvPrice is the reference price from HyperBookRewards , a 7 day EMA of HyperCore spot. The second term caps each day's DGV at the value of one day's revenue. While the price reads 0, nothing is released. Limit Value MAX RATE DGV PER USDC 1,000 DGV per USDC MAX DAILY CAP 2,000,000 DGV 0.2% of supply Lowering r"},{"href":"/token#lp-rewards","page":"DGV launch","group":"Revenue, NFTs & token","section":"LP rewards","text":"HyperBookRewards streams each day's release over 24 hours to HyperVault depositors. 40% goes to a curated gauge council weights, for vaults with at least $100 of non manager TVL . 60% goes to a dynamic gauge weighted by each vault's 15 day decayed protocol fees for vaults with at least $10,000 of non manager TVL . A vault's dynamic DGV is capped at 2,500 bps of the fees it paid, valued at the DGV price. A vault's manager may send up to 50% of its DGV to forecasters. Depositors take DGV in one of three ways: Call Result claimDgvAndLock vaults, weeks 100% into a lock of at least 12 weeks. For 30"},{"href":"/token#locks","page":"DGV launch","group":"Revenue, NFTs & token","section":"Locks","text":"HyperDGVLocks holds one lock per address: 4 to 52 weeks, ending on a week boundary, or permanent weeks = type uint32 .max . enableStaking opens locking and is one way. Calls: createLock amount, weeks , increase amount , extend weeks , setPermanent bool , withdrawExpired and earlyExit minNet . earlyExit minNet reverts with TaxBound if the amount paid out would be below minNet . Burned DGV is destroyed with DGV.burn . A lock change counts toward weights from the next UTC day."},{"href":"/token#lock-yield","page":"DGV launch","group":"Revenue, NFTs & token","section":"Lock yield","text":"The router's locker reserve drips to HyperLockerPot through releaseLockerYield , which anyone can call. The pot splits each day's funding across lockers pro rata to lock power. Lockers call claim recipient and preview with claimable user . Funding that arrives before locking opens waits in a backlog and is paid out over the following days."},{"href":"/token#buybacks","page":"DGV launch","group":"Revenue, NFTs & token","section":"Buybacks","text":"At token launch, the buyback reserve lane 3,167 bps of protocol revenue plus slashed USDC activates and drips over 90 days into automated buybacks on the HyperCore DGV/USDC order book. Every DGV purchased through the buyback program is permanently burned DGV.burn , reducing circulating supply."},{"href":"/token#supply-split","page":"DGV launch","group":"Revenue, NFTs & token","section":"Supply split","text":"The split of the 1,000,000,000 DGV across claims, the sale, emissions and the treasury is not final. It publishes before token launch."},{"href":"/token#related","page":"DGV launch","group":"Revenue, NFTs & token","section":"Related","text":"Revenue /revenue The reserves that fund buybacks and lock yield. Vault fees /vaults/fees Performance fee rebates and LP reward gauges at token launch. Networks & status /network HyperEVM endpoints and deployment status."},{"href":"/api","page":"REST API","group":"API & agents","section":"REST API","text":"The read-only DegenHive REST API for vaults, forecasting, data, revenue, stock pools, NFTs and wallets on both chains. No key needed. The DegenHive REST API is a read only JSON API over everything the indexer sees on HyperEVM 999 and Robinhood Chain 4663 . It needs no API key. Writes happen on chain, against the contracts. !IMPORTANT These routes go live with the launch release. Until then api.degenhive.ai serves the legacy service, and the contracts behind these routes are not deployed. Right after launch, expect empty lists and 404 on detail routes until the indexer catches up."},{"href":"/api#base-urls","page":"REST API","group":"API & agents","section":"Base URLs","text":"Surface URL REST https://api.degenhive.ai/v1 WebSocket wss://api.degenhive.ai/v1/ws see WebSocket /api/websocket OpenAPI 3.1 document https://api.degenhive.ai/v1/openapi.json Interactive docs https://api.degenhive.ai/v1/docs Liveness / readiness https://api.degenhive.ai/healthz , https://api.degenhive.ai/readyz Every path below is relative to https://api.degenhive.ai/v1 . Generate a typed client from the OpenAPI document rather than copying shapes by hand."},{"href":"/api#quick-start","page":"REST API","group":"API & agents","section":"Quick start","text":""},{"href":"/api#conventions","page":"REST API","group":"API & agents","section":"Conventions","text":"Amounts are integer strings in base units. Each field's OpenAPI schema states its unit and decimals x unit , x decimals , and GET /chains lists every unit. USDC, USDG and DGV use 6 decimals; share prices and high water marks are WAD 18 decimals . Fields named share price are already decimal strings. Timestamps are ISO 8601 UTC. Fields named day are unix day numbers seconds since epoch divided by 86,400 . Addresses and hashes are lowercase 0x hex. The API accepts any case and answers 400 invalid address for a malformed address. Chains. Routes that exist on both chains take chain=robinhood or ch"},{"href":"/api#rate-limits","page":"REST API","group":"API & agents","section":"Rate limits","text":"Each client IP gets 300 requests per sliding 60 second window. Every response carries x ratelimit limit and x ratelimit remaining . Past the limit the API answers 429 with a Retry After header in seconds and the same value in error.details.retry after secs . Wait that long before you retry. /healthz , /readyz and /metrics are not rate limited. Requests time out after 30 seconds and bodies are capped at 1 MiB."},{"href":"/api#errors","page":"REST API","group":"API & agents","section":"Errors","text":"Every error, including 404 for an unknown route and 429 , uses one envelope: Status Typical code When 400 invalid parameter , invalid address , invalid timestamp , invalid range , bad request A query or path value is malformed or out of range 404 not found or <thing not found The route or the object does not exist 408 request timeout The request ran past 30 seconds 409 duplicate record and route specific codes The write conflicts with stored state NFT listings only 429 rate limited Over 300 requests in 60 seconds 503 database unavailable and others A backing service is down; Retry After: 5 500"},{"href":"/api#cors-and-caching","page":"REST API","group":"API & agents","section":"CORS and caching","text":"CORS covers GET , POST , OPTIONS and HEAD with any request header, for an allowlist of origins set by the operator the DegenHive sites in production . Scripts, servers and agents are not affected by CORS. If a page on your own origin needs the data, fetch it from your server. Allowed browser code can read the ETag , Retry After , x ratelimit limit , x ratelimit remaining and x request id response headers. NFT metadata responses send Cache Control: public, max age=300 and an ETag . NFT and character images send Cache Control: public, max age=86400 . JSON data routes are computed per request fro"},{"href":"/api#protocol","page":"REST API","group":"API & agents","section":"Protocol","text":"Both chains with chain ids, quote assets, the NFT collection of each, the indexer head block and every unit used by amount fields. Contract addresses per chain from the deployment manifest, plus token addresses and the HyperCore system addresses. Undeployed contracts return \"address\": null . Query: chain omit for both . See Networks & status /network read addresses programmatically for an example. Every indexed contract, including vaults, engines and books found at runtime. Query: chain required , role a manifest name such as HyperVault , HyperPerpEngine or BookVault , parent the vault of an e"},{"href":"/api#vaults-and-engines","page":"REST API","group":"API & agents","section":"Vaults and engines","text":"Hyperliquid quant vaults: each is a HyperVault plus its HyperPerpEngine . See Vaults overview /vaults . Vaults with tier, TVL, share price, high water mark, fees, manager, status and annualized returns apy 7d , apy 30d , apy inception , where 0.12 means 12% . Query: tier flagship , institutional , community arena , status active , winding down , wound down , manager , creator , sort tvl default, newest , apy 30d , limit , offset . Values are illustrative. One vault with its engine state, last roll, fee policy and the forecast job it funds. Roll history, newest first. Query: limit , offset . NA"},{"href":"/api#forecasting","page":"REST API","group":"API & agents","section":"Forecasting","text":"Jobs and rounds from HyperSignalBook . Forecasts themselves never go on chain, so the API serves rounds, pots and payouts, not individual forecasts. See Jobs & rounds /forecasters/jobs and rounds . Forecast jobs. Job 1 is the Flagship job. Query: vault , active , limit , offset . One job with its latest round, its latest CrowdPay day and its whitelist size. Posted rounds, newest first. Query: limit , offset . The job's forecaster whitelist. Query: limit , offset ."},{"href":"/api#crowdpay","page":"REST API","group":"API & agents","section":"CrowdPay","text":"Pots, payouts, bonds and slashes from HyperCrowdPay . See Bonds & pay /forecasters/bonds and pay . The job's daily pots, newest first: funding, commit, challenge window, veto, payout progress and reclaim. Query: status open , rolled , committed , paying , paid , vetoed , reclaimed , limit , offset . One day with its committed payout chunks. Pots funded, rolled and reclaimed. Query: job id , kind funded , rolled , reclaimed , limit , offset . Forecaster payouts, each split into the immediate part and the probation part. Query: job id , forecaster , day , limit , offset . Forecasters with bonds,"},{"href":"/api#data-providers","page":"REST API","group":"API & agents","section":"Data providers","text":"Feeds, subscriptions and royalties from DataProviderRegistry . See Data marketplace /data . Providers with fee, manager share, prepaid limit, approval rule, metadata URI, badge and totals. Query: active , owner , badge unverified , verified , flagship bootstrap , limit , offset . One provider with its vault approvals and live subscription count. Subscriptions with paid until time, locked terms, escrow and settlement totals. Query: vault , provider id , active , limit , offset . Per vault royalty settlements. Query: vault , provider id , limit , offset . Marketplace activity: registrations, app"},{"href":"/api#revenue","page":"REST API","group":"API & agents","section":"Revenue","text":"HyperRevenueRouter lanes and flows. See Revenue router /revenue . Router state with lane splits and lifetime totals, the buyback and locker lanes reserve, releasable, scheduled, end of the drip , today's revenue and 7 day and 30 day counted revenue. active at stays null until the lane is activated at token launch. Revenue per UTC day, newest first, split by lane, with uncounted inflows shown apart. Query: from day , to day , limit , offset . Recent router flows: revenue in, lane payouts, drips and releases. Query: kind , lane buyback , locker , counterparty , limit , offset . Revenue by payer,"},{"href":"/api#stock-pools-and-books","page":"REST API","group":"API & agents","section":"Stock pools and books","text":"Robinhood Chain: MakerHook pools, BookVault books, MakerPilot and HiveFund . A :pool is the pool id 0x bytes32 or the stock token address. See PropAMM overview /pools . One pool per stock: fair tick and its freshness, ask and bid fees, layout, idle inventory, breaker state, price, liquidity, swap count and USDG volume. Query: limit , offset . One pool with its book, recent fair ticks and the last pilot step. Pool events. Query: kind , limit , offset . Fair tick history. Query: limit , offset . MakerPilot steps on the pool. Query: limit , offset . Hourly candles with prices in USDG per whole st"},{"href":"/api#nfts","page":"REST API","group":"API & agents","section":"NFTs","text":"Stingvestors and Fangvestors, their VestorPot and their curve sale. :collection is stingvestors or fangvestors . See Stingvestors & Fangvestors /nfts . Both collections with pot and curve. Collection stats: minted, burned, live, holders, curve price, pot balance and accrued value per NFT. Tokens with accrued pot value. Query: owner , burned , limit , offset . One token: owner, mint price, accrued pot value and whether it was burned and redeemed. Transfers of one token. Query: limit , offset . Tokens one owner holds, with the total accrued value. Pot history: flushes, diversions, seats opened a"},{"href":"/api#governance","page":"REST API","group":"API & agents","section":"Governance","text":"Timelocks, proxies, upgrades, pauses and roles on both chains. Query chain is optional on each omit for both . Timelocked changes with their kind, payload, valid at and status. Query: status pending default, accepted , revoked , all , contract , kind , limit , offset . Proxies with implementation, code hash, upgrade delay, frozen flag and any pending upgrade. Query: pending , frozen , limit , offset . Proxies with a pending upgrade. Pause domains, frozen setters and other paused switches. Role holders and pending transfers. Query: contract , limit , offset . Governance events. Query: contract "},{"href":"/api#wallets","page":"REST API","group":"API & agents","section":"Wallets","text":"One wallet across both chains. Vault and book positions with values, NFTs with accrued value, forecaster bonds and payouts, manager fees owed and data refunds owed. After token launch it also returns DGV balance, lock, locker rewards and depositor rewards. Vault, book and NFT activity across both chains, newest first. Query: chain , limit , offset ."},{"href":"/api#token","page":"REST API","group":"API & agents","section":"Token","text":"DGV routes. DGV launches later on Hyperliquid, so until token launch GET /token returns \"live\": false with zero totals, the lists are empty, and GET /token/sale and GET /token/comb return 404 . See DGV launch /token . DGV at a glance: address, supply, holders, claimed, emitted, locked, lockers, sale, Comb and the latest locker epoch. Holders, largest first. Query: limit , offset . Transfers. Query: account , limit , offset . DGVClaim claims. Query: account , limit , offset . DGVSale state: price, window, caps, sold, raised and buyers. Sale buyers. Query: limit , offset . Purchases and vested c"},{"href":"/api#related","page":"REST API","group":"API & agents","section":"Related","text":"WebSocket /api/websocket Live events per vault, job, pool or wallet, with cursor resume. Agents, MCP & llms.txt /agents Give an AI agent the docs and a hot key. Networks & status /network Chains, system addresses and deployment status. How DegenHive works /how it works Protocol overview, roles and economics."},{"href":"/api/websocket","page":"WebSocket","group":"API & agents","section":"WebSocket","text":"Live DegenHive events over one multiplexed WebSocket, with per-channel sequence numbers and cursor resume after a reconnect. The WebSocket streams what the indexer sees on both chains, as it commits each block. One connection multiplexes many channels: a chain, a vault, a forecast job, a stock pool or a wallet. No key is needed. Frames are JSON text in both directions. Events are hints, not full state. Each one names what changed a vault, a kind, an account, an amount so you can refetch the object from the REST API /api . Treat the REST response as the source of truth and the WebSocket as the "},{"href":"/api/websocket#client-messages","page":"WebSocket","group":"API & agents","section":"Client messages","text":"Send one JSON object per text frame. Each has an op . cursors is optional. It maps a channel to the last seq you processed, and the server replays newer buffered frames for that channel see Resume after a reconnect resume after a reconnect . Binary frames from the client are not accepted; the server answers them with an unsupported binary error."},{"href":"/api/websocket#server-messages","page":"WebSocket","group":"API & agents","section":"Server messages","text":"op Fields When subscribed channels , cursors , rejected Reply to subscribe . cursors holds each accepted channel's latest seq . rejected lists names that are not valid channels or that pass the per connection limit. unsubscribed channels Reply to unsubscribe event channel , seq , envelope An indexed on chain event on a channel you hold candle channel , seq , candle The current, unfinished candle of a stock pool pong ts ms Reply to ping heartbeat ts ms Sent by the server every heartbeat interval error code , message A command could not be parsed invalid message or was a binary frame unsupported"},{"href":"/api/websocket#channels","page":"WebSocket","group":"API & agents","section":"Channels","text":"Channel names are case insensitive and canonicalized to lowercase. <chain is a numeric chain id: 999 for HyperEVM or 4663 for Robinhood Chain. Addresses are 0x plus 40 hex digits and pool ids 0x plus 64. Channel Carries head:<chain New indexed block heads head reorg:<chain Reorg notices reorg notice vaults:<chain All vault activity on the chain: HyperVaults on 999, BookVaults on 4663 vaults:<vault vault activity and engine activity of one vault engines:<chain All engine activity engines:<engine engine activity of one engine maker:<chain All maker activity : swaps, fair ticks, pilot steps, Hive"},{"href":"/api/websocket#resume-after-a-reconnect","page":"WebSocket","group":"API & agents","section":"Resume after a reconnect","text":"Every channel numbers its frames with a strictly rising seq , and keeps its last 256 frames in a ring buffer. To resume: 1. Store the last seq you processed for each channel. 2. After reconnecting, send subscribe with those values in cursors . 3. The server replays every buffered frame with a higher seq , then streams live frames. Replayed frames can arrive just before the subscribed reply, so order by seq . The buffer cannot cover every gap. It holds only 256 frames per channel, and per entity channels one vault, one job, one wallet drop their buffer once nobody listens. Chain wide and candle"},{"href":"/api/websocket#heartbeat-and-limits","page":"WebSocket","group":"API & agents","section":"Heartbeat and limits","text":"The server sends a WebSocket ping and a JSON heartbeat every 20 seconds the default heartbeat interval . Any frame you send, including the pong your client library sends automatically, counts as activity. If the server hears nothing from you for two intervals plus 5 seconds 45 seconds by default , it closes with code 1001 and reason heartbeat timeout . Clients that cannot see protocol pings should send {\"op\":\"ping\"} every 20 seconds. Close code Reason What to do 1001 heartbeat timeout Reconnect and resume with cursors 1008 slow consumer Your outbound queue 256 frames filled up. Read faster or "},{"href":"/api/websocket#examples","page":"WebSocket","group":"API & agents","section":"Examples","text":""},{"href":"/api/websocket#related","page":"WebSocket","group":"API & agents","section":"Related","text":"REST API /api Refetch full state for anything an event names. Networks & status /network Chain ids and what runs on each chain. Agents, MCP & llms.txt /agents Point an AI agent at the docs."},{"href":"/agents","page":"Agents, MCP & llms.txt","group":"API & agents","section":"Agents, MCP & llms.txt","text":"The machine-readable surface of these docs, a prompt to hand your agent, hot keys, and the forecasting MCP that opens with Season 0. These docs are written to be read by agents as well as people. Every page has a plain Markdown copy, and the whole site comes as one text file. !IMPORTANT The forecasting MCP and the forecast intake service open with Season 0. Until then, no MCP server or API accepts forecasts."},{"href":"/agents#machine-readable-docs","page":"Agents, MCP & llms.txt","group":"API & agents","section":"Machine-readable docs","text":"Path What it serves /llms.txt /llms.txt Ground rules for agents, then every page with a one line description /llms full.txt /llms full.txt Every page in nav order, in one plain text file /<page .md Any page as Markdown, for example /forecasters.md /forecasters.md . The home page is /index.md /skill.md /skill.md A skill file: the networks, the status, and which page answers which task /search.json /search.json The search index: one entry per section, with href , page , group , section and text The Markdown copies replace diagrams with their text descriptions and calculators with a summary of wh"},{"href":"/agents#give-this-to-your-agent","page":"Agents, MCP & llms.txt","group":"API & agents","section":"Give this to your agent","text":"Paste this into Claude, Cursor, or any agent that can fetch URLs:"},{"href":"/agents#hot-keys-for-agents","page":"Agents, MCP & llms.txt","group":"API & agents","section":"Hot keys for agents","text":"An agent that forecasts never holds the bond. The bond sits in a cold wallet, which binds the agent's hot key on chain with setAgentKey and acceptAgentKey . The key can sign for the forecaster but cannot move money, unstake, or redirect pay. The steps and their reverts are in the quickstart /forecasters ."},{"href":"/agents#forecasting-mcp","page":"Agents, MCP & llms.txt","group":"API & agents","section":"Forecasting MCP","text":"The forecasting MCP and the intake API open with Season 0. They will cover open rounds, submissions signed by your hot key, and your record. Their tool names, endpoints and message formats publish on this page and in /llms.txt /llms.txt at that time. Until then, read jobs, rounds and payouts from the REST API /api and the WebSocket /api/websocket ."},{"href":"/agents#related","page":"Agents, MCP & llms.txt","group":"API & agents","section":"Related","text":"Forecaster quickstart /forecasters Bond, bind a hot key and check eligibility. REST API /api Read only data for vaults, rounds, payouts and pools. Bonds & pay /forecasters/bonds and pay How bonds, daily pots and probation work. Writing a model /forecasters/writing a model A Python skeleton for a round's weight vector."}]