rswETH

Verified contract

Proxy

Active on Ethereum with 128,206 txns
Deployed by via 0x0548d847 at 19088218
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 $1,291.24
0xa004f29e29749d59566d9d5003b7f3ebddd6537beff1ae36b8c728213eaccf82
0x0b0a0e1a0b060dccca75f78510d8004865f1993eba3128fef0c647f3e1e2a902
0xf3b9e6ed5e17bba89d4b58a32b0560a1f2cde5c0bb660c2fe29134fd5227c74c
0x12f6eac38992716367b39c87abdec42e021212ceaccafa9f930d0e3c085ca2e1
0x54d0c184e67f9ac0681333943725145f40219f144fd8a18e785778fb9c5d9f5d
0x542faf29febbbcd61fdcae5e5207c3785b727c806517729677815c47b3bd821a
0x502503760122503901a9122d348d6be2660d1bf1f71ec02bcc9932cb5d28f2ae
0x5d17fbf976b9aa57b84202d5a5a28012f708a79adc02d3d5911b2c35af688bbc
0xa08b482b71c8dc1b8032d0fa74bf51ae3dfebebfec7c07b5b956e2270662a64f
0xa6bfb9055c9e66e56d7a07374343b1560f42eb14377366fb3fcdbcb9208d4c31

Functions
Getter at block 21246410
AccessControlManager(view returns (address)
0x796592b2092f7e150c48643da19dd2f28be3333f
decimals(view returns (uint8)
18
ethToRswETHRate(view returns (uint256)
975817833198747635
getRate(view returns (uint256)
1024781435610766413
lastRepriceETHReserves(view returns (uint256)
70307497927153730162005
lastRepriceUNIX(view returns (uint256)
1732258175
maximumRepriceDifferencePercentage(view returns (uint256)
10000000000000000
maximumRepriceRswETHDifferencePercentage(view returns (uint256)
100000000000000000
minimumRepriceTime(view returns (uint256)
3600
name(view returns (string)
rswETH
nodeOperatorRewardPercentage(view returns (uint256)
50000000000000000
rswETHToETHRate(view returns (uint256)
1024781435610766413
swellTreasuryRewardPercentage(view returns (uint256)
50000000000000000
symbol(view returns (string)
rswETH
totalETHDeposited(view returns (uint256)
143204932441379836881836
totalSupply(view returns (uint256)
68452510556827397218065
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 
depositViaDepositManager(uint256 _amountaddress _touint256 _minRswETH
depositWithReferral(address referralpayable 
disableWhitelist(
enableWhitelist(
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _accessControlManager
removeFromWhitelist(address _address
reprice(uint256 _preRewardETHReservesuint256 _newETHRewardsuint256 _rswETHTotalSupply
setMaximumRepriceDifferencePercentage(uint256 _maximumRepriceDifferencePercentage
setMaximumRepriceRswETHDifferencePercentage(uint256 _maximumRepriceRswETHDifferencePercentage
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
DepoistManagerDeposit(address _receiveruint256 _ethSpentuint256 _rswETHReceived
ETHDepositReceived(address indexed fromuint256 amountuint256 rswETHMinteduint256 newTotalETHDepositedaddress indexed referral
ETHWithdrawn(address indexed touint256 rswETHBurneduint256 ethReturned
Initialized(uint8 version
MaximumRepriceDifferencePercentageUpdated(uint256 _oldMaximumRepriceDifferencePercentageuint256 _newMaximumRepriceDifferencePercentage
MaximumRepriceRswETHDifferencePercentageUpdated(uint256 _oldMaximumRepriceRswETHDifferencePercentageuint256 _newMaximumRepriceRswETHDifferencePercentage
MinimumRepriceTimeUpdated(uint256 _oldMinimumRepriceTimeuint256 _newMinimumRepriceTime
NodeOperatorRewardPercentageUpdate(uint256 oldPercentageuint256 newPercentage
RemovedFromWhitelist(address indexed _address
Reprice(uint256 newEthReservesuint256 newRswETHToETHRateuint256 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(
CannotBurnZeroRswETH(
CannotReferSelf(
CannotRepriceWithZeroRswETHSupply(
CoreMethodsPaused(
InsufficientRswETHReceived(uint256 rswETHAmountuint256 minRswETH
InvalidETHDeposit(
InvalidMethodCall(
InvalidPreRewardETHReserves(
NoTokensToWithdraw(
NotEnoughTimeElapsedForReprice(uint256 remainingTime
NotInWhitelist(
OnlyDepositManager(
PRBMath_MulDiv18_Overflow(uint256 xuint256 y
PRBMath_MulDiv_Overflow(uint256 xuint256 yuint256 denominator
RepriceDifferenceTooLarge(uint256 repriceDiffuint256 maximumRepriceDiff
RepriceRswETHDifferenceTooLarge(uint256 repriceRswETHDiffuint256 maximumRswETHRepriceDiff
RewardPercentageTotalOverflow(
WhitelistAlreadyDisabled(
WhitelistAlreadyEnabled(