FarmingRange

Verified contract

Active on Ethereum with 4,771 txns
Deployed by via 0x282f49b2 at 17711694
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $18,095,555.12
ERC-20
Value $662,372.46
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x38cec4da3e12442366d167c53fa58a7e2492433100c933838231014ac09e4ec3
0xbf2e0ff60f79eb6c970c42358509d3f2d72fad9d668477be8a47a6d938297947
0x180c97e99e316e4157adc8274335dbddf397e00a72c0708eb591539612dc081d
0x54a674f8ac4034e3b9db45474ba9123c186d42d81b494a49c6639e1a6762aba4
0xd83e73520736391a93b8e9545c699ab6025b9446cfb94d850a06b5ee64324c55
0x8c4ae4542c49ccbbdf3396ecc7c74bfda14682024a78185812423e7f302f6656
0xb871eaf4fd4d7b7780777828500d56e05302c8c5e140a34bd62778d7365577d4
0x3a6822130f1371cc0dc987e4bf60f15669ac1a003247f6c897881b7208072e43
0x7a23f901af98a69094ff6a907a49b97c134411e0039372106205747188499507
0xab3c59b05f5f683cce774a1abbdfa491b44e3430f48e7d90b3326e162806cf08

Functions
Getter at block 21246730
campaignInfoLen(view returns (uint256)
20
owner(view returns (address)
0x1e3e1128f6bc2264a19d7a065982696d356879c5
rewardInfoLimit(view returns (uint256)
52
rewardManager(view returns (address)
0xc049c7fe5eaa024095861212bd8a8e8df88a2b1f
Read-only
campaignInfo(uint256view returns (address stakingTokenaddress rewardTokenuint256 startBlockuint256 lastRewardBlockuint256 accRewardPerShareuint256 totalStakeduint256 totalRewards)
campaignRewardInfo(uint256uint256view returns (uint256 endBlockuint256 rewardPerBlock)
currentEndBlock(uint256 _campaignIDview returns (uint256)
currentRewardPerBlock(uint256 _campaignIDview returns (uint256)
getMultiplier(uint256 _fromuint256 _touint256 _endBlockpure returns (uint256)
pendingReward(uint256 _campaignIDaddress _userview returns (uint256)
rewardInfoLen(uint256 _campaignIDview returns (uint256)
userInfo(uint256addressview returns (uint256 amountuint256 rewardDebt)
State-modifying
addCampaignInfo(address _stakingTokenaddress _rewardTokenuint256 _startBlock
addRewardInfo(uint256 _campaignIDuint256 _endBlockuint256 _rewardPerBlock
addRewardInfoMultiple(uint256 _campaignIDuint256[] _endBlockuint256[] _rewardPerBlock
attemptTransfer(address _tokenaddress _fromaddress _touint256 _amount
deposit(uint256 _campaignIDuint256 _amount
depositWithPermit(uint256 _campaignIDuint256 _amountbool _approveMaxuint256 _deadlineuint8 _vbytes32 _rbytes32 _s
emergencyWithdraw(uint256 _campaignID
harvest(uint256[] _campaignIDs
massUpdateCampaigns(
removeLastRewardInfo(uint256 _campaignID
renounceOwnership(
setRewardInfoLimit(uint256 _updatedRewardInfoLimit
transferOwnership(address newOwner
updateCampaign(uint256 _campaignID
updateCampaignsRewards(uint256[] _campaignIDuint256[][] _rewardIndexuint256[][] _endBlockuint256[][] _rewardPerBlock
updateRewardInfo(uint256 _campaignIDuint256 _rewardIndexuint256 _endBlockuint256 _rewardPerBlock
updateRewardMultiple(uint256 _campaignIDuint256[] _rewardIndexuint256[] _endBlockuint256[] _rewardPerBlock
withdraw(uint256 _campaignIDuint256 _amount
Events
AddCampaignInfo(uint256 indexed campaignIDaddress stakingTokenaddress rewardTokenuint256 startBlock
AddRewardInfo(uint256 indexed campaignIDuint256 indexed phaseuint256 endBlockuint256 rewardPerBlock
Deposit(address indexed useruint256 amountuint256 campaign
EmergencyWithdraw(address indexed useruint256 amountuint256 campaign
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RemoveRewardInfo(uint256 indexed campaignIDuint256 indexed phase
SetRewardInfoLimit(uint256 rewardInfoLimit
UpdateRewardInfo(uint256 indexed campaignIDuint256 indexed phaseuint256 endBlockuint256 rewardPerBlock
Withdraw(address indexed useruint256 amountuint256 campaign
Constructor
constructor(address _rewardManager
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.