Skip to content

Commit

Permalink
docs: update license to PPL
Browse files Browse the repository at this point in the history
  • Loading branch information
daopunk committed Dec 7, 2024
1 parent ec89c57 commit 3ec7369
Show file tree
Hide file tree
Showing 14 changed files with 111 additions and 25 deletions.
96 changes: 91 additions & 5 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,4 @@ Also, remember to update the `package_name` param to your package name:
You can take a look at our [solidity-exporter-action](https://github.com/defi-wonderland/solidity-exporter-action) repository for more information and usage examples.

## Licensing
The primary license for the boilerplate is MIT, see [`LICENSE`](https://github.com/defi-wonderland/solidity-foundry-boilerplate/blob/main/LICENSE)
The primary license for the boilerplate is PPL, see [`LICENSE`](https://github.com/defi-wonderland/solidity-foundry-boilerplate/blob/main/LICENSE)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"type": "git",
"url": "git+https://github.com/defi-wonderland/solidity-foundry-boilerplate.git"
},
"license": "MIT",
"author": "Wonderland",
"license": "PPL",
"author": "Breadchain, fork ofWonderland",
"scripts": {
"build": "forge build",
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
Expand Down
4 changes: 2 additions & 2 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
forge-std/=node_modules/forge-std/src
halmos-cheatcodes=node_modules/halmos-cheatcodes

@openzeppelin/=node_modules/@openzeppelin/contracts/
@openzeppelin-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/
@oz/=node_modules/@openzeppelin/contracts/
@oz-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/

contracts/=src/contracts
interfaces/=src/interfaces
4 changes: 2 additions & 2 deletions script/Common.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {IERC20} from '@openzeppelin/token/ERC20/IERC20.sol';
import {IERC20} from '@oz/token/ERC20/IERC20.sol';
import {Greeter, IGreeter} from 'contracts/Greeter.sol';
import {Script} from 'forge-std/Script.sol';
// solhint-disable-next-line
Expand Down
2 changes: 1 addition & 1 deletion script/Deploy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {Common} from 'script/Common.sol';
Expand Down
2 changes: 1 addition & 1 deletion script/Registry.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

/// @dev Example of addresses that may be stored in the Registry for use throughout the repository
Expand Down
4 changes: 2 additions & 2 deletions src/contracts/Greeter.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {IERC20} from '@openzeppelin/token/ERC20/IERC20.sol';
import {IERC20} from '@oz/token/ERC20/IERC20.sol';
import {IGreeter} from 'interfaces/IGreeter.sol';

contract Greeter is IGreeter {
Expand Down
4 changes: 2 additions & 2 deletions src/interfaces/IGreeter.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {IERC20} from '@openzeppelin/token/ERC20/IERC20.sol';
import {IERC20} from '@oz/token/ERC20/IERC20.sol';

/**
* @title Greeter Contract
Expand Down
2 changes: 1 addition & 1 deletion test/integration/Greeter.t.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {IntegrationBase} from 'test/integration/IntegrationBase.sol';
Expand Down
4 changes: 2 additions & 2 deletions test/integration/IntegrationBase.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {IERC20} from '@openzeppelin/token/ERC20/IERC20.sol';
import {IERC20} from '@oz/token/ERC20/IERC20.sol';
import {Test} from 'forge-std/Test.sol';
import {Common} from 'script/Common.sol';
// solhint-disable-next-line
Expand Down
2 changes: 1 addition & 1 deletion test/invariants/fuzz/Greeter.t.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: UNLICENSED
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {Greeter, IERC20} from 'contracts/Greeter.sol';
Expand Down
2 changes: 1 addition & 1 deletion test/invariants/symbolic/Greeter.t.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: UNLICENSED
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {Greeter, IERC20} from 'contracts/Greeter.sol';
Expand Down
4 changes: 2 additions & 2 deletions test/unit/Greeter.t.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
// SPDX-License-Identifier: PPL
pragma solidity 0.8.23;

import {IERC20} from '@openzeppelin/token/ERC20/IERC20.sol';
import {IERC20} from '@oz/token/ERC20/IERC20.sol';
import {Greeter, IGreeter} from 'contracts/Greeter.sol';
import {Test} from 'forge-std/Test.sol';

Expand Down

0 comments on commit 3ec7369

Please sign in to comment.