primitivefinance / DFMM

Smart contracts of the DFMM protocol
https://www.primitive.xyz/blog/dfmm_protocol
18 stars 6 forks source link

feat: Parameter Changer #127

Closed 0xJepsen closed 3 months ago

0xJepsen commented 3 months ago

Should follow the same patterns for allocation and swapping where there are different parameter change types that impl a trait (i.e. price updater)

Then the behavior trait is implemented over the pool type and parameter change type