"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DISCRIMINATOR = void 0;
exports.abortObligationOwnershipTransfer = abortObligationOwnershipTransfer;
const programId_1 = require("../programId");
exports.DISCRIMINATOR = Buffer.from([103, 217, 83, 65, 164, 5, 195, 227]);
function abortObligationOwnershipTransfer(accounts, remainingAccounts = [], programAddress = programId_1.PROGRAM_ID) {
    const keys = [
        { address: accounts.owner.address, role: 2, signer: accounts.owner },
        { address: accounts.obligation, role: 1 },
        { address: accounts.instructionSysvarAccount, role: 0 },
        ...remainingAccounts,
    ];
    const data = exports.DISCRIMINATOR;
    const ix = { accounts: keys, programAddress, data };
    return ix;
}
//# sourceMappingURL=abortObligationOwnershipTransfer.js.map