TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 232 txns
Deployed by via 0xdfe65337 at 15634059
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 $0.05
ERC-20
Value $0
ERC-20
--
 (#9)
ERC-1555
--
 (#2738)
ERC-721
--
0x037d2751b2756b3ced6cfd05a0321df82382ec0d6f949c9b7b28114c78511e3d
0x6841c8faa9cc271173504942a34df926e123138f059955ebc959bf459727471d
0x4e88e8625d12eba11906977c77d2d02e405f43c6d9ba74583ac0111b71459787
0x393bfedb595a2e68d0413e7faeee5b293d7e710ed2ad42778dcff33444c8e0bd
0xd6c286af3c3db20b3c4031edc0a14d87d0996ccbf164fa11fc5730b6e4d4eebf
0x000ac1a0eafbb48a3f3ae9783718e9181cd3729999f381ddab8d079b32e29d58
0x9c56d9b152b0e094ca17597224e6bb8caf713064c4761ff111b437e7205e19e0
0x4746616d78dc26976fa1337630f5d21539bd8aeca40676b08e6f3ec1f86cee1f
0x194744bb81a5ba21f478b20005666eced285df9e7236e71dcd3d38ee38272f81
0x250056759f99b226699c5a386a18188f79c894375dc61c63deb0d835d131451b

Functions
Getter at block 20867687
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
calculateAdditionalInterest(view returns (uint256)
505027425250840
getStrategies(view returns (address[])
[0x56e2547c851BDc5fC3A9D8E57dD62Ddf73DcA902, 0x2738afa1280795B1a17acad4749490C96dea6adF, 0x98D8Bc9ab7A1B12dc93eB83214D3dC91E8aAf129]
nftContract(view returns (address)
0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d
nftValueProvider(view returns (address)
0x5b9caa47a52e4bfbbce2f2a9f858c2a501b48c42
openPositionsIndexes(view returns (uint256[])
[7463, 3284, 6582, 2738]
 
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)
8714458788963936692
totalFeeCollected(view returns (uint256)
171032334769249333
totalPositions(view returns (uint256)
4
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(