Skip to content

Commit

Permalink
Removing unnecessary function in forkonomicToken (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
josojo authored Jan 12, 2024
1 parent 17a7470 commit 79aac1b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions contracts/ForkonomicToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@ contract ForkonomicToken is
);
}

/// @dev Allows anyone to prepare the splitting of tokens
/// by burning them
/// @param amount The amount of tokens to burn
function prepareSplittingTokens(uint256 amount) public onlyAfterForking {
_burn(msg.sender, amount);
childTokenAllowances[msg.sender][false] += amount;
childTokenAllowances[msg.sender][true] += amount;
}

/// @dev Allows anyone to split the tokens from the parent contract into the tokens of the children
/// @param amount The amount of tokens to split
function splitTokensIntoChildTokens(uint256 amount) external {
Expand Down

0 comments on commit 79aac1b

Please sign in to comment.