Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ addressHasCode
Method
addressHasCode
src/cpp-ethereum/libethereum/State.cpp:258–264 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
256
}
257
258
bool State::addressHasCode(Address const& _id) const
259
{
260
if (auto a = account(_id))
261
return a->codeHash() != EmptySHA3;
262
else
263
return false;
264
}
265
266
u256 State::balance(Address const& _id) const
267
{
Callers
2
call
Method · 0.45
create
Method · 0.45
Calls
1
codeHash
Method · 0.45
Tested by
no test coverage detected