Skip to content

Commit

Permalink
Clamm (#39)
Browse files Browse the repository at this point in the history
* feat: add CLAMM pool and position data

* add bribeVotingReward

* refactor: make Clamm data types backwards compatible

* feat: add CLAMM pools to LpSugar

* refactor: remove separate CLAMM Sugar contract

* fix: rename staked_fee to pool_fee, inline clean ups

* fix: unify Pool interfaces, determine if is_cl_pool

* refactor: remove extra gauge interface

* fix: pass in tokens in args to save gas

* docs: add CL info to readme

* feat: add ALM filler data to LpSugar

* perf: reduce LpSugar MAX_POOLS/MAX_POSITIONS size

* fix: correct pagination, differentiate between MAX_LPS and MAX_POOLS

* feat: add external tokensByAddress function

* feat: add pool_fee to forswaps, update v2 claimable unstaked fees

* Default v2 positions to be empty array

* refactor: add custom token addresses to tokens()

---------

Co-authored-by: Stas <[email protected]>
  • Loading branch information
ethzoomer and stas authored Jan 16, 2024
1 parent bc690bb commit f1d3b4d
Show file tree
Hide file tree
Showing 2 changed files with 320 additions and 52 deletions.
Loading

0 comments on commit f1d3b4d

Please sign in to comment.