"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDepositForBurnEncoder = getDepositForBurnEncoder;
exports.getDepositForBurnDecoder = getDepositForBurnDecoder;
exports.getDepositForBurnCodec = getDepositForBurnCodec;
var kit_1 = require("@solana/kit");
function getDepositForBurnEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["nonce", (0, kit_1.getU64Encoder)()],
        ["burnToken", (0, kit_1.getAddressEncoder)()],
        ["amount", (0, kit_1.getU64Encoder)()],
        ["depositor", (0, kit_1.getAddressEncoder)()],
        ["mintRecipient", (0, kit_1.getAddressEncoder)()],
        ["destinationDomain", (0, kit_1.getU32Encoder)()],
        ["destinationTokenMessenger", (0, kit_1.getAddressEncoder)()],
        ["destinationCaller", (0, kit_1.getAddressEncoder)()],
    ]);
}
function getDepositForBurnDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["nonce", (0, kit_1.getU64Decoder)()],
        ["burnToken", (0, kit_1.getAddressDecoder)()],
        ["amount", (0, kit_1.getU64Decoder)()],
        ["depositor", (0, kit_1.getAddressDecoder)()],
        ["mintRecipient", (0, kit_1.getAddressDecoder)()],
        ["destinationDomain", (0, kit_1.getU32Decoder)()],
        ["destinationTokenMessenger", (0, kit_1.getAddressDecoder)()],
        ["destinationCaller", (0, kit_1.getAddressDecoder)()],
    ]);
}
function getDepositForBurnCodec() {
    return (0, kit_1.combineCodec)(getDepositForBurnEncoder(), getDepositForBurnDecoder());
}
//# sourceMappingURL=depositForBurn.js.map