committed by
Nicolás Venturo
parent
1186520617
commit
32bc7a6fe5
@ -161,7 +161,7 @@ contract TokenVesting is Ownable {
|
|||||||
* @param token ERC20 token which is being vested
|
* @param token ERC20 token which is being vested
|
||||||
*/
|
*/
|
||||||
function _vestedAmount(IERC20 token) private view returns (uint256) {
|
function _vestedAmount(IERC20 token) private view returns (uint256) {
|
||||||
uint256 currentBalance = token.balanceOf(this);
|
uint256 currentBalance = token.balanceOf(address(this));
|
||||||
uint256 totalBalance = currentBalance.add(_released[token]);
|
uint256 totalBalance = currentBalance.add(_released[token]);
|
||||||
|
|
||||||
if (block.timestamp < _cliff) {
|
if (block.timestamp < _cliff) {
|
||||||
|
|||||||
Reference in New Issue
Block a user