-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathEthereumBundlerV2.sol
42 lines (36 loc) · 1.35 KB
/
EthereumBundlerV2.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity 0.8.24;
import {MainnetLib} from "./libraries/MainnetLib.sol";
import {BaseBundler} from "../BaseBundler.sol";
import {TransferBundler} from "../TransferBundler.sol";
import {EthereumPermitBundler} from "./EthereumPermitBundler.sol";
import {Permit2Bundler} from "../Permit2Bundler.sol";
import {ERC4626Bundler} from "../ERC4626Bundler.sol";
import {WNativeBundler} from "../WNativeBundler.sol";
import {EthereumStEthBundler} from "./EthereumStEthBundler.sol";
import {UrdBundler} from "../UrdBundler.sol";
import {MorphoBundler} from "../MorphoBundler.sol";
import {ERC20WrapperBundler} from "../ERC20WrapperBundler.sol";
/// @title EthereumBundlerV2
/// @author Morpho Labs
/// @custom:contact security@morpho.org
/// @notice Bundler contract specific to Ethereum.
contract EthereumBundlerV2 is
TransferBundler,
EthereumPermitBundler,
Permit2Bundler,
ERC4626Bundler,
WNativeBundler,
EthereumStEthBundler,
UrdBundler,
MorphoBundler,
ERC20WrapperBundler
{
/* CONSTRUCTOR */
constructor(address morpho) WNativeBundler(MainnetLib.WETH) MorphoBundler(morpho) {}
/* INTERNAL */
/// @inheritdoc MorphoBundler
function _isSenderAuthorized() internal view override(BaseBundler, MorphoBundler) returns (bool) {
return MorphoBundler._isSenderAuthorized();
}
}