function decodeAddress(bytes) {

    if (bytes.length === 2 && bytes.equals(Buffer.from([0, 0]))) return "EVT" + "0".repeat(50); // 0000
    else if (bytes.slice(0, 2).equals(Buffer.from([2, 0]))) return decodeGeneratedAddressFromBin(bytes); // generated address
    return "EVT" + KeyUtils.checkEncode(bytes.slice(2));
}