"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMintAndWithdrawEncoder = getMintAndWithdrawEncoder;
exports.getMintAndWithdrawDecoder = getMintAndWithdrawDecoder;
exports.getMintAndWithdrawCodec = getMintAndWithdrawCodec;
var kit_1 = require("@solana/kit");
function getMintAndWithdrawEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["mintRecipient", (0, kit_1.getAddressEncoder)()],
        ["amount", (0, kit_1.getU64Encoder)()],
        ["mintToken", (0, kit_1.getAddressEncoder)()],
    ]);
}
function getMintAndWithdrawDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["mintRecipient", (0, kit_1.getAddressDecoder)()],
        ["amount", (0, kit_1.getU64Decoder)()],
        ["mintToken", (0, kit_1.getAddressDecoder)()],
    ]);
}
function getMintAndWithdrawCodec() {
    return (0, kit_1.combineCodec)(getMintAndWithdrawEncoder(), getMintAndWithdrawDecoder());
}
//# sourceMappingURL=mintAndWithdraw.js.map