"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.FillType = void 0;
exports.getFillTypeEncoder = getFillTypeEncoder;
exports.getFillTypeDecoder = getFillTypeDecoder;
exports.getFillTypeCodec = getFillTypeCodec;
const web3_v2_js_1 = require("@solana/web3-v2.js");
var FillType;
(function (FillType) {
    FillType[FillType["FastFill"] = 0] = "FastFill";
    FillType[FillType["ReplacedSlowFill"] = 1] = "ReplacedSlowFill";
    FillType[FillType["SlowFill"] = 2] = "SlowFill";
})(FillType || (exports.FillType = FillType = {}));
function getFillTypeEncoder() {
    return (0, web3_v2_js_1.getEnumEncoder)(FillType);
}
function getFillTypeDecoder() {
    return (0, web3_v2_js_1.getEnumDecoder)(FillType);
}
function getFillTypeCodec() {
    return (0, web3_v2_js_1.combineCodec)(getFillTypeEncoder(), getFillTypeDecoder());
}
