add a currency entity for ether (#26)
* add a currency entity * revert test change, remove unnecessary `as any` * remove unnecessary truthy assertions * support currency amounts for input/output of trades * support currency amounts for input/output of trades * allow routes to encode if they end in ETH/WETH * get the trade/route to support ether input/output * router test * add some todos * working best trade exact in * working best trade exact out * remove only * tests for exact in router methods * complete the router tests * add value as an output swap parameter
Showing
src/entities/currency.ts
0 → 100644
This diff is collapsed.
src/router.ts
0 → 100644
test/route.test.ts
0 → 100644
test/router.test.ts
0 → 100644
Please register or sign in to comment