Skip to content

Commit

Permalink
Add SPDX licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
shanefontaine committed May 18, 2021
1 parent 72b987e commit d47c0eb
Show file tree
Hide file tree
Showing 18 changed files with 34 additions and 1 deletion.
2 changes: 2 additions & 0 deletions contracts/bridges/HopBridgeToken.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/bridges/L1_ERC20_Bridge.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

Expand Down
2 changes: 2 additions & 0 deletions contracts/bridges/L1_ETH_Bridge.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

Expand Down
2 changes: 2 additions & 0 deletions contracts/interfaces/IWETH.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IWETH {
Expand Down
2 changes: 2 additions & 0 deletions contracts/interfaces/arbitrum/bridges/IEthERC20Bridge.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.11;

interface IEthERC20Bridge {
Expand Down
2 changes: 2 additions & 0 deletions contracts/interfaces/arbitrum/messengers/IArbSys.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

pragma solidity >=0.4.21 <0.7.0;

interface IArbSys {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// SPDX-License-Identifier: Apache-2.0

/*
Expand Down
2 changes: 2 additions & 0 deletions contracts/interfaces/polygon/bridges/IRootChainManager.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

interface IRootChainManager {
Expand Down
2 changes: 2 additions & 0 deletions contracts/interfaces/polygon/messengers/IPolygonFxChild.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

interface IPolygonFxChild {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

interface I_L1_PolygonMessenger {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

interface I_L2_PolygonMessengerProxy {
Expand Down
2 changes: 2 additions & 0 deletions contracts/interfaces/xDai/bridges/IForeignOmniBridge.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IForeignOmniBridge {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IArbitraryMessageBridge {
Expand Down
2 changes: 2 additions & 0 deletions contracts/test/arbitrum/MockEthERC20Bridge.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

contract MockEthERC20Bridge {
Expand Down
2 changes: 2 additions & 0 deletions contracts/test/polygon/MockRootChainManager.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

contract MockRootChainManager {
Expand Down
2 changes: 2 additions & 0 deletions contracts/test/polygon/Mock_L1_PolygonMessenger.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

contract Mock_L1_PolygonMessenger {
Expand Down
2 changes: 2 additions & 0 deletions contracts/test/xDai/MockForeignOmniBridge.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

contract MockForeignOmniBridge {
Expand Down
2 changes: 2 additions & 0 deletions contracts/test/xDai/Mock_L1_xDaiMessenger.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

contract Mock_L1_xDaiMessenger {
Expand Down

0 comments on commit d47c0eb

Please sign in to comment.