Skip to content

Commit

Permalink
fix: pool apr
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee committed Feb 15, 2024
1 parent d55e0bc commit b1f2f74
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions app/src/views/PoolPage/PoolItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ export default defineComponent({
currency: "USD",
})}
</div>
<div
{/* <div
class={[
COLUMNS_LOOKUP.rowanApr.class,
"flex items-center justify-end font-mono",
Expand All @@ -419,7 +419,7 @@ export default defineComponent({
{isNil(this.$props.poolStat?.rewardApr)
? "..."
: `${(Number(this.$props.poolStat?.rewardApr) ?? 0).toFixed(2)}%`}
</div>
</div> */}
<div
class={[
COLUMNS_LOOKUP.pairedApr.class,
Expand Down
26 changes: 13 additions & 13 deletions app/src/views/PoolPage/usePoolPageData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,19 @@ export const COLUMNS: PoolPageColumn[] = [
sortable: true,
class: "w-[128px] text-right justify-end whitespace-nowrap",
},
{
id: "rowanApr",
name: "Rowan APR",
class: "w-[128px] text-right justify-end whitespace-nowrap",
sortable: true,
help: (
<code class="text-xs">
Annualized reward rate, paid in Rowan. Rowan APR = Total rewards
distributed in current program / (Total blocks passed in current program
* Current pool balance) * (Total blocks per year)
</code>
),
},
// {
// id: "rowanApr",
// name: "Rowan APR",
// class: "w-[128px] text-right justify-end whitespace-nowrap",
// sortable: true,
// help: (
// <code class="text-xs">
// Annualized reward rate, paid in Rowan. Rowan APR = Total rewards
// distributed in current program / (Total blocks passed in current program
// * Current pool balance) * (Total blocks per year)
// </code>
// ),
// },
{
id: "pairedApr",
name: "Paired APR",
Expand Down

0 comments on commit b1f2f74

Please sign in to comment.