- 25 Jan, 2022 7 commits
-
-
Zach Pomerantz authored
* fix: track swap approvals * fix: type ambiguous return value
-
Zach Pomerantz authored
* fix: disable swap button w/o account * nit: indent less
-
Tina authored
* read from query param and change networks if necessary * dont open network selector menu on url param change * prompt network change when url changes * keep url, network in sync * use chain name instead of id in url param * only prompt network switch if url chain doesnt match
-
Ian Lapham authored
* update slippage tolerance to use auto or custom * remove attempted styling for other PR * back out UI changes, small naming updates * remove UI work * small code style changes, fix typo * update comment to doc comment
-
Crowdin Bot authored
-
Crowdin Bot authored
-
Zach Pomerantz authored
* refactor: isolate approval callback hooks * fix: use approval callback from trade
-
- 24 Jan, 2022 2 commits
-
-
Justin Domingue authored
-
Justin Domingue authored
-
- 23 Jan, 2022 2 commits
-
-
Crowdin Bot authored
-
Will Hennessy authored
-
- 22 Jan, 2022 3 commits
-
-
Crowdin Bot authored
-
Crowdin Bot authored
-
Zach Pomerantz authored
-
- 21 Jan, 2022 6 commits
-
-
Crowdin Bot authored
-
Zach Pomerantz authored
* feat: filter selected currency from select * test: use infura urls * fix: load native with chain * fix: use currencyId for key * feat: switch currencies when selecting other * fix: resolve merge conflict name
-
Zach Pomerantz authored
-
Crowdin Bot authored
-
Ian Lapham authored
* 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>
-
Ian Lapham authored
-
- 20 Jan, 2022 4 commits
-
-
Crowdin Bot authored
-
Crowdin Bot authored
-
Jordan Frankfurt authored
-
Zach Pomerantz authored
-
- 19 Jan, 2022 4 commits
-
-
Crowdin Bot authored
-
Jordan Frankfurt authored
feat(widgets): add error reporting component, INTEGRATION ERROR type, and Missing provider error (#3110) * add error reporting component, INTEGRATION ERROR type, and Missing provider error * rename reporter to generator * pr feedback * refactor provider check * add chainId, convenienceFee, and width errors * pr feedback and convenienceFeeRecipient address enforcement * fix imports for utils
-
Zach Pomerantz authored
* fix: memoize derived swap info * fix: memoize current block timestamp * fix: memoize price impact * fix: memoize debounced value updates * fix: nits
-
Zach Pomerantz authored
* fix: token image for chains / natives * feat: include native currency in select - Updates widgets swap state to use Currency (and deals with downstream updates) - Refactors logoURI code to a new lib/hooks/useCurrencyLogoURIs - Adds native currency to useQueryTokenList NB: This does not build because tests must be updated to use Currency (they currently use mock tokens) * test: update fixtures to use real currency * fix: data uri color extraction * fix: token img state * fix: use new array
-
- 15 Jan, 2022 4 commits
-
-
Zach Pomerantz authored
* refactor: mv useNativeCurrency to lib/hooks * refactor: mv useCurrency logic to lib/hooks
-
Crowdin Bot authored
-
Ian Lapham authored
-
Ian Lapham authored
* add survey popup for survey monkey * update useEffect and add 24 hour window * upate % logic * update logic to show after duration * update timestamp conditional * small changes
-
- 14 Jan, 2022 4 commits
-
-
Crowdin Bot authored
-
Crowdin Bot authored
-
Zach Pomerantz authored
* refactor: mv gas estimate chains out of component * chore: replace microbundle with rollup * chore: use ts rollup config * chore: rename lib to widgets * chore: add rollup doc comment * feat: rollup typings * fix: retain tsconfig decl dir
-
Zach Pomerantz authored
* refactor: mv token list utils to lib * refactor: mv balance hooks to lib * feat: interactive token select
-
- 13 Jan, 2022 4 commits
-
-
Zach Pomerantz authored
* feat: mv block number to atom * fix: add block updater * fix: fast forward dep * refactor: mv multicall to lib * feat: add multicall to widget * chore: update widget deps * nit: pluralize updaters * chore: minimize deps
-
Zach Pomerantz authored
* feat: mv block number to atom * fix: add block updater * fix: fast forward dep
-
Jordan Frankfurt authored
Revert "add error reporting component, INTEGRATION ERROR type, and Missing provider error (#3107)" (#3109) This reverts commit ac2642fe.
-
Jordan Frankfurt authored
-