"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FillType = void 0;
exports.getFillTypeEncoder = getFillTypeEncoder;
exports.getFillTypeDecoder = getFillTypeDecoder;
exports.getFillTypeCodec = getFillTypeCodec;
var kit_1 = require("@solana/kit");
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, kit_1.getEnumEncoder)(FillType);
}
function getFillTypeDecoder() {
    return (0, kit_1.getEnumDecoder)(FillType);
}
function getFillTypeCodec() {
    return (0, kit_1.combineCodec)(getFillTypeEncoder(), getFillTypeDecoder());
}
//# sourceMappingURL=fillType.js.map