swETH

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xfd3018a2 at 19365885
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

No balances found for "swETH"

No transactions found for "swETH"


Functions
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 owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
whitelistedAddresses(addressview returns (bool)
State-modifying
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
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(
Fallback and receive
fallback(
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(