c9639c3860
* 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>
13 lines
394 B
Solidity
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);
|
|
}
|