brendon (brendon)

brendon

blockchains

21 Followers

Recent casts

one of the most underrated aspects of rust is that bad code is often painfully obvious. abusing interior mutability, unnecessary cloning, fighting the borrow checker, unwraps, etc., are all glaring anti-patterns. similar bad practices aren’t always evident in other languages.

  • 0 replies
  • 0 recasts
  • 0 reactions

Top casts

ah, i see what you mean. i think they're just looking for an active tick and then iterating by the tick spacing to display the liquidity between ticks. liquidity only really makes sense in ranges between ticks.

  • 1 reply
  • 0 recasts
  • 0 reactions

perhaps not relevant to newcomers, but pinning can be difficult to grasp at first

  • 0 replies
  • 0 recasts
  • 1 reaction

not sure about the example, but during a swap the next initialized tick will be less than or equal to the current tick if the swap is zero for one (trading token0 for token1).

  • 1 reply
  • 0 recasts
  • 0 reactions

the gh "command palette" (cmd/ctrl + k) is quite good for navigation and scoped search. definitely a lot better than the regular search bar.

  • 0 replies
  • 0 recasts
  • 3 reactions

Onchain profile

Ethereum addresses

    Solana addresses