mirror of
				https://github.com/Instadapp/dsa-polygon-migration.git
				synced 2024-07-29 22:27:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			903 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			903 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| pragma solidity ^0.7.0;
 | |
| pragma experimental ABIEncoderV2;
 | |
| 
 | |
| interface TokenInterface {
 | |
|     function approve(address, uint256) external;
 | |
|     function transfer(address, uint) external;
 | |
|     function transferFrom(address, address, uint) external;
 | |
|     function deposit() external payable;
 | |
|     function withdraw(uint) external;
 | |
|     function balanceOf(address) external view returns (uint);
 | |
|     function decimals() external view returns (uint);
 | |
| }
 | |
| 
 | |
| interface MemoryInterface {
 | |
|     function getUint(uint id) external returns (uint num);
 | |
|     function setUint(uint id, uint val) external;
 | |
| }
 | |
| 
 | |
| interface AccountInterface {
 | |
|     function enable(address) external;
 | |
|     function disable(address) external;
 | |
|     function isAuth(address) external view returns (bool);
 | |
|     function cast(
 | |
|         string[] calldata _targets,
 | |
|         bytes[] calldata _datas,
 | |
|         address _origin
 | |
|     ) external payable returns (bytes32);
 | |
| }
 | 
