Skip to content

Commit 49cae64

Browse files
committed
fix: Rename Cher SpokePool -> Soneium
1 parent 27ecada commit 49cae64

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

contracts/Cher_SpokePool.sol renamed to contracts/Soneium_SpokePool.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import "./external/interfaces/CCTPInterfaces.sol";
77
import { IOpUSDCBridgeAdapter } from "./external/interfaces/IOpUSDCBridgeAdapter.sol";
88

99
/**
10-
* @notice Cher SpokePool.
10+
* @notice Soneium SpokePool.
1111
* @custom:security-contact [email protected]
1212
*/
13-
contract Cher_SpokePool is Ovm_SpokePool {
13+
contract Soneium_SpokePool is Ovm_SpokePool {
1414
using SafeERC20 for IERC20;
1515

1616
// Address of the custom L2 USDC bridge.
@@ -34,7 +34,7 @@ contract Cher_SpokePool is Ovm_SpokePool {
3434
{} // solhint-disable-line no-empty-blocks
3535

3636
/**
37-
* @notice Construct the OVM Cher SpokePool.
37+
* @notice Construct the OVM Soneium SpokePool.
3838
* @param _initialDepositId Starting deposit ID. Set to 0 unless this is a re-deployment in order to mitigate
3939
* relay hash collisions.
4040
* @param _crossDomainAdmin Cross domain admin to set. Can be changed by admin.
@@ -49,7 +49,7 @@ contract Cher_SpokePool is Ovm_SpokePool {
4949
}
5050

5151
/**
52-
* @notice Cher-specific logic to bridge tokens back to the hub pool contract on L1.
52+
* @notice Soneium-specific logic to bridge tokens back to the hub pool contract on L1.
5353
* @param amountToReturn Amount of the token to bridge back.
5454
* @param l2TokenAddress Address of the l2 Token to bridge back. This token will either be bridged back to the token defined in the mapping `remoteL1Tokens`,
5555
* or via the canonical mapping defined in the bridge contract retrieved from `tokenBridges`.
@@ -59,7 +59,7 @@ contract Cher_SpokePool is Ovm_SpokePool {
5959
function _bridgeTokensToHubPool(uint256 amountToReturn, address l2TokenAddress) internal virtual override {
6060
// Handle custom USDC bridge which doesn't conform to the standard bridge interface. In the future, CCTP may be used to bridge USDC to mainnet, in which
6161
// case bridging logic is handled by the Ovm_SpokePool code. In the meantime, if CCTP is not enabled, then use the USDC bridge. Once CCTP is activated on
62-
// Cher, this block of code will be unused.
62+
// Soneium, this block of code will be unused.
6363
if (l2TokenAddress == address(usdcToken) && !_isCCTPEnabled()) {
6464
usdcToken.safeIncreaseAllowance(USDC_BRIDGE, amountToReturn);
6565
IOpUSDCBridgeAdapter(USDC_BRIDGE).sendMessage(

0 commit comments

Comments
 (0)