swETH
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0000…0000
-
variable spans 44 additional slots
-
variable spans 49 additional slots
-
variable spans 44 additional slots
Balances ($0.00)
No balances found for "swETH"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "swETH"
ABI
ABI objects
Getter at block 21243096
AccessControlManager() view returns (address)
0x0000000000000000000000000000000000000000
decimals() view returns (uint8)
18
ethToSwETHRate() view returns (uint256)
1000000000000000000
getRate() view returns (uint256)
1000000000000000000
lastRepriceETHReserves() view returns (uint256)
0
lastRepriceUNIX() view returns (uint256)
0
maximumRepriceDifferencePercentage() view returns (uint256)
0
maximumRepriceswETHDifferencePercentage() view returns (uint256)
0
minimumRepriceTime() view returns (uint256)
0
name() view returns (string)
nodeOperatorRewardPercentage() view returns (uint256)
0
swETHToETHRate() view returns (uint256)
1000000000000000000
swellTreasuryRewardPercentage() view returns (uint256)
0
symbol() view returns (string)
totalETHDeposited() view returns (uint256)
0
totalSupply() view returns (uint256)
0
whitelistEnabled() view returns (bool)
false
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
whitelistedAddresses(address) view returns (bool)
State-modifying
Events addToWhitelist(address _address)
approve(address spender, uint256 amount) returns (bool)
batchAddToWhitelist(address[] _addresses)
batchRemoveFromWhitelist(address[] _addresses)
burn(uint256 amount)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit() payable
depositWithReferral(address referral) payable
disableWhitelist()
enableWhitelist()
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address _accessControlManager)
removeFromWhitelist(address _address)
reprice(uint256 _preRewardETHReserves, uint256 _newETHRewards, uint256 _swETHTotalSupply)
setMaximumRepriceDifferencePercentage(uint256 _maximumRepriceDifferencePercentage)
setMaximumRepriceswETHDifferencePercentage(uint256 _maximumRepriceswETHDifferencePercentage)
setMinimumRepriceTime(uint256 _minimumRepriceTime)
setNodeOperatorRewardPercentage(uint256 _newNodeOperatorRewardPercentage)
setSwellTreasuryRewardPercentage(uint256 _newSwellTreasuryRewardPercentage)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
withdrawERC20(address _token)
AddedToWhitelist(address indexed _address)
Approval(address indexed owner, address indexed spender, uint256 value)
ETHDepositReceived(address indexed from, uint256 amount, uint256 swETHMinted, uint256 newTotalETHDeposited, address indexed referral)
ETHWithdrawn(address indexed to, uint256 swETHBurned, uint256 ethReturned)
Initialized(uint8 version)
MaximumRepriceDifferencePercentageUpdated(uint256 _oldMaximumRepriceDifferencePercentage, uint256 _newMaximumRepriceDifferencePercentage)
MaximumRepriceswETHDifferencePercentageUpdated(uint256 _oldMaximumRepriceswETHDifferencePercentage, uint256 _newMaximumRepriceswETHDifferencePercentage)
MinimumRepriceTimeUpdated(uint256 _oldMinimumRepriceTime, uint256 _newMinimumRepriceTime)
NodeOperatorRewardPercentageUpdate(uint256 oldPercentage, uint256 newPercentage)
RemovedFromWhitelist(address indexed _address)
Reprice(uint256 newEthReserves, uint256 newSwETHToETHRate, uint256 nodeOperatorRewards, uint256 swellTreasuryRewards, uint256 totalETHDeposited)
SwellTreasuryRewardPercentageUpdate(uint256 oldPercentage, uint256 newPercentage)
Transfer(address indexed from, address indexed to, uint256 value)
WhitelistDisabled()
WhitelistEnabled()
constructor()
fallback()
AddressAlreadyInWhitelist(address _address)
AddressMissingFromWhitelist(address _address)
CannotBeZeroAddress()
CannotBurnZeroSwETH()
CannotReferSelf()
CannotRepriceWithZeroSwETHSupply()
CoreMethodsPaused()
InvalidETHDeposit()
InvalidMethodCall()
InvalidPreRewardETHReserves()
NoTokensToWithdraw()
NotEnoughTimeElapsedForReprice(uint256 remainingTime)
NotInWhitelist()
PRBMath_MulDiv18_Overflow(uint256 x, uint256 y)
PRBMath_MulDiv_Overflow(uint256 x, uint256 y, uint256 denominator)
RepriceDifferenceTooLarge(uint256 repriceDiff, uint256 maximumRepriceDiff)
RepriceswETHDifferenceTooLarge(uint256 repriceswETHDiff, uint256 maximumswETHRepriceDiff)
RewardPercentageTotalOverflow()
WhitelistAlreadyDisabled()
WhitelistAlreadyEnabled()