The document contains code for 6 sample smart contracts: 1) An Adder contract that allows adding two integers and setting/getting a name string 2) A Greeter contract that allows setting/getting a greeting string 3) An AuditLog contract that logs a uid, audit details, and date 4) A Voting contract that allows voting for candidates and getting vote counts 5) A FeverContract that tracks temperature, allows increasing/decreasing it, and checks for fever 6) Each contract code includes functions for setting/getting values and other relevant logic