Skip to content

Commit 57f7dc4

Browse files
committed
rename gnosissafe to safe
1 parent 7126451 commit 57f7dc4

Some content is hidden

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

50 files changed

+108
-110
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
contract-name: ["GnosisSafeL2"]
41+
contract-name: ["SafeL2"]
4242
env:
4343
SAFE_CONTRACT_UNDER_TEST: ${{ matrix.contract-name }}
4444
steps:
@@ -78,4 +78,4 @@ jobs:
7878
with:
7979
path: "**/node_modules"
8080
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
81-
- run: (yarn --frozen-lockfile && yarn build && yarn hardhat codesize --contractname GnosisSafe && yarn benchmark) || echo "Benchmark failed"
81+
- run: (yarn --frozen-lockfile && yarn build && yarn hardhat codesize --contractname Safe && yarn benchmark) || echo "Benchmark failed"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import "@nomiclabs/hardhat-ethers";
22
import { setupBenchmarkContracts } from "./utils/setup"
33

44
const contractSetup = setupBenchmarkContracts(undefined, true)
5-
describe("GnosisSafe", async () => {
5+
describe("Safe", async () => {
66
it("creation", async () => {
77
await contractSetup()
88
})
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import "./common/SignatureDecoder.sol";
1111
import "./common/SecuredTokenTransfer.sol";
1212
import "./common/StorageAccessible.sol";
1313
import "./interfaces/ISignatureValidator.sol";
14-
import "./external/GnosisSafeMath.sol";
14+
import "./external/SafeMath.sol";
1515

16-
/// @title Gnosis Safe - A multisignature wallet with support for confirmations using signed messages based on ERC191.
16+
/// @title Safe - A multisignature wallet with support for confirmations using signed messages based on ERC191.
1717
/// @author Stefan George - <stefan@gnosis.io>
1818
/// @author Richard Meissner - <richard@gnosis.io>
19-
contract GnosisSafe is
19+
contract Safe is
2020
EtherPaymentFallback,
2121
Singleton,
2222
ModuleManager,
@@ -28,7 +28,7 @@ contract GnosisSafe is
2828
StorageAccessible,
2929
GuardManager
3030
{
31-
using GnosisSafeMath for uint256;
31+
using SafeMath for uint256;
3232

3333
string public constant VERSION = "1.3.0";
3434

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// SPDX-License-Identifier: LGPL-3.0-only
22
pragma solidity >=0.7.0 <0.9.0;
33

4-
import "./GnosisSafe.sol";
4+
import "./Safe.sol";
55

6-
/// @title Gnosis Safe - A multisignature wallet with support for confirmations using signed messages based on ERC191.
6+
/// @title Safe - A multisignature wallet with support for confirmations using signed messages based on ERC191.
77
/// @author Stefan George - <stefan@gnosis.io>
88
/// @author Richard Meissner - <richard@gnosis.io>
9-
contract GnosisSafeL2 is GnosisSafe {
9+
contract SafeL2 is Safe {
1010
event SafeMultiSigTransaction(
1111
address to,
1212
uint256 value,

contracts/common/Singleton.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pragma solidity >=0.7.0 <0.9.0;
33

44
/// @title Singleton - Base for singleton contracts (should always be first super contract)
5-
/// This contract is tightly coupled to our proxy contract (see `proxies/GnosisSafeProxy.sol`)
5+
/// This contract is tightly coupled to our proxy contract (see `proxies/SafeProxy.sol`)
66
/// @author Richard Meissner - <richard@gnosis.io>
77
contract Singleton {
88
// singleton always needs to be first declared variable, to ensure that it is at the same location as in the Proxy contract.

contracts/examples/guards/DebugTransactionGuard.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pragma solidity >=0.7.0 <0.9.0;
33

44
import "../../common/Enum.sol";
55
import "../../base/GuardManager.sol";
6-
import "../../GnosisSafe.sol";
6+
import "../../Safe.sol";
77

88
/// @title Debug Transaction Guard - A guard that will emit events with extended information.
99
/// @notice This guard is only meant as a development tool and example
@@ -48,7 +48,7 @@ contract DebugTransactionGuard is BaseGuard {
4848
uint256 nonce;
4949
bytes32 txHash;
5050
{
51-
GnosisSafe safe = GnosisSafe(payable(msg.sender));
51+
Safe safe = Safe(payable(msg.sender));
5252
nonce = safe.nonce() - 1;
5353
txHash = safe.getTransactionHash(to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, nonce);
5454
}

0 commit comments

Comments
 (0)