# DGV launch

> 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.

Source: https://docs.degenhive.ai/token

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](https://docs.degenhive.ai/network.md).

DGV is not equity and never a share of a vault. Before the token, the protocol builds USDC reserves in [`HyperRevenueRouter`](https://docs.degenhive.ai/revenue.md) for buybacks and lock yield.

## DGV facts

| 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.

## Launch sequence

> **Figure: Token launch sequence.** The token arrives in nine ordered steps on Hyperliquid, and the reserves held since launch start to drip at steps 7 and 8.
>
> Nine numbered steps in order. 1. HIP-1 deploy: the spot token on HyperCore. 2. DGV: 1 billion supply, 6 decimals, an immutable ERC-20 linked to the HIP-1 token. 3. Locks: HyperDGVLocks, then enableStaking(). 4. DGVClaim: Robinhood DGV holders claim 1:1, plus Stingvestor patrons and Season 0. 5. DGVSale: a fixed USDC price and a linear vest. 6. Emissions: HyperBookRewards and DGVEmissions. 7. Buyback: OrderBookComb and activateBuyback(), a 90-day drip. 8. Locker yield: activateLocker(), a 30-day drip. 9. DGV bonds: startDgvBonds() with a 7 to 60 day window.

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. **Buyback**: `OrderBookComb` becomes the router's buyback executor, and `activateBuyback()` drips the buyback reserve over 90 days.
8. **Locker yield**: `activateLocker()` drips the locker reserve over 30 days.
9. **Forecaster bonds**: `HyperCrowdPay.startDgvBonds(window)` moves bonds from USDC to DGV over a 7 to 60 day window.

## Claims

`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:

**ts**

```ts
import { StandardMerkleTree } from "@openzeppelin/merkle-tree";

// leaf = keccak256(bytes.concat(keccak256(abi.encode(account, amount))))
const tree = StandardMerkleTree.of(allocations, ["address", "uint256"]); // [[account, amount], ...]
const proof = tree.getProof([account, amount]);
```

Errors: `ClaimNotOpen`, `AlreadyClaimed`, `InvalidProof`, `ZeroAmount`.

## Sale

`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`.

## Emissions

`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.

`Daily release`

```math
amount = min( rate * R / 30, (R / 30) / dgvPrice, dailyCap, balance )
```

`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 rate or cap | Immediate |
| Raising rate or cap | 48 hours, once the first `release()` has run |
| Destination | `HyperBookRewards.notifyDgvReward` only |

> **Interactive simulator (DGVEmissions daily release (at token launch)):** At token launch. `R` = HyperRevenueRouter counted revenue of the 30 complete UTC days before today. Daily release = `min(R * rate / 30, R / (30 * price), dailyCap, balance)` with `rate` in DGV per $1 (max 1000), `price` = `HyperBookRewards.dgvPriceUsdc()` (7-day EMA; 0 means no release), `dailyCap` max 2,000,000 DGV. HyperBookRewards streams it over 24 hours: `curatedBucketBps` (default 4000) by council weights, the rest by each vault's 15-day protocol-fee EMA. A vault's dynamic DGV is capped at `feeEmaDecay * dynamicRoiCapBps / 10000` USDC at the price (default 2500 bps); in steady state the decay equals daily protocol fees. The excess waits in the buffer.

## LP rewards

`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 days, an early exit of that DGV burns the higher of the lock's exit burn and a loyalty burn that starts at 50% and falls to 0. |
| `startLiquidVest(vaults)` then `claimVestedDgv()` | 100%, vesting linearly over 30 days |
| `claimDgv(vaults)` | 50% now; the other 50% is burned |

Locking DGV also earns a rebate. While `HyperBookRewards` is set, 20% of each performance fee is offered back to rebate shares:

| Lock value vs counted deposits | Reward shares | Fee rebate |
|---|---|---|
| ≥ 5% | 1.75x | 10% of the performance fee |
| ≥ 10% | 2.50x | 20% of the performance fee |

## Locks

`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)`.

`Lock power and early-exit burn`

```math
power = amount * (0.25 + 0.75 * min(weeksLeft, 52) / 52)      // 0 after the end, 100% if permanent
burnBps = 1000 + 4000 * min(weeksLeft, 52) / 52                // 50% falling to 10%; permanent: 50%
```

`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.

## Lock yield

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.

## Buybacks

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.

## Supply split

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.

## Related

- [Revenue](https://docs.degenhive.ai/revenue.md) The reserves that fund buybacks and lock yield.
- [Vault fees](https://docs.degenhive.ai/vaults/fees.md) Performance-fee rebates and LP reward gauges at token launch.
- [Networks & status](https://docs.degenhive.ai/network.md) HyperEVM endpoints and deployment status.
