mirror of
				https://github.com/Instadapp/dsa-connectors-old.git
				synced 2024-07-29 22:47:46 +00:00 
			
		
		
		
	Changed internal variable to public variable
This commit is contained in:
		
							parent
							
								
									164d7418bf
								
							
						
					
					
						commit
						ae4da2e50d
					
				|  | @ -7,8 +7,8 @@ interface IndexInterface { | |||
| 
 | ||||
| contract Helpers { | ||||
|     address public constant instaIndex = 0x2971AdFa57b20E5a416aE5a708A8655A9c74f723; | ||||
|     uint64 internal fee; | ||||
|     address internal feeCollector; | ||||
|     uint256 public fee; | ||||
|     address public feeCollector; | ||||
| 
 | ||||
|     modifier isChief { | ||||
|         require(IndexInterface(instaIndex).master() == msg.sender, "not-Master"); | ||||
|  | @ -32,12 +32,4 @@ contract InstaPoolFee is Helpers { | |||
|         fee = 9 * 10 ** 14;  // 0.09% | ||||
|         feeCollector = IndexInterface(instaIndex).master(); | ||||
|     } | ||||
| 
 | ||||
|     function getFee() public view returns (uint256) { | ||||
|         return uint256(fee); | ||||
|     } | ||||
| 
 | ||||
|     function getFeeCollector() public view returns (address) { | ||||
|         return feeCollector; | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thrilok Kumar
						Thrilok Kumar