Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
a1c899ff
Unverified
Commit
a1c899ff
authored
Sep 13, 2021
by
elenadimitrova
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename iOVM_L1StandardBridge to IL1StandardBridge
parent
3887b4f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
IL1StandardBridge.sol
...es/contracts/contracts/L1/messaging/IL1StandardBridge.sol
+2
-2
OVM_L1StandardBridge.sol
...contracts/contracts/L1/messaging/OVM_L1StandardBridge.sol
+5
-5
OVM_L2StandardBridge.sol
...contracts/contracts/L2/messaging/OVM_L2StandardBridge.sol
+2
-2
No files found.
packages/contracts/contracts/L1/messaging/
iOVM_
L1StandardBridge.sol
→
packages/contracts/contracts/L1/messaging/
I
L1StandardBridge.sol
View file @
a1c899ff
...
@@ -5,9 +5,9 @@ pragma experimental ABIEncoderV2;
...
@@ -5,9 +5,9 @@ pragma experimental ABIEncoderV2;
import "./IL1ERC20Bridge.sol";
import "./IL1ERC20Bridge.sol";
/**
/**
* @title
iOVM_
L1StandardBridge
* @title
I
L1StandardBridge
*/
*/
interface
iOVM_
L1StandardBridge is IL1ERC20Bridge {
interface
I
L1StandardBridge is IL1ERC20Bridge {
/**********
/**********
* Events *
* Events *
...
...
packages/contracts/contracts/L1/messaging/OVM_L1StandardBridge.sol
View file @
a1c899ff
...
@@ -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 "./I
L1StandardBridge.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
I
L1StandardBridge, 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
I
L1StandardBridge
*/
*/
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
I
L1StandardBridge
*/
*/
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
I
L1StandardBridge
*/
*/
function finalizeETHWithdrawal(
function finalizeETHWithdrawal(
address _from,
address _from,
...
...
packages/contracts/contracts/L2/messaging/OVM_L2StandardBridge.sol
View file @
a1c899ff
...
@@ -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/I
L1StandardBridge.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,
I
L1StandardBridge.finalizeETHWithdrawal.selector,
_from,
_from,
_to,
_to,
_amount,
_amount,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment