TokensFarm

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x34cb8867 at 14177567
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
10 additional variables

No balances found for "TokensFarm"

No transactions found for "TokensFarm"


Functions
Getter at block 21265488
accERC20PerShare(view returns (uint256)
0
endTime(view returns (uint256)
0
erc20(view returns (address)
0x0000000000000000000000000000000000000000
farmImplementation(view returns (address)
0x0000000000000000000000000000000000000000
feeCollector(view returns (address)
0x0000000000000000000000000000000000000000
flatFeeAmount(view returns (uint256)
0
getTotalRewardsLockedUnlocked(view returns (uint256uint256)
(0, 0)
isEarlyWithdrawAllowed(view returns (bool)
false
isFlatFeeAllowed(view returns (bool)
false
lastRewardTime(view returns (uint256)
0
minTimeToStake(view returns (uint256)
0
noOfUsers(view returns (uint256)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
paidOut(view returns (uint256)
0
penalty(view returns (uint8)
0
rewardFeePercent(view returns (uint256)
0
rewardPerSecond(view returns (uint256)
0
stakeFeePercent(view returns (uint256)
0
startTime(view returns (uint256)
0
tokenStaked(view returns (address)
0x0000000000000000000000000000000000000000
totalDeposits(view returns (uint256)
0
totalFeeCollectedETH(view returns (uint256)
0
totalFeeCollectedTokens(view returns (uint256)
0
totalFundedRewards(view returns (uint256)
0
totalPending(view returns (uint256)
0
totalRewards(view returns (uint256)
0
totalTokensBurned(view returns (uint256)
0
Read-only
depositTimestamp(address _useruint256 stakeIdview returns (uint256)
deposited(address _useruint256 stakeIdview returns (uint256)
getNumberOfUserStakes(address userview returns (uint256)
getUserStakesAndPendingAmounts(address userview returns (uint256[]uint256[]uint256[])
id(addressview returns (uint256)
participants(uint256view returns (address)
pending(address _useruint256 stakeIdview returns (uint256)
stakeInfo(addressuint256view returns (uint256 amountuint256 rewardDebtuint256 depositTimeuint256 withdrawTimeaddress addressOfUser)
withdrawTimestamp(address _useruint256 stakeIdview returns (uint256)
State-modifying
deposit(uint256 _amountpayable 
emergencyWithdraw(uint256 stakeId
fund(uint256 _amount
initialize(address _erc20uint256 _rewardPerSeconduint256 _startTimeuint256 _minTimeToStakebool _isEarlyWithdrawAlloweduint256 _penaltyaddress _tokenStakeduint256 _stakeFeePercentuint256 _rewardFeePercentuint256 _flatFeeAmountaddress _feeCollectorbool _isFlatFeeAllowedaddress _farmImplementation
renounceOwnership(
setFeeCollector(address _feeCollector
setFlatFeeAmount(uint256 _flatFeeAmount
setIsEarlyWithdrawAllowed(bool _isEarlyWithdrawAllowed
setIsFlatFeeAllowed(bool _isFlatFeeAllowed
setMinTimeToStake(uint256 _minTimeToStake
setRewardFeePercent(uint256 _rewardFeePercent
setStakeFeePercent(uint256 _stakeFeePercent
transferOwnership(address newOwner
updatePool(
withdraw(uint256 _amountuint256 stakeIdpayable 
withdrawCollectedFeesERC(
withdrawCollectedFeesETH(
withdrawTokensIfStuck(address _erc20uint256 _amountaddress _beneficiary
Events
Deposit(address indexed useruint256 indexed stakeIduint256 indexed amount
EarlyWithdrawPenaltySet(uint8 indexed penalty
EmergencyWithdraw(address indexed useruint256 indexed stakeIduint256 indexed amount
FeeCollectorSet(address indexed feeCollector
FlatFeeAmountSet(uint256 indexed flatFeeAmount
IsEarlyWithdrawAllowedSet(bool indexed allowed
IsFlatFeeAllowedSet(bool indexed allowed
MinTimeToStakeSet(uint256 indexed minTimeToStake
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RewardFeePercentSet(uint256 indexed rewardFeePercent
StakeFeePercentSet(uint256 indexed stakeFeePercent
Withdraw(address indexed useruint256 indexed stakeIduint256 indexed amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.