Skip to content

Commit

Permalink
Update packages/server/src/queries/complex/pools/incentives.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnya97 authored Jun 7, 2024
1 parent ab7ed9a commit d5abf9f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/server/src/queries/complex/pools/incentives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,6 @@ export function getCachedPoolIncentivesMap(): Promise<
const aprs = await queryPoolAprs();
const astroport_aprs = await queryAstroportPoolAprs();

// TODO: Remove this once astroport apr return format is fixed
astroport_aprs.forEach((apr) => {
apr.pool_id = String(apr.pool_id);
apr.swap_fees = apr.swap_fees * 100;
apr.superfluid = apr.superfluid * 100;
apr.osmosis = apr.osmosis * 100;
apr.boost = apr.boost * 100;
apr.total_apr = apr.total_apr * 100;
});

aprs.push(...astroport_aprs);

return aprs.reduce((map, apr) => {
Expand Down

0 comments on commit d5abf9f

Please sign in to comment.