Uniswap without TORN censoring
Go to file
Jack Short 7b589561bc
fix: not using stablecoin to calc price impact pwat (#5997)
* feat: implementing graphql endpoint

* changing from hook to function call

* initial gql routing works

* feat: initial pwatRouting setup

* sending correct amount

* removing console

* it is working

* sufficient balance

* 0 if no inputCurrency

* removing value to send if erc20

* removing console

* permit2 optional flag

* removing not necessary stuff

* mobile fixes

* overlay needs to be here

* changing swap amount to pool reserves

* refactoring routing logic

* no route found button state

* better price loading for insufficient liquidity

* refactoring graphql routing code

* overflow

* initial comments

* resetting bag status on input currency change

* locking

* done

* remove helper text for eth

* fix: pay with any token routing bug

* reordering button

* zindex

* price updated

* keeping debounce

* feat: adding amplitude events for pwat

* bumping analytics version

* types and hooks

* moving erc20 flag to useSendTransaction

* why did i put it in a hook

* no return

* fix: not using usdc value to calculate price impact

* refactor + loading state
2023-02-21 12:55:35 -05:00
.github feat: add jest coverage to github action (#5850) 2023-02-02 14:06:15 -06:00
.vscode chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
cypress fix: change e2e test language (#5999) 2023-02-17 17:29:59 -08:00
patches build: patch vanilla extract to speed up build time (#4447) 2022-08-23 12:02:27 -04:00
public fix: theme-aware root element color (#5788) 2023-01-05 09:20:56 -08:00
src fix: not using stablecoin to calc price impact pwat (#5997) 2023-02-21 12:55:35 -05:00
.env feat: introduce statsig and expose dummy feature gate (#5974) 2023-02-17 17:42:57 -08:00
.env.production feat: introduce statsig and expose dummy feature gate (#5974) 2023-02-17 17:42:57 -08:00
.eslintignore chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
.eslintrc.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
.gitignore chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08:00
.npmrc build: enforce node/npm versions (#4434) 2022-08-22 13:55:48 -04:00
.nvmrc build: update .nvmrc (#5559) 2022-12-07 12:55:36 -05:00
.snyk build: bump widgets/universal-router-sdk (#5582) 2022-12-12 11:21:22 -05:00
apollo-codegen_thegraph.ts chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
apollo-codegen.ts chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
babel-plugin-macros.config.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
codegen.yml feat: data api connection (#4396) 2022-08-19 15:31:10 -04:00
CONTRIBUTING.md feat: service worker with etag cache (#3897) 2022-06-14 15:40:52 -04:00
craco.config.cjs fix: widget theme integration (#5880) 2023-01-25 17:12:23 -05:00
cypress.config.ts build: change cypress timeout to 24s (#5690) 2022-12-15 09:29:47 -05:00
cypress.release.config.ts build: wait 1m between release tests (#4077) 2022-07-11 13:24:01 -04:00
fetch-schema.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
graphql_thegraph.config.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
graphql.config.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +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: introduce statsig and expose dummy feature gate (#5974) 2023-02-17 17:42:57 -08:00
prei18n-extract.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
README.md feat: add jest coverage to github action (#5850) 2023-02-02 14:06:15 -06:00
tsconfig.json chore: upgrade react-spring version (#4770) 2022-09-30 13:09:06 -04:00
uniswap-analytics-events-dev.tgz refactor: using more specific analytics names (#5505) 2023-01-04 10:29:12 -05:00
yarn.lock feat: introduce statsig and expose dummy feature gate (#5974) 2023-02-17 17:42:57 -08: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.

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.