Early Withdrawal Cost Calculation
Early Redemption of Freezer NFTs has a variable frETH fee and a 0.25% WETH penalty.
Date
Progress
frETH Fee
WETH Penalty
Last updated
Early Redemption of Freezer NFTs has a variable frETH fee and a 0.25% WETH penalty.
Last updated
// Identifying Cost to Withdraw in frETH
# mint_amount = amount WETH deposited * (days locked / 365)
# time_locked = # days locked
# time_passed = current date - date locked (measured in days)
cost_to_withdraw = function(mint_amount, time_locked, time_passed){
progress = time_passed / time_locked
# On or after maturity date it is 0 frETH fee (and 0 WETH penalty)
# to redeem the NFT.
if(progress >= 1){
return(0)
}
# Prior to the breakeven date frETH fee reduces
# from 1.2x frETH minted to 1x frETH minted. 0.25% WETH penalty.
if(progress < 0.67){
return(
mint_amount + (0.2 * mint_amount * ( 1 - progress / 0.67))
)
# After the breakeven date (2/3rds of lock time)
# frETH fee rapidly falls from 1x frETH minted to 0 frETH.
# 0.25% WETH penalty applies until maturity date.
} else {
return (
mint_amount * (
1 - ( (progress - 0.67)/0.33 )
)
)
}
}