mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-25 21:07:56 +00:00
5138fe3d06
Signed-off-by: xermicus <cyrill@parity.io>
12 lines
219 B
Solidity
12 lines
219 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8;
|
|
|
|
contract ExtCode {
|
|
function ExtCodeSize(address who) public view returns (uint ret) {
|
|
assembly {
|
|
ret := extcodesize(who)
|
|
}
|
|
}
|
|
}
|