/** * 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 ChannelStatus { Open, Sealed, Closing, Distributed, } export type ChannelStatusArgs = ChannelStatus; export function getChannelStatusEncoder(): FixedSizeEncoder { return getEnumEncoder(ChannelStatus); } export function getChannelStatusDecoder(): FixedSizeDecoder { return getEnumDecoder(ChannelStatus); } export function getChannelStatusCodec(): FixedSizeCodec { return combineCodec(getChannelStatusEncoder(), getChannelStatusDecoder()); }