+
+
+
+
+
+ {showVault.show ? (
+
+
+
+ {hasPendingDeposits ? (
+
+
+ {logo}
+
+
+
+ Your deposit will deployed in the vault in{" "}
+
+ {strategyStartTime}
+
+
+
+
+ ) : (
{logo}
-
-
- Your deposit will deployed in the vault in{" "}
-
- {strategyStartTime}
-
-
-
-
- ) : (
-
- {logo}
-
- )}
-
- Your Balance ({asset})
-
- {isLoading || !account
- ? "---"
- : formatBigNumber(
- BigNumber.from(investedInStrategy),
- decimals,
- decimalPlaces
- )}
-
-
- {roi > 0 && "+"}
- {isLoading || roi === 0 ? "0.00" : roi.toFixed(4)}%
-
- {
- setShowDetailsModal(true);
- }}
- delay={0.5}
- >
- View Details
-
-
- {active && account ? (
- <>
- {
- setShowDepositModal(true);
- }}
- >
- Deposit
-
- {
- setShowWithdrawModal(true);
- }}
- >
- Withdraw
-
- {showCompleteWithdraw && (
-
+
+ Your Balance ({asset})
+
+
+ {isLoading || !account
+ ? "---"
+ : formatBigNumber(
+ BigNumber.from(investedInStrategy),
+ decimals,
+ decimalPlaces
+ )}
+
+
+ {roi > 0 && "+"}
+ {isLoading || roi === 0 ? "0.00" : roi.toFixed(4)}%
+
+ {
+ setShowDetailsModal(true);
+ }}
+ delay={0.5}
+ >
+ View Details
+
+
+ {active && account ? (
+ <>
+ {
- setShowCompleteModal(true);
+ setShowDepositModal(true);
}}
+ disabled
>
-
-
-
- Complete your withdrawals
-
-
-
- )}
- >
- ) : (
- setShowConnectModal(true)}
- >
- Connect Wallet
-
- )}
-
-
- {isLoading || isVaultMaxCapacity === undefined ? (
- loadingText
- ) : isVaultMaxCapacity ? (
- Vault is currently full
- ) : (
- formatAmount(totalDepositStr) +
- " " +
- asset +
- " / " +
- formatAmount(depositLimitStr) +
- " " +
- asset
- )}
-
-
-
- ) : (
-
-
-
- )}
-
-
+ Deposit
+
+
{
+ setShowWithdrawModal(true);
+ }}
+ >
+ Withdraw
+
+ {showCompleteWithdraw && (
+
{
+ setShowCompleteModal(true);
+ }}
+ >
+
+
+
+ Complete your withdrawals
+
+
+
+ )}
+ >
+ ) : (
+
setShowConnectModal(true)}
+ >
+ Connect Wallet
+
+ )}
+
+
+ {isLoading || isVaultMaxCapacity === undefined ? (
+ loadingText
+ ) : isVaultMaxCapacity ? (
+ Vault is currently full
+ ) : (
+ formatAmount(totalDepositStr) +
+ " " +
+ asset +
+ " / " +
+ formatAmount(depositLimitStr) +
+ " " +
+ asset
+ )}
+
+
+
+ ) : (
+
+
+
+ )}
+
+
+