def pubkey_aff
import bend-collections@1.0.0.0/src/crypto/secp256k1/schnorr.bend as Schnorrimport Base
import bend-collections@1.0.0.0/src/crypto/secp256k1/point.bend as P
import bend-collections@1.0.0.0/src/crypto/secp256k1/bytes.bend as B
101def pubkey_aff(a: P.Affine) -> List<&2, U32>:
102 match a:
103 case P.Affine{x, y}: B.to_be(x)