UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

31 lines 924 B
"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.DEX = void 0; exports.getDEXEncoder = getDEXEncoder; exports.getDEXDecoder = getDEXDecoder; exports.getDEXCodec = getDEXCodec; const kit_1 = require("@solana/kit"); var DEX; (function (DEX) { DEX[DEX["Orca"] = 0] = "Orca"; DEX[DEX["Raydium"] = 1] = "Raydium"; DEX[DEX["Meteora"] = 2] = "Meteora"; })(DEX || (exports.DEX = DEX = {})); ; function getDEXEncoder() { return (0, kit_1.getEnumEncoder)(DEX); } function getDEXDecoder() { return (0, kit_1.getEnumDecoder)(DEX); } function getDEXCodec() { return (0, kit_1.combineCodec)(getDEXEncoder(), getDEXDecoder()); } //# sourceMappingURL=dEX.js.map