HODLHODL Docs

Redeem


Step by Step

  1. Go to My Positions
  2. Your current HDL balance and its estimated value are shown
  3. Click Redeem
  4. Review the expected MOTO and PILL amounts you will receive
  5. Confirm in OPWallet
  6. Your entire HDL balance is burned and MOTO + PILL arrive in your wallet in the same transaction
Redemption is all-or-nothing in v1. The entire HDL balance is redeemed in one call. Partial redemptions are not supported yet.

What You Receive

You receive your proportional share of every token in the vault:

MOTO out = vault MOTO balance × (your HDL / total HDL supply)
PILL out = vault PILL balance × (your HDL / total HDL supply)

If NAV has risen since you deposited, the MOTO-equivalent value of what you receive will be greater than what you put in. The difference is your realised yield.

Example: You deposited 100 MOTO and received 10 HDL (NAV = 10). After yield accrues, NAV = 13. On redemption, your 10 HDL is worth 130 MOTO-equivalent — split proportionally between MOTO and PILL based on current vault composition.

Partial Withdrawals

Partial withdrawals are not supported in v1. If you want to reduce your position without fully exiting, consider using claimProfit() instead — it lets you harvest accrued yield without touching your HDL balance.

A withdraw(amount) variant that supports partial redemptions is planned for a future contract version.