isValidChecksumAddress function

bool isValidChecksumAddress(
  1. String str
)

Implementation

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