Rules:
In this class, we will focus on the dangerous delegatecall function. At the same time, everyone…