Skip to content

Commit 86bc13f

Browse files
authored
Feature/b lucky (#17038)
1 parent db717b5 commit 86bc13f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/b-lucky/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ const { sumTokens2 } = require('../helper/unwrapLPs')
44
// B-Lucky Protocol Contracts on BSC
55
const HOUSE_FUNDING_CONTRACT = '0xA7f03BeAF428801476b1eBB226A5AD434dCFBA50';
66
const LOTTERY_CONTRACT = '0xe18EAD45d0B0c04293Ad90Fa4E27C561e935AD5E';
7+
const LOTTERY_CONTRACT_V2 = '0x98207bb96E5FAE18E930dE1c2AAa27a5A72263CB';
78
const STAKING_CONTRACT = '0xbB3BFfaCe9C9bf7FeD9ECBB93c0DCF4449e878fe';
89
const LUCKY_TOKEN = '0x67b47971426bb2180453b3993FF2ec319e704444';
910

1011
// TVL calculation: BNB and WBNB deposited in House Funding and Lottery contracts
1112
async function tvl(api) {
1213
// Get BNB and WBNB balance in House Funding and Lottery contracts
1314
return api.sumTokens({
14-
owners: [HOUSE_FUNDING_CONTRACT, LOTTERY_CONTRACT],
15+
owners: [HOUSE_FUNDING_CONTRACT, LOTTERY_CONTRACT, LOTTERY_CONTRACT_V2],
1516
tokens: [ADDRESSES.null, ADDRESSES.bsc.WBNB]
1617
});
1718
}

0 commit comments

Comments
 (0)