Skip to content

Commit

Permalink
divide pstake products (#11255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Define101 authored Aug 10, 2024
1 parent 3d72d85 commit 3c7eb75
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 11 additions & 0 deletions projects/pstake-btc/index.js
Original file line number Diff line number Diff line change
@@ -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 })]),
},
};
5 changes: 0 additions & 5 deletions projects/pstake/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 })]),
},
};

0 comments on commit 3c7eb75

Please sign in to comment.