"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSignerSetEncoder = getSignerSetEncoder;
exports.getSignerSetDecoder = getSignerSetDecoder;
exports.getSignerSetCodec = getSignerSetCodec;
var kit_1 = require("@solana/kit");
function getSignerSetEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["oldSigner", (0, kit_1.getAddressEncoder)()],
        ["newSigner", (0, kit_1.getAddressEncoder)()],
    ]);
}
function getSignerSetDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["oldSigner", (0, kit_1.getAddressDecoder)()],
        ["newSigner", (0, kit_1.getAddressDecoder)()],
    ]);
}
function getSignerSetCodec() {
    return (0, kit_1.combineCodec)(getSignerSetEncoder(), getSignerSetDecoder());
}
//# sourceMappingURL=signerSet.js.map