• Moody Salem's avatar
    add a currency entity for ether (#26) · 14aeb6ed
    Moody Salem authored
    * 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
    14aeb6ed
pair.ts 7.94 KB