This is a CONTINGENT contract, not a wagering contract. Contingent contracts depend on a future uncertain event (fire destroying the house) but are enforceable because they have a legitimate interest - protection of property. Wagering agreements involve betting on uncertain events without insurable interest and are void.