PEPierre E.inblog.pedrojok.com·Apr 16, 2024 · 7 min readDamn Vulnerable DeFi | 6 - SelfieGoals In the Selfie challenge, we simply have to drain all the 1.5 million DVT tokens from the new lending pool. Cool! See the contracts The Contracts Note: I have removed some non-relevant parts for clarity. // SPDX-License-Identifier: MIT pragma s...00
PEPierre E.inblog.pedrojok.com·Apr 15, 2024 · 7 min readDamn Vulnerable DeFi | 5 - The RewarderGoals In the The Rewarder challenge, we have to claim all the rewards from the next distribution round, despite having no DVT tokens. A hint points us at a new flashloan pool... See the contracts The Contracts // SPDX-License-Identifier: MIT pragma ...00
PEPierre E.inblog.pedrojok.com·Apr 14, 2024 · 4 min readDamn Vulnerable DeFi | 4 - Side EntranceGoals In the Side Entrance challenge, we have to steal all the ETH from the pool. Flashloans are free, and we start with 1 ETH. See the contracts The Contracts // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "solady/src/utils/SafeTra...00
PEPierre E.inblog.pedrojok.com·Apr 13, 2024 · 4 min readDamn Vulnerable DeFi | 3 - TrusterGoals In the Truster challenge, we have to drain 1 million DVT tokens from the flash loan pool. So pretty high stakes! Let's see how to achieve that. See the contracts The Contracts // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@o...00
PEPierre E.inblog.pedrojok.com·Apr 12, 2024 · 6 min readThe Ethernaut CTF Solutions | 31 - StakeGoals The Contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Stake { uint256 public totalStaked; mapping(address => uint256) public UserStake; mapping(address => bool) public Stakers; address public WETH; ...00