Skip to content

Commit

Permalink
Merge pull request #163 from Bananapus/audit-22
Browse files Browse the repository at this point in the history
resolve Enigma-Dark audit issue #22
  • Loading branch information
filipviz authored Jun 24, 2024
2 parents a86f812 + 80d6b84 commit 867b9a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/JBController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,8 @@ contract JBController is JBPermissioned, ERC2771Context, IJBController, IJBMigra
/// @param projectId The ID of the project to deploy the ERC-20 for.
/// @param name The ERC-20's name.
/// @param symbol The ERC-20's symbol.
/// @param salt The salt used for ERC-1167 clone deployment. Pass a non-zero salt for deterministic deployment based
/// on `msg.sender` and the `TOKEN` implementation address.
/// @return token The address of the token that was deployed.
function deployERC20For(
uint256 projectId,
Expand Down
2 changes: 2 additions & 0 deletions src/JBTokens.sol
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ contract JBTokens is JBControlled, IJBTokens {
/// @param projectId The ID of the project to deploy an ERC-20 token for.
/// @param name The ERC-20's name.
/// @param symbol The ERC-20's symbol.
/// @param salt The salt used for ERC-1167 clone deployment. Pass a non-zero salt for deterministic deployment based
/// on `msg.sender` and the `TOKEN` implementation address.
/// @return token The address of the token that was deployed.
function deployERC20For(
uint256 projectId,
Expand Down

0 comments on commit 867b9a8

Please sign in to comment.