-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5cc3546
commit c4fad92
Showing
5 changed files
with
396 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
pragma solidity ^0.4.18; | ||
pragma solidity ^0.4.21; | ||
|
||
interface StorageInterface { | ||
|
||
function transferOwnership (address newOwner) public; // Owners only: revoke access from the calling account and grant access to newOwner | ||
function grantAccess (address newOwner) public; // Owners only: just grant access to newOwner without revoking the access from the current owner | ||
function revokeAccess (address previousOwner) public; // Just revoke access from the current owner | ||
function isOwner (address addr) public view returns(bool); | ||
function getUint (bytes32 record) public view returns (uint); | ||
function getString (bytes32 record) public view returns (string); | ||
function getAddress (bytes32 record) public view returns (address); | ||
function getBytes (bytes32 record) public view returns (bytes); | ||
function getBoolean (bytes32 record) public view returns (bool); | ||
function getInt (bytes32 record) public view returns (int); | ||
function setString (bytes32 record, string value) public; | ||
function setUint (bytes32 record, uint value) public; | ||
function setAddress (bytes32 record, address value) public; | ||
function setBytes (bytes32 record, bytes value) public; | ||
function setBoolean (bytes32 record, bool value) public; | ||
function setInt (bytes32 record, int value) public; | ||
function transferOwnership (address newOwner) external; // Owners only: revoke access from the calling account and grant access to newOwner | ||
function grantAccess (address newOwner) external; // Owners only: just grant access to newOwner without revoking the access from the current owner | ||
function revokeAccess (address previousOwner) external; // Just revoke access from the current owner | ||
function isOwner (address addr) external view returns(bool); | ||
function getUint (bytes32 record) external view returns (uint); | ||
function getString (bytes32 record) external view returns (string); | ||
function getAddress (bytes32 record) external view returns (address); | ||
function getBytes (bytes32 record) external view returns (bytes); | ||
function getBoolean (bytes32 record) external view returns (bool); | ||
function getInt (bytes32 record) external view returns (int); | ||
function setString (bytes32 record, string value) external; | ||
function setUint (bytes32 record, uint value) external; | ||
function setAddress (bytes32 record, address value) external; | ||
function setBytes (bytes32 record, bytes value) external; | ||
function setBoolean (bytes32 record, bool value) external; | ||
function setInt (bytes32 record, int value) external; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.