diff --git a/projects/pstake-btc/index.js b/projects/pstake-btc/index.js new file mode 100644 index 000000000000..8fc11f236578 --- /dev/null +++ b/projects/pstake-btc/index.js @@ -0,0 +1,11 @@ +const { sumTokensExport } = require("../helper/sumTokens"); +const sdk = require("@defillama/sdk"); + +const owner = "bc1qajcp935tuvqakut95f0sc9qm09hxjj6egexl9d"; + +module.exports = { + methodology: `Total amount of BTC in ${owner}.`, + bitcoin: { + tvl: sdk.util.sumChainTvls([sumTokensExport({ owner })]), + }, +}; \ No newline at end of file diff --git a/projects/pstake/index.js b/projects/pstake/index.js index 152e4a171359..000d7f5832c2 100644 --- a/projects/pstake/index.js +++ b/projects/pstake/index.js @@ -66,13 +66,8 @@ function cosmostvl() { }; } -const owner = "bc1qajcp935tuvqakut95f0sc9qm09hxjj6egexl9d"; - module.exports = { methodology: `Total amount of liquid staked tokens on Persistence.`, bsc: { tvl: bsctvl }, persistence: { tvl: cosmostvl() }, - bitcoin: { - tvl: sdk.util.sumChainTvls([sumTokensExport({ owner })]), - }, };