ShirtumStakeV2

Verified contract

Active on Ethereum with 415 txns
Deployed by via 0xb0df7405 at 14699023
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $8,910.51
0xf5329e08981218904d2cf0e307892150df3cc780db2093cf0fccd7e302531174
0x742d09a83df6fc332bf5a80e68af503d23fde8adf1d2df1c2b04bf6834dad408
0x798041da059459637ac86550e6a0bab2ddc41f20b5e89b9dec42beecf8cc6323
0x6560bd05b4d4fb771319ca96d508989a49c0d7887b8cc0a8e4109b7b205fd53b
0x4f3c6d722ab1d1b77ea83c1c5b778b63b1481dcbbf96a2a80ccbcb1d06db9b8b
0xce252ea9b57f1da850998f56ffe52f64263ece566ba99dcf566dd12c7dd2374e
0x8118ae8ec0c85b2effdc6f572dd6351e665eb0700c906a9b07f71363d221399b
0x7a833e013d352ca09990e6c380f740a8d025c9f650d7270894cf1bb6f955fd2f
0xcc5bbb0b4f5f70429c41ac400766ef7f4bfdfbd5537abdf5cf133d987c1f5137
0x12d64cffc97d44668a6d5ba9ff39666ff904ab0ff6e197645196dc123c75b78e

Functions
Getter at block 21280306
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OWNER_ROLE(view returns (bytes32)
0xb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
adminWidrawUnlockTime(view returns (uint256)
1683040154
availableRewards(view returns (uint256)
0
depositId(view returns (uint256)
211
 
getAllDepositIds(view returns (uint256[])
 
getAllLockingPeriodsDetails(view returns (string[] arr)
getAllLockingPeriodsIds(view returns (uint256[])
[0, 1, 2]
paused(view returns (bool)
true
periodsId(view returns (uint256)
3
restakeEnabled(view returns (bool)
false
token(view returns (address)
0xad996a45fd2373ed0b10efa4a8ecb9de445a4302
Read-only
allDepositIds(uint256view returns (uint256)
allPeriodsIds(uint256view returns (uint256)
balanceOf(address userview returns (uint256 balance)
calculateRewards(uint256 amountuint256 periodIdview returns (uint256 rewards)
depositsByAddress(addressuint256view returns (uint256)
getDepositDetails(uint256 _idview returns (address _useruint256 _amountuint256 _rewardsuint256 _totaluint256 _apruint256 _unlockTimebool _withdrawn)
getDepositsByAddress(address _addressview returns (uint256[])
getLockingPeriodsDetails(uint256 _idview returns (uint256 lockingTimeuint256 valuebool enabled)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
lockedDeposits(uint256view returns (address useruint256 amountuint256 rewardsuint256 totaluint256 apruint256 unlockTimebool withdrawn)
lockingPeriods(uint256view returns (uint256 lockingTimeuint256 valuebool enabled)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addLockingPeriod(uint256 lockingTimeuint256 intrestRate
adminWithdraw(uint256 amountaddress withdrawalWallet
grantRole(bytes32 roleaddress account
pause(
renounceRole(bytes32 roleaddress account
restake(uint256 _iduint256 periodId
revokeRole(bytes32 roleaddress account
stake(uint256 amountuint256 periodId
toggleLockingPeriodStatus(uint256 periodId
toggleRestakeEnabledStatus(
transferRewardFunds(uint256 amount
unpause(
updateLockingPeriod(uint256 periodIduint256 lockingTimeuint256 intrestRate
withdraw(uint256 _id
Events
Deposit(uint256 indexed depositIdaddress indexed useruint256 amountuint256 rewardsuint256 unlockTimeuint256 apr
Paused(address account
Restake(uint256 indexed depositIdaddress indexed user
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Withdraw(uint256 indexed depositIdaddress indexed useruint256 amount
Constructor
constructor(address _tokenuint256[] _lockingPeriodsuint256[] intrestRates
Fallback and receive
receive(
Errors

This contract contains no error objects.