uniswap-interface-uncensored/src/utils
Moody Salem bafd3f3c05
feat(v1-support): Enable executing swaps on v1 or v2 (#883)
* swap-v1

* toggle the version switch based on the search query parameter

* rework some of the query parameter stuff in send/swap

* hide the url when they click it

* allow switching back to v2 via the toggle

* represent the v1 trade in the UI if they toggle it on

* show trade link in both directions (5% threshold for v1 link)

* input amounts should reflect v1/v2

* perform the approve on v1 exchange for v1 trades

* get swap on v1 working

* move some code around to reduce duplication

* fix ts error

* correct input allowance

* fix exact token to token on v1

* fix pending approvals to be specific to the spender

* google analytics for swap version

* disable the version switch on pages other than swap and send
2020-06-11 15:56:28 -04:00
..
chunkArray.test.ts perf(ethereum): reduce number of calls by batching all polling node calls (#840) 2020-05-28 21:17:45 -04:00
chunkArray.ts perf(ethereum): reduce number of calls by batching all polling node calls (#840) 2020-05-28 21:17:45 -04:00
index.test.ts Add more unit tests to utils 2020-05-13 14:24:03 -04:00
index.ts feat(v1-support): Enable executing swaps on v1 or v2 (#883) 2020-06-11 15:56:28 -04:00
prices.ts Add liquidity callback (#830) 2020-05-27 11:42:25 -04:00
props-of-excluding.ts Refactor pages directory (#809) 2020-05-20 14:00:33 -05:00
tsconfig.json Strict typescript (#792) 2020-05-18 18:23:58 -05:00