Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables.

xDERP

Verified contract

Proxy

Active on Base with 1,650 txns
Deployed by via 0x4349e37f at 6885509
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 44 additional slots
ERC-20
Value $3,175.41
ERC-20
--
ERC-20
--
0x8ced8322c44202e030bb32e155e23a6f5c55fac5a2a2f508cad7dd64e82284c2
0xea9a8d00af523585ca998e2357b4b5d6418634ab7bf9954979d2bed91055237d
0xf5933a2e9007da9e0a2a8c91014409a6a37dbacfe65d81729ab638a13924913c
0xdf088c8952f43db5a042a6f2868c37c84fcb31a6c4cbafafff666eeff0572cf9
0x65615cbf7abe02aa0bfec03983c76dfcba72753a753faed001d2033041ca7581
0xf8f95c7ffef2008cb5be52c7bf6ae132e9b6d1334a92e25432a7d893502a7188
0x00c0701b0ede2e640e8643f7d74697afbfe280a0f2eb7033cb80094cca96308e
0xe3cba6ce4617c6cc0f0b6fe71537c8954d3c566dda317eab14b92b3b00d52e3f
0xc24d84598d1f9b4bec26518ba40cea5a2ac4710f8d026d0ef450c723f52f136d
0x6d4227fba9febd666942fb67c1b3d2405d45afc645809fc9f1c07424e4a3d9cb

Functions
Getter at block 22013058
Derp(view returns (address)
0xebb78043e29f4af24e6266a7d142f5a08443969e
admin(view returns (address)
0xa5cbf19baadd342789e94acd030862791a00a8f3
decimals(view returns (uint8)
18
foundation(view returns (address)
0x6685652b82241bc7c8002da31207929a6542d1cb
maxRedeemDuration(view returns (uint256)
8294400
maxRedeemRatio(view returns (uint256)
100
minRedeemDuration(view returns (uint256)
2073600
minRedeemRatio(view returns (uint256)
42
name(view returns (string)
xDERP
symbol(view returns (string)
xDERP
totalSupply(view returns (uint256)
1058471280997239827611467662414
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
pendingRedeemAmount(addressview returns (uint256)
redeemAmount(uint256 xDerpAmountuint256 durationview returns (uint256)
redeems(addressuint256view returns (uint256 derpAmountuint256 xDerpAmountuint256 timestampuint256 endTime)
transferWhitelist(addressview returns (bool)
State-modifying
allocate(address touint256 tokenIduint256 amountuint256 durationstruct IYieldBoosterIncentiveKey key
approve(address spenderuint256 amountreturns (bool)
changeAdmin(address newAdmin
deAllocate(address touint256 tokenIduint256 amountstruct IYieldBoosterIncentiveKey key
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
finalizeRedeem(uint256 redeemIndex
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _DERPuint256 _minRedeemRatiouint256 _maxRedeemRatiouint256 _minRedeemDurationuint256 _maxRedeemDurationaddress _adminaddress _foundation
redeem(uint256 xDerpAmountuint256 duration
setParams(uint256 _minRedeemRatiouint256 _maxRedeemRatiouint256 _minRedeemDurationuint256 _maxRedeemDurationaddress _foundation
stake(uint256 amount
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
updateWhitelist(address tobool value
Events
AdminChanged(address newAdminaddress oldAdmin
Approval(address indexed owneraddress indexed spenderuint256 value
FinalizeRedeem(address useruint256 redeemIndexuint256 derpAmountuint256 xDerpAmount
Initialized(uint8 version
ParamsUpdated(uint256 minRedeemRatiouint256 maxRedeemRatiouint256 minRedeemDurationuint256 maxRedeemDurationaddress foundation
Redeem(address useruint256 amountuint256 durationuint256 redeemIndex
Stake(address useruint256 amount
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
ALREADY_FINALIZED(
DURATION_NOT_ENDED(
DURATION_TOO_LOW(
INVALID_ALLOCATION_AMOUNT(
INVALID_DURATION(
NOT_WHITELISTED(
ONLY_ADMIN(