Skip to content

Commit

Permalink
Remove unused struct and document params
Browse files Browse the repository at this point in the history
  • Loading branch information
neokry committed Sep 12, 2023
1 parent b77830d commit f660035
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/minters/CollectionPlusMinter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@ contract CollectionPlusMinter {
address redeemToken;
}

/// @notice Parameters for collection plus minting
struct MintParams {
/// @notice DAO token contract to set settings for
address tokenContract;
/// @notice User to redeem tokens for
address redeemFor;
/// @notice List of tokenIds to redeem
uint256[] tokenIds;
/// @notice ERC6551 account init data
bytes initData;
}

/// @notice Event for mint settings updated
event MinterSet(address indexed mediaContract, CollectionPlusSettings merkleSaleSettings);

Expand Down Expand Up @@ -82,6 +70,12 @@ contract CollectionPlusMinter {
}

/// @notice mints a token from reserve using the collection plus strategy and sets delegations
/// @param tokenContract The DAO token contract to mint from
/// @param redeemFor Address to redeem tokens for
/// @param tokenIds List of tokenIds to redeem
/// @param initData ERC6551 account init data
/// @param signature ERC1271 signature for delegation
/// @param deadline Deadline for signature
function mintFromReserveAndDelegate(
address tokenContract,
address redeemFor,
Expand Down Expand Up @@ -116,6 +110,11 @@ contract CollectionPlusMinter {
}

/// @notice mints a token from reserve using the collection plus strategy
/// @notice mints a token from reserve using the collection plus strategy and sets delegations
/// @param tokenContract The DAO token contract to mint from
/// @param redeemFor Address to redeem tokens for
/// @param tokenIds List of tokenIds to redeem
/// @param initData ERC6551 account init data
function mintFromReserve(
address tokenContract,
address redeemFor,
Expand Down

0 comments on commit f660035

Please sign in to comment.