General-WETH
Verified contract
Proxy
Active on
Ethereum with 698 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
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
0xcde0…9a71
-
variable spans 1 additional slot
0x377b…b140
0x781e…4fda
-
variable spans 4 additional slots
-
variable spans 4 additional slots
6 additional
variables
Balances ($8,758.97)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 2.404772 | $3,642.33 |
$8,758.97 | |
PELN | ERC-721 | 1 | -- | -- | |
PELN | ERC-721 | 1 | -- | -- | |
PELN | ERC-721 | 1 | -- | -- | |
PELN | ERC-721 | 1 | -- | -- | |
PELN | ERC-721 | 1 | -- | -- | |
PELN | ERC-721 | 1 | -- | -- | |
PELN | ERC-721 | 1 | -- | -- | |
PELN | ERC-721 | 1 | -- | -- | |
PELN | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20895768 | 2 months ago | | | 0 | 0.00071104996 | |
| 20599549 | 3 months ago | | | 0 | 0.00060769200 | |
| 20240920 | 5 months ago | | | 0 | 0.0021608213 | |
| 19503503 | 8 months ago | | | 0 | 0.0024265966 | |
| 19464021 | 8 months ago | | | 0 | 0.010864167 | |
| 19267367 | 9 months ago | | | 0 | 0.0061915881 | |
| 18723424 | a year ago | | | 0 | 0.014786167 | |
| 18526733 | a year ago | | | 0 | 0.0055092675 | |
| 18512291 | a year ago | | | 0 | 0.0062072860 | |
| 18254911 | a year ago | | | 0 | 0.0022490032 |
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=1019408790131910762, totalLoanBalance=0, totalAdminFeeBalance=0, totalWithdrawalBalance=1385363189776314446)
currencyToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
loanPriceOracle() view returns (address)
0xcde04b3f75616b2333fc2d51c0cce6ae89329a71
name() view returns (string)
General-WETH
paused() view returns (bool)
false
seniorTrancheRate() view returns (uint256)
1268391679
supportedNoteTokens() view returns (address[])
[0x5660E206496808F7b5cDB8C56A696a96AE5E9b23, 0x349A026A43FFA8e2Ab4c4e59FCAa93F87Bd8DdeE, 0x0E258c84Df0f8728ae4A6426EA5FD163Eb6b9D1B]
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)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
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(address beacon, bytes data)
fallback()
receive()
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()