LiquidityMiningManager

Verified contract

Active on Ethereum with 424 txns
Deployed by via 0x317470ad at 14543378
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xfc5b14358196db0b0eb719045f0cfdb5edd7e2f707da18a1a108601b243bc416
0x04ab9484fab92f48b36121e710b53e05c0d76ac832f2273733f84965447ec9bb
0x490d6bfe01333fa722c4884a1abcc27682a276ec776fb097a2a3656bef2f3554
0x9b237c1870341db5a12659d69998e513f82edb74d649887bab5907427b2723bc
0x3aa7984ca978e4613ae6c3efa23cd87c354b22b02adfd3c54b8bd9ac070038d9
0xec8c2951a92c5faa0488d579cb5f72e7475622e3d532cb3ebc2b37b038e44887
0x173f235f82150aaba1bf7c05114108e736180093bbffaf44a22bc4acd5ac50e6
0x7d6fe65530aa5ea8f618caafbcfbd82996abc7c82a7394e284165cd3ca22a860
0x63ae0c8f8ff848bccd00e39ad4802e673a5ba5b940fde4d55af854105f23887a
0x145a5cdb943143d5b3d5e6c5b16daa76b9e2177c463d44d8d394850d40ffa06f

Functions
Getter at block 21379771
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)
[(0x87ba0db3f5a28c829f32c7561268e04177367d9c, 1000), (0x78fcf2af781dcf9c0f640185a133c2289528941a, 29000)]
lastDistribution(view returns (uint256)
1687927511
reward(view returns (address)
0x14a32f050facf226ec60882398a9bf36d91dbac2
rewardPerSecond(view returns (uint256)
2604166670000000000
rewardSource(view returns (address)
0x13642043cb4faa8ee1842e7952d2fc7c4ffa4aeb
totalWeight(view returns (uint256)
30000
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
poolAdded(addressview returns (bool)
pools(uint256view returns (address poolContractuint256 weight)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addPool(address _poolContractuint256 _weight
adjustWeight(uint256 _poolIduint256 _newWeight
distributeRewards(
grantRole(bytes32 roleaddress account
removePool(uint256 _poolId
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
saveToken(address _tokenaddress _receiveruint256 _amount
setRewardPerSecond(uint256 _rewardPerSecond
Events
PoolAdded(address indexed pooluint256 weight
PoolRemoved(uint256 indexed poolIdaddress indexed pool
RewardsDistributed(address _fromuint256 indexed _amount
RewardsPerSecondSet(uint256 rewardsPerSecond
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenSaved(address indexed byaddress indexed receiveraddress indexed tokenuint256 amount
WeightAdjusted(uint256 indexed poolIdaddress indexed pooluint256 newWeight
Constructor
constructor(address _rewardaddress _rewardSource
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.