A contract of indemnity is defined as one where one party promises to compensate the other for any losses caused either by the promisor's actions or those of others. The person making the promise is the indemnifier and the person receiving the promise is the indemnified. For a contract of indemnity to be enforceable, it must meet all the requirements of a valid contract. If the purpose or consideration of the indemnity is unlawful, such as promising to indemnify someone for assaulting another person, the contract cannot be enforced. Contracts of insurance, excluding life insurance, as well as implied contracts between auctioneers and those requesting an auction are also considered contracts of indemnity.