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>
23 lines
644 B
Solidity
23 lines
644 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "./ERC1155Mock.sol";
|
|
import "../token/ERC1155/extensions/ERC1155URIStorage.sol";
|
|
|
|
contract ERC1155URIStorageMock is ERC1155Mock, ERC1155URIStorage {
|
|
constructor(string memory _uri) ERC1155Mock(_uri) {}
|
|
|
|
function uri(uint256 tokenId) public view override(ERC1155, ERC1155URIStorage) returns (string memory) {
|
|
return ERC1155URIStorage.uri(tokenId);
|
|
}
|
|
|
|
function setURI(uint256 tokenId, string memory _tokenURI) public {
|
|
_setURI(tokenId, _tokenURI);
|
|
}
|
|
|
|
function setBaseURI(string memory baseURI) public {
|
|
_setBaseURI(baseURI);
|
|
}
|
|
}
|