MCPcopy Index your code
hub / github.com/dethcrypto/TypeChain / tryMatchBytecode

Function tryMatchBytecode

packages/typechain/src/parser/abiParser.ts:405–409  ·  view source on GitHub ↗
(obj: any | undefined)

Source from the content-addressed store, hash-verified

403 if (!json) return undefined
404
405 function tryMatchBytecode(obj: any | undefined): any | undefined {
406 if (obj && obj.match instanceof Function) {
407 return obj.match(bytecodeRegex)
408 }
409 }
410
411 // `json.evm.bytecode` often has more information than `json.bytecode`, needs to be checked first
412 if (tryMatchBytecode(json.evm?.bytecode?.object)) {

Callers 1

extractBytecodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…