From 79aac1b6d9808c45162b7ce660f481bfcbf33664 Mon Sep 17 00:00:00 2001 From: josojo Date: Fri, 12 Jan 2024 06:51:12 +0100 Subject: [PATCH] Removing unnecessary function in forkonomicToken (#183) --- contracts/ForkonomicToken.sol | 9 --------- 1 file changed, 9 deletions(-) diff --git a/contracts/ForkonomicToken.sol b/contracts/ForkonomicToken.sol index 65242169..289ce220 100644 --- a/contracts/ForkonomicToken.sol +++ b/contracts/ForkonomicToken.sol @@ -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 {