Register and share your invite link to earn from video plays and referrals.

Zealynx
@ZealynxSecurity
Blockchain & AI Security firm | Web3 Membership | Book a Smart Contract Audit (Solidity, Rust, TypeScript)
Joined April 2024
260 Following    1.5K Followers
Solidity integer division truncates toward zero. The Uniswap V3 tick bitmap needs floor division. For positive ticks, those are the same. For negative ticks, they are not. Get it wrong and a swap moving down through negative territory hunts for the next tick on the wrong side of the price. It is a recurring bug class in forks that "simplify" the library.
Show more