e68e1afd9d
50 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Zach Pomerantz
|
ac962fb00d
|
refactor: separate useActiveWeb3React (#3106) | ||
Zach Pomerantz
|
90dfdc6bef
|
feat: populate the widget token selector (#3080)
* feat: swap defaults * refactor: mv token list utils to lib * feat: expand fetchTokenList to include inlined * feat: simple widget token list * fix: token img props * feat: use token list in selector * fix: update useColor for optional logoURI * fix: avoid leaking deps * chore: add state to lib build * chore: mv devDeps to deps for lib * fix: microbundle css import * fix: match ethers versions * fix: use color callback * chore: clean up token info type * chore: widget type simplification * refactor: share token map code * test: include list in token select fixture * fix: no tokens without chain id |
||
Jordan Frankfurt
|
f9fc506db4
|
chore: merge widgets work into main (#3065)
* feat: design system (#2622) * refactor: mv setInterval to lib (#2621) * chore: widget tooling (#2620) * chore: remove global styles from cosmos viewer * chore: add generated svgs to bundle * chore: alias lib within lib * feat: widgets swap settings and arch (#2629) * style: update theme * feat: grid-based row/column * feat: widget/modal arch * feat: tooltip arch * feat: atoms arch * feat: swap settings * chore: update deps * fix: input width * refactor: modularize Tooltip * feat: add grow to Row * style: true prop * refactor: clean NumericInput * fix: customizable data structure * chore: sort styled-components * fix: import ReactNode * fix: svgr index generation * chore: run tests on widgets (#2635) * chore: widgets nits (#2636) * fix: restrict type color to theme * feat: add types * fix: input width * fix: header divider * fix: eslint * fix: color name * fix: use inputs for a11y (#2646) * fix: clearable customizable * feat: accent hovered select option * feat: custom slippage color * fix: use buttons for a11y * fix: widgets styles (#2654) * style: add body1 * refactor: modularize theme/components * refactor: modularize all text Input * fix: toggle opacity * test: fixture arch * feat: rm gas price select * fix: toggle styles/strings * feat: mock toggle * fix: dialog overflow clipping * fix: mix-blend-mode for safari * fix: clip-path for safari svg * fix: mock toggle content * fix: input margin * fix: input and cursor * fix: validate . input * fix: unused useMemo * feat: widgets empty state (#2657) * refactor: TextButton * feat: inline icons * feat: swap empty state * feat: define TokenSelect * fix: always inline icons * feat: recent transactions (#2661) * feat: wallet button * fix: tx deps * feat: widgets token select (#2685) * fix: line height of 1 * fix: button margin * fix: update styles * feat: token select * refactor: mocks and types * feat: close dialog on esc * feat: focus input on token select * refactor: layer swap elements * feat: use token color * fix: widget theme * fix: use vibrant * chore: lodash types * fix: fixture props * feat: smoother color extraction * fix: vibrant dep * perf: extract input token color too * feat: eased token background * feat: token color prefetching * chore: mv polished to deps * chore: package management * fix: token background transition * fix: better color transitions * feat: widgets UI (#2742) * feat: add swap states * fix: widget-global box-sizing * feat: desaturate and opacity on token approval * feat: red balance on balance insufficient * fix: states * feat: action button * refactor: action button * feat: loading spinner border * fix: typescript errors * fix: token color transition * fix: unused typings * feat: swap summary sans tooltip * refactor: swap state * feat: swap summary * refactor: simpler swap names * fix: cutoffs around footer * refactor: recent txs * refactor: buttons * feat: tx status * fix: consistent formatting * feat: tx error * test: tx error * test: widget decorator * style: theming * fix: clean up dialogs * fix: clean up swap * fix: clean up overlays * fix: action button text on hover * fix: pickAtom * fix: pickAtom typings * fix: smoother error transition * feat: enter for toggle * fix: select tabbing * refactor: simplify dialogs * feat: widgets polish (#2757) * fix: loading spinner fallback for safari * fix: use border for focus * refactor: token options * fix: use react toggle event * fix: token select * fix: inert content when modal * fix: windowed token select * chore: mv windowing utils to deps * fix: windowing with no rerender * feat: widget i18n (#2765) * feat: configure widget i18n * i18n: wrap translatable strings in macros * fix: rm lib/locales * refactor: t to trans * feat: cosmos locale selector * chore: widgets nits (#2786) * fix: tooltip color * fix: tx ttl tooltip * fix: tooltip positioning * fix: token list padding top * style: responsive tx * nit: fix summary copy * chore: change byline * feat(widgets): add new @web3-react cosmos decorator (#2799) add new @web3-react cosmos decorator and provider api to widget * feat: token color mock (#2878) * chore: merge main into widgets (#2893) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: center focused outline card (#2625) * fix: add usdc to arbitrum/optimism common bases (#2641) * remove WETH from optimism bases (#2640) * use l2 logos in base pairs (#2634) * fix: split calls into more chunks if they fail due to out of gas errors (#2630) * fix: split calls into more chunks if they fail due to out of gas errors * set to 100m gas * back to 25m so we batch fewer calls * do not pass through gas limit, some simplification of the code * unused import * fix: restrict @davatar usage to avoid 3p fetches (#2649) * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): ensure chainIds match before fetching pool data (#2652) * ensure chainIds match before fetching pool data * debounce both input currencies, and only look for pairs on currencies that share a chainId * pr feedback * fix: use optional operator for chainId (#2666) * chore: update token list (#2670) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: update token list (#2671) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: extend privacy and terms (#2623) * initial iteration * add logging * added hook * polish * remove unused import * add hash * addressed pr feedback * remove autorouter icon * use firebase store * style * adjust recat ga * log remove liquidity * update copy * addressed pr feedback * addressed pr feedback * prevent privacy content from dismissing modal * make top-level key origin * use hostname * restore trm * chore(i18n): synchronize translations from crowdin [skip ci] * log full signed tx (#2681) * refactor monitoring (#2682) * chore: set final privacy learn more link' (#2684) * add learn more button * add final link * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: back arrow bug in wallet modal and fill tx for wallet (#2687) * add tx to wallet connect * remove id from env * restore env * block import of unsupported tokens (#2673) generalize custom import token block ui * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps-dev): bump @uniswap/token-lists (#2699) * chore(i18n): synchronize translations from crowdin [skip ci] * try out 'dimension1' (#2704) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: walletconnect modal re-open after user rejection (#2693) Co-authored-by: M0kY <moky@example.com> * chore: update unsupported token list (#2689) * chore: update unsupported token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: memoize the list stuff so the tokens are consistently clickable (#2724) * chore(i18n): synchronize translations from crowdin [skip ci] * feat: update cmc list link (#2710) * update cmc lists * update CMC url * add token to unsupported list (#2732) * don't overwrite localstorage lists when fetch throws (#2723) * try cd1 for custom dimension (#2734) * fix: Update walletlink-connector to 6.2.8 (#2655) * Update walletlink-connector to 6.2.5 which has a walletlink update to support addEthereumChain+switchEthereumChain requests * Update walletlink-connector to 6.2.7 * Update walletlink-connector to 6.2.8 * fix: Parse latest proposal description correctly * add proposal start time (#2738) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: #2741 Increase liquidity form off center (#2746) * fix: bump to latest token list including ENS token * fix: remove deprecated optimism status url (#2771) * feat: Menu update. Add help center & feature requests. Remove analytics & github. (#2709) * Add help center, remove analytics from menu * Add canny feature requests link, remove github link * add coffee icon * no unused imports eslint rule (#2773) * chore(i18n): synchronize translations from crowdin [skip ci] * add protocols param to quote endpoint (#2774) * add protocols param to quote endpoint * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: lint error (#2775) * fix(optimism): Optimism regenesis support (#2703) * feat(optimism): optimistic kovan local regenesis changes * use the regenesis version of the sdk * remove the override no longer necessary * diff rpc url * back to kovan url * lint error * Optimism mainnet regenesis test (#2695) * remove the optimism mainnet specific code and point to the mainnet regenesis rpc url * point at the old mainnet multicall address * bump the sdk version * copy the list * multicall address regenesis change * revert the gas limit special casing for optimism * bump the sdk version * remove a couple other temporary edits * unused test case * specific version of v3-sdk * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: add support for 0.01% tier (#2769) * chore: add support for 0.01% tier * only show 1bps on mainnet * rename VERY_LOW to LOWEST * upgrade to v3-sdk 3.7.0 * add snapshot testing for lowest tier * fix integration test * fix integration test * use ALL_SUPPORTED_CHAIN_IDS over string all * consider 0.01% tier in pool (#2770) * merge main and only consider lowest tier for mainnet * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): update block warning updater to check most recent block timestamp (#2777) * update block warning updater to check most recent block timestamp * stop doing dumb state manipulation * fix: copy in network alert * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): remove redux from chain connectivity (#2781) * remove redux from chain connectivity * useMachineTimeMs instead of Date.now to force updates, useCurrentBlockTimestamp * use useInterval * change not created font size to 10 (#2785) * chore(i18n): synchronize translations from crowdin [skip ci] * fix: format date using Date.toLocaleString (#2459) * fix: format date using Date.toLocaleString Fixes #2458 * fix: date typings * chore(i18n): synchronize translations from crowdin [skip ci] * fix: broken link to docs (#2816) * chore: fix typo in useAllCurrencyCombinations.ts (#2778) occurence -> occurrence * chore: update typechain scripts for Windows (#2707) There are two errors when deploying on Windows system: 1. Using single quotes in path argument doesn't seem to be accepted in typechain command 2. `?(v3-core|v3-periphery)` operator doesn't work Here are fixes/workarounds. * perf: lazy load vote related routes (#2468) * perf: lazy load vote related routes * wrap Switch in Suspense * remove exact to match nested routes * fix nested routes * split Landing * fix * chore(i18n): synchronize translations from crowdin [skip ci] * fix: Enable 3085 requests for coinbase wallet (#2753) enable 3085 requests for coinbase wallet * feat: set the auto slippage tolerance by the dollar value of gas (#2815) * feat: set the auto slippage tolerance by the dollar value of gas * comments * min/max at 0.5% to 25% * oops on constant * address review feedback * Fixing #2818 (#2820) * Fix code style issues with ESLint * chore(i18n): synchronize translations from crowdin [skip ci] * fix: fix #2818 * chore(i18n): synchronize translations from crowdin [skip ci] * log an event on max click (#2827) * Add trailing slash to L2 info links (#2696) Some links were broken. For example on /pools/ page click the 'Top Pools' CTA. It would mistakenly direct you to info.uniswap.org/optimismpools instead of optimism/pools * fix(L2): block L2 tokens explicitly linked to L1 tokens that are blocked (#2721) * block L2 tokens explicitly linked to L1 tokens that are blocked * Fix code style issues with ESLint * check for support on all connectors, and disable when the connector (or lack thereof) no longer supports 3085 (#2824) * feat: display an ENS avatar (#2806) * feat: ens avatar resolution * chore: uninstall @davatar/react * fix: add avatar alt * feat: support data uris * feat: support arweave uris * feat: support erc721 avatars * feat: support erc1155 avatars * fix: jazzicon integration * fix: clean usage of status icon * fix: fix jazzicon svg offset * refactor: share status icon component * fix: pass memoized args to multicall * Update locales.ts (#2825) update Finnish from person (Suomalainen) to language (suomi) * chore(i18n): synchronize translations from crowdin [skip ci] * chore: fix the build blocking linter error * chore: run linters with auto_fix = false for forks (#2852) * fix: do not show urls if issue is not occurring on app.uniswap.org (#2855) * fix: do not show urls if issue is not occurring on app.uniswap.org fixes https://github.com/Uniswap/interface/issues/2572 * address comment * fix: remove orphaned node (#2863) * fix: remove orphaned node * fix: react cleanup * refactor: use ref for jazzicon (#2874) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps): bump ws from 5.2.2 to 5.2.3 (#2759) Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump url-parse from 1.5.1 to 1.5.3 (#2504) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add more tests for tryParseTick (#2110) * fix(lint): clean up the eslint config (#2886) * fix(lint): clean up the eslint config * Fix code style issues with ESLint * fix the linter errors that arose from using the proper config * clean up the rebass text renames * fix if statement, use the config * use the same name prefix for both steps * `TextPreset` -> `ThemedText` Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: Add routes for stakewise tokens (#2832) * Add additional routes for stakewise tokens * Reference StakeWise addresses with sdk tokens * Sort token imports * chore: yarn-deduplicate * chore: lint widgets * fix: use lib useInterval Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Micael Rodrigues <micaelr95@outlook.pt> Co-authored-by: Justin Domingue <judo@uniswap.org> Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com> Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com> Co-authored-by: Ian Lapham <ian@uniswap.org> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M0kY <46133205+M0kY@users.noreply.github.com> Co-authored-by: M0kY <moky@example.com> Co-authored-by: Will Hennessy <hennessywill@gmail.com> Co-authored-by: Brendan Weinstein <65564422+brendanww@users.noreply.github.com> Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> Co-authored-by: Ben Krochta <35636764+bkrochta@users.noreply.github.com> Co-authored-by: Moody Salem <moody.salem@gmail.com> Co-authored-by: Raj <sukhrajghuman@live.com> Co-authored-by: Ikko Ashimine <eltociear@gmail.com> Co-authored-by: Matthew Salamon <35425388+Matthews3301@users.noreply.github.com> Co-authored-by: Sam Chen <chenxsan@gmail.com> Co-authored-by: Ali Eray Kısabacak <eraykisabacak@hotmail.com> Co-authored-by: Kimmo S <kkpsiren@gmail.com> Co-authored-by: Dmitri Tsumak <tsumak.dmitri@gmail.com> * chore: merge main into widgets (#2923) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: center focused outline card (#2625) * fix: add usdc to arbitrum/optimism common bases (#2641) * remove WETH from optimism bases (#2640) * use l2 logos in base pairs (#2634) * fix: split calls into more chunks if they fail due to out of gas errors (#2630) * fix: split calls into more chunks if they fail due to out of gas errors * set to 100m gas * back to 25m so we batch fewer calls * do not pass through gas limit, some simplification of the code * unused import * fix: restrict @davatar usage to avoid 3p fetches (#2649) * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): ensure chainIds match before fetching pool data (#2652) * ensure chainIds match before fetching pool data * debounce both input currencies, and only look for pairs on currencies that share a chainId * pr feedback * fix: use optional operator for chainId (#2666) * chore: update token list (#2670) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: update token list (#2671) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: extend privacy and terms (#2623) * initial iteration * add logging * added hook * polish * remove unused import * add hash * addressed pr feedback * remove autorouter icon * use firebase store * style * adjust recat ga * log remove liquidity * update copy * addressed pr feedback * addressed pr feedback * prevent privacy content from dismissing modal * make top-level key origin * use hostname * restore trm * chore(i18n): synchronize translations from crowdin [skip ci] * log full signed tx (#2681) * refactor monitoring (#2682) * chore: set final privacy learn more link' (#2684) * add learn more button * add final link * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: back arrow bug in wallet modal and fill tx for wallet (#2687) * add tx to wallet connect * remove id from env * restore env * block import of unsupported tokens (#2673) generalize custom import token block ui * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps-dev): bump @uniswap/token-lists (#2699) * chore(i18n): synchronize translations from crowdin [skip ci] * try out 'dimension1' (#2704) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: walletconnect modal re-open after user rejection (#2693) Co-authored-by: M0kY <moky@example.com> * chore: update unsupported token list (#2689) * chore: update unsupported token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: memoize the list stuff so the tokens are consistently clickable (#2724) * chore(i18n): synchronize translations from crowdin [skip ci] * feat: update cmc list link (#2710) * update cmc lists * update CMC url * add token to unsupported list (#2732) * don't overwrite localstorage lists when fetch throws (#2723) * try cd1 for custom dimension (#2734) * fix: Update walletlink-connector to 6.2.8 (#2655) * Update walletlink-connector to 6.2.5 which has a walletlink update to support addEthereumChain+switchEthereumChain requests * Update walletlink-connector to 6.2.7 * Update walletlink-connector to 6.2.8 * fix: Parse latest proposal description correctly * add proposal start time (#2738) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: #2741 Increase liquidity form off center (#2746) * fix: bump to latest token list including ENS token * fix: remove deprecated optimism status url (#2771) * feat: Menu update. Add help center & feature requests. Remove analytics & github. (#2709) * Add help center, remove analytics from menu * Add canny feature requests link, remove github link * add coffee icon * no unused imports eslint rule (#2773) * chore(i18n): synchronize translations from crowdin [skip ci] * add protocols param to quote endpoint (#2774) * add protocols param to quote endpoint * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: lint error (#2775) * fix(optimism): Optimism regenesis support (#2703) * feat(optimism): optimistic kovan local regenesis changes * use the regenesis version of the sdk * remove the override no longer necessary * diff rpc url * back to kovan url * lint error * Optimism mainnet regenesis test (#2695) * remove the optimism mainnet specific code and point to the mainnet regenesis rpc url * point at the old mainnet multicall address * bump the sdk version * copy the list * multicall address regenesis change * revert the gas limit special casing for optimism * bump the sdk version * remove a couple other temporary edits * unused test case * specific version of v3-sdk * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: add support for 0.01% tier (#2769) * chore: add support for 0.01% tier * only show 1bps on mainnet * rename VERY_LOW to LOWEST * upgrade to v3-sdk 3.7.0 * add snapshot testing for lowest tier * fix integration test * fix integration test * use ALL_SUPPORTED_CHAIN_IDS over string all * consider 0.01% tier in pool (#2770) * merge main and only consider lowest tier for mainnet * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): update block warning updater to check most recent block timestamp (#2777) * update block warning updater to check most recent block timestamp * stop doing dumb state manipulation * fix: copy in network alert * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): remove redux from chain connectivity (#2781) * remove redux from chain connectivity * useMachineTimeMs instead of Date.now to force updates, useCurrentBlockTimestamp * use useInterval * change not created font size to 10 (#2785) * chore(i18n): synchronize translations from crowdin [skip ci] * fix: format date using Date.toLocaleString (#2459) * fix: format date using Date.toLocaleString Fixes #2458 * fix: date typings * chore(i18n): synchronize translations from crowdin [skip ci] * fix: broken link to docs (#2816) * chore: fix typo in useAllCurrencyCombinations.ts (#2778) occurence -> occurrence * chore: update typechain scripts for Windows (#2707) There are two errors when deploying on Windows system: 1. Using single quotes in path argument doesn't seem to be accepted in typechain command 2. `?(v3-core|v3-periphery)` operator doesn't work Here are fixes/workarounds. * perf: lazy load vote related routes (#2468) * perf: lazy load vote related routes * wrap Switch in Suspense * remove exact to match nested routes * fix nested routes * split Landing * fix * chore(i18n): synchronize translations from crowdin [skip ci] * fix: Enable 3085 requests for coinbase wallet (#2753) enable 3085 requests for coinbase wallet * feat: set the auto slippage tolerance by the dollar value of gas (#2815) * feat: set the auto slippage tolerance by the dollar value of gas * comments * min/max at 0.5% to 25% * oops on constant * address review feedback * Fixing #2818 (#2820) * Fix code style issues with ESLint * chore(i18n): synchronize translations from crowdin [skip ci] * fix: fix #2818 * chore(i18n): synchronize translations from crowdin [skip ci] * log an event on max click (#2827) * Add trailing slash to L2 info links (#2696) Some links were broken. For example on /pools/ page click the 'Top Pools' CTA. It would mistakenly direct you to info.uniswap.org/optimismpools instead of optimism/pools * fix(L2): block L2 tokens explicitly linked to L1 tokens that are blocked (#2721) * block L2 tokens explicitly linked to L1 tokens that are blocked * Fix code style issues with ESLint * check for support on all connectors, and disable when the connector (or lack thereof) no longer supports 3085 (#2824) * feat: display an ENS avatar (#2806) * feat: ens avatar resolution * chore: uninstall @davatar/react * fix: add avatar alt * feat: support data uris * feat: support arweave uris * feat: support erc721 avatars * feat: support erc1155 avatars * fix: jazzicon integration * fix: clean usage of status icon * fix: fix jazzicon svg offset * refactor: share status icon component * fix: pass memoized args to multicall * Update locales.ts (#2825) update Finnish from person (Suomalainen) to language (suomi) * chore(i18n): synchronize translations from crowdin [skip ci] * chore: fix the build blocking linter error * chore: run linters with auto_fix = false for forks (#2852) * fix: do not show urls if issue is not occurring on app.uniswap.org (#2855) * fix: do not show urls if issue is not occurring on app.uniswap.org fixes https://github.com/Uniswap/interface/issues/2572 * address comment * fix: remove orphaned node (#2863) * fix: remove orphaned node * fix: react cleanup * refactor: use ref for jazzicon (#2874) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps): bump ws from 5.2.2 to 5.2.3 (#2759) Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump url-parse from 1.5.1 to 1.5.3 (#2504) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add more tests for tryParseTick (#2110) * fix(lint): clean up the eslint config (#2886) * fix(lint): clean up the eslint config * Fix code style issues with ESLint * fix the linter errors that arose from using the proper config * clean up the rebass text renames * fix if statement, use the config * use the same name prefix for both steps * `TextPreset` -> `ThemedText` Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: Add routes for stakewise tokens (#2832) * Add additional routes for stakewise tokens * Reference StakeWise addresses with sdk tokens * Sort token imports * fix: fix layout of proposal list items on the vote page on mobile (#2898) * fix: fixing layout from using grid to flexbox * fix: setting WrapSmall to nowrap due to layout issue on mobile * fix: using width auto instead of disabling flex wrap Co-authored-by: Julian Anderson <juliancanderson@gmail.com> * fix: typo in arweave URI recognition (#2901) * deleted files * Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912) This reverts commit bf7a40be7a0a37b5051b9a877bbea563fba5782d, reversing changes made to 097b8361d4c09afd3cb681c4622145c555ced884. * fix: inadvertent merges/reverts (#2915) * Revert "Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912)" This reverts commit 7d343dcfbdf75a2f91d28cefce84e4b1bace7b87. * Revert "deleted files" This reverts commit 097b8361d4c09afd3cb681c4622145c555ced884. * refactor: Replace multicall implementation with library (#2768) - Replace the local implementation of multicall with the new redux-multicall lib - Create wrappers for redux-multicall hooks to inject block number and chainId Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Micael Rodrigues <micaelr95@outlook.pt> Co-authored-by: Justin Domingue <judo@uniswap.org> Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com> Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> Co-authored-by: Ian Lapham <ian@uniswap.org> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M0kY <46133205+M0kY@users.noreply.github.com> Co-authored-by: M0kY <moky@example.com> Co-authored-by: Will Hennessy <hennessywill@gmail.com> Co-authored-by: Brendan Weinstein <65564422+brendanww@users.noreply.github.com> Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> Co-authored-by: Ben Krochta <35636764+bkrochta@users.noreply.github.com> Co-authored-by: Moody Salem <moody.salem@gmail.com> Co-authored-by: Raj <sukhrajghuman@live.com> Co-authored-by: Ikko Ashimine <eltociear@gmail.com> Co-authored-by: Matthew Salamon <35425388+Matthews3301@users.noreply.github.com> Co-authored-by: Sam Chen <chenxsan@gmail.com> Co-authored-by: Ali Eray Kısabacak <eraykisabacak@hotmail.com> Co-authored-by: Kimmo S <kkpsiren@gmail.com> Co-authored-by: Dmitri Tsumak <tsumak.dmitri@gmail.com> Co-authored-by: Julian Anderson <juliancanderson@gmail.com> Co-authored-by: Carlos Diaz-Padron <carlosdiazpadron@gmail.com> Co-authored-by: J M Rossy <jm.rossy@gmail.com> * feat: Multicall lib integration for widgets (#2946) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: center focused outline card (#2625) * fix: add usdc to arbitrum/optimism common bases (#2641) * remove WETH from optimism bases (#2640) * use l2 logos in base pairs (#2634) * fix: split calls into more chunks if they fail due to out of gas errors (#2630) * fix: split calls into more chunks if they fail due to out of gas errors * set to 100m gas * back to 25m so we batch fewer calls * do not pass through gas limit, some simplification of the code * unused import * fix: restrict @davatar usage to avoid 3p fetches (#2649) * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): ensure chainIds match before fetching pool data (#2652) * ensure chainIds match before fetching pool data * debounce both input currencies, and only look for pairs on currencies that share a chainId * pr feedback * fix: use optional operator for chainId (#2666) * chore: update token list (#2670) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: update token list (#2671) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: extend privacy and terms (#2623) * initial iteration * add logging * added hook * polish * remove unused import * add hash * addressed pr feedback * remove autorouter icon * use firebase store * style * adjust recat ga * log remove liquidity * update copy * addressed pr feedback * addressed pr feedback * prevent privacy content from dismissing modal * make top-level key origin * use hostname * restore trm * chore(i18n): synchronize translations from crowdin [skip ci] * log full signed tx (#2681) * refactor monitoring (#2682) * chore: set final privacy learn more link' (#2684) * add learn more button * add final link * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: back arrow bug in wallet modal and fill tx for wallet (#2687) * add tx to wallet connect * remove id from env * restore env * block import of unsupported tokens (#2673) generalize custom import token block ui * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps-dev): bump @uniswap/token-lists (#2699) * chore(i18n): synchronize translations from crowdin [skip ci] * try out 'dimension1' (#2704) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: walletconnect modal re-open after user rejection (#2693) Co-authored-by: M0kY <moky@example.com> * chore: update unsupported token list (#2689) * chore: update unsupported token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: memoize the list stuff so the tokens are consistently clickable (#2724) * chore(i18n): synchronize translations from crowdin [skip ci] * feat: update cmc list link (#2710) * update cmc lists * update CMC url * add token to unsupported list (#2732) * don't overwrite localstorage lists when fetch throws (#2723) * try cd1 for custom dimension (#2734) * fix: Update walletlink-connector to 6.2.8 (#2655) * Update walletlink-connector to 6.2.5 which has a walletlink update to support addEthereumChain+switchEthereumChain requests * Update walletlink-connector to 6.2.7 * Update walletlink-connector to 6.2.8 * fix: Parse latest proposal description correctly * add proposal start time (#2738) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: #2741 Increase liquidity form off center (#2746) * fix: bump to latest token list including ENS token * fix: remove deprecated optimism status url (#2771) * feat: Menu update. Add help center & feature requests. Remove analytics & github. (#2709) * Add help center, remove analytics from menu * Add canny feature requests link, remove github link * add coffee icon * no unused imports eslint rule (#2773) * chore(i18n): synchronize translations from crowdin [skip ci] * add protocols param to quote endpoint (#2774) * add protocols param to quote endpoint * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: lint error (#2775) * fix(optimism): Optimism regenesis support (#2703) * feat(optimism): optimistic kovan local regenesis changes * use the regenesis version of the sdk * remove the override no longer necessary * diff rpc url * back to kovan url * lint error * Optimism mainnet regenesis test (#2695) * remove the optimism mainnet specific code and point to the mainnet regenesis rpc url * point at the old mainnet multicall address * bump the sdk version * copy the list * multicall address regenesis change * revert the gas limit special casing for optimism * bump the sdk version * remove a couple other temporary edits * unused test case * specific version of v3-sdk * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: add support for 0.01% tier (#2769) * chore: add support for 0.01% tier * only show 1bps on mainnet * rename VERY_LOW to LOWEST * upgrade to v3-sdk 3.7.0 * add snapshot testing for lowest tier * fix integration test * fix integration test * use ALL_SUPPORTED_CHAIN_IDS over string all * consider 0.01% tier in pool (#2770) * merge main and only consider lowest tier for mainnet * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): update block warning updater to check most recent block timestamp (#2777) * update block warning updater to check most recent block timestamp * stop doing dumb state manipulation * fix: copy in network alert * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): remove redux from chain connectivity (#2781) * remove redux from chain connectivity * useMachineTimeMs instead of Date.now to force updates, useCurrentBlockTimestamp * use useInterval * change not created font size to 10 (#2785) * chore(i18n): synchronize translations from crowdin [skip ci] * fix: format date using Date.toLocaleString (#2459) * fix: format date using Date.toLocaleString Fixes #2458 * fix: date typings * chore(i18n): synchronize translations from crowdin [skip ci] * fix: broken link to docs (#2816) * chore: fix typo in useAllCurrencyCombinations.ts (#2778) occurence -> occurrence * chore: update typechain scripts for Windows (#2707) There are two errors when deploying on Windows system: 1. Using single quotes in path argument doesn't seem to be accepted in typechain command 2. `?(v3-core|v3-periphery)` operator doesn't work Here are fixes/workarounds. * perf: lazy load vote related routes (#2468) * perf: lazy load vote related routes * wrap Switch in Suspense * remove exact to match nested routes * fix nested routes * split Landing * fix * chore(i18n): synchronize translations from crowdin [skip ci] * fix: Enable 3085 requests for coinbase wallet (#2753) enable 3085 requests for coinbase wallet * feat: set the auto slippage tolerance by the dollar value of gas (#2815) * feat: set the auto slippage tolerance by the dollar value of gas * comments * min/max at 0.5% to 25% * oops on constant * address review feedback * Fixing #2818 (#2820) * Fix code style issues with ESLint * chore(i18n): synchronize translations from crowdin [skip ci] * fix: fix #2818 * chore(i18n): synchronize translations from crowdin [skip ci] * log an event on max click (#2827) * Add trailing slash to L2 info links (#2696) Some links were broken. For example on /pools/ page click the 'Top Pools' CTA. It would mistakenly direct you to info.uniswap.org/optimismpools instead of optimism/pools * fix(L2): block L2 tokens explicitly linked to L1 tokens that are blocked (#2721) * block L2 tokens explicitly linked to L1 tokens that are blocked * Fix code style issues with ESLint * check for support on all connectors, and disable when the connector (or lack thereof) no longer supports 3085 (#2824) * feat: display an ENS avatar (#2806) * feat: ens avatar resolution * chore: uninstall @davatar/react * fix: add avatar alt * feat: support data uris * feat: support arweave uris * feat: support erc721 avatars * feat: support erc1155 avatars * fix: jazzicon integration * fix: clean usage of status icon * fix: fix jazzicon svg offset * refactor: share status icon component * fix: pass memoized args to multicall * Update locales.ts (#2825) update Finnish from person (Suomalainen) to language (suomi) * chore(i18n): synchronize translations from crowdin [skip ci] * chore: fix the build blocking linter error * chore: run linters with auto_fix = false for forks (#2852) * fix: do not show urls if issue is not occurring on app.uniswap.org (#2855) * fix: do not show urls if issue is not occurring on app.uniswap.org fixes https://github.com/Uniswap/interface/issues/2572 * address comment * fix: remove orphaned node (#2863) * fix: remove orphaned node * fix: react cleanup * refactor: use ref for jazzicon (#2874) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps): bump ws from 5.2.2 to 5.2.3 (#2759) Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump url-parse from 1.5.1 to 1.5.3 (#2504) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add more tests for tryParseTick (#2110) * fix(lint): clean up the eslint config (#2886) * fix(lint): clean up the eslint config * Fix code style issues with ESLint * fix the linter errors that arose from using the proper config * clean up the rebass text renames * fix if statement, use the config * use the same name prefix for both steps * `TextPreset` -> `ThemedText` Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: Add routes for stakewise tokens (#2832) * Add additional routes for stakewise tokens * Reference StakeWise addresses with sdk tokens * Sort token imports * fix: fix layout of proposal list items on the vote page on mobile (#2898) * fix: fixing layout from using grid to flexbox * fix: setting WrapSmall to nowrap due to layout issue on mobile * fix: using width auto instead of disabling flex wrap Co-authored-by: Julian Anderson <juliancanderson@gmail.com> * fix: typo in arweave URI recognition (#2901) * deleted files * Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912) This reverts commit bf7a40be7a0a37b5051b9a877bbea563fba5782d, reversing changes made to 097b8361d4c09afd3cb681c4622145c555ced884. * fix: inadvertent merges/reverts (#2915) * Revert "Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912)" This reverts commit 7d343dcfbdf75a2f91d28cefce84e4b1bace7b87. * Revert "deleted files" This reverts commit 097b8361d4c09afd3cb681c4622145c555ced884. * refactor: Replace multicall implementation with library (#2768) - Replace the local implementation of multicall with the new redux-multicall lib - Create wrappers for redux-multicall hooks to inject block number and chainId * package.json tweaks * add multicall lib and some basic provider things Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Micael Rodrigues <micaelr95@outlook.pt> Co-authored-by: Justin Domingue <judo@uniswap.org> Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com> Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> Co-authored-by: Ian Lapham <ian@uniswap.org> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M0kY <46133205+M0kY@users.noreply.github.com> Co-authored-by: M0kY <moky@example.com> Co-authored-by: Will Hennessy <hennessywill@gmail.com> Co-authored-by: Brendan Weinstein <65564422+brendanww@users.noreply.github.com> Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> Co-authored-by: Ben Krochta <35636764+bkrochta@users.noreply.github.com> Co-authored-by: Moody Salem <moody.salem@gmail.com> Co-authored-by: Raj <sukhrajghuman@live.com> Co-authored-by: Ikko Ashimine <eltociear@gmail.com> Co-authored-by: Matthew Salamon <35425388+Matthews3301@users.noreply.github.com> Co-authored-by: Sam Chen <chenxsan@gmail.com> Co-authored-by: Ali Eray Kısabacak <eraykisabacak@hotmail.com> Co-authored-by: Kimmo S <kkpsiren@gmail.com> Co-authored-by: Dmitri Tsumak <tsumak.dmitri@gmail.com> Co-authored-by: Julian Anderson <juliancanderson@gmail.com> Co-authored-by: Carlos Diaz-Padron <carlosdiazpadron@gmail.com> Co-authored-by: J M Rossy <jm.rossy@gmail.com> * feat: widgets style update (#2939) * feat: widgets empty state (#2951) * chore: mv onHover to computed theme; reduce to 0.16 * chore: transparentize primary on hover * chore: transparentize dynamic primary on hover * style: restrict icon usage Restricts icons to lib/icons. This ensures that icons are loaded as singletons outside of the React lifecycle. Doing otherwise hinders performance. * fix: logo mix-blend-mode * wip: empty states * fix: accent/active colors * wip: empty states * fix: input hover states * nit: specific user select * nit: button transition * nit: no button transition * chore: better cosmos toggles * chore: load inter * make cosmos work with new required widget props (#2956) * separate connector atoms (#2959) * fix: widgets nits sans summary/status (#2960) * fix: dynamic scrollbar * feat: system theme hook * nit: settings * nit: large settings icons * fix: accessible color computation * fix: ignore status scroll for now * fix: ignore txs scroll for now * feat: widgets summary (#2980) * fix: output first in toolbar * fix: widget height * feat: token color extraction toggle * fix: header sizing * fix: height nits * chore: re-arch sub pages * nit: height * feat: border radius as range * fix: exclude cosmos setter from hook deps * feat: default width to 360 * feat: type classes * fix: header height * fix: default cosmos width to 360 * refactor: icon button * wip: summary * fix: scrollbar * feat: summary * fix: summary expando * fix: widgets transitions (#2983) * fix: action button height * fix: summary scrollbar fading * fix: summary fixture * fix: action button transitions * feat: widgets status (#2987) * fix: action button height * fix: summary scrollbar fading * fix: summary fixture * fix: action button transitions * refactor: commit spinner as svg asset * feat: status dialog * fix: spinner rounding * feat: widgets fonts and transitions (#2998) * feat: fonts using @fontsource * feat: dialog transitions * fix: swap transitions * Refactor use active web3 react (#3002) * separate connector atoms * refactor cosmos and set up widgets env var * fix: cosmos modularization (#3014) * fix: cosmos modularization * fix: web3 in atom provider * feat: make connectors resettable * drop empty test (#3022) * Revert "feat: make connectors resettable" This reverts commit db5af68b9be1edf4d6e1b7dc8ed2004f19e33f16. * undo dumb open reorder * bump widget web3-react versions * bump to fix tests Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com> Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> * chore(widgets): Merge main into widgets (#3013) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: center focused outline card (#2625) * fix: add usdc to arbitrum/optimism common bases (#2641) * remove WETH from optimism bases (#2640) * use l2 logos in base pairs (#2634) * fix: split calls into more chunks if they fail due to out of gas errors (#2630) * fix: split calls into more chunks if they fail due to out of gas errors * set to 100m gas * back to 25m so we batch fewer calls * do not pass through gas limit, some simplification of the code * unused import * fix: restrict @davatar usage to avoid 3p fetches (#2649) * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): ensure chainIds match before fetching pool data (#2652) * ensure chainIds match before fetching pool data * debounce both input currencies, and only look for pairs on currencies that share a chainId * pr feedback * fix: use optional operator for chainId (#2666) * chore: update token list (#2670) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: update token list (#2671) * update token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: extend privacy and terms (#2623) * initial iteration * add logging * added hook * polish * remove unused import * add hash * addressed pr feedback * remove autorouter icon * use firebase store * style * adjust recat ga * log remove liquidity * update copy * addressed pr feedback * addressed pr feedback * prevent privacy content from dismissing modal * make top-level key origin * use hostname * restore trm * chore(i18n): synchronize translations from crowdin [skip ci] * log full signed tx (#2681) * refactor monitoring (#2682) * chore: set final privacy learn more link' (#2684) * add learn more button * add final link * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: back arrow bug in wallet modal and fill tx for wallet (#2687) * add tx to wallet connect * remove id from env * restore env * block import of unsupported tokens (#2673) generalize custom import token block ui * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps-dev): bump @uniswap/token-lists (#2699) * chore(i18n): synchronize translations from crowdin [skip ci] * try out 'dimension1' (#2704) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: walletconnect modal re-open after user rejection (#2693) Co-authored-by: M0kY <moky@example.com> * chore: update unsupported token list (#2689) * chore: update unsupported token list * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: memoize the list stuff so the tokens are consistently clickable (#2724) * chore(i18n): synchronize translations from crowdin [skip ci] * feat: update cmc list link (#2710) * update cmc lists * update CMC url * add token to unsupported list (#2732) * don't overwrite localstorage lists when fetch throws (#2723) * try cd1 for custom dimension (#2734) * fix: Update walletlink-connector to 6.2.8 (#2655) * Update walletlink-connector to 6.2.5 which has a walletlink update to support addEthereumChain+switchEthereumChain requests * Update walletlink-connector to 6.2.7 * Update walletlink-connector to 6.2.8 * fix: Parse latest proposal description correctly * add proposal start time (#2738) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * fix: #2741 Increase liquidity form off center (#2746) * fix: bump to latest token list including ENS token * fix: remove deprecated optimism status url (#2771) * feat: Menu update. Add help center & feature requests. Remove analytics & github. (#2709) * Add help center, remove analytics from menu * Add canny feature requests link, remove github link * add coffee icon * no unused imports eslint rule (#2773) * chore(i18n): synchronize translations from crowdin [skip ci] * add protocols param to quote endpoint (#2774) * add protocols param to quote endpoint * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: lint error (#2775) * fix(optimism): Optimism regenesis support (#2703) * feat(optimism): optimistic kovan local regenesis changes * use the regenesis version of the sdk * remove the override no longer necessary * diff rpc url * back to kovan url * lint error * Optimism mainnet regenesis test (#2695) * remove the optimism mainnet specific code and point to the mainnet regenesis rpc url * point at the old mainnet multicall address * bump the sdk version * copy the list * multicall address regenesis change * revert the gas limit special casing for optimism * bump the sdk version * remove a couple other temporary edits * unused test case * specific version of v3-sdk * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * chore(i18n): synchronize translations from crowdin [skip ci] * feat: add support for 0.01% tier (#2769) * chore: add support for 0.01% tier * only show 1bps on mainnet * rename VERY_LOW to LOWEST * upgrade to v3-sdk 3.7.0 * add snapshot testing for lowest tier * fix integration test * fix integration test * use ALL_SUPPORTED_CHAIN_IDS over string all * consider 0.01% tier in pool (#2770) * merge main and only consider lowest tier for mainnet * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): update block warning updater to check most recent block timestamp (#2777) * update block warning updater to check most recent block timestamp * stop doing dumb state manipulation * fix: copy in network alert * chore(i18n): synchronize translations from crowdin [skip ci] * fix(L2): remove redux from chain connectivity (#2781) * remove redux from chain connectivity * useMachineTimeMs instead of Date.now to force updates, useCurrentBlockTimestamp * use useInterval * change not created font size to 10 (#2785) * chore(i18n): synchronize translations from crowdin [skip ci] * fix: format date using Date.toLocaleString (#2459) * fix: format date using Date.toLocaleString Fixes #2458 * fix: date typings * chore(i18n): synchronize translations from crowdin [skip ci] * fix: broken link to docs (#2816) * chore: fix typo in useAllCurrencyCombinations.ts (#2778) occurence -> occurrence * chore: update typechain scripts for Windows (#2707) There are two errors when deploying on Windows system: 1. Using single quotes in path argument doesn't seem to be accepted in typechain command 2. `?(v3-core|v3-periphery)` operator doesn't work Here are fixes/workarounds. * perf: lazy load vote related routes (#2468) * perf: lazy load vote related routes * wrap Switch in Suspense * remove exact to match nested routes * fix nested routes * split Landing * fix * chore(i18n): synchronize translations from crowdin [skip ci] * fix: Enable 3085 requests for coinbase wallet (#2753) enable 3085 requests for coinbase wallet * feat: set the auto slippage tolerance by the dollar value of gas (#2815) * feat: set the auto slippage tolerance by the dollar value of gas * comments * min/max at 0.5% to 25% * oops on constant * address review feedback * Fixing #2818 (#2820) * Fix code style issues with ESLint * chore(i18n): synchronize translations from crowdin [skip ci] * fix: fix #2818 * chore(i18n): synchronize translations from crowdin [skip ci] * log an event on max click (#2827) * Add trailing slash to L2 info links (#2696) Some links were broken. For example on /pools/ page click the 'Top Pools' CTA. It would mistakenly direct you to info.uniswap.org/optimismpools instead of optimism/pools * fix(L2): block L2 tokens explicitly linked to L1 tokens that are blocked (#2721) * block L2 tokens explicitly linked to L1 tokens that are blocked * Fix code style issues with ESLint * check for support on all connectors, and disable when the connector (or lack thereof) no longer supports 3085 (#2824) * feat: display an ENS avatar (#2806) * feat: ens avatar resolution * chore: uninstall @davatar/react * fix: add avatar alt * feat: support data uris * feat: support arweave uris * feat: support erc721 avatars * feat: support erc1155 avatars * fix: jazzicon integration * fix: clean usage of status icon * fix: fix jazzicon svg offset * refactor: share status icon component * fix: pass memoized args to multicall * Update locales.ts (#2825) update Finnish from person (Suomalainen) to language (suomi) * chore(i18n): synchronize translations from crowdin [skip ci] * chore: fix the build blocking linter error * chore: run linters with auto_fix = false for forks (#2852) * fix: do not show urls if issue is not occurring on app.uniswap.org (#2855) * fix: do not show urls if issue is not occurring on app.uniswap.org fixes https://github.com/Uniswap/interface/issues/2572 * address comment * fix: remove orphaned node (#2863) * fix: remove orphaned node * fix: react cleanup * refactor: use ref for jazzicon (#2874) * chore(i18n): synchronize translations from crowdin [skip ci] * chore(deps): bump ws from 5.2.2 to 5.2.3 (#2759) Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump url-parse from 1.5.1 to 1.5.3 (#2504) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * add more tests for tryParseTick (#2110) * fix(lint): clean up the eslint config (#2886) * fix(lint): clean up the eslint config * Fix code style issues with ESLint * fix the linter errors that arose from using the proper config * clean up the rebass text renames * fix if statement, use the config * use the same name prefix for both steps * `TextPreset` -> `ThemedText` Co-authored-by: Lint Action <lint-action@samuelmeuli.com> * fix: Add routes for stakewise tokens (#2832) * Add additional routes for stakewise tokens * Reference StakeWise addresses with sdk tokens * Sort token imports * fix: fix layout of proposal list items on the vote page on mobile (#2898) * fix: fixing layout from using grid to flexbox * fix: setting WrapSmall to nowrap due to layout issue on mobile * fix: using width auto instead of disabling flex wrap Co-authored-by: Julian Anderson <juliancanderson@gmail.com> * fix: typo in arweave URI recognition (#2901) * deleted files * Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912) This reverts commit bf7a40be7a0a37b5051b9a877bbea563fba5782d, reversing changes made to 097b8361d4c09afd3cb681c4622145c555ced884. * fix: inadvertent merges/reverts (#2915) * Revert "Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912)" This reverts commit 7d343dcfbdf75a2f91d28cefce84e4b1bace7b87. * Revert "deleted files" This reverts commit 097b8361d4c09afd3cb681c4622145c555ced884. * refactor: Replace multicall implementation with library (#2768) - Replace the local implementation of multicall with the new redux-multicall lib - Create wrappers for redux-multicall hooks to inject block number and chainId * fix: introduce safeNamehash (#2925) * namehash -> safeNamehash where necessary * cleanup * address comment * feat: Add learn more link in TRM description (#2919) * Add learn more link in TRM description * Update src/components/PrivacyPolicy/index.tsx Co-authored-by: Justin Domingue <judo@uniswap.org> * give a bit more gas to balanceOf (#2943) * fix: memoize hooks from /swap (#2949) * fix: memoize hooks from /swap * chore: rm console * add fix for polygon proposal title (#2974) * fix: display Uniswap token list in UI (#2821) * fix: display Uniswap token list in UI * chore: remove default-token-list build dependency * fix: use ENS name for Uniswap token list * fix: change Uniswap token list url * fix: extend transaction deadline to 3 days (#2982) * feat: integrate SwapRouter02 on L1/L2 + gas ui * client-side smart order router support * support auto router on L2s * add swap router version in approval/swap callback GA events to save $ on approval txs * add persistent UI view of gas estimate on L1s Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Ian Lapham <ian@uniswap.org> Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com> * Update CONTRIBUTING.md (#2992) * feat: Update contribution spec (#2993) * Update CONTRIBUTING.md (#2994) * Update CONTRIBUTING.md (#2995) * feat: Update contribution spec (#2996) * chore(i18n): synchronize translations from crowdin [skip ci] * fix: double scroll in manage token list (#3020) * fix double scroll * remove bottom padding * restrict walletlink to mainnet only (#3024) * increase warning timer (#3004) * add index.html styles to widget Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Micael Rodrigues <micaelr95@outlook.pt> Co-authored-by: Justin Domingue <judo@uniswap.org> Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com> Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> Co-authored-by: Ian Lapham <ian@uniswap.org> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M0kY <46133205+M0kY@users.noreply.github.com> Co-authored-by: M0kY <moky@example.com> Co-authored-by: Will Hennessy <hennessywill@gmail.com> Co-authored-by: Brendan Weinstein <65564422+brendanww@users.noreply.github.com> Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> Co-authored-by: Ben Krochta <35636764+bkrochta@users.noreply.github.com> Co-authored-by: Moody Salem <moody.salem@gmail.com> Co-authored-by: Raj <sukhrajghuman@live.com> Co-authored-by: Ikko Ashimine <eltociear@gmail.com> Co-authored-by: Matthew Salamon <35425388+Matthews3301@users.noreply.github.com> Co-authored-by: Sam Chen <chenxsan@gmail.com> Co-authored-by: Ali Eray Kısabacak <eraykisabacak@hotmail.com> Co-authored-by: Kimmo S <kkpsiren@gmail.com> Co-authored-by: Dmitri Tsumak <tsumak.dmitri@gmail.com> Co-authored-by: Julian Anderson <juliancanderson@gmail.com> Co-authored-by: Carlos Diaz-Padron <carlosdiazpadron@gmail.com> Co-authored-by: J M Rossy <jm.rossy@gmail.com> Co-authored-by: Barry G <bgitarts@gmail.com> Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com> Co-authored-by: Tina Zheng <59578595+tinaszheng@users.noreply.github.com> * feat: widgets transitions (#3007) * fix: logo target * feat: settings transition * feat: reverse transition * fix: transitions will-change and durations * fix: logo color * fix: only will-change transform * fix: header targets * fix: clip modal transitions * fix: token select header * fix: safari transparent gradients * fix: safari scrollbar * fix: scroll overlay * fix: safari bounce jank * fix: firefox overscroll * refactor: scrollbar hook * feat: native event hook * fix: details nowrap * fix: settings cog transition * feat: expando icon * fix: expando transition * refactor: cosmos web3 integration (#3052) * chore: use zustand 4.0.0-beta for dynamic stores * chore: use strict mode * refactor: clean connector state * chore: mv web3 state to cosmos selectors * chore: dedup yarn.lock * chore: define EthereumProvider in lib * fix: destructure would not compile * fix: make it bundle * chore: prune deps * refactor: use error handler instead of GA * chore: add make-plural * chore: add redux * chore: yarn dedup * chore: do not (re)load default locale * fix: center error headings * feat: error dialog for boundary * fix: tighten up transitions * test: include bundle depcheck * fix: rm console * fix: do not load empty sourceLocale * fix: no lingui defaults * refactor: mv svg to assets/svg * chore: block font display * fix: remove manual zustand resolution * fix: svg generation script Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> * chore: widget placeholders (#3061) * chore: update comments - typo - performance comment was performant on retest * nit: status placeholders - prevent flashes of rerendering from lazy-loaded elements * chore: initialize cosmos with json rpc * refactor: token img component - modularize the TokenImg - add a placeholder for UX and broken images * fix: recent tx token img usage * pr feedback * undo REACT_APP_IS_WIDGET network ternary Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Micael Rodrigues <micaelr95@outlook.pt> Co-authored-by: Justin Domingue <judo@uniswap.org> Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com> Co-authored-by: Ian Lapham <ian@uniswap.org> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M0kY <46133205+M0kY@users.noreply.github.com> Co-authored-by: M0kY <moky@example.com> Co-authored-by: Will Hennessy <hennessywill@gmail.com> Co-authored-by: Brendan Weinstein <65564422+brendanww@users.noreply.github.com> Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> Co-authored-by: Ben Krochta <35636764+bkrochta@users.noreply.github.com> Co-authored-by: Moody Salem <moody.salem@gmail.com> Co-authored-by: Raj <sukhrajghuman@live.com> Co-authored-by: Ikko Ashimine <eltociear@gmail.com> Co-authored-by: Matthew Salamon <35425388+Matthews3301@users.noreply.github.com> Co-authored-by: Sam Chen <chenxsan@gmail.com> Co-authored-by: Ali Eray Kısabacak <eraykisabacak@hotmail.com> Co-authored-by: Kimmo S <kkpsiren@gmail.com> Co-authored-by: Dmitri Tsumak <tsumak.dmitri@gmail.com> Co-authored-by: Julian Anderson <juliancanderson@gmail.com> Co-authored-by: Carlos Diaz-Padron <carlosdiazpadron@gmail.com> Co-authored-by: J M Rossy <jm.rossy@gmail.com> Co-authored-by: Barry G <bgitarts@gmail.com> Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com> Co-authored-by: Tina Zheng <59578595+tinaszheng@users.noreply.github.com> |
||
Ben Krochta
|
37e085763c
|
fix: display Uniswap token list in UI (#2821)
* fix: display Uniswap token list in UI * chore: remove default-token-list build dependency * fix: use ENS name for Uniswap token list * fix: change Uniswap token list url |
||
Zach Pomerantz
|
e81e8a8f71
|
fix: inadvertent merges/reverts (#2915)
* Revert "Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912)" This reverts commit 7d343dcfbdf75a2f91d28cefce84e4b1bace7b87. * Revert "deleted files" This reverts commit 097b8361d4c09afd3cb681c4622145c555ced884. |
||
Justin Domingue
|
7d343dcfbd
|
Revert "Merge branch 'main' of https://github.com/Uniswap/interface" (#2912)
This reverts commit bf7a40be7a0a37b5051b9a877bbea563fba5782d, reversing changes made to 097b8361d4c09afd3cb681c4622145c555ced884. |
||
Moody Salem
|
745be977ef
|
fix(lint): clean up the eslint config (#2886)
* fix(lint): clean up the eslint config * Fix code style issues with ESLint * fix the linter errors that arose from using the proper config * clean up the rebass text renames * fix if statement, use the config * use the same name prefix for both steps * `TextPreset` -> `ThemedText` Co-authored-by: Lint Action <lint-action@samuelmeuli.com> |
||
Jordan Frankfurt
|
9561cf54e4
|
don't overwrite localstorage lists when fetch throws (#2723) | ||
Moody Salem
|
d18974480a
|
fix: memoize the list stuff so the tokens are consistently clickable (#2724) | ||
Zach Pomerantz
|
ea17c7c111
|
chore: restrict imports from dist (#2443)
* fix: consistent @uniswap/v3-sdk imports * fix: consistent @redux/toolkit imports * fix: consistent @web-react imports * fix: consistent @uniswap/token-lists imports * chore: restrict dist/ imports |
||
Moody Salem
|
53da48b646
|
refactor: add an import sorting plugin (#2417)
* refactor: add an import sorting plugin * Fix code style issues with ESLint Co-authored-by: Lint Action <lint-action@samuelmeuli.com> |
||
Noah Zinsmeister
|
627a5d3a98
|
Squashed commit of the following:
commit 5f1d1af62bcd47286aafacc18788f4e7e22dd7c0 Author: Aseem Sood <asood123@yahoo.com> Date: Fri Sep 3 12:12:39 2021 -0400 update readme tweak commit 80a5b95c0e0ae8934b5591c982077eaa813db747 Author: Noah Zinsmeister <noahwz@gmail.com> Date: Fri Sep 3 11:52:56 2021 -0400 consolidate and standardize unsupported tokens |
||
Zach Pomerantz
|
5831328364
|
style: enforce object-shorthand (#2286) | ||
Zach Pomerantz
|
f5557a434c
|
chore: upgrade type system (#2276)
* chore: upgrade type system Upgrade types, typescript, and formatters. * fix: ListsState tests |
||
Jordan Frankfurt
|
0afeb5acaf
|
add arbitrum token list (#2268) | ||
Ian Lapham
|
4078390a48
|
update unsupported and broken lists (#2100) | ||
Moody Salem
|
3686506f2a
|
perf: remove extra spread operators from the combine maps function | ||
Moody Salem
|
634d010d92
|
perf: list to token map function was doing too many reduces (#2095) | ||
Ian Lapham
|
07f52f02ff
|
feat: only block on app url, mobile UI tweaks (#2073)
* start iframe ui updates * replace hook with constant * add origin check for blocked lists * remove origin check for local unsupported list * remove redundant retun * remove iframe check * undo local change |
||
Moody Salem
|
a186833b7a
|
fix(L2): enable optimism token list when switched to optimism (#2036)
* add title text and opacity variability to token lists * add optimism token list * show tokens from active lists * sort up token lists with tokens on the current chain * fix up some type issues prune out chainId changes * clean up leftover any * refactor token count mechanism * handle plurals in title text string * new combineMaps implementation * remove custom plural * address a couple nits * show the number of tokens on current chain Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com> Co-authored-by: Justin Domingue <judo@uniswap.org> |
||
Noah Zinsmeister
|
2ee9b16c49
|
remove a lot of dead code (#1970) | ||
Justin Domingue
|
979686100e
|
chore: simplify useSelector and useDispatch types using inference (#1760)
* chore: simplify app dispatch and selector types with ts inference * update SearchModal to use new types inference * chore: simplify useSelector and useDispatch types using inference |
||
Moody Salem
|
d4c5d3e8c8
|
chore: run eslint | ||
Moody Salem
|
5e30a4b4ad
|
refactor: bump to latest sdk (#1657) | ||
Moody Salem
|
3efe5268ae
|
refactor: break down some constants files and move some stuff around | ||
Moody Salem
|
27960532ca
|
refactor: use new sdk version (#1472)
* do not construct tokens for wrapped token info * some cleanup of the wrapped token info * back to extends, bump sdk core version via v2/v3 sdk updates * Revert "back to extends, bump sdk core version via v2/v3 sdk updates" This reverts commit 92cc5073 * update the sdk version * fix some more uses of instanceof * finish the refactor * mess with the currency list performance * start replacing with the latest v3/v2 sdks * raw -> quotient * more cleanup * finish the refactor * clean up currency list refactor * fix list rendering * perf(token lists): improve app performance when there are large inactive token lists (#1510) * improve inactive token lists performance * cleanup before larger changes to combine inactive lists * only do the search if the query does not match any active lists, limit the number of results * more performance improvements * search inactive lists more aggressively |
||
Moody Salem
|
fbccb83edb
|
Merge branch 'main' into v3-main | ||
Ian Lapham
|
5a9034fe95
|
fix for error token map parsings (#1384) | ||
Ian Lapham
|
ee0db4f2aa
|
fix list parsing on broken tokens (#85)
* fix list parsing on broken tokens * revert to most recent changes |
||
Ian Lapham
|
6d5625a1f8
|
Hot fix for token error parsing (#1382)
* hot fix for token list parsing * revert tsconfig |
||
Moody Salem
|
91f3e21bd4
|
some list code cleanup | ||
Moody Salem
|
bd346030f0
|
useAllV3Routes, some cleanup | ||
Moody Salem
|
2d4b60b9dd
|
Merge branch 'main' into v3-main
# Conflicts: # .env # README.md # package.json # src/components/TokenWarningModal/index.tsx # src/connectors/index.ts # src/constants/index.ts # src/hooks/Trades.ts # src/index.tsx # src/state/claim/hooks.ts # src/state/user/hooks.tsx # yarn.lock |
||
Ian Lapham
|
0c0305a53d
|
Add page MVP UI + v3 pool hooks and state (#35)
* WIP start usePool and useDerivedMint hooks * naming updates * Use real tick and pool math * rate updates * WIP start usePool and useDerivedMint hooks * naming updates * Use real tick and pool math * rate updates * fix warnings * fix incorrect import * clean up state, fix preview * same token check * amoutn parse update * update hard coded chain id * fix price creation in util * update 1 amount in price calculation * update comments * update tick spacing input * fix label on counter * update rate label on range select * update labels * fixing pool hook * clean pool hook * preserve working rate switching * reset values on rate switch * clean up derived hook - setup for testnet * format slippage amounts and support ETH * fix import error * fix package.json dependencies * silence warnings * silence more warnings * bump multicodec and multihashes * update migrator constants * update txn to use sdk calldata * fix txn formatting, update summary * Squashed commit of the following: commit b81ff7ca9e57bb8c3823be4c54827e5955fb3d15 Author: ianlapham <ianlapham@gmail.com> Date: Mon Apr 12 23:46:09 2021 -0400 fix txn formatting, update summary commit b9f91b0746c546602d336c8fd6f614ec9b4f3f19 Author: ianlapham <ianlapham@gmail.com> Date: Mon Apr 12 19:29:12 2021 -0400 update txn to use sdk calldata commit 20acf704c67cfd4f597494c8cb9c672c6270ae02 Merge: 4431914 2462901 Author: ianlapham <ianlapham@gmail.com> Date: Sun Apr 11 20:33:39 2021 -0400 Merge branch 'minting' of https://github.com/Uniswap/v3-interface into minting commit 44319146372e1c373b025741ae896fa2476e5765 Author: ianlapham <ianlapham@gmail.com> Date: Sun Apr 11 20:32:35 2021 -0400 update migrator constants commit 35e0618de06ba316d3a3f327075625760414ab83 Merge: 8927882 c3f65e3 Author: ianlapham <ianlapham@gmail.com> Date: Sun Apr 11 20:13:36 2021 -0400 Merge branch 'main' of https://github.com/Uniswap/v3-interface into minting commit 24629019e80c368c337a2679a51d4acb1097171c Author: Noah Zinsmeister <noahwz@gmail.com> Date: Fri Apr 9 15:56:25 2021 -0400 bump multicodec and multihashes commit 9b5dd1876a64acbf6694d208b608bb0b429e317f Author: Noah Zinsmeister <noahwz@gmail.com> Date: Fri Apr 9 14:59:09 2021 -0400 silence more warnings commit 140ddc1b54c7fbdd7ead2fa64bcc302f201d69f5 Author: Noah Zinsmeister <noahwz@gmail.com> Date: Fri Apr 9 14:57:58 2021 -0400 silence warnings commit 5a2726ebdd4ffaacfb3d8ec7903a944042c1bd9d Author: Noah Zinsmeister <noahwz@gmail.com> Date: Fri Apr 9 14:35:01 2021 -0400 fix package.json dependencies commit 7c4d0a40931338de9a6197652b82fdab773483e3 Author: Noah Zinsmeister <noahwz@gmail.com> Date: Fri Apr 9 14:21:46 2021 -0400 fix import error commit e49ef19cbef7fbdf1737787a439e7cb78ba295b4 Merge: 8927882 c3f65e3 Author: Noah Zinsmeister <noahwz@gmail.com> Date: Fri Apr 9 14:08:34 2021 -0400 Merge branch 'main' into minting commit 89278825bd798a87d6010a74f8fc1d2b34a8ece1 Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 8 15:18:40 2021 -0400 format slippage amounts and support ETH commit 9a90b19e9a759cbc0c3e903a983660730c8833ad Author: ianlapham <ianlapham@gmail.com> Date: Wed Apr 7 19:43:43 2021 -0400 clean up derived hook - setup for testnet commit dc034bc78a147f95f47b077d28a7d6e3165cedd7 Author: ianlapham <ianlapham@gmail.com> Date: Wed Apr 7 00:48:24 2021 -0400 reset values on rate switch commit bb5ccb2c853f7b2c27ec8d2f34f42a1b06f845b9 Author: ianlapham <ianlapham@gmail.com> Date: Wed Apr 7 00:38:39 2021 -0400 preserve working rate switching commit 5312d0ae7015150da48ba304de8c7a02b7d8925c Author: ianlapham <ianlapham@gmail.com> Date: Mon Apr 5 13:52:46 2021 -0400 clean pool hook commit 5222de14834e76c37755225be17214a6e798d872 Merge: b2ba466 24521f0 Author: ianlapham <ianlapham@gmail.com> Date: Mon Apr 5 12:20:34 2021 -0400 Merge branch 'main' of https://github.com/Uniswap/v3-interface into minting commit b2ba46684a7b0bd8a8362f5990f4a208bfeff2dd Author: ianlapham <ianlapham@gmail.com> Date: Mon Apr 5 12:19:20 2021 -0400 fixing pool hook commit b10742af99a725e04c1b756aa20f99e995f8cfeb Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 16:53:52 2021 -0400 update labels commit 05abd395949245596c95090a9d5d77c7c272dbd3 Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 15:34:17 2021 -0400 update rate label on range select commit f098d01b6f4dc1dcb99e0fa314dde93647a19bb6 Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 15:26:30 2021 -0400 fix label on counter commit 16ffe61e8ee2b677adf5d468efa9d7aa8d7e092e Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 15:06:50 2021 -0400 update tick spacing input commit 0fa2c8a15821dd32ec978750991a962ecb8f7344 Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 14:53:18 2021 -0400 update comments commit 1fccf57a1ef081ef6ba9790dc20e0ed604ac2b09 Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 14:52:37 2021 -0400 update 1 amount in price calculation commit b0e5d22bf8c57b3eacd75f077f68aaca4a9f975a Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 14:46:41 2021 -0400 fix price creation in util commit 1ce246e85372e4f120f983ca18a1eb3d16e8647e Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 13:55:14 2021 -0400 update hard coded chain id commit 2360b2d0a3233b604956e89de4bd7b09c0506875 Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 13:09:21 2021 -0400 amoutn parse update commit 6a99a7b71fe446fe77cb2741adce4c067862ca4a Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 13:05:41 2021 -0400 same token check commit 83a1fd5a9ff02c6a49532cb54a57770b52fc052e Author: ianlapham <ianlapham@gmail.com> Date: Thu Apr 1 12:31:21 2021 -0400 clean up state, fix preview commit 8592383b8386d7adbbaeaa2c6f9c36bb121d1c65 Author: ianlapham <ianlapham@gmail.com> Date: Wed Mar 31 22:47:56 2021 -0400 fix incorrect import commit ce526fd545e52142f847dbf3caec1ca37bb0650b Author: ianlapham <ianlapham@gmail.com> Date: Wed Mar 31 22:36:10 2021 -0400 fix warnings commit 572770fd3e000ce31cd3a6c5c5c91eac92cc8c5c Merge: a9e5b6c 2677491 Author: ianlapham <ianlapham@gmail.com> Date: Wed Mar 31 22:16:30 2021 -0400 Merge branch 'minting' of https://github.com/Uniswap/v3-interface into minting commit a9e5b6c5e5983e279a640886783f97c33b713125 Author: ianlapham <ianlapham@gmail.com> Date: Wed Mar 31 22:12:43 2021 -0400 rate updates commit b88cab6c06176eefe5cf71f7cc3e3664d9f514ab Author: ianlapham <ianlapham@gmail.com> Date: Wed Mar 31 16:15:08 2021 -0400 Use real tick and pool math commit ed933cfd17141174c03b0bcac5f41cf75ff9b258 Author: ianlapham <ianlapham@gmail.com> Date: Sun Mar 28 22:42:05 2021 -0400 naming updates commit 50c0a0ece5c6c66a603508529c5e7a28f45db632 Author: ianlapham <ianlapham@gmail.com> Date: Sun Mar 28 22:36:08 2021 -0400 WIP start usePool and useDerivedMint hooks commit 2677491e2128e1318a0dd4307e63069e0f8e1dfe Author: ianlapham <ianlapham@gmail.com> Date: Wed Mar 31 22:12:43 2021 -0400 rate updates commit c2f59d6c61068a2bf4d34d102d5d28c9863ce982 Author: ianlapham <ianlapham@gmail.com> Date: Wed Mar 31 16:15:08 2021 -0400 Use real tick and pool math commit 7d53e5c7e979be19fc5c63eb52307f302328c4eb Author: ianlapham <ianlapham@gmail.com> Date: Sun Mar 28 22:42:05 2021 -0400 naming updates commit 9022650d391682f97e71d336021c2db2e5ea5455 Author: ianlapham <ianlapham@gmail.com> Date: Sun Mar 28 22:36:08 2021 -0400 WIP start usePool and useDerivedMint hooks * remove 1337 references * clean up multicall * clean up redirects/router * cleanup * improve useAllV3Ticks * fix multicall * typo * Fix code style issues with ESLint * preserve sticky * reset to non fixed scroll * fix inputs at 1 * update tests * fix routes * sticky sidebar Co-authored-by: Noah Zinsmeister <noahwz@gmail.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com> |
||
Ian Lapham
|
878fc9cf4d
|
Refactor with core (#33)
* Update index.ts * feature(service worker): add offline support (#1319) * Revert "feature(service worker): add offline support (#1319)" (#1320) This reverts commit 34dfb41a1e0a647596c5d37d5e3f7baa6c4005a3. * Revert "Revert "feature(service worker): add offline support (#1319)" (#1320)" (#1321) This reverts commit db3328c8d9d7ea7b7cf7e75dc658714798d007a4. * unregisters all installed service workers (#1322) * fix: modals stealing focus across frames (#1326) * improvement(lists): add BA SEC tokens to unsupported list (#1327) * show hidden search results by default * update break styles * optimize filter, use debounce on input * increase debounce time * add ba association list * handle dismiss (#1328) * split up sdk use between core and v2 * Fix code style issues with ESLint * remove service worker Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com> Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com> Co-authored-by: Hyperion <72735936+moontools-hyperion@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> |
||
Jordan Frankfurt
|
32e679c62e
|
prototype position data hook (#32)
Co-authored-by: Jordan Frankfurt <layup-entropy@protonmail.com> |
||
Ian Lapham
|
b258f557d1
|
improvement(lists): add BA SEC tokens to unsupported list (#1327)
* show hidden search results by default * update break styles * optimize filter, use debounce on input * increase debounce time * add ba association list |
||
Lint Action
|
9d9b57dd4c | Fix code style issues with ESLint | ||
Jordan Frankfurt
|
6965707d45 |
Revert "upgrade prettier"
This reverts commit 5fabe438e52d4844307f86577d1d13a2e571e5f5. |
||
Lint Action
|
b630d59437 | Fix code style issues with ESLint | ||
Ian Lapham
|
cc22183388
|
fix(modal cutoff, lists): make modal scrollable on small screens, fix typo, auto update all lists (#1301)
* update all lists, not just active ones * fix typo |
||
Ian Lapham
|
2291e3ec20
|
improvement(lists): enable Gemini by default (#1276)
* update import flow and style tweaks * update tests * Update tsconfig.json * add gemini * enable gemini |
||
Ian Lapham
|
8bed3900ba
|
Improvements(lists): update defaults, style updates (#1270)
* update defaults, style updates * update icon color |
||
Ian Lapham
|
267204d98e
|
Improvement(lists): Switch to multiple active lists (#1237)
* basic support for multiple active lists * start search across inactive lists * store card before list update * basic import flow for inactive tokens * update supported lists * update import flow for address pasting * basic mvp * hide filter if no results * update min heights * update manage view, index tokens on page load * start routing fix for multi hops * switch to input amount comparison on exactOut * start list import view * updated list UI, token search updates, list import flow, surpress popups and warnings * add unsupported tokens * show warning if logged out * update to opyn list * show token details on warning; * make percent logic more clear * remove uneeded comaprisons * move logic to functions for testing * test updates * update list reducer tests * remove unused locals * code cleanup * add unsupported local list * add multi hop disable switch * add GA * fix bug to return multihop no single * update swap details * copy updates * Visual refinements * Further tweaks * copy updates, actual list order * Move settings button * Update all trade views with settings cog * Add better tips, remove darkmode toggle from dropdown * Clean up routing UI * UI tweaks * minor tweaks * copy updates * add local default list, use existing function for trade comparison, disable v1 helper, show inactive/active at once * updated inactive view * remove slippage fix * update output amount return * center button, update search to character threshold * reset add state on back navigation * style tweak on add button * fix bug on search results Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com> |
||
Moody Salem
|
ddf88345a9
|
fix(token lists): stop showing notifications for lists that are not selected (#1174) | ||
Moody Salem
|
03913d9c0b
|
UNI | ||
Moody Salem
|
610b7f4464
|
make integration tests pass more reliably, some reducer refactoring | ||
Moody Salem
|
7cf25ac7c8
|
feat(lists): allow selecting and adding token lists (#1023)
* more list stuff Use the selected list instead of the default list, but also use the default list start list selection code * move token warning to a modal, fix the install issue * add/remove/enter key * handle enter on currency select for ETHER * change slippage tolerance to be a slider * make ui closer to the mocks * commit slider changes * back to tabs * copy changes * bump list version * some styling for the list select * bump uniswap default list version * use contract calls to get ens names and addresses * show list logo * fix failing integration test * .eth.link * list introduction screen * remove showSendWithSwap * fix integration and unit tests * resolve ENS names * logos from ens * fix the lint errors * some refactoring to better support using a the library provider from the user for resolving ENS names * load list info from the list url for the introduction page * make it slightly harder to remove a list * minor clean up, some help text and links * remove icon from list update popup * show added/removed tokens * add GA everywhere, don't debounce contenthash lookups * show tags * fix tag key * tag display, list rendering, needs optimization * fix list fetching in firefox, style issue in safari * sort the lists, clean up styling * use client provider when possible * show token warning for url loaded tokens * improve the warning modal * some refactoring to fix the list fetching on networks other than mainnet * fix tests * some minor improvements * increase timeout to maybe fix integration tests which pass locally * build for tests using the dev network url * reset the lists if we deleted the other two copies * improve how we handle updating the default list of lists * fix integration test * Update token list selection styles * fix external links, reuse the on click outside code, show add errors * show the list origin instead of the full url * fix update list link * show host instead of hostname do not automatically dismiss major version upgrades for lists * fix link to tokenlists.org * add uma * clean up styling in list rows * bump token list version * bump token list version again * hover symbol to see currency name * bump version * add cmc lists, dharma list Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com> |
||
Moody Salem
|
600049bc6e
|
fix(list): change the url of the default token list so we can move the file in the npm package | ||
Moody Salem
|
365b429c0b
|
feat(token lists): implement the uniswap default list as a token list (#983)
* load tokens from url `useTokenList` * improve performance of the loading * move the loading to redux and save loaded lists * lint error * move the list fetching code to a separate component * change how token lists are fetched to use the updater and add unit tests * fix a crash with currencyEquals * bump sdk version * token lists should automatically update for minor/patch changes * nit * show popups for list updates * support pointing at localhost * spuport ipfs/ipns logos * use the updater to bump list versions * save the old/new list in the popup for viewing diffs * improve the list popup * fix linter error, make sure visibility checking is working * show list update notifications * address a couple metamask warnings, linter error * fix the custom added/default tokens * refactor some popup stuff to reuse the fader * linter error * Revert: refactor some popup stuff to reuse the fader (a7b0f752) * style improvements, linter * add to the readme, drop the token-request template * back to the beta that works with wallet connect * get the dependencies to a state that works with wallet connect and passes integration tests |