MCPcopy Create free account
hub / github.com/circlefin/arc-node / slotForBytes32Map

Function slotForBytes32Map

scripts/genesis/types.ts:150–151  ·  view source on GitHub ↗
(slotIndex: bigint, key: Bytes32)

Source from the content-addressed store, hash-verified

148 * The same as slotForUint256Map, but convert bytes32 to bigint first.
149 */
150export const slotForBytes32Map = (slotIndex: bigint, key: Bytes32): Bytes32 =>
151 slotForUint256Map(slotIndex, fromHex(schemaBytes32.parse(key), 'bigint'))
152
153/**
154 * Emit a zod issue for any operator that collides with the contract's proxy admin.

Callers 1

Calls 2

slotForUint256MapFunction · 0.85
parseMethod · 0.45

Tested by

no test coverage detected