/**
 * 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
 */
import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, getU32Decoder, getU32Encoder, getU64Decoder, getU64Encoder, } from "@solana/kit";
export function getRequestedSlowFillEncoder() {
    return getStructEncoder([
        ["inputToken", getAddressEncoder()],
        ["outputToken", getAddressEncoder()],
        ["inputAmount", fixEncoderSize(getBytesEncoder(), 32)],
        ["outputAmount", getU64Encoder()],
        ["originChainId", getU64Encoder()],
        ["depositId", fixEncoderSize(getBytesEncoder(), 32)],
        ["fillDeadline", getU32Encoder()],
        ["exclusivityDeadline", getU32Encoder()],
        ["exclusiveRelayer", getAddressEncoder()],
        ["depositor", getAddressEncoder()],
        ["recipient", getAddressEncoder()],
        ["messageHash", fixEncoderSize(getBytesEncoder(), 32)],
    ]);
}
export function getRequestedSlowFillDecoder() {
    return getStructDecoder([
        ["inputToken", getAddressDecoder()],
        ["outputToken", getAddressDecoder()],
        ["inputAmount", fixDecoderSize(getBytesDecoder(), 32)],
        ["outputAmount", getU64Decoder()],
        ["originChainId", getU64Decoder()],
        ["depositId", fixDecoderSize(getBytesDecoder(), 32)],
        ["fillDeadline", getU32Decoder()],
        ["exclusivityDeadline", getU32Decoder()],
        ["exclusiveRelayer", getAddressDecoder()],
        ["depositor", getAddressDecoder()],
        ["recipient", getAddressDecoder()],
        ["messageHash", fixDecoderSize(getBytesDecoder(), 32)],
    ]);
}
export function getRequestedSlowFillCodec() {
    return combineCodec(getRequestedSlowFillEncoder(), getRequestedSlowFillDecoder());
}
//# sourceMappingURL=requestedSlowFill.js.map