File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,11 @@ const configs = {
5353 '0x51afd54ff95c77A15E40E83DB020908f33557c97' ,
5454 ] ,
5555 } ,
56+ plasma : {
57+ erc4626 : [
58+ '0xb74760fd26400030620027dd29d19d74d514700e' // Gearbox Hyperithm USDT0
59+ ]
60+ }
5661 }
5762} ;
5863
@@ -66,11 +71,11 @@ adapterExport.ethereum.tvl = async (api) => {
6671 api . add ( ADDRESSES . ethereum . USDC , midasTvl * 1e6 ) ;
6772} ;
6873
69- adapterExport . plasma = {
70- tvl : async ( api ) => {
71- const midasTvl = await getMidasTvl ( api , MIDAS_MHYPER . plasma ) ;
72- api . add ( ADDRESSES . plasma . USDT0 , midasTvl * 1e6 ) ;
73- }
74+ const plasmaTvl = adapterExport . plasma . tvl ;
75+ adapterExport . plasma . tvl = async ( api ) => {
76+ await plasmaTvl ( api ) ;
77+ const midasTvl = await getMidasTvl ( api , MIDAS_MHYPER . plasma ) ;
78+ api . add ( ADDRESSES . plasma . USDT0 , midasTvl * 1e6 ) ;
7479} ;
7580
7681module . exports = adapterExport ;
You can’t perform that action at this time.
0 commit comments