 The reference is a cryptographic hash function, and the object is formed by writing classes that handle the type of contract needed; a Factory (object-oriented programming) would typically read enough of the text of the document to figure out which class type is involved, and then construct an object of that specific class over the text.Once an object is constructed, it can be interrogated for contents