Docs menu: Principal in HYPE, prize in kHYPE
Principal in HYPE, prize in kHYPE
How a deposit is booked
A deposit of k kHYPE at Kinetiq's rate r is booked as principal p = k x r, in HYPE. The vault keeps the kHYPE. Your principal changes only when you deposit or withdraw; no draw, keeper or owner call can lower it.
Where the pot sits
As Kinetiq's rate rises, the vault's kHYPE is worth more HYPE than it owes. The pot is that difference, counted in kHYPE:
pot = balance(kHYPE) - ceil(totalPrincipal / rate)Rounding always favours savers: what the vault owes is rounded up, so the pot can only be smaller, never larger than the real yield.
Withdrawing
withdraw(amount) takes amount HYPE of principal and pays amount / rate_now kHYPE. You receive fewer kHYPE than you deposited, worth the same HYPE. Nothing is unstaked, so nothing waits on Kinetiq's unstaking queue, a keeper or a draw.
If Kinetiq's rate ever fell below the rate at which deposits arrived, every withdrawal would be paid pro rata from what the vault holds, so no saver could exit ahead of the others at their expense.