uniswap-interface-uncensored/src/utils
Justin Domingue 9e1a775c13
feat: integrate SwapRouter02 on L1/L2 + gas ui
* client-side smart order router support
* support auto router on L2s
* add swap router version in approval/swap callback GA events to save $ on approval txs
* add persistent UI view of gas estimate on L1s

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
Co-authored-by: Ian Lapham <ian@uniswap.org>
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2021-12-16 14:44:03 -05:00
..
addNetwork.ts perf: import @ethersproject directly to enforce modularization (#2424) 2021-09-24 10:19:45 -07:00
anonymizeLink.test.ts update explorer links for arbitrum (#2279) 2021-08-31 18:19:26 -04:00
anonymizeLink.ts update explorer links for arbitrum (#2279) 2021-08-31 18:19:26 -04:00
approveAmountCalldata.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
calculateGasMargin.test.ts fix(optimism): Optimism regenesis support (#2703) 2021-11-11 15:40:12 -05:00
calculateGasMargin.ts fix(optimism): Optimism regenesis support (#2703) 2021-11-11 15:40:12 -05:00
calculateSlippageAmount.test.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
calculateSlippageAmount.ts refactor: more separation by chain of addresses 2021-05-18 14:33:03 -05:00
computeFiatValuePriceImpact.tsx refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
computeSurroundingTicks.test.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
computeSurroundingTicks.ts feat(pools): fetch pool tick data from uniswap v3 subgraph (#1932) 2021-07-01 11:08:53 -07:00
computeUniCirculation.test.ts perf: import @ethersproject directly to enforce modularization (#2424) 2021-09-24 10:19:45 -07:00
computeUniCirculation.ts perf: import @ethersproject directly to enforce modularization (#2424) 2021-09-24 10:19:45 -07:00
constructSameAddressMap.ts fix: add DAI and WBTC and USDT to routing for Optimism 2021-07-14 11:50:04 -05:00
contenthashToUri.test.skip.ts feat(lists): allow selecting and adding token lists (#1023) 2020-08-26 08:46:21 -05:00
contenthashToUri.ts chore: update multicodec usage (#2233) 2021-08-23 10:15:43 -05:00
currencyId.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
formatCurrencyAmount.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
formatTickPrice.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
getExplorerLink.test.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
getExplorerLink.ts update explorer links for arbitrum (#2279) 2021-08-31 18:19:26 -04:00
getLibrary.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
getTickToPrice.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
getTokenList.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
getTxOptimizedSwapRouter.test.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
getTxOptimizedSwapRouter.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
index.test.ts refactor: more separation by chain of addresses 2021-05-18 14:33:03 -05:00
index.ts chore: restrict imports from dist (#2443) 2021-09-25 12:35:00 -07:00
isTradeBetter.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
isZero.ts improvement(swap): Better swap errors for FoT (#1015) 2020-08-06 18:18:43 -05:00
listSort.ts refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
listVersionLabel.ts feat(lists): allow selecting and adding token lists (#1023) 2020-08-26 08:46:21 -05:00
maxAmountSpend.ts refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716) 2021-06-02 15:14:34 -05:00
parseENSAddress.test.ts fix(ens): support ens names with dashes in them 2020-11-07 08:19:01 -08:00
parseENSAddress.ts fix(ens): support ens names with dashes in them 2020-11-07 08:19:01 -08:00
prices.test.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
prices.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
resolveENSContentHash.ts perf: import @ethersproject directly to enforce modularization (#2424) 2021-09-24 10:19:45 -07:00
retry.test.ts test failed due to randomness. make it less likely to fail. 2020-09-01 11:28:18 -05:00
retry.ts remove a lot of dead code (#1970) 2021-07-06 17:08:40 -04:00
safeNamehash.test.ts fix: introduce safeNamehash (#2925) 2021-12-03 16:45:33 -05:00
safeNamehash.ts fix: introduce safeNamehash (#2925) 2021-12-03 16:45:33 -05:00
supportedChainId.ts refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716) 2021-06-02 15:14:34 -05:00
switchToNetwork.ts perf: import @ethersproject directly to enforce modularization (#2424) 2021-09-24 10:19:45 -07:00
transformSwapRouteToGetQuoteResult.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
unwrappedToken.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
uriToHttp.test.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
uriToHttp.ts fix: inadvertent merges/reverts (#2915) 2021-12-02 10:35:39 -08:00
userAgent.ts perf: rm duplicated ua-parser (#2427) 2021-09-24 08:13:40 -07:00