581,250 - 90 = 581,140Is 581,140 above 'liquidity target'?Yes. The fees are 0.3%.90 SOL - 0.3% = 89.73 SOL
100,030 - 9030 = 91,000Is 91,000 above 'liquidity target'?No. We calculate the fees with the following formula:unstake_fee = max_fee - (max_fee - min_fee) * amount_after / targetunstake_fee = 3 - (3 - 0.3) * 91,000 / 100,000unstake_fee = 3 - 2.457 = 0.5439030 - 0.543% = 8980.9671 SOL