BW6Pairing
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
Name | Type | Description |
---|---|---|
a | Bw6G1[] | List of Bw6G1. |
b | Bw6G2[] | List of Bw6G2. |
Returns
Name | Type | Description |
---|---|---|
<none> | bool | True if pairing output is 1. |