We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58cf81f commit 06dee01Copy full SHA for 06dee01
contracts/SBTFactory.sol
@@ -27,6 +27,8 @@ contract SBTFactory is ISBTFactory, OwnableUpgradeable {
27
address[] calldata minters,
28
bytes calldata identifier
29
) external override onlyOwner returns (address) {
30
+ require(sbtProxyMapping[identifier] == address(0), "Identifier already used");
31
+
32
// Create the implementation.
33
address implementation = address(
34
new SBT{salt: keccak256(identifier)}()
0 commit comments