Skip to content

Commit d33290d

Browse files
committed
feat(collaterals): add cbbtc
1 parent 5c3914c commit d33290d

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@qidao/sdk",
33
"license": "MIT",
4-
"version": "5.3.26",
4+
"version": "5.3.27",
55
"description": "🛠 An SDK for building applications on top of QiDao Protocol.",
66
"main": "./dist/index.js",
77
"umd:main": "dist/index.umd.js",

src/constants.ts

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ export const BASE_CBETH_ADDRESS = '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22'
169169
export const BASE_WSTETH_ADDRESS = '0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452'
170170
export const BASE_AERO_ADDRESS = '0x940181a94A35A4569E4529A3CDfB74e38FD98631'
171171
export const BASE_EZETH_ADDRESS = '0x2416092f143378750bb29b79eD961ab195CcEea5'
172+
export const BASE_CBBTC_ADDRESS = '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf'
172173

173174
export const XDAI_SDAI_ADDRESS = '0xaf204776c7245bF4147c2612BF6e5972Ee483701'
174175

@@ -237,6 +238,7 @@ export const BASE_AERO_VAULT_ADDRESS = '0x20658fDaBD4C79F1B3666E5bcCAeF78b5059B1
237238
export const BASE_EZETH_VAULT_ADDRESS = '0x491E3a7cDA79aF2bba5De48C58445644821D14dE'
238239
export const BASE_PSM_ADDRESS = '0x83D41737d086033A9c3acE2F1Ad9350d7d91cf02'
239240
export const BASE_VE_AERO_VAULT_ADDRESS = '0xE8B5601b32b847FE0371246dB143D6fAbF8EAD21'
241+
export const BASE_CBBTC_VAULT_ADDRESS = '0x806C0287f0e7124567c35D9A2a20B79c94179313'
240242

241243
//XDAI Vaults
242244
export const XDAI_SDAI_VAULT_ADDRESS = '0x79AFAD49e968E7bEA7a23933E294a94E33E60158'

src/tokenDescriptions.json

+5
Original file line numberDiff line numberDiff line change
@@ -243,5 +243,10 @@
243243
"shortDescription": "Renzo Protocol is a Liquid Restaking Token (LRT) and Strategy Manager for EigenLayer. REZ is the Governance Token for the Renzo Protocol which is backed by Liquid Restaking Token ezETH.",
244244
"logo": "https://s2.tokeninsight.com/static/coins/img/currency/Renzo_REZ.png",
245245
"name": "Renzo"
246+
},
247+
"coinbase-wrapped-bitcoin": {
248+
"shortDescription": "Coinbase Wrapped BTC is a token backed 1:1 by native Bitcoin held by Coinbase. It is a transferable token that is redeemable for the underlying BTC and is built to be seamlessly compatible with DeFi applications.",
249+
"logo": "https://s2.tokeninsight.com/static/coins/img/currency/CoinbaseWrappedBitcoin_WBTC.png",
250+
"name": "Coinbase Wrapped Bitcoin"
246251
}
247252
}

src/vaultInfo.ts

+18-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ import {
126126
BASE_PSM_ADDRESS,
127127
MATIC_PSM_ADDRESS,
128128
LINEA_PSM_ADDRESS,
129-
BASE_VE_AERO_VAULT_ADDRESS,
129+
BASE_VE_AERO_VAULT_ADDRESS, BASE_CBBTC_VAULT_ADDRESS, BASE_CBBTC_ADDRESS,
130130
} from './constants'
131131
import {PLATFORM} from "./ProtocolInfo";
132132

@@ -214,6 +214,7 @@ export type SnapshotCanonicalChoiceName =
214214
| 'MetaPool ETH (Linea)'
215215
| 'ezETH (Base)'
216216
| 'VeAero (Base)'
217+
| 'cbBTC (Base)'
217218

218219
export type VaultShortName =
219220
| 'aave'
@@ -315,6 +316,7 @@ export type VaultShortName =
315316
| 'dai'
316317
| 'usdc'
317318
| 'veaero'
319+
| 'cbbtc'
318320

319321
export type RawVaultContractAbiV1 =
320322
| typeof qiStablecoin
@@ -2615,6 +2617,21 @@ const BASE_COLLATERALS = [
26152617
platform: ['Aerodrome'],
26162618
addedAt: 1712941200,
26172619
deprecated: false,
2620+
},
2621+
{
2622+
shortName: 'cbbtc',
2623+
vaultAddress: BASE_CBBTC_VAULT_ADDRESS,
2624+
chainId: ChainId.BASE,
2625+
token: new Token(ChainId.BASE, BASE_CBBTC_ADDRESS, 8, 'cbBTC', 'Coinbase BTC'),
2626+
connect: StableQiVault__factory.connect,
2627+
discriminator: 'StableQiVault',
2628+
minimumCDR: 125,
2629+
frontend: FRONTEND.MAI,
2630+
version: 2,
2631+
snapshotName: 'cbBTC (Base)',
2632+
underlyingIds: ['coinbase-wrapped-bitcoin'],
2633+
addedAt: 1734310800,
2634+
deprecated: false,
26182635
}
26192636

26202637
] satisfies (COLLATERAL | GAUGE_VALID_COLLATERAL | COLLATERAL_V2 | GAUGE_VALID_COLLATERAL_V2)[]

0 commit comments

Comments
 (0)