constErc20Bytes32=newInterface(ERC20_ABI)asErc20Bytes32Interface// Used for tokens that return bytes32 for name/symbol rather than string
constErc20Bytes32=newInterface(ERC20_ABI)asErc20Bytes32Interface// Used for tokens that return bytes32 for name/symbol rather than string
// TODO(WEB-3060): cartcrom - adapt support for multi-function multi-interface multicalls into redux-multicall to remove than this custom cache/chunking logic
// TODO(WEB-1760): cartcrom - adapt support for multi-function multi-interface multicalls into redux-multicall to remove than this custom cache/chunking logic
// Infura rejects calls with gas costs > 10x the current block gas limit; in such case we split the call into 2 chunks
// Infura rejects calls with gas costs > 10x the current block gas limit; in such case we split the call into 2 chunks
// Price Impact is always an absolute value (conceptually always negative, but represented in code with a positive value)
// Price Impact is always an absolute value (conceptually always negative, but represented in code with a positive value)
// The USD value change can be positive or negative, and it follows the same standard as Price Impact (positive value is the typical case of a loss due to slippage).
// The USD value change can be positive or negative, and it follows the same standard as Price Impact (positive value is the typical case of a loss due to slippage).
// We don't want to return a warning level for a favorable/profitable change, so when the USD value change is negative we return 0.
// We don't want to return a warning level for a favorable/profitable change, so when the USD value change is negative we return 0.
// TODO (WEB-3133): Disambiguate Price Impact and USD value change, and flip the sign of USD Value change.
// TODO (WEB-1833): Disambiguate Price Impact and USD value change, and flip the sign of USD Value change.