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
2024-01-23 09:24:02 +00:00
pragma solidity 0.8.23;
2024-01-18 12:50:54 +00:00
struct G1Point {
uint x;
uint y;
}
struct G2Point {
uint[2] x;
uint[2] y;
}
struct Groth16Proof {
G1Point a;
G2Point b;
G1Point c;
}