Skip to content

Commit 650ba1e

Browse files
authored
tron btc + btc wallets (DefiLlama#12030)
1 parent 4cb0e1a commit 650ba1e

File tree

2 files changed

+77
-1
lines changed

2 files changed

+77
-1
lines changed

projects/obelisk/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const staticAddresses = [
55
'bc1p0tr3dgulgpx43dkktjxy8z2azz6yvx4j7s0lelj67tlwct0wnqtqeakfer',
66
'14ejzLtUSMsjZE8Pp2LUhX3Pf7BbXPeZyP',
77
'bc1q0hapsvdtqfeyw9fjacey9350k8zu552p0khyhj',
8-
'bc1pr6pga0d44xm3t8z36qnya6sfznsm8fwkn507x6gqt86xtnvm4h4sj2zqus'
8+
'bc1pr6pga0d44xm3t8z36qnya6sfznsm8fwkn507x6gqt86xtnvm4h4sj2zqus',
9+
'bc1qy4pkldj4dqxtqypz6awwj7y8vahkht8uqhdlw3'
910
]
1011

1112
const abi = {

projects/tron-btc/index.js

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
const ADDRESSES = require('../helper/coreAssets.json')
2+
const sdk = require('@defillama/sdk');
3+
const { sumTokensExport: sumBRC20TokensExport } = require("../helper/chain/brc20");
4+
const { sumTokensExport } = require('../helper/sumTokens');
5+
6+
// On the 23/10/2024 , defillma receive a PoR from Tron/HTX team with the respective BTC collateral backing BTC on tron chain
7+
const owners = [
8+
"1NBX1UZE3EFPTnYNkDfVhRADvVc8v6pRYu",
9+
"14NEbSYdjumn9h4spMjbp3PdUpeXuM5PBZ"
10+
]
11+
12+
module.exports = {
13+
methodology: "Collateral for BTC on tron chain",
14+
bitcoin: {
15+
tvl: sdk.util.sumChainTvls([
16+
sumTokensExport({ owners }),
17+
]),
18+
},
19+
ethereum: {
20+
tvl: sumTokensExport({
21+
ownerTokens: [
22+
[[ADDRESSES.ethereum.WBTC], "0xbe6d2444a717767544a8b0ba77833aa6519d81cd",], //WBTC
23+
[["0xc96de26018a54d51c097160568752c4e3bd6c364"], "0x38d516a43f9bab90455c16f9299866217062467e",],//FBTC
24+
]
25+
}),
26+
},
27+
merlin: {
28+
tvl: sumTokensExport({
29+
owners: ["0x06fe862f2eefe9a5e9a2cf9799941706665e833a"],
30+
tokens: ["0xb880fd278198bd590252621d4cd071b1842e9bcd", "0x93919784c523f39cacaa98ee0a9d96c3f32b593e"] // M-BTC AND UNIBTC
31+
}),
32+
},
33+
zklink: {
34+
tvl: sumTokensExport({
35+
owners: ["0x3aa95613091a3a9512956c3a2a2b724dce375a2d"],
36+
tokens: ["0xbeaf16cfd8efe0fc97c2a07e349b9411f5dc272c"] // SolvBTC.m
37+
}),
38+
},
39+
linea: {
40+
tvl: sumTokensExport({
41+
owners: ["0x399c4e524cff47d9e670f9d1ca0381bbe746e97a", "0x533806b821ec94091228d7d34e697b93bb79f8f6"],
42+
tokens: ["0xe4d584ae9b753e549cae66200a6475d2f00705f7", "0x5ffce65a40f6d3de5332766fff6a28bf491c868c", "0x96155858a02c410c3c814bb32fdc413b3241b62e"] // m-btc, SolvBTC.m , solvBTC.B
43+
}),
44+
},
45+
mode: {
46+
tvl: sumTokensExport({
47+
owners: ["0x399c4e524cff47d9e670f9d1ca0381bbe746e97a", "0x533806b821ec94091228d7d34e697b93bb79f8f6"],
48+
tokens: ["0x59889b7021243db5b1e065385f918316cd90d46c", ] // m-btc
49+
}),
50+
},
51+
core: {
52+
tvl: sumTokensExport({
53+
owners: ["0x533806b821ec94091228d7d34e697b93bb79f8f6"],
54+
tokens: ["0xe04d21d999faedf1e72ade6629e20a11a1ed14fa", ] // solvBTC.M
55+
}),
56+
},
57+
kroma: {
58+
tvl: sumTokensExport({
59+
owners: ["0x533806b821ec94091228d7d34e697b93bb79f8f6"],
60+
tokens: ["0x0f921c39efd98809fe6d20a88a4357454578987a", ] // m-BTC
61+
}),
62+
},
63+
kava: {
64+
tvl: sumTokensExport({
65+
owners: ["0x533806b821ec94091228d7d34e697b93bb79f8f6"],
66+
tokens: ["0x59889b7021243db5b1e065385f918316cd90d46c", ] // m-BTC
67+
}),
68+
},
69+
bsc: {
70+
tvl: sumTokensExport({
71+
owners: ["0x533806b821ec94091228d7d34e697b93bb79f8f6"],
72+
tokens: ["0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c", ] // BTCB
73+
}),
74+
},
75+
};

0 commit comments

Comments
 (0)