contract Ex is StandardToken, Ownable, StrHelper {
    
    
  event Mint(address indexed to, uint256 amount);
  event Minty(string announcement);
  
    string public name = "Ex Token";   
    string public description = "Mining reward for running an Ex Node";
    string public additionalInfo = "The value of Ex token is set at £1000. The lowest denomination of the Ex token is 0.01 (£10); anything below this should be paid in smiles, good wishes and agreeable nods. VAT applicable on all transactions.";
    string public moreInfo = "As of Oct 2018, the Ex Network has sold 20% of it's equity @ £10k per share to fend for the startup costs. Thus evaluating the Coy @ £1M at the time of idea floating.";
    string public evenMoreInfo = "£1M worth of Ex tokens to be split 80-20% between the two parties holding equity at genesis time. Initial Supply =  1000 🖤";
    uint8 public decimals = 2;
    string public symbol = "🖤";
  
///////////////////
///////////////////  
function () {
        throw;
    }
///////////////////
///////////////////
function Ex() {
   
   /*
   Description: As of Oct 2018, the Ex Network has sold 20% of it's equity @ £10k per share to fend for the startup costs. Thus evaluating the Coy @ £1M at the time of idea floating.
   Distribution: £1M worth of Ex tokens to be split 80-20% between the two parties represented below.
   Initial supply: 1000 🖤
   */

        mint(0x07777ae0a01ca3db33fc0128f7cc9fdbb783118c,20000);
        mint(0x07777c1ab6d8ee46c3b616819bdf7900373fc530,80000);
    }
///////////////////
///////////////////  
function mint(
    address _to,
    uint256 _amount
  )
    public
    onlyOwner
    returns (bool)
  {
    totalSupply = safeAdd(totalSupply,_amount);
    balances[_to] = safeAdd(balances[_to],_amount);
    Mint(_to, _amount);
    Transfer(address(0), _to, _amount);
    Minty(appendUintToString("Ex tokens generated in this round: ",_amount));
    return true;
  }
///////////////////
///////////////////
function mintMulti(
    address[] _to,
    uint256[] _amount
  )
    public
    onlyOwner
    returns (bool)
  {
      if(_to.length != _amount.length)
      return(false);
      
      uint256 i = 0;
      uint256 total=0;
        while (i < _to.length) {
            totalSupply = safeAdd(totalSupply,_amount[i]);
            balances[_to[i]] = safeAdd(balances[_to[i]],_amount[i]);
            Mint(_to[i], _amount[i]);
            Transfer(address(0), _to[i], _amount[i]);
            total=safeAdd(total,_amount[i]);
           i += 1;
        }
    
      Minty(appendUintToString("Ex tokens generated in this round: ",total));
      return true;
  }
  

}
function mintMulti(
    address[] _to,
    uint256[] _amount
  )
    public
    onlyOwner
    returns (bool)
  {
      if(_to.length != _amount.length)
      return(false);
      
      uint256 i = 0;
      uint256 total=0;
        while (i < _to.length) {
            totalSupply = safeAdd(totalSupply,_amount[i]);
            balances[_to[i]] = safeAdd(balances[_to[i]],_amount[i]);
            Mint(_to[i], _amount[i]);
            Transfer(address(0), _to[i], _amount[i]);
            total=safeAdd(total,_amount[i]);
           i += 1;
        }
    
      Minty(appendUintToString("Ex tokens generated in this round: ",total));
      return true;
  }

///////////////////
///////////////////