Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqian committed Feb 28, 2024
1 parent 0b13486 commit bf2d44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import {
import { getTokenContract } from "./tokens";

Decimal.set({ precision: DEFAULT_PRECISION });

export const aprToRate = (apr: string): string => {
const exp = new Decimal(1).dividedBy(new Decimal(NANOS_PER_YEAR));
const base = new Decimal(apr).dividedBy(new Decimal(100));
Expand All @@ -45,6 +44,7 @@ export const rateToApr = (rate: string): string => {
};

export const getPrices = async (): Promise<IPrices | undefined> => {
console.log("[[[[[[[[");
const { view, logicContract } = await getBurrow();
const config = (await view(
logicContract,
Expand Down

0 comments on commit bf2d44f

Please sign in to comment.