From 12c32d5f7afb78248ce02f7f1c5595b7a4f5c126 Mon Sep 17 00:00:00 2001 From: gmbronco <83549293+gmbronco@users.noreply.github.com> Date: Sat, 3 Aug 2024 17:54:30 +0200 Subject: [PATCH] fix: maple APR scaling (#702) --- .../yb-apr-handlers/sources/maple-apr-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pool/lib/apr-data-sources/yb-apr-handlers/sources/maple-apr-handler.ts b/modules/pool/lib/apr-data-sources/yb-apr-handlers/sources/maple-apr-handler.ts index ab236ae2..33f02372 100644 --- a/modules/pool/lib/apr-data-sources/yb-apr-handlers/sources/maple-apr-handler.ts +++ b/modules/pool/lib/apr-data-sources/yb-apr-handlers/sources/maple-apr-handler.ts @@ -36,7 +36,7 @@ export class Maple { }, } = (await response.json()) as Response; - const apr = parseFloat(apy) / 1e28; + const apr = parseFloat(apy) / 1e30; return { [this.config!.token]: { apr, isIbYield: true },