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