primitivefinance / DFMM

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

Add `BaseParams` struct to Strategy Params #134

Open kinrezC opened 3 months ago

kinrezC commented 3 months ago

Every strategy has swapFee and controller params, dealing with the encoded params data would be slightly easier if these were pulled into a struct so that you only have to deal with the strategy specific params.