Skip to content

Commit

Permalink
add ICreatorToken to upgradeable
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Apr 1, 2024
1 parent 21c2874 commit e93439d
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import {ERC721ContractMetadataStorage} from "../ERC721ContractMetadataStorage.sol";
import { ICreatorToken } from "../interfaces/ICreatorToken.sol";

import { ERC721ContractMetadataStorage } from "../ERC721ContractMetadataStorage.sol";

/**
* @title ERC721TransferValidatorUpgradeable
* @notice Functionality to use a transfer validator.
*/
contract ERC721TransferValidatorUpgradeable {
abstract contract ERC721TransferValidatorUpgradeable is ICreatorToken {
using ERC721ContractMetadataStorage for ERC721ContractMetadataStorage.Layout;

/// @notice Emit an event when the transfer validator is updated.
event TransferValidatorUpdated(address oldValidator, address newValidator);

/// @notice Revert with an error if the transfer validator is being set to the same address.
error SameTransferValidator();

Expand Down

0 comments on commit e93439d

Please sign in to comment.