Stake Together Protocol

Verified contract

Proxy

Active on Ethereum with 964 txns
Deployed by via 0xd053e749 at 18679959
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 11 additional slots
7 additional variables
Native
Value $24,430.32
0x2449de5ad2c8c1517bee803c368e06519c698a87ed23b2349c98779095ce16d2
0xa2e97cbc78ff1b8c4d86f68345f82483a57a921f4982e0f258b1a08b7c3da790
0xe510b225584fa6707264c9f93f9459f41c720ae96e89b134a49093b491d6e7e4
0x68029dd51e8f6e7f581522d9cb57fda94860b2cc16613352186ef315ef2d94b2
0x1ba2781c506c3803607f1c9a1bff3624d8af20be9c3491261e192c8ab53e9276
0x873a2e1350a08b46db67c3848da263cca2145e4874f2e3c1ef1831625527dcbe
0x99a2215b92ec9532b2e657a95c940e25d79b2b420ab4b2882c9de47089cbbba4
0x5910a4b110fe3bef8e7951c170257e38c3d872b5286b15d0cbecedad5182465d
0x44e2dd7b213bf7a7d1d1382f81b3af1385c21d9c763df1e6456d5e584300e3ca
0x04dc5cfff574d7bce941c95f0c4e99e0d023659ab25528573fec1267467b1fe6

Functions
Getter at block 21194106
ADMIN_ROLE(view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
ANTI_FRAUD_MANAGER_ROLE(view returns (bytes32)
0x54f5fa3fbe05747e670128ef2b79b948460620ea3992e7fd9c4ff652cc82deb6
ANTI_FRAUD_SENTINEL_ROLE(view returns (bytes32)
0x93350e56e77530c4c3adffe989496c648c85b1171c82068c5dec82bc9deb532f
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0xed2d2e97db0e8b826835b3cbf1d83e38a5dba6e5b8b48d22a12b1d756d508a37
POOL_MANAGER_ROLE(view returns (bytes32)
0x6077685936c8169d09204a1d97db12e41713588c38e1d29a61867d3dcee98aff
UPGRADER_ROLE(view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
VALIDATOR_ORACLE_MANAGER_ROLE(view returns (bytes32)
0xe06ea5fb1a9d8d613e08b8f50cba89eefef698ab183e9c58c5040c4ee526ab71
VALIDATOR_ORACLE_ROLE(view returns (bytes32)
0x3b394600f9a9e5957a84f453f4142ea034b950b69711afc0c4ed772f1580df2c
VALIDATOR_ORACLE_SENTINEL_ROLE(view returns (bytes32)
0x4353b7b6368a0adaa5f872e5695b9055abd33653d52a39b1ef41543a0c1aac9a
airdrop(view returns (address)
0x0d6aa18d513de2173faf8618669ec072d23aa0ce
beaconBalance(view returns (uint256)
32000000000000000000
 
config(view returns (uint256 blocksPerDayuint256 depositLimituint256 maxDelegationsuint256 minDepositAmountuint256 minWithdrawAmountuint256 poolSizeuint256 validatorSizeuint256 withdrawalPoolLimituint256 withdrawalValidatorLimituint256 withdrawDelayuint256 withdrawBeaconDelaystruct IStakeTogetherFeature feature)
currentOracleIndex(view returns (uint256)
0
decimals(view returns (uint8)
18
deposit(view returns (address)
0x00000000219ab540356cbb839cbe05303d7705fa
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Stake Together Protocol, version=1, chainId=1, verifyingContract=0x218de5e6324c5351c3a2bf0c40d76f585b8de04d, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getFeesRoles(pure returns (uint8[4])
[0, 1, 2, 3]
lastResetBlock(view returns (uint256)
21185705
name(view returns (string)
Stake Together Protocol
paused(view returns (bool)
false
 
proxiableUUID(view returns (bytes32)
router(view returns (address)
0x315bac15cb13f77223900d970b507ecbbaa3c3c4
symbol(view returns (string)
stpETH
totalDeposited(view returns (uint256)
0
totalShares(view returns (uint256)
37951610750668998171
totalSupply(view returns (uint256)
40061854846330106199
totalWithdrawnPool(view returns (uint256)
1021249284270655772
totalWithdrawnValidator(view returns (uint256)
0
version(view returns (uint256)
4
withdrawBalance(view returns (uint256)
0
withdrawalCredentials(view returns (bytes)
0x010000000000000000000000315bac15cb13f77223900d970b507ecbbaa3c3c4
withdrawals(view returns (address)
0x1699d4fa4308cdbf4cc1eaac9626d4b78842fa27
Read-only
allowance(address _accountaddress _spenderview returns (uint256)
balanceOf(address _accountview returns (uint256)
getFee(uint8 _feeTypeview returns (uint256)
getFeeAddress(uint8 _roleview returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
getWithdrawBeaconBlock(address _accountview returns (uint256)
getWithdrawBlock(address _accountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isListedInAntiFraud(address _accountview returns (bool)
isValidatorOracle(address _accountview returns (bool)
nonces(address ownerview returns (uint256)
pools(addressview returns (bool)
shares(addressview returns (uint256)
sharesByWei(uint256 _amountview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
validators(bytesview returns (bool)
weiByShares(uint256 _sharesAmountview returns (uint256)
State-modifying
addPool(address _poolbool _listedbool _socialbool _indexpayable 
addToAntiFraud(address _account
addValidator(bytes _publicKeybytes _signaturebytes32 _depositDataRoot
addValidatorOracle(address _account
anticipateWithdrawBeacon(
approve(address _spenderuint256 _amountreturns (bool)
burn(uint256 value
burnFrom(address accountuint256 value
claimAirdrop(address _accountuint256 _sharesAmount
depositDonation(address _toaddress _poolbytes _referralpayable 
depositPool(address _poolbytes _referralpayable 
forceNextValidatorOracle(
grantRole(bytes32 roleaddress account
initializeV4(
pause(
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
processFeeRewards(uint256 _sharesAmountpayable 
removeFromAntiFraud(address _account
removePool(address _pool
removeValidatorOracle(address _account
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setBeaconBalance(uint256 _amountpayable 
setConfig(struct IStakeTogetherConfig _config
setFee(uint8 _feeTypeuint256 _valueuint256[] _allocations
setFeeAddress(uint8 _roleaddress _address
setWithdrawBalance(uint256 _amountpayable 
transfer(address _touint256 _amountreturns (bool)
transferFrom(address _fromaddress _touint256 _amountreturns (bool)
unpause(
updateDelegations(struct IStakeTogetherDelegation[] _delegations
upgradeToAndCall(address newImplementationbytes datapayable 
withdrawBeacon(uint256 _amountaddress _pool
withdrawPool(uint256 _amountaddress _pool
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AddPool(address indexed poolbool listedbool socialbool indexuint256 amount
AddValidator(address indexed oracleuint256 amountbytes publicKeybytes withdrawalCredentialsbytes signaturebytes32 depositDataRoot
AddValidatorOracle(address indexed account
AnticipateWithdrawBeacon(address indexed oracleuint256 amount
Approval(address indexed owneraddress indexed spenderuint256 value
BurnShares(address indexed accountuint256 sharesAmount
DepositBase(address indexed touint256 amountuint8 depositTypeaddress indexed poolbytes indexed referral
DepositLimitWasReached(address indexed senderuint256 amount
EIP712DomainChanged(
Initialized(uint64 version
MintFeeShares(address indexed touint256 sharesAmountuint8 indexed feeTypeuint8 indexed feeRole
MintShares(address indexed touint256 sharesAmount
NextValidatorOracle(uint256 indexaddress indexed account
Paused(address account
ProcessStakeRewards(uint256 indexed amountuint256 indexed sharesAmount
ProcessStakeValidator(address indexed accountuint256 amount
ReceiveEther(uint256 indexed amount
RemovePool(address indexed pool
RemoveValidatorOracle(address indexed account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetAntiFraudStatus(address indexed senderaddress indexed accountbool isListed
SetBeaconBalance(uint256 indexed amount
SetConfig(struct IStakeTogetherConfig indexed config
SetFee(uint8 indexed feeTypeuint256 valueuint256[] allocations
SetFeeAddress(uint8 indexed roleaddress indexed account
SetRouter(address indexed router
SetStakeTogether(address indexed stakeTogether
SetValidatorSize(uint256 indexed newValidatorSize
SetWithdrawBalance(uint256 indexed amount
SetWithdrawalsCredentials(bytes indexed withdrawalCredentials
Transfer(address indexed fromaddress indexed touint256 value
TransferShares(address indexed fromaddress indexed touint256 sharesAmount
Unpaused(address account
UpdateDelegations(address indexed accountstruct IStakeTogetherDelegation[] delegations
Upgraded(address indexed implementation
WithdrawBase(address indexed accountuint256 amountuint8 withdrawTypeaddress indexed pool
WithdrawalsLimitWasReached(address indexed senderuint256 amountuint8 withdrawType
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
receive(
receive(
Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
DepositLimitReached(
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC2612ExpiredSignature(uint256 deadline
ERC2612InvalidSigner(address signeraddress owner
EarlyTransfer(
EnforcedPause(
ExpectedPause(
FailedInnerCall(
FeatureDisabled(
FlashLoan(
InsufficientAccountBalance(
InsufficientAllowance(
InsufficientBeaconBalance(
InsufficientPoolBalance(
InsufficientShares(
InvalidAccountNonce(address accountuint256 currentNonce
InvalidInitialization(
InvalidLength(
InvalidSize(
InvalidSum(
InvalidTotalPercentage(
InvalidTotalSupply(
InvalidValue(
LessThanMinimumDeposit(
LessThanMinimumWithdraw(
ListedInAntiFraud(
MathOverflowedMulDiv(
MaxDelegations(
NotAuthorized(
NotEnoughBalanceOnPool(
NotEnoughPoolBalance(
NotInAntiFraudList(
NotInitializing(
NotIsCurrentValidatorOracle(
OnlyAirdrop(
OnlyRouter(
OnlyValidatorOracle(
PoolExists(
PoolNotFound(
ReentrancyGuardReentrantCall(
RouterAlreadyHaveBalance(
ShouldAnticipateWithdraw(
ShouldBeZeroLength(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
ValidatorExists(
ValidatorOracleExists(
ValidatorOracleNotFound(
WithdrawFromPool(
WithdrawZeroBalance(
WithdrawalsPoolLimitReached(
WithdrawalsValidatorLimitWasReached(
ZeroAddress(
ZeroAmount(
ZeroSupply(