Uniswap without TORN censoring
Go to file
Jesse eb06aef199
feat: add support for Celo (#3915)
* feat: Support for Celo

* fix: wrong condition

* combine celo and alfajores lists

* use celo erc20 representation

* fix: refactor infura.ts to networks.ts & add celo to rpc urls

* feature: add celo contract addresses
fix: remove celo from supported gas estimate chains until feature is available

* refactor: useUSDCPrice to useStablecoinPrice
fix: add celo to supported gas estimate chains

* fix: use unique factory address for getting pool address

* fix: darkmode background graident

* fix: removing a comment left behind

* fix: remove bad import

* fix: remove dead link until the Celo is live on info.uniswap.org

* fix: add asset to common bases & minor refactoring

* fix: celo info links point to root info.uniswap.org

* fix: change celo token bridge to portal

* fix: update redux-multicall to latest version

* refactor: for code readability

* fix: celo banner colors & remove unused alternative logo

* fix: change celo token list to hosted version

* fix: update celo banner colors

* fix: move celo to the bottom of the network selector list

* fix: dedup dependencies @uniswap/router-sdk @uniswap/v3-sdk

* fix: refactoring + move Celo above L2s

* fix: update celo contract addresses

* fix: update celo subgraph

* fix: update v3-sdk and smart-order-router versions

* fix: move Celo to the bottom of the network selector list

* fix: downgrade smart-order-router and add casting fix

* fix: downgrade smart-order-router and add casting fix

* fix: resolve Pool dependency

* fix: bridge chain id types

* fix: explorer link test

* fix: use quoter v2 ABI in useClientSideV3Trade fro Celo

* fix: update connection "infura_rpc" to networks

* fix: revert yarn.lock and force install

* fix: dedup router and v3 sdk

* refactor: mv quoter v2 to client side v3 trade

* build: dedup lockfile

* feature: add portal ether to common bases

* fix: add comment for chains that use QuoterV2

* fix: use token as native asset

* fix: supply correct factory address to getPoolAddress call & refactor nativeOnChain method

* feature: adjust celo tokens presetned

* fix: update celo explorer to celoscan

* fix: celo token casting

* fix: celo celo explorer it

* fix: celo chain info should be consistent with block explorer used.

Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2022-07-12 16:48:03 +02:00
.github build: wait on passing cypress (#4076) 2022-07-11 18:55:03 +02:00
.vscode chore(vscode): add workspace settings.json (#3914) 2022-06-14 17:39:12 -04:00
cypress build: wait 1m between release tests (#4077) 2022-07-11 13:24:01 -04:00
public feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
src feat: add support for Celo (#3915) 2022-07-12 16:48:03 +02:00
.env feat: upgrade to web3-react v8 (#3759) 2022-06-16 14:39:23 -04:00
.env.production feat: implement initial setup of amplitude SDK (#4044) 2022-07-08 11:57:47 -04:00
.eslintrc.json chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
.gitignore build: optimize github actions (#3922) 2022-06-16 17:42:18 -04:00
.nvmrc feature(storybook): first pass at storybook integration 2021-02-12 15:32:25 -05:00
.prettierignore feat(thegraph): auto-generate graphql types (#1926) 2021-06-28 16:43:24 -07:00
.prettierrc set up eslint and prettier; run prettier 2019-04-15 12:56:40 -04:00
babel-plugin-macros.config.js build: clean up module loading (#3898) 2022-06-09 14:39:38 -04:00
codegen.yml feat(pools): fetch pool tick data from uniswap v3 subgraph (#1932) 2021-07-01 11:08:53 -07:00
CONTRIBUTING.md feat: service worker with etag cache (#3897) 2022-06-14 15:40:52 -04:00
cypress.config.ts build: revert cypress projectId (#3921) 2022-06-16 10:08:25 -04:00
cypress.release.config.ts build: wait 1m between release tests (#4077) 2022-07-11 13:24:01 -04:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
lingui.config.ts chore: merge widgets work into main (#3065) 2022-01-05 12:38:53 -06:00
package.json feat: add support for Celo (#3915) 2022-07-12 16:48:03 +02:00
README.md chore: rm widget code (#3810) 2022-05-10 13:49:04 -07:00
tsconfig.json chore: rm widget code (#3810) 2022-05-10 13:49:04 -07:00
yarn.lock feat: add support for Celo (#3915) 2022-07-12 16:48:03 +02:00

Uniswap Labs Interface

Unit Tests Integration Tests Lint Release Crowdin

An open source interface for Uniswap -- a protocol for decentralized exchange of Ethereum tokens.

Accessing the Uniswap Interface

To access the Uniswap Interface, use an IPFS gateway link from the latest release, or visit app.uniswap.org.

Unsupported tokens

Check out useUnsupportedTokenList() in src/state/lists/hooks.ts for blocking tokens in your instance of the interface.

You can block an entire list of tokens by passing in a tokenlist like here or you can block specific tokens by adding them to unsupported.tokenlist.json.

Contributions

For steps on local deployment, development, and code contribution, please see CONTRIBUTING.

Accessing Uniswap V2

The Uniswap Interface supports swapping, adding liquidity, removing liquidity and migrating liquidity for Uniswap protocol V2.

Accessing Uniswap V1

The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways linked from the v1.0.0 release.