Skip to content

Commit

Permalink
cleanup/prep for its own repo
Browse files Browse the repository at this point in the history
  • Loading branch information
simplemachine92 committed Jun 3, 2024
1 parent 1286ffa commit 9098977
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 123 deletions.
18 changes: 2 additions & 16 deletions src/deployers/BPCCIPSuckerDeployer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import {IJBPrices} from "@bananapus/core/src/interfaces/IJBPrices.sol";
import {IJBDirectory} from "@bananapus/core/src/interfaces/IJBDirectory.sol";
import {IJBRulesets} from "@bananapus/core/src/interfaces/IJBRulesets.sol";
import {IJBTokens} from "@bananapus/core/src/interfaces/IJBTokens.sol";
import {OPStandardBridge} from "../interfaces/OPStandardBridge.sol";
import {OPMessenger} from "../interfaces/OPMessenger.sol";
import {BPCCIPSucker} from "../BPCCIPSucker.sol";
import {BPAddToBalanceMode} from "../enums/BPAddToBalanceMode.sol";
import {IBPSucker} from "./../interfaces/IBPSucker.sol";
Expand All @@ -28,12 +26,6 @@ contract BPCCIPSuckerDeployer is JBPermissioned, IBPSuckerDeployer {
/// @notice Only this address can configure this deployer, can only be used once.
address immutable LAYER_SPECIFIC_CONFIGURATOR;

/// @notice The messenger used to send messages between the local and remote sucker.
OPMessenger public MESSENGER;

/// @notice The bridge used to bridge tokens between the local and remote chain.
OPStandardBridge public BRIDGE;

/// @notice A mapping of suckers deployed by this contract.
mapping(address => bool) public isSucker;

Expand Down Expand Up @@ -73,13 +65,7 @@ contract BPCCIPSuckerDeployer is JBPermissioned, IBPSuckerDeployer {
/// @notice handles some layer specific configuration that can't be done in the constructor otherwise deployment addresses would change.
/// @notice messenger the OPMesssenger on this layer.
/// @notice bridge the OPStandardBridge on this layer.
function configureLayerSpecific(OPMessenger messenger, OPStandardBridge bridge) external {
if (address(MESSENGER) != address(0) || address(BRIDGE) != address(0)) {
revert ALREADY_CONFIGURED();
}
// Configure these layer specific properties.
// This is done in a seperate call to make the deployment code chain agnostic.
MESSENGER = messenger;
BRIDGE = bridge;
function configureLayerSpecific() external {
// TODO: Update if necessary
}
}
14 changes: 0 additions & 14 deletions src/interfaces/ArbL1GatewayRouter.sol

This file was deleted.

9 changes: 0 additions & 9 deletions src/interfaces/ArbL2GatewayRouter.sol

This file was deleted.

11 changes: 0 additions & 11 deletions src/interfaces/IArbGatewayRouter.sol

This file was deleted.

17 changes: 0 additions & 17 deletions src/interfaces/OPMessenger.sol

This file was deleted.

28 changes: 0 additions & 28 deletions src/interfaces/OPStandardBridge.sol

This file was deleted.

17 changes: 0 additions & 17 deletions src/libraries/ARBAddresses.sol

This file was deleted.

11 changes: 0 additions & 11 deletions src/libraries/ARBChains.sol

This file was deleted.

0 comments on commit 9098977

Please sign in to comment.