YbEth
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
20
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "YbEth"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "YbEth"
ABI
ABI objects
Getter at block 21177036
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EXCHANGE_RATE_DECIMAL() view returns (uint8)
8
EXCHANGE_RATE_PRECISION() view returns (uint256)
100000000
MAX_UNBONDING_FEE() view returns (uint16)
1000
MAX_UNBONDING_PROCESSING_TIME() view returns (uint256)
604800
ROLE_BOT() view returns (bytes32)
0x5bf81cabe53ab1fac30c9f534a726d1efa4d39604cae6fbb7d5396c82ef5f5cf
ROLE_SLASHER() view returns (bytes32)
0x88ce96678e8eb55f90d01d2b0029590d4ab2a8433e2edc9b9683e338217a0592
UNBONDING_FEE_DENOMINATOR() view returns (uint256)
100000
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
currentUnbondingBatchNo() view returns (uint256)
0
decimals() view returns (uint8)
18
getUnbondRequestLength() view returns (uint256)
0
getUnbondUnlockDate() view returns (uint256)
1731479999
lastUnbondTime() view returns (uint256)
0
name() view returns (string)
paused() view returns (bool)
false
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
symbol() view returns (string)
totalEthToWithdraw() view returns (uint256)
0
totalPooledEth() view returns (uint256)
0
totalSupply() view returns (uint256)
0
treasury() view returns (address)
0x0000000000000000000000000000000000000000
unbondingFee() view returns (uint256)
0
unbondingProcessingTime() view returns (uint256)
0
upgradeDelay() view returns (uint256)
0
ybEthNft() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
batch2UnbondingStatus(uint256) view returns (uint8)
convertToAsset(uint256 shareAmount) view returns (uint256)
convertToAssetWithUnbondingFee(uint256 shareAmount) view returns (uint256 tokenAmt, uint256 unbondingFeeAmt)
convertToShare(uint256 tokenAmount) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getUnbondRequests(uint256 limit, uint256 offset) view returns (uint256[])
hasRole(bytes32 role, address account) view returns (bool)
implementationToUpgradeTime(address implementation) view returns (uint256)
isBlockListed(address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
token2UnbondRequest(uint256) view returns (uint128 unlockStartTime, uint128 unlockEndTime, uint256 shareAmount, uint256 exchangeRate, uint256 batchNo)
txnHash2AccrueRewardAmount(string) view returns (uint256)
validator2Time2AmountSlashed(string, uint256) view returns (uint256)
State-modifying
Events accrueReward(uint256 amount, string txnHash)
approve(address spender, uint256 value) returns (bool)
batchUnbond(uint256[] _tokenIds, address _receiver) returns (uint256)
blockList(address account)
deposit() payable
grantRole(bytes32 role, address account)
initialize(address _ybEthNft, address _treasury, uint256 _upgradeDelay, string _name, string _symbol, uint256 _unbondingProcessingTime)
pause()
pauseDueSlashing()
renounceRole(bytes32 role, address callerConfirmation)
requestUnbond(uint256 _shareAmount, address _receiver) returns (uint256)
revokeRole(bytes32 role, address account)
setTreasury(address _treasury)
setUnbondingBatchStatus(uint256 _batchNo, uint8 _status)
setUnbondingFee(uint256 _unbondingFee)
setUnbondingProcessingTime(uint256 _unbondingProcessingTime)
signalUpgrade(address implementation)
slash(string _validatorAddress, uint256 _amount, uint256 _time)
slashUnbondingRequests(uint256[] _tokenIds, uint256[] _newRates)
stake(address _receiver) payable returns (uint256)
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
unblockList(address account)
unbond(uint256 _tokenId, address _receiver) returns (uint256)
unpause()
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw(uint256 amount)
AccrueReward(uint256 indexed amount, string indexed txnHash)
Approval(address indexed owner, address indexed spender, uint256 value)
BlockListed(address account)
Deposit(uint256 amount)
Initialized(uint64 version)
Paused(address account)
RequestUnbond(address indexed receiver, uint256 indexed tokenId, uint256 shareAmount, uint256 zkEth2TokenExchangeRate, uint256 batchNo)
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)
SetTreasury(address oldTreasury, address newTreasury)
SetUnbondingBatchStatus(uint256 batchNo, uint8 status)
SetUnbondingFee(uint256 oldFee, uint256 newFee)
SetUnbondingMaxProcessingTime(uint256 oldUnbondingMaxProcessingDuration, uint256 newUnbondingMaxProcessingDuration)
SignalUpgrade(address arg0, uint256 arg1)
Slash(string indexed validatorAddress, uint256 indexed amount, uint256 time)
SlashRequest(uint256 tokenId, uint256 oldExchangeRate, uint256 newExchangeRate)
Stake(address indexed receiver, uint256 tokenAmount, uint256 shareAmount)
Transfer(address indexed from, address indexed to, uint256 value)
UnblockListed(address account)
Unbond(address indexed receiver, uint256 indexed tokenId, uint256 tokenAmount, uint256 tokenFeeAmount)
Unpaused(address account)
Upgraded(address indexed implementation)
Withdraw(uint256 amount)
constructor()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AccountBlockListed()
AccrueRecorded(string txnHash)
AddressEmptyCode(address target)
ArraysNotSameLength()
CanOnlyProcessCurrentBatch()
CannotSetPendingBotStatus()
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover(address approver)
ERC20InvalidReceiver(address receiver)
ERC20InvalidSender(address sender)
ERC20InvalidSpender(address spender)
EnforcedPause()
ExpectBatchInBondedStatus(uint256 batchNo)
ExpectBatchInPendingBotStatus(uint256 batchNo)
ExpectBatchInProcessingStatus(uint256 batchNo)
ExpectBatchInUnbondingStatus(uint256 batchNo)
ExpectPrevBatchInUnbondingOrUnbondedStatus(uint256 batchNo)
ExpectedPause()
FailedInnerCall()
FailedTransfer()
InsufficientShareBalance()
InvalidBatchNo()
InvalidInitialization()
InvalidNullValue()
InvalidUnbondingFee()
InvalidUnbondingProcessingTime()
InvalidWithdrawAmount(uint256 amount, uint256 maxAmount)
InvalidZeroAddress()
Max8Deicmals()
NewExchangeRateHigher(uint256 oldExchangeRate, uint256 newExchangeRate)
NewExchangeRateTooLow(uint256 oldExchangeRate, uint256 newExchangeRate)
NotInitializing()
NotOwnerOrApproved(uint256 tokenId)
NotSignaled()
ReentrancyGuardReentrantCall()
SlashRecorded(string validatorAddress, uint256 time)
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)
UnderDelay()