Skip to content

Commit 86dec3f

Browse files
author
ilitteri
committed
Rename contract variable
1 parent 8c4fcd0 commit 86dec3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

claim_contracts/src/AlignedToken.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ contract AlignedToken is
3535
/// @dev The _foundation must accept the ownership of the contract
3636
/// after deployment in another transaction.
3737
/// @param _foundation address of the foundation.
38-
/// @param _claim address of the claim.
38+
/// @param _claimSupplier address of the claim supplier.
3939
function initialize(
4040
address _foundation,
41-
address _claim
41+
address _claimSupplier
4242
) public initializer {
4343
require(
44-
_foundation != address(0) && _claim != address(0),
44+
_foundation != address(0) && _claimSupplier != address(0),
4545
"Invalid _foundation or _claim"
4646
);
4747
__ERC20_init(NAME, SYMBOL);
@@ -50,7 +50,7 @@ contract AlignedToken is
5050
__Ownable2Step_init(); // default is msg.sender
5151
_transferOwnership(_foundation);
5252
_mint(_foundation, 7_300_000_000e18); // 7.3 billion
53-
_mint(_claim, 2_700_000_000e18); // 2.7 billion
53+
_mint(_claimSupplier, 2_700_000_000e18); // 2.7 billion
5454
}
5555

5656
/// @notice Prevents the owner from renouncing ownership.

0 commit comments

Comments
 (0)