laconicd-deprecated/tests-solidity/suites/staking/contracts/locking/ILockManager.sol
Brett Sun c9639c3860
tests: add solidity test suites (#487)
* tests: add solidity test suite

* tests: remove require strings

* Update tests-solidity/init-test-node.sh

* Update tests-solidity/init-test-node.sh

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-09-01 17:16:28 -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);
}