Skip to content
This repository was archived by the owner on Dec 5, 2021. It is now read-only.

Commit e90dacd

Browse files
committed
Update packages
1 parent 8424d2e commit e90dacd

12 files changed

Lines changed: 45 additions & 329 deletions

File tree

packages/omgx/wallet/contracts/ChainlinkERC20.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: MIT
2-
pragma solidity >0.6.0 <0.8.0;
2+
pragma solidity >0.5.0;
33

44
/**
55
* @title ERC20

packages/omgx/wallet/contracts/ERC20.sol

Lines changed: 0 additions & 254 deletions
This file was deleted.

packages/omgx/wallet/contracts/ERC721Mock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: MIT
2+
pragma solidity >0.5.0;
23

3-
pragma solidity >=0.7.6;
44
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
55
import "@openzeppelin/contracts/access/Ownable.sol";
66

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// SPDX-License-Identifier: MIT
2+
pragma solidity >0.5.0;
3+
4+
import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
5+
6+
/**
7+
* @title ERC20
8+
* @dev A super simple ERC20 implementation!
9+
*/
10+
contract L1ERC20 is ERC20 {
11+
constructor(
12+
uint256 _initialSupply,
13+
string memory _tokenName,
14+
string memory _tokenSymbol
15+
)
16+
public
17+
ERC20(
18+
_tokenName,
19+
_tokenSymbol
20+
)
21+
{
22+
_mint(msg.sender, _initialSupply);
23+
}
24+
}

packages/omgx/wallet/contracts/L1ERC20Gateway.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ pragma solidity >0.5.0 <0.8.0;
44
pragma experimental ABIEncoderV2;
55

66
/* Interface Imports */
7-
import { OVM_L1ERC20Gateway } from "omgx_contracts/build/contracts/OVM/bridge/tokens/OVM_L1ERC20Gateway.sol";
8-
import { iOVM_ERC20 } from "omgx_contracts/build/contracts/iOVM/predeploys/iOVM_ERC20.sol";
7+
import { OVM_L1ERC20Gateway } from "@eth-optimism/contracts/OVM/bridge/tokens/OVM_L1ERC20Gateway.sol";
8+
import { iOVM_ERC20 } from "@eth-optimism/contracts/iOVM/predeploys/iOVM_ERC20.sol";
99

1010
/**
1111
* @title OVM_L1ERC20Gateway

packages/omgx/wallet/contracts/L2DepositedERC20.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pragma solidity >0.5.0 <0.8.0;
33
pragma experimental ABIEncoderV2;
44

55
/* Library Imports */
6-
import { OVM_L2DepositedERC20 } from "omgx_contracts/build/contracts/OVM/bridge/tokens/OVM_L2DepositedERC20.sol";
6+
import { OVM_L2DepositedERC20 } from "@eth-optimism/contracts/OVM/bridge/tokens/OVM_L2DepositedERC20.sol";
77

88
/**
99
* @title L2DepositedERC20

packages/omgx/wallet/contracts/LP/L1LiquidityPool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pragma experimental ABIEncoderV2;
66
import "./interfaces/iL2LiquidityPool.sol";
77

88
/* Library Imports */
9-
import "omgx_contracts/build/contracts/libraries/bridge/OVM_CrossDomainEnabled.sol";
9+
import "@eth-optimism/contracts/libraries/bridge/OVM_CrossDomainEnabled.sol";
1010

1111
/* External Imports */
1212
import '@openzeppelin/contracts/math/SafeMath.sol';

packages/omgx/wallet/contracts/LP/L2LiquidityPool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pragma solidity >0.5.0;
44
import "./interfaces/iL1LiquidityPool.sol";
55

66
/* Library Imports */
7-
import "omgx_contracts/build/contracts/libraries/bridge/OVM_CrossDomainEnabled.sol";
7+
import "@eth-optimism/contracts/libraries/bridge/OVM_CrossDomainEnabled.sol";
88

99
/* External Imports */
1010
import '@openzeppelin/contracts/math/SafeMath.sol';

packages/omgx/wallet/contracts/interfaces/IERC20.sol

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)