/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { combineCodec, getEnumDecoder, getEnumEncoder, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, } from '@solana/kit'; export enum Tier { One, Two, Three, Four, Five, } export type TierArgs = Tier; export function getTierEncoder(): FixedSizeEncoder { return getEnumEncoder(Tier); } export function getTierDecoder(): FixedSizeDecoder { return getEnumDecoder(Tier); } export function getTierCodec(): FixedSizeCodec { return combineCodec(getTierEncoder(), getTierDecoder()); }