test-kohin-sdk
Version:
The Kohin JS is a comprehensive developer toolkit designed to integrate Kohin's decentralized insurance system seamlessly into your applications. It enables efficient interaction with Kohin smart contracts and backend APIs, facilitating management and ana
16 lines (15 loc) • 524 B
TypeScript
export declare const checkMLRBeforeBuyCover: (amount: number) => Promise<{
success: boolean;
error: string;
} | {
success: boolean;
error?: undefined;
}>;
export declare const checkMLRBeforeRemoval: (percent: number, availBalance: number) => Promise<any>;
export declare const checkMLR: (amount: number, currentLockedLiquidity: number, currentTotalLiquidity: number, currentMlrRatio: number, isAdd: boolean) => {
success: boolean;
error: string;
} | {
success: boolean;
error?: undefined;
};