Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.4.2 #8

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion contracts/mint/MintManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@
mechanicVectorId,
recipient,
numToMint,
_msgSender(),
_mechanicVectorMetadata,
data
);
Expand Down Expand Up @@ -818,6 +819,7 @@
mechanicVectorId,
recipient,
tokenIds,
_msgSender(),
_mechanicVectorMetadata,
data
);
Expand Down Expand Up @@ -1675,4 +1677,4 @@
revert(0x00, 0x04)
}
}
}
}

Check failure on line 1680 in contracts/mint/MintManager.sol

View workflow job for this annotation

GitHub Actions / ci

Insert ⏎
2 changes: 2 additions & 0 deletions contracts/mint/mechanics/DiscreteDutchAuctionMechanic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ contract DiscreteDutchAuctionMechanic is MechanicMintManagerClientUpgradeable, U
bytes32 mechanicVectorId,
address recipient,
uint32 numToMint,
address minter,
MechanicVectorMetadata calldata mechanicVectorMetadata,
bytes calldata data
) external payable onlyMintManager {
Expand All @@ -366,6 +367,7 @@ contract DiscreteDutchAuctionMechanic is MechanicMintManagerClientUpgradeable, U
bytes32 mechanicVectorId,
address recipient,
uint256[] calldata tokenIds,
address minter,
MechanicVectorMetadata calldata mechanicVectorMetadata,
bytes calldata data
) external payable onlyMintManager {
Expand Down
6 changes: 5 additions & 1 deletion contracts/mint/mechanics/interfaces/IMechanic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@
* @param mechanicVectorId Global ID identifying mint vector, using this mechanic
* @param recipient Mint recipient
* @param numToMint Number of tokens to mint
* @param minter Account that called mint on the MintManager
* @param mechanicVectorMetadata Mechanic vector metadata
* @param data Custom data that can be deserialized and processed according to implementation
*/
function processNumMint(
bytes32 mechanicVectorId,
address recipient,
uint32 numToMint,
address minter,
MechanicVectorMetadata calldata mechanicVectorMetadata,
bytes calldata data
) external payable;
Expand All @@ -36,14 +38,16 @@
* @param mechanicVectorId Global ID identifying mint vector, using this mechanic
* @param recipient Mint recipient
* @param tokenIds IDs of tokens to mint
* @param minter Account that called mint on the MintManager
* @param mechanicVectorMetadata Mechanic vector metadata
* @param data Custom data that can be deserialized and processed according to implementation
*/
function processChooseMint(
bytes32 mechanicVectorId,
address recipient,
uint256[] calldata tokenIds,
address minter,
MechanicVectorMetadata calldata mechanicVectorMetadata,
bytes calldata data
) external payable;
}
}

Check failure on line 53 in contracts/mint/mechanics/interfaces/IMechanic.sol

View workflow job for this annotation

GitHub Actions / ci

Insert ⏎
Loading