Ethernaut Level 13 Gatekeeper One [Foundry-Hardhat]We have to get past all three gates (modifiers) by passing _gateKey to the enter function to become the entrant. We have to find out the _gateKey value...9 min read·0xcsp.hashnode.devVApr 9, 2023
Ethernaut Level 12 Privacy [Foundry-Hardhat]Making a variable private implies that it can only be accessed in the contract in which it is declared; it does not hide the variable, and the variable’s4 min read·0xcsp.hashnode.devJan 13, 2023
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 instantiated3 min read·0xcsp.hashnode.devJan 9, 2023
Ethernaut Level 10 Reentrancy [Foundry-Hardhat]Whenever Ether is sent to a smart contract either receive() for payable fallback() function is called. Any interaction between contract A and contract B and5 min read·0xcsp.hashnode.devJan 5, 2023
Ethernaut Level 9 King [Foundry-Hardhat]In level 1, we discussed fallback() and receive() functions. Each time we send ether to another contract, the transaction’s success depends on that contract3 min read·0xcsp.hashnode.devDec 28, 2022