-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from blockful-io/wildcard-writing-v02
Wildcard Writing based on IWriteDeferral w/ view call
- Loading branch information
Showing
18 changed files
with
734 additions
and
377 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ~0.8.17; | ||
|
||
import "@ens-contracts/wrapper/IMetadataService.sol"; | ||
|
||
contract MockMetadataService is IMetadataService { | ||
|
||
string private _baseUri; | ||
|
||
constructor(string memory baseUri) { | ||
_baseUri = baseUri; | ||
} | ||
|
||
function uri(uint256 /* tokenId */ ) | ||
external | ||
view | ||
override | ||
returns (string memory) | ||
{ | ||
return _baseUri; | ||
} | ||
|
||
} |
Oops, something went wrong.