Many smart contracts rely on the validity of a signature or whether it has been used before to decide whether an action…