"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getOwnershipTransferredEncoder = getOwnershipTransferredEncoder;
exports.getOwnershipTransferredDecoder = getOwnershipTransferredDecoder;
exports.getOwnershipTransferredCodec = getOwnershipTransferredCodec;
var kit_1 = require("@solana/kit");
function getOwnershipTransferredEncoder() {
    return (0, kit_1.getStructEncoder)([
        ["previousOwner", (0, kit_1.getAddressEncoder)()],
        ["newOwner", (0, kit_1.getAddressEncoder)()],
    ]);
}
function getOwnershipTransferredDecoder() {
    return (0, kit_1.getStructDecoder)([
        ["previousOwner", (0, kit_1.getAddressDecoder)()],
        ["newOwner", (0, kit_1.getAddressDecoder)()],
    ]);
}
function getOwnershipTransferredCodec() {
    return (0, kit_1.combineCodec)(getOwnershipTransferredEncoder(), getOwnershipTransferredDecoder());
}
//# sourceMappingURL=ownershipTransferred.js.map