Created
October 1, 2020 16:00
-
-
Save Mayur1496/55b93b5c9518bfcd73a2ce90e7cf60bb to your computer and use it in GitHub Desktop.
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
pragma solidity >=0.4.11 <0.6.0; | |
contract C { | |
function f(uint x) public view returns (uint r) { | |
assembly { | |
r := extcodehash(x) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment