TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 9 txns
Deployed by via 0x0f73b02d at 15818568
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
14 additional variables
ERC-20
--
ERC-20
--
 (#7336)
ERC-721
--
 (#5571)
ERC-721
--
 (#3764)
ERC-721
--
 (#3755)
ERC-721
--
0x6cff0be964ba714213c90eaa8fc086bf90c7cbeea45b3532ab56a130bd2d022d
0x96067af1cc750266bcb295dba7a0ae89b0c28b9d734262cb1157f459c1386fbc
0x42b3c88ba901e17700626d59a6b6b46abbb0406149ca2e50d03c399035a4e87a
0x9663aebff043139bc60ed89c7877e2e437837788e17b7c978ed69edbccd58dc5
0x13780ee28d11e1b7c25449d5fd6ff5af9141e5405024530fb233a5cf2525e2ee
0xb4d335abd10b4c0f565c718d0375afa28ff0f425dd603442de5f23e5b6b1486c
0x5e8e9f3227984ef9a5e58a5b4a16d6a090127c53d61361a885b0e2d2a463d2f9
0x0f4795fc02eb9401c104c28a0b6d91aa83ae17b507262a1f76be483baef75d7d
0xd1e6a4678c4a6adba89aab03e3271aafb8d1368552541440bd6935c8ec01ab29

Functions
Getter at block 20917032
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
calculateAdditionalInterest(view returns (uint256)
131016217062745661312
ethAggregator(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
getStrategies(view returns (address[])
[]
nftContract(view returns (address)
0xed5af388653567af2f388e6224dc7c4b3241c544
nftValueProvider(view returns (address)
0xcaa0aa80637262fd3ba6dd5b5598a2bafac27ce8
openPositionsIndexes(view returns (uint256[])
[5571, 7336, 3764, 3755]
 
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)
0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54
totalDebtAmount(view returns (uint256)
18577844240176956086271
totalFeeCollected(view returns (uint256)
440431722091655269801
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(
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 _nftValueProvideraddress _ethAggregatorstruct NFTVaultVaultSettings _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 NFTVaultVaultSettings _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(