Vault
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
16
Slot
XX
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
Balances ($0.00)
No balances found for "Vault"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Vault"
ABI
ABI objects
Getter at block 21283254
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 totalCashBalance, uint256 totalLoanBalance, uint256 totalAdminFeeBalance, uint256 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(bytes) view returns (bool, bytes)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
loanState(address noteToken, uint256 loanId) view returns (struct VaultStorageV1Loan)
lpToken(uint8 trancheId) view returns (address)
noteAdapters(address noteToken) view returns (address)
pendingLoans(uint64 timeBucket, address noteToken) view returns (uint256[])
priceNote(address noteToken, uint256 noteTokenId) view returns (uint256)
redemptionSharePrice(uint8 trancheId) view returns (uint256)
sharePrice(uint8 trancheId) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
trancheState(uint8 trancheId) view returns (uint256 realizedValue, uint256 estimatedValue, uint256 pendingRedemptions, uint256 redemptionQueue, uint256 processedRedemptionQueue, uint256 depositSharePrice, uint256 redemptionSharePrice_)
utilization(uint256 additionalLoanBalance) view returns (uint256)
State-modifying
Events deposit(uint8 trancheId, uint256 amount)
grantRole(bytes32 role, address account)
initialize(string name_, address currencyToken_, address loanPriceOracle_, address seniorLPToken_, address juniorLPToken_)
multicall(bytes[] data) returns (bytes[] results)
onCollateralLiquidated(address noteToken, uint256 loanId, uint256 proceeds)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
onLoanExpired(address noteToken, uint256 loanId)
onLoanRepaid(address noteToken, uint256 loanId)
pause()
performUpkeep(bytes performData)
redeem(uint8 trancheId, uint256 shares)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
sellNote(address noteToken, uint256 noteTokenId, uint256 minPurchasePrice) returns (uint256)
sellNoteAndDeposit(address noteToken, uint256 noteTokenId, uint256 minPurchasePrice, uint256[2] allocation) returns (uint256)
setAdminFeeRate(uint256 rate)
setLoanPriceOracle(address loanPriceOracle_)
setNoteAdapter(address noteToken, address noteAdapter)
setNoteSellerApproval(bool enabled)
setSeniorTrancheRate(uint256 rate)
unpause()
withdraw(uint8 trancheId, uint256 maxAmount)
withdrawAdminFees(address recipient, uint256 amount)
withdrawCollateral(address noteToken, uint256 loanId)
AdminFeeRateUpdated(uint256 rate)
AdminFeesWithdrawn(address indexed account, uint256 amount)
CollateralLiquidated(address indexed noteToken, uint256 indexed loanId, uint256[2] trancheReturns)
CollateralWithdrawn(address indexed noteToken, uint256 indexed loanId, address collateralToken, uint256 collateralTokenId, address collateralLiquidator)
Deposited(address indexed account, uint8 indexed trancheId, uint256 amount, uint256 shares)
LoanLiquidated(address indexed noteToken, uint256 indexed loanId, uint256[2] trancheLosses)
LoanPriceOracleUpdated(address loanPriceOracle)
LoanRepaid(address indexed noteToken, uint256 indexed loanId, uint256 adminFee, uint256[2] trancheReturns)
NoteAdapterUpdated(address indexed noteToken, address noteAdapter)
NotePurchased(address indexed account, address indexed noteToken, uint256 noteTokenId, uint256 indexed loanId, uint256 purchasePrice, uint256[2] trancheContributions)
NoteSellerApprovalUpdated(bool enabled)
Paused(address account)
Redeemed(address indexed account, uint8 indexed trancheId, uint256 shares, uint256 amount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SeniorTrancheRateUpdated(uint256 rate)
Unpaused(address account)
Withdrawn(address indexed account, uint8 indexed trancheId, uint256 amount)
constructor()
This contract contains no fallback and receive objects.
CallFailed()
InsolventTranche(uint8 trancheId)
InsufficientCashAvailable()
InterestRateTooLow()
InvalidAddress()
InvalidLoanStatus()
LoanNotExpired()
LoanNotRepaid()
PRBMathUD60x18__FromUintOverflow(uint256 x)
PRBMath__MulDivFixedPointOverflow(uint256 prod1)
PRBMath__MulDivOverflow(uint256 prod1, uint256 denominator)
ParameterOutOfBounds()
PurchasePriceTooHigh()
PurchasePriceTooLow()
UnsupportedNoteParameters()
UnsupportedNoteToken()
UnsupportedTokenDecimals()