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

How to Solve the Second Task of the Ethernaut Game

by Kamil Polak2mJanuary 20th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Kamil Polak

Kamil Polak

@kamilpolak

I am a huge enthusiast of cryptocurrency and blockchain technology.

About @kamilpolak
LEARN MORE ABOUT @KAMILPOLAK'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Kamil Polak HackerNoon profile picture
Kamil Polak@kamilpolak
I am a huge enthusiast of cryptocurrency and blockchain technology.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!