-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rename "v2" (option 1) #415
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
bc2c6bc
style: rename contracts, option 1
MathisGD 624d3c0
chore: rename sepolia bundler file
MathisGD 0129e59
chore: adapt hardhat
MathisGD e3803d9
style: a couple text instance to rename
QGarchery b3a3d50
Merge pull request #416 from morpho-org/style/rename-v2-option-1-text…
MathisGD File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import {UrdBundler} from "../UrdBundler.sol"; | |
import {MorphoBundler} from "../MorphoBundler.sol"; | ||
import {ERC20WrapperBundler} from "../ERC20WrapperBundler.sol"; | ||
|
||
/// @title EthereumBundler | ||
/// @title EthereumBundlerV2 | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Bundler contract specific to Ethereum. | ||
contract EthereumBundler is | ||
contract EthereumBundlerV2 is | ||
TransferBundler, | ||
EthereumPermitBundler, | ||
Permit2Bundler, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import {UrdBundler} from "../UrdBundler.sol"; | |
import {MorphoBundler} from "../MorphoBundler.sol"; | ||
import {ERC20WrapperBundler} from "../ERC20WrapperBundler.sol"; | ||
|
||
/// @title GoerliBundler | ||
/// @title GoerliBundlerV2 | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Bundler contract specific to the Goerli testnet. | ||
contract GoerliBundler is | ||
contract GoerliBundlerV2 is | ||
TransferBundler, | ||
PermitBundler, | ||
Permit2Bundler, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,12 @@ import {BaseBundler} from "../BaseBundler.sol"; | |
import {StEthBundler} from "../StEthBundler.sol"; | ||
import {MigrationBundler, ERC20} from "./MigrationBundler.sol"; | ||
|
||
/// @title AaveV2MigrationBundler | ||
/// @title AaveV2MigrationBundlerV2 | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Contract allowing to migrate a position from Aave V2 to Morpho Blue easily. | ||
/// If deploying to Ethereum, deploy `AaveV2EthereumMigrationBundler` instead. | ||
contract AaveV2MigrationBundler is MigrationBundler, StEthBundler { | ||
contract AaveV2MigrationBundlerV2 is MigrationBundler, StEthBundler { | ||
/* IMMUTABLES */ | ||
|
||
/// @dev The AaveV2 contract address. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,11 @@ import {ErrorsLib} from "../libraries/ErrorsLib.sol"; | |
|
||
import {MigrationBundler, ERC20} from "./MigrationBundler.sol"; | ||
|
||
/// @title AaveV3MigrationBundler | ||
/// @title AaveV3MigrationBundlerV2 | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Contract allowing to migrate a position from Aave V3 to Morpho Blue easily. | ||
contract AaveV3MigrationBundler is MigrationBundler { | ||
contract AaveV3MigrationBundlerV2 is MigrationBundler { | ||
/* IMMUTABLES */ | ||
|
||
/// @dev The AaveV3 contract address. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,11 @@ import {ErrorsLib} from "../libraries/ErrorsLib.sol"; | |
|
||
import {MigrationBundler, ERC20} from "./MigrationBundler.sol"; | ||
|
||
/// @title AaveV3OptimizerMigrationBundler | ||
/// @title AaveV3OptimizerMigrationBundlerV2 | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Contract allowing to migrate a position from AaveV3 Optimizer to Morpho Blue easily. | ||
contract AaveV3OptimizerMigrationBundler is MigrationBundler { | ||
contract AaveV3OptimizerMigrationBundlerV2 is MigrationBundler { | ||
/* IMMUTABLES */ | ||
|
||
/// @dev The AaveV3 optimizer contract address. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,11 @@ import {BaseBundler} from "../BaseBundler.sol"; | |
import {WNativeBundler} from "../WNativeBundler.sol"; | ||
import {MigrationBundler, ERC20} from "./MigrationBundler.sol"; | ||
|
||
/// @title CompoundV2MigrationBundler | ||
/// @title CompoundV2MigrationBundlerV2 | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Contract allowing to migrate a position from Compound V2 to Morpho Blue easily. | ||
contract CompoundV2MigrationBundler is WNativeBundler, MigrationBundler { | ||
contract CompoundV2MigrationBundlerV2 is WNativeBundler, MigrationBundler { | ||
/* IMMUTABLES */ | ||
|
||
/// @dev The address of the cETH contract. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,11 @@ import {ErrorsLib} from "../libraries/ErrorsLib.sol"; | |
|
||
import {MigrationBundler, ERC20} from "./MigrationBundler.sol"; | ||
|
||
/// @title CompoundV3MigrationBundler | ||
/// @title CompoundV3MigrationBundlerV2 | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Contract allowing to migrate a position from Compound V3 to Morpho Blue easily. | ||
contract CompoundV3MigrationBundler is MigrationBundler { | ||
contract CompoundV3MigrationBundlerV2 is MigrationBundler { | ||
/* CONSTRUCTOR */ | ||
|
||
/// @param morpho The Morpho contract Address. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ import {UrdBundler} from "../UrdBundler.sol"; | |
import {MorphoBundler} from "../MorphoBundler.sol"; | ||
import {ERC20WrapperBundler} from "../ERC20WrapperBundler.sol"; | ||
|
||
/// @title SepoliaBundler | ||
/// @title SepoliaBundlerV2 | ||
/// @author Morpho Labs | ||
/// @custom:contact [email protected] | ||
/// @notice Bundler contract specific to the Sepolia testnet. | ||
contract SepoliaBundler is | ||
contract SepoliaBundlerV2 is | ||
TransferBundler, | ||
PermitBundler, | ||
Permit2Bundler, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure with what this was clashing, but it works without now, so I removed it