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

Function parseEvent

packages/typechain/src/parser/abiParser.ts:224–235  ·  view source on GitHub ↗
(
  abiPiece: RawEventAbiDefinition,
  registerStruct: (struct: StructType) => void,
)

Source from the content-addressed store, hash-verified

222}
223
224export function parseEvent(
225 abiPiece: RawEventAbiDefinition,
226 registerStruct: (struct: StructType) => void,
227): EventDeclaration {
228 debug(`Parsing event "${abiPiece.name}"`)
229
230 return {
231 name: abiPiece.name,
232 isAnonymous: abiPiece.anonymous ?? false,
233 inputs: abiPiece.inputs.map(parseRawEventArg.bind(null, registerStruct)),
234 }
235}
236
237function parseRawEventArg(
238 registerStruct: (struct: StructType) => void,

Callers 2

abiParser.test.tsFile · 0.90
parseFunction · 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…