viem
Version:
10 lines (8 loc) • 303 B
text/typescript
/**
* Super dispute game type IDs from the OP Stack contracts
* (`contracts-bedrock/src/dispute/lib/Types.sol:99-103`).
*/
export const superGameTypes = new Set([4, 5, 7, 9]) as ReadonlySet<number>
export function isSuperGameType(gameType: number): boolean {
return superGameTypes.has(gameType)
}