MCPcopy
hub / github.com/embarklabs/embark / cb

Function cb

packages/embarkjs/ens/src/ENSFunctions.js:60–65  ·  view source on GitHub ↗
(err, name)

Source from the content-addressed store, hash-verified

58 let node = _namehash.hash(address.toLowerCase() + reverseAddressSuffix);
59
60 function cb(err, name) {
61 if (err === NoDecodeStringErr || err === NoDecodeAddrErr) {
62 return callback('Address does not resolve to name. Try syncing chain.');
63 }
64 return callback(err, name);
65 }
66
67 return ens.methods.resolver(node).call((err, resolverAddress) => {
68 if (err) {

Callers 15

handleEnterFunction · 0.85
consoleCommandMethod · 0.85
initMethod · 0.85
onceMethod · 0.85
index.jsFile · 0.85
blockchain.jsFile · 0.85
startRPCMockServerFunction · 0.85
index.jsFile · 0.85
lookupAddressFunction · 0.85
resolveNameFunction · 0.85
downloadFileFunction · 0.85
parseAndRespondFunction · 0.85

Calls 1

callbackFunction · 0.50

Tested by 1

actionFunction · 0.68