decodeAddr method
Decodes a given blockchain address string.
Throws AddressConverterException on invalid input.
Implementation
@override
ICPDecodedAddress decodeAddr(String addr) {
final String trimmed = addr.trim();
// 1. Classic Account Identifier (64 hex characters)
if (_isAccountIdentifier(trimmed)) {
return _decodeAccountIdentifier(trimmed);
}
// 2. Principal (Base32 + dashes)
return _decodePrincipal(trimmed);
}