Skip to main content
Version: Next

Function: flattenEntryPointData()

flattenEntryPointData(data, encodedBuiltinsArray): bigint[]

Defined in: src/utils/hash/classHash/util.ts:68

Extract entry point data for hashing Returns flattened array of [selector, offset, ...builtins] for each entry point

Parameters

data

ContractEntryPointFields[]

encodedBuiltinsArray

bigint[][]

Returns

bigint[]