Skip to content

Commit 0277f45

Browse files
committed
Added Compose header to all Solidity files
1 parent 12b5019 commit 0277f45

File tree

129 files changed

+516
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+516
-0
lines changed

script/ERC20.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity ^0.8.13;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
import {Script} from "forge-std/Script.sol";
59
import {ERC20Facet} from "../src/token/ERC20/ERC20/ERC20Facet.sol";
610

src/access/AccessControl/AccessControlFacet.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
contract AccessControlFacet {
59
/**
610
* @notice Emitted when the admin role for a role is changed.

src/access/AccessControl/AccessControlMod.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
/**
59
* @notice Emitted when the admin role for a role is changed.
610
* @param _role The role that was changed.

src/access/AccessControlPausable/AccessControlPausableFacet.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
contract AccessControlPausableFacet {
59
/**
610
* @notice Event emitted when a role is paused.

src/access/AccessControlPausable/AccessControlPausableMod.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
/**
59
* @notice Event emitted when a role is paused.
610
* @param _role The role that was paused.

src/access/AccessControlTemporal/AccessControlTemporalFacet.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
contract AccessControlTemporalFacet {
59
/**
610
* @notice Event emitted when a role is granted with an expiry timestamp.

src/access/AccessControlTemporal/AccessControlTemporalMod.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
/**
59
* @notice Event emitted when a role is granted with an expiry timestamp.
610
* @param _role The role that was granted.

src/access/Owner/OwnerFacet.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
/**
59
* @title ERC-173 Contract Ownership
610
*/

src/access/Owner/OwnerMod.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
/*
59
* @title ERC-173 Contract Ownership
610
* @notice Provides internal functions and storage layout for owner management.

src/access/OwnerTwoSteps/OwnerTwoStepsFacet.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity >=0.8.30;
33

4+
/* Compose
5+
* https://compose.diamonds
6+
*/
7+
48
/**
59
* @title ERC-173 Two-Step Contract Ownership
610
*/

0 commit comments

Comments
 (0)