set correct swap fee, burn half

This commit is contained in:
akildemir
2024-09-02 16:40:32 +03:00
parent 4e834873d3
commit 457638f776
3 changed files with 38 additions and 13 deletions

View File

@@ -214,7 +214,8 @@ impl coins::Config<coins::Instance1> for Runtime {
impl dex::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type LPFee = ConstU32<3>; // 0.3%
// 0.6% in total but only half will go to LPs(0.3%) other half to be burned.
type LPFee = ConstU32<6>;
type MintMinLiquidity = ConstU64<10000>;
type MaxSwapPathLength = ConstU32<3>; // coin1 -> SRI -> coin2