---
title: "Discussion on \"Ethernaut Level 11 Elevator [Foundry-Hardhat]\" | Hashnode"
description: "Discussion on \"Ethernaut Level 11 Elevator [Foundry-Hardhat]\". We need to set the top to true to clear the level. top will set to true if building.isLastFloor(floor) returns true. The Building interface is instantiated"
url: "https://hashnode.com/posts/ethernaut-level-11-elevator-foundry-hardhat/63bc04f9caae487be2ad7c42"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ethernaut Level 11 Elevator \[Foundry-Hardhat\]](https://0xcsp.hashnode.dev/ethernaut-level-11-elevator-foundry-hardhat?utm_source=hashnode&utm_medium=feed)

We need to set the top to true to clear the level. top will set to true if building.isLastFloor(floor) returns true. The Building interface is instantiated

Jan 9, 2023 · 3 min read · 0xcsp.hashnode.dev  
Updated Apr 9, 2023  
Read the article

-   [#ethernaut](https://hashnode.com/tag/ethernaut)
-   [#ethereum](https://hashnode.com/tag/ethereum)
-   [#solidity](https://hashnode.com/tag/solidity)
-   [#hardhat](https://hashnode.com/tag/hardhat)
-   [#foundry](https://hashnode.com/tag/foundry)

## Written by

[Chirag Patil](https://hashnode.com/@0xcsp)

@0xcsp · India

  
[View profile](https://hashnode.com/@0xcsp)

Smart contract developer & web3 writer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
