Uniswap without TORN censoring
Go to file
Charles Bachmeier 2aa1b18d14
chore: Migrate from Relay to Apollo (#5754)
* feat: initial apollo configutation (#5565)

* initial apollo configutation

* add new files

* check in types-and-hooks

* config unused export

* deduplicate

* ignore checked in schema for linting

* remove prettier ignore

* test unchecking types and hooks file

* undo

* rename codegen, respond to comments

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>

* Remove maybe value from codegen

* add babel gql codegen

* correct ts graphql-tag

* remove plugin from craco

* chore: migrate Assets Query to Apollo (#5665)

* chore: migrate Assets Query to Apollo

* delete comment

* move length check back to collectionAssets

* remove uneeded check

* respond to comments

* working switching and filters

* change sweep fetch policy

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>

* chore: migrate collection query to apollo (#5647)

* migrate collection query to apollo

* remove page level suspense

* undo removing page level suspense

* rename query and hook

* guard returns

* add return type prop

* cleanup nullables

* memoizing

* use gql from apollo

* use babel gql and move empty trait

* add fetch policy

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>

* chore: migrate NFT details query to apollo (#5648)

* chore: migrate NFT details query to apollo

* update todo

* update imports

* remove no longer used hook

* rename query

* use babel gql and nonnullable type

* working page

* add fetchpolicy

* respond to comments

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>

* chore: migrate NftBalanceQuery (#5653)

* chore: migrate NftBalanceQuery

* cleanup

* update pagination

* better undefined handling

* move brake listing for invalid asset higher

* better handle loading

* memoize and cleanup

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>

* remove named gql query consts

* set default fetchPolicy

* null suspense

* chore: Migrate The Graph queries (#5727)

* migrate TheGraph queries to Apollo

* add new files

* ignore thegraph generated types

* use standard fetchPolicy

* update apollo codegen commands

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>

* chore: migrate token queries to Apollo (#5682)

* migrate utils to types-and-hooks

* too many TokenTable re-renders

* working token queries

* fixed sparkline for native asset

* onChangeTimePeriod

* define inline

* use query instead of data in naming

* sparklineQuery instead of sparklineData

* rename to usePriceHistory

* multiline if else

* remove optional

* remove unneeded eslint ignore

* rename tokenQueryLoading

* rename OnChangeTimePeriod

* token address fallback

* just address

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>

* chore: deprecate Relay (#5747)

* chore: deprecate Relay

* remove graph:ql generate step

* add new files

* apollo to graphql centric naming

* add new files

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>

* remove no longer needed config exclusions

Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2022-12-20 13:42:52 -08:00
.github build: update name for revert github action (#5693) 2022-12-15 07:50:46 -08:00
.vscode feat: update token icon sourcing (#5208) 2022-11-17 16:25:04 -05:00
cypress test: disable fiat announcement on cypress tests (#5751) 2022-12-20 15:36:57 -05:00
patches build: patch vanilla extract to speed up build time (#4447) 2022-08-23 12:02:27 -04:00
public fix: body, #root, AppWrapper and BodyWrapper height: 100% (#5628) 2022-12-11 14:27:00 -05:00
src chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08:00
.env fix(moonpay): add ?platform=web to moonpay env vars (#35) 2022-12-15 15:32:20 -06:00
.env.production fix(moonpay): add ?platform=web to moonpay env vars (#35) 2022-12-15 15:32:20 -06:00
.eslintignore chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08:00
.eslintrc.json build: lint for unused exports (#5513) 2022-12-05 18:18:07 -05: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
.prettierignore feat: integrate relay (#4320) 2022-08-16 20:01:12 -04:00
.prettierrc set up eslint and prettier; run prettier 2019-04-15 12:56:40 -04:00
.snyk build: bump widgets/universal-router-sdk (#5582) 2022-12-12 11:21:22 -05:00
apollo-codegen_thegraph.ts chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08:00
apollo-codegen.ts chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08:00
babel-plugin-macros.config.js build: add staging NODE_ENV (#4187) 2022-08-04 12:03:41 -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 feat: improve formatting of NFT prices with shared module (#5245) 2022-11-17 19:59:40 +01: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: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08:00
graphql_thegraph.config.js chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08:00
graphql.config.js chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08: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 chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08:00
prei18n-extract.js feat: data api connection (#4396) 2022-08-19 15:31:10 -04:00
README.md feat: use new token lists (#4733) 2022-09-27 16:57:29 -04:00
tsconfig.json chore: upgrade react-spring version (#4770) 2022-09-30 13:09:06 -04:00
yarn.lock chore: Migrate from Relay to Apollo (#5754) 2022-12-20 13:42:52 -08: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

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.