@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.
- package/README.md +25 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js.map +1 -1
- package/dist/{spokeRoutes-FgKCJQYa.d.cts → spokeRoutes-DK7cIW4z.d.cts} +4 -0
- package/dist/{spokeRoutes-FgKCJQYa.d.ts → spokeRoutes-DK7cIW4z.d.ts} +4 -0
- package/dist/viem/index.cjs +604 -5
- package/dist/viem/index.cjs.map +1 -1
- package/dist/viem/index.d.cts +721 -3
- package/dist/viem/index.d.ts +721 -3
- package/dist/viem/index.js +587 -7
- package/dist/viem/index.js.map +1 -1
- package/package.json +1 -1
- package/src/viem/abis.ts +329 -0
- package/src/viem/curatorMulticall.ts +299 -0
- package/src/viem/curatorStatus.ts +255 -0
- package/src/viem/index.ts +34 -0
- package/src/viem/types.ts +79 -0
- package/src/viem/userHelpers.ts +22 -6
|
@@ -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.
|