Skip to content

[refactor] streaming swaps tweaks #check-lint-warning

Son of Odin requested to merge streaming-swaps-p2 into develop

this PR makes a few small modifications. Best to review this PR commit by commit

  • rename mimirs
  • rename frequency --> interval
  • additional attributes to quotes endpoint
  • native<>native streaming swaps can occur for 1 year (instead of 24hrs)
  • algo change to the calculation of the virtual pool between two pools of a streaming swap. This one keeps a basis points fee more accurately
  • change "MinBP" mimir to specify the target swap fee in basis points instead of swap size
  • added regression tests for streaming swap quotes endpoint, fixed found bugs
Edited by Son of Odin

Merge request reports

Loading