24 lines
600 B
Solidity
24 lines
600 B
Solidity
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
pragma solidity ^0.8.26;
|
|
|
|
import {IWETH9} from "@uniswap/v4-periphery/src/interfaces/external/IWETH9.sol";
|
|
import {IPermit2} from "permit2/src/interfaces/IPermit2.sol";
|
|
|
|
struct PaymentsParameters {
|
|
address permit2;
|
|
address weth9;
|
|
}
|
|
|
|
contract PaymentsImmutables {
|
|
/// @notice WETH9 address
|
|
IWETH9 internal immutable WETH9;
|
|
|
|
/// @notice Permit2 address
|
|
IPermit2 internal immutable PERMIT2;
|
|
|
|
constructor(PaymentsParameters memory params) {
|
|
WETH9 = IWETH9(params.weth9);
|
|
PERMIT2 = IPermit2(params.permit2);
|
|
}
|
|
}
|