Open jakubgregus opened 2 years ago
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?
https://github.com/galacticcouncil/Basilisk-node/blob/9624ace5a4a041c68840262a99ff2c3269159268/pallets/xyk/src/lib.rs#L94