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

Function slotForAddressMap

scripts/genesis/types.ts:144–145  ·  view source on GitHub ↗
(slotIndex: bigint, address: Address)

Source from the content-addressed store, hash-verified

142 * The same as slotForUint256Map, but convert address to bigint first.
143 */
144export const slotForAddressMap = (slotIndex: bigint, address: Address): Bytes32 =>
145 slotForUint256Map(slotIndex, addressToBigInt(address))
146
147/**
148 * The same as slotForUint256Map, but convert bytes32 to bigint first.

Calls 2

slotForUint256MapFunction · 0.85
addressToBigIntFunction · 0.85

Tested by

no test coverage detected