MCPcopy Create free account
hub / github.com/blacksmith-eth/blacksmith / buildInputWithComponents

Function buildInputWithComponents

testing/factory/index.ts:121–127  ·  view source on GitHub ↗
(
  overrides: Partial<AbiParameterWithComponents>,
)

Source from the content-addressed store, hash-verified

119 times(n, () => buildInput());
120
121export const buildInputWithComponents = (
122 overrides: Partial<AbiParameterWithComponents>,
123): AbiParameterWithComponents => ({
124 name: noun(),
125 type: overrides.type || faker.helpers.arrayElement(["address", "string"]),
126 components: overrides.components,
127});
128
129export const buildOutput = (
130 overrides: Partial<AbiParameterWithComponents> = {},

Callers 1

index.test.tsxFile · 0.90

Calls 1

nounFunction · 0.85

Tested by

no test coverage detected