code: def Serialize(self, writer):
          
          writer.WriteVarBytes(self.Script)
          writer.WriteVarBytes(self.ParameterList)
          writer.WriteByte(self.ReturnType)
docs: Serialize full object.
  
          Args:
              writer (neo.IO.BinaryWriter):