TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 53 txns
Deployed by via 0xbc0ebfdf at 16890662
Slot
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
9 additional variables
ERC-20
Value $128.09
0xa2b4eafe454089396b84f78b67b5b6175b634abe82934afad00ecd75fd535b99
0x4d74a148663ba5e8aaae41cfb6983764e869436353da58366525f2dd04d960b3
0xa504e46d49f558c0e9429a8b421758db1cc27fd8d99b8056bcf0009167d4f7af
0x2ec9923d1835e9506f8bab3e744321c4f0f796cf7baf7cfa9687404df17afdd3
0xa4961ebd80cf6b3cc5bd37eda93f04dc2ab7a4ad4a4b98cefdaa450c9d975f72
0x4bee4432975c390b2e2d713fc9cee30438fc73f582b761bf01da4e78e9cb0f63
0x97fdf9825c6a4fbb045a6154e0c350a6260d5765022ccbe87b9dc32da1ac70e4
0x9d7e22ddb74165d0a7dc24de2fbfa0815df7f5df8d195bc3a6390ec8a83a2588
0x37ea11570e9cf3cd576aef19baa5495c2c06d510d46094e08a2d4c3333c80ff1
0x77a93f67ba1dc2d450e4e961a0a20dc0f357e42c436e216efc060a93fcc5f2a3

Functions
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 numeratoruint128 denominator)
(numerator=40, denominator=100)
baseLiquidationLimitRate(view returns (uint128 numeratoruint128 denominator)
(numerator=50, denominator=100)
cigStakedRateIncrease(view returns (uint128 numeratoruint128 denominator)
(numerator=10, denominator=100)
cigStaking(view returns (address)
0xff9233825542977cd093e9ffb8f0fc526164d3b7
creditLimitRateCap(view returns (uint128 numeratoruint128 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 numeratoruint128 denominator)
(numerator=1000, denominator=10000)
jpgdTokenOracle(view returns (address)
0x0b3e00da428ac129a2a243dc7d21cde6ab6444d2
liquidationLimitRateCap(view returns (uint128 numeratoruint128 denominator)
(numerator=60, denominator=100)
lockReleaseDelay(view returns (uint256)
604800
ltvBoostLockRate(view returns (uint128 numeratoruint128 denominator)
(numerator=20, denominator=100)
minjpgdTokenToLock(view returns (uint256)
1000000000000000000
traitBoostLockRate(view returns (uint128 numeratoruint128 denominator)
(numerator=35, denominator=1000)
Read-only
calculateLTVBoostLock(uint256 _jpgdTokenPriceuint128 _rateIncreaseBpsview returns (uint256)
calculateTraitBoostLock(bytes32 _nftTypeuint256 _jpgdTokenPriceview returns (uint256)
getCreditLimitETH(address _owneruint256 _nftIndexview returns (uint256)
getCreditLimitRate(address _owneruint256 _nftIndexview returns (struct RateLibRate)
getLiquidationLimitETH(address _owneruint256 _nftIndexview returns (uint256)
getLiquidationLimitRate(address _owneruint256 _nftIndexview returns (struct RateLibRate)
getNFTValueETH(uint256 _nftIndexview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
ltvBoostPositions(uint256view returns (address owneruint256 unlockAtuint256 lockedValuebool isNewToken)
ltvBoostRateIncreases(uint256view returns (uint128 numeratoruint128 denominator)
nftTypeValueMultiplier(bytes32view returns (uint128 numeratoruint128 denominator)
nftTypes(uint256view returns (bytes32)
supportsInterface(bytes4 interfaceIdview returns (bool)
traitBoostPositions(uint256view returns (address owneruint256 unlockAtuint256 lockedValuebool isNewToken)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
applyLTVBoost(uint256[] _nftIndexesuint128[] _rateIncreasesBps
applyTraitBoost(uint256[] _nftIndexes
cancelLTVBoostRelease(uint256[] _nftIndexes
cancelTraitBoostRelease(uint256[] _nftIndexes
disableFloorOverride(
finalizeUpgrade(address _jpgdTokenaddress _jpgdTokenOracle
grantRole(bytes32 roleaddress account
initialize(address _jpgdTokenaddress _jpgdTokenOracleaddress _aggregatoraddress _cigStakingstruct NFTValueProviderRates _ratesuint256 _lockReleaseDelay
onLiquidation(uint256 _nftIndex
overrideFloor(uint256 _newFloor
queueLTVBoostRelease(uint256[] _nftIndexes
queueTraitBoostRelease(uint256[] _nftIndexes
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress 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[] _nftIndexesbytes32 _type
setNFTTypeMultiplier(bytes32 _typestruct RateLibRate _multiplier
setTraitBoostLockRate(struct RateLibRate _traitBoostLockRate
setjpgdTokenLockedMaxRateIncrease(struct RateLibRate _jpgdTokenLockedRateIncrease
withdrawLTVBoost(uint256[] _nftIndexes
withdrawTraitBoost(uint256[] _nftIndexes
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
DaoFloorChanged(uint256 newFloor
LTVBoost(address indexed owneruint256 indexed indexuint256 amountuint128 rateIncreaseBps
LTVBoostLiquidated(address indexed owneruint256 indexed indexuint256 amount
LTVBoostReleaseCancelled(address indexed owneruint256 indexed index
LTVBoostReleaseQueued(address indexed owneruint256 indexed indexuint256 unlockTime
LTVBoostUnlock(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
TraitBoost(address indexed owneruint256 indexed indexuint256 amount
TraitBoostLiquidated(address indexed owneruint256 indexed indexuint256 amount
TraitBoostReleaseCancelled(address indexed owneruint256 indexed index
TraitBoostReleaseQueued(address indexed owneruint256 indexed indexuint256 unlockTime
TraitBoostUnlock(address indexed owneruint256 indexed indexuint256 amount
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
InvalidAmount(uint256 amount
InvalidLength(
InvalidNFTType(bytes32 nftType
InvalidOracleResults(
InvalidRate(
LockExists(uint256 index
Unauthorized(
ZeroAddress(