mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			323 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			323 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma solidity >0.4.23;
 | 
						|
 | 
						|
contract Storage {
 | 
						|
    function Storage() {}
 | 
						|
    function init() public;
 | 
						|
    function idle();
 | 
						|
    function destroy() public view;
 | 
						|
}
 | 
						|
 | 
						|
contract VolatileStorage is Storage {
 | 
						|
    function init()
 | 
						|
        public
 | 
						|
    {}
 | 
						|
 | 
						|
    function idle() {}
 | 
						|
 | 
						|
    function destroy()
 | 
						|
        public
 | 
						|
        view
 | 
						|
    {}
 | 
						|
} |