Commit a1c899ff authored by elenadimitrova's avatar elenadimitrova Committed by Kelvin Fichter

Rename iOVM_L1StandardBridge to IL1StandardBridge

parent 3887b4f8
...@@ -5,9 +5,9 @@ pragma experimental ABIEncoderV2; ...@@ -5,9 +5,9 @@ pragma experimental ABIEncoderV2;
import "./IL1ERC20Bridge.sol"; import "./IL1ERC20Bridge.sol";
/** /**
* @title iOVM_L1StandardBridge * @title IL1StandardBridge
*/ */
interface iOVM_L1StandardBridge is IL1ERC20Bridge { interface IL1StandardBridge is IL1ERC20Bridge {
/********** /**********
* Events * * Events *
......
...@@ -4,7 +4,7 @@ pragma solidity >0.5.0 <0.8.0; ...@@ -4,7 +4,7 @@ pragma solidity >0.5.0 <0.8.0;
pragma experimental ABIEncoderV2; pragma experimental ABIEncoderV2;
/* Interface Imports */ /* Interface Imports */
import { iOVM_L1StandardBridge } from "./iOVM_L1StandardBridge.sol"; import { IL1StandardBridge } from "./IL1StandardBridge.sol";
import { IL1ERC20Bridge } from "./IL1ERC20Bridge.sol"; import { IL1ERC20Bridge } from "./IL1ERC20Bridge.sol";
import { iOVM_L2ERC20Bridge } from "../../L2/messaging/iOVM_L2ERC20Bridge.sol"; import { iOVM_L2ERC20Bridge } from "../../L2/messaging/iOVM_L2ERC20Bridge.sol";
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
...@@ -24,7 +24,7 @@ import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; ...@@ -24,7 +24,7 @@ import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
* *
* Runtime target: EVM * Runtime target: EVM
*/ */
contract OVM_L1StandardBridge is iOVM_L1StandardBridge, OVM_CrossDomainEnabled { contract OVM_L1StandardBridge is IL1StandardBridge, OVM_CrossDomainEnabled {
using SafeMath for uint; using SafeMath for uint;
using SafeERC20 for IERC20; using SafeERC20 for IERC20;
...@@ -98,7 +98,7 @@ contract OVM_L1StandardBridge is iOVM_L1StandardBridge, OVM_CrossDomainEnabled { ...@@ -98,7 +98,7 @@ contract OVM_L1StandardBridge is iOVM_L1StandardBridge, OVM_CrossDomainEnabled {
} }
/** /**
* @inheritdoc iOVM_L1StandardBridge * @inheritdoc IL1StandardBridge
*/ */
function depositETH( function depositETH(
uint32 _l2Gas, uint32 _l2Gas,
...@@ -118,7 +118,7 @@ contract OVM_L1StandardBridge is iOVM_L1StandardBridge, OVM_CrossDomainEnabled { ...@@ -118,7 +118,7 @@ contract OVM_L1StandardBridge is iOVM_L1StandardBridge, OVM_CrossDomainEnabled {
} }
/** /**
* @inheritdoc iOVM_L1StandardBridge * @inheritdoc IL1StandardBridge
*/ */
function depositETHTo( function depositETHTo(
address _to, address _to,
...@@ -275,7 +275,7 @@ contract OVM_L1StandardBridge is iOVM_L1StandardBridge, OVM_CrossDomainEnabled { ...@@ -275,7 +275,7 @@ contract OVM_L1StandardBridge is iOVM_L1StandardBridge, OVM_CrossDomainEnabled {
*************************/ *************************/
/** /**
* @inheritdoc iOVM_L1StandardBridge * @inheritdoc IL1StandardBridge
*/ */
function finalizeETHWithdrawal( function finalizeETHWithdrawal(
address _from, address _from,
......
...@@ -3,7 +3,7 @@ pragma solidity >0.5.0 <0.8.0; ...@@ -3,7 +3,7 @@ pragma solidity >0.5.0 <0.8.0;
pragma experimental ABIEncoderV2; pragma experimental ABIEncoderV2;
/* Interface Imports */ /* Interface Imports */
import { iOVM_L1StandardBridge } from "../../L1/messaging/iOVM_L1StandardBridge.sol"; import { IL1StandardBridge } from "../../L1/messaging/IL1StandardBridge.sol";
import { IL1ERC20Bridge } from "../../L1/messaging/IL1ERC20Bridge.sol"; import { IL1ERC20Bridge } from "../../L1/messaging/IL1ERC20Bridge.sol";
import { iOVM_L2ERC20Bridge } from "./iOVM_L2ERC20Bridge.sol"; import { iOVM_L2ERC20Bridge } from "./iOVM_L2ERC20Bridge.sol";
...@@ -134,7 +134,7 @@ contract OVM_L2StandardBridge is iOVM_L2ERC20Bridge, OVM_CrossDomainEnabled { ...@@ -134,7 +134,7 @@ contract OVM_L2StandardBridge is iOVM_L2ERC20Bridge, OVM_CrossDomainEnabled {
if (_l2Token == Lib_PredeployAddresses.OVM_ETH) { if (_l2Token == Lib_PredeployAddresses.OVM_ETH) {
message = abi.encodeWithSelector( message = abi.encodeWithSelector(
iOVM_L1StandardBridge.finalizeETHWithdrawal.selector, IL1StandardBridge.finalizeETHWithdrawal.selector,
_from, _from,
_to, _to,
_amount, _amount,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment