Skip to content

Commit

Permalink
Update EIP-4675: Fix SPDX license identifier (ethereum#5231)
Browse files Browse the repository at this point in the history
* Fix SPDX license identifier in EIP-4675

* Satisfy eth bot

* Delete SafeMath.sol
  • Loading branch information
Pandapip1 authored and nachomazzara committed Jan 13, 2023
1 parent 0ed11db commit 1620841
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 74 deletions.
1 change: 1 addition & 0 deletions EIPS/eip-4675.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,5 @@ If an arbitrary account has the right to call `setParentNFT()` there might be a
To prevent this issue, implementors should just allow **admin** to call, or fractionalize and receive NFT in an atomic transaction similar to flash loan(swap).

## Copyright

Copyright and related rights waived via [CC0](../LICENSE.md).
2 changes: 1 addition & 1 deletion assets/eip-4675/contracts/ERC20Token.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

import "./interface/IERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion assets/eip-4675/contracts/MFNFT.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

import "./interface/IMFNFT.sol";
Expand Down
2 changes: 1 addition & 1 deletion assets/eip-4675/contracts/NFT.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
Expand Down
2 changes: 1 addition & 1 deletion assets/eip-4675/contracts/helper/Verifier.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: ISC
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

contract Verifier {
Expand Down
2 changes: 1 addition & 1 deletion assets/eip-4675/contracts/interface/IERC20.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: ISC
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

/**
Expand Down
2 changes: 1 addition & 1 deletion assets/eip-4675/contracts/interface/IERC721.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: UNLICENSED
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

/**
Expand Down
2 changes: 1 addition & 1 deletion assets/eip-4675/contracts/interface/IMFNFT.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: ISC
// SPDX-License-Identifier: CC0-1.0
pragma solidity ^0.8.0;

interface IMFNFT {
Expand Down
66 changes: 0 additions & 66 deletions assets/eip-4675/contracts/math/SafeMath.sol

This file was deleted.

2 changes: 1 addition & 1 deletion assets/eip-4675/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"keywords": [],
"author": "",
"license": "ISC",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/PowerStream3604/multi-fnft/issues"
},
Expand Down

0 comments on commit 1620841

Please sign in to comment.