Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
俞永鹏
openzeppelin-contracts-upgradeable
Commits
9638ecd8
Commit
9638ecd8
authored
Aug 01, 2018
by
Nicolás Venturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fix.
parent
56735a70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HasNoEther.sol
contracts/ownership/HasNoEther.sol
+2
-2
No files found.
contracts/ownership/HasNoEther.sol
View file @
9638ecd8
...
@@ -7,7 +7,7 @@ import "./Ownable.sol";
...
@@ -7,7 +7,7 @@ import "./Ownable.sol";
* @title Contracts that should not own Ether
* @title Contracts that should not own Ether
* @author Remco Bloemen <remco@2π.com>
* @author Remco Bloemen <remco@2π.com>
* @dev This tries to block incoming ether to prevent accidental loss of Ether. Should Ether end up
* @dev This tries to block incoming ether to prevent accidental loss of Ether. Should Ether end up
* in the contract, it will allow the owner to reclaim this
e
ther.
* in the contract, it will allow the owner to reclaim this
E
ther.
* @notice Ether can still be sent to this contract by:
* @notice Ether can still be sent to this contract by:
* calling functions labeled `payable`
* calling functions labeled `payable`
* `selfdestruct(contract_address)`
* `selfdestruct(contract_address)`
...
@@ -27,7 +27,7 @@ contract HasNoEther is Ownable {
...
@@ -27,7 +27,7 @@ contract HasNoEther is Ownable {
}
}
/**
/**
* @dev Disallows direct send by setting
s
a default function without the `payable` flag.
* @dev Disallows direct send by setting a default function without the `payable` flag.
*/
*/
function() external {
function() external {
}
}
...
...
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