Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
neokry committed Aug 7, 2023
1 parent 07b0e66 commit 7961187
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/manager/Manager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ contract Manager is IManager, VersionedContract, UUPS, Ownable, ManagerStorageV1
/// @notice Set a new metadata renderer
/// @param _newRendererImpl new renderer address to use
/// @param _setupRenderer data to setup new renderer with
function setMetadataRenderer(address _token, address _newRendererImpl, bytes memory _setupRenderer) external returns (address metadata) {
function setMetadataRenderer(
address _token,
address _newRendererImpl,
bytes memory _setupRenderer
) external returns (address metadata) {
if (msg.sender != IOwnable(_token).owner()) revert ONLY_TOKEN_OWNER();

metadata = address(new ERC1967Proxy(_newRendererImpl, ""));
Expand Down
6 changes: 5 additions & 1 deletion src/metadata/property/interfaces/IPropertyMetadata.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ interface IPropertyMetadata is IBaseMetadata, PropertyMetadataTypesV1, PropertyM
/// @param names The names of the properties to add
/// @param items The items to add to each property
/// @param ipfsGroup The IPFS base URI and extension
function addProperties(string[] calldata names, ItemParam[] calldata items, IPFSGroup calldata ipfsGroup) external;
function addProperties(
string[] calldata names,
ItemParam[] calldata items,
IPFSGroup calldata ipfsGroup
) external;

/// @notice The number of properties
function propertiesCount() external view returns (uint256);
Expand Down

0 comments on commit 7961187

Please sign in to comment.