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>
24 lines
642 B
Solidity
24 lines
642 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../utils/Strings.sol";
|
|
|
|
contract StringsMock {
|
|
function toString(uint256 value) public pure returns (string memory) {
|
|
return Strings.toString(value);
|
|
}
|
|
|
|
function toHexString(uint256 value) public pure returns (string memory) {
|
|
return Strings.toHexString(value);
|
|
}
|
|
|
|
function toHexString(uint256 value, uint256 length) public pure returns (string memory) {
|
|
return Strings.toHexString(value, length);
|
|
}
|
|
|
|
function toHexString(address addr) public pure returns (string memory) {
|
|
return Strings.toHexString(addr);
|
|
}
|
|
}
|