#solidity #alloy #uniswap #ethereum

no-std uniswap-lens

A library for querying Uniswap V3 using ephemeral lens contracts

8 releases (5 breaking)

new 0.5.0 Oct 20, 2024
0.4.0 Oct 4, 2024
0.3.0 Sep 13, 2024
0.2.1 Sep 2, 2024
0.0.2 Jul 21, 2024

#427 in Magic Beans

Download history 345/week @ 2024-07-20 34/week @ 2024-07-27 313/week @ 2024-08-31 136/week @ 2024-09-07 73/week @ 2024-09-14 19/week @ 2024-09-21 180/week @ 2024-09-28 66/week @ 2024-10-05 29/week @ 2024-10-12

297 downloads per month
Used in uniswap-v3-sdk

Apache-2.0

4MB
81K SLoC

Uniswap-Lens

Foundry Node.js Rust

npm version crates.io

A library for querying Uniswap V3 using ephemeral lens contracts.

Features

  • Lens contracts in Solidity using the revert-in-constructor pattern
  • Rust SDK for querying lens contracts using alloy-rs
  • TypeScript SDK for querying lens contracts using viem

Note on no_std

By default, this library does not depend on the standard library (std). However, the std feature can be enabled via the std feature flag.

Dependencies

~39MB
~726K SLoC