A mutual agreement, of .which the effects, with resist both to the advantages and losses, whether to all the parties or to some of them, depend on an uncertain event. Civil Code La. art. 2982; Moore v. Johnston, 8 La. Ann. 488; Losecco v. Gregory, 108 Iji. 648, 32 South. 985