MCPcopy Create free account
hub / github.com/CPChain/chain / Exist

Method Exist

core/vm/interface.go:53–53  ·  view source on GitHub ↗

Exist reports whether the given account exists in state. Notably this should also return true for suicided accounts.

(common.Address)

Source from the content-addressed store, hash-verified

51 // Exist reports whether the given account exists in state.
52 // Notably this should also return true for suicided accounts.
53 Exist(common.Address) bool
54 // Empty returns whether the given account is empty. Empty
55 // is defined according to EIP161 (balance = nonce = code = 0).
56 Empty(common.Address) bool

Callers 4

TxNonceMethod · 0.65
checkEqualMethod · 0.65
callMethod · 0.65
pushObjectMethod · 0.65

Implementers 2

StateDBcore/state/statedb.go
NoopStateDBcore/vm/noop.go

Calls

no outgoing calls

Tested by 1

checkEqualMethod · 0.52