Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Nov 28, 2024
1 parent db05da0 commit 004c000
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
7 changes: 2 additions & 5 deletions projects/chakra/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
const {sumTokensExport} = require("../helper/sumTokens");
const sdk = require("@defillama/sdk");
const { sumTokensExport } = require("../helper/sumTokens");
const bitcoinAddressBook = require('../helper/bitcoin-book/index.js')


module.exports = {
// methodology: `Total amount of BTC in ${bitcoinAddressBook.chakra.join(", ")}. Restaked on babylon`,
doublecounted: true,
bitcoin: {tvl: sdk.util.sumChainTvls([sumTokensExport({owners: bitcoinAddressBook.chakra})])},
bitcoin: { tvl: sumTokensExport({ owners: bitcoinAddressBook.chakra }) },
};
5 changes: 2 additions & 3 deletions projects/pstake-btc/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
const { sumTokensExport } = require("../helper/sumTokens");
const sdk = require("@defillama/sdk");
const bitcoinAddressBook = require('../helper/bitcoin-book/index.js')

module.exports = {
methodology: `Total amount of BTC in ${ bitcoinAddressBook.pstakeBTC.join(", ")}. Restaked on babylon`,
methodology: `Total amount of BTC restaked on babylon`,
doublecounted:true,
bitcoin: { tvl: sdk.util.sumChainTvls([sumTokensExport({ owners: bitcoinAddressBook.pstakeBTC })]) },
bitcoin: { tvl: sumTokensExport({ owners: bitcoinAddressBook.pstakeBTC }) },
};
3 changes: 1 addition & 2 deletions projects/xlink-btc-lst/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
const sdk = require("@defillama/sdk");
const { sumTokensExport } = require("../helper/sumTokens");
const bitcoinAddressBook = require('../helper/bitcoin-book/index.js')

module.exports = {
methodology: "Staking tokens via Babylon counts as TVL",
doublecounted:true,
bitcoin: { tvl: sdk.util.sumChainTvls([sumTokensExport({ owners: bitcoinAddressBook.xlinkLST })]) }
bitcoin: { tvl: sumTokensExport({ owners: bitcoinAddressBook.xlinkLST }) }
}
3 changes: 1 addition & 2 deletions projects/xlink/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
const ADDRESSES = require("../helper/coreAssets.json");
const sdk = require("@defillama/sdk");
const { sumTokensExport } = require("../helper/sumTokens");
const bitcoinAddressBook = require('../helper/bitcoin-book/index.js')

module.exports = {
methodology: "Staking tokens via AlexLab counts as TVL",
bitcoin: { tvl: sdk.util.sumChainTvls([sumTokensExport({ owners: bitcoinAddressBook.xlink })]) },
bitcoin: { tvl: sumTokensExport({ owners: bitcoinAddressBook.xlink }) },
ethereum: {
tvl: sumTokensExport({
owners: [
Expand Down

1 comment on commit 004c000

@anhzzhull
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chakrachain project scam, the entire community that joined can't withdraw their crypto stake assets, chakra opened 7 days unbond and we waited 20 days without receiving anything

Please sign in to comment.