Skip to content

Commit 24159f8

Browse files
committed
define operations as interface
1 parent 6ccf997 commit 24159f8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

contracts/Operations.sol

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
pragma solidity ^0.4.22;
1818

1919

20-
contract Operations {
20+
interface Operations {
2121
/// Tracks
2222
// STABLE = 1;
2323
// BETA = 2;
@@ -47,36 +47,36 @@ contract Operations {
4747
uint24 _semver,
4848
bool _critical
4949
)
50-
public;
50+
external;
5151

5252
function addChecksum(bytes32 _release, bytes32 _platform, bytes32 _checksum)
53-
public;
53+
external;
5454

5555
function setClientOwner(address _newOwner)
56-
public;
56+
external;
5757

5858
function isLatest(bytes32 _client, bytes32 _release)
59-
public
59+
external
6060
view
6161
returns (bool);
6262

6363
function track(bytes32 _client, bytes32 _release)
64-
public
64+
external
6565
view
6666
returns (uint8);
6767

6868
function latestInTrack(bytes32 _client, uint8 _track)
69-
public
69+
external
7070
view
7171
returns (bytes32);
7272

7373
function build(bytes32 _client, bytes32 _checksum)
74-
public
74+
external
7575
view
7676
returns (bytes32 o_release, bytes32 o_platform);
7777

7878
function release(bytes32 _client, bytes32 _release)
79-
public
79+
external
8080
view
8181
returns (
8282
uint32 o_forkBlock,
@@ -86,17 +86,17 @@ contract Operations {
8686
);
8787

8888
function checksum(bytes32 _client, bytes32 _release, bytes32 _platform)
89-
public
89+
external
9090
view
9191
returns (bytes32);
9292

9393
function latestFork()
94-
public
94+
external
9595
view
9696
returns (uint32);
9797

9898
function clientOwner(address _owner)
99-
public
99+
external
100100
view
101101
returns (bytes32);
102102
}

0 commit comments

Comments
 (0)