UNPKG

@kamino-finance/kliquidity-sdk

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

20 lines 858 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setRewardEmissionsSuperAuthority = setRewardEmissionsSuperAuthority; const programId_1 = require("../programId"); function setRewardEmissionsSuperAuthority(accounts, programAddress = programId_1.PROGRAM_ID) { const keys = [ { address: accounts.whirlpoolsConfig, role: 1 }, { address: accounts.rewardEmissionsSuperAuthority.address, role: 2, signer: accounts.rewardEmissionsSuperAuthority, }, { address: accounts.newRewardEmissionsSuperAuthority, role: 0 }, ]; const identifier = Buffer.from([207, 5, 200, 209, 122, 56, 82, 183]); const data = identifier; const ix = { accounts: keys, programAddress, data }; return ix; } //# sourceMappingURL=setRewardEmissionsSuperAuthority.js.map