swETH

Verified contract

Proxy

Active on Ethereum with 465,135 txns
Deployed by via 0x9ad7d828 at 17030767
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 44 additional slots
-
variable spans 49 additional slots
-
variable spans 44 additional slots
2 additional variables
ERC-20
Value $3,442.89
ERC-20
Value $237.11
 (#25)
ERC-1555
--
 (#24)
ERC-1555
--
 (#23)
ERC-1555
--
 (#22)
ERC-1555
--
 (#21)
ERC-1555
--
 (#20)
ERC-1555
--
 (#19)
ERC-1555
--
 (#18)
ERC-1555
--
0x0cb5f2b493314a939a0abea9853eca937af7d31c47685bf5e10486e890174948
0x13dd669b4386c8d3655031e21edd471aa789045514f98925a3dd9ba8b86e0b9f
0x419c2f596814aa0c11f3b10211e3b74afab9c490aa605f113be4778fc1af4b68
0x4d3b365f7cfc054e10292b98be188ce6d8564ef72408deea813754d75cfc86a1
0x052a13b1e00009b30ae5f1a8684d8d93c0ca606c65949fa47d7538a31640e6d2
0x86b450dfe06036fce56241d8eb8a2c9ad527aafb2eedec995aa9499c6481b819
0x2787304caa7ddced8f48f9355ffa10957398478782497e1d9eff5b9bc62b8212
0xcc10002ec25e0f1bb6b9e62d73fb4e8048738a8c310b40622e1fefa6e9e6c2cf
0x11905cb1bf6ed4dbee0a25084145e0dda6ed81c19ce0be857f32d013b9c2e24d
0x9b5616745c23afefa699a79e31345a7a650693f54a73d176737de7117e7467a9

Functions
Getter at block 21243096
AccessControlManager(view returns (address)
0x625087d72c762254a72cb22cc2eca40da6b95eac
decimals(view returns (uint8)
18
ethToSwETHRate(view returns (uint256)
928705630706158801
getRate(view returns (uint256)
1076767456701679717
lastRepriceETHReserves(view returns (uint256)
90393137171160417027898
lastRepriceUNIX(view returns (uint256)
1732064075
maximumRepriceDifferencePercentage(view returns (uint256)
10000000000000000
maximumRepriceswETHDifferencePercentage(view returns (uint256)
100000000000000000
minimumRepriceTime(view returns (uint256)
3600
name(view returns (string)
swETH
nodeOperatorRewardPercentage(view returns (uint256)
50000000000000000
swETHToETHRate(view returns (uint256)
1076767456701679717
swellTreasuryRewardPercentage(view returns (uint256)
50000000000000000
symbol(view returns (string)
swETH
totalETHDeposited(view returns (uint256)
287779268973228004451271
totalSupply(view returns (uint256)
80943797081636274692728
whitelistEnabled(view returns (bool)
false
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
whitelistedAddresses(addressview returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addToWhitelist(address _address
approve(address spenderuint256 amountreturns (bool)
batchAddToWhitelist(address[] _addresses
batchRemoveFromWhitelist(address[] _addresses
burn(uint256 amount
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(payable 
depositWithReferral(address referralpayable 
disableWhitelist(
enableWhitelist(
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _accessControlManager
removeFromWhitelist(address _address
reprice(uint256 _preRewardETHReservesuint256 _newETHRewardsuint256 _swETHTotalSupply
setMaximumRepriceDifferencePercentage(uint256 _maximumRepriceDifferencePercentage
setMaximumRepriceswETHDifferencePercentage(uint256 _maximumRepriceswETHDifferencePercentage
setMinimumRepriceTime(uint256 _minimumRepriceTime
setNodeOperatorRewardPercentage(uint256 _newNodeOperatorRewardPercentage
setSwellTreasuryRewardPercentage(uint256 _newSwellTreasuryRewardPercentage
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
withdrawERC20(address _token
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AddedToWhitelist(address indexed _address
Approval(address indexed owneraddress indexed spenderuint256 value
ETHDepositReceived(address indexed fromuint256 amountuint256 swETHMinteduint256 newTotalETHDepositedaddress indexed referral
ETHWithdrawn(address indexed touint256 swETHBurneduint256 ethReturned
Initialized(uint8 version
MaximumRepriceDifferencePercentageUpdated(uint256 _oldMaximumRepriceDifferencePercentageuint256 _newMaximumRepriceDifferencePercentage
MaximumRepriceswETHDifferencePercentageUpdated(uint256 _oldMaximumRepriceswETHDifferencePercentageuint256 _newMaximumRepriceswETHDifferencePercentage
MinimumRepriceTimeUpdated(uint256 _oldMinimumRepriceTimeuint256 _newMinimumRepriceTime
NodeOperatorRewardPercentageUpdate(uint256 oldPercentageuint256 newPercentage
RemovedFromWhitelist(address indexed _address
Reprice(uint256 newEthReservesuint256 newSwETHToETHRateuint256 nodeOperatorRewardsuint256 swellTreasuryRewardsuint256 totalETHDeposited
SwellTreasuryRewardPercentageUpdate(uint256 oldPercentageuint256 newPercentage
Transfer(address indexed fromaddress indexed touint256 value
WhitelistDisabled(
WhitelistEnabled(
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
fallback(
receive(
Errors
AddressAlreadyInWhitelist(address _address
AddressMissingFromWhitelist(address _address
CannotBeZeroAddress(
CannotBurnZeroSwETH(
CannotReferSelf(
CannotRepriceWithZeroSwETHSupply(
CoreMethodsPaused(
InvalidETHDeposit(
InvalidMethodCall(
InvalidPreRewardETHReserves(
NoTokensToWithdraw(
NotEnoughTimeElapsedForReprice(uint256 remainingTime
NotInWhitelist(
PRBMath_MulDiv18_Overflow(uint256 xuint256 y
PRBMath_MulDiv_Overflow(uint256 xuint256 yuint256 denominator
RepriceDifferenceTooLarge(uint256 repriceDiffuint256 maximumRepriceDiff
RepriceswETHDifferenceTooLarge(uint256 repriceswETHDiffuint256 maximumswETHRepriceDiff
RewardPercentageTotalOverflow(
WhitelistAlreadyDisabled(
WhitelistAlreadyEnabled(