xDERP

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xd5fe0f36 at 6885506
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

No balances found for "xDERP"

No transactions found for "xDERP"


Functions
Getter at block 22013058
Derp(view returns (address)
0x0000000000000000000000000000000000000000
admin(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
18
foundation(view returns (address)
0x0000000000000000000000000000000000000000
maxRedeemDuration(view returns (uint256)
0
maxRedeemRatio(view returns (uint256)
0
minRedeemDuration(view returns (uint256)
0
minRedeemRatio(view returns (uint256)
0
name(view returns (string)
symbol(view returns (string)
totalSupply(view returns (uint256)
0
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(