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