Agency-Based Contract for Investment