rswETH

Verified contract

Proxy

Active on Ethereum with 116,450 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 $990.78
0x6c268472e09a16119caee1567ec5522e2570af5eb043a9e7e382dbf6be94ce9d
0xf95f5939c27dcd8fa612c2e04a40b3a71cd9f8dd9f831b3404fe840950476659
0xc045a9a9801bbe927e12b34ad16ea05ea75cc9cf7f0d7f6bcb3be5541ae0c64d
0x9bfc07e0cedfa118259aaf3507ad53a20fa3c9e9762acdea263c24d3c984f145
0x17318dd75587216ed7ba9ee863d55422843f20e822ba3eb8386c1f8c2febaf96
0x8d4a8abe3e88e4aac2df9bc675ffbb72ad689e6b55825dacb618ad6362b9bcb9
0xc61ab2b361134728c18f2cf3091006f6ecc0af3aedf6c1e79906fd58e1424bbe
0x06d6abc96dd0fe72c4c42b8e15102fde38045ec34c4c5fc97d791b7a9b5ec259
0xe7513d36ca544a97dec5724d8d7ec6085f9ecd0f1f48abc9d4b0c79f72e9d4f3
0xc8b8a9f7c173ea66d46fe487688a88daacb549431a608e590d5a7ad29666920f

Functions
Getter at block 20791880
AccessControlManager(view returns (address)
0x796592b2092f7e150c48643da19dd2f28be3333f
decimals(view returns (uint8)
18
ethToRswETHRate(view returns (uint256)
981666206296113547
getRate(view returns (uint256)
1018676199288820356
lastRepriceETHReserves(view returns (uint256)
101145822158419155504373
lastRepriceUNIX(view returns (uint256)
1726804331
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)
1018676199288820356
swellTreasuryRewardPercentage(view returns (uint256)
50000000000000000
symbol(view returns (string)
rswETH
totalETHDeposited(view returns (uint256)
140552776060065815474018
totalSupply(view returns (uint256)
99275373639068133901474
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(