@@ -2,15 +2,17 @@ import BigNumber from 'bignumber.js';
22import type { GetFixedRatedVaultsOutput } from 'clients/api/queries/getFixedRatedVaults' ;
33
44import {
5+ type InstitutionalVault ,
56 type LockedDeposit ,
67 VaultCategory ,
78 VaultManager ,
89 VaultStatus ,
10+ VaultType ,
911 type VenusVault ,
1012} from 'types' ;
1113
1214import type { Address } from 'viem' ;
13- import { vai , xvs } from './tokens' ;
15+ import { usdc , vai , xvs } from './tokens' ;
1416
1517export const vaults : VenusVault [ ] = [
1618 {
@@ -22,10 +24,11 @@ export const vaults: VenusVault[] = [
2224 rewardTokenPriceCents : new BigNumber ( 100 ) ,
2325 dailyEmissionMantissa : new BigNumber ( '144000000000000000000' ) ,
2426 dailyEmissionCents : 14400 ,
25- totalStakedMantissa : new BigNumber ( '415000000000000000000' ) ,
26- totalStakedCents : 41500 ,
27+ stakeBalanceMantissa : new BigNumber ( '415000000000000000000' ) ,
28+ stakeBalanceCents : 41500 ,
2729 stakingAprPercentage : 12665.060240963856 ,
2830 category : VaultCategory . STABLECOINS ,
31+ vaultType : VaultType . Venus ,
2932 manager : VaultManager . Venus ,
3033 managerIcon : 'logoMobile' ,
3134 status : VaultStatus . Active ,
@@ -40,12 +43,13 @@ export const vaults: VenusVault[] = [
4043 rewardTokenPriceCents : new BigNumber ( 100 ) ,
4144 dailyEmissionMantissa : new BigNumber ( '144000000000000000000' ) ,
4245 dailyEmissionCents : 14400 ,
43- totalStakedMantissa : new BigNumber ( '400000000000000000000000000' ) ,
44- totalStakedCents : 40000000000 ,
46+ stakeBalanceMantissa : new BigNumber ( '400000000000000000000000000' ) ,
47+ stakeBalanceCents : 40000000000 ,
4548 stakingAprPercentage : 12.92281835063781 ,
46- userStakedMantissa : new BigNumber ( '233000000000000000000' ) ,
47- userStakedCents : 23300 ,
49+ userStakeBalanceMantissa : new BigNumber ( '233000000000000000000' ) ,
50+ userStakeBalanceCents : 23300 ,
4851 category : VaultCategory . GOVERNANCE ,
52+ vaultType : VaultType . Venus ,
4953 manager : VaultManager . Venus ,
5054 managerIcon : 'logoMobile' ,
5155 status : VaultStatus . Active ,
@@ -98,11 +102,135 @@ export const fixedRatedVaults: GetFixedRatedVaultsOutput = [
98102 maturityDate : '2026-06-25T00:00:00.000Z' ,
99103 createdAt : '2026-01-21T20:14:15.000Z' ,
100104 updatedAt : '2026-01-21T20:14:15.000Z' ,
105+ tokenPrices : [
106+ {
107+ id : 'fake-price-pendle' ,
108+ tokenAddress : '0xe052823b4aefc6e230FAf46231A57d0905E30AE0' ,
109+ tokenWrappedAddress : null ,
110+ chainId : '56' ,
111+ priceMantissa : '682687557196753800000000000000000000000' ,
112+ priceSource : 'oracle' ,
113+ priceOracleAddress : '0x0000000000000000000000000000000000000001' ,
114+ mainOracleAddress : '0x0000000000000000000000000000000000000001' ,
115+ mainOracleName : 'ResilientOracle' ,
116+ isPriceInvalid : false ,
117+ hasErrorFetchingPrice : false ,
118+ createdAt : '2026-01-21T20:14:15.000Z' ,
119+ updatedAt : '2026-01-21T20:14:15.000Z' ,
120+ } ,
121+ ] ,
122+ } ,
123+ ] ,
124+ } ,
125+ {
126+ id : '97-institutional-0x5263D68786AaCfad74B9aa385A004c272548e8B7' ,
127+ chainId : '97' ,
128+ protocol : 'institutional-vault' ,
129+ vaultAddress : '0x5263D68786AaCfad74B9aa385A004c272548e8B7' ,
130+ underlyingAssetAddress : '0x312e39c7641cE64BEccDe53613f07952258fa810' ,
131+ fixedApyDecimal : '0.08' ,
132+ maturityDate : '2026-09-01T00:00:00.000Z' ,
133+ protocolData : {
134+ collateralAssetAddress : '0xCC3933141a64E26C9317b19CE4BbB4ec2c333bc6' ,
135+ institutionOperatorAddress : '0x1111111111111111111111111111111111111111' ,
136+ latePenaltyRateMantissa : '0' ,
137+ lockDurationSeconds : 2592000 ,
138+ openDurationSeconds : 604800 ,
139+ settlementWindowSeconds : 259200 ,
140+ } ,
141+ createdAt : '2026-04-01T00:00:00.000Z' ,
142+ updatedAt : '2026-04-01T00:00:00.000Z' ,
143+ loanVaultDetail : {
144+ chainId : '97' ,
145+ collateralAssetAddress : '0xCC3933141a64E26C9317b19CE4BbB4ec2c333bc6' ,
146+ collateralValueCents : '0' ,
147+ createdAt : '2026-04-01T00:00:00.000Z' ,
148+ debtValueCents : '0' ,
149+ fixedRateVaultId : '97-institutional-0x5263D68786AaCfad74B9aa385A004c272548e8B7' ,
150+ id : 'loan-vault-detail-1' ,
151+ institutionAddress : '0x1111111111111111111111111111111111111111' ,
152+ latePenaltyRateMantissa : '0' ,
153+ liquidationIncentiveMantissa : '0' ,
154+ liquidationThresholdMantissa : '0' ,
155+ liquidityMantissa : '500000000000' ,
156+ lockEndTime : '2026-08-29T00:00:00.000Z' ,
157+ maxBorrowCapMantissa : '1000000000000' ,
158+ minBorrowCapMantissa : '100000000000' ,
159+ openEndTime : '2026-04-08T00:00:00.000Z' ,
160+ outstandingDebtMantissa : '0' ,
161+ reserveFactorMantissa : '0' ,
162+ settlementDeadline : '2026-09-01T00:00:00.000Z' ,
163+ shortfallMantissa : '0' ,
164+ supplyAssetAddress : '0x312e39c7641cE64BEccDe53613f07952258fa810' ,
165+ totalOwedMantissa : '0' ,
166+ totalRaisedMantissa : '500000000000' ,
167+ updatedAt : '2026-04-01T00:00:00.000Z' ,
168+ vaultState : 2 ,
169+ } ,
170+ underlyingToken : [
171+ {
172+ address : '0x312e39c7641cE64BEccDe53613f07952258fa810' ,
173+ chainId : '97' ,
174+ name : 'Mock USDC' ,
175+ symbol : 'MOCK_USDC' ,
176+ decimals : 6 ,
177+ maturityDate : '2026-09-01T00:00:00.000Z' ,
178+ createdAt : '2026-04-01T00:00:00.000Z' ,
179+ updatedAt : '2026-04-01T00:00:00.000Z' ,
180+ tokenPrices : [
181+ {
182+ id : 'fake-price-institutional' ,
183+ tokenAddress : '0x312e39c7641cE64BEccDe53613f07952258fa810' ,
184+ tokenWrappedAddress : null ,
185+ chainId : '97' ,
186+ priceMantissa : '1000000000000000000000000000000' ,
187+ priceSource : 'oracle' ,
188+ priceOracleAddress : '0x0000000000000000000000000000000000000001' ,
189+ mainOracleAddress : '0x0000000000000000000000000000000000000001' ,
190+ mainOracleName : 'ResilientOracle' ,
191+ isPriceInvalid : false ,
192+ hasErrorFetchingPrice : false ,
193+ createdAt : '2026-04-01T00:00:00.000Z' ,
194+ updatedAt : '2026-04-01T00:00:00.000Z' ,
195+ } ,
196+ ] ,
101197 } ,
102198 ] ,
103199 } ,
104200] ;
105201
202+ export const institutionalVault : InstitutionalVault = {
203+ vaultType : VaultType . Institutional ,
204+ category : VaultCategory . STABLECOINS ,
205+ manager : VaultManager . Ceffu ,
206+ managerIcon : 'ceefu' ,
207+ managerAddress : '0x1111111111111111111111111111111111111111' ,
208+ managerLink : 'https://www.ceffu.com' ,
209+ status : VaultStatus . Pending ,
210+ key : '97-institutional-0x5263D68786AaCfad74B9aa385A004c272548e8B7' ,
211+ stakedToken : usdc ,
212+ rewardToken : usdc ,
213+ stakedTokenPriceCents : new BigNumber ( 100 ) ,
214+ rewardTokenPriceCents : new BigNumber ( 100 ) ,
215+ stakingAprPercentage : 8 ,
216+ stakeBalanceMantissa : new BigNumber ( '500000000000' ) ,
217+ stakeBalanceCents : 50000000 ,
218+ userStakeBalanceMantissa : new BigNumber ( '100000000' ) ,
219+ userStakeBalanceCents : 10000 ,
220+ vaultAddress : '0x5263D68786AaCfad74B9aa385A004c272548e8B7' ,
221+ fixedApyDecimal : '0.08' ,
222+ vaultDeploymentDate : new Date ( '2026-04-01T00:00:00.000Z' ) ,
223+ openEndDate : new Date ( '2026-04-08T00:00:00.000Z' ) ,
224+ lockEndDate : new Date ( '2026-08-29T00:00:00.000Z' ) ,
225+ maturityDate : new Date ( '2026-09-01T00:00:00.000Z' ) ,
226+ settlementDate : new Date ( '2026-09-01T00:00:00.000Z' ) ,
227+ stakeLimitMantissa : new BigNumber ( '1000000000000' ) ,
228+ stakeMinMantissa : new BigNumber ( '100000000000' ) ,
229+ userRedeemLimitMantissa : new BigNumber ( 0 ) ,
230+ userWithdrawLimitMantissa : new BigNumber ( 0 ) ,
231+ lockingPeriodMs : 2592000 * 1000 ,
232+ } ;
233+
106234export const lockedDeposits : LockedDeposit [ ] = [
107235 {
108236 amountMantissa : new BigNumber ( '1000000000000000000' ) ,
0 commit comments