TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 110 txns
Deployed by via 0x296e793e at 15818632
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 10 additional slots
-
variable spans 1 additional slot
13 additional variables
ERC-20
Value $3.75
 (#2)
ERC-1555
--
 (#7377)
ERC-721
--
 (#7086)
ERC-721
--
 (#7046)
ERC-721
--
 (#6616)
ERC-721
--
 (#6322)
ERC-721
--
 (#3900)
ERC-721
--
 (#3670)
ERC-721
--
 (#2852)
ERC-721
--
0xdf044e64f154de780f705f89fd47c9c967e13140234f51d3bd8804a16cbe69e0
0x00d05e9717938415c92e23fc505175ecad2f8536db6e0a0b69a520c9175b0c39
0x88c21176bb11449e24c4233e9e19865b5cd917c23d206d4938543246f65766e4
0xbfe04fb6ba5b09fd329a6503f1ee5136ec734b1c3239ab1c77cd45caadadd295
0xdc7a0b837449f36b1f17eadba1f0ab4b793efef01ae7b952677d974b9705c528
0x49735ec84e7282c6ab267277b2b07457c659767766c0c95de471ca7f4eac0d0e
0xb26e2ee604439889dccc0d2e3be78a4c547f1a4612edd2ce7d32b7580e09b395
0x414693d4646eed35728cf17db9acd9a8ed89fccbf00bd9049c8ba81dfc336fe8
0x1e54e9a5774aab350609816c36f132753ea414054d7b86002760fd88b7c46dd6
0x98a667e53dd5539589f268b083dd57d93a29a6a8825a3e93f9c1cd5ac8acea77

Functions
Getter at block 20884337
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
calculateAdditionalInterest(view returns (uint256)
284428054688457602
getStrategies(view returns (address[])
[]
nftContract(view returns (address)
0xbd3531da5cf5857e7cfaa92426877b022e612cf8
nftValueProvider(view returns (address)
0xd0bf9a40febdfca596fde589a343c6cda37a7b90
 
openPositionsIndexes(view returns (uint256[])
 
settings(view returns (struct RateLibRate debtInterestAprstruct RateLibRate unused15struct RateLibRate unused16struct RateLibRate unused17struct RateLibRate unused18struct RateLibRate unused12struct RateLibRate organizationFeeRatestruct RateLibRate insurancePurchaseRatestruct RateLibRate insuranceLiquidationPenaltyRateuint256 insuranceRepurchaseTimeLimituint256 borrowAmountCap)
stablecoin(view returns (address)
0x821a278dfff762c76410264303f25bf42e195c0c
totalDebtAmount(view returns (uint256)
20888579469071835994
totalFeeCollected(view returns (uint256)
122489080919451305
totalPositions(view returns (uint256)
11
Read-only
getCreditLimit(address _owneruint256 _nftIndexview returns (uint256)
getDebtInterest(uint256 _nftIndexview returns (uint256)
getLiquidationLimit(address _owneruint256 _nftIndexview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
hasStrategy(address _strategyview returns (bool)
isLiquidatable(uint256 _nftIndexview returns (bool)
positionOwner(uint256view returns (address)
positions(uint256view returns (uint8 borrowTypeuint256 debtPrincipaluint256 debtPortionuint256 debtAmountForRepurchaseuint256 liquidatedAtaddress liquidatoraddress strategy)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
accrue(
addStrategy(address _strategy
borrow(uint256 _nftIndexuint256 _amountbool _useInsurance
claimExpiredInsuranceNFT(uint256 _nftIndexaddress _recipient
closePosition(uint256 _nftIndex
collect(
depositInStrategy(uint256[] _nftIndexesuint256 _strategyIndexbytes _additionalData
doActions(uint8[] _actionsbytes[] _data
doActionsFor(address _accountuint8[] _actionsbytes[] _data
finalizeUpgrade(address _stablecoin
flashStrategyFromStandardStrategy(uint256[] _nftIndexesuint256 _sourceStrategyIndexuint256 _flashStrategyIndexbytes _sourceStrategyDatabytes _flashStrategyData
forceClosePosition(address _accountuint256 _nftIndexaddress _recipientreturns (uint256)
grantRole(bytes32 roleaddress account
importPosition(address _accountuint256 _nftIndexuint256 _amountbool _insuranceaddress _strategy
initialize(address _stablecoinaddress _nftContractaddress _nftValueProviderstruct PETHNFTVaultVaultSettings _settings
liquidate(uint256 _nftIndexaddress _recipient
removeStrategy(address _strategy
renounceRole(bytes32 roleaddress account
repay(uint256 _nftIndexuint256 _amount
repurchase(uint256 _nftIndexuint256 _repayAmount
rescueToken(address _tokenuint256 _amount
revokeRole(bytes32 roleaddress account
setSettings(struct PETHNFTVaultVaultSettings _settings
withdrawFromStrategy(uint256[] _nftIndexes
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
Accrual(uint256 additionalInterest
Borrowed(address indexed owneruint256 indexed indexuint256 amountbool insured
FeeCollected(uint256 collectedAmount
InsuranceExpired(address indexed owneruint256 indexed index
Liquidated(address indexed liquidatoraddress indexed owneruint256 indexed indexbool insured
LiquidationRepayment(address indexed owneruint256 indexed indexuint256 repayAmount
PositionClosed(address indexed owneruint256 indexed indexbool forced
PositionImported(address indexed owneruint256 indexed indexuint256 amountbool insuredaddress strategy
PositionOpened(address indexed owneruint256 indexed index
Repaid(address indexed owneruint256 indexed indexuint256 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
StrategyDeposit(uint256 indexed nftIndexaddress indexed strategybool isStandard
StrategyWithdrawal(uint256 indexed nftIndexaddress indexed strategy
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
DebtCapReached(
InvalidAmount(uint256 amount
InvalidInsuranceMode(
InvalidLength(
InvalidNFT(uint256 nftIndex
InvalidNFTType(bytes32 nftType
InvalidOracleResults(
InvalidPosition(uint256 nftIndex
InvalidRate(
InvalidStrategy(
InvalidUnlockTime(uint256 unlockTime
NoDebt(
NonZeroDebt(uint256 debtAmount
PositionInsuranceExpired(uint256 nftIndex
PositionInsuranceNotExpired(uint256 nftIndex
PositionLiquidated(uint256 nftIndex
Unauthorized(
UnknownAction(uint8 action
ZeroAddress(