This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.8.0; | |
interface IERC20 { | |
function balanceOf(address) external view returns (uint256); | |
function transfer(address, uint256) external view returns (bool); | |
} | |
contract Unlockooor { | |
bool public isUnlocked; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.8.0; | |
contract StorNinja { | |
constructor() { | |
assembly { | |
sstore(0x0, 0x1) | |
sstore(0x1, 0x2) | |
return(0x0, 0x00) // return no code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.8.0; | |
import "hardhat/console.sol"; | |
contract TryCatchCaller { | |
TryCatchCallee calee; | |
constructor () { | |
calee = new TryCatchCallee(); |