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