Files
fhevm-solidity/examples/EIP712.sol
Joseph-André Turk 535b055fc8 Updated Solidity version to ^0.8.20 and OpenZeppelin Contracts to ^5.0.1
updated to ethermint node

updated node dev version

removed parallel flag from hardhat test

reput inband test for ci

setup evm version to Paris to avoid PUSH0 error and updated hardhat version

removed utils.ts.new file

synced package.json and package-lock.json

prettier
2024-01-09 11:05:38 +01:00

17 lines
429 B
Solidity

// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.20;
import "../abstracts/EIP712WithModifier.sol";
contract AuthorizationToken is EIP712WithModifier {
constructor() EIP712WithModifier("Authorization token", "1") {}
function verify(
bytes32 publicKey,
bytes calldata signature
) public view onlySignedPublicKey(publicKey, signature) returns (bool) {
return true;
}
}