export const uintTypeForBits = (x: number): UintType =>
    x > 16 ? "u32" : x > 8 ? "u16" : "u8";