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

Function generateFieldSetter

src/code-gen/functions.ts:183–187  ·  view source on GitHub ↗
(
  struct: AbiStruct,
  field: ProcessedField,
  context: FileContext
)

Source from the content-addressed store, hash-verified

181}
182
183export const generateFieldSetter = (
184 struct: AbiStruct,
185 field: ProcessedField,
186 context: FileContext
187): CodeGenFunction => getEncoder(struct, [field], context, field.setterName, field.omitMaskReference)
188
189
190const overflowRevert = (constantReferences: string[]) => ([

Callers 1

generateFieldAccessorsFunction · 0.85

Calls 1

getEncoderFunction · 0.85

Tested by

no test coverage detected