File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,18 @@ const usePoolAlert = (poolData?: PoolData | PoolDataCache) => {
207207 ) ,
208208 } )
209209
210+ // Pool creator configured a price feed instead of redemption rates for stored_rates, leading to users losing funds when swapping.
211+ const monadEthConverterAlert = ( ) : PoolAlert => ( {
212+ alertType : 'danger' ,
213+ isDisableDeposit : true ,
214+ isDisableSwap : true ,
215+ message : (
216+ < MessageWrapper >
217+ < div > This pool is in withdraw only mode, as it has been configured incorrectly.</ div >
218+ </ MessageWrapper >
219+ ) ,
220+ } )
221+
210222 // prettier-ignore
211223 const alerts : { [ poolAddress : string ] : PoolAlert } = {
212224 // ethereum
@@ -235,6 +247,9 @@ const usePoolAlert = (poolData?: PoolData | PoolDataCache) => {
235247
236248 // avalanche
237249 '0xb755b949c126c04e0348dd881a5cf55d424742b2' : atricryptoAlert ( ) ,
250+
251+ // monad
252+ '0x2fd13b49f970e8c6d89283056c1c6281214b7eb6' : monadEthConverterAlert ( )
238253 }
239254
240255 if ( poolAddress ) {
You can’t perform that action at this time.
0 commit comments