"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTokenCustodyBurnedEncoder = getTokenCustodyBurnedEncoder;
exports.getTokenCustodyBurnedDecoder = getTokenCustodyBurnedDecoder;
exports.getTokenCustodyBurnedCodec = getTokenCustodyBurnedCodec;
var kit_1 = require("@solana/kit");
function getTokenCustodyBurnedEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["custodyTokenAccount", (0, kit_1.getAddressEncoder)()],
        ["amount", (0, kit_1.getU64Encoder)()],
    ]);
}
function getTokenCustodyBurnedDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["custodyTokenAccount", (0, kit_1.getAddressDecoder)()],
        ["amount", (0, kit_1.getU64Decoder)()],
    ]);
}
function getTokenCustodyBurnedCodec() {
    return (0, kit_1.combineCodec)(getTokenCustodyBurnedEncoder(), getTokenCustodyBurnedDecoder());
}
//# sourceMappingURL=tokenCustodyBurned.js.map