• Moody Salem's avatar
    Best trade (#20) · 22453c0c
    Moody Salem authored
    * First test for the best trade router
    
    * Share the array in the recursion
    
    * Comment
    
    * Add comparator methods and more tests
    
    * Fix the equalTo method on the fraction
    
    * add a todo, rename `n`
    
    * Best trade exact out, more tests
    
    * Faster sorted insert
    
    * Comment fix
    
    * Handle insufficient reserves and input amount errors
    
    * Test improvements, export best trade options
    
    * Improvements to fraction, make inputOutputAmount reusable
    
    * Make comparator more reusable
    22453c0c
Name
Last commit
Last update
..
constants.test.ts Loading commit data...
data.test.ts Loading commit data...
entities.test.ts Loading commit data...
fraction.test.ts Loading commit data...
miscellaneous.test.ts Loading commit data...
pair.test.ts Loading commit data...
trade.test.ts Loading commit data...