Skip to content

Commit

Permalink
fix: fixup steth leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Nov 9, 2023
1 parent 98200ba commit bbb9c1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion contracts/UniversalRouter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ contract UniversalRouter is IUniversalRouter, Dispatcher, RewardsCollector {
)
PaymentsImmutables(
PaymentsParameters(
params.permit2, params.weth9, params.steth, params.wsteth, params.openseaConduit, params.sudoswap
params.permit2, params.weth9, params.openseaConduit, params.sudoswap
)
)
NFTImmutables(
Expand Down
12 changes: 0 additions & 12 deletions contracts/modules/PaymentsImmutables.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@
pragma solidity ^0.8.17;

import {IWETH9} from '../interfaces/external/IWETH9.sol';
import {ISTETH} from '../interfaces/external/ISTETH.sol';
import {IWSTETH} from '../interfaces/external/IWSTETH.sol';
import {IAllowanceTransfer} from 'permit2/src/interfaces/IAllowanceTransfer.sol';

struct PaymentsParameters {
address permit2;
address weth9;
address steth;
address wsteth;
address openseaConduit;
address sudoswap;
}
Expand All @@ -19,12 +15,6 @@ contract PaymentsImmutables {
/// @dev WETH9 address
IWETH9 internal immutable WETH9;

/// @dev STETH address
ISTETH internal immutable STETH;

/// @dev WSTETH address
IWSTETH internal immutable WSTETH;

/// @dev Permit2 address
IAllowanceTransfer internal immutable PERMIT2;

Expand All @@ -41,8 +31,6 @@ contract PaymentsImmutables {

constructor(PaymentsParameters memory params) {
WETH9 = IWETH9(params.weth9);
STETH = ISTETH(params.steth);
WSTETH = IWSTETH(params.wsteth);
PERMIT2 = IAllowanceTransfer(params.permit2);
OPENSEA_CONDUIT = params.openseaConduit;
SUDOSWAP = params.sudoswap;
Expand Down

0 comments on commit bbb9c1f

Please sign in to comment.