-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b9218f
commit 05ee7c3
Showing
39 changed files
with
1,639 additions
and
1,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,15 @@ pragma solidity ^0.8.15; | |
/// @title Library DataTypes | ||
/// @custom:security-contact [email protected] | ||
library DataTypes { | ||
/// @dev typos of Roles into Keyper Modules | ||
/// @dev typos of Roles into Palmera Modules | ||
enum Role { | ||
SAFE_LEAD, | ||
SAFE_LEAD_EXEC_ON_BEHALF_ONLY, | ||
SAFE_LEAD_MODIFY_OWNERS_ONLY, | ||
SUPER_SAFE, | ||
ROOT_SAFE | ||
} | ||
/// @dev typos of squads into Keyper Modules | ||
/// @dev typos of squads into Palmera Modules | ||
enum Tier { | ||
SQUAD, // 0 | ||
ROOT, // 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ import {DataTypes} from "./DataTypes.sol"; | |
/// @title Library DataTypes | ||
/// @custom:security-contact [email protected] | ||
library Errors { | ||
/// @notice Error codes for the Keyper module | ||
/// @dev Errors Keyper Modules | ||
/// @notice Error codes for the Palmera module | ||
/// @dev Errors Palmera Modules | ||
/// @dev Error messages when the Org Hash (Dao's name) is not Registered | ||
error OrgNotRegistered(bytes32 org); | ||
/// @dev Error messages when the Squad(`squad`) is not Registered | ||
|
@@ -28,8 +28,8 @@ library Errors { | |
error CannotDisconnectedSafeBeforeRemoveChild(uint256 children); | ||
/// @dev Error messages when try to remove Squad before remove it's children, and show the Squad's children Squad Id's | ||
error CannotRemoveSquadBeforeRemoveChild(uint256 children); | ||
error CannotDisableKeyperModule(address module); | ||
error CannotDisableKeyperGuard(address guard); | ||
error CannotDisablePalmeraModule(address module); | ||
error CannotDisablePalmeraGuard(address guard); | ||
error SquadAlreadyRemoved(); | ||
/// @dev Error messages when the Caller is not Autorized to execute any action like Lead Safe | ||
error NotAuthorizedAsNotSafeLead(); | ||
|
@@ -46,7 +46,7 @@ library Errors { | |
error OwnerNotFound(); | ||
/// @dev Error messages the Owner Already Exist into the Safe Owners | ||
error OwnerAlreadyExists(); | ||
/// @dev Error messages when Fail try to create a new Safe with the Keyper Module Enabled | ||
/// @dev Error messages when Fail try to create a new Safe with the Palmera Module Enabled | ||
error CreateSafeProxyFailed(); | ||
/// @dev Error messages when Invalid Threshold is provided | ||
error InvalidThreshold(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.