MCPcopy 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
258bool 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
266u256 State::balance(Address const& _id) const
267{

Callers 2

callMethod · 0.45
createMethod · 0.45

Calls 1

codeHashMethod · 0.45

Tested by

no test coverage detected