-
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.
FIX: eliminate all reference to gnosis
- Loading branch information
1 parent
49ed6d4
commit b169a4a
Showing
35 changed files
with
775 additions
and
868 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ pragma solidity ^0.8.15; | |
/// @title Library Constants | ||
/// @custom:security-contact [email protected] | ||
library Constants { | ||
// Sentinel Owners for Gnosis Safe | ||
// Sentinel Owners for Safe | ||
address internal constant SENTINEL_ADDRESS = address(0x1); | ||
// keccak256( | ||
// "EIP712Domain(uint256 chainId,address verifyingContract)" | ||
|
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,10 +4,10 @@ pragma solidity ^0.8.15; | |
/// @title Library Events | ||
/// @custom:security-contact [email protected] | ||
library Events { | ||
/// @dev Event Fire when create a new Organization | ||
/// @param creator Address of the creator | ||
/// @param org Hash(DAO's name) | ||
/// @param name String name of the organization | ||
/// @dev Event Fire when create a new Organization | ||
/// @param creator Address of the creator | ||
/// @param org Hash(DAO's name) | ||
/// @param name String name of the organization | ||
event OrganizationCreated( | ||
address indexed creator, | ||
bytes32 indexed org, | ||
|
@@ -75,7 +75,7 @@ library Events { | |
bool result | ||
); | ||
|
||
/// @dev Event Fire when any Gnosis Safe enable the Keyper Module | ||
/// @dev Event Fire when any Safe enable the Keyper Module | ||
event ModuleEnabled(address indexed safe, address indexed module); | ||
|
||
/// @dev Event Fire when any Root Safe create a new Root Safe | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ import {GnosisSafeProxyFactory} from | |
"@safe-contracts/proxies/GnosisSafeProxyFactory.sol"; | ||
import {GnosisSafe} from "@safe-contracts/GnosisSafe.sol"; | ||
|
||
/// Deployement of Gnosis Safe contracts, KeyperRoles and KeyperModule | ||
/// Deployement of Safe contracts, KeyperRoles and KeyperModule | ||
/// @custom:security-contact [email protected] | ||
contract DeployKeyperEnv is Script { | ||
function run() public { | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ import "test/mocks/MockedContract.t.sol"; | |
import {CREATE3Factory} from "@create3/CREATE3Factory.sol"; | ||
import "@solenv/Solenv.sol"; | ||
|
||
/// Deployement of Gnosis Safe contracts, KeyperRoles and KeyperModule | ||
/// Deployement of Safe contracts, KeyperRoles and KeyperModule | ||
/// @custom:security-contact [email protected] | ||
contract DeployModuleWithMockedSafe is Script { | ||
function run() public { | ||
|
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 |
---|---|---|
|
@@ -14,21 +14,21 @@ import {IProxyCreationCallback} from | |
/// @custom:security-contact [email protected] | ||
contract DeploySafeFactory is Script { | ||
GnosisSafeProxyFactory public proxyFactory; | ||
GnosisSafe public gnosisSafeContract; | ||
GnosisSafe public safeContract; | ||
GnosisSafeProxy safeProxy; | ||
|
||
// Deploys a GnosisSafeProxyFactory & GnosisSafe contract | ||
function run() public { | ||
vm.startBroadcast(); | ||
proxyFactory = new GnosisSafeProxyFactory(); | ||
gnosisSafeContract = new GnosisSafe(); | ||
safeContract = new GnosisSafe(); | ||
vm.stopBroadcast(); | ||
} | ||
|
||
function newSafeProxy(bytes memory initializer) public returns (address) { | ||
uint256 nonce = uint256(keccak256(initializer)); | ||
safeProxy = proxyFactory.createProxyWithNonce( | ||
address(gnosisSafeContract), initializer, nonce | ||
address(safeContract), initializer, nonce | ||
); | ||
return address(safeProxy); | ||
} | ||
|
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.