Agent-Based Contracting in Virtual Enterprises