@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
31 lines • 1.08 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.CurrIndex = void 0;
exports.getCurrIndexEncoder = getCurrIndexEncoder;
exports.getCurrIndexDecoder = getCurrIndexDecoder;
exports.getCurrIndexCodec = getCurrIndexCodec;
const kit_1 = require("@solana/kit");
var CurrIndex;
(function (CurrIndex) {
CurrIndex[CurrIndex["Below"] = 0] = "Below";
CurrIndex[CurrIndex["Inside"] = 1] = "Inside";
CurrIndex[CurrIndex["Above"] = 2] = "Above";
})(CurrIndex || (exports.CurrIndex = CurrIndex = {}));
;
function getCurrIndexEncoder() {
return (0, kit_1.getEnumEncoder)(CurrIndex);
}
function getCurrIndexDecoder() {
return (0, kit_1.getEnumDecoder)(CurrIndex);
}
function getCurrIndexCodec() {
return (0, kit_1.combineCodec)(getCurrIndexEncoder(), getCurrIndexDecoder());
}
//# sourceMappingURL=currIndex.js.map