"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.getFeeRecipientSetEncoder = getFeeRecipientSetEncoder;
exports.getFeeRecipientSetDecoder = getFeeRecipientSetDecoder;
exports.getFeeRecipientSetCodec = getFeeRecipientSetCodec;
const kit_1 = require("@solana/kit");
function getFeeRecipientSetEncoder() {
    return (0, kit_1.getStructEncoder)([['newFeeRecipient', (0, kit_1.getAddressEncoder)()]]);
}
function getFeeRecipientSetDecoder() {
    return (0, kit_1.getStructDecoder)([['newFeeRecipient', (0, kit_1.getAddressDecoder)()]]);
}
function getFeeRecipientSetCodec() {
    return (0, kit_1.combineCodec)(getFeeRecipientSetEncoder(), getFeeRecipientSetDecoder());
}
