Uniswap without TORN censoring
Go to file
Brendan Wong 966b02b2de
fix: add distance check from white for token rich link previews (#7152)
* feat: lower white levels if too close

* testing and parameterization

* Update getColor.ts

* Update getColor.test.ts

* Update getColor.ts

* Update getColor.test.ts

* Update getColor.test.ts
2023-08-17 13:30:58 -04:00
.github feat: add CodeCov to cloud tests (#7154) 2023-08-17 11:30:56 -04:00
.vscode build: add vscode settings for default formatter (#6644) 2023-05-25 08:22:51 -10:00
cypress feat: more swap metric logging (#7173) 2023-08-17 10:16:51 -07:00
eslint_rules build: use webpack-retry-chunk-load-plugin (#6885) 2023-07-06 17:54:49 -04:00
functions fix: add distance check from white for token rich link previews (#7152) 2023-08-17 13:30:58 -04:00
patches fix: color extraction for rich link previews (#7138) 2023-08-10 18:32:08 -04:00
public fix: update default rich link preview image (#7176) 2023-08-17 12:05:52 -04:00
scripts feat: upgrade to node 18 (#6606) 2023-06-06 11:59:03 -07:00
src feat: more swap metric logging (#7173) 2023-08-17 10:16:51 -07:00
.env feat: base network (#6997) 2023-08-04 11:43:11 -07:00
.env.production feat: use new consolidated signing endpoint (#6222) 2023-03-22 21:41:17 -05:00
.eslintrc.js build: replace babel with swc (#7056) 2023-08-08 10:38:37 -07:00
.gitignore build: replace babel with swc (#7056) 2023-08-08 10:38:37 -07:00
.npmrc build: enforce node/npm versions (#4434) 2022-08-22 13:55:48 -04:00
.nvmrc feat: upgrade to node 18 (#6606) 2023-06-06 11:59:03 -07:00
.snyk build: bump widgets/universal-router-sdk (#5582) 2022-12-12 11:21:22 -05:00
.swcrc fix: fix jest breaking with new swc setting (#7149) 2023-08-11 13:53:48 -07:00
codecov.yml feat: add CodeCov to cloud tests (#7154) 2023-08-17 11:30:56 -04:00
codegen.yml feat: data api connection (#4396) 2022-08-19 15:31:10 -04:00
CONTRIBUTING.md test: enforce package size (#4098) 2023-03-07 09:27:20 -08:00
craco.config.cjs chore: moving coned formatting to interface (#7114) 2023-08-09 14:01:37 -04:00
cypress.config.ts chore: remove e2e coverage from aggregate calculation in codecov (#7108) 2023-08-09 14:48:59 -05:00
graphql.data.codegen.config.ts fix: Handle new and unsupported chains passed in from GQL BE (#6878) 2023-07-05 21:31:30 -07:00
graphql.data.config.js build: cache generated files across builds (#6495) 2023-05-09 15:49:53 -07:00
graphql.thegraph.codegen.config.ts build: cache generated files across builds (#6495) 2023-05-09 15:49:53 -07:00
graphql.thegraph.config.js build: cache generated files across builds (#6495) 2023-05-09 15:49:53 -07:00
hardhat.config.js feat: update infura fork block height for cypress tests to be dynamic (#6998) 2023-07-24 18:00:29 -07:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
lingui.config.ts build: replace babel with swc (#7056) 2023-08-08 10:38:37 -07:00
package.json feat: more swap metric logging (#7173) 2023-08-17 10:16:51 -07:00
README.md feat: use router depending on the origin (#6982) 2023-08-07 15:01:45 -07:00
tsconfig.json test(cypress): clean up types/assumptions/infura (#7046) 2023-08-01 22:13:19 -07:00
yarn.lock feat: more swap metric logging (#7173) 2023-08-17 10:16:51 -07:00

Uniswap Labs Interface

codecov

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

Contributions

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

PR Title

Your PR title must follow conventional commits, and should start with one of the following types:

  • build: Changes that affect the build system or external dependencies (example scopes: yarn, eslint, typescript)
  • ci: Changes to our CI configuration files and scripts (example scopes: vercel, github, cypress)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing tests or correcting existing tests

Example commit messages:

  • feat: adds support for gnosis safe wallet
  • fix: removes a polling memory leak
  • chore: bumps redux version

Other things to note:

  • Please describe the change using verb statements (ex: Removes X from Y)
  • PRs with multiple changes should use a list of verb statements
  • Add any relevant unit / integration tests
  • Changes will be previewable via vercel. Non-obvious changes should include instructions for how to reproduce them

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.