kamino-sdk-beta
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
17 lines • 826 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateFeeOwner = updateFeeOwner;
const web3_js_1 = require("@solana/web3.js"); // eslint-disable-line @typescript-eslint/no-unused-vars
const programId_1 = require("../programId");
function updateFeeOwner(accounts, programId = programId_1.PROGRAM_ID) {
const keys = [
{ pubkey: accounts.lbPair, isSigner: false, isWritable: true },
{ pubkey: accounts.newFeeOwner, isSigner: false, isWritable: false },
{ pubkey: accounts.admin, isSigner: true, isWritable: false },
];
const identifier = Buffer.from([60, 63, 17, 64, 13, 196, 166, 243]);
const data = identifier;
const ix = new web3_js_1.TransactionInstruction({ keys, programId, data });
return ix;
}
//# sourceMappingURL=updateFeeOwner.js.map