File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ const { staking } = require ( "../helper/staking" ) ;
2
+
3
+ const STAKED_LBGT_VAULT = "0xFace73a169e2CA2934036C8Af9f464b5De9eF0ca" ;
4
+ const BERACHAIN_REWARD_VAULT_WBERA_LBGT_LP = "0xE8ED00B1B142E8D84eF773C4FCcaA18682d5a401" ;
5
+ const LP_REWARD_VAULT = "0xa77dee7bc36c463bB3E39804c9C7b13427D712B0" ;
6
+ const LBGT_ADDRESS = "0xBaadCC2962417C01Af99fb2B7C75706B9bd6Babe" ;
7
+
8
+ async function pool2 ( api ) {
9
+ // WBERA-LBGT LP TVL
10
+ const stakedLP = await api . call ( {
11
+ target : BERACHAIN_REWARD_VAULT_WBERA_LBGT_LP ,
12
+ abi : 'erc20:balanceOf' ,
13
+ params : [ LP_REWARD_VAULT ] ,
14
+ } ) ;
15
+ const lpAddress = await api . call ( {
16
+ target : BERACHAIN_REWARD_VAULT_WBERA_LBGT_LP ,
17
+ abi : 'address:stakeToken' ,
18
+ } ) ;
19
+ api . add ( lpAddress , stakedLP ) ;
20
+ }
21
+
22
+
23
+ module . exports = {
24
+ methodology : 'TVL includes staked LBGT and WBERA-LBGT LP tokens' ,
25
+ berachain : {
26
+ pool2,
27
+ staking : staking ( STAKED_LBGT_VAULT , LBGT_ADDRESS , "berachain" ) ,
28
+ tvl : ( async ) => ( { } ) ,
29
+ } ,
30
+ } ;
You can’t perform that action at this time.
0 commit comments