uniswap-interface-uncensored/src/utils
Moody Salem 02d80e07dc
refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716)
* experimental! point at a kovan arbitrum deployment

* remove the unwrapped token from mint hook

* fix explorer links

* Etherscan -> Explorer

* move chains to constant file

* use NETWORK_URLS instead

* temporary fix to the syncing issue

* fix tests

* fix unknown chain id crash

* use a multicall that returns arbitrum block numbers

* lower polling interval for layer 2

* use a better multicall

* remove unused import

* fixed multicall2

* make some v2 code chain specific

* fix build

* line number changes

* update keys

* fix the locale parsing of full locale string

* extract

* fix lint

* add arbitrum one

* add arbitrum one to supported chains

* add missing arbitrum one label

* refactor: remove storybook

* point to the arbitrum explorer address

* fix arbitrum mainnet links

* fix how weth shows up in the interface

* make the usdc price feature more cross chain compatible

* missing translation

* clean up some governance code so it doesn't crash on unsupported networks

* improve how we check for transaction receipts for sequencer networks

* improve it a bit more
2021-06-02 15:14:34 -05:00
..
approveAmountCalldata.ts feat: use multicall for argent wallets in swap and v3 add liquidity (#1387) 2021-05-21 09:30:07 -05:00
calculateGasMargin.test.ts refactor: more separation by chain of addresses 2021-05-18 14:33:03 -05:00
calculateGasMargin.ts refactor: more separation by chain of addresses 2021-05-18 14:33:03 -05:00
calculateSlippageAmount.test.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
calculateSlippageAmount.ts refactor: more separation by chain of addresses 2021-05-18 14:33:03 -05:00
chunkArray.test.ts chunk multicall by gas cost 2021-04-02 20:00:28 -04:00
chunkArray.ts chunk multicall by gas cost 2021-04-02 20:00:28 -04:00
computeFiatValuePriceImpact.tsx refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
computeUniCirculation.test.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
computeUniCirculation.ts refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
constructSameAddressMap.ts refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716) 2021-06-02 15:14:34 -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 Add page MVP UI + v3 pool hooks and state (#35) 2021-04-14 10:12:35 -04:00
currencyId.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
formatCurrencyAmount.ts chore(i18n): add a few more translations 2021-05-29 20:29:49 -05:00
getExplorerLink.test.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
getExplorerLink.ts refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716) 2021-06-02 15:14:34 -05:00
getLibrary.ts refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716) 2021-06-02 15:14:34 -05:00
getTickToPrice.ts refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
getTokenList.ts keep list asset requests anonymous 2021-04-26 10:50:34 -05:00
getTradeVersion.ts refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
getUserAgent.ts Add App-level error boundary, referring users to GitHub issue creation (#1464) 2021-05-11 12:09:01 -04:00
index.test.ts refactor: more separation by chain of addresses 2021-05-18 14:33:03 -05:00
index.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
isTradeBetter.ts refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -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 refactor: bump to latest sdk (#1657) 2021-05-20 11:21:40 -05:00
prices.ts refactor: break down some constants files and move some stuff around 2021-05-18 10:31:22 -05:00
resolveENSContentHash.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00: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 refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716) 2021-06-02 15:14:34 -05:00
supportedChainId.ts refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716) 2021-06-02 15:14:34 -05:00
unwrappedToken.ts refactor(L2): Arbitrum Kovan testnet and Arbitrum One support (#1716) 2021-06-02 15:14:34 -05:00
uriToHttp.test.ts Fix code style issues with ESLint 2021-02-16 08:46:17 +00:00
uriToHttp.ts feat(lists): allow selecting and adding token lists (#1023) 2020-08-26 08:46:21 -05:00