Skip to content

Commit

Permalink
remove bitcoin pool
Browse files Browse the repository at this point in the history
  • Loading branch information
tlatkdgus1 committed Dec 12, 2024
1 parent dd29df0 commit f22252b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions projects/bifi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ const chainPools = {
},
}

module.exports = {
bitcoin: {
tvl: bitcoin
}
};

Object.keys(chainPools).forEach(chain => {
const pools = chainPools[chain]
module.exports[chain] = {
Expand All @@ -71,20 +65,4 @@ Object.keys(chainPools).forEach(chain => {
}
})

const wbtc = ADDRESSES.ethereum.WBTC
async function bitcoin(timestamp, ethBlock) {
const tokenPool = {
pool: '0x986Eb51E67e154901ff9B482835788B8f3054076',
token: '0x4ca7a5Fb41660A9c5c31683B832A17f7f7457344'
}
let tokenLocked = await sdk.api.erc20.balanceOf({
owner: tokenPool.pool,
target: tokenPool.token,
block: ethBlock
});
return {
[wbtc]: tokenLocked.output
}
}

module.exports.ethereum.staking = stakings(stakingPool, bfcAddr)

0 comments on commit f22252b

Please sign in to comment.