interface ILocker {
    function syncLiquiditySupply(address pool) external;

    /**
     * @dev Fails if transaction is not allowed. Otherwise returns the penalty.
     * Returns a bool and a uint16, bool clarifying the penalty applied, and uint16 the penaltyOver1000
     */
    function lockOrGetPenalty(address source, address dest)
    external
    returns (bool, uint256);
}
function lockOrGetPenalty(address source, address dest)
external
returns (bool, uint256);

/**
 * @dev Fails if transaction is not allowed. Otherwise returns the penalty.
 * Returns a bool and a uint16, bool clarifying the penalty applied, and uint16 the penaltyOver1000
 */