Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing MIT license to most files #345

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contracts/dnsregistrar/PublicSuffixList.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface PublicSuffixList {
Expand Down
1 change: 1 addition & 0 deletions contracts/dnsregistrar/SimplePublicSuffixList.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
pragma experimental ABIEncoderV2;

Expand Down
1 change: 1 addition & 0 deletions contracts/dnsregistrar/TLDPublicSuffixList.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../dnssec-oracle/BytesUtils.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/dnsregistrar/mocks/DummyParser.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../../dnssec-oracle/BytesUtils.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/BytesUtils.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

library BytesUtils {
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/Owned.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/RRUtils.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./BytesUtils.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/algorithms/Algorithm.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/algorithms/EllipticCurve.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/algorithms/ModexpPrecompile.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

library ModexpPrecompile {
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/algorithms/P256SHA256Algorithm.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./Algorithm.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/algorithms/RSASHA1Algorithm.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./Algorithm.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/algorithms/RSASHA256Algorithm.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./Algorithm.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/algorithms/RSAVerify.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../BytesUtils.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/digests/Digest.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/digests/SHA1Digest.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./Digest.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/dnssec-oracle/digests/SHA256Digest.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./Digest.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/ethregistrar/BaseRegistrarImplementation.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;

import "../registry/ENS.sol";
Expand Down
3 changes: 3 additions & 0 deletions contracts/ethregistrar/IBaseRegistrar.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity ~0.8.17;

import "../registry/ENS.sol";
import "./IBaseRegistrar.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
Expand Down
3 changes: 3 additions & 0 deletions contracts/ethregistrar/IBulkRenewal.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity ~0.8.17;

interface IBulkRenewal {
function rentPrice(
string[] calldata names,
Expand Down
1 change: 1 addition & 0 deletions contracts/ethregistrar/StringUtils.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;

library StringUtils {
Expand Down
1 change: 1 addition & 0 deletions contracts/registry/ENS.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;

interface ENS {
Expand Down
1 change: 1 addition & 0 deletions contracts/registry/ENSRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;

import "./ENS.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/resolvers/OwnedResolver.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./profiles/ABIResolver.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/reverseRegistrar/IReverseRegistrar.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;

interface IReverseRegistrar {
Expand Down
1 change: 1 addition & 0 deletions contracts/reverseRegistrar/ReverseRegistrar.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.4;

import "../registry/ENS.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/root/Controllable.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
Expand Down
1 change: 1 addition & 0 deletions contracts/root/Ownable.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

contract Ownable {
Expand Down
1 change: 1 addition & 0 deletions contracts/root/Root.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../registry/ENS.sol";
Expand Down
1 change: 1 addition & 0 deletions test/dnssec-oracle/TestBytesUtils.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../../contracts/dnssec-oracle/RRUtils.sol";
Expand Down
1 change: 1 addition & 0 deletions test/dnssec-oracle/TestRRUtils.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "../../contracts/dnssec-oracle/RRUtils.sol";
Expand Down