Basilisk-node icon indicating copy to clipboard operation
Basilisk-node copied to clipboard

Make trading fees configurable for each pool

Open jakubgregus opened this issue 3 years ago • 1 comments

https://github.com/galacticcouncil/Basilisk-node/blob/9624ace5a4a041c68840262a99ff2c3269159268/pallets/xyk/src/lib.rs#L94

jakubgregus avatar Sep 21 '22 17:09 jakubgregus

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?

mrq1911 avatar Sep 22 '22 10:09 mrq1911