SwapBoxInitializable

Verified contract

Active on Base with 1,238 txns
Deployed by via 0xd2aa5069 at 18470915
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional variables
ERC-20
Value $248,224.99
ERC-20
--
ERC-20
--
0xda3d20ecae0a67c8fbfaa812c0c2855f35f6803710c301904aa0fc88080254e0
0x6203c0201d8b66cc6a121deb912bc120902f1b270207c6e5f1239e4060fbe305
0xab84f94d546f9c68e3c9b18c6c25884b5a3429f196dd4f1450dab7fcdaf0bb19
0x9c1057d93ebd7f04e44ad271b2642804dac52c86654b3a8af67388aedb9a8331
0x8eb456a98148d881b3483b774548099a0538fcb00736d739c184d919010b51b2
0x943e2111913f76f441b503e229d2d10bd12ef3e161d63a51fd795c02708d6c01
0xc3538f9d388c3cbc44bb27e4286106c32cfb47136b8018e317c1c12b30aa0b3c
0xd0a5adbe1edd884d38a6f3ee9e162bcf8a3ccd329143d37cbd78f3b333b681d6
0x0117d2f3f94d483257270c9c58f14f1d1bce694d2f6d2033f75c069f4d70aacc
0x94d86e08f808d4528aa3fc9cbd0bdec34de66349cfb5f7dd4f798f491a04de91

Functions
Getter at block 22751974
MAXIMUM_WITHDRAWAL_INTERVAL(view returns (uint256)
62208000
PRECISION_FACTOR(view returns (uint256)
1000000000000
SWAP_BOX_FACTORY(view returns (address)
0x7c352a3249a607255baa52466d8325bf833d6ab2
accTokenPerShare(view returns (uint256)
95156581476
bonusEndBlock(view returns (uint256)
34239205
depositFee(view returns (uint256)
100
fees(view returns (uint256)
93682151514644397349956
hasHoldTokenLimit(view returns (bool)
false
hasMaxStakedLimit(view returns (bool)
false
hasMinDepositLimit(view returns (bool)
true
hasUserLimit(view returns (bool)
true
holdToken(view returns (address)
0x0000000000000000000000000000000000000000
isInitialized(view returns (bool)
true
lastRewardBlock(view returns (uint256)
22748558
maxStakedAmount(view returns (uint256)
0
minAmountToHold(view returns (uint256)
0
minDepositAmount(view returns (uint256)
250000000000000000000000
owner(view returns (address)
0x2b5dd9e9870b3b64f84d3c905c52561c2587b685
poolLimitPerUser(view returns (uint256)
10000000000000000000000000
rewardPerBlock(view returns (uint256)
1902587519025875196
rewardToken(view returns (address)
0xed899bfdb28c8ad65307fa40f4acab113ae2e14c
stakedToken(view returns (address)
0xed899bfdb28c8ad65307fa40f4acab113ae2e14c
stakedTokenTransferFee(view returns (uint16)
0
startBlock(view returns (uint256)
18471205
totalStaked(view returns (uint256)
101464123019812118798395434
withdrawalInterval(view returns (uint256)
0
Read-only
canWithdraw(address _userview returns (bool)
isExcludedFromDepositFee(address accountview returns (bool)
pendingReward(address _userview returns (uint256)
userInfo(addressview returns (uint256 amountuint256 rewardDebtuint256 nextWithdrawalUntil)
State-modifying
deposit(uint256 _amount
emergencyRewardWithdraw(uint256 _amount
emergencyWithdraw(
excludeFromFees(address userbool exclude
initialize(address _stakedTokenaddress _rewardTokenuint256 _rewardPerBlockuint256 _startBlockuint256 _bonusEndBlockuint256 _poolLimitPerUseruint16 _stakedTokenTransferFeeuint256 _depositFeeuint256 _withdrawalIntervaladdress _admin
recoverWrongTokens(address _tokenAddressuint256 _tokenAmount
renounceOwnership(
stopReward(
transferOwnership(address newOwner
updateDepositFee(uint256 _depositFee
updateMaxStakedAmount(bool _hasMaxStakedLimituint256 _maxStakedAmount
updateMinDepositAmount(bool _hasMinDepositLimituint256 _minDepositAmount
updateMinHoldTokenAmount(address _holdTokenbool _hasHoldTokenLimituint256 _minAmountToHold
updatePoolLimitPerUser(bool _hasUserLimituint256 _poolLimitPerUser
updateRewardPerBlock(uint256 _rewardPerBlock
updateStakedTokenTransferFee(uint16 _transferFee
updateStartAndEndBlocks(uint256 _startBlockuint256 _bonusEndBlock
updateWithdrawalInterval(uint256 _interval
withdraw(uint256 _amount
withdrawFees(
Events
AdminTokenRecovery(address tokenRecovereduint256 amount
Deposit(address indexed useruint256 amount
EmergencyWithdraw(address indexed useruint256 amount
NewDepositFee(uint256 depositFee
NewMaxStakedAmount(uint256 maxAmount
NewMinDepositAmount(uint256 maxAmount
NewMinHoldTokenBalance(uint256 maxAmount
NewPoolLimit(uint256 poolLimitPerUser
NewRewardPerBlock(uint256 rewardPerBlock
NewStakedTokenTransferFee(uint16 transferFee
NewStartAndEndBlocks(uint256 startBlockuint256 endBlock
NewWithdrawalInterval(uint256 interval
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardsStop(uint256 blockNumber
WhiteListAddress(address whiteListedAddressbool whitelisted
Withdraw(address indexed useruint256 amount
WithdrawFees(uint256 amount
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.