AmmRewards

Verified contract

Active on Ethereum with 747 txns
Deployed by via 0x807b3e4d at 12761049
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xef27b78d514260ffe0ed5d935451a1132056cacef47e4a3d11f33482809d6644
0x85ffadef9bd626c024b47ca3c68ac58b4d40f4126586375f3aac773953713052
0xf6d9c0de23457e713ca3c0486cbbd2e9cfb4d2c13f81f9c53e575f037dce82bf
0x652b3e53d29452ca5b97fe399e0ec901aafe84336158a1d48c34c6ffb9f4ccc3
0x498d9da0185085f836574a7cad55e62f2ce8cda64a83339ef4c1abf964dce64c
0x1b66637ed07b005b075e47a2beceaf8483b0744c61c2b1b374fe4dc5f8bf63ed
0x1dec122af1c6e845023b7a0d040a79628f7403815ed04521d634a9a16fde0c40
0x4caae6a7572ad6ca1bc6f716871e1f7e640626709bc30b3e79624a2d6fcee1ea
0xd8cc8215e029090404aa0f6a39cb60f825a5b7e6b84247c55bea04f6992b4917
0xc3692b86eb88f6e99d96ba214b332407d3567599b2e62ea0d758b3df530532c0

Functions
Getter at block 20856603
REWARD_TOKEN(view returns (address)
0x47be779de87de6580d0548cde80710a93c502405
owner(view returns (address)
0xb77e602c47af5aa987d73218b987e114a54231cc
poolLength(view returns (uint256 pools)
5
rewardTokenPerSecond(view returns (uint256)
0
rewardsManager(view returns (address)
0xdb3542577ad5b179f6e09c2f092900d416d052d7
totalAllocPoint(view returns (uint256)
5
Read-only
lpToken(uint256view returns (address)
pendingRewardToken(uint256 _pidaddress _userview returns (uint256 pending)
poolInfo(uint256view returns (uint256 accRewardTokenPerShareuint256 lastRewardTimeuint256 allocPoint)
rewarder(uint256view returns (address)
userInfo(uint256addressview returns (uint256 amountint256 rewardDebt)
State-modifying
add(uint256 allocPointaddress _lpTokenaddress _rewarder
deposit(uint256 piduint256 amountaddress to
emergencyWithdraw(uint256 pidaddress to
harvest(uint256 pidaddress to
massUpdatePools(uint256[] pids
renounceOwnership(
set(uint256 _piduint256 _allocPointaddress _rewarderbool overwrite
setRewardTokenPerSecond(uint256 rewardTokenPerSecond_
setRewardsManager(address _rewardsManager
transferOwnership(address newOwner
updatePool(uint256 pidreturns (struct AmmRewardsPoolInfo pool)
withdraw(uint256 piduint256 amountaddress to
withdrawAndHarvest(uint256 piduint256 amountaddress to
Events
Deposit(address indexed useruint256 indexed piduint256 amountaddress indexed to
EmergencyWithdraw(address indexed useruint256 indexed piduint256 amountaddress indexed to
Harvest(address indexed useruint256 indexed piduint256 amount
LogPoolAddition(uint256 indexed piduint256 allocPointaddress indexed lpTokenaddress indexed rewarder
LogRewardTokenPerSecond(uint256 rewardTokenPerSecond
LogSetPool(uint256 indexed piduint256 allocPointaddress indexed rewarderbool overwrite
LogUpdatePool(uint256 indexed piduint256 lastRewardTimeuint256 lpSupplyuint256 accRewardTokenPerShare
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Withdraw(address indexed useruint256 indexed piduint256 amountaddress indexed to
Constructor
constructor(address rewardToken_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.