TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 372 txns
Deployed by via 0x24499296 at 15634067
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
 (#28737)
ERC-721
--
 (#7107)
ERC-721
--
0x1f032dc3f3b1c59b51332d8dc071f2700fcf6e37cf85b8ca96c7ce0afaaeb3bb
0xcdc3f83c4a335c857d3de0f9e298f5fefe4c063c11c84bbefb5574c9f61e76d9
0x8ad877636b771630d93ce0fefaf2878c659fc7538c4b9d655f7e48e2bf56a99e
0x9181d51d2b49c9465a8658cb3d904533258572c4e69ab16be6947412a9923631
0x2f015164b2245c99c554238b72f5c48131857ec2279c6f2ad54a2de6f412d02d
0xaf630d52d489b127e1efbe92a72e9e2bcab6e3e9e7d8cc27aacd41c3026cd6da
0x679c4a0214f0970fb9512d2f9ce66072ae2f5f8885dea40bf070b198a0fb0d49
0x9f2244ff42dc513d0fdf28794167db347492e1ae40a27e832c701614614f2afd
0x3e920e663a2d54675d3e7c281e952caa55b59e2dd339b954082defbb5c5d176f
0xcd97fd6e7be3b8ebacfdc1eac9001af9961e4faa92f69c56fa3c1883785ce63a

Functions
Getter at block 20864676
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
calculateAdditionalInterest(view returns (uint256)
7247738818337065
getStrategies(view returns (address[])
[0x6b2e47560CC810C2Dce3bf2C0Da4310eC0af8831, 0x2738afa1280795B1a17acad4749490C96dea6adF, 0xe837735D12709D6167d67c4f806F55fE2bb3AB19]
nftContract(view returns (address)
0x60e4d786628fea6478f785a6d7e704777c86a7c6
nftValueProvider(view returns (address)
0xded112453bd8ea88cdab214cfd92ab06e232e9d7
 
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)
1929910391167630041
totalFeeCollected(view returns (uint256)
35224623115422031
totalPositions(view returns (uint256)
17
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(