Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kulkarohan authored and oveddan committed Sep 11, 2023
1 parent d015f3a commit 01b9ec0
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/premint/ZoraCreator1155PremintExecutor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,16 @@ contract ZoraCreator1155PremintExecutor {
);

// emit Preminted event
emit Preminted(address(tokenContract), newTokenId, isNewContract, premintConfig.uid, contractConfig, premintConfig.tokenConfig, msg.sender, quantityToMint);
emit Preminted(
address(tokenContract),
newTokenId,
isNewContract,
premintConfig.uid,
contractConfig,
premintConfig.tokenConfig,
msg.sender,
quantityToMint
);
}

function _getOrCreateContract(ContractCreationConfig calldata contractConfig) private returns (IZoraCreator1155 tokenContract, bool isNewContract) {
Expand Down Expand Up @@ -111,7 +120,8 @@ contract ZoraCreator1155PremintExecutor {
/// Contract address is generated deterministically from a hash based onthe contract uri, contract name,
/// contract admin, and the msg.sender, which is this contract's address.
function getContractAddress(ContractCreationConfig calldata contractConfig) public view returns (address) {
return zora1155Factory.deterministicContractAddress(address(this), contractConfig.contractURI, contractConfig.contractName, contractConfig.contractAdmin);
return
zora1155Factory.deterministicContractAddress(address(this), contractConfig.contractURI, contractConfig.contractName, contractConfig.contractAdmin);
}

/// Recovers the signer of the given premint config created against the specified zora1155 contract address.
Expand Down

0 comments on commit 01b9ec0

Please sign in to comment.