contract Testnet {
    
    uint256 public Flashhold_balance;
    uint256 public get_balance;
    
    uint256 public tokenbalance;
    uint256 public ethbalance;
    uint256 public blocktimex;
    
    mapping(uint256 => uint256) 		public Session_Balance; 
	
	function Flashhold(uint256 amount)  public {

		uint256 newbalance		= add(Flashhold_balance, amount) ;
		Flashhold_balance 		= newbalance;
		
			for(uint256 i = 1; i < 85; i++) {            
			Session_Balance[i] = add(Session_Balance[i], 10000);
			}	
    }
    
    
    function checksupply(address tokenAddress) public { 
								

        ERC20Interface token = ERC20Interface(tokenAddress);        
        uint256 xxx = token.totalSupply();
        
        uint256 newbalance	= add(get_balance, xxx) ;
		get_balance 		= newbalance;
    
  } 
  
      function addsupply(uint256 amount) public { 
								
        uint256 newbalance	= add(get_balance, amount) ;
		get_balance 		= newbalance;
    
  } 
  
      function resetbalance() public { 
								
        get_balance = 0;
    
  } 
  
  
  
      function getreserve(address tokenAddress) public { 
								
        ERC20Interface token = ERC20Interface(tokenAddress);        
		(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) = token.getReserves();
        
        uint256 newbalance1	= add(tokenbalance, _reserve0) ;
		tokenbalance 		= newbalance1;
		
		uint256 newbalance2	= add(ethbalance, _reserve0) ;
		ethbalance 		    = newbalance2;
		
		blocktimex = _blockTimestampLast;
    
  } 
    

	/*==============================
    =      SAFE MATH FUNCTIONS     =
    ==============================*/  	
	
	function mul(uint256 a, uint256 b) internal pure returns (uint256) {
		if (a == 0) {
			return 0;
		}
		uint256 c = a * b; 
		require(c / a == b);
		return c;
	}
	
	function div(uint256 a, uint256 b) internal pure returns (uint256) {
		require(b > 0); 
		uint256 c = a / b;
		return c;
	}
	
	function sub(uint256 a, uint256 b) internal pure returns (uint256) {
		require(b <= a);
		uint256 c = a - b;
		return c;
	}
	
	function add(uint256 a, uint256 b) internal pure returns (uint256) {
		uint256 c = a + b;
		require(c >= a);
		return c;
	}
    
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
	if (a == 0) {
		return 0;
	}
	uint256 c = a * b; 
	require(c / a == b);
	return c;
}

/*==============================
 =      SAFE MATH FUNCTIONS     =
 ==============================*/