Skip to content

Commit

Permalink
Merge pull request #8 from highlightxyz/v1.4.2
Browse files Browse the repository at this point in the history
v1.4.2
  • Loading branch information
beshup authored Feb 14, 2024
2 parents a6a7a05 + 494b49f commit ce7fc6f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
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 @@ contract MintManager is
mechanicVectorId,
recipient,
numToMint,
_msgSender(),
_mechanicVectorMetadata,
data
);
Expand Down Expand Up @@ -818,6 +819,7 @@ contract MintManager is
mechanicVectorId,
recipient,
tokenIds,
_msgSender(),
_mechanicVectorMetadata,
data
);
Expand Down Expand Up @@ -1675,4 +1677,4 @@ contract MintManager is
revert(0x00, 0x04)
}
}
}
}

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

View workflow job for this annotation

GitHub Actions / ci

Insert ⏎

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 @@ interface IMechanic is IMechanicData {
* @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 @@ interface IMechanic is IMechanicData {
* @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 ⏎

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

View workflow job for this annotation

GitHub Actions / ci

Insert ⏎

0 comments on commit ce7fc6f

Please sign in to comment.