ce96873a72
* feat: use default input/output on chain switch * feat(widgets): ErrorGenerator -> PropValidator * default prop validation * useDefaults hook * pr feedback * fix cosmos * drop token map changes * add default inputs to cosmos fixture * set up different validation layers for widget and swap * split widget/swap prop types * cleanup * pr feedback * clear defaults when they're no longer valid on the current chain * remove state checks on validators * stop using address in cosmos fixture * pr feedback * useMemo on useSwapDefaults args * tell the user what they gave to error'd props Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> |
||
---|---|---|
.github | ||
cypress | ||
public | ||
src | ||
.env | ||
.env.production | ||
.eslintrc.json | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
babel-plugin-macros.config.js | ||
codegen.yml | ||
CONTRIBUTING.md | ||
cosmos.config.json | ||
cosmos.override.js | ||
custom-test-env.js | ||
cypress.json | ||
LICENSE | ||
lingui.config.ts | ||
package.json | ||
README.md | ||
rollup.config.ts | ||
tsconfig.base.json | ||
tsconfig.json | ||
tsconfig.lib.json | ||
yarn.lock |
Uniswap Interface
An open source interface for Uniswap -- a protocol for decentralized exchange of Ethereum tokens.
- Website: uniswap.org
- Interface: app.uniswap.org
- Docs: uniswap.org/docs/
- Twitter: @Uniswap
- Reddit: /r/Uniswap
- Email: contact@uniswap.org
- Discord: Uniswap
- Whitepapers:
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.
- Swap on Uniswap V2: https://app.uniswap.org/#/swap?use=v2
- View V2 liquidity: https://app.uniswap.org/#/pool/v2
- Add V2 liquidity: https://app.uniswap.org/#/add/v2
- Migrate V2 liquidity to V3: https://app.uniswap.org/#/migrate/v2
Accessing Uniswap V1
The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways linked from the v1.0.0 release.