contract Freeze_contract is AESconstants {
   
function Freeze(address _address, uint _uint)   private {
Account_frozen[_address] = _uint;
FrozenAccount_event(_address, _uint);
}    
    
// mapping (address => uint) public frozenAccount;
// 0 NO FREEZE
// 1 Freeze onlyOwner
// 2 Freeze user    

//Freeze user //this is done to freeze your account. To avoid an attack: a block of dividend payments using spam transactions.
function user_on_freeze() public  {     require(Account_frozen[msg.sender]==0);  Freeze(msg.sender,2);   }
function user_off_freeze() public {    require(Account_frozen[msg.sender]==2);   Freeze(msg.sender,0);   }
//Freeze used bounty company


function pay_Bounty(address _address, uint _sum_pay )  onlyOwner public {
transfer(_address, _sum_pay); 
Freeze(_address, 1);
} 

function offFreeze_Bounty(address _address) onlyOwner public { Freeze(_address, 0); }     
   
}
function user_on_freeze() public  {     require(Account_frozen[msg.sender]==0);  Freeze(msg.sender,2);   }

// mapping (address => uint) public frozenAccount;
// 0 NO FREEZE
// 1 Freeze onlyOwner
// 2 Freeze user    
//Freeze user //this is done to freeze your account. To avoid an attack: a block of dividend payments using spam transactions.