"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSlowFillEncoder = getSlowFillEncoder;
exports.getSlowFillDecoder = getSlowFillDecoder;
exports.getSlowFillCodec = getSlowFillCodec;
var kit_1 = require("@solana/kit");
var _1 = require(".");
function getSlowFillEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["relayData", (0, _1.getRelayDataEncoder)()],
        ["chainId", (0, kit_1.getU64Encoder)()],
        ["updatedOutputAmount", (0, kit_1.getU64Encoder)()],
    ]);
}
function getSlowFillDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["relayData", (0, _1.getRelayDataDecoder)()],
        ["chainId", (0, kit_1.getU64Decoder)()],
        ["updatedOutputAmount", (0, kit_1.getU64Decoder)()],
    ]);
}
function getSlowFillCodec() {
    return (0, kit_1.combineCodec)(getSlowFillEncoder(), getSlowFillDecoder());
}
//# sourceMappingURL=slowFill.js.map