UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

30 lines 1.15 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.MintingMethod = void 0; exports.getMintingMethodEncoder = getMintingMethodEncoder; exports.getMintingMethodDecoder = getMintingMethodDecoder; exports.getMintingMethodCodec = getMintingMethodCodec; const kit_1 = require("@solana/kit"); var MintingMethod; (function (MintingMethod) { MintingMethod[MintingMethod["PriceBased"] = 0] = "PriceBased"; MintingMethod[MintingMethod["Proportional"] = 1] = "Proportional"; })(MintingMethod || (exports.MintingMethod = MintingMethod = {})); ; function getMintingMethodEncoder() { return (0, kit_1.getEnumEncoder)(MintingMethod); } function getMintingMethodDecoder() { return (0, kit_1.getEnumDecoder)(MintingMethod); } function getMintingMethodCodec() { return (0, kit_1.combineCodec)(getMintingMethodEncoder(), getMintingMethodDecoder()); } //# sourceMappingURL=mintingMethod.js.map