BW6Pairing

Git Source

State Variables

BW6_PAIRING

BW6_PAIRING precompile address.

uint256 private constant BW6_PAIRING = 0x0810;

Functions

pairing

Computes a "product" of pairings.

function pairing(Bw6G1[] memory a, Bw6G2[] memory b) internal view returns (bool);

Parameters

NameTypeDescription
aBw6G1[]List of Bw6G1.
bBw6G2[]List of Bw6G2.

Returns

NameTypeDescription
<none>boolTrue if pairing output is 1.