NFTValueProvider
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
5 additional
variables
Balances ($0.00)
No balances found for "NFTValueProvider"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NFTValueProvider"
ABI
ABI objects
Getter at block 20859016 getFloorETH() view returns (uint256)
BURN_ADDRESS() view returns (address)
0x000000000000000000000000000000000000dead
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
VAULT_ROLE() view returns (bytes32)
0x31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d959
aggregator() view returns (address)
0x0000000000000000000000000000000000000000
baseCreditLimitRate() view returns (uint128 numerator, uint128 denominator)
(numerator=0, denominator=0)
baseLiquidationLimitRate() view returns (uint128 numerator, uint128 denominator)
(numerator=0, denominator=0)
cigStakedRateIncrease() view returns (uint128 numerator, uint128 denominator)
(numerator=0, denominator=0)
cigStaking() view returns (address)
0x0000000000000000000000000000000000000000
creditLimitRateCap() view returns (uint128 numerator, uint128 denominator)
(numerator=0, denominator=0)
daoFloorOverride() view returns (bool)
false
jpeg() view returns (address)
0x0000000000000000000000000000000000000000
jpgdToken() view returns (address)
0x0000000000000000000000000000000000000000
jpgdTokenLockedMaxRateIncrease() view returns (uint128 numerator, uint128 denominator)
(numerator=0, denominator=0)
jpgdTokenOracle() view returns (address)
0x0000000000000000000000000000000000000000
liquidationLimitRateCap() view returns (uint128 numerator, uint128 denominator)
(numerator=0, denominator=0)
lockReleaseDelay() view returns (uint256)
0
ltvBoostLockRate() view returns (uint128 numerator, uint128 denominator)
(numerator=0, denominator=0)
minjpgdTokenToLock() view returns (uint256)
0
traitBoostLockRate() view returns (uint128 numerator, uint128 denominator)
(numerator=0, denominator=0)
Read-only
calculateLTVBoostLock(uint256 _jpgdTokenPrice, uint128 _rateIncreaseBps) view returns (uint256)
calculateTraitBoostLock(bytes32 _nftType, uint256 _jpgdTokenPrice) view returns (uint256)
getCreditLimitETH(address _owner, uint256 _nftIndex) view returns (uint256)
getCreditLimitRate(address _owner, uint256 _nftIndex) view returns (struct RateLibRate)
getLiquidationLimitETH(address _owner, uint256 _nftIndex) view returns (uint256)
getLiquidationLimitRate(address _owner, uint256 _nftIndex) view returns (struct RateLibRate)
getNFTValueETH(uint256 _nftIndex) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
ltvBoostPositions(uint256) view returns (address owner, uint256 unlockAt, uint256 lockedValue, bool isNewToken)
ltvBoostRateIncreases(uint256) view returns (uint128 numerator, uint128 denominator)
nftTypeValueMultiplier(bytes32) view returns (uint128 numerator, uint128 denominator)
nftTypes(uint256) view returns (bytes32)
supportsInterface(bytes4 interfaceId) view returns (bool)
traitBoostPositions(uint256) view returns (address owner, uint256 unlockAt, uint256 lockedValue, bool isNewToken)
State-modifying
Events applyLTVBoost(uint256[] _nftIndexes, uint128[] _rateIncreasesBps)
applyTraitBoost(uint256[] _nftIndexes)
cancelLTVBoostRelease(uint256[] _nftIndexes)
cancelTraitBoostRelease(uint256[] _nftIndexes)
disableFloorOverride()
finalizeUpgrade(address _jpgdToken, address _jpgdTokenOracle)
grantRole(bytes32 role, address account)
initialize(address _jpgdToken, address _jpgdTokenOracle, address _aggregator, address _cigStaking, struct NFTValueProviderRates _rates, uint256 _lockReleaseDelay)
onLiquidation(uint256 _nftIndex)
overrideFloor(uint256 _newFloor)
queueLTVBoostRelease(uint256[] _nftIndexes)
queueTraitBoostRelease(uint256[] _nftIndexes)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBaseCreditLimitRate(struct RateLibRate _baseCreditLimitRate)
setBaseLiquidationLimitRate(struct RateLibRate _liquidationLimitRate)
setCigStakedRateIncrease(struct RateLibRate _cigStakedRateIncrease)
setCreditLimitRateCap(struct RateLibRate _creditLimitRate)
setLTVBoostLockRate(struct RateLibRate _ltvBoostLockRate)
setLiquidationLimitRateCap(struct RateLibRate _liquidationLimitRate)
setNFTType(uint256[] _nftIndexes, bytes32 _type)
setNFTTypeMultiplier(bytes32 _type, struct RateLibRate _multiplier)
setTraitBoostLockRate(struct RateLibRate _traitBoostLockRate)
setjpgdTokenLockedMaxRateIncrease(struct RateLibRate _jpgdTokenLockedRateIncrease)
withdrawLTVBoost(uint256[] _nftIndexes)
withdrawTraitBoost(uint256[] _nftIndexes)
DaoFloorChanged(uint256 newFloor)
LTVBoost(address indexed owner, uint256 indexed index, uint256 amount, uint128 rateIncreaseBps)
LTVBoostLiquidated(address indexed owner, uint256 indexed index, uint256 amount)
LTVBoostReleaseCancelled(address indexed owner, uint256 indexed index)
LTVBoostReleaseQueued(address indexed owner, uint256 indexed index, uint256 unlockTime)
LTVBoostUnlock(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)
TraitBoost(address indexed owner, uint256 indexed index, uint256 amount)
TraitBoostLiquidated(address indexed owner, uint256 indexed index, uint256 amount)
TraitBoostReleaseCancelled(address indexed owner, uint256 indexed index)
TraitBoostReleaseQueued(address indexed owner, uint256 indexed index, uint256 unlockTime)
TraitBoostUnlock(address indexed owner, uint256 indexed index, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
InvalidAmount(uint256 amount)
InvalidLength()
InvalidNFTType(bytes32 nftType)
InvalidOracleResults()
InvalidRate()
LockExists(uint256 index)
Unauthorized()
ZeroAddress()