EIP-1962: EC arithmetic and pairings with runtime definitions