UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

30 lines 1.37 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.RebalanceTakeProfitToken = void 0; exports.getRebalanceTakeProfitTokenEncoder = getRebalanceTakeProfitTokenEncoder; exports.getRebalanceTakeProfitTokenDecoder = getRebalanceTakeProfitTokenDecoder; exports.getRebalanceTakeProfitTokenCodec = getRebalanceTakeProfitTokenCodec; const kit_1 = require("@solana/kit"); var RebalanceTakeProfitToken; (function (RebalanceTakeProfitToken) { RebalanceTakeProfitToken[RebalanceTakeProfitToken["A"] = 0] = "A"; RebalanceTakeProfitToken[RebalanceTakeProfitToken["B"] = 1] = "B"; })(RebalanceTakeProfitToken || (exports.RebalanceTakeProfitToken = RebalanceTakeProfitToken = {})); ; function getRebalanceTakeProfitTokenEncoder() { return (0, kit_1.getEnumEncoder)(RebalanceTakeProfitToken); } function getRebalanceTakeProfitTokenDecoder() { return (0, kit_1.getEnumDecoder)(RebalanceTakeProfitToken); } function getRebalanceTakeProfitTokenCodec() { return (0, kit_1.combineCodec)(getRebalanceTakeProfitTokenEncoder(), getRebalanceTakeProfitTokenDecoder()); } //# sourceMappingURL=rebalanceTakeProfitToken.js.map