TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 53 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 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
0x285d…6f0e
0xe80c…45a3
0xff92…d3b7
9 additional
variables
Balances ($128.09)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
JPEG | ERC-20 | 916.092479K | $0.00014 |
$128.09 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19611922 | 7 months ago | | | 0 | 0.011844833 | |
| 19315014 | 9 months ago | | | 0 | 0.014076243 | |
| 18381021 | a year ago | | | 0 | 0.0031649455 | |
| 18186460 | a year ago | | | 0 | 0.012504400 | |
| 18077676 | a year ago | | | 0 | 0.0016210523 | |
| 17982138 | a year ago | | | 0 | 0.0011477015 | |
| 17982132 | a year ago | | | 0 | 0.00062644209 | |
| 17973770 | a year ago | | | 0 | 0.0034285638 | |
| 17859622 | a year ago | | | 0 | 0.00083216324 | |
| 17806413 | a year ago | | | 0 | 0.0011936611 |
ABI
ABI objects
Getter at block 21220246
BURN_ADDRESS() view returns (address)
0x000000000000000000000000000000000000dead
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
VAULT_ROLE() view returns (bytes32)
0x31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d959
aggregator() view returns (address)
0x285dce453285596cd5d760e4527536560c9d6f0e
baseCreditLimitRate() view returns (uint128 numerator, uint128 denominator)
(numerator=40, denominator=100)
baseLiquidationLimitRate() view returns (uint128 numerator, uint128 denominator)
(numerator=50, denominator=100)
cigStakedRateIncrease() view returns (uint128 numerator, uint128 denominator)
(numerator=10, denominator=100)
cigStaking() view returns (address)
0xff9233825542977cd093e9ffb8f0fc526164d3b7
creditLimitRateCap() view returns (uint128 numerator, uint128 denominator)
(numerator=50, denominator=100)
daoFloorOverride() view returns (bool)
false
getFloorETH() view returns (uint256)
374799977932128000
jpeg() view returns (address)
0xe80c0cd204d654cebe8dd64a4857cab6be8345a3
jpgdToken() view returns (address)
0xce722f60f35c37ab295adc4e6ba45bcc7ca89dd6
jpgdTokenLockedMaxRateIncrease() view returns (uint128 numerator, uint128 denominator)
(numerator=1000, denominator=10000)
jpgdTokenOracle() view returns (address)
0x0b3e00da428ac129a2a243dc7d21cde6ab6444d2
liquidationLimitRateCap() view returns (uint128 numerator, uint128 denominator)
(numerator=60, denominator=100)
lockReleaseDelay() view returns (uint256)
604800
ltvBoostLockRate() view returns (uint128 numerator, uint128 denominator)
(numerator=20, denominator=100)
minjpgdTokenToLock() view returns (uint256)
1000000000000000000
traitBoostLockRate() view returns (uint128 numerator, uint128 denominator)
(numerator=35, denominator=1000)
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 admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
InvalidAmount(uint256 amount)
InvalidLength()
InvalidNFTType(bytes32 nftType)
InvalidOracleResults()
InvalidRate()
LockExists(uint256 index)
Unauthorized()
ZeroAddress()