"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRemoteTokenMessengerRemovedEncoder = getRemoteTokenMessengerRemovedEncoder;
exports.getRemoteTokenMessengerRemovedDecoder = getRemoteTokenMessengerRemovedDecoder;
exports.getRemoteTokenMessengerRemovedCodec = getRemoteTokenMessengerRemovedCodec;
var kit_1 = require("@solana/kit");
function getRemoteTokenMessengerRemovedEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["domain", (0, kit_1.getU32Encoder)()],
        ["tokenMessenger", (0, kit_1.getAddressEncoder)()],
    ]);
}
function getRemoteTokenMessengerRemovedDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["domain", (0, kit_1.getU32Decoder)()],
        ["tokenMessenger", (0, kit_1.getAddressDecoder)()],
    ]);
}
function getRemoteTokenMessengerRemovedCodec() {
    return (0, kit_1.combineCodec)(getRemoteTokenMessengerRemovedEncoder(), getRemoteTokenMessengerRemovedDecoder());
}
//# sourceMappingURL=remoteTokenMessengerRemoved.js.map