hex encode uncompressed pubkeys in contracts