"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTokenPairUnlinkedEncoder = getTokenPairUnlinkedEncoder;
exports.getTokenPairUnlinkedDecoder = getTokenPairUnlinkedDecoder;
exports.getTokenPairUnlinkedCodec = getTokenPairUnlinkedCodec;
var kit_1 = require("@solana/kit");
function getTokenPairUnlinkedEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["localToken", (0, kit_1.getAddressEncoder)()],
        ["remoteDomain", (0, kit_1.getU32Encoder)()],
        ["remoteToken", (0, kit_1.getAddressEncoder)()],
    ]);
}
function getTokenPairUnlinkedDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["localToken", (0, kit_1.getAddressDecoder)()],
        ["remoteDomain", (0, kit_1.getU32Decoder)()],
        ["remoteToken", (0, kit_1.getAddressDecoder)()],
    ]);
}
function getTokenPairUnlinkedCodec() {
    return (0, kit_1.combineCodec)(getTokenPairUnlinkedEncoder(), getTokenPairUnlinkedDecoder());
}
//# sourceMappingURL=tokenPairUnlinked.js.map