-
Notifications
You must be signed in to change notification settings - Fork 23
Auction4Reputation.sol : Fix time restriction. #607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,21 +3,9 @@ pragma solidity ^0.5.4; | |
import "./UniversalSchemeInterface.sol"; | ||
import "../controller/ControllerInterface.sol"; | ||
import "../controller/Avatar.sol"; | ||
import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; | ||
|
||
|
||
contract UniversalScheme is Ownable, UniversalSchemeInterface { | ||
bytes32 public hashedParameters; // For other parameters. | ||
|
||
function updateParameters( | ||
bytes32 _hashedParameters | ||
) | ||
public | ||
onlyOwner | ||
{ | ||
hashedParameters = _hashedParameters; | ||
} | ||
|
||
contract UniversalScheme is UniversalSchemeInterface { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So all schemes are affected, not just the bootstrapping. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. right |
||
/** | ||
* @dev get the parameters for the current scheme from the controller | ||
*/ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ import "../controller/Avatar.sol"; | |
|
||
contract UniversalSchemeInterface { | ||
|
||
function updateParameters(bytes32 _hashedParameters) public; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing this function appears to address #387. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. right |
||
|
||
function getParametersFromController(Avatar _avatar) internal view returns(bytes32); | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious: What is the use case for removing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initialize function can be called one time only .
So no need to set onlyOwner