-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ON-483: Remove grantors from mappings
- Loading branch information
Daniel Lima
committed
Sep 25, 2023
1 parent
be4293f
commit 131bdb3
Showing
4 changed files
with
246 additions
and
103 deletions.
There are no files selected for viewing
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,13 @@ | ||
// SPDX-License-Identifier: CC0-1.0 | ||
|
||
pragma solidity 0.8.9; | ||
|
||
import { ERC1155 } from '@openzeppelin/contracts/token/ERC1155/ERC1155.sol'; | ||
|
||
contract MockERC1155 is ERC1155 { | ||
constructor() ERC1155('https://example.com/{id}') {} | ||
|
||
function mint(address to, uint256 tokenId, uint256 amount, bytes memory data) external { | ||
_mint(to, tokenId, amount, data); | ||
} | ||
} |
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
Oops, something went wrong.