Skip to content

Commit

Permalink
add op for mbtc borrow, kill dmbtc
Browse files Browse the repository at this point in the history
add op to mode native borrow

fix
  • Loading branch information
vidvidvid committed Nov 26, 2024
1 parent 466685e commit 334f4c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion packages/ui/app/_components/markets/SupplyPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function SupplyPopover({
<span
className={`${pools[+dropdownSelectedChain].text} ${pools[+dropdownSelectedChain].bg} rounded-md w-max lg:text-[10px] md:text-[9px] text-[8px] md:mb-1 ml-1 md:ml-0 text-center py-[1px] md:px-1 lg:px-2.5 px-1 flex items-center justify-center`}
>
{merklAprForToken || asset === 'dMBTC' ? (
{merklAprForToken ? (
<>
+{' '}
<img
Expand Down
22 changes: 4 additions & 18 deletions packages/ui/utils/multipliers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export const multipliers: Record<
borrow: {
ionic: 0,
turtle: false,
ionAPR: false
ionAPR: false,
op: true
},
market: 'm_btc_market',
multiplier: 66000,
Expand All @@ -49,22 +50,6 @@ export const multipliers: Record<
op: true
}
},
dMBTC: {
borrow: {
ionAPR: false,
turtle: false,
ionic: 0
},
market: 'dmBTC_market',
supply: {
ionic: 0,
underlyingAPR: 10,
turtle: false,
ionAPR: true,
flywheel: true,
op: true
}
},
STONE: {
borrow: {
ionic: 0,
Expand Down Expand Up @@ -253,7 +238,8 @@ export const multipliers: Record<
ionic: 0,
turtle: false,
ionAPR: false,
flywheel: false
flywheel: false,
op: true
},
market: 'ionmode_modenative',
multiplier: 0.035,
Expand Down

0 comments on commit 334f4c8

Please sign in to comment.