File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ const main = async () => {
189189 const priceKey = 'coingecko:drops-ownership-power' ;
190190 const protocolTokenPrice = (
191191 await utils . getData ( `https://coins.llama.fi/prices/current/${ priceKey } ` )
192- ) . coins [ priceKey ] . price ;
192+ ) . coins [ priceKey ] ? .price ;
193193
194194 prices [ PROTOCOL_TOKEN . address ] = protocolTokenPrice ;
195195
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ const getApy = async () => {
104104 } )
105105 ) ;
106106
107- return pools . flat ( ) ;
107+ return utils . removeDuplicates ( pools . flat ( ) )
108108} ;
109109
110110module . exports = {
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ const excludeAdaptors = [
157157 'liquid-bolt' ,
158158 'avault' ,
159159 'metastreet-v2' ,
160+ 'mero' ,
160161] ;
161162
162163const excludePools = [
You can’t perform that action at this time.
0 commit comments