Skip to main content

Type Alias: WithId<T>

type WithId<T> = object & T;

Defined in: packages/overcast-core/src/types/index.ts:173

A stored value paired with its content-address: the sha256 of the value's canonical byte layout (see getId). Cross-chain by construction — the same offer has the same id everywhere — and an address on no chain at all; each layer merely uses the bytes its own way, as a PDA seed on Solana or a mapping key on an EVM chain.

Type Declaration

id

id: Bytes32;

Type Parameters

Type Parameter
T