Vault epochs
Vault epochs define fixed-duration accounting periods used in vault logic to compute returns, manage liquidity flows, and determine claim availability.
Structure
Each vault epoch object includes:
_id
(string) — Unique identifiervaultId
(string) — Vault the epoch belongs tovaultAddress
(string) — Address of the vaultblock
(object) —number
(number) — Block numbertimestamp
(number) — Unix timestamp
count
(number) — Epoch sequence indexstatus
(string) — One of:WAITING
,RUNNING
,DEFAULTED
,CURE
startDate
(string) — ISO 8601 start dateendDate
(string) — ISO 8601 end datestartCureDate
(string) — When cure phase begins (if applicable)apr
(number) — Estimated APRlastApr
(number) — APR from previous epochexpectedInterest
(string) — Interest forecasted during this epochunclaimedFees
(string) — Fees not yet claimeddeposits
(string) — Total deposits in epochduration
(number) — Duration in secondsbufferDuration
(number) — Buffer window after epoch endswithdrawType
(string) — EitherINSTANT
orSTANDARD
withdraws
(object) —amount
(string)fees
(string)
depositQueue
(object) —amount
(string)lastAmount
(string)isInstant
(boolean)
withdrawQueue
(object) —amount
(string)lastAmount
(string)isInstant
(boolean)
instantWithdraws
(object) —allowed
(boolean)delay
(number)amount
(string)aprDelta
(number)deadline
(string) — ISO 8601 datedisabled
(boolean)
createdAt
,updatedAt
(string) — ISO 8601 timestampscreatedBy
,updatedBy
(string) — Actor IDs
Endpoints
Last updated