SureYieldSingleStakingBase

Verified contract

Active on Base with 459 txns
Deployed by via 0xbf539ac7 at 14804374
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $519.98
ERC-20
Value $0.05
ERC-20
Value $0.02
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xb37fc5f832e990314332494c45c0afff2a1f9391b74dc960dc43e98ab1f4ebc5
0xcf7b80ac3abb9f039328b2d6786fc4a825956f48edd1256faf3134ad520fed6d
0x92073a65490d1faa30dfc1e0758d558a8431f8b5d7baf0e784a974966a8e3999
0xa83224f04a4af05de0fce7394b6fba1da5461b86b9c53ba3970bec90623cb3a9
0xca97d5b83dfcf1ea4279eeeca5e391398852fb413b1a0adff0d5e9b7bd0a48f0
0x23ba1e8d76fe01b5ba2813d7f234b1abaf0df9f0567ed2b5df2710113b5a95b5
0x0d3005f2653c1786cd5dbdc493bf9da6225db432d4e900239ec11960062075c5
0xe25394fee57cc9ae1478e43686cded6d8337be9afa8569a41f60b4afcb643664
0x70f670c1c70c74beddcd04515b06cb5bec3dbf6272b715a52c20d8f76a458fab
0xaf48c3dfa36f1f125dcc396f4a185fd93e4ecf2777d167c07484485f276411cd

Functions
Getter at block 22431740
accInterestPerShare(view returns (uint256)
556971853667371161
allPoolsLength(view returns (uint256)
1
lastUsdcValue(view returns (uint256)
203818925
liquidReservePercent(view returns (uint256)
99
minStakeDuration(view returns (uint256)
86400
reservedWithdrawUsdc(view returns (uint256)
196215118
settingSetter(view returns (address)
0x8e583a90e3860da3295799407d3024f3f41ca408
stakingOpen(view returns (bool)
false
strategyContract(view returns (address)
0xae1834f1f4b1ca9339e46feb0c8373179cc6a934
totalInterestPaid(view returns (uint256)
12515456029
totalUsdcStaked(view returns (uint256)
888381921
totalWithdrawShares(view returns (uint256)
1143787524
usdcToken(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
Read-only
dailyStats(uint256view returns (uint256 usdcStakeduint256 usdcValueuint256 interestEarned)
getInterest(address _accountview returns (uint256)
getStatsForLastDays(uint256 numberOfDaysview returns (uint256[]uint256[]uint256[])
getUserStakes(address _accountview returns (address[] partnerTokensuint256[] amountTokensuint256[] amountUsdcsuint256[] amountShares)
pools(uint256view returns (address partnerTokenuint256 totalPartnerStakeduint256 totalUsdcStakedbool enabled)
userInfo(addressview returns (uint256 userAccInterestPerShareuint256 lastStakeTimeuint256 withdrawShares)
userStakes(addressaddressview returns (uint256 amountTokenuint256 amountUsdcuint256 withdrawShares)
State-modifying
addInterest(uint256 _amount
addPool(address _partnerToken
compoundInterest(uint256 _poolId
openStake(uint256 _amountUsdcuint256 _poolId
payEarnedInterest(
setLiquidReservePercent(uint256 _percent
setMinStakeDuration(uint256 _duration
setNewStrategy(address _strategy
setOnOffPool(uint256 _poolIdbool _enabled
setOnOffStaking(bool _enabled
transferOwnership(address newOwner
unstake(uint256 _poolIduint256 _percent
updateLastUsdcValue(uint256 _amount
Events
InterestCompounded(address indexed stakeruint256 poolIduint256 compoundedInterestUsdcuint256 newSharesAddeduint256 timestamp
InterestPaid(address indexed accountuint256 earningsuint256 timestamp
StakeOpened(address indexed stakeruint256 amountUsdcuint256 poolIdaddress partnerTokenuint256 sharesAddeduint256 timestamp
UnstakePerformed(address indexed stakeruint256 poolIduint256 percentUnstakeduint256 usdcReceiveduint256 sharesRemoveduint256 timestamp
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
FailedCall(
InsufficientBalance(uint256 balanceuint256 needed
SafeERC20FailedOperation(address token