uniswap-interface-uncensored/src/utils
Ian Lapham 7feba045fc
fix: add formatting to USDC values (#3478)
* add formatting to USDC values

* update formatting of USDC amounts to en

* apply same formatting to summary
2022-03-10 12:38:59 -05: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 chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
calculateGasMargin.test.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
calculateGasMargin.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
calculateSlippageAmount.test.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
calculateSlippageAmount.ts refactor: more separation by chain of addresses 2021-05-18 14:33:03 -05:00
chains.tsx refactor: split chain info from chains (#3105) 2022-01-12 10:46:41 -08:00
computeFiatValuePriceImpact.tsx chore: upgrade to redux-toolkit 1.8 (#3464) 2022-03-09 12:19:24 -05:00
computeSurroundingTicks.test.ts feat: use TickLens on chains where subgraph is not functional (#3149) 2022-01-24 09:12:07 -05:00
computeSurroundingTicks.ts feat: use TickLens on chains where subgraph is not functional (#3149) 2022-01-24 09:12:07 -05:00
computeUniCirculation.test.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
computeUniCirculation.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
constructSameAddressMap.ts feat(polygon): polygon mainnet and testnet support (#3015) 2021-12-22 14:25:10 -05:00
currencyId.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
formatCurrencyAmount.ts fix: add formatting to USDC values (#3478) 2022-03-10 12:38:59 -05:00
formatTickPrice.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
getExplorerLink.test.ts feat(polygon): polygon mainnet and testnet support (#3015) 2021-12-22 14:25:10 -05:00
getExplorerLink.ts feat(polygon): polygon mainnet and testnet support (#3015) 2021-12-22 14:25:10 -05:00
getLibrary.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
getTickToPrice.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
getTxOptimizedSwapRouter.test.ts refactor: isolate approval callback hooks (#3172) 2022-01-24 10:56:24 -08:00
getTxOptimizedSwapRouter.ts refactor: isolate approval callback hooks (#3172) 2022-01-24 10:56:24 -08:00
index.test.ts refactor: more separation by chain of addresses 2021-05-18 14:33:03 -05:00
index.ts feat: add multicall to widget (#3112) 2022-01-13 08:54:08 -08: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
prices.test.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
prices.ts feat: improved warning ux (#3310) 2022-02-15 19:34:02 -08: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
routes.ts feat: add chainId (network) as url parameter (#3057) 2022-01-24 15:23:34 -08:00
safeNamehash.test.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
safeNamehash.ts chore: import @ethersprojects directly (#3104) 2022-01-12 10:06:22 -08:00
supportedChainId.ts feat(swap): default 1 native to usdc on the swap page (#3347) 2022-02-28 13:30:37 -05:00
swapErrorToUserReadableMessage.tsx feat: update swap hooks and add swap txn submission (#3187) 2022-01-26 19:21:10 -05:00
switchToNetwork.ts fix: isolate infura (#3241) 2022-02-07 10:12:45 -08:00
tradeMeaningFullyDiffer.ts feat: update summary view with real values (#3179) 2022-01-25 13:48:52 -05:00
transformSwapRouteToGetQuoteResult.ts feat: integrate SwapRouter02 on L1/L2 + gas ui 2021-12-16 14:44:03 -05:00
unwrappedToken.ts fix: update type on wrapped native currency (#3454) 2022-03-07 21:04:21 -05:00
userAgent.ts perf: rm duplicated ua-parser (#2427) 2021-09-24 08:13:40 -07:00