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

27 lines
698 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/// @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 MockImplementation {
error Fail();
mapping(uint256 => uint256) internal _values;
function fails() external pure {
revert Fail();
}
function succeeds(uint256 a) external pure returns (uint256) {
return a;
}
function setValue(uint256 key, uint256 value) external payable {
_values[key] = value;
}
function getValue(uint256 key) external view returns (uint256) {
return _values[key];
}
}