Inactive cytochrome P450 monooxygenase; part of the gene cluster that mediates the biosynthesis of fungal ergot alkaloid (PubMed:17720822). DmaW catalyzes the first step of ergot alkaloid biosynthesis by condensing dimethylallyl diphosphate (DMAP) and tryptophan to form 4-dimethylallyl-L-tryptophan (By similarity). The second step is catalyzed by the methyltransferase easF that methylates 4-dimethylallyl-L-tryptophan in the presence of S-adenosyl-L-methionine, resulting in the formation of 4-dimethylallyl-L-abrine (By similarity). The catalase easC and the FAD-dependent oxidoreductase easE then transform 4-dimethylallyl-L-abrine to chanoclavine-I which is further oxidized by easD in the presence of NAD(+), resulting in the formation of chanoclavine-I aldehyde (By similarity). Agroclavine dehydrogenase easG then mediates the conversion of chanoclavine-I aldehyde to agroclavine via a non-enzymatic adduct reaction: the substrate is an iminium intermediate that is formed spontaneously from chanoclavine-I aldehyde in the presence of glutathione (By similarity). Further conversion of agroclavine to paspalic acid is a two-step process involving oxidation of agroclavine to elymoclavine and of elymoclavine to paspalic acid, the second step being performed by the elymoclavine oxidase cloA (PubMed:17720822). However, cloA does not encode a functional enzyme indicating that C.fusiformis terminates its ergot alkaloid pathway at elymoclavine (PubMed:17720822). Even when expressed, does not show any monooxygenase activity (PubMed:17720822). Belongs to the cytochrome P450 family.