How to Solve the Second Task of the Ethernaut Gameby@kamilpolak

How to Solve the Second Task of the Ethernaut Game

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

This 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.
featured image - How to Solve the Second Task of the Ethernaut Game
Kamil Polak HackerNoon profile picture

@kamilpolak

Kamil Polak


Receive Stories from @kamilpolak

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa