UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

15 lines 616 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.togglePairStatus = togglePairStatus; const programId_1 = require("../programId"); function togglePairStatus(accounts, programAddress = programId_1.PROGRAM_ID) { const keys = [ { address: accounts.lbPair, role: 1 }, { address: accounts.admin.address, role: 2, signer: accounts.admin }, ]; const identifier = Buffer.from([61, 115, 52, 23, 46, 13, 31, 144]); const data = identifier; const ix = { accounts: keys, programAddress, data }; return ix; } //# sourceMappingURL=togglePairStatus.js.map