Expand description

Module containing a contract’s types and functions.

library BN254 {
    type BaseField is uint256;
    type ScalarField is uint256;
    struct G1Point { BaseField x; BaseField y; }
}

Structs§

BN254Instance
A BN254 instance.
BaseField
G1Point
ScalarField

Functions§

new
Creates a new wrapper around an on-chain BN254 contract instance.