Module bn128
Expand description
BN128 precompiles added in EIP-1962
Modules§
Constants§
- ADD_
INPUT_ LEN - Input length for the add operation.
ADDtakes two uncompressed G1 points (64 bytes each). - MUL_
INPUT_ LEN - Input length for the multiplication operation.
MULtakes an uncompressed G1 point (64 bytes) and scalar (32 bytes). - PAIR_
ELEMENT_ LEN - Pair element length.
PAIRelements are composed of an uncompressed G1 point (64 bytes) and an uncompressed G2 point (128 bytes).