This repository was archived by the owner on Nov 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 248248 !lpMintAddress ||
249249 !liquidity.initialized ||
250250 liquidity.loading ||
251- gt(fromCoinAmount , fromCoin.balance ? fromCoin.balance.fixed() : '0') ||
252- gt(toCoinAmount , toCoin.balance ? toCoin.balance.fixed() : '0') ||
251+ gt(fromCoinAmountMin , fromCoin.balance ? fromCoin.balance.fixed() : '0') ||
252+ gt(toCoinAmountMin , toCoin.balance ? toCoin.balance.fixed() : '0') ||
253253 suppling ||
254254 (fromCoin.mintAddress === TOKENS.xCOPE.mintAddress && gt(5, fromCoinAmount)) ||
255255 (toCoin.mintAddress === TOKENS.xCOPE.mintAddress && gt(5, toCoinAmount))
261261 <template v-else-if =" ! lpMintAddress || ! liquidity .initialized " > Invalid pair </template >
262262 <template v-else-if =" ! fromCoinAmount " > Enter an amount </template >
263263 <template v-else-if =" liquidity .loading " > Updating pool information </template >
264- <template v-else-if =" gt (fromCoinAmount , fromCoin .balance ? fromCoin .balance .fixed () : ' 0' )" >
264+ <template v-else-if =" gt (fromCoinAmountMin , fromCoin .balance ? fromCoin .balance .fixed () : ' 0' )" >
265265 Insufficient {{ fromCoin.symbol }} balance
266266 </template >
267- <template v-else-if =" gt (toCoinAmount , toCoin .balance ? toCoin .balance .fixed () : ' ' )" >
267+ <template v-else-if =" gt (toCoinAmountMin , toCoin .balance ? toCoin .balance .fixed () : ' 0 ' )" >
268268 Insufficient {{ toCoin.symbol }} balance
269269 </template >
270270 <template v-else-if =" fromCoin .mintAddress === TOKENS .xCOPE .mintAddress && gt (50 , fromCoinAmount )" >
You can’t perform that action at this time.
0 commit comments