Skip to content

Commit

Permalink
added note for deprecated versions of AbstractPortal and AbstractModule
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajeetkolhapure committed Nov 26, 2024
1 parent 82c02bb commit 0a585bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/src/abstracts/AbstractModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol
/**
* @title Abstract Module
* @author Consensys
* @notice Defines the minimal Module interface
* @notice Deprecated. Use the AbstractModuleV2 contract instead.
*/
abstract contract AbstractModule is IERC165 {
/// @notice Error thrown when someone else than the portal's owner is trying to revoke
Expand Down
4 changes: 1 addition & 3 deletions contracts/src/abstracts/AbstractPortal.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import { IPortal } from "../interfaces/IPortal.sol";
/**
* @title Abstract Portal
* @author Consensys
* @notice This contract is an abstracts contract with basic Portal logic
* to be inherited. We strongly encourage all Portals to implement
* this contract.
* @notice Deprecated. Use the AbstractPortalV2 contract instead.
*/
abstract contract AbstractPortal is IPortal {
IRouter public router;
Expand Down

0 comments on commit 0a585bc

Please sign in to comment.