TokenPool

Verified contract

Active on Ethereum with 47 txns
Deployed by via 0x52fcd751 at 18523401
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
ERC-20
Value $9,341.83
ERC-20
--
ERC-20
--
0x03de84537db600f70c14ce29474321a53c82c39554e9f321742ee18a9e301314
0x3d72f6fb94b714dad34a460ef37d715e71eda898f81a08d3835b394befc940bc
0x511474f60617e4910cf42a25472871c69cf068565b7db1eba0fb4aa708aedc5b
0x4ee0e949a0af868543ea0bf06330d8fd317a66f4f7d5956a34620ad85799db0a
0x402a3909f20584385a430a0c30e42e1964cabcaf8eb76b54c6ba3558253fde9b
0x4a37f8ce649f8d7c23acfabbfd77e912af0e09f71922438caf716d8a74a6ce52
0xe05638120071bd5731a970f3b97b097b512afd2f4cc742b46a9898276ad8efe3
0x6eee7bf42c878264384c4faa652fc1f54e3404c47155bdcd5c0bc7b9d578e5ba
0x4456160b78fcfd730f481eb93fd68212a5e40316341e27134fa9d3cda5b03bd2
0xda245ec2947739f65e9b29b4f0beb98ce11a4ad4299d2bc9092acc0c9b9d04ee

Functions
Getter at block 21382840
BOOST_WEIGHT(view returns (uint256)
20000000000000
BOOST_WEIGHT_LIMIT(view returns (uint256)
50000000000000
DURATION_FACTOR(view returns (uint256)
31536000
DURATION_FACTOR_OVERDUE(view returns (uint256)
7776000
FEE_RATE_SCALE(view returns (uint256)
10000
MAX_LOCK_DURATION(view returns (uint256)
31536000
MAX_LOCK_DURATION_LIMIT(view returns (uint256)
86400000
MAX_OVERDUE_FEE(view returns (uint256)
1000000000000
MAX_PERFORMANCE_FEE(view returns (uint256)
2000
MAX_WITHDRAW_FEE(view returns (uint256)
500
MAX_WITHDRAW_FEE_PERIOD(view returns (uint256)
604800
MIN_DEPOSIT_AMOUNT(view returns (uint256)
10000000000000
MIN_LOCK_DURATION(view returns (uint256)
604800
MIN_WITHDRAW_AMOUNT(view returns (uint256)
10000000000000
PRECISION_FACTOR(view returns (uint256)
1000000000000
PRECISION_FACTOR_SHARE(view returns (uint256)
10000000000000000000000000000
UNLOCK_FREE_DURATION(view returns (uint256)
1209600
admin(view returns (address)
0x95fe70a9449d1e8276040d29a4fdf63b94246288
available(view returns (uint256)
14337190486698918784123311
balanceOf(view returns (uint256)
241597131370129205398705533
bbc(view returns (address)
0x015628ce9150db1bce2fbb717a09e846f8a32436
bbcPoolPID(view returns (uint256)
0
 
calculateTotalPendingBBCRewards(view returns (uint256)
 
getPricePerFullShare(view returns (uint256)
masterchefV2(view returns (address)
0x3fefd06828689252a69207718985b9a78350561f
operator(view returns (address)
0x1d8ecef8fcaaa50f0326d9af768809a01aae61a9
overdueFee(view returns (uint256)
1000000000000
owner(view returns (address)
0x6d5fc6ac6e753f68d4f64cc7b605d925cf642d5e
paused(view returns (bool)
false
performanceFee(view returns (uint256)
200
token(view returns (address)
0x2de509bf0014ddf697b220be628213034d320ece
totalBoostDebt(view returns (uint256)
227259940883430286614582222
totalLockedAmount(view returns (uint256)
14049895135400030154730733
totalShares(view returns (uint256)
241597131370129205398705533
totalStakedAmount(view returns (uint256)
14337190486698918784123311
treasury(view returns (address)
0xb5c4d8671e03fba09d467c50fc51215b77ee5454
withdrawFee(view returns (uint256)
400
withdrawFeePeriod(view returns (uint256)
259200
Read-only
calculateOverdueFee(address _userview returns (uint256)
calculatePerformanceFee(address _userview returns (uint256)
calculateWithdrawFee(address _useruint256 _sharesview returns (uint256)
freeOverdueFeeUsers(addressview returns (bool)
freePerformanceFeeUsers(addressview returns (bool)
freeWithdrawFeeUsers(addressview returns (bool)
getProfit(address _userview returns (uint256)
userInfo(addressview returns (uint256 sharesuint256 lastDepositedTimeuint256 lastUserActionAmountuint256 lastUserActionTimeuint256 lockStartTimeuint256 lockEndTimeuint256 userBoostedSharebool lockeduint256 lockedAmount)
userRewardDebt(addressview returns (uint256)
userRewardPending(addressview returns (uint256)
State-modifying
claim(returns (uint256)
close(
deposit(uint256 _amountuint256 _lockDuration
inCaseTokensGetStuck(address _token
init(address dummyTokenuint256 amount
pause(
renounceOwnership(
setAdmin(address _admin
setBoostWeight(uint256 _boostWeight
setDurationFactor(uint256 _durationFactor
setDurationFactorOverdue(uint256 _durationFactorOverdue
setFreeOverdueFeeUser(address _userbool _free
setFreePerformanceFeeUser(address _userbool _free
setFreeWithdrawFeeUser(address _userbool _free
setMaxLockDuration(uint256 _maxLockDuration
setOperator(address _operator
setOverdueFee(uint256 _overdueFee
setPerformanceFee(uint256 _performanceFee
setTreasury(address _treasury
setUnlockFreeDuration(uint256 _unlockFreeDuration
setWithdrawFee(uint256 _withdrawFee
setWithdrawFeePeriod(uint256 _withdrawFeePeriod
transferOwnership(address newOwner
unlock(address _user
unpause(
withdraw(uint256 _shares
withdrawAll(
withdrawByAmount(uint256 _amount
Events
Deposit(address indexed senderuint256 amountuint256 sharesuint256 durationuint256 lastDepositedTime
FreeFeeUser(address indexed userbool indexed free
Harvest(address indexed senderuint256 amount
Init(
Lock(address indexed senderuint256 lockedAmountuint256 sharesuint256 lockedDurationuint256 blockTimestamp
NewAdmin(address admin
NewBoostWeight(uint256 boostWeight
NewDurationFactor(uint256 durationFactor
NewDurationFactorOverdue(uint256 durationFactorOverdue
NewMaxLockDuration(uint256 maxLockDuration
NewOperator(address operator
NewOverdueFee(uint256 overdueFee
NewPerformanceFee(uint256 performanceFee
NewTreasury(address treasury
NewUnlockFreeDuration(uint256 unlockFreeDuration
NewWithdrawFee(uint256 withdrawFee
NewWithdrawFeePeriod(uint256 withdrawFeePeriod
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Pause(
Paused(address account
Unlock(address indexed senderuint256 amountuint256 blockTimestamp
Unpause(
Unpaused(address account
Withdraw(address indexed senderuint256 amountuint256 shares
Constructor
constructor(address _tokenaddress _masterchefV2address _adminaddress _treasuryaddress _operatoruint256 _pid
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.