Skip to content

Commit

Permalink
feat: update pool creation event name
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargavaparoksham committed Jan 17, 2025
1 parent d6cecd8 commit c8f4f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/interfaces/IAssetPoolFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface IAssetPoolFactory {
* @param cycleLength Duration of a single investment cycle in seconds.
* @param rebalancingPeriod Duration of the rebalancing period within a cycle in seconds.
*/
event PoolCreated(
event AssetPoolCreated(
address indexed pool,
string assetSymbol,
address depositToken,
Expand Down
4 changes: 2 additions & 2 deletions src/protocol/AssetPoolFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ contract AssetPoolFactory is IAssetPoolFactory, Ownable {
// Register the newly created pool in the LP Registry.
lpRegistry.addPool(address(pool));

// Emit the PoolCreated event to notify listeners.
emit PoolCreated(
// Emit the AssetPoolCreated event to notify listeners.
emit AssetPoolCreated(
address(pool),
assetSymbol,
depositToken,
Expand Down

0 comments on commit c8f4f16

Please sign in to comment.