Skip to content

Technical Steps

Keno Dressel edited this page Nov 16, 2021 · 9 revisions

Swap

  1. Select ExactIn or ExactOut (depends on which number the user entered and which number is calculated)
  2. Search all existing trade pairs for a path via the sdk with a maximum of 3 total trades
  3. the sdk maps the trade request from the interface to actual contract calls in the router
Clone this wiki locally