Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
2932a181
Unverified
Commit
2932a181
authored
Dec 13, 2024
by
fuder.eth
Committed by
GitHub
Dec 13, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: typos in documentation files (#13367)
* Update DeployOwnership.s.sol * Update Faucet.sol
parent
8bf7ff60
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
DeployOwnership.s.sol
...es/contracts-bedrock/scripts/deploy/DeployOwnership.s.sol
+1
-1
Faucet.sol
packages/contracts-bedrock/src/periphery/faucet/Faucet.sol
+4
-4
No files found.
packages/contracts-bedrock/scripts/deploy/DeployOwnership.s.sol
View file @
2932a181
...
...
@@ -145,7 +145,7 @@ contract DeployOwnership is Deploy {
/// @param _name The name of the Safe to deploy.
/// @param _owners The owners of the Safe.
/// @param _threshold The threshold of the Safe.
/// @param _keepDeployer Wether or not the deployer address will be added as an owner of the Safe.
/// @param _keepDeployer W
h
ether or not the deployer address will be added as an owner of the Safe.
function deploySafe(
string memory _name,
address[] memory _owners,
...
...
packages/contracts-bedrock/src/periphery/faucet/Faucet.sol
View file @
2932a181
...
...
@@ -55,8 +55,8 @@ contract Faucet {
/// @notice Maps from id to nonces to whether or not they have been used.
mapping(bytes32 => mapping(bytes32 => bool)) public nonces;
/// @notice Modifier that makes a function admin privile
d
ged.
modifier privile
d
ged() {
/// @notice Modifier that makes a function admin privileged.
modifier privileged() {
require(msg.sender == ADMIN, "Faucet: function can only be called by admin");
_;
}
...
...
@@ -74,14 +74,14 @@ contract Faucet {
/// @notice Allows the admin to withdraw funds.
/// @param _recipient Address to receive the funds.
/// @param _amount Amount of ETH in wei to withdraw.
function withdraw(address payable _recipient, uint256 _amount) public privile
d
ged {
function withdraw(address payable _recipient, uint256 _amount) public privileged {
new SafeSend{ value: _amount }(_recipient);
}
/// @notice Allows the admin to configure an authentication module.
/// @param _module Authentication module to configure.
/// @param _config Configuration to set for the module.
function configure(IFaucetAuthModule _module, ModuleConfig memory _config) public privile
d
ged {
function configure(IFaucetAuthModule _module, ModuleConfig memory _config) public privileged {
modules[_module] = _config;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment