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

Function getDeclareConstant

src/code-gen/context.ts:7–8  ·  view source on GitHub ↗
(name: string, value: string)

Source from the content-addressed store, hash-verified

5export type ProjectType = 'hardhat.ts' | 'hardhat.js' | 'foundry'
6
7export const getDeclareConstant = (name: string, value: string) =>
8 `uint256 constant ${name} = ${value};`;
9
10export type GeneratorOptions = {
11 oversizedInputs?: boolean;

Callers 1

addConstantMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected