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