caelum0x 2b68bde5d5 Predikt: full Polymarket-style prediction market — web + mobile + on-chain + bots
Working tree is now the canonical repo. Off-chain play-money + trustless on-chain
(FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution,
mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 23:29:50 +03:00

47 lines
1.3 KiB
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "../../../src/utils/EIP712.sol";
/// @dev WARNING! This mock is strictly intended for testing purposes only.
/// Do NOT copy anything here into production code unless you really know what you are doing.
contract MockEIP712 is EIP712 {
function _domainNameAndVersion()
internal
pure
override
returns (string memory name, string memory version)
{
name = "Milady";
version = "1";
}
function hashTypedData(bytes32 structHash) external view returns (bytes32) {
return _hashTypedData(structHash);
}
function DOMAIN_SEPARATOR() external view returns (bytes32) {
return _domainSeparator();
}
function hashTypedDataSansChainId(bytes32 structHash) external view returns (bytes32) {
return _hashTypedDataSansChainId(structHash);
}
function hashTypedDataSansChainIdAndVerifyingContract(bytes32 structHash)
external
view
returns (bytes32)
{
return _hashTypedDataSansChainIdAndVerifyingContract(structHash);
}
function hashTypedDataSansVerifyingContract(bytes32 structHash)
external
view
returns (bytes32)
{
return _hashTypedDataSansVerifyingContract(structHash);
}
}