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
bb1736e3
Commit
bb1736e3
authored
Nov 23, 2017
by
Alejandro Santander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change visibility of fallbacks to external
parent
c6e0edb2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Bounty.sol
contracts/Bounty.sol
+1
-1
Crowdsale.sol
contracts/crowdsale/Crowdsale.sol
+1
-1
SplitPaymentMock.sol
test/helpers/SplitPaymentMock.sol
+1
-1
No files found.
contracts/Bounty.sol
View file @
bb1736e3
...
...
@@ -18,7 +18,7 @@ contract Bounty is PullPayment, Destructible {
/**
* @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed.
*/
function()
public
payable {
function()
external
payable {
require(!claimed);
}
...
...
contracts/crowdsale/Crowdsale.sol
View file @
bb1736e3
...
...
@@ -61,7 +61,7 @@ contract Crowdsale {
// fallback function can be used to buy tokens
function ()
public
payable {
function ()
external
payable {
buyTokens(msg.sender);
}
...
...
test/helpers/SplitPaymentMock.sol
View file @
bb1736e3
...
...
@@ -6,5 +6,5 @@ import '../../contracts/payment/SplitPayment.sol';
contract SplitPaymentMock is SplitPayment {
function SplitPaymentMock(address[] _payees, uint256[] _shares) public
SplitPayment(_payees, _shares) payable {}
function ()
public
payable {}
function ()
external
payable {}
}
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