Withdrawals
A normal WeedChef withdrawal reduces your credited stake and returns the supported staking token.
#Normal withdrawal
The contract updates the pool, settles the user’s reward accounting, checks the requested amount against credited principal, reduces both user and pool totals, and transfers the requested staking token to the user.
A partial withdrawal leaves the remaining amount staked. A full withdrawal reduces the pool’s active allocation denominator when it removes the last credited stake from that pool.
#Harvest timing
Withdrawal calls the same reward settlement logic used by harvest. If the timer is open, accounted base rewards can transfer. If it is closed, newly pending rewards remain locked while the requested principal still returns.
#Pause behavior
Deposit pause blocks new deposits. WeedChef's own rewards pause advances its global timestamp before both pause and resume, so that interval is not later requested from the controller. Neither WeedChef pause blocks the normal principal-withdrawal function. The separate EmissionController pause has an unresolved resume-accounting flaw described in the security documentation.
#What you receive
WeedChef returns its staking token. For a vault farm, that means ERC-20 vault shares, not the two underlying pool tokens. Redeeming those shares is a separate vault withdrawal with its own minimums, deadline, and range risks.
#Withdrawal checklist
- Confirm the farm, staking token, and credited amount.
- Choose a partial or full amount.
- Check whether rewards are harvestable or will remain locked.
- Review the recipient and wallet transaction data.
- After confirmation, verify the principal transfer and updated stake from chain data.
