UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

48 lines 1.81 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 { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit'; export type CollateralInfo = { mint: Address; lowerHeuristic: bigint; upperHeuristic: bigint; expHeuristic: bigint; maxTwapDivergenceBps: bigint; scopeTwapPriceChain: Array<number>; scopePriceChain: Array<number>; name: ReadonlyUint8Array; maxAgePriceSeconds: bigint; maxAgeTwapSeconds: bigint; maxIgnorableAmountAsReward: bigint; disabled: number; padding0: ReadonlyUint8Array; scopeStakingRateChain: Array<number>; scopeFeed: Address; padding: Array<bigint>; }; export type CollateralInfoArgs = { mint: Address; lowerHeuristic: number | bigint; upperHeuristic: number | bigint; expHeuristic: number | bigint; maxTwapDivergenceBps: number | bigint; scopeTwapPriceChain: Array<number>; scopePriceChain: Array<number>; name: ReadonlyUint8Array; maxAgePriceSeconds: number | bigint; maxAgeTwapSeconds: number | bigint; maxIgnorableAmountAsReward: number | bigint; disabled: number; padding0: ReadonlyUint8Array; scopeStakingRateChain: Array<number>; scopeFeed: Address; padding: Array<number | bigint>; }; export declare function getCollateralInfoEncoder(): FixedSizeEncoder<CollateralInfoArgs>; export declare function getCollateralInfoDecoder(): FixedSizeDecoder<CollateralInfo>; export declare function getCollateralInfoCodec(): FixedSizeCodec<CollateralInfoArgs, CollateralInfo>; //# sourceMappingURL=collateralInfo.d.ts.map