@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
24 lines • 1.13 kB
JavaScript
;
/**
* This code was AUTOGENERATED using the Codama library.
* Please DO NOT EDIT THIS FILE, instead use visitors
* to add features, then rerun Codama to update it.
*
* @see https://github.com/codama-idl/codama
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRemainingAccountsInfoEncoder = getRemainingAccountsInfoEncoder;
exports.getRemainingAccountsInfoDecoder = getRemainingAccountsInfoDecoder;
exports.getRemainingAccountsInfoCodec = getRemainingAccountsInfoCodec;
const kit_1 = require("@solana/kit");
const _1 = require(".");
function getRemainingAccountsInfoEncoder() {
return (0, kit_1.getStructEncoder)([['slices', (0, kit_1.getArrayEncoder)((0, _1.getRemainingAccountsSliceEncoder)())]]);
}
function getRemainingAccountsInfoDecoder() {
return (0, kit_1.getStructDecoder)([['slices', (0, kit_1.getArrayDecoder)((0, _1.getRemainingAccountsSliceDecoder)())]]);
}
function getRemainingAccountsInfoCodec() {
return (0, kit_1.combineCodec)(getRemainingAccountsInfoEncoder(), getRemainingAccountsInfoDecoder());
}
//# sourceMappingURL=remainingAccountsInfo.js.map