The Ethernaut CTF Solutions | 09 - King
Goals
The Contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract King {
address king;
uint public prize;
address public owner;
constructor() payable {
owner = msg.sender;
king = msg.sender;
...
blog.pedrojok.com3 min read