bool isValidChecksumAddress(String str) { return (isAddress(str.replaceAll('0x', '')) && toChecksum(str) == str); }