Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d1ll0n/stack-packer
/ functions
Functions
174 in github.com/d1ll0n/stack-packer
⨍
Functions
174
◇
Types & classes
13
↓ 1 callers
Function
getOverflowTest
(args: string[], field: ProcessedField)
src/code-gen/test/foundry.ts:125
↓ 1 callers
Function
getPaths
(argv: { output: string; input: string; constantsFile: any; testContracts?: string; hardhatOutput?: string; })
src/cli.ts:17
↓ 1 callers
Function
getReadField
( struct: AbiStruct, field: AbiStructField, offset: number, context: FileContext, maxValueReference:
src/code-gen/fields.ts:275
↓ 1 callers
Function
getSetField
( struct: AbiStruct, field: AbiStructField, offset: number, context: FileContext, originalName: stri
src/code-gen/fields.ts:241
↓ 1 callers
Function
getTestContractsDirectory
(opts: { contractsDirectory?: string; output?: string; testContracts?: string; })
src/project/hardhat.ts:8
↓ 1 callers
Function
getUnderflowTest
(args: string[], field: ProcessedField)
src/code-gen/test/hardhat.ts:127
↓ 1 callers
Function
getUnderflowTest
(args: string[], field: ProcessedField)
src/code-gen/test/foundry.ts:126
↓ 1 callers
Method
handleType
(input: DefinedType)
src/parser/index.ts:96
↓ 1 callers
Function
isSupportedNode
(x: ASTNode)
src/parser/parser.ts:163
↓ 1 callers
Function
modifyLastString
( arrOrStr: ArrayJoinInput<string>, cb: StringModificationCallback )
src/lib/text.ts:123
↓ 1 callers
Function
modifyString
(original: string, modification: StringModification)
src/lib/text.ts:58
↓ 1 callers
Function
overflowRevert
(constantReferences: string[])
src/code-gen/functions.ts:190
↓ 1 callers
Function
padEvenBytes
(s: string)
src/lib/bytes.ts:1
↓ 1 callers
Function
parseCode
(sourceCode: string)
src/parser/index.ts:199
↓ 1 callers
Function
parseFile
(file: string)
src/parser/parser.ts:167
↓ 1 callers
Function
parseTypeName
(scopeName: string, typeName: AntlrTypeName)
src/parser/parser.ts:21
↓ 1 callers
Function
prettierFormat
(code: string)
src/code-gen/prettier.ts:55
↓ 1 callers
Function
processFields
( struct: AbiStruct, context: FileContext )
src/code-gen/fields.ts:154
↓ 1 callers
Function
processStruct
( abiStruct: AbiStruct, context: FileContext )
src/code-gen/fields.ts:212
↓ 1 callers
Method
putEnum
(namePath: string, _enum: AbiEnum)
src/parser/index.ts:178
↓ 1 callers
Method
putError
(namePath: string, error: AbiError)
src/parser/index.ts:183
↓ 1 callers
Method
putEvent
(namePath: string, event: AbiEvent)
src/parser/index.ts:188
↓ 1 callers
Method
putFunction
(namePath: string, fn: AbiFunction)
src/parser/index.ts:193
↓ 1 callers
Method
putStruct
(namePath: string, struct: AbiStruct)
src/parser/index.ts:173
↓ 1 callers
Function
recursiveDirectorySearch
(_dirPath)
src/parser/parser.ts:178
↓ 1 callers
Function
recursiveMkDirIfNotExists
(target: string, original: string)
src/project/paths.ts:32
↓ 1 callers
Function
resolveGroupMembers
( struct: AbiStruct, group: GroupType, fields: ProcessedField[], )
src/code-gen/fields.ts:53
↓ 1 callers
Function
strip
(str: string)
src/code-gen/word-packer.ts:23
↓ 1 callers
Function
toAbsolutePath
(target: string)
src/project/paths.ts:49
↓ 1 callers
Method
toCamelCase
()
src/lib/String.ts:3
↓ 1 callers
Function
toCommentSeparator
(comment: string)
src/code-gen/comments.ts:6
↓ 1 callers
Function
toNatspec
(comments: string[])
src/code-gen/comments.ts:15
↓ 1 callers
Function
tryFindFoundryDirectories
(output: string)
src/project/foundry.ts:12
↓ 1 callers
Function
tryFindHardhatDirectories
(output?: string, input?: string)
src/project/hardhat.ts:59
↓ 1 callers
Function
tryGetPrettierOptions
()
src/code-gen/prettier.ts:23
Method
_getCallWithAssignment
(_fn: string, inputs: string[], outputs: string[], forceDestructuring?: boolean)
src/code-gen/test/generic.ts:122
Method
allErrors
()
src/parser/index.ts:45
Method
allEvents
()
src/parser/index.ts:49
Method
allFunctions
()
src/parser/index.ts:53
Method
allStructs
()
src/parser/index.ts:38
Method
buildGroup
(struct: AbiStruct, group: GroupType)
src/parser/index.ts:79
Function
buildImportStatement
(file: string, imports: string[])
src/code-gen/codegen-helpers.ts:109
Method
checkOverflows
()
src/code-gen/context.ts:42
Method
constructor
(parsed: DefinedType[])
src/parser/index.ts:32
Method
constructor
(public opts: GeneratorOptions)
src/code-gen/context.ts:40
Method
constructor
( elementaryValuesGetter: ElementaryValuesGetter, // getCallWithAssignment: ( // contactName: st
src/code-gen/test/generic.ts:60
Method
constructor
()
src/code-gen/test/hardhat.ts:44
Method
constructor
()
src/code-gen/test/foundry.ts:44
Function
generateFoundryTest
( struct: ProcessedStruct, functions: CodeGenFunction[], libraryName: string )
src/code-gen/test/foundry.ts:207
Function
getCallFunction
(fn: AbiFunction, context: FileContext)
src/code-gen/functions.ts:290
Method
getCallWithAssignment
( contactName: string, fn: string, inputs: string[], outputs: string[], forceDestructuring
src/code-gen/test/hardhat.ts:50
Method
getCallWithAssignment
( contactName: string, fn: string, inputs: string[], outputs: string[] )
src/code-gen/test/foundry.ts:50
Function
getEmitFunction
(event: AbiEvent, context: FileContext)
src/code-gen/functions.ts:263
Function
getFieldGetterName
(field: ProcessedField)
src/code-gen/fields.ts:107
Function
getFieldSetterName
(field: ProcessedField)
src/code-gen/fields.ts:104
Function
getFoundryProject
(argv: { output: string; input: string; constantsFile: any; testContracts: string; })
src/project/foundry.ts:24
Function
getInclusionMask
(bits: number)
src/lib/bytes.ts:40
Function
getThrowFunction
(error: AbiError, context: FileContext)
src/code-gen/functions.ts:239
Function
joinWithLineLimit
(chunks: string[], limit: number)
src/lib/text.ts:7
Function
modifyFirstString
( arrOrStr: ArrayJoinInput<string>, cb: StringModificationCallback )
src/lib/text.ts:118
Function
numberToPascalCaseWords
(n: number)
src/lib/text.ts:131
Function
parseCode2
(sourceCode: string)
src/parser/index.ts:205
Function
parseContract
(contractNode: ContractDefinition)
src/parser/parser.ts:148
Function
parseDirectory
(_dirPath)
src/parser/parser.ts:192
Function
parseEnum
(scopeName: string, subNode: EnumDefinition)
src/parser/parser.ts:111
Function
parseError
(scopeName: string, subNode: CustomErrorDefinition)
src/parser/parser.ts:84
Function
parseEvent
(scopeName: string, subNode: EventDefinition)
src/parser/parser.ts:91
Function
parseFunction
(scopeName: string, subNode: FunctionDefinition)
src/parser/parser.ts:101
Function
parseGroup
(subnode: GroupDefinition)
src/parser/parser.ts:73
Function
parseStruct
(scopeName: string, subNode: StructDefinition)
src/parser/parser.ts:61
Function
prefixLastString
( arrOrStr: ArrayJoinInput<string>, text: string )
src/lib/text.ts:108
Function
setFirstString
( arrOrStr: ArrayJoinInput<string>, text: string )
src/lib/text.ts:90
Function
setLastString
(arrOrStr: ArrayJoinInput<string>, text: string)
src/lib/text.ts:105
Function
suffixFirstString
( arrOrStr: ArrayJoinInput<string>, text: string )
src/lib/text.ts:100
← previous
101–174 of 174, ranked by callers