TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 298 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
0x466a…0a54
0x5f4e…8419
0xd0bf…7b90
0xbd35…2cf8
-
variable spans 10 additional slots
-
variable spans 1 additional slot
14 additional
variables
Balances ($2.01)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
BSKT | ERC-20 | 1M | $0.000002 |
$2.01 | |
0x5044…77ba | ERC-1555 | 1 | -- | -- | |
PPG | ERC-721 | 1 | -- | -- | |
PPG | ERC-721 | 1 | -- | -- | |
PPG | ERC-721 | 1 | -- | -- | |
OPENGU | ERC-721 | 1 | -- | -- | |
0xe592…7bc0 | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16523148 | 2 years ago | | | 0 | 0.0017766043 | |
| 16523145 | 2 years ago | | | 0 | 0.0018819802 | |
| 16523083 | 2 years ago | | | 0 | 0.0027239762 | |
| 16523076 | 2 years ago | | | 0 | 0.0023356856 | |
| 16523064 | 2 years ago | | | 0 | 0.0015694496 | |
| 16523060 | 2 years ago | | | 0 | 0.0015539205 | |
| 16523053 | 2 years ago | | | 0 | 0.0017503840 | |
| 16523048 | 2 years ago | | | 0 | 0.0015780447 | |
| 16523042 | 2 years ago | | | 0 | 0.0015900596 | |
| 16523022 | 2 years ago | | | 0 | 0.0018635916 |
ABI
ABI objects
Getter at block 21280337 settings() view returns (struct RateLibRate debtInterestApr, struct RateLibRate unused15, struct RateLibRate unused16, struct RateLibRate unused17, struct RateLibRate unused18, struct RateLibRate unused12, struct RateLibRate organizationFeeRate, struct RateLibRate insurancePurchaseRate, struct RateLibRate insuranceLiquidationPenaltyRate, uint256 insuranceRepurchaseTimeLimit, uint256 borrowAmountCap)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
calculateAdditionalInterest() view returns (uint256)
176833659361128687485
ethAggregator() view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
getStrategies() view returns (address[])
[]
nftContract() view returns (address)
0xbd3531da5cf5857e7cfaa92426877b022e612cf8
nftValueProvider() view returns (address)
0xd0bf9a40febdfca596fde589a343c6cda37a7b90
openPositionsIndexes() view returns (uint256[])
[786, 1105, 7966]
stablecoin() view returns (address)
0x466a756e9a7401b5e2444a3fcb3c2c12fbea0a54
totalDebtAmount() view returns (uint256)
21956639253922514243242
totalFeeCollected() view returns (uint256)
3740708038027898409532
totalPositions() view returns (uint256)
3
Read-only
getCreditLimit(address _owner, uint256 _nftIndex) view returns (uint256)
getDebtInterest(uint256 _nftIndex) view returns (uint256)
getLiquidationLimit(address _owner, uint256 _nftIndex) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
hasStrategy(address _strategy) view returns (bool)
isLiquidatable(uint256 _nftIndex) view returns (bool)
positionOwner(uint256) view returns (address)
positions(uint256) view returns (uint8 borrowType, uint256 debtPrincipal, uint256 debtPortion, uint256 debtAmountForRepurchase, uint256 liquidatedAt, address liquidator, address strategy)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
accrue()
addStrategy(address _strategy)
borrow(uint256 _nftIndex, uint256 _amount, bool _useInsurance)
claimExpiredInsuranceNFT(uint256 _nftIndex, address _recipient)
closePosition(uint256 _nftIndex)
collect()
depositInStrategy(uint256[] _nftIndexes, uint256 _strategyIndex, bytes _additionalData)
doActions(uint8[] _actions, bytes[] _data)
doActionsFor(address _account, uint8[] _actions, bytes[] _data)
finalizeUpgrade()
flashStrategyFromStandardStrategy(uint256[] _nftIndexes, uint256 _sourceStrategyIndex, uint256 _flashStrategyIndex, bytes _sourceStrategyData, bytes _flashStrategyData)
forceClosePosition(address _account, uint256 _nftIndex, address _recipient) returns (uint256)
grantRole(bytes32 role, address account)
importPosition(address _account, uint256 _nftIndex, uint256 _amount, bool _insurance, address _strategy)
initialize(address _stablecoin, address _nftContract, address _nftValueProvider, address _ethAggregator, struct NFTVaultVaultSettings _settings)
liquidate(uint256 _nftIndex, address _recipient)
removeStrategy(address _strategy)
renounceRole(bytes32 role, address account)
repay(uint256 _nftIndex, uint256 _amount)
repurchase(uint256 _nftIndex, uint256 _repayAmount)
rescueToken(address _token, uint256 _amount)
revokeRole(bytes32 role, address account)
setSettings(struct NFTVaultVaultSettings _settings)
withdrawFromStrategy(uint256[] _nftIndexes)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
Accrual(uint256 additionalInterest)
Borrowed(address indexed owner, uint256 indexed index, uint256 amount, bool insured)
FeeCollected(uint256 collectedAmount)
InsuranceExpired(address indexed owner, uint256 indexed index)
Liquidated(address indexed liquidator, address indexed owner, uint256 indexed index, bool insured)
LiquidationRepayment(address indexed owner, uint256 indexed index, uint256 repayAmount)
PositionClosed(address indexed owner, uint256 indexed index, bool forced)
PositionImported(address indexed owner, uint256 indexed index, uint256 amount, bool insured, address strategy)
PositionOpened(address indexed owner, uint256 indexed index)
Repaid(address indexed owner, uint256 indexed index, 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)
StrategyDeposit(uint256 indexed nftIndex, address indexed strategy, bool isStandard)
StrategyWithdrawal(uint256 indexed nftIndex, address indexed strategy)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
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()