Skip to main content
Version: 11.x

Function: flattenEntryPointData()

flattenEntryPointData(data, encodedBuiltinsArray): bigint[]

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

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

Parameters​

data​

ContractEntryPointFields[]

encodedBuiltinsArray​

bigint[][]

Returns​

bigint[]