"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.getWithdrawnRentFundEncoder = getWithdrawnRentFundEncoder;
exports.getWithdrawnRentFundDecoder = getWithdrawnRentFundDecoder;
exports.getWithdrawnRentFundCodec = getWithdrawnRentFundCodec;
const kit_1 = require("@solana/kit");
function getWithdrawnRentFundEncoder() {
    return (0, kit_1.getStructEncoder)([
        ['amount', (0, kit_1.getU64Encoder)()],
        ['recipient', (0, kit_1.getAddressEncoder)()],
    ]);
}
function getWithdrawnRentFundDecoder() {
    return (0, kit_1.getStructDecoder)([
        ['amount', (0, kit_1.getU64Decoder)()],
        ['recipient', (0, kit_1.getAddressDecoder)()],
    ]);
}
function getWithdrawnRentFundCodec() {
    return (0, kit_1.combineCodec)(getWithdrawnRentFundEncoder(), getWithdrawnRentFundDecoder());
}
