MCPcopy Create free account
hub / github.com/d1ll0n/stack-packer / constructor

Method constructor

src/parser/index.ts:32–36  ·  view source on GitHub ↗
(parsed: DefinedType[])

Source from the content-addressed store, hash-verified

30 events: Record<string, AbiEvent> = {}
31
32 constructor(parsed: DefinedType[]) {
33 let i = 0;
34 let n = 0;
35 while (n < parsed.length && i < 50) for (let p of parsed) if (this.handleType(p)) (i++ && n++);
36 }
37
38 get allStructs(): AbiType<false, false>[] {
39 return [

Callers

nothing calls this directly

Calls 1

handleTypeMethod · 0.95

Tested by

no test coverage detected