Skip to content

Commit

Permalink
fix : updated functions visibility to external
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Sharma committed Sep 7, 2023
1 parent ad384de commit 444b4f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/asset/contracts/Catalyst.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ contract Catalyst is
address _defaultMinter,
string[] memory _catalystIpfsCID,
address _royaltyManager
) public initializer {
) external initializer {
require(bytes(_baseUri).length != 0, "Catalyst: base uri can't be empty");
require(_trustedForwarder != address(0), "Catalyst: trusted forwarder can't be zero");
require(_subscription != address(0), "Catalyst: subscription can't be zero");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ contract RoyaltySplitter is

/// @notice Splits and forwards ETH to the royalty receivers
/// @dev normally ETH should be split automatically by receive function.
function splitETH() public payable {
function splitETH() external payable {
_splitETH(address(this).balance);
}

Expand Down Expand Up @@ -146,7 +146,7 @@ contract RoyaltySplitter is
/// @notice split ERC20 Tokens owned by this contract.
/// @dev can only be called by one of the recipients
/// @param erc20Contract the address of the tokens to be split.
function splitERC20Tokens(IERC20 erc20Contract) public {
function splitERC20Tokens(IERC20 erc20Contract) external {
require(_splitERC20Tokens(erc20Contract), "Split: ERC20 split failed");
}

Expand Down

0 comments on commit 444b4f0

Please sign in to comment.