mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
16 lines
304 B
Solidity
16 lines
304 B
Solidity
// SPDX-License-Identifier: AGPLv3
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../../../contracts/Schnorr.sol";
|
|
|
|
contract TestSchnorr {
|
|
function verify(
|
|
bytes32 px,
|
|
bytes calldata message,
|
|
bytes32 c,
|
|
bytes32 s
|
|
) external pure returns (bool) {
|
|
return Schnorr.verify(px, message, c, s);
|
|
}
|
|
}
|