From 4c16e61bf50ddae55eaab7a5c490da34350c9208 Mon Sep 17 00:00:00 2001 From: Lisandro Corbalan Date: Fri, 17 May 2024 11:25:53 -0300 Subject: [PATCH] MIT license --- LICENSE.md | 2 +- script/L1Adapter.s.sol | 2 +- script/L1AdapterRegister.s.sol | 2 +- script/L1Gateway.s.sol | 2 +- script/L1LockboxGateway.s.sol | 2 +- script/L2Gateway.s.sol | 2 +- script/L2LockboxGateway.s.sol | 2 +- script/XERC20/ERC20Register.s.sol | 2 +- script/XERC20/Lockbox.s.sol | 2 +- script/XERC20/XERC20.s.sol | 2 +- script/XERC20/XERC20Factory.s.sol | 2 +- script/utils/ArbERC20.sol | 2 +- script/utils/ICREATE3Factory.sol | 2 +- src/L1ArbitrumEnabledXERC20.sol | 2 +- src/L1LockboxGateway.sol | 2 +- src/L1XERC20Adapter.sol | 2 +- src/L1XERC20Gateway.sol | 2 +- src/L2ArbitrumEnabledXERC20.sol | 2 +- src/L2LockboxGateway.sol | 2 +- src/L2XERC20Gateway.sol | 2 +- src/XERC20BaseAdapter.sol | 2 +- src/XERC20BaseGateway.sol | 2 +- src/interfaces/IL1CustomGateway.sol | 2 +- src/interfaces/IL1GatewayRouter.sol | 2 +- src/interfaces/IXERC20Adapter.sol | 2 +- src/libraries/L1ArbitrumEnabled.sol | 2 +- test/L1XERC20AdapterTest.t.sol | 2 +- test/L1XERC20BaseGatewayTest.t.sol | 2 +- test/L1XERC20Gateway.t.sol | 2 +- test/L2LockboxGateway.t.sol | 2 +- test/L2XERC20Gateway.t.sol | 2 +- test/L2XERC20GatewayArbitrumCompatibleToken.t.sol | 2 +- test/XERC20BaseAdapterTest.t.sol | 2 +- test/forking/L1LockboxGateway.t.sol | 2 +- test/forking/L1XERC20Gateway.t.sol | 2 +- test/forking/L1XERC20GatewayArbitrumCompatibleToken.t.sol | 2 +- 36 files changed, 36 insertions(+), 36 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 0424fa0..8adc655 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Paul Razvan Berg +Copyright (c) 2024 Boot Node LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the diff --git a/script/L1Adapter.s.sol b/script/L1Adapter.s.sol index a35dc88..e7c01be 100644 --- a/script/L1Adapter.s.sol +++ b/script/L1Adapter.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/L1AdapterRegister.s.sol b/script/L1AdapterRegister.s.sol index b8e485a..d4568d5 100644 --- a/script/L1AdapterRegister.s.sol +++ b/script/L1AdapterRegister.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/L1Gateway.s.sol b/script/L1Gateway.s.sol index bc0315c..0ac7e1f 100644 --- a/script/L1Gateway.s.sol +++ b/script/L1Gateway.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/L1LockboxGateway.s.sol b/script/L1LockboxGateway.s.sol index a101d42..4dc9761 100644 --- a/script/L1LockboxGateway.s.sol +++ b/script/L1LockboxGateway.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/L2Gateway.s.sol b/script/L2Gateway.s.sol index dd50017..e9df532 100644 --- a/script/L2Gateway.s.sol +++ b/script/L2Gateway.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/L2LockboxGateway.s.sol b/script/L2LockboxGateway.s.sol index a0f2b77..b378cea 100644 --- a/script/L2LockboxGateway.s.sol +++ b/script/L2LockboxGateway.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/XERC20/ERC20Register.s.sol b/script/XERC20/ERC20Register.s.sol index 696d9fc..2d599ad 100644 --- a/script/XERC20/ERC20Register.s.sol +++ b/script/XERC20/ERC20Register.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/XERC20/Lockbox.s.sol b/script/XERC20/Lockbox.s.sol index 4a3f1cd..c5342c4 100644 --- a/script/XERC20/Lockbox.s.sol +++ b/script/XERC20/Lockbox.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/XERC20/XERC20.s.sol b/script/XERC20/XERC20.s.sol index 1f5b11f..3fafbe1 100644 --- a/script/XERC20/XERC20.s.sol +++ b/script/XERC20/XERC20.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/XERC20/XERC20Factory.s.sol b/script/XERC20/XERC20Factory.s.sol index 7732e21..8d38674 100644 --- a/script/XERC20/XERC20Factory.s.sol +++ b/script/XERC20/XERC20Factory.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Script } from "forge-std/Script.sol"; diff --git a/script/utils/ArbERC20.sol b/script/utils/ArbERC20.sol index f13e9e6..4d9907d 100644 --- a/script/utils/ArbERC20.sol +++ b/script/utils/ArbERC20.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { IL1CustomGateway } from "src/interfaces/IL1CustomGateway.sol"; diff --git a/script/utils/ICREATE3Factory.sol b/script/utils/ICREATE3Factory.sol index 63aef9d..7d6debb 100644 --- a/script/utils/ICREATE3Factory.sol +++ b/script/utils/ICREATE3Factory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; /// @title Factory for deploying contracts to deterministic addresses via CREATE3 diff --git a/src/L1ArbitrumEnabledXERC20.sol b/src/L1ArbitrumEnabledXERC20.sol index ce2a8c7..e90823e 100644 --- a/src/L1ArbitrumEnabledXERC20.sol +++ b/src/L1ArbitrumEnabledXERC20.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { XERC20 } from "xerc20/contracts/XERC20.sol"; diff --git a/src/L1LockboxGateway.sol b/src/L1LockboxGateway.sol index 20b9f7f..599eeee 100644 --- a/src/L1LockboxGateway.sol +++ b/src/L1LockboxGateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/src/L1XERC20Adapter.sol b/src/L1XERC20Adapter.sol index 4b16683..59d2350 100644 --- a/src/L1XERC20Adapter.sol +++ b/src/L1XERC20Adapter.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { XERC20BaseAdapter } from "src/XERC20BaseAdapter.sol"; diff --git a/src/L1XERC20Gateway.sol b/src/L1XERC20Gateway.sol index a55f62c..31385e1 100644 --- a/src/L1XERC20Gateway.sol +++ b/src/L1XERC20Gateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { L1CustomGateway } from "@arbitrum/tokenbridge/ethereum/gateway/L1CustomGateway.sol"; diff --git a/src/L2ArbitrumEnabledXERC20.sol b/src/L2ArbitrumEnabledXERC20.sol index 21d72ca..1508326 100644 --- a/src/L2ArbitrumEnabledXERC20.sol +++ b/src/L2ArbitrumEnabledXERC20.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { XERC20 } from "xerc20/contracts/XERC20.sol"; diff --git a/src/L2LockboxGateway.sol b/src/L2LockboxGateway.sol index 7f600f8..4fa8514 100644 --- a/src/L2LockboxGateway.sol +++ b/src/L2LockboxGateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { L2XERC20Gateway } from "src/L2XERC20Gateway.sol"; diff --git a/src/L2XERC20Gateway.sol b/src/L2XERC20Gateway.sol index 1531e0f..bd3d68f 100644 --- a/src/L2XERC20Gateway.sol +++ b/src/L2XERC20Gateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { Address } from "@openzeppelin/contracts/utils/Address.sol"; diff --git a/src/XERC20BaseAdapter.sol b/src/XERC20BaseAdapter.sol index 4c32f97..d8e685b 100644 --- a/src/XERC20BaseAdapter.sol +++ b/src/XERC20BaseAdapter.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; diff --git a/src/XERC20BaseGateway.sol b/src/XERC20BaseGateway.sol index 3679572..7bad129 100644 --- a/src/XERC20BaseGateway.sol +++ b/src/XERC20BaseGateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/src/interfaces/IL1CustomGateway.sol b/src/interfaces/IL1CustomGateway.sol index 9ae17af..ca496f1 100644 --- a/src/interfaces/IL1CustomGateway.sol +++ b/src/interfaces/IL1CustomGateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; /** diff --git a/src/interfaces/IL1GatewayRouter.sol b/src/interfaces/IL1GatewayRouter.sol index 2d31715..514120e 100644 --- a/src/interfaces/IL1GatewayRouter.sol +++ b/src/interfaces/IL1GatewayRouter.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; /** diff --git a/src/interfaces/IXERC20Adapter.sol b/src/interfaces/IXERC20Adapter.sol index 8d5bfcf..a24a088 100644 --- a/src/interfaces/IXERC20Adapter.sol +++ b/src/interfaces/IXERC20Adapter.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; /** diff --git a/src/libraries/L1ArbitrumEnabled.sol b/src/libraries/L1ArbitrumEnabled.sol index 658095e..c2dba10 100644 --- a/src/libraries/L1ArbitrumEnabled.sol +++ b/src/libraries/L1ArbitrumEnabled.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity 0.8.25; import { IL1CustomGateway } from "src/interfaces/IL1CustomGateway.sol"; diff --git a/test/L1XERC20AdapterTest.t.sol b/test/L1XERC20AdapterTest.t.sol index 534f730..88f33a7 100644 --- a/test/L1XERC20AdapterTest.t.sol +++ b/test/L1XERC20AdapterTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; // solhint-disable-next-line diff --git a/test/L1XERC20BaseGatewayTest.t.sol b/test/L1XERC20BaseGatewayTest.t.sol index d443a54..aa0c2a3 100644 --- a/test/L1XERC20BaseGatewayTest.t.sol +++ b/test/L1XERC20BaseGatewayTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Test } from "forge-std/Test.sol"; diff --git a/test/L1XERC20Gateway.t.sol b/test/L1XERC20Gateway.t.sol index 6e0fb28..d5e6602 100644 --- a/test/L1XERC20Gateway.t.sol +++ b/test/L1XERC20Gateway.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; // solhint-disable-next-line diff --git a/test/L2LockboxGateway.t.sol b/test/L2LockboxGateway.t.sol index 5c92eb0..64721ad 100644 --- a/test/L2LockboxGateway.t.sol +++ b/test/L2LockboxGateway.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; // solhint-disable-next-line diff --git a/test/L2XERC20Gateway.t.sol b/test/L2XERC20Gateway.t.sol index 8f3ea07..ac46f16 100644 --- a/test/L2XERC20Gateway.t.sol +++ b/test/L2XERC20Gateway.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Test } from "forge-std/Test.sol"; diff --git a/test/L2XERC20GatewayArbitrumCompatibleToken.t.sol b/test/L2XERC20GatewayArbitrumCompatibleToken.t.sol index 7ebd896..a4310f0 100644 --- a/test/L2XERC20GatewayArbitrumCompatibleToken.t.sol +++ b/test/L2XERC20GatewayArbitrumCompatibleToken.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; // solhint-disable-next-line diff --git a/test/XERC20BaseAdapterTest.t.sol b/test/XERC20BaseAdapterTest.t.sol index 00f2d90..688a10a 100644 --- a/test/XERC20BaseAdapterTest.t.sol +++ b/test/XERC20BaseAdapterTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Test } from "forge-std/Test.sol"; diff --git a/test/forking/L1LockboxGateway.t.sol b/test/forking/L1LockboxGateway.t.sol index 0311c45..147ecb5 100644 --- a/test/forking/L1LockboxGateway.t.sol +++ b/test/forking/L1LockboxGateway.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; import { Test } from "forge-std/Test.sol"; diff --git a/test/forking/L1XERC20Gateway.t.sol b/test/forking/L1XERC20Gateway.t.sol index 62fd421..0255655 100644 --- a/test/forking/L1XERC20Gateway.t.sol +++ b/test/forking/L1XERC20Gateway.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; // solhint-disable-next-line diff --git a/test/forking/L1XERC20GatewayArbitrumCompatibleToken.t.sol b/test/forking/L1XERC20GatewayArbitrumCompatibleToken.t.sol index 5f736b6..0234176 100644 --- a/test/forking/L1XERC20GatewayArbitrumCompatibleToken.t.sol +++ b/test/forking/L1XERC20GatewayArbitrumCompatibleToken.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity >=0.8.25 <0.9.0; // solhint-disable-next-line