BaseVault
Solidity API
State Variables
BPS
uint256 public constant BPS = 10_000MANTISSA_ONE
uint256 public constant MANTISSA_ONE = 1e18YEAR
uint256 public constant YEAR = 365 days_config
_runtime
vaultController
pauseLevel
Functions
onlyController
whenNotPaused
whenNotCompletelyPaused
closeVault
partialPause
completePause
unpause
sweep
Name
Type
Description
updateVaultState
outstandingDebt
Name
Type
Description
config
Name
Type
Description
runtime
Name
Type
Description
state
Name
Type
Description
deposit
Name
Type
Description
Name
Type
Description
mint
Name
Type
Description
Name
Type
Description
withdraw
Name
Type
Description
Name
Type
Description
redeem
Name
Type
Description
Name
Type
Description
totalAssets
Name
Type
Description
maxDeposit
Name
Type
Description
maxMint
Name
Type
Description
Name
Type
Description
maxWithdraw
Name
Type
Description
Name
Type
Description
maxRedeem
Name
Type
Description
Name
Type
Description
Events
StateTransition
VaultClosed
SettlementConfirmed
ShortfallDetected
PSRNotificationFailed
RaisedFundsClaimed
Repaid
PauseLevelSet
TokensSwept
Errors
InvalidState
SameStateTransition
BelowMinimumDepositAmount
ExceedsMaxCap
Unauthorized
AlreadyWithdrawn
NoOutstandingDebt
ZeroRepayAmount
NothingToSweep
PartiallyPaused
CompletelyPaused
Last updated

