laconicd/tests/solidity/suites/staking/contracts/locking/ILockManager.sol
Federico Kunze 96cad7de9c
tests: reorganize packages (#7)
* tests: reorganize testing packages

* gitignore and minor changes
2021-05-11 07:54:55 -04:00

13 lines
394 B
Solidity

pragma solidity ^0.5.17;
interface ILockManager {
/**
* @notice Check if `_user`'s by `_lockManager` can be unlocked
* @param _user Owner of lock
* @param _amount Amount of locked tokens to unlock
* @return Whether given lock of given owner can be unlocked by given sender
*/
function canUnlock(address _user, uint256 _amount) external view returns (bool);
}