feat: Update swap state structure and attach to UI (#3155)
* refactor: mv settings state to own file
* chore: add default exports
* refactor: update swap state to match biz logic
* feat: copy biz logic to widgets
* Hook up UI to updated swap state
* fix: decimal inputs
* fix max slippage
* fix error in settings
* fix: typing errors
* revert: useBestTrade changes
* fix: use client side trade for widgets
* fix: exhaustive deps
* chore: add router-sdk
* fix: gate old web3 on widget env
* fix building errors
* update trade imports
* update hook naming for swap amount and currencies
* small changes
Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org>
Showing
src/lib/hooks/swap/index.ts
0 → 100644
src/lib/state/settings.ts
0 → 100644
Please register or sign in to comment