YbEth

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x968876cc at 20331229
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "YbEth"

No transactions found for "YbEth"


Functions
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 owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
batch2UnbondingStatus(uint256view returns (uint8)
convertToAsset(uint256 shareAmountview returns (uint256)
convertToAssetWithUnbondingFee(uint256 shareAmountview returns (uint256 tokenAmtuint256 unbondingFeeAmt)
convertToShare(uint256 tokenAmountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getUnbondRequests(uint256 limituint256 offsetview returns (uint256[])
hasRole(bytes32 roleaddress accountview returns (bool)
implementationToUpgradeTime(address implementationview returns (uint256)
isBlockListed(address accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
token2UnbondRequest(uint256view returns (uint128 unlockStartTimeuint128 unlockEndTimeuint256 shareAmountuint256 exchangeRateuint256 batchNo)
txnHash2AccrueRewardAmount(stringview returns (uint256)
validator2Time2AmountSlashed(stringuint256view returns (uint256)
State-modifying
accrueReward(uint256 amountstring txnHash
approve(address spenderuint256 valuereturns (bool)
batchUnbond(uint256[] _tokenIdsaddress _receiverreturns (uint256)
blockList(address account
deposit(payable 
grantRole(bytes32 roleaddress account
initialize(address _ybEthNftaddress _treasuryuint256 _upgradeDelaystring _namestring _symboluint256 _unbondingProcessingTime
pause(
pauseDueSlashing(
renounceRole(bytes32 roleaddress callerConfirmation
requestUnbond(uint256 _shareAmountaddress _receiverreturns (uint256)
revokeRole(bytes32 roleaddress account
setTreasury(address _treasury
setUnbondingBatchStatus(uint256 _batchNouint8 _status
setUnbondingFee(uint256 _unbondingFee
setUnbondingProcessingTime(uint256 _unbondingProcessingTime
signalUpgrade(address implementation
slash(string _validatorAddressuint256 _amountuint256 _time
slashUnbondingRequests(uint256[] _tokenIdsuint256[] _newRates
stake(address _receiverpayable returns (uint256)
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
unblockList(address account
unbond(uint256 _tokenIdaddress _receiverreturns (uint256)
unpause(
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(uint256 amount
Events
AccrueReward(uint256 indexed amountstring indexed txnHash
Approval(address indexed owneraddress indexed spenderuint256 value
BlockListed(address account
Deposit(uint256 amount
Initialized(uint64 version
Paused(address account
RequestUnbond(address indexed receiveruint256 indexed tokenIduint256 shareAmountuint256 zkEth2TokenExchangeRateuint256 batchNo
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetTreasury(address oldTreasuryaddress newTreasury
SetUnbondingBatchStatus(uint256 batchNouint8 status
SetUnbondingFee(uint256 oldFeeuint256 newFee
SetUnbondingMaxProcessingTime(uint256 oldUnbondingMaxProcessingDurationuint256 newUnbondingMaxProcessingDuration
SignalUpgrade(address arg0uint256 arg1
Slash(string indexed validatorAddressuint256 indexed amountuint256 time
SlashRequest(uint256 tokenIduint256 oldExchangeRateuint256 newExchangeRate
Stake(address indexed receiveruint256 tokenAmountuint256 shareAmount
Transfer(address indexed fromaddress indexed touint256 value
UnblockListed(address account
Unbond(address indexed receiveruint256 indexed tokenIduint256 tokenAmountuint256 tokenFeeAmount
Unpaused(address account
Upgraded(address indexed implementation
Withdraw(uint256 amount
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AccountBlockListed(
AccrueRecorded(string txnHash
AddressEmptyCode(address target
ArraysNotSameLength(
CanOnlyProcessCurrentBatch(
CannotSetPendingBotStatus(
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 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 amountuint256 maxAmount
InvalidZeroAddress(
Max8Deicmals(
NewExchangeRateHigher(uint256 oldExchangeRateuint256 newExchangeRate
NewExchangeRateTooLow(uint256 oldExchangeRateuint256 newExchangeRate
NotInitializing(
NotOwnerOrApproved(uint256 tokenId
NotSignaled(
ReentrancyGuardReentrantCall(
SlashRecorded(string validatorAddressuint256 time
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
UnderDelay(