/**
 * 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
 */
import { combineCodec, getAddressDecoder, getAddressEncoder, getStructDecoder, getStructEncoder, getU32Decoder, getU32Encoder, getU64Decoder, getU64Encoder, } from "@solana/kit";
export function getDepositForBurnEncoder() {
    return getStructEncoder([
        ["nonce", getU64Encoder()],
        ["burnToken", getAddressEncoder()],
        ["amount", getU64Encoder()],
        ["depositor", getAddressEncoder()],
        ["mintRecipient", getAddressEncoder()],
        ["destinationDomain", getU32Encoder()],
        ["destinationTokenMessenger", getAddressEncoder()],
        ["destinationCaller", getAddressEncoder()],
    ]);
}
export function getDepositForBurnDecoder() {
    return getStructDecoder([
        ["nonce", getU64Decoder()],
        ["burnToken", getAddressDecoder()],
        ["amount", getU64Decoder()],
        ["depositor", getAddressDecoder()],
        ["mintRecipient", getAddressDecoder()],
        ["destinationDomain", getU32Decoder()],
        ["destinationTokenMessenger", getAddressDecoder()],
        ["destinationCaller", getAddressDecoder()],
    ]);
}
export function getDepositForBurnCodec() {
    return combineCodec(getDepositForBurnEncoder(), getDepositForBurnDecoder());
}
//# sourceMappingURL=depositForBurn.js.map