/**
 * 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, getU64Decoder, getU64Encoder, } from "@solana/kit";
import { getFillTypeDecoder, getFillTypeEncoder, } from ".";
export function getRelayExecutionEventInfoEncoder() {
    return getStructEncoder([
        ["updatedRecipient", getAddressEncoder()],
        ["updatedMessageHash", fixEncoderSize(getBytesEncoder(), 32)],
        ["updatedOutputAmount", getU64Encoder()],
        ["fillType", getFillTypeEncoder()],
    ]);
}
export function getRelayExecutionEventInfoDecoder() {
    return getStructDecoder([
        ["updatedRecipient", getAddressDecoder()],
        ["updatedMessageHash", fixDecoderSize(getBytesDecoder(), 32)],
        ["updatedOutputAmount", getU64Decoder()],
        ["fillType", getFillTypeDecoder()],
    ]);
}
export function getRelayExecutionEventInfoCodec() {
    return combineCodec(getRelayExecutionEventInfoEncoder(), getRelayExecutionEventInfoDecoder());
}
//# sourceMappingURL=relayExecutionEventInfo.js.map