A agrees to manage business affairs for B, who legally manufactures indigo but is involved in illegal trade of other goods. B promises to pay A a yearly salary of 10,000 rupees. The contract is considered void because the purpose of A's promise and the consideration for B's promise are partly ________.
Explanation
The agreement is void because part of the consideration involves illegal activities. Since B’s business includes unlawful trade, the object and consideration related to that part are unlawful, making the contract void.