-
Noah Zinsmeister authored
* remove duplicated prettier from dependencies * use swr for allowances * slight improvements to error cascading * fetch totalsupply with SWR fetch pairs with SWR (except persistent pairs, will be refactored later) * fix lint error * stop using pair context, instead store per-user pairs in local storage * add more pairs to the default list remove unnecessary isWETH fix lint error * add more bases to trade consideration * fix lint warnings * get SWR data on same schedule * don't pass value if it's 0 fix WETH equality checks * clean up fixed/significant formatting * fix slippage calculation bug in swap add slippage to remove * fix token logos * show fewer sig figs * lint error * remove unused signer * add calculateSlippageAmount safety check and tests * fix useAllBalances type stop spuriously sorting token amounts of different tokens use slightly better comparisons for slippage calculations * improve priceSlippage comparison logic * useReserves -> usePair * use checksum for DAI logo address
d40d81ca
Name |
Last commit
|
Last update |
---|---|---|
.github | ||
cypress | ||
public | ||
src | ||
.env | ||
.eslintrc.json | ||
.gitignore | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
cypress.json | ||
netlify.toml | ||
package.json | ||
tsconfig.json | ||
yarn.lock |