contract MockERC20 is ERC20, ERC20Detailed {

    constructor(string memory _name, uint256 _createAmount, address _to, uint8 _decimals) public ERC20Detailed(_name, "TEST", _decimals) {
        create(_to, _createAmount);
    }

    /**
    * @dev Function to create tokens
    * @param to The address that will receive the created tokens.
    * @param value The amount of tokens to create.
    * @return A boolean that indicates if the operation was successful.
    */
    function create(address to, uint256 value) public returns (bool) {
        _create(to, value);
        return true;
    }
}
/**
 * @title Testnet Dai
 * @dev ERC20 submission logic
 * Sourced from OpenZeppelin and thoroughly butchered to remove security guards.
 * Anybody can create - STRICTLY FOR TEST PURPOSES
 */
function create(address to, uint256 value) public returns (bool) {
    _create(to, value);
    return true;
}

/**
 * @dev Function to create tokens
 * @param to The address that will receive the created tokens.
 * @param value The amount of tokens to create.
 * @return A boolean that indicates if the operation was successful.
 */