"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.getSlowFillEncoder = getSlowFillEncoder;
exports.getSlowFillDecoder = getSlowFillDecoder;
exports.getSlowFillCodec = getSlowFillCodec;
const web3_v2_js_1 = require("@solana/web3-v2.js");
const _1 = require(".");
function getSlowFillEncoder() {
    return (0, web3_v2_js_1.getStructEncoder)([
        ['relayData', (0, _1.getRelayDataEncoder)()],
        ['chainId', (0, web3_v2_js_1.getU64Encoder)()],
        ['updatedOutputAmount', (0, web3_v2_js_1.getU64Encoder)()],
    ]);
}
function getSlowFillDecoder() {
    return (0, web3_v2_js_1.getStructDecoder)([
        ['relayData', (0, _1.getRelayDataDecoder)()],
        ['chainId', (0, web3_v2_js_1.getU64Decoder)()],
        ['updatedOutputAmount', (0, web3_v2_js_1.getU64Decoder)()],
    ]);
}
function getSlowFillCodec() {
    return (0, web3_v2_js_1.combineCodec)(getSlowFillEncoder(), getSlowFillDecoder());
}
