Skip to content

Commit 6fc357d

Browse files
fix: <- emit bApp address in propose obligation update
1 parent 324936f commit 6fc357d

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

src/BasedAppManager.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -542,11 +542,7 @@ contract BasedAppManager is
542542
request.requestTime = block.timestamp;
543543

544544
emit ObligationUpdateProposed(
545-
strategyId,
546-
msg.sender,
547-
address(token),
548-
obligationPercentage,
549-
request.requestTime + OBLIGATION_TIMELOCK_PERIOD
545+
strategyId, bApp, address(token), obligationPercentage, request.requestTime + OBLIGATION_TIMELOCK_PERIOD
550546
);
551547
}
552548

src/interfaces/IBasedAppManager.sol

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,13 @@ interface IBasedAppManager {
2222
event DelegationUpdated(address indexed delegator, address indexed receiver, uint32 percentage);
2323
event MaxFeeIncrementSet(uint32 indexed newMaxFeeIncrement);
2424
event ObligationCreated(
25-
uint256 indexed strategyId, address indexed bApp, address indexed token, uint256 obligationPercentage
25+
uint256 indexed strategyId, address indexed bApp, address indexed token, uint256 percentage
2626
);
2727
event ObligationUpdated(
28-
uint256 indexed strategyId,
29-
address indexed bApp,
30-
address indexed token,
31-
uint256 obligationPercentage,
32-
bool isFast
28+
uint256 indexed strategyId, address indexed bApp, address indexed token, uint256 percentage, bool isFast
3329
);
3430
event ObligationUpdateProposed(
35-
uint256 indexed strategyId,
36-
address indexed account,
37-
address indexed token,
38-
uint32 percentage,
39-
uint256 finalizeTime
31+
uint256 indexed strategyId, address indexed bApp, address indexed token, uint32 percentage, uint256 finalizeTime
4032
);
4133
event StrategyCreated(uint256 indexed strategyId, address indexed owner, uint32 fee);
4234
event StrategyDeposit(

0 commit comments

Comments
 (0)