Skip to content

Commit

Permalink
Add SPX license identifier (#2235)
Browse files Browse the repository at this point in the history
(cherry picked from commit 56de324)
  • Loading branch information
nventuro committed Jun 8, 2020
1 parent 087d314 commit fac773a
Show file tree
Hide file tree
Showing 100 changed files with 200 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/GSN/Context.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

import "../utils/EnumerableSet.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/access/Ownable.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/cryptography/ECDSA.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.2;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

import "../access/AccessControl.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/AddressImpl.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/Address.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ArraysImpl.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/Arrays.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ConditionalEscrowMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../payment/escrow/ConditionalEscrow.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ContextMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/CountersImpl.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/Counters.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/Create2Impl.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/Create2.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ECDSAMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../cryptography/ECDSA.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC165/ERC165InterfacesSupported.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../../introspection/IERC165.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC165/ERC165NotSupported.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 ERC165NotSupported { }
2 changes: 2 additions & 0 deletions contracts/mocks/ERC165CheckerMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../introspection/ERC165Checker.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC165Mock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../introspection/ERC165.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC1820ImplementerMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../introspection/ERC1820Implementer.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC20BurnableMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC777SenderRecipientMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/EnumerableMapMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/EnumerableMap.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/EnumerableSetMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/EnumerableSet.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/EtherReceiverMock.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 EtherReceiverMock {
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/GSNRecipientERC20FeeMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/GSNRecipient.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/GSNRecipientMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

import "../GSN/GSNRecipient.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/MathMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../math/Math.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/MerkleProofWrapper.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import { MerkleProof } from "../cryptography/MerkleProof.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/OwnableMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../access/Ownable.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/PausableMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/Pausable.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/PullPaymentMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../payment/PullPayment.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ReentrancyAttack.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ReentrancyMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/ReentrancyGuard.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/SafeCastMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/SafeCast.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/SafeERC20Helper.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/SafeMathMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../math/SafeMath.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/SignedSafeMathMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../math/SignedSafeMath.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/StringsMock.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../utils/Strings.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/payment/PaymentSplitter.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../GSN/Context.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/payment/PullPayment.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

import "./escrow/Escrow.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/payment/escrow/ConditionalEscrow.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "./Escrow.sol";
Expand Down
Loading

0 comments on commit fac773a

Please sign in to comment.