Skip to content

Commit 3069c9c

Browse files
authored
Merge pull request #72 from stabilitydao/dev-leaf
upd: brunch market
2 parents 79060c9 + 20dcf32 commit 3069c9c

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

components/new/markets/MarketTable.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const MarketLine = ({
121121
</div>
122122
);
123123
const borrowPercentage =
124-
marketID === "sbUSD"
124+
marketID === "brunch"
125125
? Math.min(
126126
(market.borrow.tvl.amount / market.supply.tvl.amount) * 100,
127127
100
@@ -172,7 +172,7 @@ const MarketLine = ({
172172
<div className={`text-[16px] text-center mb-[10px] ${borrowColor}`}>
173173
{trimmedNumber(100 - borrowPercentage, 2)}% remaining
174174
</div>
175-
{marketID === "sbUSD" ? (
175+
{marketID === "brunch" ? (
176176
<p className="flex justify-between w-full gap-1">
177177
<div>Cap:</div>
178178
<div className="pl-[50px]">
@@ -200,7 +200,7 @@ const MarketLine = ({
200200
{formatSuffix(market.borrow.tvl.value, "money")})
201201
</div>
202202
</div>
203-
{marketID === "sbUSD" ? (
203+
{marketID === "brunch" ? (
204204
<div className="flex justify-between w-full gap-1">
205205
<div>Remaining:</div>
206206
<div className="pl-[50px]">

constants/markets.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ export const LEGACY_MARKET_DEFINITIONS: {
1313
};
1414
} = {
1515
main: {
16-
name: "Main Protocol",
16+
name: "Main Market",
1717
},
18-
sbUSD: {
19-
name: "sbUSD Market",
18+
brunch: {
19+
name: "Brunch Market",
2020
},
2121
};
2222

@@ -25,7 +25,7 @@ export const MARKET_DEFINITIONS: {
2525
} = {
2626
main: {
2727
id: 0,
28-
name: "Main Protocol",
28+
name: "Main Market",
2929
description: "A simple market to lend and borrow assets.",
3030
tokens: [S, USDCe, scUSD, wETH, USDT, wOS, stS],
3131
POOL_ADDRESS_PROVIDER: "0x24835e3Da1B402f8037e3ce6dE4a701677fa1b54",
@@ -37,9 +37,9 @@ export const MARKET_DEFINITIONS: {
3737
["red", "orange", "yellow", "green"]
3838
),
3939
},
40-
sbUSD: {
40+
brunch: {
4141
id: 1,
42-
name: "sbUSD Market",
42+
name: "Brunch Market",
4343
description:
4444
"A market exclusively made of Sonic-based assets. Its high correlation makes liquidation much less of a risk.",
4545
tokens: [sbUSD, USDCe],

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lending-frontend",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

0 commit comments

Comments
 (0)