Skip to content

zenlink protocol v0.4.3

Compare
Choose a tag to compare
@icodezjb icodezjb released this 02 Jul 09:01
· 238 commits to master since this release
  • Update dependencies to polkadot-v0.9.5
  • Remove GetExchangeFee, use static 0.3% exchange fee rate which is required for the protocol fee config
  • Add protocol fee manage feature: this is refer uniswap mint_fee
    • fee_admin: the admin of the protocol fee
    • fee_receiver: the account whom the protocol fee send to
    • fee_point: the proportion of protocol fee. it is an integer between [0,30].
      0 means no protocol fee, 30 means 0.3% * 100% = 0.0030, default is 5 and means 0.3% * 1 / 6 = 0.0005.