@oydual31/more-vaults-sdk 0.2.9 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -241,6 +241,10 @@ type DepositBlockReason = 'paused' | 'capacity-full' | 'not-whitelisted' | 'ok';
241
241
  interface DepositEligibility {
242
242
  allowed: boolean;
243
243
  reason: DepositBlockReason;
244
+ /** Max deposit amount for this user (0n if capacity full or not whitelisted) */
245
+ maxDeposit?: bigint;
246
+ /** Whether the vault restricts deposits to whitelisted addresses */
247
+ whitelistEnabled?: boolean;
244
248
  }
245
249
  /**
246
250
  * Check whether a user is eligible to deposit into the vault right now.
@@ -241,6 +241,10 @@ type DepositBlockReason = 'paused' | 'capacity-full' | 'not-whitelisted' | 'ok';
241
241
  interface DepositEligibility {
242
242
  allowed: boolean;
243
243
  reason: DepositBlockReason;
244
+ /** Max deposit amount for this user (0n if capacity full or not whitelisted) */
245
+ maxDeposit?: bigint;
246
+ /** Whether the vault restricts deposits to whitelisted addresses */
247
+ whitelistEnabled?: boolean;
244
248
  }
245
249
  /**
246
250
  * Check whether a user is eligible to deposit into the vault right now.