Skip to content

Commit

Permalink
Switch solidity license from Apache to MIT (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergekh2 authored May 20, 2024
1 parent 629cbcc commit 3a0c63d
Show file tree
Hide file tree
Showing 456 changed files with 7,875 additions and 6,601 deletions.
2 changes: 1 addition & 1 deletion contracts/scripts/common/DeployBase.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/common/DeployHelpers.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/common/Deployer.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/common/DiamondDeployer.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/common/Interaction.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/common/Migration.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/common/Upgrader.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployAccountFactory.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployAirdrop.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {Deployer} from "../common/Deployer.s.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployBaseRegistry.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployEntrypoint.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployFixedPricing.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployMember.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployMembership.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployMockNFT.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployProxyDelegation.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployRiverBase.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployRiverMainnet.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployRiverRegistry.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployRuleEntitlement.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {Deployer} from "../common/Deployer.s.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeploySpace.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeploySpaceFactory.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeploySpaceOwner.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

// interface
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployTieredLogPricing.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployUserEntitlement.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

import {Deployer} from "../common/Deployer.s.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/DeployWalletLink.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//contracts
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/facets/DeployArchitect.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/facets/DeployBanning.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/facets/DeployMetadata.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/deployments/facets/DeployOwnable.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/InteractAirdrop.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/InteractBanning.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/InteractBaseBridge.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/InteractDiamond.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/InteractPostDeploy.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/InteractRiverRegistry.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/InteractSpaceFactory.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/Migration_2024_04_17.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/Migration_2024_05_01.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
2 changes: 1 addition & 1 deletion contracts/scripts/interactions/Migration_2024_05_07.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
4 changes: 2 additions & 2 deletions contracts/scripts/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ For each contract being deployed, we create a script that will:
2. implements a `contractName()` and `__deploy()` function

```solidity
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

import { Deployer } from "./common/Deployer.s.sol";
Expand Down Expand Up @@ -113,7 +113,7 @@ SAVE_DEPLOYMENTS=1 make deploy-goerli contract=UpgradeSpaceImpl
# How to deploy predeterministic contracts?

```
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

//interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// interfaces
Expand Down
Loading

0 comments on commit 3a0c63d

Please sign in to comment.