Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mejango committed Oct 24, 2024
1 parent ee718a0 commit ba6fa1c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/JBERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {IJBToken} from "./interfaces/IJBToken.sol";
/// `JBController.deployERC20For(...)` or `JBController.setTokenFor(...)`, credits can be redeemed to claim tokens.
/// @dev `JBController.deployERC20For(...)` deploys a `JBERC20` contract and sets it as the project's token.
contract JBERC20 is ERC20Votes, ERC20Permit, Ownable, IJBToken {

//*********************************************************************//
// ---------------- public immutable stored properties --------------- //
//*********************************************************************//
Expand Down Expand Up @@ -102,7 +101,15 @@ contract JBERC20 is ERC20Votes, ERC20Permit, Ownable, IJBToken {
/// @param symbol_ The token's symbol.
/// @param projectId_ The project ID.
/// @param owner The token contract's owner.
function initialize(string memory name_, string memory symbol_, uint256 projectId_, address owner) public override {
function initialize(
string memory name_,
string memory symbol_,
uint256 projectId_,
address owner
)
public
override
{
// Prevent re-initialization by reverting if a name is already set or if the provided name is empty.
if (bytes(_name).length != 0 || bytes(name_).length == 0) revert();

Expand Down

0 comments on commit ba6fa1c

Please sign in to comment.