The Ethernaut CTF Solutions | 11 - Elevator
Goals
The Contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface Building {
function isLastFloor(uint) external returns (bool);
}
contract Elevator {
bool public top;
uint public floor;
function goTo(uint _floo...
blog.pedrojok.com3 min read