LiquidityMiningManager
Verified contract
Active on
Ethereum with 218 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "LiquidityMiningManager"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16009209 | 2 years ago | | | 0 | 0.0017693538 | |
| 16002042 | 2 years ago | | | 0 | 0.0018578524 | |
| 15994876 | 2 years ago | | | 0 | 0.0020017545 | |
| 15987722 | 2 years ago | | | 0 | 0.0019487226 | |
| 15980568 | 2 years ago | | | 0 | 0.0019504523 | |
| 15973417 | 2 years ago | | | 0 | 0.0020737961 | |
| 15966255 | 2 years ago | | | 0 | 0.0018073680 | |
| 15959081 | 2 years ago | | | 0 | 0.0018697065 | |
| 15951912 | 2 years ago | | | 0 | 0.0022191748 | |
| 15944756 | 2 years ago | | | 0 | 0.0025056548 |
ABI
ABI objects
Getter at block 21384563
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOV_ROLE() view returns (bytes32)
0x0603f2636f0ca34ae3ea5a23bb826e2bd2ffd59fb1c01edc1ba10fba2899d1ba
MAX_POOL_COUNT() view returns (uint256)
10
REWARD_DISTRIBUTOR_ROLE() view returns (bytes32)
0xb814ff4a26ea3ec5cd1fa579daad86324826254265f3acfec78303a19845b449
TOKEN_SAVER_ROLE() view returns (bytes32)
0xd9d917c4034cff8a8c5fa1e40f9fbaf906b827c33ae3ab1fcabbb616cb8ef24d
getPools() view returns (struct LiquidityMiningManagerPool[] result)
[(0xb117f1eeb67f273e7c7687d82834a33487d916dd, 200000000000000000), (0x890d48e6357d00e80e4c9f9840e1cd70a5400141, 800000000000000000)]
lastDistribution() view returns (uint256)
1668922931
reward() view returns (address)
0x7b8fbdf847c343a88e24524f00bda64842469d9d
rewardPerSecond() view returns (uint256)
630720000000000000
rewardSource() view returns (address)
0x672fe8cf652dd85235f54787498e0beea154d764
totalWeight() view returns (uint256)
1000000000000000000
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
poolAdded(address) view returns (bool)
pools(uint256) view returns (address poolContract, uint256 weight)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addPool(address _poolContract, uint256 _weight)
adjustWeight(uint256 _poolId, uint256 _newWeight)
distributeRewards()
grantRole(bytes32 role, address account)
removePool(uint256 _poolId)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
saveToken(address _token, address _receiver, uint256 _amount)
setRewardPerSecond(uint256 _rewardPerSecond)
PoolAdded(address indexed pool, uint256 weight)
PoolRemoved(uint256 indexed poolId, address indexed pool)
RewardsDistributed(address _from, uint256 indexed _amount)
RewardsPerSecondSet(uint256 rewardsPerSecond)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokenSaved(address indexed by, address indexed receiver, address indexed token, uint256 amount)
WeightAdjusted(uint256 indexed poolId, address indexed pool, uint256 newWeight)
constructor(address _reward, address _rewardSource)
This contract contains no fallback and receive objects.
This contract contains no error objects.