How to Solve the Second Task of the Ethernaut Game
Too Long; Didn't ReadThis is the second part of my series around Ethernaut Game. In this post, we will deal with Level 2: Fallout: Claim the ownership of a given smart contract. The name of the constructor is not a constructor, but a normal function that we can call to claim ownership. This is due to comments and the fact that constructors always are named in the same way as the smart contract name, i.e. in that case `Fallout` However, due to the name of a constructor however, it behaves similarly to any other function. We see that this is the only place where the ownership is assigned.