The correct answer is B. It established a public record of consistent laws.
This was a set of written laws that all members of the Babylonian society were supposed to follow. These laws, develop around the 1750 BC helped to create a society in which there were consistent punishments for crimes. The idea of an "eye for an eye" or a "tooth for a tooth" was a common phrase used to explain Hammurabi's code.
Essentially, for every crime there is an equal punishment that fits the crime. For example, if someone steals food from another person, than they can expect to have food taken from them.