mirror of
				https://github.com/Instadapp/dsa-connectors-old.git
				synced 2024-07-29 22:47:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			346 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			346 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| pragma solidity >=0.4.21 <0.7.0;
 | |
| 
 | |
| contract Migrations {
 | |
|   address public owner;
 | |
|   uint public last_completed_migration;
 | |
| 
 | |
|   constructor() public {
 | |
|     owner = msg.sender;
 | |
|   }
 | |
| 
 | |
|   modifier restricted() {
 | |
|     if (msg.sender == owner) _;
 | |
|   }
 | |
| 
 | |
|   function setCompleted(uint completed) public restricted {
 | |
|     last_completed_migration = completed;
 | |
|   }
 | |
| }
 | 
