MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / HasContract

Method HasContract

src/persistence/contractdb.cpp:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45bool CContractDBCache::HasContract(const CRegID &contractRegId) {
46 return contractCache.HasData(CRegIDKey(contractRegId));
47}
48
49bool CContractDBCache::EraseContract(const CRegID &contractRegId) {
50 return contractCache.EraseData(CRegIDKey(contractRegId));

Callers 11

CheckReadDataMethod · 0.80
CheckScriptDBMethod · 0.80
GetContractDataMethod · 0.80
testscriptdbFunction · 0.80
getcontractassetsFunction · 0.80
submitluacontractcalltxFunction · 0.80
submitucontractcalltxFunction · 0.80
getcontractinfoFunction · 0.80
luavm_executescriptFunction · 0.80
luavm_executecontractFunction · 0.80
setcodeMethod · 0.80

Calls 2

CRegIDKeyClass · 0.85
HasDataMethod · 0.45

Tested by 4

CheckReadDataMethod · 0.64
CheckScriptDBMethod · 0.64
GetContractDataMethod · 0.64
testscriptdbFunction · 0.64