Skip to content

Commit

Permalink
L01 - Ownable contract has a single step ownership transferred
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Aug 29, 2023
1 parent 7616863 commit 00038cf
Show file tree
Hide file tree
Showing 7 changed files with 822 additions and 298 deletions.
4 changes: 2 additions & 2 deletions contracts/DePayForwarderV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

pragma solidity 0.8.18;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/Ownable2Step.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import './interfaces/IDePayRouterV2.sol';

contract DePayForwarderV2 is Ownable {
contract DePayForwarderV2 is Ownable2Step {

using SafeERC20 for IERC20;

Expand Down
4 changes: 2 additions & 2 deletions contracts/DePayRouterV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

pragma solidity 0.8.18;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/Ownable2Step.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import './interfaces/IPermit2.sol';
import './interfaces/IDePayRouterV2.sol';
import './interfaces/IDePayForwarderV2.sol';

contract DePayRouterV2 is Ownable {
contract DePayRouterV2 is Ownable2Step {

using SafeERC20 for IERC20;

Expand Down
Loading

0 comments on commit 00038cf

Please sign in to comment.