Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Issue #150 - Missing event parameter #163

Merged
merged 1 commit into from Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion contracts/interfaces/IStakingPools.sol
Expand Up @@ -21,7 +21,8 @@ interface IStakingPools is IMember {
uint256 maxStake,
uint256 rewardPerBlock,
uint256 lockupPeriodInBlocks,
uint256 platformFee
uint256 platformFee,
uint256 stakingTarget
);

event PoolClosed(bytes32 indexed key, string name);
Expand Down
2 changes: 1 addition & 1 deletion contracts/pool/Staking/StakingPoolBase.sol
Expand Up @@ -45,7 +45,7 @@ abstract contract StakingPoolBase is IStakingPools, Recoverable {
AccessControlLibV1.mustBeAdmin(s);

s.addOrEditPoolInternal(key, name, addresses, values);
emit PoolUpdated(key, name, poolType, addresses[0], addresses[1], addresses[2], addresses[3], values[5], values[1], values[3], values[4], values[2]);
emit PoolUpdated(key, name, poolType, addresses[0], addresses[1], addresses[2], addresses[3], values[5], values[1], values[3], values[4], values[2], values[0]);
}

function closePool(bytes32 key) external override nonReentrant {
Expand Down