Skip to content
Open
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
45 changes: 0 additions & 45 deletions contracts/Base_SpokePool.sol

This file was deleted.

45 changes: 0 additions & 45 deletions contracts/DoctorWho_SpokePool.sol

This file was deleted.

45 changes: 0 additions & 45 deletions contracts/Mode_SpokePool.sol

This file was deleted.

6 changes: 3 additions & 3 deletions contracts/Bob_SpokePool.sol → contracts/OP_SpokePool.sol
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one probably isn't the best candidate here, since it supports neither bridged nor native USDC. I think the Base SpokePool probably would be a better choice.

All of this is subject to whether there's a larger overhaul on the SpokePools wrt. bridge adapter modularity and configuration. But I think it makes sense to have a PR that handles the consolidation anyway, since it's basically inevitable that we delete these.

Copy link
Contributor

@bmzig bmzig Sep 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't all the spoke pools being deleted here the same up to comments?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes its just comment diff on all these spoke pool, in this case I think github randomly picked Bob to show as name change

Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import "./Ovm_SpokePool.sol";
import "./external/interfaces/CCTPInterfaces.sol";

/**
* @notice Bob Spoke pool.
* @notice OP Spoke pool.
* @custom:security-contact [email protected]
*/
contract Bob_SpokePool is Ovm_SpokePool {
contract OP_SpokePool is Ovm_SpokePool {
/// @custom:oz-upgrades-unsafe-allow constructor
constructor(
address _wrappedNativeTokenAddress,
Expand All @@ -28,7 +28,7 @@ contract Bob_SpokePool is Ovm_SpokePool {
{} // solhint-disable-line no-empty-blocks

/**
* @notice Construct the Bob SpokePool.
* @notice Construct the OP SpokePool.
* @param _initialDepositId Starting deposit ID. Set to 0 unless this is a re-deployment in order to mitigate
* relay hash collisions.
* @param _crossDomainAdmin Cross domain admin to set. Can be changed by admin.
Expand Down
45 changes: 0 additions & 45 deletions contracts/Redstone_SpokePool.sol

This file was deleted.

45 changes: 0 additions & 45 deletions contracts/Zora_SpokePool.sol

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DeployFunction } from "hardhat-deploy/types";
import { HardhatRuntimeEnvironment } from "hardhat/types";
import { deployNewProxy, getSpokePoolDeploymentInfo } from "../utils/utils.hre";
import { FILL_DEADLINE_BUFFER, L2_ADDRESS_MAP, QUOTE_TIME_BUFFER, USDC, WETH } from "./consts";
import { FILL_DEADLINE_BUFFER, L2_ADDRESS_MAP, QUOTE_TIME_BUFFER, USDC, WETH, ZERO_ADDRESS } from "./consts";

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const { hubPool, spokeChainId } = await getSpokePoolDeploymentInfo(hre);
Expand All @@ -18,10 +18,10 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
WETH[spokeChainId],
QUOTE_TIME_BUFFER,
FILL_DEADLINE_BUFFER,
USDC[spokeChainId],
L2_ADDRESS_MAP[spokeChainId].cctpTokenMessenger,
USDC[spokeChainId] ?? ZERO_ADDRESS,
L2_ADDRESS_MAP[spokeChainId].cctpTokenMessenger ?? ZERO_ADDRESS,
];
await deployNewProxy("Base_SpokePool", constructorArgs, initArgs);
await deployNewProxy("OP_SpokePool", constructorArgs, initArgs);
};
module.exports = func;
func.tags = ["BaseSpokePool", "base"];
func.tags = ["OPSpokePool", "base", "unichain", "mode", "bob", "redstone", "zora"];
28 changes: 0 additions & 28 deletions deploy/039_deploy_mode_spokepool.ts

This file was deleted.

28 changes: 0 additions & 28 deletions deploy/047_deploy_redstone_spokepool.ts

This file was deleted.

28 changes: 0 additions & 28 deletions deploy/049_deploy_zora_spokepool.ts

This file was deleted.

25 changes: 0 additions & 25 deletions deploy/062_deploy_unichain_spokepool.ts

This file was deleted.

Loading
Loading