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

Rename event #130

Merged
merged 1 commit into from
Apr 19, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface IRoyaltyPolicyLAP is IRoyaltyPolicy {
/// @notice Event emitted when a revenue token is added to a vault
/// @param token The address of the revenue token
/// @param vault The address of the vault
event RoyaltyTokenAddedToVault(address token, address vault);
event RevenueTokenAddedToVault(address token, address vault);

/// @notice The state data of the LAP royalty policy
/// @param isUnlinkableToParents Indicates if the ipId is unlinkable to new parents
Expand Down
2 changes: 1 addition & 1 deletion contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ contract RoyaltyPolicyLAP is
RoyaltyPolicyLAPStorage storage $ = _getRoyaltyPolicyLAPStorage();
address destination = $.royaltyData[ipId].ipRoyaltyVault;
if (IIpRoyaltyVault(destination).addIpRoyaltyVaultTokens(token)) {
emit RoyaltyTokenAddedToVault(token, destination);
emit RevenueTokenAddedToVault(token, destination);
}
IERC20(token).safeTransferFrom(caller, destination, amount);
}
Expand Down
Loading