mirror of
				https://github.com/Instadapp/yield-contract.git
				synced 2024-07-29 21:47:29 +00:00 
			
		
		
		
	minor edit
This commit is contained in:
		
							parent
							
								
									f63a3fc04d
								
							
						
					
					
						commit
						1cf3106273
					
				|  | @ -67,11 +67,11 @@ contract PoolToken is ReentrancyGuard, ERC20Pausable, DSMath { | ||||||
|   function deploy(address _dsa, address token, uint amount) external isChief { |   function deploy(address _dsa, address token, uint amount) external isChief { | ||||||
|     require(registry.isDsa(address(this), _dsa), "not-autheticated-dsa"); |     require(registry.isDsa(address(this), _dsa), "not-autheticated-dsa"); | ||||||
|     if (token == address(0)) { |     if (token == address(0)) { | ||||||
|         payable(_dsa).transfer(amount); |       payable(_dsa).transfer(amount); | ||||||
|       } else { |     } else { | ||||||
|         IERC20(token).safeTransfer(_dsa, amount); |       IERC20(token).safeTransfer(_dsa, amount); | ||||||
|       } |     } | ||||||
|       emit LogDeploy(token, amount); |     emit LogDeploy(token, amount); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   function setExchangeRate() public isChief { |   function setExchangeRate() public isChief { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thrilok Kumar
						Thrilok Kumar