mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			403 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			403 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| pragma solidity >0.4.23;
 | |
| 
 | |
| contract Storage {
 | |
|     function Storage() public {}
 | |
|     function start();
 | |
|     function state() public view returns (bool);
 | |
|     function stop() public;
 | |
| }
 | |
| 
 | |
| contract Observable {
 | |
|     function state() public view returns (bool);
 | |
| }
 | |
| 
 | |
| contract VolatileStorage is Storage, Observable {
 | |
|     function start() {}
 | |
|     function state() public view returns (bool) {}
 | |
|     function stop() {}
 | |
| } |