@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
16 lines • 661 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateFeeOwner = updateFeeOwner;
const programId_1 = require("../programId");
function updateFeeOwner(accounts, programAddress = programId_1.PROGRAM_ID) {
const keys = [
{ address: accounts.lbPair, role: 1 },
{ address: accounts.newFeeOwner, role: 0 },
{ address: accounts.admin.address, role: 2, signer: accounts.admin },
];
const identifier = Buffer.from([60, 63, 17, 64, 13, 196, 166, 243]);
const data = identifier;
const ix = { accounts: keys, programAddress, data };
return ix;
}
//# sourceMappingURL=updateFeeOwner.js.map
;