UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

25 lines (19 loc) 1.47 kB
/** * 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 */ import { combineCodec, getEnumDecoder, getEnumEncoder, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit'; export enum ScopePriceIdTest { SOL, ETH, BTC, SRM, RAY, FTT, MSOL, ScnSOLSOL, BNB, AVAX, DaoSOLSOL, SaberMSOLSOL, USDH, StSOL, CSOLSOL, CETHETH, CBTCBTC, CMSOLSOL, WstETH, LDO, USDC, CUSDCUSDC, USDT, ORCA, MNDE, HBB, CORCAORCA, CSLNDSLND, CSRMSRM, CRAYRAY, CFTTFTT, CSTSOLSTSOL, SLND, DAI, JSOLSOL, USH, UXD, USDHTWAP, USHTWAP, UXDTWAP, HDG, DUST, USDR, USDRTWAP, RATIO, UXP, KUXDUSDCORCA, JITOSOLSOL, SOLEMA, ETHEMA, BTCEMA, SRMEMA, RAYEMA, FTTEMA, MSOLEMA, BNBEMA, AVAXEMA, STSOLEMA, USDCEMA, USDTEMA, SLNDEMA, DAIEMA, WstETHTWAP, DUSTTWAP, BONK, BONKTWAP, SAMO, SAMOTWAP, BSOL, LaineSOL }; export type ScopePriceIdTestArgs = ScopePriceIdTest; export function getScopePriceIdTestEncoder(): FixedSizeEncoder<ScopePriceIdTestArgs> { return getEnumEncoder(ScopePriceIdTest); } export function getScopePriceIdTestDecoder(): FixedSizeDecoder<ScopePriceIdTest> { return getEnumDecoder(ScopePriceIdTest); } export function getScopePriceIdTestCodec(): FixedSizeCodec<ScopePriceIdTestArgs, ScopePriceIdTest> { return combineCodec(getScopePriceIdTestEncoder(), getScopePriceIdTestDecoder()); }