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>
62 lines
1.2 KiB
Solidity
62 lines
1.2 KiB
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../proxy/utils/Initializable.sol";
|
|
|
|
contract Implementation1 is Initializable {
|
|
uint256 internal _value;
|
|
|
|
function initialize() public initializer {}
|
|
|
|
function setValue(uint256 _number) public {
|
|
_value = _number;
|
|
}
|
|
}
|
|
|
|
contract Implementation2 is Initializable {
|
|
uint256 internal _value;
|
|
|
|
function initialize() public initializer {}
|
|
|
|
function setValue(uint256 _number) public {
|
|
_value = _number;
|
|
}
|
|
|
|
function getValue() public view returns (uint256) {
|
|
return _value;
|
|
}
|
|
}
|
|
|
|
contract Implementation3 is Initializable {
|
|
uint256 internal _value;
|
|
|
|
function initialize() public initializer {}
|
|
|
|
function setValue(uint256 _number) public {
|
|
_value = _number;
|
|
}
|
|
|
|
function getValue(uint256 _number) public view returns (uint256) {
|
|
return _value + _number;
|
|
}
|
|
}
|
|
|
|
contract Implementation4 is Initializable {
|
|
uint256 internal _value;
|
|
|
|
function initialize() public initializer {}
|
|
|
|
function setValue(uint256 _number) public {
|
|
_value = _number;
|
|
}
|
|
|
|
function getValue() public view returns (uint256) {
|
|
return _value;
|
|
}
|
|
|
|
fallback() external {
|
|
_value = 1;
|
|
}
|
|
}
|