codex-contracts-eth/contracts/Groth16.sol

19 lines
220 B
Solidity
Raw Normal View History

2024-01-18 12:50:54 +00:00
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
struct G1Point {
uint x;
uint y;
}
struct G2Point {
uint[2] x;
uint[2] y;
}
struct Groth16Proof {
G1Point a;
G2Point b;
G1Point c;
}