"use strict";
/**
 * 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
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.FillStatus = void 0;
exports.getFillStatusEncoder = getFillStatusEncoder;
exports.getFillStatusDecoder = getFillStatusDecoder;
exports.getFillStatusCodec = getFillStatusCodec;
const web3_v2_js_1 = require("@solana/web3-v2.js");
var FillStatus;
(function (FillStatus) {
    FillStatus[FillStatus["Unfilled"] = 0] = "Unfilled";
    FillStatus[FillStatus["RequestedSlowFill"] = 1] = "RequestedSlowFill";
    FillStatus[FillStatus["Filled"] = 2] = "Filled";
})(FillStatus || (exports.FillStatus = FillStatus = {}));
function getFillStatusEncoder() {
    return (0, web3_v2_js_1.getEnumEncoder)(FillStatus);
}
function getFillStatusDecoder() {
    return (0, web3_v2_js_1.getEnumDecoder)(FillStatus);
}
function getFillStatusCodec() {
    return (0, web3_v2_js_1.combineCodec)(getFillStatusEncoder(), getFillStatusDecoder());
}
