Vault

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x61beff0d at 16721425
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 4 additional slots
-
variable spans 4 additional slots
2 additional variables

No balances found for "Vault"

No transactions found for "Vault"


Functions
Getter at block 21314820
COLLATERAL_LIQUIDATOR_ROLE(view returns (bytes32)
0xa335b259335fa3a9eb51356010ae22f26e6d67512a1f9cd4cb939b2a2350a82b
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EMERGENCY_ADMIN_ROLE(view returns (bytes32)
0x5c91514091af31f62f596a314af7d5be40146b2f2355969392f055e12e0982fb
IMPLEMENTATION_VERSION(view returns (string)
1.5
NOTE_SELLER_ROLE(view returns (bytes32)
0xe708fd762843c768f8212b72497e1c0f8f19f6490a59bcb0498eb8242d988737
SHARE_PRICE_PRORATION_BUCKETS(view returns (uint256)
14
TIME_BUCKET_DURATION(view returns (uint256)
604800
TOTAL_SHARE_PRICE_PRORATION_DURATION(view returns (uint256)
8467200
adminFeeRate(view returns (uint256)
0
balanceState(view returns (uint256 totalCashBalanceuint256 totalLoanBalanceuint256 totalAdminFeeBalanceuint256 totalWithdrawalBalance)
(totalCashBalance=0, totalLoanBalance=0, totalAdminFeeBalance=0, totalWithdrawalBalance=0)
currencyToken(view returns (address)
0x0000000000000000000000000000000000000000
loanPriceOracle(view returns (address)
0x0000000000000000000000000000000000000000
name(view returns (string)
paused(view returns (bool)
false
seniorTrancheRate(view returns (uint256)
0
supportedNoteTokens(view returns (address[])
[]
utilization(view returns (uint256)
0
Read-only
checkUpkeep(bytesview returns (boolbytes)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
loanState(address noteTokenuint256 loanIdview returns (struct VaultStorageV1Loan)
lpToken(uint8 trancheIdview returns (address)
noteAdapters(address noteTokenview returns (address)
pendingLoans(uint64 timeBucketaddress noteTokenview returns (uint256[])
priceNote(address noteTokenuint256 noteTokenIdview returns (uint256)
redemptionSharePrice(uint8 trancheIdview returns (uint256)
sharePrice(uint8 trancheIdview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
trancheState(uint8 trancheIdview returns (uint256 realizedValueuint256 estimatedValueuint256 pendingRedemptionsuint256 redemptionQueueuint256 processedRedemptionQueueuint256 depositSharePriceuint256 redemptionSharePrice_)
utilization(uint256 additionalLoanBalanceview returns (uint256)
State-modifying
deposit(uint8 trancheIduint256 amount
grantRole(bytes32 roleaddress account
initialize(string name_address currencyToken_address loanPriceOracle_address seniorLPToken_address juniorLPToken_
multicall(bytes[] datareturns (bytes[] results)
onCollateralLiquidated(address noteTokenuint256 loanIduint256 proceeds
onERC721Received(addressaddressuint256bytesreturns (bytes4)
onLoanExpired(address noteTokenuint256 loanId
onLoanRepaid(address noteTokenuint256 loanId
pause(
performUpkeep(bytes performData
redeem(uint8 trancheIduint256 shares
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sellNote(address noteTokenuint256 noteTokenIduint256 minPurchasePricereturns (uint256)
sellNoteAndDeposit(address noteTokenuint256 noteTokenIduint256 minPurchasePriceuint256[2] allocationreturns (uint256)
setAdminFeeRate(uint256 rate
setLoanPriceOracle(address loanPriceOracle_
setNoteAdapter(address noteTokenaddress noteAdapter
setNoteSellerApproval(bool enabled
setSeniorTrancheRate(uint256 rate
unpause(
withdraw(uint8 trancheIduint256 maxAmount
withdrawAdminFees(address recipientuint256 amount
withdrawCollateral(address noteTokenuint256 loanId
Events
AdminFeeRateUpdated(uint256 rate
AdminFeesWithdrawn(address indexed accountuint256 amount
CollateralLiquidated(address indexed noteTokenuint256 indexed loanIduint256[2] trancheReturns
CollateralWithdrawn(address indexed noteTokenuint256 indexed loanIdaddress collateralTokenuint256 collateralTokenIdaddress collateralLiquidator
Deposited(address indexed accountuint8 indexed trancheIduint256 amountuint256 shares
LoanLiquidated(address indexed noteTokenuint256 indexed loanIduint256[2] trancheLosses
LoanPriceOracleUpdated(address loanPriceOracle
LoanRepaid(address indexed noteTokenuint256 indexed loanIduint256 adminFeeuint256[2] trancheReturns
NoteAdapterUpdated(address indexed noteTokenaddress noteAdapter
NotePurchased(address indexed accountaddress indexed noteTokenuint256 noteTokenIduint256 indexed loanIduint256 purchasePriceuint256[2] trancheContributions
NoteSellerApprovalUpdated(bool enabled
Paused(address account
Redeemed(address indexed accountuint8 indexed trancheIduint256 sharesuint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SeniorTrancheRateUpdated(uint256 rate
Unpaused(address account
Withdrawn(address indexed accountuint8 indexed trancheIduint256 amount
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
CallFailed(
InsolventTranche(uint8 trancheId
InsufficientCashAvailable(
InterestRateTooLow(
InvalidAddress(
InvalidLoanStatus(
LoanNotExpired(
LoanNotRepaid(
PRBMathUD60x18__FromUintOverflow(uint256 x
PRBMath__MulDivFixedPointOverflow(uint256 prod1
PRBMath__MulDivOverflow(uint256 prod1uint256 denominator
ParameterOutOfBounds(
PurchasePriceTooHigh(
PurchasePriceTooLow(
UnsupportedNoteParameters(
UnsupportedNoteToken(
UnsupportedTokenDecimals(