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

Function addressToBigInt

scripts/genesis/types.ts:110–110  ·  view source on GitHub ↗
(address: Address)

Source from the content-addressed store, hash-verified

108 })
109
110export const addressToBigInt = (address: Address): bigint => fromHex(address, 'bigint')
111export const addressToBytes32 = (address: Address): Bytes32 => toHex(addressToBigInt(address), { size: 32 })
112
113/**

Callers 2

addressToBytes32Function · 0.85
slotForAddressMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected