xDERP
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
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
Balances ($0.00)
No balances found for "xDERP"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "xDERP"
ABI
ABI objects
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 owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
pendingRedeemAmount(address) view returns (uint256)
redeemAmount(uint256 xDerpAmount, uint256 duration) view returns (uint256)
redeems(address, uint256) view returns (uint256 derpAmount, uint256 xDerpAmount, uint256 timestamp, uint256 endTime)
transferWhitelist(address) view returns (bool)
State-modifying
Events allocate(address to, uint256 tokenId, uint256 amount, uint256 duration, struct IYieldBoosterIncentiveKey key)
approve(address spender, uint256 amount) returns (bool)
changeAdmin(address newAdmin)
deAllocate(address to, uint256 tokenId, uint256 amount, struct IYieldBoosterIncentiveKey key)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
finalizeRedeem(uint256 redeemIndex)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address _DERP, uint256 _minRedeemRatio, uint256 _maxRedeemRatio, uint256 _minRedeemDuration, uint256 _maxRedeemDuration, address _admin, address _foundation)
redeem(uint256 xDerpAmount, uint256 duration)
setParams(uint256 _minRedeemRatio, uint256 _maxRedeemRatio, uint256 _minRedeemDuration, uint256 _maxRedeemDuration, address _foundation)
stake(uint256 amount)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
updateWhitelist(address to, bool value)
AdminChanged(address newAdmin, address oldAdmin)
Approval(address indexed owner, address indexed spender, uint256 value)
FinalizeRedeem(address user, uint256 redeemIndex, uint256 derpAmount, uint256 xDerpAmount)
Initialized(uint8 version)
ParamsUpdated(uint256 minRedeemRatio, uint256 maxRedeemRatio, uint256 minRedeemDuration, uint256 maxRedeemDuration, address foundation)
Redeem(address user, uint256 amount, uint256 duration, uint256 redeemIndex)
Stake(address user, uint256 amount)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
ALREADY_FINALIZED()
DURATION_NOT_ENDED()
DURATION_TOO_LOW()
INVALID_ALLOCATION_AMOUNT()
INVALID_DURATION()
NOT_WHITELISTED()
ONLY_ADMIN()