From 981cfe0d10e4afde5bbfee9e07e5773b98bdd027 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 23 Nov 2024 12:24:33 -0600 Subject: [PATCH] chore: remove redundant file --- src/token/tStorage.sol | 90 ------------------------------------------ 1 file changed, 90 deletions(-) delete mode 100644 src/token/tStorage.sol diff --git a/src/token/tStorage.sol b/src/token/tStorage.sol deleted file mode 100644 index 42ecfc7..0000000 --- a/src/token/tStorage.sol +++ /dev/null @@ -1,90 +0,0 @@ -// SPDX-License-Identifier: BUSL-1.1 - -pragma solidity ^0.8.20; - -import "@openzeppelin/contracts/utils/math/Math.sol"; -import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; - -// Storage for a YAM token -contract TokenStorage { - /** - * @notice EIP-20 token name for this token - */ - string public name; - - /** - * @notice EIP-20 token symbol for this token - */ - string public symbol; - - /** - * @notice EIP-20 token decimals for this token - */ - uint8 public decimals; - - /** - * @notice Whether transfers are paused - */ - bool public transferPaused; - - /** - * @notice Whether transfers are paused - */ - bool public mintPaused; - - /** - * @notice Whether transfers are paused - */ - bool public burnPaused; - - /** - * @notice Whether rebase are paused - */ - bool public rebasePaused; - - /** - * @notice Last proposal start period - */ - uint32 public lastSnapshotTime; - - /** - * @notice Decimal difference between shares and actual balance - */ - uint256 public constant balanceToShareDecimals = 10 ** 6; - - /** - * @notice One share unit - */ - uint256 public constant shareDecimals = 10 ** 24; - - /** - * @notice Map of token allowances - */ - mapping(address => mapping(address => uint256)) internal _allowedBalances; - - /** - * @notice The last timestamp that `syncSupply` was called - * @dev Set to uint32 so balance calcs can use 1 sload - */ - uint32 public syncStart; - - /** - * @notice The end of the current reward distribution interval - * @dev Set to uint32 so balance calcs can use 1 sload - */ - uint32 public syncEnd; - - /** - * @notice The `totalSupply` at `syncStart` - * @dev Set to uint96 for balance calculations to use 1 ssload - */ - uint96 public preSyncSupply; - - /** - * @notice The amount of rewards to distribute over the interval - * @dev Set to uint96 for balance calculations to use 1 ssload - */ - uint96 public rewardsToSync; - - uint256[45] private __gap; -}