/** * 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 FeeType { Bps, Fixed, } export type FeeTypeArgs = FeeType; export function getFeeTypeEncoder(): FixedSizeEncoder { return getEnumEncoder(FeeType); } export function getFeeTypeDecoder(): FixedSizeDecoder { return getEnumDecoder(FeeType); } export function getFeeTypeCodec(): FixedSizeCodec { return combineCodec(getFeeTypeEncoder(), getFeeTypeDecoder()); }