Created
          February 16, 2020 17:14 
        
      - 
      
- 
        Save nazariyv/748577f5a901fa75a4ccf1e17b097f05 to your computer and use it in GitHub Desktop. 
    FrontRunner-2
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | receive() external payable { | |
| emit Received(msg.sender, msg.value); | |
| } | |
| modifier restricted() { | |
| require(msg.sender == manager, "manager allowed only"); | |
| _; | |
| } | |
| constructor() public { | |
| manager = msg.sender; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment