uniswap-interface-uncensored/src/utils
Moody Salem 5e8d725e0e
fix: split calls into more chunks if they fail due to out of gas errors (#2630)
* fix: split calls into more chunks if they fail due to out of gas errors

* set to 100m gas

* back to 25m so we batch fewer calls

* do not pass through gas limit, some simplification of the code

* unused import
2021-10-19 11:37:57 -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 refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
calculateGasMargin.ts feat: Add Optimism (#1923) 2021-07-08 12:46:21 -04: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
chunkArray.test.ts chunk multicall by gas cost 2021-04-02 20:00:28 -04:00
chunkArray.ts fix: split calls into more chunks if they fail due to out of gas errors (#2630) 2021-10-19 11:37:57 -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
getTradeVersion.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -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 refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -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: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
prices.ts refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -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
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
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 feat(lists): allow selecting and adding token lists (#1023) 2020-08-26 08:46:21 -05:00
userAgent.ts perf: rm duplicated ua-parser (#2427) 2021-09-24 08:13:40 -07:00