StakingPoolManager
Verified contract
Active on
Ethereum with 415 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "StakingPoolManager"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18711439 | a year ago | | | 0 | 0.0038205024 | |
| 16530200 | 2 years ago | | | 0 | 0.0028021560 | |
| 16523038 | 2 years ago | | | 0 | 0.0016012320 | |
| 16515871 | 2 years ago | | | 0 | 0.0017013090 | |
| 16508711 | 2 years ago | | | 0 | 0.0015011550 | |
| 16501541 | 2 years ago | | | 0 | 0.0017013090 | |
| 16494396 | 2 years ago | | | 0 | 0.0018517860 | |
| 16487222 | 2 years ago | | | 0 | 0.0025019250 | |
| 16480064 | 2 years ago | | | 0 | 0.0020015400 | |
| 16472899 | 2 years ago | | | 0 | 0.0018013860 |
ABI
ABI objects
Getter at block 21399711
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 StakingPoolManagerPool[] result)
[(0xc747f9d3e6b34596977e79f09a2ab122042673e1, 1000000000000000000)]
lastRewardBlock() view returns (uint256)
19015104
reward() view returns (address)
0xaaef88cea01475125522e117bfe45cf32044e238
rewardEndBlock() view returns (uint256)
19015104
rewardPerBlock() view returns (uint256)
0
rewardSource() view returns (address)
0xe86fb860e8fcc93e05db3d4386d4e20bc9e9f057
totalWeight() view returns (uint256)
1000000000000000000
Read-only
getMultiplier(uint256 _from, uint256 _to, uint256 _endBlock) pure returns (uint256)
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)
setRewardEndBlock(uint256 _rewardEndBlock)
setRewardPerBlock(uint256 _rewardPerBlock)
PoolAdded(address indexed pool, uint256 weight)
PoolRemoved(uint256 indexed poolId, address indexed pool)
RewardsDistributed(address _from, uint256 indexed _amount)
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)
SetRewardEndBlock(uint256 rewardEndBlock)
SetRewardsPerBlock(uint256 rewardsPerBlock)
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, uint256 _rewardStartBlock, uint256 _rewardEndBlock)
This contract contains no fallback and receive objects.
This contract contains no error objects.