Skip to content

Commit 9844c47

Browse files
[NO-JIRA] Copright notices for 1155 (#147)
* coprights for 1155 * update preset to MIT * revert
1 parent 4a5e0a4 commit 9844c47

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

contracts/token/erc1155/abstract/ERC1155Permit.Sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
// Copyright Immutable Pty Ltd 2018 - 2023
2+
// SPDX-License-Identifier: Apache 2.0
13
pragma solidity 0.8.19;
2-
// SPDX-License-Identifier: MIT
34

45
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
56
import "@openzeppelin/contracts/utils/cryptography/EIP712.sol";

contracts/token/erc1155/abstract/ImmutableERC1155Base.sol

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//SPDX-License-Identifier: Apache 2.0
1+
// Copyright Immutable Pty Ltd 2018 - 2023
2+
// SPDX-License-Identifier: Apache 2.0
23
pragma solidity 0.8.19;
34

45
import "../../../token/erc1155/abstract/ERC1155Permit.Sol";
@@ -106,7 +107,7 @@ abstract contract ImmutableERC1155Base is
106107
function revokeMinterRole(address user) public onlyRole(DEFAULT_ADMIN_ROLE) {
107108
revokeRole(MINTER_ROLE, user);
108109
}
109-
110+
110111
/**
111112
* @notice Override of setApprovalForAll from {ERC721}, with added Allowlist approval validation
112113
* @param operator The address to approve as an operator for the caller.
@@ -176,7 +177,7 @@ abstract contract ImmutableERC1155Base is
176177
function baseURI() public view virtual returns (string memory) {
177178
return _baseURI;
178179
}
179-
180+
180181
/**
181182
* @notice See {IERC1155MetadataURI-uri}.
182183
*
@@ -270,5 +271,5 @@ abstract contract ImmutableERC1155Base is
270271
super._safeBatchTransferFrom(from, to, ids, values, data);
271272
}
272273

273-
274+
274275
}

contracts/token/erc1155/preset/draft-ImmutableERC1155.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright Immutable Pty Ltd 2018 - 2023
12
// SPDX-License-Identifier: Apache 2.0
23
pragma solidity 0.8.19;
34

0 commit comments

Comments
 (0)