UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

30 lines 1.02 kB
"use strict"; /** * 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.TickLabel = void 0; exports.getTickLabelEncoder = getTickLabelEncoder; exports.getTickLabelDecoder = getTickLabelDecoder; exports.getTickLabelCodec = getTickLabelCodec; const kit_1 = require("@solana/kit"); var TickLabel; (function (TickLabel) { TickLabel[TickLabel["Upper"] = 0] = "Upper"; TickLabel[TickLabel["Lower"] = 1] = "Lower"; })(TickLabel || (exports.TickLabel = TickLabel = {})); ; function getTickLabelEncoder() { return (0, kit_1.getEnumEncoder)(TickLabel); } function getTickLabelDecoder() { return (0, kit_1.getEnumDecoder)(TickLabel); } function getTickLabelCodec() { return (0, kit_1.combineCodec)(getTickLabelEncoder(), getTickLabelDecoder()); } //# sourceMappingURL=tickLabel.js.map