Skip to content

Commit

Permalink
add SPDX-License-Identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
vittominacori committed May 15, 2020
1 parent 6c31443 commit c2d6860
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 5 deletions.
2 changes: 1 addition & 1 deletion buidler.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
},
},
solc: {
version: '0.6.7',
version: '0.6.8',
optimizer: {
enabled: true,
runs: 200,
Expand Down
2 changes: 2 additions & 0 deletions contracts/examples/ERC1363PayableCrowdsale.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 "@openzeppelin/contracts/token/ERC20/IERC20.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC1363Mock.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/ERC1363/ERC1363.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC1363PayableMock.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 "@openzeppelin/contracts/math/SafeMath.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC1363ReceiverMock.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/ERC1363/IERC1363Receiver.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/mocks/ERC1363SpenderMock.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/ERC1363/IERC1363Spender.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 "@openzeppelin/contracts/token/ERC20/ERC20.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/payment/ERC1363Payable.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/ERC1363/IERC1363.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/token/ERC1363/ERC1363.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 "./IERC1363.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/token/ERC1363/IERC1363.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 "@openzeppelin/contracts/token/ERC20/IERC20.sol";
Expand Down
2 changes: 2 additions & 0 deletions contracts/token/ERC1363/IERC1363Receiver.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/token/ERC1363/IERC1363Spender.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: 1 addition & 1 deletion ethpm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"package_name": "erc-payable-token",
"version": "3.0.4",
"version": "3.0.5",
"description": "ERC-1363 Payable Token Implementation",
"authors": [
"Vittorio Minacori (https://github.com/vittominacori)"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "erc-payable-token",
"version": "3.0.4",
"version": "3.0.5",
"description": "ERC-1363 Payable Token Implementation",
"files": [
"contracts",
Expand Down Expand Up @@ -67,7 +67,7 @@
"pify": "^5.0.0",
"solhint": "^3.0.0",
"solidity-coverage": "^0.7.5",
"truffle": "^5.1.25",
"truffle": "^5.1.26",
"vuepress": "^0.14.11",
"web3": "^1.2.7"
}
Expand Down
2 changes: 1 addition & 1 deletion truffle-config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('chai/register-should');

const solcStable = {
version: '0.6.7',
version: '0.6.8',
settings: {
optimizer: {
enabled: true,
Expand Down

0 comments on commit c2d6860

Please sign in to comment.