mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
23 lines
427 B
Solidity
23 lines
427 B
Solidity
pragma solidity >0.4.23;
|
|
|
|
contract Updateable {
|
|
function run() public view returns (bool);
|
|
function update() public;
|
|
}
|
|
|
|
contract Upgradable {
|
|
function run() public view returns (bool);
|
|
function upgrade();
|
|
}
|
|
|
|
contract Source is Updateable, Upgradable {
|
|
function Source() public {}
|
|
|
|
function run()
|
|
public
|
|
view
|
|
returns (bool) {}
|
|
|
|
function update() {}
|
|
function upgrade() {}
|
|
} |