Skip to content

Commit c4aed4b

Browse files
committed
Add and whitelist uniBTC to stake on mainnet
1 parent 4ac6edd commit c4aed4b

File tree

6 files changed

+21
-12
lines changed

6 files changed

+21
-12
lines changed

package-lock.json

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

patches/@hemilabs+token-list+1.11.0.patch patches/@hemilabs+token-list+1.12.0.patch

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/node_modules/@hemilabs/token-list/src/hemi.tokenlist.json b/node_modules/@hemilabs/token-list/src/hemi.tokenlist.json
2-
index ba2991f..d354e9b 100644
2+
index e112ffd..11e9457 100644
33
--- a/node_modules/@hemilabs/token-list/src/hemi.tokenlist.json
44
+++ b/node_modules/@hemilabs/token-list/src/hemi.tokenlist.json
55
@@ -173,8 +173,7 @@
@@ -86,7 +86,7 @@ index ba2991f..d354e9b 100644
8686
},
8787
"logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/usdt.svg",
8888
"name": "USDT",
89-
@@ -400,8 +409,7 @@
89+
@@ -402,8 +411,7 @@
9090
"chainId": 43111,
9191
"decimals": 8,
9292
"extensions": {
@@ -96,7 +96,7 @@ index ba2991f..d354e9b 100644
9696
},
9797
"logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/obtc.svg",
9898
"name": "Obelisk BTC",
99-
@@ -415,8 +423,7 @@
99+
@@ -417,8 +425,7 @@
100100
"name": "pumpBTC",
101101
"symbol": "pumpBTC",
102102
"extensions": {
@@ -106,7 +106,7 @@ index ba2991f..d354e9b 100644
106106
}
107107
},
108108
{
109-
@@ -427,8 +434,7 @@
109+
@@ -429,8 +436,7 @@
110110
"name": "Lorenzo stBTC",
111111
"symbol": "stBTC",
112112
"extensions": {
@@ -116,7 +116,7 @@ index ba2991f..d354e9b 100644
116116
}
117117
},
118118
{
119-
@@ -447,11 +453,16 @@
119+
@@ -460,11 +466,16 @@
120120
"chainId": 743111,
121121
"decimals": 8,
122122
"extensions": {
@@ -136,7 +136,7 @@ index ba2991f..d354e9b 100644
136136
},
137137
{
138138
"address": "0x3Adf21A6cbc9ce6D5a3ea401E7Bae9499d391298",
139-
@@ -490,8 +501,8 @@
139+
@@ -503,8 +514,8 @@
140140
"chainId": 743111,
141141
"decimals": 18,
142142
"logoURI": "https://raw.githubusercontent.com/hemilabs/token-list/master/src/logos/hdai.svg",

webapp/app/[locale]/stake/protocols/protocolImages.ts

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const protocolImages: Record<StakeProtocols, StaticImageData> = {
4141
stakeStone,
4242
tether,
4343
threshold,
44+
uniBtc: bedRock,
4445
uniRouter,
4546
wbtc,
4647
}

webapp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@eth-optimism/sdk": "3.2.1",
17-
"@hemilabs/token-list": "1.11.1",
17+
"@hemilabs/token-list": "1.12.0",
1818
"@rainbow-me/rainbowkit": "2.0.1",
1919
"@sentry/nextjs": "8.35.0",
2020
"@tanstack/react-query": "5.24.8",

webapp/tokenList/stakeTokens.ts

+8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const websitesMap: Partial<Record<StakeExtensions['protocol'], string>> = {
2222
stakeStone: 'https://stakestone.io/#/home',
2323
tether: 'https://tether.to/en',
2424
threshold: 'https://threshold.network',
25+
uniBtc: 'https://app.bedrock.technology/unibtc?tab=swap_deposit',
2526
uniRouter: 'https://www.unirouter.io/#',
2627
wbtc: 'https://www.wbtc.network',
2728
}
@@ -139,6 +140,13 @@ export const stakeWhiteList: Partial<
139140
rewards: ['hemi', 'unirouter', 'bsquared'],
140141
website: websitesMap.uniRouter,
141142
},
143+
// uniBTC
144+
'0xF9775085d726E782E83585033B58606f7731AB18': {
145+
protocol: 'uniBtc',
146+
priceSymbol: 'btc',
147+
rewards: ['hemi', 'bedrock'],
148+
website: websitesMap.uniBtc,
149+
},
142150
// USDC
143151
'0xad11a8BEb98bbf61dbb1aa0F6d6F2ECD87b35afA': {
144152
// token symbol in hemi mainnet is usdc.e

webapp/types/stake.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const stakeProtocols = [
1919
'stakeStone',
2020
'tether',
2121
'threshold',
22+
'uniBtc',
2223
'uniRouter',
2324
'wbtc',
2425
] as const

0 commit comments

Comments
 (0)