@devasher/kuru-sdk
Version:
Ethers v6 SDK to interact with Kuru (forked from @kuru-labs/kuru-sdk)
10 lines • 512 B
TypeScript
import { BigNumberish } from 'ethers';
/**
* @dev Calculates the base-10 logarithm of a BigNumber.
* @param bn - The BigNumber to calculate the logarithm of.
* @returns The base-10 logarithm of the BigNumber.
*/
export declare function log10BigNumber(bn: BigNumberish): number;
export declare function mulDivRound(value: BigNumberish, multiplier: BigNumberish, divisor: BigNumberish): bigint;
export declare function clipToDecimals(value: string, decimals: number): string;
//# sourceMappingURL=math.d.ts.map