@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
17 lines • 720 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateFeesAndRewards = updateFeesAndRewards;
const programId_1 = require("../programId");
function updateFeesAndRewards(accounts, programAddress = programId_1.PROGRAM_ID) {
const keys = [
{ address: accounts.whirlpool, role: 1 },
{ address: accounts.position, role: 1 },
{ address: accounts.tickArrayLower, role: 0 },
{ address: accounts.tickArrayUpper, role: 0 },
];
const identifier = Buffer.from([154, 230, 250, 13, 236, 209, 75, 223]);
const data = identifier;
const ix = { accounts: keys, programAddress, data };
return ix;
}
//# sourceMappingURL=updateFeesAndRewards.js.map
;