Uniswap without TORN censoring
Go to file
Jack Short 8c372c6142
fix: fixing pwat routing edge case (#5987)
* 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
2023-02-16 18:46:42 -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: wait for page to load in e2e tests (#5983) 2023-02-15 13:55:35 -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: fixing pwat routing edge case (#5987) 2023-02-16 18:46:42 -05:00
.env feat: better UX when Sentry disabled (#5695) 2022-12-22 00:39:29 +04:00
.env.production chore: disable Sentry in production (#5795) 2023-01-09 21:49:35 +04: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 fix: allow signing with smart contract wallets (#5970) 2023-02-15 11:30:09 -05: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 fix: allow signing with smart contract wallets (#5970) 2023-02-15 11:30:09 -05: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.