You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Calculates a new version object from two token lists.
6
-
* Important: This function assumes the input lists do not include tokens with duplicate addresses or different chainIds (which is the case when pulling with the view contract). It also assumes the token addresses are checksummed.
6
+
* Important: This function assumes the input lists do not include tokens with duplicate addresses. It also assumes the token addresses are checksummed.
7
7
* @param previousTokens The previous list to compare the new with.
8
8
* @param latestTokens The new list.
9
9
* @param invalidTokens These are tokens that failed uniswap-tokenlists validation rules.
@@ -20,22 +20,26 @@ export function getNewErc20ListVersion(
20
20
// 4- Changing a token address or chain ID is considered both a remove and an add which produce a major version update.
21
21
// Note that for the case of the using a view contract, number 4 will never happen.
0 commit comments