diff --git a/src/token/fstMOVE.sol b/src/token/fstMOVE.sol index 9035488..2dbe932 100644 --- a/src/token/fstMOVE.sol +++ b/src/token/fstMOVE.sol @@ -224,9 +224,19 @@ contract fstMOVE is Context, IERC20, IERC20Metadata, IERC20Errors { * @dev Destruct sets all balanceOf() calls to return 0 to prevent user wallet cloggage */ function destruct() external { + require(msg.sender == _gov); destructed = true; } + /** + * @dev Change gov role + */ + function _changeGov(address newGov) external { + require(msg.sender == _gov); + + _gov = newGov; + } + /** * Fulfill IERC20 interface *