galacticcouncil/Basilisk-node

Make trading fees configurable for each pool

jakubgregus opened this issue · 1 comments

type GetExchangeFee: Get<(u32, u32)>;

i think we can make this change with minimal impact on the API and existing code by introducing new storage with a fee per pool (current constant will be the default) and extrinsic set_fee callable by the specified origin.

The question is who (the origin) will be able to set the fee? referendum?