UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

16 lines 696 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.closePresetParameter = closePresetParameter; const programId_1 = require("../programId"); function closePresetParameter(accounts, programAddress = programId_1.PROGRAM_ID) { const keys = [ { address: accounts.presetParameter, role: 1 }, { address: accounts.admin.address, role: 3, signer: accounts.admin }, { address: accounts.rentReceiver, role: 1 }, ]; const identifier = Buffer.from([4, 148, 145, 100, 134, 26, 181, 61]); const data = identifier; const ix = { accounts: keys, programAddress, data }; return ix; } //# sourceMappingURL=closePresetParameter.js.map