mediumLogic errorEVM-Solidity
Krystal DeFi: `_deductFees()` is incompatible with tokens that revert on zero value transfers
- Payout
- $0
- Protocol
- Krystal DeFi
- Disclosed
- Jul 12, 2024
- Source
- code4rena
Krystal DeFi's shared fee-deduction helper, Common._deductFees(), computes each token fee with a 64-bit fixed-point multiplication that rounds small fee-by-amount products down to zero. Because the transfer is gated only on the pre-fee amount being positive, a …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-06-krystal-defi-findings/issues/21
- https://github.com/code-423n4/2024-06-krystal-defi-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.