"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.getUsedNonceAccountParamsEncoder = getUsedNonceAccountParamsEncoder;
exports.getUsedNonceAccountParamsDecoder = getUsedNonceAccountParamsDecoder;
exports.getUsedNonceAccountParamsCodec = getUsedNonceAccountParamsCodec;
const kit_1 = require("@solana/kit");
function getUsedNonceAccountParamsEncoder() {
    return (0, kit_1.getStructEncoder)([['nonce', (0, kit_1.fixEncoderSize)((0, kit_1.getBytesEncoder)(), 32)]]);
}
function getUsedNonceAccountParamsDecoder() {
    return (0, kit_1.getStructDecoder)([['nonce', (0, kit_1.fixDecoderSize)((0, kit_1.getBytesDecoder)(), 32)]]);
}
function getUsedNonceAccountParamsCodec() {
    return (0, kit_1.combineCodec)(getUsedNonceAccountParamsEncoder(), getUsedNonceAccountParamsDecoder());
}
